Intermediate Value Theorem
Statement
If is continuous on the closed interval and is any value strictly between and , then there exists at least one with .
Equivalently, the image contains the interval .
Visualization
Sign-change detection — the most common application:
| Sign | ||
|---|---|---|
| 0 | ||
| 1 | ||
| 2 | ||
| 1.3 | ||
| 1.2 | ||
| 1.32 | ||
| 1.32 |
Sign changes from to on , so by IVT a root exists (the actual root is ).
p(x) = x³ - x - 1
5 | * (2, 5)
|
0 +······················ ← root c ≈ 1.32
| *
-1 | * ···· *
+--+--+--+--+--+--+--
0 0.5 1 1.5 2
Bisection algorithm exploits IVT: repeatedly halve at the sign-change bracket to converge on .
Proof Sketch
- WLOG (the reversed case is symmetric).
- Define . is non-empty (contains ) and bounded above by .
- Let . By definition .
- Show by contradiction: if , continuity gives a neighbourhood where , contradicting . If , similarly contradicts the definition of as a supremum.
- Conclude and .
Connections
- Mean Value TheoremMean Value TheoremThere exists a point where the instantaneous rate of change equals the average rate of changeRead more → — Rolle's Theorem (used in MVT's proof) relies on IVT to locate extrema
- Fundamental Theorem of CalculusFundamental Theorem of CalculusIntegration and differentiation are inverse operationsRead more → — continuity hypotheses in FTC are validated via IVT arguments
- L’Hôpital's Rule — the squeeze step in L'Hôpital's proof uses IVT to trap between and
- Taylor's TheoremTaylor's TheoremApproximate smooth functions by polynomials with explicit error boundsRead more → — existence of the Lagrange remainder point follows from IVT applied to an auxiliary function
- Chain RuleChain RuleDifferentiate composite functions by peeling layersRead more → — continuity (a prerequisite for the chain rule) is IVT's core hypothesis
Lean4 Proof
import Mathlib.Topology.Order.IntermediateValue
open Set
/-- Intermediate Value Theorem: a continuous function on `[a, b]` takes every value
between `f a` and `f b`. Wraps Mathlib's `intermediate_value_Icc`. -/
theorem ivt {f : ℝ → ℝ} {a b : ℝ} (hab : a ≤ b)
(hf : ContinuousOn f (Icc a b)) :
Icc (f a) (f b) ⊆ f '' Icc a b :=
intermediate_value_Icc hab hfReferenced by
- Extreme Value TheoremCalculus
- Rolle's TheoremCalculus
- L'Hôpital's RuleCalculus
- L'Hôpital's RuleCalculus
- Fundamental Theorem of CalculusCalculus
- Taylor's TheoremCalculus
- Darboux's TheoremCalculus
- Mean Value TheoremCalculus
- Mean Value TheoremCalculus
- Weierstrass Approximation TheoremCalculus
- Squeeze TheoremAnalysis
- Quotient TopologyTopology
- Continuous Image of Compact is CompactTopology
- Baire Category TheoremTopology
- Path-Connected Implies ConnectedTopology
- Stone–Weierstrass TheoremFunctional Analysis
- Open Mapping Theorem (Banach)Functional Analysis