[[Image:Extreme Value Theorem.svg|thumb|300px|A continuous function <math>f(x)</math> on the closed interval <math>[a, b]</math> showing the absolute max (red) and the absolute min (blue).]]
In real analysis, the extreme value theorem states that if a real-valued function <math>f</math> is continuous on the closed and bounded interval <math>[a,b]</math>, then <math>f</math> must attain a maximum and a minimum, each at least once. That is, there exist numbers <math>c</math> and <math>d</math> in <math>[a,b]</math> such that:
<math display="block">f(d) \leq f(x) \leq f(c)\quad \forall x\in [a,b].</math>
The extreme value theorem is more specific than the related boundedness theorem, which states merely that a continuous function <math>f</math> on the closed interval <math>[a,b]</math> is bounded on that interval; that is, there exist real numbers <math>m</math> and <math>M</math> such that:
<math display="block">m \le f(x) \le M\quad \forall x \in [a, b].</math>
This does not say that <math>M</math> and <math>m</math> are necessarily the maximum and minimum values of <math>f</math> on the interval <math>[a,b],</math> which is what the extreme value theorem stipulates must also be the case.
The extreme value theorem is used to prove Rolle's theorem. In a formulation due to Karl Weierstrass, this theorem states that a continuous function from a non-empty compact space to a subset of the real numbers attains a maximum and a minimum.
History
The extreme value theorem was originally proven by Bernard Bolzano in the 1830s in a work Function Theory but the work remained unpublished until 1930. Bolzano's proof consisted of showing that a continuous function on a closed interval was bounded, and then showing that the function attained a maximum and a minimum value. Both proofs involved what is known today as the Bolzano–Weierstrass theorem.
Functions to which the theorem does not apply
The following examples show why the function domain must be closed and bounded in order for the theorem to apply. Each fails to attain a maximum on the given interval.
- <math>f(x)=x </math> defined over <math>[0, \infty)</math> is not bounded from above.
- <math>f(x)= \frac{x}{1+x} </math> defined over <math>[0, \infty)</math> is bounded from below but does not attain its least upper bound <math>1</math>.
- <math>f(x)= \frac{1}{x}</math> defined over <math>(0,1]</math> is not bounded from above.
- <math>f(x) = 1-x</math> defined over <math>(0,1]</math> is bounded but never attains its least upper bound <math>1</math>.
Defining <math>f(0)=0</math> in the last two examples shows that both theorems require continuity on <math>[a,b]</math>.
Generalization to metric and topological spaces
When moving from the real line <math>\mathbb{R}</math> to metric spaces and general topological spaces, the appropriate generalization of a closed bounded interval is a compact set. A set <math>K</math> is said to be compact if it has the following property: from every collection of open sets <math>U_\alpha</math> such that <math display="inline">\bigcup U_\alpha \supset K</math>, a finite subcollection <math>U_{\alpha_1},\ldots,U_{\alpha_n}</math>can be chosen such that <math display="inline">\bigcup_{i=1}^n U_{\alpha_i} \supset K</math>. This is usually stated in short as "every open cover of <math>K</math> has a finite subcover". The Heine–Borel theorem asserts that a subset of the real line is compact if and only if it is both closed and bounded. Correspondingly, a metric space has the Heine–Borel property if every closed and bounded set is also compact.
The concept of a continuous function can likewise be generalized. Given topological spaces <math>V,\ W</math>, a function <math>f:V\to W</math> is said to be continuous if for every open set <math>U\subset W</math>, <math>f^{-1}(U)\subset V</math> is also open. Given these definitions, continuous functions can be shown to preserve compactness:
In particular, if <math>W = \mathbb{R}</math>, then this theorem implies that <math>f(K)</math> is closed and bounded for any compact set <math>K</math>, which in turn implies that <math>f</math> attains its supremum and infimum on any (nonempty) compact set <math>K</math>. Thus, we have the following generalization of the extreme value theorem:
∎
Proof from first principles
Statement If <math>f(x)</math> is continuous on <math>[a,b]</math> then it attains its supremum on <math>[a,b]</math>
Extension to semi-continuous functions
If the continuity of the function f is weakened to semi-continuity,
then the corresponding half of the boundedness theorem and the extreme value theorem hold and the values −∞ or +∞, respectively, from the extended real number line can be allowed as possible values.
A function <math>f : [a, b] \to [-\infty, \infty)</math> is said to be upper semi-continuous if <math display="block">\limsup_{y\to x} f(y) \le f(x) \quad \forall x \in [a, b].</math>
Applying this result to −f proves a similar result for the infimums of lower semicontinuous functions.
A function <math>f : [a, b] \to [-\infty, \infty)</math> is said to be lower semi-continuous if <math display="block">\liminf_{y\to x} f(y) \geq f(x)\quad \forall x \in [a, b].</math>
A real-valued function is upper as well as lower semi-continuous, if and only if it is continuous in the usual sense. Hence these two theorems imply the boundedness theorem and the extreme value theorem.
References
Further reading
External links
- A Proof for extreme value theorem at cut-the-knot
- Extreme Value Theorem by Jacqueline Wandzura with additional contributions by Stephen Wandzura, the Wolfram Demonstrations Project.
- Mizar system proof: http://mizar.org/version/current/html/weierstr.html#T15
