A differentiable function can only attain a maximum or minimum on a closed interval at a critical point, where f'(x) = 0, or at an endpoint. Here is why an interior point with a nonzero derivative cannot work. If a peak sat at an interior point where the derivative were positive, the function would still be rising there, so a slightly larger input would give a larger value — and then it was not a peak after all. This is why solving f'(x) = 0 is the standard first step in locating extrema.
Rolle's Theorem: The Flat-Point Guarantee and Where It Pays Off
Locating Roots and Extrema Without Solving Equations
Where an Extremum Can Hide
3 / 4
The same guarantee tells us where extrema can hide. A differentiable function on a closed interval can only reach a maximum or a minimum at a critical point, where the derivative is zero, or at one of the endpoints.
0:00 / 0:00