The necessary condition at an interior extremum
Fermat’s theorem states that if a function has a local maximum or local minimum at an interior point c and is differentiable at c, then f prime of c equals zero. The hypotheses matter: the point must be interior to the domain, and the derivative must exist there.
The theorem is a necessary condition, not a sufficient condition. A zero derivative identifies a critical candidate, but it does not by itself prove a maximum or minimum. A function can have a horizontal tangent and continue increasing, or have a more subtle flat behavior without an extremum.
Endpoints and points where the derivative does not exist also deserve attention when finding extrema on a closed interval, but Fermat’s theorem does not say their derivatives are zero. A sound workflow is to list derivative-zero points, nondifferentiable interior points, and endpoints as appropriate, then use additional reasoning to classify the candidates.
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
A function is differentiable at x equals 5 and has a local minimum there; 5 is an interior point of its domain. State the theorem’s conclusion and the minimum assumptions used.
A differentiable function has f prime of d equal to zero. Which conclusion is justified by Fermat’s theorem alone?