If a function f(x) is between two other functions g(x) and h(x) near a, and both outer functions approach the same limit L as x approaches a, then f(x) has to approach L too. This is the squeeze theorem. We call g and h the walls.
g(x)≤f(x)≤h(x)
(x near a)
x→alimg(x)=x→alimh(x)=L
x→alimf(x)=L
Notice that f doesn't even need to be defined at a. The inequality only has to hold for x near a, with x=a, because we find the limit from what happens as x gets close to a.
Let's use it on the limit of x2sinx1 as x approaches 0. Plugging in x=0 gives sin01, which is undefined, and the product law needs limx→0sinx1, which doesn't exist, because sinx1 keeps swinging between −1 and 1. But sine always stays between −1 and 1, and that gives us walls.
Find limx→0x2sinx1 and limx→0xsinx1
Text solution
Multiply the bounds by x2Sine is always between −1 and 1. For x=0,x2 is positive, so multiplying by it keeps the inequality signs the same.
−1−x2≤sinx1≤1≤x2sinx1≤x2
Both walls go to 0As x approaches 0,−x2 and x2 both approach 0, so the function between them does too.
x→0limx2sinx1=0
With x in front, use ∣x∣Multiplying by a negative x reverses the inequalities, so we write the walls with ∣x∣, which works on both sides of 0. Both walls still go to 0.
−∣x∣≤xsinx1≤∣x∣
x→0limxsinx1=0
Which bounds let us find the limit of x2sin(1/x)?
Choosing bounds for the squeeze theorem
2
When the walls are given
Sometimes we don't even have a formula for f(x). Suppose all we know is that it stays between two polynomials, 4x−9≤f(x)≤x2−4x+7, and we want its limit as x approaches 4. After that, we'll squeeze xsinx as x goes to infinity, where the inequalities only have to hold for all large x.
Find limx→4f(x) when 4x−9≤f(x)≤x2−4x+7, and find limx→∞xsinx
Text solution
Plug 4 into both wallsThe walls are polynomials, so their limits at 4 are their values there. Both are 7.
4⋅4−9=7
16−16+7=7
x→4limf(x)=7
Why only at x=4The gap between the walls is a square, and a square is 0 only where its inside is 0. Everywhere else, the walls leave room.
(x2−4x+7)−(4x−9)=(x−4)2
Divide the sine bounds by xAs x goes to infinity, x is positive, so dividing −1≤sinx≤1 by x keeps the order. Both walls go to 0.
−x1≤xsinx≤x1
x→∞limxsinx=0
On the graph, the two walls touch only at (4,7). At x=1, the bottom wall is −5 and the top wall is 4, so f(1) can be any height in between. Two different functions can both stay between these walls and still approach different values at x=1, so the squeeze theorem gives no answer there.
At x=4
4⋅4−9=716−16+7=7x→4limf(x)=7
At x=1
4−9=−51−4+7=4−5≤f(1)≤4
3
Why θsinθ approaches 1
Now let's find the limit of θsinθ as θ goes to 0. Plugging in gives 00, and sinθ has no factor of θ to cancel. On the unit circle, though, θ is the length of the arc and sinθ is the height of the point at that angle, so the fraction is the height divided by the arc length. We'll squeeze it by comparing the areas of two triangles and the sector between them.
Find limθ→0θsinθ using the unit circle and the squeeze theorem
Text solution
Compare three areasFor 0<θ<2π, the small triangle of height sinθ is inside the sector, and the sector is inside the big triangle of height tanθ.
21sinθ<21θ<21tanθ
Divide by sinθ, then flipAfter doubling, divide by sinθ, which is positive here. Every term is positive, so taking reciprocals reverses the inequalities.
1<sinθθ<cosθ1
cosθ<θsinθ<1
Squeeze from both sidescosθ approaches 1. Replacing θ with −θ changes neither cosθ nor θsinθ, so the same walls work for negative θ.
θ→0limθsinθ=1
x→0limxsinx=1(x in radians)
Near 0,sinu≈u for any angle u measured in radians.
4
Replacing sinu and tanu near 0
Since xsinx approaches 1, the sine of an angle close to 0 is close to the angle itself. Take 2xsin3x as x goes to 0. Plugging in gives 00, but the angle 3x goes to 0 too, so we can put 3x in place of sin3x, and the x cancels.
2xsin3x≈2x3x=23
Let's check that this gives the exact limit, and try the same move on more limits, including tangent.
Find limits using sinu≈u and tanu≈u
x→0lim2xsin3x=?
Text solution
Match the angle to checkMultiply the top and bottom by 3, so the sine sits over its own angle. That fraction goes to 1, which leaves exactly 23.
2xsin3x=23⋅3xsin3x
x→0lim2xsin3x=23⋅1=23
Tangent works the same wayNear 0,cosu is close to 1, so tanu=cosusinu is close to u.
x→0limxtanx=x→0lim(xsinx⋅cosx1)=1⋅1=1
Plug in firstWe only replace sinu or tanu with u when plugging in gives 00. Otherwise we just take the value.
x→2πlimxsinx=2π1=π2
What has to approach 0 is the whole angle, not x. As x approaches 4, the angle x−4 approaches 0, so the replacement works. As x goes to infinity, the angle x goes to infinity, so sinx isn't close to x, and squeezing xsinx between −x1 and x1 gives 0, not 1.
Angle goes to 0
x→4limx−4sin(x−4)=1
Angle goes to 0 vs angle goes to infinity
x→0limxsinx=1
x→∞limxsinx=0
When can we use the angle in place of its sine to find a limit?
Using sine near zero
5
How small 1−cosx is near 0
Now let's find the limit of x21−cosx as x goes to 0, and see what it tells us about 1−cosx near 0. Plugging in gives 00, and since we know how to handle xsinx, we'd like a sine on top. We get one the same way we handled x−3, by multiplying the top and bottom by the conjugate, here 1+cosx. That puts 1−cos2x on top.
sin2x+cos2x=1
→1−cos2x=sin2x
Find limx→0x21−cosx and limx→0x1−cosx
x→0limx21−cosx=?
Text solution
Multiply by the conjugateThe top becomes sin2x, and x2sin2x is xsinx squared.
x21−cosx=x2(1+cosx)sin2x=(xsinx)2⋅1+cosx1
Take each limitxsinx goes to 1, and 1+cosx goes to 2. So near 0,1−cosx is about 21x2.
x→0limx21−cosx=12⋅1+11=21
Divide by x insteadWrite the fraction as x times the one we just found. That extra x goes to 0.
x→0limx1−cosx=x→0lim(x⋅x21−cosx)=0⋅21=0
Summary
The squeeze theorem
g(x)≤f(x)≤h(x)
x→alimg(x)=x→alimh(x)=L
x→alimf(x)=L
If f(x) stays between two walls g(x) and h(x) near a, and both walls approach the same limit L at a, then f(x) must also approach L. If the two walls approach different numbers at a, they leave room between them, and the squeeze theorem gives no answer.
Sine stays between −1 and 1, so multiplying −1≤sin(…)≤1 by the factor in front builds two walls. If that factor is positive, like x2, the inequality signs stay in the same direction. When x is negative, multiplying by x reverses the inequalities, so we use ∣x∣ to keep −∣x∣≤xsinx1≤∣x∣ whether x is positive or negative. To squeeze xsinx as x goes to infinity, divide −1≤sinx≤1 by x. For x>0, dividing keeps the order, and the walls −x1 and x1 both approach 0.
Trig limits near 0
u→0limusinu=1(u in radians)
2xsin3x≈2x3x=23
2xsin3x=23⋅3xsin3x→23
When u is in radians and approaches 0,usinu approaches 1. That means near 0,sinu≈u and tanu≈u. Whenever sinu or tanu is a factor, you can swap it for u to estimate the limit, like turning 2xsin3x into 2x3x=23. We confirm that guess by putting sin3x over its own angle 3x. The resulting fraction approaches 1.
When the angle approaches 0
x→4limx−4sin(x−4)=1
x→∞limxsinx=0
Only replace sinu or tanu with u when the whole angle approaches 0.x itself doesn't have to approach 0. As x approaches 4, the angle x−4 approaches 0, so x−4sin(x−4) approaches 1. But as x goes to infinity, the angle goes to infinity as well, so sinx is not close to x. Squeezing the fraction between −x1 and x1 gives 0.
Limits with 1−cosu
x21−cosx=(xsinx)2⋅1+cosx1→1⋅21=21
x→0limx1−cosx=0
1−cosu≈2u2(u near 0)
Multiplying 1−cosu by 1+cosu turns it into 1−cos2u, which is sin2u. So x21−cosx becomes (xsinx)2⋅1+cosx1, which approaches 1⋅21=21. That means near 0,1−cosu is approximately 2u2. Dividing 1−cosx by x instead of x2 leaves an extra factor of x, so that limit is 0.
6
Practice
All angles are in radians. Type your answer as an exact number, or DNE if the limit does not exist.
1
Find x→0limx2(2+sinx1).
What are the smallest and largest values of 2+sinx1?
If you got DNE The limit of sinx1 doesn't exist on its own, but the factor of x2 goes to 0. Check the limits of the two walls after multiplying by x2.
Sine is always between −1 and 1, so adding 2 puts 2+sinx1 between 1 and 3.
−1≤sinx1≤1→1≤2+sinx1≤3
For x=0,x2 is positive, so multiplying through by x2 keeps the inequalities in the same direction.
x2≤x2(2+sinx1)≤3x2(x2>0)
As x approaches 0, both outside walls approach 0, so the squeeze theorem forces the limit to be 0.
x→0limx2=0
x→0lim3x2=0
x→0limx2(2+sinx1)=0
2
Suppose ∣f(x)−5∣≤3(x−2)2 for all x. Find x→2limf(x).
If ∣f(x)−5∣≤3(x−2)2, between which two expressions does f(x)−5 stay?
If you got 0 You found the limit of ∣f(x)−5∣, the distance between f(x) and 5. Check what f(x) itself approaches.
∣y∣≤c means −c≤y≤c, so we write the inequality without the absolute value and add 5 throughout.
−3(x−2)2≤f(x)−5≤3(x−2)2
5−3(x−2)2≤f(x)≤5+3(x−2)2
As x approaches 2, the term (x−2)2 goes to 0, so both walls approach 5 and squeeze f(x) to 5.
x→2lim(5−3(x−2)2)=5
x→2lim(5+3(x−2)2)=5
x→2limf(x)=5
3
Find x→0+limxesin(π/x).
sinxπ stays between −1 and 1. What does that mean for esin(π/x)?
As x approaches 0 from the right, x is positive. Does multiplying by x keep the inequalities in the same order?
If you got DNE Even though sinxπ oscillates without a limit, esin(π/x) stays bounded. Check what happens when you multiply those bounds by x.
Sine stays between −1 and 1, and because et is an increasing function, esin(π/x) stays between e−1 and e1.
−1≤sinxπ≤1→e−1≤esinxπ≤e
For x>0,x is positive, so multiplying keeps the direction of the inequalities.
e−1x≤xesinxπ≤ex(x≥0)
As x approaches 0 from the right, x goes to 0, so both outside walls approach 0.
x→0+lime−1x=0
x→0+limex=0
x→0+limxesinxπ=0
4
Find x→0limtan3xx.
As the angle 3x approaches 0, what is tan3x approximately?
If you got 3 Check whether you evaluated xtan3x instead of tan3xx.
Near 0,tan3x≈3x, so the fraction is approximately 3xx.
3xx=31
To confirm, rewrite tan3x as cos3xsin3x, then multiply top and bottom by 3 to match the angle 3x.
tan3xx=sin3xxcos3x=31⋅sin3x3x⋅cos3x
x→0limtan3xx=31⋅1⋅1=31
5
Find x→0limxsin(x2).
What is the angle inside the sine? Notice that the denominator only has x.
If you got 1 The angle inside the sine is x2, not x. Match the denominator to the angle x2 before taking the limit.
The angle inside the sine is x2, so multiply top and bottom by x to get x2 in the denominator.
xsin(x2)=x⋅x2sin(x2)
As x approaches 0, the angle x2 approaches 0, so x2sin(x2) approaches 1 while the extra x goes to 0.
x→0limxsin(x2)=0⋅1=0
6
Find x→2πlimxsinx.
Plug in x=2π. Do you get 00, or a regular number?
If you got 1 The rule xsinx→1 is only for when x goes to 0. Here x goes to 2π.
Plugging in x=2π gives sin2π=1 on top and 2π on the bottom, which is not 00.
x→2πlimxsinx=2πsin2π=2π1=π2
7
Find x→1limx2−1sin(x−1).
As x approaches 1, what does the angle x−1 approach?
How does x2−1 factor?
If you got 1 The factor x−1sin(x−1) approaches 1, but don't forget the remaining factor x+11.
x2−1 is a difference of squares.
x2−1=(x−1)(x+1)
Group the sine with the matching factor x−1.
x2−1sin(x−1)=x−1sin(x−1)⋅x+11
As x approaches 1, the angle x−1 goes to 0, so x−1sin(x−1) goes to 1, and plugging 1 into x+11 gives 21.
x→1limx2−1sin(x−1)=1⋅21=21
8
Find x→0limx21−cos2x.
Near 0,1−cosu≈2u2. If u=2x, what is 1−cos2x approximately?
If you got 21 The angle inside the cosine is 2x, so the denominator needs (2x)2=4x2, not just x2.If you got 4 Remember that u21−cosu approaches 21, not 1.
The angle is 2x, so the denominator needs (2x)2=4x2. Multiply the top and bottom by 4.
x21−cos2x=4⋅(2x)21−cos2x
As x approaches 0, the angle 2x goes to 0, so (2x)21−cos2x approaches 21.
x→0limx21−cos2x=4⋅21=2
9
Find x→∞limxsinx1. (Challenge)
As x approaches ∞, what does the angle x1 approach?
If you got 0 You may be recalling that xsinx1→0 as x→0. Here x goes to ∞, so the angle x1 approaches 0.
Multiplying by x is the same as dividing by x1, which puts the sine over its own angle.
xsinx1=x1sinx1
As x approaches ∞, the angle x1 approaches 0, so the ratio approaches 1.
x→∞limxsinx1=1
As x goes to 0, the squeeze theorem makes the limit 0, but as x goes to ∞, the angle goes to 0 and the limit is 1.