The intermediate value theorem is a fundamental result in mathematical analysis stating that a continuous function with real values cannot pass from one value to another without taking every value between them. It provides a basic method for proving that equations have solutions, underlies numerical root-finding by interval subdivision, and expresses the connection between continuity and connectedness.
Statement
Let , and let be continuous, where denotes the real numbers. If satisfies
then there is at least one such that
If lies strictly between and , then such a point lies in .
An equivalent formulation is that the image of an interval under a continuous real-valued function is itself an interval. Here an interval means a subset of the real line containing every real number between any two of its points. This formulation applies to open, closed, bounded, and unbounded intervals: the theorem can be applied to the closed segment joining any two points in the domain.
The theorem guarantees existence, not uniqueness. It does not require differentiability, monotonicity, or a formula for the function.
The sign-change formulation
A particularly important special case states that if is continuous on and
then there is a with . This is often called Bolzano’s theorem or the Bolzano sign-change theorem.
The general intermediate value theorem follows from this special case by applying it to , with endpoint equality handled separately.
Geometric meaning
On the graph of a function, the theorem says that a continuous curve joining heights and must meet every horizontal line whose height lies between them.
The familiar description that the graph can be drawn “without lifting the pencil” is only an informal illustration of continuity. The precise theorem concerns function values, not the physical act of drawing a curve.
The interval condition matters. A function may be continuous on a disconnected domain and still omit values between two of its outputs. For example, the function
is continuous on , but never takes the value . The missing point separates its domain into two parts.
Proof from completeness
A standard proof uses the least upper bound property of the real numbers: every nonempty subset of that is bounded above has a least upper bound.
Suppose
Define
The set contains , so it is nonempty, and it is bounded above by . Let
Continuity at , together with , ensures that contains points greater than . Continuity at , together with , ensures that an interval immediately to the left of contains no points of . Hence .
There are three possibilities for :
- If , continuity implies that for points sufficiently close to , including some . Such a point belongs to , contradicting the fact that is an upper bound.
- If , continuity gives a neighborhood of in which . But the definition of a supremum requires points of arbitrarily close to from below, again a contradiction.
- Therefore .
The case follows by applying the same argument to .
Why the real numbers matter
Completeness is essential. Over the rational numbers, the analogous statement fails.
Consider
on . This function is continuous in the topology inherited from the real line, and , while . Nevertheless, no rational input satisfies , because is an irrational number.
Thus continuity alone, without the relevant completeness and interval structure, is insufficient.
Applications
Existence of roots
For the polynomial
the values and have opposite signs. Since polynomials are continuous, the theorem guarantees a root in , without requiring its explicit calculation.
More generally, every real polynomial of odd degree has at least one real root. Its leading term forces opposite signs for sufficiently large positive and negative inputs.
For two continuous functions and , applying the theorem to proves that their graphs intersect whenever their relative order reverses between two endpoints.
Bisection and numerical root-finding
The bisection method turns the sign-change theorem into an algorithm. Starting with a continuous function whose values at and have opposite signs:
- Evaluate the midpoint .
- Stop if .
- Otherwise retain the half-interval whose endpoint values have opposite signs.
- Repeat.
Each retained interval contains a root. After subdivisions, its length is
The midpoint of that interval therefore approximates a root with error at most
In numerical analysis, bisection is valued for its reliable bracketing guarantee. Unlike Newton’s method, it requires no derivative. Actual computer implementations must also account for floating-point arithmetic: an incorrectly determined sign can invalidate the bracket.
Fixed points on an interval
The theorem gives a simple fixed-point result. If is continuous, then some satisfies .
Set . Because and ,
Either an endpoint is already a zero, or the intermediate value theorem supplies an interior zero.
What the theorem does not imply
Uniqueness
A continuous function can take the same intermediate value many times, or even infinitely many times. Uniqueness requires additional assumptions. For example, a strictly monotonic function takes each value at most once.
A necessary sign change
Opposite endpoint signs are sufficient for a root, but not necessary. The function has a root in , although both endpoint values are positive.
Attainment of extreme values
The intermediate value theorem does not assert that a function attains a maximum or minimum. That is the role of the extreme value theorem for continuous real-valued functions on compact intervals.
For example, on has the intermediate value property but has neither a maximum nor a minimum.
Differentiability or continuity from the conclusion alone
The theorem assumes continuity, not differentiability. A function may have corners and still satisfy its hypotheses.
Conversely, having the intermediate value property does not imply continuity. For example,
is discontinuous at , yet has the intermediate value property on every interval.
Topological interpretation and related results
In topology, the theorem is a special case of the statement that a continuous image of a connected space is connected. The connected subsets of the real line are precisely the intervals, including singletons and, by convention, the empty set.
This yields a broader statement: if is connected and is continuous, then is an interval. The domain need not itself be a subset of the real line.
For vector-valued functions, connectedness of the image still holds, but the image need not contain the straight line segment between two output points. A continuous path along a semicircle, for example, joins its endpoints without passing through their midpoint.
The Darboux theorem establishes a related but distinct result: every derivative has the intermediate value property, even when the derivative is discontinuous. Functions possessing this property are therefore also called Darboux functions.
The intermediate value theorem should also be distinguished from the mean value theorem. The former concerns attained function values under continuity; the latter concerns a derivative equaling an average rate of change under additional differentiability assumptions.
Historical development
Bernard Bolzano published an influential analytical proof of the sign-change result in 1817, seeking to establish it without relying on geometric intuition. Augustin-Louis Cauchy also treated intermediate-value results in his 1821 Cours d’analyse.
Modern proofs commonly use the least upper bound property or nested intervals. These formulations make explicit how the theorem depends on the completeness of the real numbers, connecting an elementary fact about continuous functions with the foundations of real analysis.