Dove's LibraryDove's Library

1.8 - Determining Limits Using the Squeeze Theorem

Introduction

The Squeeze Theorem (also called the Sandwich Theorem or Pinching Theorem) is a tool for finding limits of functions that are hard to evaluate directly. The idea is intuitive: if a function is squeezed between two other functions that approach the same limit, the middle function has to approach that limit too.

The Statement

Suppose g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) for all xx in some interval around aa (except possibly at aa itself).
If:
lim⁡x→ag(x)=Landlim⁡x→ah(x)=L\lim_{x \to a} g(x) = L \quad \text{and} \quad \lim_{x \to a} h(x) = L
Then:
lim⁡x→af(x)=L\lim_{x \to a} f(x) = L
In words: if f(x)f(x) is trapped between g(x)g(x) and h(x)h(x), and both of them approach the same limit LL as xx approaches aa, then f(x)f(x) has to approach LL as well.

Visual Understanding

1.8 - Determining Limits Using the Squeeze Theorem
The function f(x)f(x) (middle curve) is squeezed between g(x)g(x) (bottom) and h(x)h(x) (top). Since both boundary functions approach the same value, f(x)f(x) has nowhere else to go.

Example 1: Using Trigonometric Bounds

Find lim⁡x→0x2sin⁡(1x)\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right).
Why is this hard? Direct substitution gives 0⋅sin⁡(10)0 \cdot \sin\left(\frac{1}{0}\right), which means dividing by zero inside the sine. Undefined.
Step 1: bound the sine function
For any input, sine is bounded:
−1≤sin⁡(1x)≤1-1 \leq \sin\left(\frac{1}{x}\right) \leq 1
This is true because sine always oscillates between −1-1 and 11 no matter what its argument is.
Step 2: multiply all parts by x2x^2
Since x2≥0x^2 \geq 0 for all xx, multiplying preserves the inequality:
−x2≤x2sin⁡(1x)≤x2-x^2 \leq x^2 \sin\left(\frac{1}{x}\right) \leq x^2
Step 3: take limits of all three parts
lim⁡x→0(−x2)≤lim⁡x→0x2sin⁡(1x)≤lim⁡x→0x2\lim_{x \to 0} (-x^2) \leq \lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) \leq \lim_{x \to 0} x^2
Step 4: evaluate the boundary limits
lim⁡x→0(−x2)=0lim⁡x→0x2=0\lim_{x \to 0} (-x^2) = 0 \qquad \lim_{x \to 0} x^2 = 0
Step 5: apply the Squeeze Theorem
Since both boundary limits equal 00:
lim⁡x→0x2sin⁡(1x)=0\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0
Answer: 00
1.8 - Determining Limits Using the Squeeze Theorem
The function x2sin⁡(1x)x^2 \sin\left(\frac{1}{x}\right) oscillates wildly near x=0x = 0, but it’s trapped between −x2-x^2 and x2x^2, both of which approach 00.

Example 2: When Limits Don’t Match

Given: - g(x)=−x2+3x−5g(x) = -x^2 + 3x - 5 - h(x)=3x+1h(x) = 3x + 1 - g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) for all xx
Find lim⁡x→1f(x)\lim_{x \to 1} f(x).
Step 1:
lim⁡x→1g(x)=−(1)2+3(1)−5=−1+3−5=−3\lim_{x \to 1} g(x) = -(1)^2 + 3(1) - 5 = -1 + 3 - 5 = -3
Step 2:
lim⁡x→1h(x)=3(1)+1=4\lim_{x \to 1} h(x) = 3(1) + 1 = 4
Step 3: since −3≠4-3 \neq 4, the boundary functions approach different values.
The limit cannot be determined with the Squeeze Theorem. All we know is:
−3≤lim⁡x→1f(x)≤4-3 \leq \lim_{x \to 1} f(x) \leq 4
f(x)f(x) could approach any value in that range. Without more info about f(x)f(x), we can’t pin it down.
Answer: cannot be determined

Example 3: When the Squeeze Theorem Works

Given: - g(x)=x3−2x2g(x) = x^3 - 2x^2 - h(x)=x3+2x2h(x) = x^3 + 2x^2 - g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) for xx in [−2,2][-2, 2]
Find lim⁡x→0f(x)\lim_{x \to 0} f(x).
Step 1:
lim⁡x→0g(x)=(0)3−2(0)2=0\lim_{x \to 0} g(x) = (0)^3 - 2(0)^2 = 0
Step 2:
lim⁡x→0h(x)=(0)3+2(0)2=0\lim_{x \to 0} h(x) = (0)^3 + 2(0)^2 = 0
Step 3: both boundary limits equal 00, so:
lim⁡x→0f(x)=0\lim_{x \to 0} f(x) = 0
Justification: f(x)f(x) is squeezed between two functions that both approach 00 as x→0x \to 0, so by the Squeeze Theorem, f(x)f(x) must also approach 00.
Answer: 00

Checklist for Using the Squeeze Theorem

To use it, you have to verify:
  • Condition 1: g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) on some interval containing aa
  • Condition 2: lim⁡x→ag(x)=L\lim_{x \to a} g(x) = L (this limit exists)
  • Condition 3: lim⁡x→ah(x)=L\lim_{x \to a} h(x) = L (the same value)
  • Condition 4: both boundary functions are bounded near aa
If all four hold, then lim⁡x→af(x)=L\lim_{x \to a} f(x) = L.

Practice: Can the Squeeze Theorem Be Applied?

