---
title: "Determining Limits Using the Squeeze Theorem | FiveStudy"
description: "Trap the function between two curves that meet. If they meet, it has nowhere else to go."
url: https://fivestudy.com/guides/ap-calculus-bc-1-8-determining-limits-using-the-squeeze-theorem
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Determining Limits Using the Squeeze Theorem

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 1 · Limits and Continuity

AP® Calculus BC · Unit 1 · Limits and Continuity

# The *Squeeze* Theorem

Some functions wiggle too much for algebra, but they can be trapped. This guide shows how to trap a function between two simpler ones that meet, how to build the bounds yourself, and how the same idea proves that sin(x)/x approaches 1.

1. The theorem 2. Using given bounds 3. Building bounds 4. Proving sin x / x → 1 5. When it does not work

The idea in one paragraph

If \(g(x) \le f(x) \le h(x)\) for all \(x\) near \(c\), and \(g\) and \(h\) both approach the same number \(L\) as \(x \rightarrow c\), then \(f\) also approaches \(L\). The function in the middle has nowhere else to go. The theorem is most useful for products like \(x^2 \sin\left(\frac1x\right)\), where one factor shrinks to 0 and the other wiggles but stays between \(-1\) and 1.

## 1 The theorem

\[ g(x) \le f(x) \le h(x) \text{ near } c \quad\text{and}\quad \lim_{x \rightarrow c} g(x) = \lim_{x \rightarrow c} h(x) = L \quad\Longrightarrow\quad \lim_{x \rightarrow c} f(x) = L \]

Three conditions, each one necessary:

- The inequalities hold for every \(x\) near \(c\) (they do not have to hold at \(c\) itself).
- The lower bound \(g\) and upper bound \(h\) each have a limit at \(c\).
- Those two limits are the *same* number.

**Figure 1.** The function f can wiggle, but it must stay in the shaded strip between the two bounds. The strip pinches shut at x = 3, where both bounds equal 3, so f has nowhere to go but 3.

## 2 Using given bounds

Worked Example 1 Bounds given

### The strip pinches shut

For all \(x\) near 3, \(4x - 9 \le f(x) \le x^2 - 2x\). Find \(\displaystyle\lim_{x \rightarrow 3} f(x)\).

1. 1

   Find the limit of each bound. Both are polynomials, so substitute: \(4(3) - 9 = 3\) and \(3^2 - 2(3) = 3\).

2. 2

   The bounds have the same limit, 3. That is the condition the squeeze theorem needs.

3. 3

   Since \(f\) is trapped between them near 3, \(f(x)\) must approach 3 as well.

**Answer:** \(\displaystyle\lim_{x \rightarrow 3} f(x) = 3\) by the Squeeze Theorem.

Write it like this

“Since \(4x - 9 \le f(x) \le x^2 - 2x\) for \(x\) near 3, and \(\displaystyle\lim_{x \rightarrow 3} (4x - 9) = \lim_{x \rightarrow 3} (x^2 - 2x) = 3\), by the Squeeze Theorem \(\displaystyle\lim_{x \rightarrow 3} f(x) = 3\).”

State the inequality, state that both bounds have the same limit, then name the theorem.

## 3 Building bounds

Most squeeze problems do not hand you the bounds. The usual source is a sine or cosine, which is always between \(-1\) and 1. Write that, then multiply through by whatever factor sits in front.

Worked Example 2 Build your own bounds

### \(\displaystyle\lim_{x \rightarrow 0} x^2 \sin\left(\frac{1}{x}\right)\)

1. 1

   Algebra cannot help: \(\sin\left(\frac1x\right)\) has no limit at 0, so the product law does not apply.

2. 2

   Start from what you know about sine: \(-1 \le \sin\left(\frac{1}{x}\right) \le 1\) for every \(x \neq 0\).

3. 3

   Multiply all three parts by \(x^2\). Since \(x^2 \gt 0\), the inequalities keep their direction: \(-x^2 \le x^2 \sin\left(\frac{1}{x}\right) \le x^2\).

4. 4

   Both bounds approach 0 as \(x \rightarrow 0\).

**Answer:** \(\displaystyle\lim_{x \rightarrow 0} x^2 \sin\left(\frac{1}{x}\right) = 0\) by the Squeeze Theorem.

**Figure 2.** The sine part keeps swinging between −1 and 1 near 0, but multiplying by x² shrinks the swings. The graph is held between y = x² and y = −x², which both go to 0, so the wiggle is squeezed to 0.

Worked Example 3 Negative x needs absolute values

### \(\displaystyle\lim_{x \rightarrow 0} x \cos\left(\frac{1}{x}\right)\)

1. 1

   Start as before: \(-1 \le \cos\left(\frac1x\right) \le 1\).

