Extreme value theorem

Revision as of 10:22, 17 May 2025 by 2001:9e8:1b60:7900:7818:4b4f:ca2a:eb24 (talk) (→‎Proof of the boundedness theorem: I had a hard time understanding the original version and reordered the points to make it easier to understand)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:About Template:Short description Template:More footnotes

File:Extreme Value Theorem.svg
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 calculus, 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(c) \leq f(x) \leq f(d)\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.

HistoryEdit

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.<ref>Template:Cite journal</ref>

Functions to which the theorem does not applyEdit

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.

  1. <math>f(x)=x </math> defined over <math>[0, \infty)</math> is not bounded from above.
  2. <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>.
  3. <math>f(x)= \frac{1}{x}</math> defined over <math>(0,1]</math> is not bounded from above.
  4. <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 spacesEdit

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:<ref name=":0">Template:Cite book</ref>

Template:Math theorem

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:<ref name=":0" />

Template:Math theorem

Slightly more generally, this is also true for an upper semicontinuous function. (see compact space#Functions and compact spaces).

Proving the theoremsEdit

We look at the proof for the upper bound and the maximum of <math>f</math>. By applying these results to the function <math>-f</math>, the existence of the lower bound and the result for the minimum of <math>f</math> follows. Also note that everything in the proof is done within the context of the real numbers.

We first prove the boundedness theorem, which is a step in the proof of the extreme value theorem. The basic steps involved in the proof of the extreme value theorem are:

  1. Prove the boundedness theorem.
  2. Find a sequence so that its image converges to the supremum of <math>f</math>.
  3. Show that there exists a subsequence that converges to a point in the domain.
  4. Use continuity to show that the image of the subsequence converges to the supremum.

Proof of the boundedness theoremEdit

Template:Math theorem Template:Math proof</math> such that <math>x_n \in [a,b]</math> and <math>f(x_n)>n</math>. Because <math>[a,b]</math> is bounded, the Bolzano–Weierstrass theorem implies that there exists a convergent subsequence <math>(x_{n_k})_{k \in \mathbb{N}}</math> of <math>({x_n})</math>. Denote its limit by <math>x</math>. As <math>[a,b]</math> is closed, it contains <math>x</math>. Because <math>f</math> is continuous at <math>x</math>, we know that <math>f(x_{{n}_{k}})</math> converges to the real number <math>f(x)</math> (as <math>f</math> is sequentially continuous at <math>x</math>). But <math>f(x_{{n}_{k}}) > n_k \geq k </math> for every <math>k</math>, which implies that <math>f(x_{{n}_{k}})</math> diverges to <math>+ \infty </math>, a contradiction. Therefore, <math>f</math> is bounded above on <math>[a,b]</math>. }} Template:Math proof

Proofs of the extreme value theoremEdit

Template:Math proof

Template:Math proof

Proof using the hyperrealsEdit

Template:Math proof

Proof from first principlesEdit

Statement      If <math>f(x)</math> is continuous on <math>[a,b]</math> then it attains its supremum on <math>[a,b]</math>

Template:Math proof

Extension to semi-continuous functionsEdit

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.Template:Clarify

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>

Template:Math theorem Template:Math proof


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>

Template:Math theorem

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.

ReferencesEdit

Template:Reflist

Further readingEdit

External linksEdit

|_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:ExtremeValueTheorem%7CExtremeValueTheorem.html}} |title = Extreme Value Theorem |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}

Template:Calculus topics