The IVT: proving a root exists without finding it
To prove that an equation has a root between and , write it as , check that is continuous on , and show that and have opposite signs. The Intermediate Value Theorem then guarantees a root in , even for an equation like that no algebra can solve. Below: the theorem, a complete proof for , and a discontinuous function that shows why continuity cannot be dropped.
The theorem
The Intermediate Value Theorem (IVT) says: if is continuous on the closed interval and is any number strictly between and , then for at least one in .
For roots, take . Zero lies strictly between and exactly when one of them is positive and the other negative, which gives the version you will use most:
If is continuous on and , have opposite signs, then for at least one in .
The picture behind it: on the graph of a continuous function is one unbroken curve. If it starts above the -axis and ends below it, it has to cross the axis on the way.
The picture hides why this is a theorem rather than an obvious fact: it depends on the real number line having no gaps. If only fractions were allowed as inputs, would go from at to at without ever being zero, because is not a fraction. The IVT is the guarantee that, on the real line, the crossing point is always there.
Worked example: has a solution between and
No algebraic step isolates in . The IVT proves a solution exists anyway, in four steps.
- Put everything on one side. The theorem is about one function taking one value, so let . A solution of is exactly a zero of .
- Check continuity on the closed interval. is continuous everywhere, and so is the polynomial . A difference of continuous functions is continuous, so is continuous on .
- Find the signs at the endpoints. , which is positive. For : the cosine equals only at multiples of , and is not one, so and is negative. No calculator needed.
- Conclude. is continuous on , and lies strictly between and . By the IVT there is a in with , that is, .
That is a complete proof, and it never found .
Narrowing it down, still without a calculator
The same argument works on any smaller interval where you can decide the signs. The exact values at and , both inside , are enough:
The first is positive because while . The second is negative because while . So the solution lies between and .
Exactly one solution needs a separate argument
The IVT says “at least one”. To show there is only one, you need something else. On , decreases while increases, so is strictly decreasing there and can cross zero only once. Outside there is nothing to find:
- for , ;
- for , ;
- for , .
So has exactly one real solution, and it lies between and .
Why continuity cannot be skipped
Take this function on :
Its endpoint values have opposite signs, and , yet is never zero. For , stays below ; for , is at least . Approaching from the left, the values climb towards ; at the graph restarts at height . Every height from up to (but not including) is skipped, and is one of them.
The sign change was real. What failed was continuity, at the single point inside the interval. That is why the continuity check has to cover the whole closed interval, not just the two endpoints where you computed the signs.
The sign test only works in one direction. Opposite signs at the endpoints, together with continuity, guarantee a root. Equal signs guarantee nothing: there may be no root in between, or several. The trap is to compute and , find that both are positive, and conclude there is no root. The function is positive at and at , and it is zero at and at .
Check your understanding
No calculator needed.
- A function is continuous on , with and . Which of the values , , and must take somewhere in ?
- Show that has a solution between and .
- Show that has a solution between and .
- Find the error. “For , and , so by the Intermediate Value Theorem the root is , halfway between.”
- True or false: if is not continuous on , then cannot take any value strictly between and . Give a reason.
- Show that has a solution with . Choose your interval with care.
- Suppose is continuous on and for every in . Show that for some in .
Show the answers
- and . Both lie strictly between and , so the IVT guarantees them. The values and lie outside that range: may or may not reach them, and the theorem says nothing either way.
- Let , continuous on as a sum of continuous functions. , which is negative, and , which is positive because . By the IVT, for some in .
- For , is a composition of continuous functions, so it is continuous on . Its endpoint values are and , and lies strictly between them, so for some in . The target is rather than , so there is no need to rearrange first.
- The IVT says a root exists in ; it says nothing about where. In fact , not . Since is negative and is positive, the IVT applied again puts the root in . It is .
- False. A discontinuity takes away the guarantee, not the value: the theorem no longer says anything, and may take the value anyway. For example, let for and for . On it jumps at , and , . It still takes the value , which lies between them, at .
- Let , continuous everywhere. The obvious interval fails: , so is not strictly between the endpoint values and the theorem does not apply; the zero you already know sits at the endpoint. Use instead: is positive because , and is negative. The IVT gives a root between and , so .
- Let , continuous on . Then and . If either is , take or . Otherwise , and the IVT gives in with , that is, . The worked example is the case , whose values on lie between and .
Practise it
The free CEGEP Calculus I Limits and Continuity worksheet includes an Intermediate Value Theorem question, alongside one-sided limits, asymptotes and continuity at a point. If you are taking AP, the AP Calculus AB Unit 1 worksheet has one too. In every IVT answer, write the continuity reason and the two endpoint values before you write the conclusion.
Want one-on-one help with this? I offer CEGEP Science calculus and linear algebra tutoring in Montreal, in person or online. Sessions start with a short written diagnostic, and a written recap goes to whoever books after every session.