Category: Calculus Level: 301
f'(c) = (f(b) - f(a))/(b - a) for some c in (a, b)
On a smooth curve, the average slope between two points equals the exact slope at some point in between. Somewhere, the tangent is parallel to the secant.
Take the curve y = √x from a = 1 to b = 9. The endpoints are A = (1, 1) and B = (9, 3).
f(1) = 1, f(9) = 3
The line from A to B rises 2 over a run of 8. Its slope 1/4 is the average slope of the curve on [1, 9].
(f(9) - f(1))/(9 - 1) = 2/8 = 0.25
At x = 2 the tangent is too steep. At x = 8 it is too shallow. Somewhere between, the slope must pass through 1/4.
f'(2) ≈ 0.354 > 0.25 > f'(8) ≈ 0.177
At c = 4 the tangent slope is exactly 1/4, so the tangent runs parallel to the secant. Drive 8 miles in 32 minutes and at some moment the speedometer reads exactly your average speed.
f'(c) = 1/(2 √(c)) = 1/4 ⇒ c = 4
cd svg-generator python3 -m svgmath render mean-value-theorem --out /tmp/mean-value-theorem
Source: svgmath/diagrams/derivatives.py