7. Continuity

Intermediate Value Theorem

Intermediate Value Theorem

Introduction

students, imagine watching a video of a thermometer rising from $20^0\text{C}$ to $30^0\text{C}$ over an hour 🌡️. If the temperature changes smoothly, it cannot jump from $20$ to $30$ without passing through every value in between. That idea is the heart of the Intermediate Value Theorem (IVT).

In real analysis, the IVT is one of the most important results about continuous functions. It tells us that if a function is continuous on an interval, then it takes every value between its values at the ends of that interval. This lesson will help you:

  • explain the main ideas and terminology behind the Intermediate Value Theorem,
  • use the theorem to solve problems,
  • connect it to continuity, and
  • see how it fits into the bigger picture of real analysis.

The IVT is both simple and powerful. It helps prove that equations have solutions, explains why graphs have no sudden jumps, and supports many arguments in calculus and analysis.

What the Intermediate Value Theorem Says

The Intermediate Value Theorem applies to a function $f$ that is continuous on a closed interval $[a,b]$. If $y$ is any number between $f(a)$ and $f(b)$, then there exists some $c$ in $[a,b]$ such that $f(c)=y$.

A common way to write the theorem is:

$$

\text{If } f \text{ is continuous on } [a,b] \text{ and } y \text{ lies between } f(a) \text{ and } f(b), \text{ then there exists } c $\in$ [a,b] \text{ with } f(c)=y.

$$

This is a statement about intermediate values. The word “intermediate” means “in between.” If the function starts at one height and ends at another, continuity forces it to pass through every height in the middle. 🚶

Important terminology

  • Continuous on $[a,b]$ means there are no breaks, jumps, or holes in the function on that interval.
  • Intermediate value means a value between two known output values.
  • Existence means the theorem guarantees that such a point $c$ exists, even if we do not know exactly where it is.

The theorem does not say how to find $c$ directly. It says that $c$ must exist.

Why Continuity Matters

The IVT is not true for every function. Continuity is the key ingredient. A function with a jump can skip values entirely.

For example, define

$$

$f(x)=$

$\begin{cases}$

0, & x<0,\\

$1, & x\ge 0.$

$\end{cases}$

$$

This function is not continuous at $x=0$. On the interval $[-1,1]$, we have $f(-1)=0$ and $f(1)=1$, but there is no $c$ such that $f(c)=\frac{1}{2}$. So the conclusion of the IVT fails.

This shows why continuity is essential. A continuous function cannot “teleport” from one value to another. It must move through the values in between.

In real analysis, continuity can be defined using the $\varepsilon$-$\delta$ definition:

$$

$\forall$ \varepsilon>0\, $\exists$ $\delta$>0 \text{ such that if } |x-a|<$\delta$, \text{ then } |f(x)-f(a)|<\varepsilon.

$$

This precise definition captures the idea that small changes in input lead to small changes in output. That smooth behavior is exactly what makes the IVT work.

A Graph-Based Intuition

Think of the graph of a continuous function as a path you can draw without lifting your pencil ✏️. If the graph starts below a horizontal line $y=k$ and ends above it, then the graph must cross that line somewhere.

Suppose

$$

f(a)<k<f(b).

$$

If $f$ is continuous on $[a,b]$, the IVT says there exists $c\in[a,b]$ such that

$$

$f(c)=k.$

$$

This picture is extremely useful. For many problems, the goal is to show that a solution exists by rewriting the problem as finding where a continuous function equals a certain value.

For instance, solving

$$

$\sin x = \frac{1}{2}$

$$

can be viewed as finding a point where the continuous function $f(x)=\sin x$ hits the value $\frac{1}{2}$. Because $\sin x$ is continuous, the IVT guarantees many such points.

A Standard Example: Proving a Root Exists

One of the most common uses of the IVT is to show that an equation has a solution.

Consider

$$

$f(x)=x^3-x-1.$

$$

Since polynomials are continuous everywhere, $f$ is continuous on any interval. Now evaluate:

$$

$f(1)=1^3-1-1=-1,$

$$

$$

$f(2)=2^3-2-1=5.$

$$

Because $f(1)=-1$ and $f(2)=5$, the number $0$ lies between them. By the IVT, there exists some $c\in[1,2]$ such that

$$

$f(c)=0.$

$$

So the equation

$$

$x^3-x-1=0$

$$

has at least one real solution between $1$ and $2$.

Notice what the theorem gives us: existence. It does not tell us the exact value of $c$, but it proves the root is real and located in the interval.

This type of argument is extremely useful in analysis, especially when exact algebraic solutions are difficult or impossible to write down.

How to Use the IVT in Practice

