Tutorials › Calculus I › A Supremum Proof of the Intermediate Value Theorem

Continuity and the Intermediate Value Theorem · Tutorial 283 of 1495

A Supremum Proof of the Intermediate Value Theorem

Learn how the completeness of the real numbers and continuity combine to prove the Intermediate Value Theorem using a supremum.

Beginner 10 min read

What You'll Learn

  • Define the set of inputs whose function values lie below a chosen target.
  • Use the least-upper-bound property of the real numbers to obtain its supremum.
  • Prove the supremum lies inside the interval using continuity at the endpoints.
  • Use continuity on both sides of the supremum to show its function value equals the target.
  • Identify the role of continuity and avoid an incomplete one-sided argument.

Why Use a Supremum?

The Intermediate Value Theorem guarantees that a continuous function takes every value between its endpoint values. A supremum proof turns that guarantee into a precise argument: it gathers inputs whose function values are below a chosen target, then locates the boundary of that collection.

The key idea is not to assume the function is increasing or that the inputs below the target form a single interval. Instead, the supremum identifies the rightmost boundary of all such inputs. Continuity forces the function value at that boundary to be exactly the target.

Definitions and Assumptions

Definition: A real number \(c\) is the supremum of a set \(S\subseteq\mathbb{R}\) if \(c\) is an upper bound for \(S\), and every number smaller than \(c\) fails to be an upper bound. Equivalently, \(c\) is the least upper bound of \(S\).

The least-upper-bound property of the real numbers says that every nonempty subset of \(\mathbb{R}\) that is bounded above has a supremum in \(\mathbb{R}\). This completeness property will provide the point \(c\) used in the proof.

We use continuity in its epsilon-delta form. A function \(f\) is continuous at an interior point \(c\) of its domain if, for every \(\varepsilon>0\), there is a \(\delta>0\) such that \(|x-c|<\delta\) implies \(|f(x)-f(c)|<\varepsilon\). At an endpoint of a closed interval, the corresponding condition is applied to inputs in the interval on the available side.

Theorem: Suppose \(a<b\), \(f\) is continuous on \([a,b]\), and \(r\) is a real number satisfying \(f(a)<r<f(b)\). Then there exists \(c\in[a,b]\) such that \(f(c)=r\).

The inequalities in the theorem are strict, so neither endpoint already has function value \(r\). The proof will show that the point it constructs lies inside the interval. The version with \(f(b)<r<f(a)\) follows by applying the same argument to \(-f\) and target \(-r\).

Build the Set and Locate Its Boundary

Consider all inputs in the interval where the function value is strictly below \(r\):

$$ S=\{x\in[a,b]: f(x)<r\}. $$

Because \(f(a)<r\), the set \(S\) is nonempty: it contains \(a\). It is bounded above because every element of \(S\) lies in \([a,b]\), so \(b\) is an upper bound. The least-upper-bound property therefore gives a real number \(c=\sup S\).

The definition of supremum alone does not yet tell us that \(f(c)=r\). First, we must show that \(c\) is an interior point. Then continuity at \(c\) will rule out both possibilities \(f(c)<r\) and \(f(c)>r\).

Complete Supremum Proof

1
Define the set.
Let \(S=\{x\in[a,b]: f(x)<r\}\). Since \(f(a)<r\), the set is nonempty, and since \(S\subseteq[a,b]\), it is bounded above.
2
Take its supremum.
By completeness of \(\mathbb{R}\), set \(c=\sup S\).
3
Show \(a<c<b\).
Continuity at \(a\) supplies inputs just to its right that remain in \(S\). Continuity at \(b\) supplies inputs just to its left whose function values remain above \(r\), so those inputs are not in \(S\).
4
Exclude \(f(c)<r\).
Continuity would then put inputs just to the right of \(c\) in \(S\), contradicting that \(c\) is an upper bound.
5
Exclude \(f(c)>r\).
Continuity would make inputs near \(c\) have function values above \(r\). But the supremum property requires elements of \(S\) arbitrarily close to \(c\) from below.

Here are the details behind those steps. Since \(f(a)<r\), let \(\varepsilon_a=(r-f(a))/2>0\). Continuity at \(a\) gives some \(\delta_a>0\) such that \(x\in[a,b]\) and \(|x-a|<\delta_a\) imply \(|f(x)-f(a)|<\varepsilon_a\). Consequently,

$$ f(x)<f(a)+\varepsilon_a=\frac{f(a)+r}{2}<r. $$

There is therefore an input \(x>a\) in \(S\), chosen close enough to \(a\). As \(c\) is an upper bound for \(S\), this proves \(c>a\).

At the other endpoint, let \(\varepsilon_b=(f(b)-r)/2>0\). By continuity at \(b\), all inputs \(x\in[a,b]\) sufficiently close to \(b\) satisfy

$$ f(x)>f(b)-\varepsilon_b=\frac{f(b)+r}{2}>r. $$

Choose a positive distance \(d\) small enough that every input in \([b-d,b]\) is within this continuity neighborhood. None of those inputs belongs to \(S\), so every element of \(S\) is less than \(b-d\). Thus \(c\le b-d<b\). We have proved \(a<c<b\).

Suppose first that \(f(c)<r\). Set \(\varepsilon=(r-f(c))/2>0\). By continuity at \(c\), all inputs sufficiently close to \(c\) have function values less than

$$ f(c)+\varepsilon=\frac{f(c)+r}{2}<r. $$

Because \(c<b\), there is an input \(x>c\) close enough to \(c\) for this conclusion to apply. Then \(f(x)<r\), so \(x\in S\). This contradicts the fact that \(c\) is an upper bound for \(S\). Hence \(f(c)\) cannot be less than \(r\).

