Calculus I Limits, Derivatives, and Integrals

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:

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.

0 0.875 1.75 2.625 3.5 -1 2 5 8 11

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.

0 0.625 1.25 1.875 2.5 -4 -1 2 5 8

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

-0.5 0 0.5 1 1.5 -1.5 -0.75 0 0.75 1.5

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.

Important Distinction

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\).

-2.3 -1.15 0 1.15 2.3 -3 -1.5 0 1.5 3

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.

  1. Define a function \(f(x)\). If proving a root exists, rewrite the equation as \(f(x)=0\).
  2. Identify the closed interval \([a,b]\).
  3. Explain why the function is continuous on the entire interval.
  4. Calculate the endpoint values \(f(a)\) and \(f(b)\).
  5. Verify that the target value lies between the endpoint values.
  6. 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

Key Takeaways

The Intermediate Value Theorem connects continuity with the existence of solutions.

If a function is continuous on \([a,b]\) and changes sign between the endpoints, it must cross the x-axis somewhere inside the interval.