If a continuous function takes two values, it must take every value in between
The Intermediate Value Theorem (IVT) is one of the most important consequences of continuity. It says that a continuous function cannot "jump over" a value — it must hit every intermediate value along the way.
$$ \boxed{\text{If } f \text{ is continuous on } [a,b] \text{ and } y \text{ is between } f(a) \text{ and } f(b), \text{ then there exists } c \in [a,b] \text{ such that } f(c) = y} $$
🎨 The Intuition (Picture This)
Imagine hiking from point A to point B along a continuous trail. You start at elevation 1000 ft and end at 2000 ft. The IVT guarantees that at some point during your hike, you must pass through every elevation between 1000 and 2000 ft — including 1500 ft, 1750 ft, etc. You can't magically skip over an elevation!
📊 Visualizing the IVT
Use the interactive graph below. The horizontal line represents a target $y$-value. For a continuous function, if the line is between the endpoints, the function must cross it at least once:
🔧 How to Use the IVT: Two Main Applications
Proving existence of roots: Show that a continuous function changes sign over an interval → there must be a root in that interval.
Showing a function takes a specific value: If $f(a) < k < f(b)$ or $f(b) < k < f(a)$, then some $c$ exists with $f(c) = k$.
Example 1Proving a Root Exists
Show that the equation $x^3 - x - 1 = 0$ has at least one real root.
Let $f(x) = x^3 - x - 1$. $f$ is a polynomial, so it's continuous on $(-\infty, \infty)$.
Check values: $f(1) = 1 - 1 - 1 = -1$ (negative)
$f(2) = 8 - 2 - 1 = 5$ (positive)
Since $f(1) < 0 < f(2)$ and $f$ is continuous, by IVT there exists some $c \in (1,2)$ such that $f(c) = 0$.
So the equation has at least one root between $x = 1$ and $x = 2$.
Example 2Finding a Specific Value
Show that $f(x) = x^2$ takes the value $2$ somewhere between $x = 1$ and $x = 2$.
$f(1) = 1$, $f(2) = 4$
$2$ is between $1$ and $4$: $f(1) < 2 < f(2)$
$f$ is continuous on $[1,2]$, so by IVT, there exists $c \in (1,2)$ with $f(c) = 2$
Indeed, $c = \sqrt{2} \approx 1.414$ works.
Example 3When IVT Does NOT Apply
Consider $f(x) = \begin{cases} 1, & x < 0 \\ 2, & x \ge 0 \end{cases}$ on $[-1, 1]$.
$f(-1) = 1$, $f(1) = 2$
The value $1.5$ is between $1$ and $2$
But $f$ is not continuous at $x = 0$ (jump discontinuity)
There is no $c$ with $f(c) = 1.5$ because the function jumps from $1$ to $2$
This shows continuity is essential — without it, the theorem fails!
Example 4AP-Style Question
Let $f$ be continuous on $[0, 5]$. If $f(0) = 10$ and $f(5) = 2$, which of the following must be true?
(A) There exists $c$ in $(0,5)$ with $f(c) = 0$
(B) There exists $c$ in $(0,5)$ with $f(c) = 6$
(C) There exists $c$ in $(0,5)$ with $f(c) = 12$
By IVT, $f$ takes every value between $f(5)=2$ and $f(0)=10$ (since $2 < 10$)
$6$ is between $2$ and $10$ → (B) must be true
$0$ is below $2$, so IVT does not guarantee $f(c)=0$
$12$ is above $10$, so IVT does not guarantee $f(c)=12$
⚠️ Common Pitfalls
IVT only works one direction: It guarantees there is a $c$ where $f(c) = y$, but it does not tell you how many such points exist or where they are.
Continuity is required: If the function has any discontinuity on $[a,b]$, IVT may or may not hold.
The value $y$ must be between $f(a)$ and $f(b)$: IVT says nothing about values outside that range.
IVT does NOT guarantee a unique solution — there could be multiple $c$ values.
🔍 Key Takeaways
IVT says a continuous function cannot skip over intermediate values.
It is most commonly used to prove existence of roots (show sign change).
Continuity is essential — IVT fails for discontinuous functions.
IVT guarantees existence but does not find the $c$ value or tell you how many there are.
AP exam questions often ask "which value must be attained?" — pick values between $f(a)$ and $f(b)$.