1.8 Intermediate Value Theorem
Continuity tells us that a function has no breaks, jumps, or holes on an interval. The Intermediate Value Theorem allows us to use continuity to guarantee that a function reaches certain values, even when we cannot calculate exactly where those values occur.
This theorem is especially useful when we want to prove that an equation has a solution without actually solving the equation.
Understanding the Intermediate Value Theorem
Imagine drawing a continuous curve from one point to another without lifting your pencil. If the curve begins below a particular height and ends above that height, it must cross that height somewhere along the way.
This is the fundamental idea behind the Intermediate Value Theorem (IVT). A continuous function cannot skip any value between two of its function values.
Intermediate Value Theorem
Suppose \(f\) is continuous on the closed interval \([a,b]\). If \(N\) is any number strictly between \(f(a)\) and \(f(b)\), then there exists at least one number \(c\in{(a,b)}\) such that
In other words, if a continuous function begins at one value and ends at another, it must pass through every value in between.
The theorem requires two important conditions:
- The function must be continuous on the entire closed interval \([a,b]\).
- The target value \(N\) must lie between the endpoint values \(f(a)\) and \(f(b)\).
If both conditions are satisfied, the theorem guarantees that the function reaches the target value at least once.
Graphical Interpretation
Consider the continuous function \(f(x)=x^2\) on the interval \([1,3]\).
Evaluating the function at the endpoints gives \(f(1)=1\) and \(f(3)=9\).
Because the function is continuous, it must reach every value between 1 and 9. In particular, it must reach the value 4.
In this example, we can find the exact location because \(f(2)=2^2=4\).
Therefore, \(c=2\) is one value guaranteed by the theorem.
The important idea is that IVT guarantees the existence of such a value even when finding its exact location is difficult.
Using IVT to Prove a Root Exists
One of the most common applications of the Intermediate Value Theorem is proving that an equation has at least one solution on an interval.
When we want to show that \(f(x)=0\) has a solution, we look for a continuous function whose endpoint values have opposite signs.
Root Existence Test
Suppose \(f\) is continuous on \([a,b]\). If the endpoint values have opposite signs, meaning
or
then there exists at least one \(c\in{(a,b)}\) such that \(f(c)=0\).
This works because zero lies between a negative number and a positive number. A continuous function must pass through zero when moving between those values.
Worked Examples
The following examples demonstrate how to apply the Intermediate Value Theorem to different types of functions.
Example 1 — Proving a Root Exists
Show that the equation
has at least one solution on \((1,2)\).
Show solution
Define the function \(f(x)=x^3-x-2\). Since this is a polynomial, it is continuous everywhere, including on \([1,2]\).
Evaluate the function at the endpoints.
Since \(-2<0<4\), zero lies between the endpoint values.
The function is continuous on \([1,2]\), so the Intermediate Value Theorem applies.
Therefore, the equation has at least one solution between 1 and 2.
Notice that we did not need to find the exact root. We only needed to prove that a root exists.
Finding an Interval Containing a Root
Sometimes we know an equation has a root, but we want to identify an interval in which that root must lie.
We can evaluate the function at different points until we find two values with opposite signs.
Example 2 — Locating a Root
Show that the equation
has a solution between 0 and 1.
Show solution
Define \(f(x)=x^3+x-1\). This polynomial is continuous on \([0,1]\).
Evaluate the endpoints.
The endpoint values have opposite signs. Since the function is continuous, it must cross the x-axis somewhere between 0 and 1.
Refining an Interval
Once we know a root exists within an interval, we can evaluate the function at additional points to narrow its location.
For example, if a continuous function changes sign between 0 and 1, we could evaluate it at 0.5.
If the function is zero at 0.5, we have found a root. Otherwise, the sign of the function at 0.5 tells us which half of the interval has opposite-sign endpoint values.
Repeating this process is the idea behind the bisection method, a numerical technique used to approximate roots.
Applying IVT to Other Target Values
The Intermediate Value Theorem is not limited to finding roots. We can use it to show that a continuous function reaches any value between its endpoint values.
Example 3 — Reaching a Given Value
Show that \(f(x)=x^3+2x\) takes the value 10 somewhere on \([1,2]\).
Show solution
Since \(f(x)=x^3+2x\) is a polynomial, it is continuous on the entire interval.
Evaluate the endpoint values.
The target value 10 lies between the endpoint values because \(3<10<12\).
By the Intermediate Value Theorem, there exists at least one \(c\in{(1,2)}\) such that
We have proven that the function reaches 10 without solving the cubic equation.
Applying IVT to Trigonometric Functions
The theorem also applies to trigonometric functions wherever they are continuous.
Example 4 — A Trigonometric Equation
Show that the equation
has at least one solution in \((0,1)\).
Show solution
Rearrange the equation into the form \(f(x)=0\) by defining \(f(x)=cos x-x\).
Both cosine and linear functions are continuous, so their difference is continuous on \([0,1]\).
Evaluate the endpoints, using radians.
The endpoint values have opposite signs, so zero lies between them.
By IVT, there exists at least one \(c\in{(0,1)}\) such that
When the Intermediate Value Theorem Does Not Apply
Continuity is essential. If a function has a jump, hole, or vertical asymptote within the interval, we cannot apply the theorem to that entire interval.
Example 5 — A Discontinuous Function
Consider the function
on the interval \([-1,1]\).
Show explanation
Evaluate the endpoint values.
Zero lies between these values. However, the function never actually equals zero.
The function jumps directly from -1 to 1 at \(x=0\).
Since the function is not continuous on the entire interval, the Intermediate Value Theorem does not apply.
If the conditions of the Intermediate Value Theorem are not satisfied, that does not automatically mean that a solution does not exist.
It only means that the theorem cannot be used to guarantee one.
What IVT Does and Does Not Guarantee
The Intermediate Value Theorem is an existence theorem. It tells us that at least one value with a particular property must exist.
However, it does not tell us the exact location of that value, and it does not guarantee that the value occurs only once.
For example, consider \(f(x)=x^3-3x\).
This function crosses the x-axis three times, at \(x=-\sqrt3\), \(x=0\), and \(x=\sqrt3\).
The IVT can establish the existence of a root on a suitable interval, but it does not by itself determine how many roots exist.
What the Theorem Guarantees
If a function is continuous on a closed interval and the target value lies between its endpoint values, then the function reaches that target at least once.
What the Theorem Does Not Guarantee
The theorem does not determine the exact location of the solution or guarantee that the solution is unique.
How to Apply the Intermediate Value Theorem
When solving an IVT problem, use the following process.
- Define a function \(f(x)\). If proving a root exists, rewrite the equation as \(f(x)=0\).
- Identify the closed interval \([a,b]\).
- Explain why the function is continuous on the entire interval.
- Calculate the endpoint values \(f(a)\) and \(f(b)\).
- Verify that the target value lies between the endpoint values.
- State the conclusion using the Intermediate Value Theorem.
A complete IVT solution should explicitly mention continuity, the endpoint values, and why the theorem applies.
Common Mistakes to Avoid
- Forgetting to Check Continuity Opposite-sign endpoint values alone are not enough. The function must also be continuous on the entire closed interval.
- Assuming the Root Is Unique The Intermediate Value Theorem guarantees at least one solution, but there may be multiple solutions in the same interval.
- Trying to Find an Exact Answer Many IVT problems only ask you to prove that a solution exists. You do not need to solve the equation exactly unless the question specifically asks you to.
-
Assuming No Sign Change Means No Root A continuous function can touch the x-axis and turn around without changing sign.
Therefore, endpoint values with the same sign do not prove that no roots exist.
For example, \(f(x)=x^2\) has a root at \(x=0\), even though \(f(-1)=f(1)=1\).
Key Takeaways
The Intermediate Value Theorem connects continuity with the existence of solutions.
- A continuous function must attain every value between its endpoint values.
- If a continuous function has opposite-sign endpoint values, it must have at least one root between them.
- The theorem guarantees existence, not an exact solution or uniqueness.
- If continuity is not established, the theorem cannot be applied.
If a function is continuous on \([a,b]\) and changes sign between the endpoints, it must cross the x-axis somewhere inside the interval.