Problem 1
  • g(x)=−12g(x) = -\frac{1}{2}
  • h(x)=12h(x) = \frac{1}{2}
  • g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x)
Can we use the Squeeze Theorem to find lim⁡x→0f(x)\lim_{x \to 0} f(x)?
lim⁡x→0g(x)=−12lim⁡x→0h(x)=12\lim_{x \to 0} g(x) = -\frac{1}{2} \qquad \lim_{x \to 0} h(x) = \frac{1}{2}
Since −12≠12-\frac{1}{2} \neq \frac{1}{2}, the boundary functions approach different values.
No. The Squeeze Theorem doesn’t apply. The limit of f(x)f(x) could be anything between −12-\frac{1}{2} and 12\frac{1}{2}.
Problem 2
  • g(x)=−x4g(x) = -x^4
  • h(x)=x4h(x) = x^4
  • g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x)
Can we find lim⁡x→0f(x)\lim_{x \to 0} f(x)?
lim⁡x→0(−x4)=0lim⁡x→0x4=0\lim_{x \to 0} (-x^4) = 0 \qquad \lim_{x \to 0} x^4 = 0
Both boundary limits equal 00.
Yes. The Squeeze Theorem applies, so lim⁡x→0f(x)=0\lim_{x \to 0} f(x) = 0.
Justification: since −x4-x^4 and x4x^4 both approach 00 as x→0x \to 0, and f(x)f(x) is squeezed between them, f(x)f(x) must also approach 00.
Problem 3
  • g(x)=1−x2g(x) = 1 - x^2
  • h(x)=1h(x) = 1
  • g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x)
Can we find lim⁡x→0f(x)\lim_{x \to 0} f(x)?
lim⁡x→0(1−x2)=1−0=1lim⁡x→01=1\lim_{x \to 0} (1 - x^2) = 1 - 0 = 1 \qquad \lim_{x \to 0} 1 = 1
Both boundary limits equal 11.
Yes. The Squeeze Theorem applies, so lim⁡x→0f(x)=1\lim_{x \to 0} f(x) = 1.
Justification: f(x)f(x) is squeezed between two functions that both approach 11, so f(x)f(x) must approach 11 too.

Important: Unbounded Functions

The Squeeze Theorem cannot be applied if either boundary function is unbounded near the point of interest.
Example of unbounded behavior
Consider g(x)=1xg(x) = \frac{1}{x}.
1.8 - Determining Limits Using the Squeeze Theorem
As x→0x \to 0: - From the right, 1x→+∞\frac{1}{x} \to +\infty - From the left, 1x→−∞\frac{1}{x} \to -\infty
That’s unbounded behavior, the function grows without bound.
Why it matters: if one of your boundary functions is unbounded (heads toward ±∞\pm \infty), the Squeeze Theorem doesn’t apply, because there’s no finite value to squeeze toward.
Example: disqualified by unbounded behavior
  • g(x)=1x2g(x) = \frac{1}{x^2}
  • h(x)=2x2h(x) = \frac{2}{x^2}
  • g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x)
Can we find lim⁡x→0f(x)\lim_{x \to 0} f(x)?
lim⁡x→01x2=+∞(unbounded)\lim_{x \to 0} \frac{1}{x^2} = +\infty \quad \text{(unbounded)}lim⁡x→02x2=+∞(unbounded)\lim_{x \to 0} \frac{2}{x^2} = +\infty \quad \text{(unbounded)}
No. The Squeeze Theorem cannot be applied, because both boundary functions are unbounded. Even though they both “approach” the same thing (infinity), infinity is not a real number, and the theorem requires finite limits.

Common Applications

The Squeeze Theorem is especially useful for:
  1. Products of bounded and vanishing functions, like x2sin⁡(1x)x^2 \sin\left(\frac{1}{x}\right) as x→0x \to 0
  1. Oscillating functions multiplied by functions approaching zero, like xcos⁡(1x2)x \cos\left(\frac{1}{x^2}\right) as x→0x \to 0
  1. Functions with irregular behavior near a point, when direct evaluation is impossible
  1. Proving the special trig limit from 1.6: for xx close to 00 (but not equal to 00), a geometry argument shows cos⁡x≤sin⁡xx≤1\cos x \leq \frac{\sin x}{x} \leq 1. Both bounds approach 11 as x→0x \to 0, so the Squeeze Theorem gives lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1.

Summary: When to Use It

Use the Squeeze Theorem when: - You can’t evaluate the limit directly - The function is bounded between two simpler functions - Both boundary functions approach the same finite limit - Neither boundary function is unbounded
Steps to apply: 1. Identify bounds: find g(x)g(x) and h(x)h(x) such that g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) 2. Evaluate boundary limits: find lim⁡x→ag(x)\lim_{x \to a} g(x) and lim⁡x→ah(x)\lim_{x \to a} h(x) 3. Check if they’re equal: if both equal LL, then lim⁡x→af(x)=L\lim_{x \to a} f(x) = L 4. State the conclusion by citing the Squeeze Theorem

Key Takeaways

  • The Squeeze Theorem is your move when direct evaluation fails
  • The middle function has to be trapped between two boundary functions
  • Both boundary functions must approach the same limit
  • If the boundary limits differ, you cannot determine the middle limit
  • Unbounded behavior disqualifies the Squeeze Theorem
  • It shows up a lot with trig functions that oscillate rapidly
  • For sine and cosine, always remember −1≤sin⁡(anything)≤1-1 \leq \sin(\text{anything}) \leq 1
  • Multiply inequalities by the same function to create your bounds
  • Always justify by showing both boundary limits equal the same value

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.