AP Calculus AB and BC

Squeeze Theorem: Building the Bounds, Step by Step

The squeeze theorem says that if g(x) <= f(x) <= h(x) near a point and g and h have the same limit L there, then f has limit L too. Use it when a bounded oscillating factor such as sin(1/x) multiplies something that goes to zero. It is also how the limit of sin(x)/x as x approaches 0 is shown to be 1.

What the theorem says

The squeeze theorem finds the limit of a function you cannot handle directly by trapping it between two functions you can. If the lower bound and the upper bound approach the same number, the function between them has nowhere else to go. This is Topic 1.8, Determining Limits Using the Squeeze Theorem.

g(x)≤f(x)≤h(x)  near a,lim⁡x→ag(x)=lim⁡x→ah(x)=L⟹lim⁡x→af(x)=Lg(x) \le f(x) \le h(x) \ \text{ near } a, \quad \lim_{x \to a} g(x) = \lim_{x \to a} h(x) = L \quad \Longrightarrow \quad \lim_{x \to a} f(x) = L

The inequality has to hold for xx near aa, and it does not need to hold at aa itself. The same statement works for one-sided limits and for limits as x→∞x \to \infty or x→−∞x \to -\infty.

When to reach for it

The usual signal is a product of two pieces: one that goes to 00, and one that oscillates but stays bounded. In x2sin⁡(1x)x^2 \sin\left(\frac{1}{x}\right) as x→0x \to 0, the factor x2x^2 goes to 00, while sin⁡(1x)\sin\left(\frac{1}{x}\right) swings between −1-1 and 11 faster and faster.

The product law for limits does not help here. That law requires both factors to have limits, and lim⁡x→0sin⁡(1x)\lim_{x \to 0} \sin\left(\frac{1}{x}\right) does not exist. Algebra does not help either, because nothing factors or cancels. The squeeze theorem is the tool built for this case: it uses only the fact that the oscillating factor is bounded.

The pattern to recognize

A sine or cosine of something that blows up, such as sin⁡(1x)\sin\left(\frac{1}{x}\right) near 00 or cos⁡x\cos x as x→∞x \to \infty, multiplied or divided by something that forces the whole expression toward one value.

How to build the bounds

  1. Start with the bounded piece. For any input, −1≤sin⁡(anything)≤1-1 \le \sin(\text{anything}) \le 1 and −1≤cos⁡(anything)≤1-1 \le \cos(\text{anything}) \le 1.
  2. Multiply all three parts of the inequality by the other factor. If that factor is never negative, such as x2x^2, the inequality keeps its direction.
  3. Take the limit of the lower bound and the limit of the upper bound.
  4. If the two limits are equal, state that the function between them has the same limit by the squeeze theorem.

Step 2 needs care when the other factor can be negative. Multiplying an inequality by a negative number reverses it, so for xsin⁡(1x)x \sin\left(\frac{1}{x}\right) you cannot simply multiply −1≤sin⁡(1x)≤1-1 \le \sin\left(\frac{1}{x}\right) \le 1 by xx. Use absolute values instead. Since ∣sin⁡(1x)∣≤1\left|\sin\left(\frac{1}{x}\right)\right| \le 1, the product satisfies ∣xsin⁡(1x)∣≤∣x∣\left|x \sin\left(\frac{1}{x}\right)\right| \le |x|, which is the same as

−∣x∣≤xsin⁡(1x)≤∣x∣-|x| \le x \sin\left(\frac{1}{x}\right) \le |x|

Both −∣x∣-|x| and ∣x∣|x| approach 00 as x→0x \to 0, so the limit is 00.

Why sin(x)/x approaches 1

The most important limit proved with the squeeze theorem is lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1, with xx in radians. Direct substitution gives 00\frac{0}{0}, and no algebra simplifies it. The argument compares three areas in the unit circle for an angle xx with 0<x<π20 < x < \frac{\pi}{2}: a triangle inside the sector, the sector itself, and a larger triangle that contains the sector. Their areas are 12sin⁡x\frac{1}{2}\sin x, 12x\frac{1}{2}x, and 12tan⁡x\frac{1}{2}\tan x, so

12sin⁡x≤12x≤12tan⁡x\frac{1}{2}\sin x \le \frac{1}{2}x \le \frac{1}{2}\tan x

Divide all three parts by 12sin⁡x\frac{1}{2}\sin x, which is positive, to get 1≤xsin⁡x≤1cos⁡x1 \le \frac{x}{\sin x} \le \frac{1}{\cos x}. Taking reciprocals of positive quantities reverses the inequalities:

cos⁡x≤sin⁡xx≤1\cos x \le \frac{\sin x}{x} \le 1

