Some limits resist every algebraic trick. What is x→0limx2sin(x1)? The factor sin(x1) oscillates wildly and has no limit at 0, so the product law is useless. The squeeze theorem handles limits like this by trapping a hard function between two easy ones.
The idea
Imagine two functions g and h that both approach the same number L as x→c. If a third function f is always caught between them, then f has nowhere to go: it must approach L too.
The squeeze theorem
Suppose that for all x in an open interval containing c (except possibly at c itself),
g(x)≤f(x)≤h(x),
and that
x→climg(x)=x→climh(x)=L.
Then x→climf(x)=L.
The theorem is sometimes called the sandwich theorem or pinching theorem. It has three requirements, and on the AP exam you should name each one when you use it:
The inequality g(x)≤f(x)≤h(x) holds near c.
The lower function has limit L at c.
The upper function has the same limit L at c.
A classic example
Return to f(x)=x2sin(x1). Whatever the input, sine takes values between −1 and 1:
−1≤sin(x1)≤1for all x=0.
Multiplying through by x2, which is positive for x=0, keeps the inequalities pointing the same way:
−x2≤x2sin(x1)≤x2.
Since x→0lim(−x2)=0 and x→0limx2=0, the squeeze theorem gives x→0limx2sin(x1)=0.
y = x² sin(1/x) oscillates, but it is trapped between the dashed parabolas y = x² and y = −x², which both approach 0.Open in grapher →
The general pattern: a bounded factor times something that approaches 0 approaches 0. The bounded factor is usually a sine or cosine.
Worked example: Given bounds
Suppose 5−x2≤f(x)≤5+3x2 for all x near 0. Find x→0limf(x).
Solution. The lower bound gives x→0lim(5−x2)=5 and the upper bound gives x→0lim(5+3x2)=5. Since f is trapped between two functions that both approach 5, the squeeze theorem gives x→0limf(x)=5.
Proving the special trigonometric limit
In the previous lesson you used θ→0limθsinθ=1 without proof. The squeeze theorem proves it.
Take 0<θ<2π and draw an angle θ in the unit circle. Compare three areas: the triangle inside the sector, the sector itself, and the larger right triangle that reaches up to the tangent line x=1.
Inside the unit circle: the small triangle (base 1, height sin θ) fits inside the sector, which fits inside the large right triangle (base 1, height tan θ).Open in grapher →small triangle21sinθ≤sector21θ≤large triangle21tanθ.
Multiply by sinθ2 (positive here): 1≤sinθθ≤cosθ1. Taking reciprocals reverses the inequalities:
cosθ≤θsinθ≤1.
Both cosθ and sinθ/θ are even functions, so the same inequality holds for −2π<θ<0. As θ→0, cosθ→1 and the constant 1 stays at 1. By the squeeze theorem, θ→0limθsinθ=1.
By direct substitution, x2+x4→0=0, so both bounds approach 0. By the squeeze theorem, the limit is 0.
Common mistake
Multiplying an inequality by a negative quantity reverses it. That is why the bounds for xsin(x1) are −∣x∣ and ∣x∣, not −x and x: when x is negative, −x is the larger of the two. Using ∣x∣ (or an even power such as x2) keeps the bounds in the right order on both sides of 0.
Tip
If the two bounding functions approach different limits, the squeeze theorem tells you nothing. The trapped function might have a limit anywhere in between, or no limit at all.
Practice
Practice 1
Suppose 4x−9≤f(x)≤x2−4x+7 for all x near 4. Find x→4limf(x).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 2
Evaluate x→0limx4cos(x2).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 3
Suppose 1−4x2≤u(x)≤1+2x2 for all x=0. Find x→0limu(x).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
Which pair of inequalities, valid for all x=0, can be used with the squeeze theorem to show that x→0limxsin(x1)=0?
Practice 5
Evaluate x→0limx3+x2sin(xπ).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 6
The function g satisfies 3x≤g(x)≤x3+2 for all x in the interval (0,2). What is x→1limg(x)?
Practice 7
Functions f, g, and h satisfy g(x)≤f(x)≤h(x) for all x, with x→2limg(x)=2 and x→2limh(x)=5. Which statement is true?