To apply the Intermediate Value Theorem, follow these steps:

  1. Identify a function $f$.
  2. Check that $f$ is continuous on a closed interval $[a,b]$.
  3. Compute $f(a)$ and $f(b)$.
  4. Choose a target value $y$ between $f(a)$ and $f(b)$.
  5. Conclude that some $c\in[a,b]$ satisfies $f(c)=y$.

A common special case is when you want a zero of a function. Then you set $y=0$ and check whether $f(a)$ and $f(b)$ have opposite signs. If they do, then $0$ lies between them.

Example with a zero

Let

$$

$f(x)=e^x-3.$

$$

This function is continuous on $[0,2]$. We compute:

$$

$f(0)=1-3=-2,$

$$

$$

$f(2)=e^2-3.$

$$

Since $e^2>3$, we have $f(2)>0$. So $f(0)<0<f(2)$. By the IVT, there exists $c\in[0,2]$ such that

$$

$e^c-3=0.$

$$

Thus the equation

$$

$e^x=3$

$$

has a solution in $[0,2]$.

This is a classic way to prove that an exponential equation has a real solution without solving it exactly.

Relationship to Sequential Thinking

Real analysis often uses different ways to describe continuity. One important equivalent idea is the sequential characterization of continuity:

$$

$x_n\to a \implies f(x_n)\to f(a).$

$$

This means that if a sequence of inputs gets closer and closer to $a$, then the corresponding outputs get closer and closer to $f(a)$.

Why does this matter for the IVT? Because it reinforces the idea that a continuous function does not make sudden jumps. A continuous function behaves predictably along sequences of points approaching a limit. That same “no skipping” behavior is what allows the graph to pass through every intermediate value.

So while the IVT is not usually proved directly from sequences in an introductory course, it fits naturally with the broader analysis idea that continuity preserves limits and prevents abrupt changes.

Continuity on Compact Sets

The interval $[a,b]$ is a compact set in $\mathbb{R}$. In real analysis, compactness is a powerful property because continuous functions on compact sets have especially nice behavior.

The IVT is one of the key results that applies on compact intervals. Another famous result is the Extreme Value Theorem, which says that a continuous function on $[a,b]$ attains both a maximum and a minimum.

Together, these theorems show why compact intervals are so important:

  • continuity guarantees no jumps,
  • compactness gives enough structure to force existence of important values.

The IVT is a strong example of this interaction. On a compact interval, continuous functions cannot avoid values between their endpoint outputs.

Common Misunderstandings

A few mistakes come up often:

  • The IVT does not say that every function has intermediate values. It only applies to continuous functions on an interval.
  • The IVT does not guarantee a unique solution. There may be one, many, or infinitely many points $c$.
  • The theorem does not tell you the exact value of $c$, only that at least one such point exists.
  • The interval matters. The standard form uses a closed interval $[a,b]$ and continuity on that interval.

Also, remember that if $f(a)=f(b)$, the theorem still applies. In that case, every value equal to that common endpoint value is attained, and there may or may not be other values in between depending on the function.

Conclusion

The Intermediate Value Theorem is a central result in continuity. It says that a continuous function on $[a,b]$ must take every value between $f(a)$ and $f(b)$. This may sound simple, but it is one of the most useful tools in real analysis.

students, whenever you need to prove that an equation has a real solution, the IVT is often the first theorem to check. It connects the formal definition of continuity to a strong geometric idea: continuous graphs cannot jump over values. That idea links directly to epsilon-delta continuity, sequential continuity, and the behavior of continuous functions on compact sets.

In short, the IVT explains one of the most important facts about continuous functions: if the outputs at two points are different, then every value in between must appear somewhere along the way. ✅

Study Notes

  • The Intermediate Value Theorem says that if $f$ is continuous on $[a,b]$ and $y$ lies between $f(a)$ and $f(b)$, then there exists $c\in[a,b]$ such that $f(c)=y$.
  • The theorem depends on continuity; discontinuous functions can skip values.
  • A common use of the IVT is proving that equations like $f(x)=0$ have a real solution.
  • To apply the theorem, check continuity first, then compare endpoint values.
  • If $f(a)<0<f(b)$ or $f(b)<0<f(a)$, then there is at least one root in $[a,b]$.
  • The IVT gives existence, not an exact formula for the point $c$.
  • The theorem fits naturally with the epsilon-delta definition of continuity.
  • It also matches the sequential idea that continuous functions preserve limits.
  • On compact intervals like $[a,b]$, continuous functions have especially strong properties.
  • The IVT is a key bridge between graph intuition and rigorous real analysis.

Practice Quiz

5 questions to test your understanding