1. Home
  2. Explore
  3. Mathematics
  4. Extreme and Intermediate Value Theorems

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Extreme and Intermediate Value Theorems

Real Analysis: Extreme Values, Intermediate Values, and Uniform Continuity

Extreme Value Theorem

The Extreme Value Theorem states that if fff is continuous on a closed and bounded interval [a,b][a,b][a,b], then fff attains both a global minimum and a global maximum on that interval.

Equivalently, the image of the interval is itself a closed and bounded interval. There are numbers α\alphaα and β\betaβ, and points c,d∈[a,b]c,d \in [a,b]c,d∈[a,b], such that

f([a,b])=[α,β],f(c)=α,f(d)=β.f([a,b])=[\alpha,\beta], \qquad f(c)=\alpha,\qquad f(d)=\beta.f([a,b])=[α,β],f(c)=α,f(d)=β.

Thus, for every x∈[a,b]x \in [a,b]x∈[a,b],

f(c)≤f(x)≤f(d).f(c)\leq f(x)\leq f(d).f(c)≤f(x)≤f(d).

The values f(c)f(c)f(c) and f(d)f(d)f(d) are the global minimum and global maximum values of fff on the interval. The points ccc and ddd are where those values are attained.

Both hypotheses matter:

  • Closed and bounded domain: On R\mathbb{R}R, the continuous function f(x)=xf(x)=xf(x)=x has neither a global minimum nor a global maximum. On the open interval (0,1)(0,1)(0,1), the function f(x)=xf(x)=xf(x)=x approaches 000 and 111 but attains neither value.

  • Continuity: A discontinuous function on a closed bounded interval need not attain its supremum. For example, on [0,1][0,1][0,1], let f(x)=xf(x)=xf(x)=x for 0≤x<10\leq x<10≤x<1 and f(1)=0f(1)=0f(1)=0. The supremum is 111, but the function never takes that value.

The theorem is part of a broader principle: in more general settings, a continuous function maps a compact set to a compact set. Closed bounded intervals in R\mathbb{R}R are examples of compact sets.

Proof outline: first show that the function is bounded

Suppose, for contradiction, that a continuous function fff on [a,b][a,b][a,b] is unbounded. Then, for every positive integer nnn, there is a point xn∈[a,b]x_n\in[a,b]xn​∈[a,b] such that

∣f(xn)∣>n.|f(x_n)|>n.∣f(xn​)∣>n.

The sequence (xn)(x_n)(xn​) lies in the closed bounded interval [a,b][a,b][a,b]. By the Bolzano–Weierstrass Theorem, it has a convergent subsequence (xnk)(x_{n_k})(xnk​​) with limit z∈[a,b]z\in[a,b]z∈[a,b].

Continuity at zzz implies

f(xnk)⟶f(z).f(x_{n_k})\longrightarrow f(z).f(xnk​​)⟶f(z).

