If you drive from one town to another along a road, at some moment of the trip you were at your highest altitude and at some moment at your lowest. That seems obvious, but it rests on two facts. The road has no jumps, and the trip starts and ends. The extreme value theorem makes this precise, and Fermat’s theorem tells you where to look for those highest and lowest moments.
Key terms
Extreme value theorem
Definition If is continuous on a closed bounded interval , then attains a global maximum and a global minimum on . That is, there are numbers and in with
In plain words A continuous function on a closed interval always has a highest and a lowest point. The theorem says they exist but not where they are.
Example For on , the theorem promises a maximum and a minimum. They turn out to be and .
Continuity on a compact interval
Definition A closed bounded interval is called compact. Both hypotheses of the extreme value theorem, continuity at every point of and the interval being closed and bounded, are needed. Dropping either one allows functions with no maximum or no minimum. The hypotheses are sufficient, not necessary, so a function that fails them may still happen to have extrema.
In plain words Each condition blocks a different way of escaping. Without the endpoints the function can creep toward a value it never reaches. Without boundedness it can climb forever. With a jump or a blow up it can skip its top value.
Example Each of these misses one hypothesis and has no global maximum.
| Function | Interval | What fails |
|---|---|---|
| not closed | ||
| not bounded | ||
| for , | not continuous at |
On the other hand, the step function equal to on and on is discontinuous, yet it has maximum and minimum .
Fermat’s theorem
Definition If has a local maximum or local minimum at an interior point of its domain, and exists, then .
Here is why for a local maximum. Since is interior, for all small . So the difference quotient
is for small and for small . Both one-sided limits equal , so and , which forces . For a local minimum the inequalities are reversed.
In plain words At the top of a smooth hill the tangent line is horizontal. The converse is false. A zero derivative does not guarantee a peak or a valley.
Example For , the local minimum is at , and indeed . For , but is not an extremum, which shows the converse fails.
Closed interval method
Definition Let be continuous on . To find its global maximum and minimum values,
- find the values of at the critical points of in ,
- find and ,
- the largest value from steps 1 and 2 is the global maximum and the smallest is the global minimum.
This works because the extrema exist by the extreme value theorem, and by Fermat’s theorem each one sits either at an endpoint or at an interior critical point.
In plain words List every place the answer could be, evaluate there, and compare the numbers. No sign charts are needed.
Example Take on . Then , so the critical points are and .
The global maximum is at and the global minimum is at .
Endpoints and nondifferentiable candidates
Definition In the closed interval method the candidate list must contain both endpoints and every interior point where does not exist, not only the points where . Leaving any of them out can miss the answer.
In plain words The derivative equation finds only flat spots. Corners, cusps and the two ends of the interval have to be added by hand.
Example Let on . Its derivative is never and does not exist at . The candidates are , and . The minimum is at the singular point and the maximum is at the endpoint . Solving alone would have found nothing.
Check yourself
- Find the global maximum and minimum of on .
Show the answer
The derivative is , so the critical points are and . The values are , , and . The maximum is at and the minimum is at .
- Find the global maximum and minimum of on .
Show the answer
The only critical point is the singular point . The values are , and . The maximum is at and the minimum is at .
- Why does the extreme value theorem not apply to on , and does have a maximum there?
Show the answer
The interval is not closed, and is not defined at . There is no maximum, since as . The minimum at does exist.