π Key idea of this section
f' > 0: the curve is climbing. f' < 0: falling. f' = 0: level ground β a critical point (maybe a peak or valley). f'' > 0: concave up (a cup βͺ). f'' < 0: concave down (a cap β©).
Critical points
A derivative is a slope-meter, so its sign is the curve's diary: positive means climbing, negative means falling. The interesting moments are the level ones:
A CRITICAL POINT of f is an x where f'(x) = 0 or f'(x) does not exist.
Peaks (local maxima) and valleys (local minima) can only happen at critical points β a hilltop has to be level (or pointed, like |x|). But careful: not every critical point is a peak or valley. We will meet the exception soon.
Worked example β a full analysis of f(x) = xΒ³ β 12x + 5:
Step 1: f'(x) = 3xΒ² β 12. Solve f'(x) = 0:
3xΒ² β 12 = 0 β 3(xΒ² β 4) = 0 β xΒ² = 4 β x = β2 or x = 2.
Step 2: sign test β sample one x in each region:
x = β3: f'(β3) = 3Γ9 β 12 = 15 > 0 β climbing
x = 0: f'(0) = β12 < 0 β falling
x = 3: f'(3) = 15 > 0 β climbing
Step 3: read the diary: climbing, then falling, then climbing.
So x = β2 is a peak (climb β fall) and x = 2 is a valley (fall β climb).
Step 4: find the heights: f(β2) = β8 + 24 + 5 = 21 (peak at (β2, 21))
f(2) = 8 β 24 + 5 = β11 (valley at (2, β11))
The second derivative
The derivative of the derivative, f''(x) (read "f double prime"), measures how the SLOPE is changing β the curve's concavity, which way it bends:
f'' > 0: slopes are increasing β the curve bends up like a cup βͺ f'' < 0: slopes are decreasing β the curve bends down like a cap β©
That gives a one-step classifier, the second derivative test: at a critical point, f'' > 0 means a valley (cup) and f'' < 0 means a peak (cap). Watch it confirm our example:
f''(x) = 6x f''(β2) = β12 < 0 β cap β peak β f''(2) = 12 > 0 β cup β valley β
The exception that keeps you honest: f(x) = xΒ³ has f'(0) = 0 β level ground! β but f' = 3xΒ² β₯ 0 on BOTH sides, so the curve climbs, pauses level for an instant, and climbs on. No peak, no valley. Its f'' = 6x changes sign at x = 0: the bend switches from cap to cup. A point where the concavity flips is called an inflection point β and f'(a) = 0 with a sign flip of f'' is a level inflection point, not a max or min. (Mistake 6 in Lesson 11!)
Physics footnote: if s(t) is position, then s'(t) = v(t) is velocity and s''(t) = v'(t) = a(t) is acceleration β the rate of change of the rate of change. You feel acceleration in your stomach on a roller coaster; you are feeling s''.
βοΈ Your Turn!
Find the critical points of f(x) = xΒ³ β 3xΒ² and classify each with the second derivative test.
π Show the answers
Answer: f'(x) = 3xΒ² β 6x = 3x(x β 2), so x = 0 and x = 2. f''(x) = 6x β 6. f''(0) = β6 < 0 β peak, f(0) = 0. f''(2) = 12 β 6 = 6 > 0 β valley, f(2) = 8 β 12 = β4. Peak at (0, 0), valley at (2, β4).