AP Calculus AB and BC
When the Intermediate Value Theorem Fails
The Intermediate Value Theorem rests on one hypothesis: f is continuous on the closed interval. Remove it and a function can step straight over a value without ever taking it. The theorem also only promises values between f(a) and f(b), never outside that range.
Intermediate Value Theorem
If f is continuous on the closed interval and N lies between the two endpoint values, then f takes the value N somewhere on that interval.
The hypotheses, and what each one buys
A theorem is only as strong as its conditions. Below, each hypothesis is dropped on its own while every other one is kept, so you can see precisely what it was holding up.
- 1
f is continuous on the closed interval [a, b]
Continuity is the whole engine. It is what stops the graph from getting from one side of a horizontal line to the other without crossing it. Every proof of the theorem is really a proof that a continuous function cannot skip, whether by bisection or by the least upper bound property.
Drop it and the theorem fails
The sign function on [-1, 1], with f(0) = 0
Here and , so lies squarely between them. But this function only ever takes the values , 0 and . It never takes , or any other value between 0 and 1. The single discontinuity at the origin lets it jump the whole gap in one step.
- 2
N lies between f(a) and f(b)
This is not really a condition on the function, it is a description of what is being promised. The theorem hands you values inside the range spanned by the two endpoint values and says nothing whatever about values outside it. There is no counterexample to state here, because a function that misses a value outside that range is not violating anything: on never takes the value 2, and no theorem ever said it would.
No counterexample built from an elementary formula breaks this one on its own, so none is claimed here.
The counterexample above is checked numerically on every build: each function is evaluated and the conclusion is confirmed to fail. A counterexample that stopped working would fail the build rather than sit here misleading you.
Why it is true
- Assume ; the other order is the same argument with signs flipped.
- Let be the set of in with . It is nonempty, since is in it, and bounded above by , so it has a least upper bound .
- If , continuity keeps below on a small interval to the right of , so points past belong to , contradicting that is an upper bound.
- If , continuity keeps above just to the left of , so a smaller number is already an upper bound, contradicting leastness.
- Both strict inequalities are impossible, so . Every step used continuity, which is why the hypothesis cannot be weakened.
What it does not say
It tells you how many times f takes the value N.
It promises at least one crossing. A continuous function can take the value N thousands of times on the interval, and the theorem is silent about which or how many.
The converse holds, so a function that takes every intermediate value is continuous.
False, and famously so. with takes every value between and 1 on any interval around the origin, yet it is discontinuous at 0. This property has its own name, the Darboux property, precisely because it is weaker than continuity.
It finds the root for you.
It certifies that a root exists inside an interval; locating it is a separate job, usually bisection or Newton's method. On the exam the theorem is the justification step, not the computation.
Frequently asked questions
Does the Intermediate Value Theorem work on an open interval?
The usual statement needs the closed interval, because and have to exist to bracket N. A version does hold on an open interval if you replace the endpoint values with one-sided limits, but that is not the version the AP exam uses.
Why is the sign function a counterexample?
Because it satisfies everything except continuity: it is defined on all of , its endpoint values bracket , and it still never takes that value. That isolates continuity as the load-bearing hypothesis.