If you were 3 kilometers from home at noon and 8 kilometers away at one o’clock, then at some moment in between you were exactly 5 kilometers away. You cannot skip a distance, because you cannot teleport. The intermediate value theorem says the same thing for any continuous function, and it turns into a simple way to prove that an equation has a solution without solving it.
Key terms
Continuity on a closed interval
Definition A function is continuous on , with , if it is continuous at every point of the open interval , continuous from the right at , and continuous from the left at . In symbols, for each , together with
In plain words The graph over can be drawn without lifting the pen, and it starts and ends at filled dots that the curve really reaches.
Example The polynomial is continuous everywhere, so it is continuous on . The function is continuous on but not on , since it is undefined at .
The intermediate value theorem
Definition Let be continuous on , and let be any number strictly between and . Then there is at least one number in the open interval with
In plain words Every height between the starting height and the ending height is hit somewhere along the way.
Example Let on . Then and , and lies between them. The theorem guarantees some with . That is , so the theorem proves that a positive square root of exists as a real number.
Existence of a root
Definition Let be continuous on and suppose and have opposite signs, that is . Then has at least one root in , a number with . This is the intermediate value theorem with . Repeatedly halving the interval and keeping the half where the sign changes is the bisection method, which traps a root in smaller and smaller intervals.
In plain words If a continuous function is negative at one end and positive at the other, it crosses zero somewhere in between.
Example For on we have and , so a root lies in . Bisection narrows it down.
| Interval | Midpoint | Root lies in | |
|---|---|---|---|
The root is about . Here there is exactly one root, because and are both increasing, so is increasing and can cross zero only once.
No automatic uniqueness
Definition The intermediate value theorem asserts that at least one exists. It says nothing about how many. To show there is exactly one solution you need extra information, for example that is strictly increasing or strictly decreasing on .
In plain words The theorem promises a crossing. It does not promise only one.
Example Let on . Then and , so there is a root in . In fact has three roots there, namely , and .
Counterexamples when continuity fails
Definition If is not continuous at even one point of , the conclusion can fail. There can be a value strictly between and with for every . The converse of the theorem is also false, since a function can take every intermediate value without being continuous.
In plain words A single break is enough for the function to skip over values.
Example On consider
It has and . The value lies between them, but only takes the values , and . The trouble is the jump at . A failure at an endpoint is enough too. On let
Then and , yet never equals , because is not continuous from the right at .
Check yourself
- Show that has a solution between and .
Show the answer
Let , a polynomial and so continuous on . Then and , so some has , which means .
- A function satisfies and , and is continuous on . Must it equal somewhere in ? Must it equal somewhere?
Show the answer
It must equal , because lies between and . It need not equal , which is outside that range. For example never reaches on .
- Can you use the intermediate value theorem to find a root of on ?
Show the answer
No. The function is not defined at , so it is not continuous on , and indeed has no root at all even though it changes sign.