The Second Derivative Test
At a horizontal tangent, the way the graph bends tells you whether you are at a peak or a valley. This guide shows the test, when it fails, and how a single critical point can settle an absolute extreme.
Suppose \(f'(c) = 0\). If \(f''(c) \lt 0\), the graph is concave down at \(c\), so \(f\) has a relative maximum there. If \(f''(c) \gt 0\), concave up, so a relative minimum. If \(f''(c) = 0\), the test is inconclusive: use the first derivative test instead. The test only applies at points where \(f'(c) = 0\), not where \(f'\) is undefined.
1The test
| At c with f′(c) = 0 | Shape | Conclusion |
|---|---|---|
| \(f''(c) \lt 0\) | Cap (concave down) | Relative maximum |
| \(f''(c) \gt 0\) | Cup (concave up) | Relative minimum |
| \(f''(c) = 0\) | Could be anything | Inconclusive |
2Using it
\(f(x) = x^3 - 3x^2 - 9x + 5\)
- 1Critical points: \(f'(x) = 3(x - 3)(x + 1) = 0\) at \(x = -1, 3\).
- 2\(f''(x) = 6x - 6\). At \(-1\): \(f''(-1) = -12 \lt 0\), concave down. At 3: \(f''(3) = 12 \gt 0\), concave up.
“\(f'(-1) = 0\) and \(f''(-1) = -12 \lt 0\), so by the Second Derivative Test \(f\) has a relative maximum at \(x = -1\).”
Both facts are needed: the zero slope and the sign of the second derivative.
\(g(x) = xe^{-x}\)
- 1\(g'(x) = e^{-x}(1 - x) = 0\) only at \(x = 1\).
- 2\(g''(x) = e^{-x}(x - 2)\), so \(g''(1) = -e^{-1} \lt 0\).
At a cusp like \(x^{2/3}\) at 0, \(f'\) does not exist, so there is no “\(f'(c) = 0\)” to start from. Use the first derivative test there.
3When it is inconclusive
\(f(x) = x^4\), \(-x^4\), \(x^3\) at 0
- 1Each has \(f'(0) = 0\) and \(f''(0) = 0\), so the second derivative test is inconclusive for all three.
- 2First derivative test instead: \(4x^3\) goes from \(-\) to \(+\) (min); \(-4x^3\) goes from \(+\) to \(-\) (max); \(3x^2\) stays \(+\) (neither).
\(f''(0) = 0\) for \(x^4\), and \(x^4\) does have a minimum at 0. The second derivative test gives no answer; another method must decide.
4One critical point
\(h(x) = x + \dfrac{4}{x}\) on \((0, \infty)\)
- 1\(h'(x) = 1 - \dfrac{4}{x^2} = 0\) at \(x = 2\) (only \(x \gt 0\) counts). It is the only critical point in the domain.
- 2\(h''(x) = \dfrac{8}{x^3} \gt 0\) for all \(x \gt 0\), so \(h\) has a relative minimum at 2.
- 3A continuous function on an interval with a single critical point that is a relative minimum has its absolute minimum there: the graph cannot come back down without creating another critical point.
A relative minimum is only the lowest point nearby. The single-critical-point argument works because there is no other critical point on the interval. With two or more critical points, compare candidates instead.
Quick reference
| Situation | Use |
|---|---|
| f′(c) = 0 and f″(c) easy to find | Second derivative test |
| f″(c) = 0 | First derivative test |
| f′(c) undefined | First derivative test |
| Only one critical point on an interval | Its relative extreme is the absolute extreme |