Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Use the Squeeze Theorem

When a function is trapped between two others that share the same limit, it has that limit too. The usual trap is a bounded factor such as sin⁡1x\sin\frac{1}{x} or cos⁡x\cos x multiplied by something that goes to 00.

Recognize the task

A bounded, oscillating piece times something small: x2sin⁡1xx^2\sin\frac{1}{x} as x→0x \to 0, cos⁡xx\frac{\cos x}{x} as x→∞x \to \infty, sin⁡xx\frac{\sin x}{x} as x→∞x \to \infty (not the famous one at 00). The limit laws fail because lim⁡sin⁡1x\lim\sin\frac{1}{x} does not exist. Test: a factor stuck between −1-1 and 11, and a factor that goes to 00.
The theorem is stated as the squeeze theorem and discussed under the squeeze theorem in the limit rules lesson.

Two ways to do it

Bound the oscillating factorusual choice
−1≤sin⁡θ≤1  ⇒  −∣g(x)∣≤g(x)sin⁡θ≤∣g(x)∣-1 \le \sin\theta \le 1 \;\Rightarrow\; -|g(x)| \le g(x)\sin\theta \le |g(x)|
Multiply the bound by the other factor. Using ∣g(x)∣|g(x)| keeps the inequalities true whatever the sign of gg.
Geometric trig boundsthe classic proof
cos⁡x≤sin⁡xx≤1near 0\cos x \le \frac{\sin x}{x} \le 1 \quad \text{near } 0
This is how the limit of sin x over x is proved: both bounds go to 11.

Steps

StepOn lim⁡x→0x2sin⁡1x\lim_{x\to 0} x^2\sin\frac{1}{x}
1Bound the oscillating factor between two constants. Sine and cosine of anything lie in [−1,1][-1, 1].−1≤sin⁡1x≤1-1 \le \sin\frac{1}{x} \le 1
2Multiply through by the other factor. If that factor can be negative, use its absolute value, or the inequalities flip.−x2≤x2sin⁡1x≤x2-x^2 \le x^2\sin\frac{1}{x} \le x^2
3Take the limits of the two bounds. They must be equal, or the squeeze says nothing.Direct substitution ↗lim⁡x→0(−x2)=0=lim⁡x→0x2\lim_{x\to 0}(-x^2) = 0 = \lim_{x\to 0} x^2
4Conclude. By the squeeze theorem the function in the middle has the same limit.lim⁡x→0x2sin⁡1x=0\lim_{x\to 0} x^2\sin\frac{1}{x} = 0

Worked examples

Example 1 · the classic

x → 0
−x2≤x2sin⁡1x≤x2-x^2 \le x^2\sin\frac{1}{x} \le x^2
∣sin⁡∣≤1|\sin| \le 1, times x2≥0x^2 \ge 0
lim⁡x→0x2sin⁡1x=0\lim_{x\to 0} x^2\sin\frac{1}{x} = 0
both bounds →0\to 0

Example 2 · bounded over growing

x → ∞
−1x≤cos⁡xx≤1x-\frac{1}{x} \le \frac{\cos x}{x} \le \frac{1}{x} for x>0x > 0
∣cos⁡x∣≤1|\cos x| \le 1
lim⁡x→∞cos⁡xx=0\lim_{x\to\infty}\frac{\cos x}{x} = 0
both bounds →0\to 0

Example 3 · a factor that changes sign

use |x|
−∣x∣≤xcos⁡1x2≤∣x∣-|x| \le x\cos\frac{1}{x^2} \le |x|
xx may be negative, so bound with ∣x∣|x|
lim⁡x→0xcos⁡1x2=0\lim_{x\to 0} x\cos\frac{1}{x^2} = 0
±∣x∣→0\pm|x| \to 0

See it happen

Draw y=x2y = x^2 and y=−x2y = -x^2: a narrow funnel pinched shut at the origin. The graph of x2sin⁡1xx^2\sin\frac{1}{x} oscillates faster and faster as x→0x \to 0 but can never leave the funnel, so at 00 it has nowhere to go but 00.

Common mistakes

Using the product law

✗ lim⁡x2⋅lim⁡sin⁡1x\lim x^2 \cdot \lim\sin\frac{1}{x}
✓ the second limit does not exist, so the law does not apply; squeeze instead

Bounds with the wrong sign

✗ −x≤xcos⁡1x2≤x-x \le x\cos\frac{1}{x^2} \le x for all xx
✓ false for x<0x < 0; use −∣x∣≤…≤∣x∣-|x| \le \ldots \le |x|

Bounds with different limits

✗ −1≤x2sin⁡1x≤1-1 \le x^2\sin\frac{1}{x} \le 1, "so the limit is between −1-1 and 11"
✓ the two bounds must share one limit; multiply the bound by x2x^2

Mixing up the two sin x / x limits

✗ lim⁡x→∞sin⁡xx=1\lim_{x\to\infty}\frac{\sin x}{x} = 1
✓ that value is for x→0x \to 0; as x→∞x \to \infty the squeeze gives 00