MatheramaMatherama
← Continuity and Differentiability
Continuity and Differentiability·Section 4·13 min read

Important Theorems on Continuity

Continuity is a fundamental property of functions, ensuring smooth and predictable behavior without breaks or jumps. However, beyond just defining continuity, certain powerful theorems provide deeper insights into how continuous functions behave in different settings. These theorems help answer important questions, such as whether a function reaches its highest and lowest values, whether it takes all intermediate values, and whether it remains bounded.

In this chapter, we explore key theorems related to continuity, including:

  • Extreme Value Theorem (EVT): Guarantees that a continuous function on a closed interval attains both a maximum and a minimum.
  • Boundedness Theorem: Ensures that a continuous function on a closed interval remains within a fixed range of values.
  • Intermediate Value Theorem (IVT): Ensures that a continuous function takes every value between its starting and ending points.
  • Bolzano’s Theorem: A special case of IVT that guarantees the existence of a root if the function changes sign.

These theorems have important applications in finding roots of equations, optimization problems, and understanding function behavior. They also highlight why the distinction between closed and open intervals is crucial—certain properties hold only on closed intervals and fail on open ones.

We will not formally prove these theorems here because their proofs require deeper mathematical ideas, such as the completeness property of real numbers, the nested interval property (NIP), and even a more precise definition of continuity itself. These concepts belong to a more advanced branch of mathematics called Real Analysis, which you will encounter in higher mathematics courses. However, we will provide strong reasoning and intuitive explanations to help develop a solid understanding of why these theorems must be true.

Extreme Value Theorem§

If a function f(x)f(x) is continuous on a closed interval [a,b][a, b], then it attains both a maximum and a minimum value on [a,b][a, b]. That is, there exist points c,d∈[a,b]c, d \in [a, b] such that

f(c)≥f(x)∀x∈[a,b],f(d)≤f(x)∀x∈[a,b].f(c) \geq f(x) \quad \forall x \in [a, b], \quad f(d) \leq f(x) \quad \forall x \in [a, b].

This guarantees that the function must reach its highest and lowest values somewhere in the interval.

alt text

A function being continuous on a closed interval means that it has no breaks, jumps, or infinite behavior on [a,b][a, b]. The key observation is that in a closed interval, the function cannot escape to infinity or have missing values at the endpoints, ensuring that it remains bounded. Since the function is continuous, it cannot avoid reaching its maximum or minimum value somewhere in the interval.

If a function is defined on an open interval (a,b)(a, b), it may not attain its maximum or minimum values because the function may become unbounded near the endpoints. Unlike a closed interval, where both endpoints are included, an open interval allows the function to behave unpredictably near x=ax = a or x=bx = b, potentially approaching infinity or oscillating wildly.

For example, consider the function

f(x)=1sin⁡2x+1cos⁡2x,x∈(0,π/2).f(x) = \frac{1}{\sin^2 x} + \frac{1}{\cos^2 x}, \quad x \in (0, \pi/2).

At any point in (0,π/2)(0, \pi/2), this function is well-defined and continuous. However, as x→0+x \to 0^+, we have sin⁡x→0\sin x \to 0, causing 1/sin⁡2x1/\sin^2 x to grow arbitrarily large. Similarly, as x→(π/2)−x \to (\pi/2)^-, cos⁡x→0\cos x \to 0, causing 1/cos⁡2x1/\cos^2 x to diverge to infinity. This means that

lim⁡x→0+f(x)=lim⁡x→(π/2)−f(x)=∞.\lim\limits_{x \to 0^+} f(x) = \lim\limits_{x \to (\pi/2)^-} f(x) = \infty.

Thus, f(x)f(x) does not attain a maximum value on (0,π/2)(0, \pi/2), even though it is continuous. This demonstrates why the Extreme Value Theorem fails for open intervals—a continuous function on an open interval may lack maximum or minimum values due to unbounded behavior near the endpoints.

The Extreme Value Theorem applies only to closed intervals, where continuity ensures that a function is both bounded and attains its extreme values. In contrast, on an open interval, the function may become arbitrarily large or small near the endpoints, preventing it from reaching a maximum or minimum.

Boundedness Theorem§

If a function f(x)f(x) is continuous on a closed interval [a,b][a, b], then f(x)f(x) is bounded on [a,b][a, b]. This means that there exist real numbers mm and MM such that

m≤f(x)≤M,∀x∈[a,b].m \leq f(x) \leq M, \quad \forall x \in [a, b].

This ensures that the function does not diverge to infinity anywhere in the interval.

This theorem is an immediate consequence of the Extreme Value Theorem (EVT). The EVT states that a continuous function on a closed interval attains both a maximum and a minimum value. If f(x)f(x) reaches its highest value at some point x=cx = c and its lowest value at some point x=dx = d, then for all x∈[a,b]x \in [a, b], the function must satisfy

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