A convergent sequence of real numbers is bounded. But the construction gives ∣f(xnk)∣>nk|f(x_{n_k})|>n_k∣f(xnk​​)∣>nk​, which becomes arbitrarily large. This contradiction proves that fff is bounded on $[a,b]`.

Proof outline: show that the extrema are attained

Since fff is bounded, its set of values has a greatest lower bound and a least upper bound. Let

α=inf⁡f([a,b]),β=sup⁡f([a,b]).\alpha=\inf f([a,b]),\qquad \beta=\sup f([a,b]).α=inff([a,b]),β=supf([a,b]).

To show that the minimum α\alphaα is attained, use the defining property of the infimum. For each positive integer nnn, choose xn∈[a,b]x_n\in[a,b]xn​∈[a,b] so that

α≤f(xn)<α+1n.\alpha\leq f(x_n)<\alpha+\frac{1}{n}.α≤f(xn​)<α+n1​.

Again, Bolzano–Weierstrass gives a subsequence (xnk)(x_{n_k})(xnk​​) converging to some c∈[a,b]c\in[a,b]c∈[a,b]. By continuity,

f(xnk)⟶f(c).f(x_{n_k})\longrightarrow f(c).f(xnk​​)⟶f(c).

The inequalities above force the same sequence of function values to converge to α\alphaα. Therefore, f(c)=αf(c)=\alphaf(c)=α, so the minimum is attained.

A corresponding argument proves that the maximum β\betaβ is attained: choose points whose function values are within 1n\frac{1}{n}n1​ of β\betaβ, extract a convergent subsequence of inputs, and use continuity to show that the limiting input has function value β\betaβ.

Once the minimum and maximum are attained, the Intermediate Value Theorem ensures that every value between α\alphaα and β\betaβ is also attained. Hence the image is exactly [α,β][\alpha,\beta][α,β].


Intermediate Value Property

A function fff has the intermediate value property on an interval III if, whenever a,b∈Ia,b\in Ia,b∈I have distinct function values, every number between f(a)f(a)f(a) and f(b)f(b)f(b) is also a value of the function at some input between aaa and $b.

In symbols, if f(a)≠f(b)f(a)\ne f(b)f(a)=f(b) and yyy lies between f(a)f(a)f(a) and f(b)f(b)f(b), then there is a point ccc between aaa and bbb such that

f(c)=y.f(c)=y.f(c)=y.

The interval on which the property is being considered matters: a function’s domain is part of its definition, and the property is assessed on the specified interval.

Every function continuous on an interval has the intermediate value property there. However, the converse is false: a function can have the intermediate value property without being continuous.

Derivatives have the intermediate value property

A remarkable result, often called Darboux’s Theorem, states that if a function is differentiable throughout an interval, then its derivative has the intermediate value property on that interval. The derivative does not need to be continuous.

Consider the function

f(x)={x2sin⁡(1x),x≠0,0,x=0.f(x)= \begin{cases} x^2\sin\left(\frac{1}{x}\right),&x\ne 0,\\ 0,&x=0. \end{cases}f(x)={x2sin(x1​),0,​x=0,x=0.​

At x=0x=0x=0, the derivative is determined by

f′(0)=lim⁡h→0f(h)−f(0)h=lim⁡h→0hsin⁡(1h)=0.f'(0) =\lim_{h\to 0}\frac{f(h)-f(0)}{h} =\lim_{h\to 0}h\sin\left(\frac{1}{h}\right) =0.f′(0)=limh→0​hf(h)−f(0)​=limh→0​hsin(h1​)=0.

The final limit is 000 because

∣hsin⁡(1h)∣≤∣h∣,\left|h\sin\left(\frac{1}{h}\right)\right|\leq |h|,​hsin(h1​)​≤∣h∣,

and ∣h∣→0|h|\to 0∣h∣→0.

For x≠0x\ne 0x=0, differentiation gives

f′(x)=2xsin⁡(1x)−cos⁡(1x).f'(x)=2x\sin\left(\frac{1}{x}\right)-\cos\left(\frac{1}{x}\right).f′(x)=2xsin(x1​)−cos(x1​).

As xxx approaches 000, the first term approaches 000, while the cosine term oscillates and has no limit. Thus, f′f'f′ is not continuous at 000, even though f′(0)f'(0)f′(0) exists. Nevertheless, because it is a derivative defined throughout the interval, f′f'f′ has the intermediate value property.


Uniform Continuity

Continuity at a single point controls the function’s behavior near that point. Uniform continuity controls the function’s behavior across an entire interval using one common distance threshold.

A function fff is uniformly continuous on an interval III if, for every ε>0\varepsilon>0ε>0, there exists a δ>0\delta>0δ>0 such that for all x,y∈Ix,y\in Ix,y∈I,

∣x−y∣<δ⟹∣f(x)−f(y)∣<ε.|x-y|<\delta \quad\Longrightarrow\quad |f(x)-f(y)|<\varepsilon.∣x−y∣<δ⟹∣f(x)−f(y)∣<ε.

The key feature is the order of the quantifiers: δ\deltaδ is chosen for each ε\varepsilonε and must work for every pair of points in III. For ordinary continuity, the required δ\deltaδ may depend on the particular point; for uniform continuity, it cannot depend on where the pair of inputs lies in the interval.

Example: f(x)=x2f(x)=x^2f(x)=x2 on [2,7][2,7][2,7]

For x,y∈[2,7]x,y\in[2,7]x,y∈[2,7],

∣x2−y2∣=∣x−y∣∣x+y∣.|x^2-y^2|=|x-y||x+y|.∣x2−y2∣=∣x−y∣∣x+y∣.

Since x,y∈[2,7]x,y\in[2,7]x,y∈[2,7], one has ∣x+y∣≤14|x+y|\leq 14∣x+y∣≤14. Therefore,

∣x2−y2∣≤14∣x−y∣.|x^2-y^2|\leq 14|x-y|.∣x2−y2∣≤14∣x−y∣.

Given any ε>0\varepsilon>0ε>0, choose δ=ε14\delta=\frac{\varepsilon}{14}δ=14ε​. If ∣x−y∣<δ|x-y|<\delta∣x−y∣<δ, then

∣x2−y2∣≤14∣x−y∣<14δ=ε.|x^2-y^2|\leq 14|x-y|<14\delta=\varepsilon.∣x2−y2∣≤14∣x−y∣<14δ=ε.

The same δ\deltaδ works for every pair x,y∈[2,7]x,y\in[2,7]x,y∈[2,7], so x2x^2x2 is uniformly continuous on that interval.

Continuous functions on closed bounded intervals

The Uniform Continuity Theorem states that if a function is continuous on a closed and bounded interval, then it is uniformly continuous on that interval.

The closed and bounded condition is essential. For example, f(x)=x2f(x)=x^2f(x)=x2 is continuous everywhere on R\mathbb{R}R but is not uniformly continuous on all of R\mathbb{R}R. Take

xn=n,yn=n+1n.x_n=n,\qquad y_n=n+\frac{1}{n}.xn​=n,yn​=n+n1​.

The inputs become arbitrarily close because

∣yn−xn∣=1n⟶0,|y_n-x_n|=\frac{1}{n}\longrightarrow 0,∣yn​−xn​∣=n1​⟶0,

but the difference between the outputs is

∣yn2−xn2∣=(n+1n)2−n2=2+1n2,|y_n^2-x_n^2| =\left(n+\frac{1}{n}\right)^2-n^2 =2+\frac{1}{n^2},∣yn2​−xn2​∣=(n+n1​)2−n2=2+n21​,

which does not approach 000. Hence no single δ\deltaδ can guarantee close outputs for all pairs of sufficiently close inputs on the entire real line.

Uniform continuity is especially useful when establishing that continuous functions on closed bounded intervals can be integrated in the Riemann sense.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent