Intermediate Value Theorem
BasisPrerequisites
If a temperature sensor reads 10°C at dawn and 24°C at noon, it must have read exactly 17°C at some moment in between — assuming the temperature changed continuously. The Intermediate Value Theorem formalises this everyday observation and turns it into a tool for proving existence of roots and fixed points without ever computing them explicitly.
Statement
Theorem (Intermediate Value Theorem, IVT). Let be continuous. If is any value strictly between and , then there exists such that .
An equivalent formulation useful in practice: if and have opposite signs (i.e.\ ), then has a root in .
Proof via bisection
Without loss of generality, assume .
Define a sequence of nested intervals by bisection, starting with :
- Let be the midpoint.
- If , set .
- If , set .
By construction, at every step, and the interval length satisfies
The completeness of (nested interval property) guarantees a unique point .
Since and , both and . Continuity of then gives and . Because for all , taking the limit gives . Because for all , taking the limit gives . Therefore .
Applications
Root-finding for polynomials
Every odd-degree real polynomial has at least one real root. A degree- polynomial satisfies as and as , so for large enough , . The IVT gives a root in .
Example. The polynomial is continuous, satisfies and . By the IVT there exists with — this is the existence proof for .
Fixed-point existence
Corollary (Brouwer in one dimension). Every continuous has a fixed point: some with .
Proof. Define . Since maps into , we have and . If either is zero, then or is a fixed point. Otherwise , and the IVT gives with , i.e.\ .
The bisection algorithm
The proof is constructive: each step halves the interval containing a crossing point. After steps the root is located to within . This is the bisection method — one of the most reliable root-finding algorithms in numerical computing, with guaranteed linear convergence.
def bisect(f, a, b, tol=1e-9):
assert f(a) * f(b) < 0, "f must have opposite signs at a and b"
while (b - a) / 2 > tol:
m = (a + b) / 2
if f(m) == 0:
return m
elif f(a) * f(m) < 0:
b = m
else:
a = m
return (a + b) / 2
Summary
- Intermediate Value Theorem: a continuous on takes every value between and .
- Proof: bisect the interval at each step, maintaining opposite signs at the endpoints; completeness of pins down a crossing point, and continuity forces it to equal .
- Root-finding: every odd-degree polynomial has a real root; specific roots like exist by applying the IVT to .
- Fixed points: every continuous self-map of has a fixed point — proved by applying the IVT to .
- Bisection method: the proof is algorithmic — repeated halving locates any root to precision in steps.