This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(June 2012) (Learn how and when to remove this message) |

Inreal analysis, a branch ofmathematics, theextreme value theorem states that if a real-valuedfunction iscontinuous on theclosed andbounded interval, then must attain amaximum and aminimum, each at least once.[1][2] That is, there exist numbers and in such that:
The extreme value theorem is more specific than the relatedboundedness theorem, which states merely that a continuous function on the closed interval isbounded on that interval; that is, there exist real numbers and such that:
This does not say that and are necessarily the maximum and minimum values of on the interval which is what the extreme value theorem stipulates must also be the case.
The extreme value theorem is used to proveRolle's theorem. In a formulation due toKarl Weierstrass, this theorem states that a continuous function from a non-emptycompact space to asubset of thereal numbers attains a maximum and a minimum.
The extreme value theorem was originally proven byBernard Bolzano in the 1830s in a workFunction 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 theBolzano–Weierstrass theorem.[3]
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.
Defining in the last two examples shows that both theorems require continuity on.
When moving from the real line tometric spaces and generaltopological spaces, the appropriate generalization of a closed bounded interval is acompact set. A set is said to be compact if it has the following property: from every collection ofopen sets such that, a finite subcollectioncan be chosen such that. This is usually stated in short as "every open cover of has a finite subcover". TheHeine–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 theHeine–Borel property if every closed and bounded set is also compact.
The concept of a continuous function can likewise be generalized. Given topological spaces, a function is said to be continuous if for every open set, is also open. Given these definitions, continuous functions can be shown to preserve compactness:[4]
Theorem—If are topological spaces, is a continuous function, and is compact, then is also compact.
In particular, if, then this theorem implies that is closed and bounded for any compact set, which in turn implies that attains itssupremum andinfimum on any (nonempty) compact set. Thus, we have the following generalization of the extreme value theorem:[4]
Theorem—If is a nonempty compact set and is a continuous function, then is bounded and there exist such that and.
Slightly more generally, this is also true for an upper semicontinuous function. (seecompact space#Functions and compact spaces).
We look at the proof for theupper bound and the maximum of. By applying these results to the function, the existence of the lower bound and the result for the minimum of follows. Also note that everything in the proof is done within the context of thereal 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:
Boundedness Theorem—If is continuous on then it is bounded on
Suppose the function is not bounded above on the interval. Pick asequence such that and. Because is bounded, theBolzano–Weierstrass theorem implies that there exists a convergent subsequence of. Denote its limit by. As is closed, it contains. Because is continuous at, we know that converges to the real number (as issequentially continuous at). But for every, which implies that diverges to, a contradiction. Therefore, is bounded above on. ∎
Consider the set of points in such that is bounded on. We note that is one such point, for is bounded on by the value. If is another point, then all points between and also belong to. In other words is an interval closed at its left end by.
Now is continuous on the right at, hence there exists such that for all in. Thus is bounded by and on the interval so that all these points belong to.
So far, we know that is an interval of non-zero length, closed at its left end by.
Next, is bounded above by. Hence the set has a supremum in ; let us call it. From the non-zero length of we can deduce that.
Suppose. Now is continuous at, hence there exists such that for all in so that is bounded on this interval. But it follows from the supremacy of that there exists a point belonging to, say, which is greater than. Thus is bounded on which overlaps so that is bounded on. This however contradicts the supremacy of.
We must therefore have. Now is continuous on the left at, hence there exists such that for all in so that is bounded on this interval. But it follows from the supremacy of that there exists a point belonging to, say, which is greater than. Thus is bounded on which overlaps so that is bounded on. ∎
By the boundedness theorem,f is bounded from above, hence, by theDedekind-completeness of the real numbers, the least upper bound (supremum)M off exists. It is necessary to find a pointd in [a,b] such thatM =f(d). Letn be a natural number. AsM is theleast upper bound,M − 1/n is not an upper bound forf. Therefore, there existsdn in [a,b] so thatM − 1/n <f(dn). This defines a sequence {dn}. SinceM is an upper bound forf, we haveM − 1/n <f(dn) ≤M for alln. Therefore, the sequence {f(dn)} converges toM.
TheBolzano–Weierstrass theorem tells us that there exists a subsequence {}, which converges to somed and, as [a,b] is closed,d is in [a,b]. Sincef is continuous atd, the sequence {f()} converges tof(d). But {f(dnk)} is a subsequence of {f(dn)} that converges toM, soM =f(d). Therefore,f attains its supremumM atd. ∎
The set{y ∈R :y =f(x) for somex ∈ [a,b]} is a bounded set. Hence, itsleast upper bound exists byleast upper bound property of the real numbers. LetM = sup(f(x)) on [a,b]. If there is no pointx on [a, b] so thatf(x) = M, thenf(x) <M on [a, b]. Therefore,1/(M −f(x)) is continuous on [a,b].
However, to every positive numberε, there is always somex in [a, b] such thatM −f(x) <ε becauseM is the least upper bound. Hence,1/(M −f(x)) > 1/ε, which means that1/(M −f(x)) is not bounded. Since every continuous function on [a,b] is bounded, this contradicts the conclusion that1/(M −f(x)) was continuous on [a, b]. Therefore, there must be a pointx in [a, b] such thatf(x) = M.∎
In the setting ofnon-standard calculus, letN be an infinitehyperinteger. The interval [0, 1] has a natural hyperreal extension. Consider its partition intoN subintervals of equalinfinitesimal length 1/N, with partition pointsxi =i /N asi "runs" from 0 toN. The functionƒ is also naturally extended to a functionƒ* defined on the hyperreals between 0 and 1. Note that in the standard setting (whenN is finite), a point with the maximal value ofƒ can always be chosen among theN+1 pointsxi, by induction. Hence, by thetransfer principle, there is a hyperintegeri0 such that 0 ≤i0 ≤N and for alli = 0, ..., N. Consider the real pointwherest is thestandard part function. An arbitrary real pointx lies in a suitable sub-interval of the partition, namely, so that st(xi) =x. Applyingst to the inequality, we obtain. By continuity ofƒ we have
Henceƒ(c) ≥ƒ(x), for all realx, provingc to be a maximum ofƒ.[5]∎
Statement If is continuous on then it attains its supremum on
By the Boundedness Theorem, is bounded above on and by the completeness property of the real numbers has a supremum in. Let us call it, or. It is clear that the restriction of to the subinterval where has a supremum which is less than or equal to, and that increases from to as increases from to.
If then we are done. Suppose therefore that and let. Consider the set of points in such that.
Clearly ; moreover if is another point in then all points between and also belong to because is monotonic increasing. Hence is a non-empty interval, closed at its left end by.
Now is continuous on the right at, hence there exists such that for all in. Thus is less than on the interval so that all these points belong to.
Next, is bounded above by and has therefore a supremum in: let us call it. We see from the above that. We will show that is the point we are seeking i.e. the point where attains its supremum, or in other words.
Suppose the contrary viz.. Let and consider the following two cases:
If the continuity of the functionf is weakened tosemi-continuity,then the corresponding half of the boundedness theorem and the extreme value theorem hold and the values −∞ or +∞, respectively, from theextended real number line can be allowed as possible values.[clarification needed]
A function is said to beupper semi-continuous if
Theorem—If a functionf : [a,b] →[–∞, ∞) is upper semi-continuous, thenf is bounded above and attains its supremum.
If for allx in [a,b], then the supremum is also and the theorem is true. In all other cases, the proof is a slight modification of the proofs given above. In the proof of the boundedness theorem, the upper semi-continuity off atx only implies that thelimit superior of the subsequence {f(xnk)} is bounded above byf(x) < ∞, but that is enough to obtain the contradiction. In the proof of the extreme value theorem, upper semi-continuity off atd implies that the limit superior of the subsequence {f(dnk)} is bounded above byf(d), but this suffices to conclude thatf(d) =M. ∎
Applying this result to −f proves a similar result for the infimums of lower semicontinuous functions. A function is said to belower semi-continuous if
Theorem—If a functionf : [a,b] →(–∞, ∞] is lower semi-continuous, thenf is bounded below and attains itsinfimum.
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.