How to use the squeeze theorem to find a limit

A function can wiggle too much for its limit to be obvious. If we can trap it between two simpler functions whose values approach the same number, we can find the limit from those bounds. Let’s do that with a sine function that oscillates near zero.

Check the bounds near the point

Suppose that for inputs close to c, with x≠c, the function h lies between f and g.

f(x)≤h(x)≤g(x)

If the limits of f and g as x approaches c both equal L, the squeeze theorem gives the same limit for h. The bounds must hold for nearby inputs, and their limits must agree.

limx→cf(x)=limx→cg(x)=Llimx→ch(x)=L

Find the limit of an oscillating function

Sine always stays between -1 and 1. That applies to the input 1x whenever x≠0.

-1≤sin(1x)≤1

Multiply all three parts by x2. Because x2 is nonnegative, both inequality signs keep their direction.

-x2≤x2sin(1x)≤x2
An oscillating graph squeezed between two parabolasThe middle graph oscillates within two dashed parabolas. Both bounds tend to zero at the origin, and the oscillations are confined to the narrowing gap.xyOscillating functionUpper and lower bounds
The two bounds approach zero and force the oscillating function toward the same limit.

Both -x2 and x2 approach zero as x approaches zero. They squeeze the middle function to the same limit.

limx→0x2sin(1x)=0

The graph has an open point at the origin because the formula is undefined there. The limit comes from the values on either side as the gap between the bounds shrinks.