The Extreme Value Theorem
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn the boundedness theorem, the extreme value theorem, both proofs, and exactly which counterexample each hypothesis excludes. This is the theorem that makes optimization possible.
The Concept
Section titled “The Concept”Two statements
Section titled “Two statements”Boundedness theorem. If is continuous on then is bounded on .
Extreme value theorem. If is continuous on then there exist with
The second is strictly stronger. Bounded means the supremum exists; attained means it is actually a value of the function.
The proof, via compactness
Section titled “The proof, via compactness”The shortest route uses the last two lessons.
is closed and bounded, hence compact by Heine-Borel. Continuous images of compact sets are compact, so is compact, hence closed and bounded.
Bounded gives the boundedness theorem. And a non-empty compact subset of contains its supremum: the supremum is a limit point (or a member), and closed sets contain their limit points. So is a value , and similarly for the infimum. ∎
That’s the whole thing. Compactness was worth the effort.
The proof, via sequences
Section titled “The proof, via sequences”Worth seeing, because it shows where each hypothesis enters.
Boundedness. Suppose is unbounded. Then for each there is with . The sequence lies in a bounded set, so Bolzano-Weierstrass gives a subsequence . Closedness of puts . Continuity gives , so that subsequence is bounded - contradicting . ∎
Attainment. Let , finite by boundedness. For each pick with , possible by the -characterization of the supremum. Extract a convergent subsequence . Continuity gives , while the squeeze forces . Limits are unique, so . ∎
Three hypotheses, three uses: bounded for Bolzano-Weierstrass, closed to keep the limit inside, continuous to transfer the limit through . Remove any one and the proof stops.
The three counterexamples
Section titled “The three counterexamples”Each hypothesis has a matching failure.
Drop boundedness of the domain. on is continuous, unbounded, no maximum.
Drop closedness of the domain. on is continuous and bounded, but and are never attained. Also on is continuous and unbounded, showing an open end can break even boundedness.
Drop continuity. On let for and . Bounded domain, closed domain, and is unbounded.
Memorizing this trio is more useful than memorizing the theorem, because it tells you what each word is for.
Attained versus approached
Section titled “Attained versus approached”The distinction is the practical content.
- always exists for a bounded non-empty set (completeness).
- exists only when the supremum is a member.
On the function has and no maximum. In optimization language: the problem has a finite optimal value and no optimal solution. That situation is real and irritating, and EVT is the theorem that rules it out.
Consequences
Section titled “Consequences”Rolle’s theorem and the MVT both start by invoking EVT to produce an interior extremum, then use the derivative test there. So the next lesson depends on this one.
Riemann integrability of continuous functions needs boundedness on each subinterval, supplied by this theorem.
Uniform continuity on a compact interval, the next lesson, uses the same compactness machinery.
Worked Examples
Section titled “Worked Examples”Example 1: Verify EVT for on .
Solution. Continuous (polynomial) on a closed bounded interval, so EVT applies.
Vertex at , giving . Endpoints: , .
Minimum at (interior), maximum at (endpoint). Both attained. ✓
Note the extremes can occur at endpoints or interior points; EVT promises existence, not location.
Example 2: Where does boundedness fail on an open interval?
Solution. on is continuous at every point of its domain.
As , : unbounded, so no maximum.
The domain is bounded but not closed. The missing endpoint is where the trouble lives, and note that is not discontinuous at 0 - 0 simply is not in the domain.
Example 3: A bounded function on an open interval with no extremes.
Solution. on .
Bounded: . But is not attained, since for every in the domain, and likewise is not attained.
Neither maximum nor minimum, despite boundedness and continuity. This separates the boundedness theorem from EVT: boundedness is not enough.
Example 4: Discontinuity breaking the theorem.
Let for and , on the closed interval .
Solution. The domain is closed and bounded. But is discontinuous at 0, since does not exist (it diverges).
is unbounded, so it has no maximum. EVT does not apply and its conclusion fails.
Continuity is not a technicality here. All three hypotheses are individually necessary.
Example 5: EVT gives an interior extremum for Rolle.
Suppose is continuous on , differentiable on , and . Show has an extremum in the open interval, unless is constant.
Solution. By EVT, attains a maximum and minimum on .
If then is constant and every point is an extremum.
Otherwise at least one of differs from the common endpoint value , so the point where it is attained is not an endpoint. Hence it lies in . ∎
That interior point is where Rolle’s theorem then applies the derivative test. EVT supplies the point; differentiability does the rest.
Example 6: Optimization with no solution.
Minimize over . What is the answer?
Solution. The infimum is 0, but there is no smallest positive real: for any candidate , is smaller and still feasible.
The infimum exists; the minimum does not. The feasible set is neither closed nor bounded, so EVT does not apply.
This is exactly why optimization problems are posed on closed feasible sets whenever possible. An open constraint like often needs replacing with for the problem to have a solution at all.
Example 7: Continuous on a compact set, but not an interval.
Does EVT apply to a continuous on ?
Solution. Yes. The domain is closed and bounded, hence compact, and the compactness proof of EVT never used connectedness.
So attains a maximum and minimum on the union. Compactness, not interval-ness, is the real hypothesis - which is why the theorem generalizes far beyond .
Real-World Applications
Section titled “Real-World Applications”Optimization solvers. Every guarantee that a solver will find an optimum rather than chase an unreachable infimum traces to EVT. Practitioners close and bound the feasible region, sometimes artificially, precisely to get that guarantee.
Engineering design limits. Finding the maximum stress in a beam over a bounded region requires that the maximum exists. Continuity of the stress field plus a closed bounded domain gives it, and both are checked implicitly whenever a finite element analysis reports a peak value.
Machine learning. Existence of a minimizer of a loss function over a compact parameter set is EVT. Weight regularization and clipping effectively compactify the parameter space, which is one reason they improve well-posedness and not just generalization.
Numerical error bounds. Statements like “the error is at most where ” require that maximum to exist. On a compact interval EVT supplies it; on an open or unbounded domain the bound may not exist and the analysis has to change.
Economics. Utility maximization over a budget set has a solution because the budget set is compact (closed by the budget constraint, bounded by finite income) and utility is continuous. Relax either and the consumer’s problem can fail to have an answer.
Scheduling and control. Finding the worst-case response over a finite time window is a maximization over a compact set. Over an infinite horizon the supremum may not be attained, which is why infinite-horizon control theory is technically harder.
Retrying will remove your ✅ checkmark until you pass again.