Now suppose that \(f(c)>r\). Set \(\varepsilon=(f(c)-r)/2>0\). Continuity at \(c\) gives a neighborhood in which

$$ f(x)>f(c)-\varepsilon=\frac{f(c)+r}{2}>r. $$

Since \(c=\sup S\), there must be an element \(s\in S\) in this neighborhood. Indeed, if there were no such element, some number strictly less than \(c\) would still be an upper bound for \(S\), contradicting the definition of \(c\). But \(s\in S\) means \(f(s)<r\), whereas the neighborhood condition gives \(f(s)>r\). This is a contradiction. Therefore \(f(c)\) cannot be greater than \(r\).

The value \(f(c)\) is real, so the only remaining possibility is \(f(c)=r\). This proves the theorem.

Worked Examples

Worked Example: A Linear Function

Let \(f(x)=2x+1\) on \([0,3]\), and choose \(r=5\). First check the hypotheses: \(f(0)=1<5\), \(f(3)=7>5\), and a linear function is continuous.

The set in the proof is

$$ S=\{x\in[0,3]:2x+1<5\}. $$

Subtracting \(1\) and dividing by \(2\) gives \(x<2\), so \(S=[0,2)\). Its supremum is \(c=2\). Substitution verifies the conclusion:

$$ f(c)=f(2)=2(2)+1=5=r. $$

The value \(2\) is not in \(S\), because the defining inequality is strict. It is the boundary of the inputs that are in \(S\).

Worked Example: A Quadratic on a Nonnegative Interval

Let \(f(x)=x^2\) on \([0,2]\), and take \(r=2\). The endpoint values are \(f(0)=0<2\) and \(f(2)=4>2\); the polynomial is continuous.

The set of inputs below the target is

$$ S=\{x\in[0,2]:x^2<2\}=[0,\sqrt{2}). $$

The restriction \(x\ge0\) matters here: on this interval, \(x^2<2\) is equivalent to \(x<\sqrt{2}\). Hence \(c=\sup S=\sqrt{2}\). Checking by substitution,

$$ f(c)=f(\sqrt{2})=(\sqrt{2})^2=2=r. $$

The example displays the boundary idea directly: inputs in \(S\) approach \(\sqrt{2}\), even though \(\sqrt{2}\) itself is not in \(S\).

Worked Example: A Supremum Need Not Be the Leftmost Crossing

Let \(f(x)=(x-1)^2\) on \([0,3]\), with target \(r=2\). The endpoint values are \(f(0)=1<2\) and \(f(3)=4>2\). This polynomial is continuous.

Solving the strict inequality gives

$$ (x-1)^2<2 \quad\Longleftrightarrow\quad -\sqrt{2}<x-1<\sqrt{2} \quad\Longleftrightarrow\quad 1-\sqrt{2}<x<1+\sqrt{2}. $$

Intersecting this interval with the domain \([0,3]\) gives \(S=[0,1+\sqrt{2})\), because \(1-\sqrt{2}<0\) and \(1+\sqrt{2}<3\). Thus \(c=\sup S=1+\sqrt{2}\). Substitution gives

$$ f(c)=((1+\sqrt{2})-1)^2=(\sqrt{2})^2=2=r. $$

The set here is determined by both the function and the domain. The supremum selects its right boundary, which is the crossing required by the theorem.

Where Continuity Is Essential

Continuity is used at specific points in the proof, not as a general decoration. At \(a\) and \(b\), it ensures that the strict endpoint inequalities persist for nearby inputs. This places the supremum strictly inside the interval. At \(c\), continuity ensures that a strict inequality at \(f(c)\) would persist nearby. Either persistence would contradict the defining boundary property of \(c\).

Without continuity, those nearby function values need not stay on the same side of the target. The supremum still exists for a nonempty bounded set, but existence of that boundary alone says nothing about the function value there. The proof depends on combining the completeness of \(\mathbb{R}\), which supplies \(c\), with continuity, which forces \(f(c)=r\).

Common Pitfall: Using Only Inputs Below the Supremum

A frequent incomplete argument takes elements of \(S\) approaching \(c\), uses continuity, and concludes only that \(f(c)\le r\). For example, with \(f(x)=x\) on \([0,2]\) and \(r=1\), the set is \(S=[0,1)\). Values at inputs in \(S\) approaching \(1\) do show that \(f(1)\le1\), but that one-sided observation alone does not establish equality.

The correction is to rule out both strict inequalities. If \(f(c)<r\), continuity puts points just to the right of \(c\) in \(S\), contradicting that \(c\) is an upper bound. If \(f(c)>r\), continuity excludes elements of \(S\) close to \(c\), contradicting that \(c\) is the least upper bound. Both directions are needed to conclude \(f(c)=r\).

Key takeaway: The supremum marks the boundary of inputs whose function values lie below the target. Continuity prevents the function value at that boundary from being either below or above the target, so it must equal the target.

Check Your Understanding

Use the set of inputs below the target and the definition of supremum to explain each answer.

  1. Why is \(S=\{x\in[a,b]:f(x)<r\}\) nonempty under the theorem's hypotheses?
  2. Which property of the real numbers guarantees that \(S\) has a supremum?
  3. Why must continuity at \(a\) help show that the supremum is greater than \(a\)?
  4. What contradiction follows if \(f(c)<r\), where \(c=\sup S\)?
  5. Why would using only elements of \(S\) approaching \(c\) from below leave a gap in the proof?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon