🏠 Home β€Ί ♾️ Calculus β€Ί Lesson 7

πŸ› οΈ The Derivative's Diary β€” Reading f' and f''

πŸ“– Lesson 7 of 12

πŸ“Œ 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).

V.3.1