Both cos⁡x\cos x and sin⁡xx\frac{\sin x}{x} are even functions, so the same inequality holds for −π2<x<0-\frac{\pi}{2} < x < 0. As x→0x \to 0, the lower bound cos⁡x\cos x approaches 11 and the upper bound is the constant 11, so sin⁡xx\frac{\sin x}{x} is squeezed to 11. The full page for this limit is the limit of sin(x)/x.

Where students lose points

  • Choosing bounds with different limits. If the lower bound approaches −1-1 and the upper bound approaches 11, the theorem gives no conclusion.
  • Skipping the inequality. The written inequality g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) is the hypothesis of the theorem, so it belongs in the work.
  • Multiplying by a factor that can be negative without switching to absolute values.
  • Claiming sin⁡(1x)→0\sin\left(\frac{1}{x}\right) \to 0 as x→0x \to 0. It has no limit there. The product goes to 00 only because the other factor does.
  • Using the product law on a factor whose limit does not exist.

For what goes wrong when a hypothesis is missing, see when the squeeze theorem fails to apply.

Worked examples

Worked example

A bounded cosine times a factor going to zero

Evaluate lim⁡x→0x2cos⁡(1x2)\lim_{x \to 0} x^2 \cos\left(\frac{1}{x^2}\right).

  1. Start with the bounded piece. For every x≠0x \ne 0, −1≤cos⁡(1x2)≤1-1 \le \cos\left(\frac{1}{x^2}\right) \le 1.
  2. Multiply all three parts by x2x^2. Because x2≥0x^2 \ge 0, the inequalities keep their direction: −x2≤x2cos⁡(1x2)≤x2-x^2 \le x^2 \cos\left(\frac{1}{x^2}\right) \le x^2.
  3. Take the limits of the bounds: lim⁡x→0(−x2)=0\lim_{x \to 0} (-x^2) = 0 and lim⁡x→0x2=0\lim_{x \to 0} x^2 = 0.
  4. The bounds share the limit 00, so by the squeeze theorem the function between them also approaches 00.

00

Worked example

A squeeze at infinity

Evaluate lim⁡x→∞2+cos⁡xx\lim_{x \to \infty} \frac{2 + \cos x}{x}.

  1. Bound the numerator. Since −1≤cos⁡x≤1-1 \le \cos x \le 1, adding 22 gives 1≤2+cos⁡x≤31 \le 2 + \cos x \le 3.
  2. The limit is as x→∞x \to \infty, so only x>0x > 0 matters. Dividing by a positive xx keeps the direction: 1x≤2+cos⁡xx≤3x\frac{1}{x} \le \frac{2 + \cos x}{x} \le \frac{3}{x}.
  3. Take the limits of the bounds: lim⁡x→∞1x=0\lim_{x \to \infty} \frac{1}{x} = 0 and lim⁡x→∞3x=0\lim_{x \to \infty} \frac{3}{x} = 0.
  4. Both bounds approach 00, so the squeeze theorem gives the limit of the middle expression.

00

Worked example

Bounds given in the problem

Suppose 4x−4≤f(x)≤x24x - 4 \le f(x) \le x^2 for all xx. Find lim⁡x→2f(x)\lim_{x \to 2} f(x).

  1. The inequality is already given, so go straight to the limits of the bounds.
  2. Lower bound: lim⁡x→2(4x−4)=4\lim_{x \to 2} (4x - 4) = 4. Upper bound: lim⁡x→2x2=4\lim_{x \to 2} x^2 = 4.
  3. The two bounds have the same limit, 44, so by the squeeze theorem lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4.
  4. Notice that this works only at x=2x = 2. At x=0x = 0 the bounds approach −4-4 and 00, which are different, so the theorem says nothing about lim⁡x→0f(x)\lim_{x \to 0} f(x).

lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4

Frequently asked questions

Why can't I use the product law on x2sin⁡(1x)x^2 \sin\left(\frac{1}{x}\right)?

The product law says the limit of a product is the product of the limits, and it applies only when both limits exist. As x→0x \to 0, sin⁡(1x)\sin\left(\frac{1}{x}\right) oscillates between −1-1 and 11 and has no limit, so the law does not apply. The squeeze theorem needs only that the factor is bounded.

Does sin⁡xx\frac{\sin x}{x} approach 1 if xx is in degrees?

No. The limit equals 11 only when xx is measured in radians. With xx in degrees the limit is π180\frac{\pi}{180}. The trig derivative formulas in this course all assume radians for the same reason.

Should I use the squeeze theorem or L'Hopital's Rule?

L'Hopital's Rule needs a 00\frac{0}{0} or ∞∞\frac{\infty}{\infty} quotient whose derivative quotient has a limit. The squeeze theorem handles bounded oscillation, where L'Hopital's Rule usually fails. The comparison page squeeze theorem vs L'Hopital's Rule goes through the choice.