How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Extreme value theorem: a continuous real function on a nonempty compact subset of attains a greatest and a least value
Statement
Let , let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point) and let be nonempty and compact (Open cover, subcover, compact subset of (every open cover has a finite subcover), and sequentially compact subset). Then and exist and are attained: there are with
Equivalently, the set has a maximum and a minimum (Maximum and minimum of a set), namely and .
Nonemptiness of is a hypothesis, not an oversight. For the set is empty, and neither a supremum nor a maximum of the empty set exists in this library (Complete ordered field (least-upper-bound property) supplies suprema of nonempty sets bounded above only).
This theorem is stated twice in this library, on purpose. Its metric-space twin is A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value, proved from the cover machinery of metric spaces; the proof below is -native, running through Heine-Borel for and the order-completeness of , and it uses no cover argument beyond the one already spent in The image of a compact subset of under a continuous real function is compact. That the two statements are the same statement in two vocabularies is proved in Dictionary: for with the metric , continuity and uniform continuity of agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of is compact in the open-cover sense of exactly when it is a compact metric subspace, later on this page.
Facts & Assumptions
Given: A set , a function continuous on , and a nonempty compact set ; write .
is compact (The image of a compact subset of under a continuous real function is compact), and it is nonempty because is.
is bounded: there is a real with for every , so is a lower bound and an upper bound of (A continuous real function on a compact subset of is bounded, Lower bound, bounded below, bounded set).
Least upper bounds: a nonempty subset of bounded above has a supremum (Complete ordered field (least-upper-bound property)); a nonempty subset bounded below has an infimum (Every nonempty set bounded below has an infimum, Greatest lower bound (infimum)).
Epsilon characterisations: for nonempty bounded above and , every real admits with ; dually for there is with (Epsilon characterisation of the supremum, Epsilon characterisation of the infimum).
Closure: is the set of points every neighbourhood of which meets , and is closed exactly when (The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points, The -neighbourhood and the punctured -neighbourhood of a point of ).
A maximum of a set is an element of it that bounds it above, and a minimum is an element that bounds it below (Maximum and minimum of a set).
Proof
By [L1] the set is nonempty and compact, and by [L2] it is bounded; by [L3] it is closed.
By [L4] the supremum and the infimum exist.
is adherent to . Let a real be given. By [L5] there is with , and since bounds above; hence , that is . So every neighbourhood of meets .
is adherent to . Symmetrically, [L5] gives with , and since bounds below; hence for every real .
By [L6] the two steps above say and ; and is closed by step 1.1, so and therefore and .
Since there is with , and since there is with .
For every the value lies in , so , that is . Hence is a maximum of and is a minimum of it, both attained at points of .
Remarks
-
The two ingredients, kept apart. Compactness of enters only through the compactness of the image; order-completeness of enters only in the existence of and . The bridge between them is closedness of : a closed set contains the adherent points of itself, and the supremum of a nonempty bounded set is always adherent to it, by Epsilon characterisation of the supremum. Neither ingredient can be dropped: over the supremum need not exist, and on a noncompact domain the supremum exists and is not attained (The identity on is bounded with no greatest value, and on it is continuous and unbounded ↗).
-
Attainment is exactly what the epsilon characterisation cannot give on its own. Epsilon characterisation of the supremum produces points of arbitrarily close to for any nonempty bounded ; nothing there says one of them equals . What closedness adds is that the limiting value is not lost.
-
The converse. If every continuous real function on a set attains a greatest value, then is compact. That is the content of Rudin 4.20, the sharp converse: on a noncompact there is an unbounded continuous function and a bounded continuous function with no greatest value, and if is bounded there is a continuous function on that is not uniformly continuous, which exhibits, for every noncompact , a bounded continuous function on with no greatest value.
Depends on
- The image of a compact subset of $\mathbb{R}$ under a continuous real function is compact
- A continuous real function on a compact subset of $\mathbb{R}$ is bounded
- A subset of $\mathbb{R}$ is compact if and only if it is closed and bounded
- Open cover, subcover, compact subset of $\mathbb{R}$ (every open cover has a finite subcover), and sequentially compact subset
- Continuity of $f : A \to \mathbb{R}$ at a point of $A$ and on $A$: the $\varepsilon$-$\delta$ condition, its agreement with $\lim_{x \to c} f(x) = f(c)$ at a limit point, and continuity at an isolated point
- Lower bound, bounded below, bounded set
- Greatest lower bound (infimum)
- Every nonempty set bounded below has an infimum
- Epsilon characterisation of the supremum
- Epsilon characterisation of the infimum
- Maximum and minimum of a set
- Complete ordered field (least-upper-bound property)
- The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points
- Open subset of $\mathbb{R}$ (every point has a neighbourhood inside it), closed subset (complement open), and clopen
- The $\varepsilon$-neighbourhood and the punctured $\varepsilon$-neighbourhood of a point of $\mathbb{R}$
Used by
- The image of an interval under a continuous real function is order-convex, hence an interval, and the image of a closed bounded interval is a closed bounded interval Corollary
- The identity on (0,1) is bounded with no greatest value, and on [0,∞) it is continuous and unbounded Counterexample
- FALSE: a continuous real function on a bounded domain attains a greatest value False statement
- Bonnet's second mean value theorem: for f monotone and g integrable on [a,b] there is ξ∈[a,b] with ∫ₐᵇ fg = f(a)∫ₐ^ξ g + f(b)∫_ξᵇ g Theorem
- Darboux's theorem: every derivative has the intermediate-value property Theorem
- For n≥1, 2¹⁻ⁿTₙ is the minimax monic polynomial of degree n on [-1,1] Theorem
- If f is continuous on [a,b] and g is integrable with g ≥ 0, there is ξ ∈ [a,b] with ∫ₐᵇ fg = f(ξ)∫ₐᵇ g Theorem
- Rolle's theorem: if a < b, f is continuous on [a,b], differentiable at every point of (a,b), and f(a) = f(b), then f'(c) = 0 for some c ∈ (a,b) Theorem
- Rudin 4.20, the sharp converse: on a noncompact E ⊆ ℝ there is an unbounded continuous function and a bounded continuous function with no greatest value, and if E is bounded there is a continuous function on E that is not uniformly continuous Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 53 results over 14 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Extreme value theorem (Wikipedia) (standard reference, not scraped)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 4 (Thm 4.16) (standard reference, not scraped)
- J. Lebl, Basic Analysis I, §3.3 (standard reference, not scraped)
- Compact space (Encyclopedia of Mathematics) (standard reference, not scraped)