The First Derivative Test
Not every critical point is a peak or a valley. This guide uses the sign of f′ on each side of a critical point to decide which it is, including at corners and cusps where f′ does not exist.
At a critical point \(c\) of a continuous function: if \(f'\) changes from positive to negative, \(f\) has a relative maximum at \(c\); if it changes from negative to positive, a relative minimum; if it does not change sign, neither. The test works even where \(f'(c)\) does not exist, as long as \(f\) is continuous there. The value \(f'(c) = 0\) alone never proves an extremum: it is the sign change that does.
1The test
| Sign of f′: left, right | At c |
|---|---|
| + then − | Relative maximum (rising, then falling) |
| − then + | Relative minimum (falling, then rising) |
| + then +, or − then − | No extremum |
\(f(x) = x^3 - 3x^2 - 9x + 5\)
- 1Critical points: \(f'(x) = 3(x - 3)(x + 1) = 0\) at \(x = -1\) and \(x = 3\).
- 2Sign of \(f'\): \(+\) before \(-1\), \(-\) between, \(+\) after 3.
- 3At \(x = -1\): \(+\) to \(-\), a relative maximum, \(f(-1) = 10\). At \(x = 3\): \(-\) to \(+\), a relative minimum, \(f(3) = -22\).
“\(f'\) changes sign from positive to negative at \(x = -1\), so \(f\) has a relative maximum at \(x = -1\).”
Name the sign change and its direction. “\(f'(-1) = 0\), so it is a maximum” is not a valid reason.
\(f'(c) = 0\) only makes \(c\) a candidate. In Worked Example 3, \(h'(0) = 0\) and there is no extremum. The sign change is the reason.
2Smooth turns and sharp turns
\(g(x) = x^{2/3}(x - 5)\)
- 1\(g'(x) = \dfrac{5x - 10}{3x^{1/3}}\). Critical points: \(x = 2\) (top is 0) and \(x = 0\) (bottom is 0, and \(g(0)\) is defined).
- 2Signs: for \(x \lt 0\), top and bottom are both negative: \(+\). On \((0, 2)\): top negative, bottom positive: \(-\). For \(x \gt 2\): both positive: \(+\).
- 3At 0: \(+\) to \(-\), relative maximum, \(g(0) = 0\). At 2: \(-\) to \(+\), relative minimum, \(g(2) = 2^{2/3}(-3) \approx -4.762\).
3When there is no turn
\(h(x) = x^4 - 4x^3\)
- 1\(h'(x) = 4x^3 - 12x^2 = 4x^2(x - 3)\). Critical points: \(x = 0\) and \(x = 3\).
- 2\(4x^2 \ge 0\) everywhere, so the sign comes from \(x - 3\): negative on \((-\infty, 0)\) and \((0, 3)\), positive after 3.
- 3At 0: \(-\) to \(-\), no change: not an extremum. At 3: \(-\) to \(+\): relative minimum, \(h(3) = 81 - 108 = -27\).
A factor like \(x^2\) or \((x - 5)^2\) is never negative, so it cannot flip the sign of \(f'\). Critical points that come only from an even power usually are not extrema.
4From a graph of f′
Reading crossings
The graph of \(f'\) crosses the x-axis going down at \(x = -1\) and going up at \(x = 3\), and touches the axis without crossing at \(x = 5\). Where does \(f\) have relative extrema?
- 1Crossing from above to below: \(f'\) changes from \(+\) to \(-\), so \(f\) has a relative maximum at \(x = -1\).
- 2Crossing from below to above: relative minimum at \(x = 3\).
- 3Touching without crossing: no sign change, so no extremum at \(x = 5\).
A high point on the graph of \(f'\) is where \(f\) is rising fastest, not where \(f\) is highest. The extrema of \(f\) are where \(f'\) crosses the axis.
Quick reference
| Step | What to do |
|---|---|
| 1 | Find critical points: f′ = 0 or f′ undefined (with f defined) |
| 2 | Sign chart of f′ around each one |
| 3 | + to −: max; − to +: min; no change: neither |
| 4 | Report the value f(c) and where it occurs |