2.12 The Intermediate Value Theorem
Daily life is replete with continuous processes. If you want to drive your car from a valley below sea level to a mountain peak, your altimeter cannot simply jump from a negative elevation to a positive one. At some precise moment during your journey, you must have been exactly at sea level. You cannot teleport.
In geometry, this manifests as a remarkably intuitive rule. Given two distinct points lying on different sides of a line, any attempt connecting the two points must cross the line, see Figure 2.21.
We state this geometric intuition in calculus language by imagining our path as the graph of a continuous function . The dividing line becomes a horizontal line . If our function starts below this line and ends above it, and it draws a continuous curve without picking up the pen, it is absolutely forced to intersect .
To elevate this from a physical observation to a rigorous mathematical truth, we state it formally:
Let , and let be a continuous function on the closed interval . Let be a real number strictly between and ; that is, either
Then there exists such that .
The Intermediate Value Theorem is a classic example of an existence theorem. It tells you with absolute certainty that at least one number exists, but it offers precisely zero algorithmic guidance on how to actually find it! It does not provide a formula for .
Furthermore, we must be careful not to overstate what the theorem promises. Notice that there may be several values of that satisfy . The theorem guarantees at least one, not exactly one, see Figure 2.22.
It is worth pausing to ask an important question: Why continuity?
The IVT dictates that if takes the values and , then it must also take all the values in between. If is not assumed to be continuous, this logical scaffolding collapses entirely.
Consider the piecewise function defined by:
Here, we clearly have and . The value sits squarely between and . Yet, there is no for which .
If a function is discontinuous, it is entirely capable of jumping past intermediate values. Continuous functions, bound by their topological chains, cannot do so.
We now arrive at a profound meta-mathematical realization. Any student encountering this theorem for the first time might think: Obviously a line from bottom to top hits the middle. Why do mathematicians obsess over proving this?
In fact, any attempt to prove the IVT eventually boils down to the very definition of what the set of real numbers () actually is.
It is somewhat funny that a result with such trivial statements seems to have a deep and difficult proof. The caveat is that there are several ways to define a real number (Dedekind cuts, equivalence classes of Cauchy sequences, etc.), but any rigorous proof of the IVT eventually converges to (yet another) theorem saying that is complete.
That is, is rich enough to guarantee the convergence of a special kind of sequence: the Cauchy sequence. If we were doing calculus on the rational numbers (), the IVT would fail spectacularly! The continuous function goes from negative to positive on , but it never hits in because slips right through the gaps in the rational number line. The IVT is fundamentally a statement about the absence of microscopic holes in .
The true power of the IVT lies in its ability to prove the existence of solutions to horrific equations without requiring us to actually solve them.
Show that the equation has at least solution in .
Let . Since is a polynomial, we know from elementary analysis that is continuous (cts) on the entirety of . Therefore, it is certainly continuous on the restricted interval . We now evaluate the function at the boundary points of our interval:
We observe that and . The value lies strictly between and . Therefore, by the Intermediate Value Theorem, there exists at least one such that . ∎
Notice the elegance here: we don’t even need to calculate the exact values of and if the arithmetic is tedious. We merely need to establish their signs.
We leave the reader with a slightly more challenging problem that combines the IVT with the asymptotic behavior of functions.
Given two real numbers and with . Show that the equation
has at least one real solution.
Hint: Do not attempt to solve for algebraically! Instead, define . Find the limits
Then use the rigorous definition of limits at infinity to construct a sufficiently large, finite closed interval upon which you can apply the IVT.