The extreme value theorem is a theorem of mathematical analysis stating that a continuous real-valued function on a closed, bounded interval attains both an absolute maximum and an absolute minimum. More generally, the conclusion holds on any nonempty compact space. The theorem is also called the Weierstrass extreme value theorem, after Karl Weierstrass. Its essential conclusion is attainment: the extreme values occur at points of the domain, rather than merely being approached. (math.ucdavis.edu)
Statement and interpretation
Let be real numbers with , and let
be continuous. Then there exist points such that
Thus
When , the domain has one point and the conclusion is immediate. The extrema are absolute, or global, because the inequalities compare values throughout the domain, not just near the extremizing points. (uoe-school-of-mathematics.github.io)
Attainment is stronger than boundedness. A bounded function has finite least upper and greatest lower bounds, called its supremum and infimum, but these need not be values of the function. The theorem guarantees that both bounds belong to the function’s range. It does not assert that the extremizing points are unique. (uoe-school-of-mathematics.github.io)
Compactness and the general form
The general statement is:
If is a nonempty compact topological space and is continuous, then attains a maximum and a minimum on .
The governing principle from topology is that the continuous image of a compact space is compact. Consequently, is a nonempty compact subset of . It is therefore closed and bounded and contains its supremum and infimum. Because these numbers belong to , they are attained by . This proves the theorem without requiring an interval or any differentiability. (math.dartmouth.edu)
In finite-dimensional Euclidean space, the Heine–Borel theorem identifies compact sets with sets that are both closed and bounded. Hence a continuous function , with nonempty closed and bounded , attains both extrema. The set need not be an interval or connected. In a general metric space, however, closedness and boundedness alone do not establish compactness; compactness is the relevant hypothesis. (math.toronto.edu)
A sequential proof on an interval
A standard proof uses the Bolzano–Weierstrass theorem.
First, is bounded. Otherwise, points could be chosen with . The bounded sequence has a convergent subsequence , and closedness gives . Continuity would imply
contradicting the unbounded growth of . (ocw.mit.edu)
Now let . Choose so that
Again, a subsequence converges to some . Continuity and the defining inequalities give
Thus the supremum is attained. Applying the same argument to proves attainment of the minimum. The proof combines boundedness of the domain, retention of subsequential limits within the domain, and preservation of limits by continuity. (ocw.mit.edu)
Why the hypotheses matter
Removing a hypothesis can invalidate the conclusion:
A domain that is not closed: on is continuous and bounded. Its infimum is and its supremum is , but neither is attained. (math.ucdavis.edu)
An unbounded domain: on , the continuous bounded function
has supremum , but never equals , so it has no maximum. (uoe-school-of-mathematics.github.io)
Discontinuity: define and for . Its domain is compact, but it is discontinuous at , unbounded above, and has no maximum. (math.ucdavis.edu)
These examples show that the assumptions cannot simply be omitted from a general guarantee. They are not necessary conditions for every individual function to have extrema: for example, a constant function attains both extrema even on an open interval. (openstax.org)
Applications in calculus and optimization
In calculus, the theorem justifies the closed-interval method for finding absolute extrema. For a continuous function on , extrema must occur at endpoints or at interior critical points, where its derivative is zero or does not exist. When there are finitely many such candidates, evaluating the function at all of them and at both endpoints identifies the largest and smallest values. Differentiability helps locate candidates; it is not required by the extreme value theorem itself. (openstax.org)
The theorem also supplies the existence step in the proof of Rolle’s theorem, which in turn yields the mean value theorem. A nonconstant continuous function with equal endpoint values must attain at least one extreme value in the interior; differentiability then forces the derivative to vanish there. (openstax.org)
In mathematical optimization, a continuous objective function on a nonempty compact feasible set has global minimizers and maximizers. This is an existence result, not an algorithm for finding them or a guarantee of uniqueness. In several variables, finding extrema generally requires examining the boundary as well as interior critical points. (math.toronto.edu)
Semicontinuous extension
Continuity can be weakened when only one extremum is required. A real-valued upper semicontinuous function on a nonempty compact space attains a maximum; a lower semicontinuous function attains a minimum. These one-sided forms of semicontinuity exclude, respectively, values near a point exceeding its value by a fixed positive amount, or falling below it by such an amount. A continuous function satisfies both conditions, so the usual theorem follows from the two one-sided results. (arxiv.org)
References
- Basic Analysis: Introduction to Real Analysisocw.mit.edu
- Continuous Functionsmath.ucdavis.edu
- The Extreme Value Theoremmath.toronto.edu
- Math 63: Winter 2021, Lecture 12math.dartmouth.edu
- Continuous functions: three big theoremsuoe-school-of-mathematics.github.io
- Fun with "Analysis I": basic theorems in calculus revisitedarxiv.org
- 3 Maxima and Minima — Calculus Volume 1openstax.org
- 4 The Mean Value Theorem — Calculus Volume 1openstax.org
- 7 Maxima/Minima Problems — Calculus Volume 3openstax.org