Real Analysis · Undergraduate
Continuity and a Proof of the Intermediate Value Theorem
Quick answer
A function f is continuous at a when f(x) can be kept within any ε of f(a) by keeping x within some δ of a; equivalently, f(xₙ) → f(a) whenever xₙ → a. The intermediate value theorem says a continuous function on [a, b] takes every value between f(a) and f(b). Its proof uses the completeness axiom: the supremum of the points where f is below the target is exactly where f hits it. Bisection turns the theorem into an algorithm that halves the interval around a root at every step.
What you'll learn
- State the ε-δ and sequential definitions of continuity
- Prove the intermediate value theorem from completeness
- Use the theorem to show an equation has a solution
- Locate a root by bisection and count the steps needed
Continuity, precisely
In calculus, continuity means the limit equals the value. In ε-δ form, is continuous at if
An equivalent sequential form: whenever , also . Sums, products, quotients (where defined) and compositions of continuous functions are continuous.
Intermediate value theorem. If is continuous on and lies between and , then for some in .
Why completeness proves the theorem
Say , and look for a zero. Let . It is nonempty (it contains ) and bounded by , so by the completeness axiom it has a supremum . If , continuity keeps negative a little to the right of , so would not be an upper bound of . If , continuity keeps positive a little to the left of , so a smaller number would bound . Both are impossible, so : the root sits exactly at the edge of where is negative. Over the rationals the same set can have no supremum, and has no rational root even though it changes sign on .
Worked examples
Common mistakes
Practice problems
-
Show that has a solution in .
Answer
has and .
Full solution
is continuous, so the intermediate value theorem gives a zero in .
-
How many bisection steps reduce an interval of length below ?
Answer
Full solution
After steps the length is , and .
-
How many bisection steps reduce an interval of length below ?
Answer
Full solution
Need , that is ; .
-
For , what works for a given at every point?
Answer
Full solution
.
-
After the first bisection step for on , which half is kept? Give its left endpoint.
Answer
Full solution
and , so the sign change is in .
-
Does every polynomial of odd degree have a real root? Answer yes or no.
Answer
Yes
Full solution
It tends to at one end and at the other, so it changes sign on some , and the intermediate value theorem applies.
-
Use sequences to show is continuous at .
Answer
If , then .
Full solution
Limits of products are products of limits, so .
-
A student says must equal somewhere on because it changes sign. What is wrong?
Answer
is not continuous on ; it is undefined at .
Full solution
The intermediate value theorem needs continuity on the whole closed interval.
Frequently asked questions
What does it mean for f to be continuous at a?
For every ε > 0 there is δ > 0 such that |x − a| < δ implies |f(x) − f(a)| < ε. Equivalently, whenever xₙ → a, f(xₙ) → f(a).
What does the intermediate value theorem say?
If f is continuous on [a, b] and y is between f(a) and f(b), then f(c) = y for some c in [a, b].
Why does the theorem need completeness?
On the rationals it fails: x² − 2 is negative at 1 and positive at 2 but has no rational root. The proof finds the root as a supremum, which exists only in ℝ.
What is bisection?
Check the sign of f at the midpoint of an interval where f changes sign, and keep the half where it still changes sign. Each step halves the interval.
How many bisection steps are needed?
Starting from length L, after n steps the interval has length L/2ⁿ. For accuracy 0.001 from length 1, n = 10 steps suffice, since 2¹⁰ = 1,024.