Second Derivative Test
Second Derivative Test
A method for determining whether a critical point is a relative minimum or maximum.


See also
Second derivative, first derivative test, absolute minimum, absolute maximum
Key Formula
If f′(c)=0, then:⎩⎨⎧f′′(c)>0⟹f(c) is a relative minimumf′′(c)<0⟹f(c) is a relative maximumf′′(c)=0⟹test is inconclusive
Where:
- f(x) = A function that is twice differentiable near the critical point
- c = A critical point where f'(c) = 0
- f′(c) = The first derivative of f evaluated at c (must equal zero)
- f′′(c) = The second derivative of f evaluated at c, which determines concavity
Worked Example
Problem: Use the Second Derivative Test to find and classify all critical points of f(x) = x³ − 6x² + 9x + 2.
Step 1: Find the first derivative and set it equal to zero to locate critical points.
f′(x)=3x2−12x+9=3(x2−4x+3)=3(x−1)(x−3)=0
Step 2: Solve for the critical points.
x=1andx=3
Step 3: Find the second derivative.
f′′(x)=6x−12
Step 4: Evaluate the second derivative at x = 1.
f′′(1)=6(1)−12=−6<0⟹relative maximum at x=1
Step 5: Evaluate the second derivative at x = 3.
f′′(3)=6(3)−12=6>0⟹relative minimum at x=3
Answer: There is a relative maximum at (1, 6) and a relative minimum at (3, 2).
Another Example
This example demonstrates the inconclusive case where f''(c) = 0, showing when the test fails and a fallback method is needed.
Problem: Use the Second Derivative Test to classify the critical points of f(x) = x⁴.
Step 1: Find the first derivative and set it equal to zero.
f′(x)=4x3=0⟹x=0
Step 2: Find the second derivative.
f′′(x)=12x2
Step 3: Evaluate the second derivative at x = 0.
f′′(0)=12(0)2=0
Step 4: Since f''(0) = 0, the Second Derivative Test is inconclusive. You must use another method, such as the First Derivative Test. Checking sign changes: f'(x) changes from negative to positive at x = 0, so x = 0 is a relative minimum.
f′(−1)=−4<0andf′(1)=4>0
Answer: The Second Derivative Test is inconclusive at x = 0. The First Derivative Test confirms x = 0 is a relative minimum with f(0) = 0.
Frequently Asked Questions
What happens when the second derivative equals zero at a critical point?
When f''(c) = 0, the Second Derivative Test is inconclusive — it does not tell you anything about whether the point is a minimum, maximum, or neither. You need to use another method, typically the First Derivative Test, which examines sign changes in f'(x) around the critical point. For example, f(x) = x³ has f''(0) = 0 and the point is neither a min nor max (it is an inflection point), while f(x) = x⁴ also has f''(0) = 0 but the point is a minimum.
What is the difference between the First Derivative Test and the Second Derivative Test?
The First Derivative Test checks how the sign of f'(x) changes around a critical point: positive-to-negative means a relative max, negative-to-positive means a relative min. The Second Derivative Test instead evaluates f''(c) at the critical point directly. The Second Derivative Test is often quicker when the second derivative is easy to compute, but it can be inconclusive when f''(c) = 0. The First Derivative Test always gives a definitive answer.
Does the Second Derivative Test find absolute maxima or minima?
No. The Second Derivative Test only identifies relative (local) extrema, not absolute (global) extrema. To find absolute extrema on a closed interval, you also need to evaluate f(x) at the endpoints and compare those values with the values at any relative extrema. On an open interval or the entire real line, additional analysis of the function's behavior at the boundaries or at infinity is required.
Second Derivative Test vs. First Derivative Test
| Second Derivative Test | First Derivative Test | |
|---|---|---|
| What it uses | The value of f''(c) at the critical point | The sign of f'(x) on intervals around the critical point |
| Relative max condition | f''(c) < 0 | f'(x) changes from positive to negative |
| Relative min condition | f''(c) > 0 | f'(x) changes from negative to positive |
| Inconclusive case | When f''(c) = 0; must use another method | Never inconclusive (always gives a result if f'(c) = 0 or is undefined) |
| Speed | Often faster — just plug c into f''(x) | Requires testing multiple points or analyzing sign intervals |
| Requirement | f must be twice differentiable near c | f must be continuous at c; f' must exist near c (not necessarily at c) |
Why It Matters
The Second Derivative Test is one of the most frequently used tools in AP Calculus and college-level calculus courses for optimization problems. When you need to minimize cost, maximize area, or find the optimal value of any quantity, you first find critical points and then use this test to classify them. It also builds intuition about concavity — understanding that a curve bending upward at a critical point creates a valley (minimum) and bending downward creates a peak (maximum).
Common Mistakes
Mistake: Applying the Second Derivative Test at a point where f'(c) ≠ 0.
Correction: The test only applies at critical points where f'(c) = 0. If f'(c) ≠ 0, the point is not a critical point and cannot be a relative extremum. Always verify that f'(c) = 0 before using the test.
Mistake: Concluding that f''(c) = 0 means the point is an inflection point or that there is no extremum.
Correction: When f''(c) = 0, the test is simply inconclusive — the point could be a relative min (like x⁴ at x = 0), a relative max, or neither (like x³ at x = 0). You must use the First Derivative Test or higher-order derivative tests to classify the point.
Related Terms
- Critical Point — Points where the test is applied
- First Derivative Test — Alternative method for classifying critical points
- Second Derivative — The derivative evaluated in the test
- Relative Minimum — Outcome when f''(c) > 0
- Relative Maximum — Outcome when f''(c) < 0
- Absolute Minimum — Global extremum requiring additional analysis
- Absolute Maximum — Global extremum requiring additional analysis
