The Squeeze Theorem and the Limit of Sine x Over x
Trap a difficult function between two easy ones, then follow the geometric proof that sine x over x approaches 1 in radians.
Key takeaways
- If g(x) ≤ f(x) ≤ h(x) near a, and g and h both approach L, then f approaches L.
- The inequality only has to hold near the point, and it need not hold at the point itself.
- Comparing areas in the unit circle gives cos x ≤ sin x / x ≤ 1 for small nonzero x.
- Therefore sin x / x → 1, provided angles are in radians.
- This limit, together with (cos x − 1)/x → 0, gives the derivative of sine.
The squeeze theorem says that if a function is trapped between two others, and those two approach the same value, then the trapped function approaches that value too. It lets you find limits of expressions that resist algebra by comparing them with simpler ones.
Its most famous use shows that sin x / x approaches 1 as x approaches 0, when x is measured in radians. That single fact is what makes the derivatives of the trigonometric functions come out so cleanly.
The theorem
State it carefully. Suppose g(x) ≤ f(x) ≤ h(x) for all x in some interval around a, except possibly at x = a. Suppose also that g(x) → L and h(x) → L as x → a. Then f(x) → L as x → a.
The reason is almost visible. To keep f within a tolerance of L, keep both g and h within that tolerance. Since f lies between them, it has no room to be farther from L.
Both outer limits must be the same number. If g approaches 0 and h approaches 2, all you learn is that f stays roughly between them, and f may have no limit at all.
The theorem also goes by the names sandwich theorem and pinching theorem. It works for one-sided limits and limits at infinity as well, and for sequences.
A first example: taming an oscillation
Find the limit of x² sin(1/x) as x → 0. The factor sin(1/x) oscillates endlessly and has no limit, so you cannot apply the product law.
But you know that sine always lies between −1 and 1. Since x² ≥ 0, multiplying keeps the order:
−1 ≤ sin(1/x) ≤ 1 for x ≠ 0
−x² ≤ x² sin(1/x) ≤ x² multiply by x²
−x² → 0 and x² → 0 as x → 0
so x² sin(1/x) → 0 by the squeeze theorem The graph wiggles between two parabolas that pinch together at the origin.
For x sin(1/x), be careful: x may be negative, and multiplying by a negative number reverses inequalities. Use absolute values. The size of x sin(1/x) is at most abs(x), so the expression lies between −abs(x) and abs(x), and again the limit is 0.
The general pattern is "bounded times vanishing gives vanishing".
How to invent the bounds
The hard part of a squeeze argument is finding the two outer functions. A few habits help.
- Locate the troublemaker. Identify the factor that oscillates or is hard to compute, and replace it by its largest and smallest possible values.
- Make the bounds simpler. An upper bound is useful only if you can find its limit easily.
- Give away only a little. If your two bounds approach different numbers, they were too generous, so sharpen them.
- Check signs. Multiplying an inequality by a negative quantity reverses it.
Here is a case where the troublemaker is a pair of powers. Find the limit of the nth root of 2ⁿ + 3ⁿ as the whole number n grows. The sum is at least 3ⁿ and at most 2 × 3ⁿ. Taking nth roots keeps the order for positive numbers:
3 ≤ (2ⁿ + 3ⁿ)^(1/n) ≤ 3 × 2^(1/n) Since 2^(1/n) approaches 1, the upper bound approaches 3. The lower bound is 3 already, so the limit is 3.
Factorials yield the same way. The ratio n!/nⁿ is positive. Written as a product, it is (1/n) × (2/n) × ... × (n/n), and every factor after the first is at most 1. So the ratio lies between 0 and 1/n, and it approaches 0.
In both problems the exact value of the middle expression never had to be computed. Two crude but well-aimed comparisons did all the work.
The geometric setup
Now take sin x / x. Substituting 0 gives 0/0, and there is no factor to cancel. We use a picture instead.
Draw a circle of radius 1 centered at O. Let A be the point (1, 0), and let P be the point at angle x above it, where 0 < x < π/2. Extend the ray OP until it meets the vertical line through A, and call that point T.
Three regions are nested, each inside the next:
| Region | Description | Area |
|---|---|---|
| Triangle OAP | base 1, height sin x | (1/2) sin x |
| Sector OAP | the pie slice with angle x | (1/2) x |
| Triangle OAT | base 1, height tan x | (1/2) tan x |
The sector area uses radian measure: a full circle of radius 1 has angle 2π and area π, so an angle x cuts off the fraction x/(2π), giving area x/2. For more on this unit of angle, see why calculus prefers radians.
Turning areas into a limit
Because each region contains the one before it, the areas are in order. Double them all:
sin x < x < tan x for 0 < x < π/2
1 < x / sin x < 1 / cos x divide by sin x > 0
cos x < sin x / x < 1 take reciprocals, order reverses Both sin x / x and cos x are unchanged when x is replaced by −x. So the same inequality holds for −π/2 < x < 0.
As x → 0, cos x → 1, and the constant 1 stays 1. The squeeze theorem gives sin x / x → 1.
Numbers show how tight the trap is.
| x (radians) | cos x | sin x / x |
|---|---|---|
| 0.5 | 0.87758 | 0.95885 |
| 0.1 | 0.99500 | 0.99833 |
| 0.01 | 0.99995 | 0.99998 |
In words, for small angles the arc and the vertical segment under it are nearly the same length. Physicists use this as the small-angle approximation, sin x ≈ x.
Outermost region first, for an angle x between 0 and π/2
How good is the small-angle approximation?
The limit says that the ratio of sin x to x tends to 1, so replacing sin x by x has a small relative error when x is small. At x = 0.1, sin x is about 0.099833. The difference is about 0.000167, less than two parts in a thousand of the angle.
The error shrinks quickly. It is close to x³/6, so halving the angle cuts the error to about one eighth. At x = 1 radian, however, sin x is about 0.84, and the approximation is poor. A limit tells you what happens eventually as x → 0 and promises nothing about a particular angle.
Pendulum formulas, many optics calculations and engineering estimates rely on this replacement. Each is trustworthy only while the angles stay small enough for the accuracy required.
Why degrees spoil it
If x is measured in degrees, the sector area becomes πx/360, and the limit of the sine of x degrees divided by x is π/180, about 0.01745. Every derivative of a trigonometric function would then drag this constant along.
Radians are defined so that arc length on the unit circle equals the angle. That choice makes the ratio of a small vertical height to its angle approach exactly 1.
If your calculator reports values near 0.01745 when you test this limit, it is in degree mode.
The companion limit
A second limit completes the toolkit: (cos x − 1)/x → 0. You can derive it from the first with a conjugate.
(cos x − 1)/x = (cos² x − 1) / [x(cos x + 1)]
= −sin² x / [x(cos x + 1)]
= −(sin x / x) × sin x / (cos x + 1)
→ −1 × 0/2 = 0 Now differentiate sine from the definition. Use the addition formula sin(x + h) = sin x cos h + cos x sin h:
[sin(x + h) − sin x]/h = sin x (cos h − 1)/h + cos x (sin h / h)
→ sin x × 0 + cos x × 1
= cos x So the derivative of sin x is cos x. The method is the same as any differentiation from first principles.
A warning about circular reasoning
You may see sin x / x evaluated with L'Hopital's rule: differentiate top and bottom to get cos x / 1, which approaches 1. The arithmetic is right, but as a proof it is circular. Knowing that the derivative of sine is cosine required this very limit.
As a memory check, the shortcut is harmless. As a justification, it assumes the conclusion.
The geometric argument has its own foundations, namely the meaning of arc length and the area of a sector. A fully rigorous course may instead define sine by an infinite series, from which the limit follows directly. Either route is sound so long as it does not use the result to prove itself.
Using the result and the theorem elsewhere
With sin u / u → 1 established, many limits follow by matching. As x → 0, sin 4x / x = 4 × sin 4x / (4x) → 4. Likewise sin x² / x² → 1, and sin x² / x = x × sin x² / x² → 0.
The squeeze theorem handles plenty of problems with no circle in them. The sequence (cos n)/n lies between −1/n and 1/n, so it approaches 0. The expression sin x / x as x → ∞ also approaches 0, by the same bounds. Note that the same formula has limit 1 at the origin and 0 far away.
It helps with two variables too. For x²y/(x² + y²) near the origin, note that x²/(x² + y²) is at most 1. So the size of the whole expression is at most abs(y), which shrinks to 0.
When you face a limit with a bounded but erratic ingredient, such as a sine, a cosine or a power of −1, look for a pair of simple bounds. Then check that both bounds really do arrive at the same place.