01 / 20

Second Derivative Test
in Optimization

Learn how \( f''(x) \) reveals whether a critical point is a local maximum, local minimum, or neither: the key to solving optimization problems.

Business Calculus

What Is a Critical Point?

A critical point of a function \( f(x) \) occurs at \( x = c \) when:

\( f'(c) = 0 \)
The tangent line is horizontal: the function momentarily stops increasing or decreasing.
\( f'(c) \) DNE
The derivative does not exist (a cusp, corner, or vertical tangent).

What Does \( f''(x) \) Tell Us?

The second derivative measures the rate of change of the slope. It tells us how the curve bends:

\( f''(x) > 0 \)
Concave up: the curve bends upward like a bowl. Slopes are increasing.
\( f''(x) < 0 \)
Concave down: the curve bends downward like a hill. Slopes are decreasing.
Concave Up \( f''(x) > 0 \) Concave Down \( f''(x) < 0 \)

Why This Matters in Business

Optimization is at the heart of business decisions. The second derivative test helps you quickly classify critical points to find:

Maximum Profit
Find the production level where profit \( P(x) \) reaches its peak.
Minimum Cost
Find the quantity where average cost \( \bar{C}(x) \) is lowest.
Maximum Revenue
Determine the price or quantity that maximizes total revenue \( R(x) \).

The Second Derivative Test

Suppose \( f'(c) = 0 \) (so \( x = c \) is a critical point). Then:

1
If \( f''(c) > 0 \), the function is concave up at \( c \), so \( f(c) \) is a local minimum.
2
If \( f''(c) < 0 \), the function is concave down at \( c \), so \( f(c) \) is a local maximum.
3
If \( f''(c) = 0 \), the test is inconclusive: use the first derivative test or further analysis.

Visualizing the Test

Local Min \( f''(c) > 0 \) Local Max \( f''(c) < 0 \)

First vs Second Derivative Test

First Derivative Test Second Derivative Test
What you check Sign of \( f'(x) \) on intervals around \( c \) Value of \( f''(c) \) at the critical point
Steps needed Test points in multiple intervals Single evaluation
Handles \( f''(c) = 0 \)? Yes: always works No: inconclusive
Speed Slower (more arithmetic) Faster (one computation)
Best for When \( f''(x) \) is hard to compute When \( f''(x) \) is easy to compute

How to Apply the Test

1
Find \( f'(x) \). Differentiate the function.
2
Solve \( f'(x) = 0 \). These are your critical points.
3
Find \( f''(x) \). Differentiate again.
4
Evaluate \( f''(c) \) at each critical point \( c \).
5
Classify: positive = local min, negative = local max, zero = inconclusive.

Example 1: Classify Critical Points

Let \( f(x) = x^3 - 12x + 5 \). Find and classify all critical points.

1
\( f'(x) = 3x^2 - 12 \)
2
Set \( f'(x) = 0 \): \( 3x^2 - 12 = 0 \implies x^2 = 4 \implies x = \pm 2 \)
3
\( f''(x) = 6x \)
4
Evaluate: \( f''(-2) = -12 \) < 0 and \( f''(2) = 12 \) > 0

Example 1: Graph

x y -3 -2 -1 1 2 3 Local Max \( (-2,\, 21) \) Local Min \( (2,\, -11) \)

Example 2: Maximizing Profit

A company's profit function is \( P(x) = -2x^2 + 120x - 400 \), where \( x \) is the number of units sold (in hundreds). Find the production level that maximizes profit.

1
\( P'(x) = -4x + 120 \)
2
Set \( P'(x) = 0 \): \( -4x + 120 = 0 \implies x = 30 \)
3
\( P''(x) = -4 \)
4
\( P''(30) = -4 \) < 0 : concave down, so \( x = 30 \) is a local maximum.

Example 3: Minimizing Average Cost

The total cost of producing \( x \) items is \( C(x) = x^3 - 6x^2 + 15x + 10 \). The average cost is \( \bar{C}(x) = \frac{C(x)}{x} = x^2 - 6x + 15 + \frac{10}{x} \). Minimize \( \bar{C}(x) \).

1
\( \bar{C}'(x) = 2x - 6 - \frac{10}{x^2} \)
2
Set \( \bar{C}'(x) = 0 \): Solving \( 2x - 6 - \frac{10}{x^2} = 0 \) yields \( 2x^3 - 6x^2 - 10 = 0 \). Numerically, \( x \approx 3.43 \).
3
\( \bar{C}''(x) = 2 + \frac{20}{x^3} \)
4
\( \bar{C}''(3.43) = 2 + \frac{20}{40.4} \approx 2.50 \) > 0 : local minimum.

When the Test Is Inconclusive

When \( f''(c) = 0 \), the second derivative test tells us nothing. All three outcomes are possible:

\( f(x) = x^4 \)
\( f''(0) = 0 \), but \( x = 0 \) is a local minimum.
\( f(x) = -x^4 \)
\( f''(0) = 0 \), but \( x = 0 \) is a local maximum.
\( f(x) = x^3 \)
\( f''(0) = 0 \), and \( x = 0 \) is neither (inflection point).

Common Mistakes

✕ Confusing the Sign
Positive \( f''(c) \) means concave up = min, not max. Remember: bowl holds water.
✕ Forgetting to Check \( f'(c) = 0 \)
The test only works at critical points. Evaluating \( f''(x) \) at random points is meaningless.
✕ Assuming \( f''(c) = 0 \) Means Inflection
\( f''(c) = 0 \) is inconclusive, not a guarantee of an inflection point. Further testing is required.

Summary Table

Condition Concavity Classification
\( f'(c) = 0 \) and \( f''(c) > 0 \) Concave Up Local Minimum
\( f'(c) = 0 \) and \( f''(c) < 0 \) Concave Down Local Maximum
\( f'(c) = 0 \) and \( f''(c) = 0 \) Unknown Inconclusive

Question 1 of 5

If \( f'(3) = 0 \) and \( f''(3) = -7 \), what can you conclude about \( x = 3 \)?

Question 2 of 5

A company's revenue function is \( R(x) = -5x^2 + 200x \). Using the second derivative test, at what value of \( x \) is revenue maximized?

Question 3 of 5

For \( g(x) = x^4 - 4x^3 \), \( g'(x) = 4x^3 - 12x^2 \) and critical points are \( x = 0 \) and \( x = 3 \). What does the second derivative test reveal at \( x = 3 \)?

Question 4 of 5

When does the second derivative test fail (give no conclusion)?

Question 5 of 5

A profit function has \( P'(10) = 0 \) and \( P''(10) = -3 \). The maximum profit is \( P(10) = 500 \). If you produce 10 units, what is happening to the marginal profit at that point?