The Intermediate Value Theorem

Theorem 5.4.1. (The Intermediate Value Theorem) If the f is continuous on a closed interval [a,b] and if f(a) and f(b) have opposite signs, then there exists a number x0 between a and b such that f(x0) = 0.

Proof: Assume (with no loss of generality) that f(a) < 0 < f(b). Let

S = {x ∈ [a,b]: f(x) < 0}

S ≠ ∅, since aS, and is bounded above by b, therefore by the completeness property of ℝ, it has a least upper bound, x0 = sup S. Since aS, then ax0 and since b is an upper bound of S, by definition of supremum x0b then x0 ∈ [a,b]. Being f continuous at x0, if x0 = sup S, in any neighborhood of the point x0 the function outputs f(x) must contain both positive and negative values at the same time, which implies f(x0) = 0).  □

It's clear that if f is also monotonous, the zero is unique. The theorem can be reformulated in the following form.

Theorem 5.4.2. Let f be a continuous function whose domain contains the interval [a,b]. Let y be a number that lies between f(a) and f(b). Then there is a number x0 between a and b such that f(x0) = y.

Proof. Suppose that f(a) < f(b) and let y such that f(a) < y < f(b). The function F(x) = yf(x) results continuous in [a,b] and such that F(a) = yf(a) > 0 and F(b) = yf(b) < 0. Then by the Intermediate Value Theorem there exists a x0 ∈ [a,b] such that F(x0) = yf(x0) = 0.  □

As a consequence of the previous two theorem we have the following corollaries,

Corollary 5.4.3. If f is a real continuous function in the interval I = [a,b], then f(I) is also an interval with extremes m = minI f and M = maxI f.

The following example indicates that if we restrict the domains of our functions to the rational numbers, then important theorems like the Intermediate Value Theorem no longer hold.

Example 5.4.3. Let f: ℚ ⟶ ℚ defined as f(x) = x2. Then for f the intermediate value property does not hold. Indeed, we have for example f(1) = 1, f(2) = 4, but f does not assume all the values betwenn 1 and 4 as for example 2. Without completeness, many of the fundamental theorems in calculus would not hold. For this reason in calculus, we deal often with functions whose domains are the entire real numnbers.  ■

«The extreme value theorem Index Rolle's Theorem »