2. 2

   Multiplying by \(x\) is the problem: for \(x \lt 0\), multiplying flips the inequalities, so “\(-x \le x\cos\left(\frac1x\right) \le x\)” is false on the left of 0.

3. 3

   Use sizes instead. \(\left|\cos\left(\frac1x\right)\right| \le 1\), so \(\left|x \cos\left(\frac1x\right)\right| \le |x|\), which means \(-|x| \le x \cos\left(\frac1x\right) \le |x|\) for every \(x \neq 0\).

4. 4

   Both \(-|x|\) and \(|x|\) approach 0.

**Answer:** \(\displaystyle\lim_{x \rightarrow 0} x \cos\left(\frac{1}{x}\right) = 0\) by the Squeeze Theorem, using the bounds \(\pm|x|\).

Common Mistake 1 · Multiplying an inequality by a possibly negative number

If \(x\) can be negative, multiplying \(-1 \le \cos\left(\frac1x\right) \le 1\) by \(x\) does not give \(-x \le x\cos\left(\frac1x\right) \le x\) on the negative side. Either multiply by something that is always positive (like \(x^2\)) or use absolute values, \(-|x|\) and \(|x|\).

## 4 Proving sin x / x → 1

The limit \(\displaystyle\lim_{x \rightarrow 0} \frac{\sin x}{x} = 1\) cannot be found by factoring, and plugging values into a calculator only suggests it. The squeeze theorem proves it with a picture.

**Figure 3.** The small triangle fits inside the sector, which fits inside the big triangle, so their areas are in order. That one inequality is enough to squeeze sin(x)/x.

Worked Example 4 Where sin x / x → 1 comes from

### The unit circle argument

Show that \(\displaystyle\lim_{x \rightarrow 0} \frac{\sin x}{x} = 1\).

1. 1

   From Figure 3, comparing areas inside the unit circle gives \(\sin x \le x \le \tan x\) for \(0 \lt x \lt \frac{\pi}{2}\).

2. 2

   Divide every part by \(\sin x\), which is positive there: \(1 \le \dfrac{x}{\sin x} \le \dfrac{1}{\cos x}\).

3. 3

   Take reciprocals of positive numbers, which reverses the inequalities: \(\cos x \le \dfrac{\sin x}{x} \le 1\).

4. 4

   As \(x \rightarrow 0^{+}\), \(\cos x \rightarrow 1\) and the right bound is 1. Both bounds approach 1, so \(\frac{\sin x}{x} \rightarrow 1\) from the right.

5. 5

   For negative \(x\): \(\dfrac{\sin(-x)}{-x} = \dfrac{-\sin x}{-x} = \dfrac{\sin x}{x}\), so the left side gives the same values and the same limit.

**Answer:** \(\displaystyle\lim_{x \rightarrow 0} \frac{\sin x}{x} = 1\).

## 5 When it does not work

Worked Example 5 When the squeeze says nothing

### Bounds with different limits

A student writes \(-1 \le \sin\left(\frac1x\right) \le 1\) and tries to squeeze \(\displaystyle\lim_{x \rightarrow 0} \sin\left(\frac1x\right)\). What goes wrong?

1. 1

   The bounds are true, but the lower bound approaches −1 and the upper bound approaches 1.

2. 2

   The squeeze theorem only works when the two bounds approach the same number. Here the strip between them never pinches shut.

3. 3

   In fact the function swings between −1 and 1 forever near 0, so it has no limit.

**Answer:** No conclusion from the squeeze theorem. (The limit does not exist, because the function oscillates.)

Common Mistake 2 · Bounds that approach different numbers

Any function between \(-1\) and 1 can be “bounded,” but bounds of \(-1\) and 1 prove nothing about a limit. Check that both bounds approach the same value before you name the theorem.

Common Mistake 3 · Bounds that only hold far away

The inequality must hold for all \(x\) near \(c\). Bounds that are true for \(x \gt 10\) say nothing about \(x \rightarrow 0\). Likewise, bounds that hold only on one side give only a one-sided limit.

### Quick reference

| Step | What to write |
| --- | --- |
| 1. Bound the wiggly part | \(-1 \le \sin(\text{anything}) \le 1\), same for cosine |
| 2. Multiply through | By a positive factor such as \(x^2\); for \(x\), use \(-\|x\|\) and \(\|x\|\) |
| 3. Limits of the bounds | Both must equal the same L |
| 4. Conclude | “…so by the Squeeze Theorem, the limit is L” |
| Key result | \(\cos x \le \frac{\sin x}{x} \le 1\) near 0 gives \(\frac{\sin x}{x} \rightarrow 1\) |

FiveStudy AP® Calculus BC · The squeeze theorem
