AP Calculus AB and BC
When the Extreme Value Theorem Fails
The Extreme Value Theorem needs continuity on an interval that is both closed and bounded. Break continuity and the function can run off to infinity inside the interval. Unbound the interval and it can run off at the far end. Either way there is no maximum to find.
Extreme Value Theorem
If f is continuous on a closed, bounded interval, then f actually attains an absolute maximum and an absolute minimum somewhere on that interval.
The hypotheses, and what each one buys
A theorem is only as strong as its conditions. Below, each hypothesis is dropped on its own while every other one is kept, so you can see precisely what it was holding up.
- 1
f is continuous on [a, b]
Continuity is what stops the function from having a vertical asymptote inside the interval. Without it there is nothing to keep the values finite, and a set of values with no upper bound has no largest element to attain.
Drop it and the theorem fails
f(x) = 1/x on [0, 1], with f(0) = 0
The interval is closed and bounded, exactly as required, and the function is defined at every point of it. Only continuity fails, at the single point . As shrinks the values climb without limit, so there is no largest value anywhere on the interval. No maximum exists to be attained.
- 2
The interval is bounded
A continuous function on an unbounded interval has all the smoothness in the world and still nowhere to stop. Boundedness is what makes the domain compact, and compactness is what the proof actually uses.
Drop it and the theorem fails
f(x) = x on [0, infinity)
Nothing could be more continuous than the identity function, and the domain contains its left endpoint. But it climbs forever, so the set of values has no upper bound and no maximum. Boundedness of the interval was doing real work.
- 3
The interval contains its endpoints
On the open interval the function is continuous and bounded, with values approaching 0 and 1 but never reaching either. The supremum is 1 and the infimum is 0, and neither is attained, because the only points where they would be attained were removed from the domain. There is no counterexample function to display here, because the failure is in the domain rather than in the function: the same formula on the closed interval satisfies the theorem perfectly.
No counterexample built from an elementary formula breaks this one on its own, so none is claimed here.
All 2 counterexamples above are checked numerically on every build: each function is evaluated and the conclusion is confirmed to fail. A counterexample that stopped working would fail the build rather than sit here misleading you.
Why it is true
- First show is bounded. If it were not, there would be points with climbing past every bound.
- A bounded sequence in a closed bounded interval has a convergent subsequence whose limit stays in the interval. This is the step that uses both closedness and boundedness.
- Continuity would force along that subsequence to converge to of the limit point, a finite number, contradicting that the values were climbing without bound. So is bounded.
- Now let be the least upper bound of the values. Pick points where climbs toward , extract a convergent subsequence again, and continuity gives of the limit point equal to . That point is where the maximum is attained.
What it does not say
It tells you where the maximum is.
It only says one exists. Finding it is the candidates test: check the critical points and both endpoints, then compare. The theorem is the licence to compare a finite list, nothing more.
Continuity alone is enough.
It is not. is continuous on all of the real line and has neither a maximum nor a minimum. The interval has to be closed and bounded as well.
A discontinuous function cannot attain a maximum.
It very often does. The theorem gives a guarantee under its hypotheses, not a prohibition without them. A step function on can attain its maximum happily.
Frequently asked questions
Why does the Extreme Value Theorem need a closed interval?
Because the extreme value can sit at an endpoint, and an open interval does not contain its endpoints. On the function gets arbitrarily close to 1 without ever reaching it, so the supremum exists but the maximum does not.
Is the Extreme Value Theorem the same as the candidates test?
No. The Extreme Value Theorem says the extremes exist. The candidates test is the procedure for finding them once you know they exist, by evaluating at the critical points and the endpoints.