01 / 20

The Squeeze Theorem

Learn how to evaluate tricky limits by trapping a function between two simpler bounds that converge to the same value.

Calculus 1

What Is a Limit?

A limit describes the value a function \( f(x) \) approaches as \( x \) gets closer and closer to a particular point \( a \). We write:

Sometimes we can evaluate a limit by direct substitution. But when \( f(x) \) involves oscillation, indeterminate forms, or undefined expressions at \( x = a \), we need more powerful tools: one of the most elegant is the Squeeze Theorem.

The Intuition Behind Squeezing

Imagine you are walking between two friends. One friend is to your left, the other to your right. If both friends converge to the same doorway, you have no choice but to pass through it too.

Upper Bound
A function \( h(x) \) that is always above or equal to \( f(x) \) near \( a \).
Target
The function \( f(x) \) we want to evaluate the limit of at \( x = a \).
Lower Bound
A function \( g(x) \) that is always below or equal to \( f(x) \) near \( a \).

Visualizing the Squeeze

Formal Statement

The theorem also applies to one-sided limits and limits at infinity (\( x \to \pm\infty \)).

Three Conditions to Verify

1
Bounding inequality: Show \( g(x) \leq f(x) \leq h(x) \) near \( x = a \).
2
Matching limits: Compute \( \lim_{x \to a} g(x) \) and \( \lim_{x \to a} h(x) \) and confirm they are equal.
3
Conclude: By the Squeeze Theorem, \( \lim_{x \to a} f(x) = L \).

Squeeze Theorem vs. Other Techniques

Squeeze Theorem Direct Substitution L'Hôpital's Rule
When to Use Function is bounded between two simpler functions Function is continuous at the point Indeterminate form \( \frac{0}{0} \) or \( \frac{\infty}{\infty} \)
Requires Bounding inequality + matching limits Continuity Differentiable numerator and denominator
Typical Signals \( \sin, \cos \) multiplied by vanishing terms Polynomials, simple rationals \( \frac{0}{0} \) after substitution

How to Apply the Squeeze Theorem

1
Identify the oscillating or problematic factor: look for \( \sin(1/x) \), \( \cos(1/x) \), or similar bounded expressions.
2
Bound that factor: Use a known inequality. For example, \( -1 \leq \sin(\theta) \leq 1 \) for all \( \theta \).
3
Multiply through by the vanishing factor (e.g. \( x^2 \)), preserving the inequality direction.
4
Evaluate the outer limits: Confirm both give the same value \( L \).
5
State the conclusion: By the Squeeze Theorem, \( \lim f(x) = L \).

A Foundational Inequality

Before we tackle examples, recall this critical inequality that holds for all \( \theta \neq 0 \) in a small neighborhood of zero:

Since \( \lim_{\theta \to 0} \cos\theta = 1 \) and the upper bound is already \( 1 \), the Squeeze Theorem immediately gives us the famous result:

Example 1: \( x^2 \sin(1/x) \)

Evaluate \( \displaystyle\lim_{x \to 0}\, x^2 \sin\!\left(\frac{1}{x}\right) \).

1
The problematic factor is \( \sin(1/x) \), which oscillates wildly as \( x \to 0 \).
2
Bound it: \( -1 \leq \sin(1/x) \leq 1 \).
3
Multiply by \( x^2 \geq 0 \): \( -x^2 \leq x^2\sin(1/x) \leq x^2 \).
4
Both \( \lim_{x\to 0}(-x^2) = 0 \) and \( \lim_{x\to 0} x^2 = 0 \).

Example 1: Graph

Example 2: \( x\cos(1/x) \)

Evaluate \( \displaystyle\lim_{x \to 0}\, x\cos\!\left(\frac{1}{x}\right) \).

1
The oscillating factor is \( \cos(1/x) \). Bound: \( -1 \leq \cos(1/x) \leq 1 \).
2
Multiply by \( |x| \). For \( x > 0 \): \( -x \leq x\cos(1/x) \leq x \). For \( x < 0 \): \( x \leq x\cos(1/x) \leq -x \). In both cases, \( -|x| \leq x\cos(1/x) \leq |x| \).
3
Both \( \lim_{x\to 0}(-|x|) = 0 \) and \( \lim_{x\to 0} |x| = 0 \).

Example 3: Limit at Infinity

Evaluate \( \displaystyle\lim_{x \to \infty}\, \frac{\sin x}{x} \).

1
Bound the numerator: \( -1 \leq \sin x \leq 1 \) for all \( x \).
2
Divide by \( x > 0 \): \( -\frac{1}{x} \leq \frac{\sin x}{x} \leq \frac{1}{x} \).
3
Both \( \lim_{x\to\infty}(-1/x) = 0 \) and \( \lim_{x\to\infty}(1/x) = 0 \).

When the Squeeze Fails

Consider \( \displaystyle\lim_{x \to 0}\, \sin\!\left(\frac{1}{x}\right) \). We know \( -1 \leq \sin(1/x) \leq 1 \), but:

The key difference from Example 1: there is no vanishing factor like \( x^2 \) to compress the oscillation to zero.

Common Mistakes

✕ Bounds Don't Match
Using bounds whose limits are different. If \( \lim g(x) \neq \lim h(x) \), you cannot conclude anything about \( f(x) \).
✕ Wrong Inequality Direction
Multiplying an inequality by a negative number without flipping the inequality signs. Always check the sign of your multiplier.
✕ Forgetting "Near \( a \)"
The bounding inequality only needs to hold in a neighborhood of \( a \), not everywhere. But it does need to hold near \( a \).

Question 1 of 5

What is \( \displaystyle\lim_{x \to 0}\, x^2 \cos\!\left(\frac{1}{x}\right) \)?

Question 2 of 5

Which condition is required for the Squeeze Theorem to apply?

Question 3 of 5

Why does \( \displaystyle\lim_{x \to 0}\, \sin\!\left(\frac{1}{x}\right) \) not exist?

Question 4 of 5

If \( -x^4 \leq f(x) \leq x^4 \) for all \( x \neq 0 \), what is \( \displaystyle\lim_{x \to 0}\, f(x) \)?

Question 5 of 5

What is \( \displaystyle\lim_{x \to \infty}\, \frac{\cos x}{x^2} \)?