Lesson 1.9 · Limits and Continuity
The intermediate value theorem
If you drive from sea level up to a mountain town at meters, at some moment you must have been at exactly meters. You cannot skip an altitude, because altitude changes continuously. The intermediate value theorem turns this common-sense idea into a precise statement, and it is the first of several existence theorems in AP Calculus that rely on continuity.
The theorem
The intermediate value theorem (IVT)
If is continuous on the closed interval and is any number between and , then there is at least one number in such that
(If is strictly between and , then can be taken strictly between and .)
Graphically: draw any horizontal line between the heights and . A continuous graph that starts on one side of that line and ends on the other must cross it at least once.
Three features of the theorem are worth stressing.
- Continuity is essential. If has a break anywhere in , the conclusion can fail.
- It guarantees existence, not location. The IVT says a value exists; it does not tell you what is.
- "At least one." There may be several such values, as in the graph above.
Why continuity matters
Consider on . We have and , and is between them. But is never . The IVT doesn't apply because is not continuous on : it is undefined at , where the graph jumps from to .
Or consider a piecewise function that is for and for , on . It never equals , again because of its jump.
Using the IVT to locate roots
The most common application: if a continuous function changes sign on an interval, it has a zero there.
Worked example: Showing that an equation has a solution
Show that has a solution between and .
Solution. Let . As a polynomial, is continuous on . Also
Since and is continuous on , the intermediate value theorem guarantees a number in with .
This is how an AP free-response justification should look: name the function, state that it is continuous on the closed interval (with a reason), show the values at the endpoints, state that is between them, and conclude by the IVT.
You can repeat the process to narrow things down. Since and , the root is actually in . Halving the interval over and over like this (the bisection method) pins the root down to any accuracy you want.
Worked example: Equations with a function on each side
Show that has a solution in .
Solution. Move everything to one side: let , which is continuous everywhere as a difference of continuous functions. Then
By the IVT, for some in , which means .
The IVT with tables
AP questions often give a table of values of a continuous function and ask what the IVT guarantees.
Worked example: Counting guaranteed solutions from a table
The function is continuous on , and selected values are shown.
What is the fewest number of solutions the equation must have on ?
Solution. Look at each consecutive pair of values and ask whether lies between them.
- On : . Yes.
- On : . Yes.
- On : . Yes.
The intervals , and don't overlap, so there are at least different solutions.
Common mistake
The IVT works in only one direction. If is between and , a solution is guaranteed. If is not between them, the IVT says nothing: might still equal somewhere in the interval (for example, on has but also reaches ). And always check continuity first; without it, no conclusion is possible.
Tip
To use the IVT for an equation like or , rewrite it as (something) and apply the theorem to the difference. Sign changes are much easier to spot than crossings of two curves.
Practice
Let . On which interval does the intermediate value theorem guarantee that has a zero?
The function is continuous on , with values shown in the table.
What is the least number of zeros must have on ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The function is continuous on with , , and . What is the least number of solutions of on ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let . Then and , but there is no in with . Why doesn't this contradict the intermediate value theorem?
Let . The IVT guarantees a value in with . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which is a correct justification that has a solution in ?
The function is continuous on with and . Which statement must be true?