Thus, choosing m=f(d)m = f(d) and M=f(c)M = f(c), we see that f(x)f(x) is bounded.

If a function is continuous on an open interval (a,b)(a, b), it may not be bounded because it could tend to infinity near the endpoints. For example, consider

f(x)=1(x−a)(b−x),x∈(a,b).f(x) = \frac{1}{(x-a)(b-x)}, \quad x \in (a, b).

This function is continuous in (a,b)(a, b) but is unbounded as x→a+x \to a^+ or x→b−x \to b^-, since the denominator approaches zero, making f(x)f(x) tend to infinity. This example shows why the Boundedness Theorem requires a closed interval, just like the Extreme Value Theorem.

Intermediate Value Theorem (IVT)§

If a function f(x)f(x) is continuous on a closed interval [a,b][a, b] and if f(a)≠f(b)f(a) \neq f(b), then for any value kk between f(a)f(a) and f(b)f(b), there exists at least one c∈(a,b)c \in (a, b) such that

f(c)=k.f(c) = k.

This means that a continuous function must take every intermediate value between f(a)f(a) and f(b)f(b) as xx moves from aa to bb.

ivt figure

A function being continuous means that it has no jumps or gaps. If f(a)<k<f(b)f(a) < k < f(b) (or f(a)>k>f(b)f(a) > k > f(b)), the function must pass through kk at some point in the interval. Since there are no sudden jumps, the function cannot skip over kk—it must equal kk at least once.

A useful way to think about IVT is to imagine walking on a hilly road from point x=ax = a to x=bx = b. If you start at height f(a)f(a) and end at height f(b)f(b), you must have passed through every height between them. You cannot suddenly teleport over certain heights; every intermediate height must be reached somewhere.

Consider the function

f(x)=x3−x,on [−1,2].f(x) = x^3 - x, \quad \text{on } [-1, 2].

We check its values at the endpoints:

f(−1)=(−1)3−(−1)=−1+1=0,f(2)=23−2=8−2=6.f(-1) = (-1)^3 - (-1) = -1 + 1 = 0, \quad f(2) = 2^3 - 2 = 8 - 2 = 6.

Now, let k=3k = 3. Since f(−1)=0f(-1) = 0 and f(2)=6f(2) = 6, and 33 lies between 00 and 66, the Intermediate Value Theorem guarantees that there exists some c∈(−1,2)c \in (-1,2) such that f(c)=3f(c) = 3, even though we do not yet know the exact value of cc.

the graph of above example

The Intermediate Value Theorem does not apply if the function is not continuous. For example, consider

f(x)={1,x<1,4,x≥1.f(x) = \begin{cases} 1, & x < 1, \\ 4, & x \geq 1. \end{cases}

On [0,2][0,2], we have f(0)=1f(0) = 1 and f(2)=4f(2) = 4, but there is no xx where f(x)=2f(x) = 2 or f(x)=3f(x) = 3, since the function jumps at x=1x = 1. Thus, continuity is essential for IVT to hold.

alt text

Thus, we can conclude that the Intermediate Value Theorem ensures that a continuous function cannot skip values. It is particularly useful for proving that equations have solutions and is widely used in root-finding methods.

Bolzano’s Theorem§

A direct consequence of the Intermediate Value Theorem (IVT) is Bolzano’s Theorem, which provides a useful criterion for the existence of roots of a continuous function.

If a function f(x)f(x) is continuous on a closed interval [a,b][a, b] and satisfies

f(a)⋅f(b)<0,f(a) \cdot f(b) < 0,

then there exists at least one c∈(a,b)c \in (a, b) such that

f(c)=0.f(c) = 0.

bolzano's theorem

By the Intermediate Value Theorem, if f(x)f(x) is continuous on [a,b][a, b], it must take every value between f(a)f(a) and f(b)f(b). Since f(a)f(a) and f(b)f(b) have opposite signs, one is positive and the other is negative, meaning that somewhere in between, f(x)f(x) must cross zero.

Thus, by IVT, there must exist some c∈(a,b)c \in (a, b) such that f(c)=0f(c) = 0, proving the theorem.

For example:

Consider f(x)=x3−x−1f(x) = x^3 - x - 1 on [1,2][1,2]. We compute

f(1)=13−1−1=−1,f(2)=23−2−1=5.f(1) = 1^3 - 1 - 1 = -1, \quad f(2) = 2^3 - 2 - 1 = 5.

Since f(1)f(1) and f(2)f(2) have opposite signs, Bolzano’s Theorem guarantees that there exists some c∈(1,2)c \in (1,2) such that f(c)=0f(c) = 0.

alt text

Section 4 of 8 · Continuity and Differentiability

Mark this section complete when you have worked through its proofs.