Calculus3Limits and Continuity4 of 8
Limits and Continuity · 4

The Squeeze Theorem and Trigonometric Limits

1

The squeeze theorem

If a function f(x)\tr{f(x)} is between two other functions g(x)\wl{g(x)} and h(x)\wl{h(x)} near aa, and both outer functions approach the same limit LL as xx approaches aa, then f(x)\tr{f(x)} has to approach LL too. This is the squeeze theorem. We call g\wl{g} and h\wl{h} the walls.

xx
yy
aa
LL
y=h(x)\htmlClass{lc-blue}{y = h(x)}
y=f(x)\htmlClass{lc-pink}{y = f(x)}
y=g(x)\htmlClass{lc-blue}{y = g(x)}
g(x)\displaystyle \wl{g(x)} ≤f(x)\displaystyle \le \tr{f(x)} ≤h(x)\displaystyle \le \wl{h(x)}
(x near a)\displaystyle (x \text{ near } a)
lim⁡x→ag(x)\displaystyle \wl{\lim_{x\to a} g(x)} =lim⁡x→ah(x)\displaystyle = \wl{\lim_{x\to a} h(x)} =L\displaystyle = L
lim⁡x→af(x)\displaystyle \tr{\lim_{x\to a} f(x)} =L\displaystyle = L

Notice that f\tr{f} doesn't even need to be defined at aa. The inequality only has to hold for xx near aa, with x≠ax \ne a, because we find the limit from what happens as xx gets close to aa.

Let's use it on the limit of x2sin⁡1x\tr{x^2 \sin\frac{1}{x}} as xx approaches 00. Plugging in x=0x = 0 gives sin⁡10\sin\frac10, which is undefined, and the product law needs lim⁡x→0sin⁡1x\tr{\lim_{x\to0}\sin\frac1x}, which doesn't exist, because sin⁡1x\tr{\sin\frac1x} keeps swinging between −1\wl{-1} and 1\wl{1}. But sine always stays between −1\wl{-1} and 1\wl{1}, and that gives us walls.

Find lim⁡x→0x2sin⁡1x\tr{\lim_{x\to 0} x^2\sin\frac{1}{x}} and lim⁡x→0xsin⁡1x\tr{\lim_{x\to 0} x\sin\frac{1}{x}}
xx
yy
y=sin⁡1x\htmlClass{lc-pink}{y = \sin\tfrac{1}{x}}
Text solution
Multiply the bounds by x2x^2Sine is always between −1\wl{-1} and 1\wl{1}. For x≠0x \ne 0, x2x^2 is positive, so multiplying by it keeps the inequality signs the same.
−1≤sin⁡1x≤1−x2≤x2sin⁡1x≤x2\displaystyle \begin{aligned}\wl{-1} &\le \tr{\sin\frac1x} \le \wl{1}\\[4pt] \wl{-x^2} &\le \tr{x^2\sin\frac1x} \le \wl{x^2}\end{aligned}
Both walls go to 00As xx approaches 00, −x2\wl{-x^2} and x2\wl{x^2} both approach 00, so the function between them does too.
lim⁡x→0x2sin⁡1x\displaystyle \tr{\lim_{x\to0} x^2\sin\frac1x} =0\displaystyle = 0
With xx in front, use ∣x∣\wl{|x|}Multiplying by a negative xx reverses the inequalities, so we write the walls with ∣x∣\wl{|x|}, which works on both sides of 00. Both walls still go to 00.
−∣x∣\displaystyle \wl{-|x|} ≤xsin⁡1x\displaystyle \le \tr{x\sin\frac1x} ≤∣x∣\displaystyle \le \wl{|x|}
lim⁡x→0xsin⁡1x\displaystyle \tr{\lim_{x\to0} x\sin\frac1x} =0\displaystyle = 0

Which bounds let us find the limit of x2sin⁡(1/x)x^2\sin(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)\tr{f(x)}. Suppose all we know is that it stays between two polynomials, 4x−9≤f(x)≤x2−4x+7\wl{4x - 9} \le \tr{f(x)} \le \wl{x^2 - 4x + 7}, and we want its limit as xx approaches 44. After that, we'll squeeze sin⁡xx\tr{\frac{\sin x}{x}} as xx goes to infinity, where the inequalities only have to hold for all large xx.

Find lim⁡x→4f(x)\tr{\lim_{x\to4} f(x)} when 4x−9≤f(x)≤x2−4x+7\wl{4x - 9} \le \tr{f(x)} \le \wl{x^2 - 4x + 7}, and find lim⁡x→∞sin⁡xx\tr{\lim_{x\to\infty} \frac{\sin x}{x}}
xx
yy
y=4x−9\htmlClass{lc-blue}{y = 4x - 9}
y=x2−4x+7\htmlClass{lc-blue}{y = x^2 - 4x + 7}
Text solution
Plug 44 into both wallsThe walls are polynomials, so their limits at 44 are their values there. Both are 7\wl{7}.
4⋅4−9=7\displaystyle \wl{4\cdot4 - 9 = 7}
16−16+7=7\displaystyle \wl{16 - 16 + 7 = 7}
lim⁡x→4f(x)\displaystyle \tr{\lim_{x\to4} f(x)} =7\displaystyle = 7
Why only at x=4x = 4The gap between the walls is a square, and a square is 00 only where its inside is 00. Everywhere else, the walls leave room.
(x2−4x+7)−(4x−9)\displaystyle (\wl{x^2 - 4x + 7}) - (\wl{4x - 9}) =(x−4)2\displaystyle = \room{(x-4)^2}
Divide the sine bounds by xxAs xx goes to infinity, xx is positive, so dividing −1≤sin⁡x≤1\wl{-1} \le \tr{\sin x} \le \wl{1} by xx keeps the order. Both walls go to 00.
−1x\displaystyle \wl{-\frac1x} ≤sin⁡xx\displaystyle \le \tr{\frac{\sin x}{x}} ≤1x\displaystyle \le \wl{\frac1x}
lim⁡x→∞sin⁡xx\displaystyle \tr{\lim_{x\to\infty}\frac{\sin x}{x}} =0\displaystyle = 0

On the graph, the two walls touch only at (4,7)(4, 7). At x=1x = 1, the bottom wall is −5\wl{-5} and the top wall is 4\wl{4}, so f(1)\tr{f(1)} can be any height in between. Two different functions can both stay between these walls and still approach different values at x=1x = 1, so the squeeze theorem gives no answer there.

xx
yy
−10-10
1010
2020
11
4\htmlClass{lc-blue}{4}
−5\htmlClass{lc-blue}{-5}
(4, 7)(4,\ 7)
y=x2−4x+7\htmlClass{lc-blue}{y = x^2 - 4x + 7}
y=4x−9\htmlClass{lc-blue}{y = 4x - 9}
At x=4x = 4
4⋅4−9=716−16+7=7lim⁡x→4f(x)=7\displaystyle \begin{aligned}&\wl{4\cdot4 - 9 = 7}\\ &\wl{16 - 16 + 7 = 7}\\[4pt] &{\tr{\lim_{x\to4} f(x)} = 7}\end{aligned}
At x=1x = 1
4−9=−51−4+7=4−5≤f(1)≤4\displaystyle \begin{aligned}&\wl{4 - 9 = -5}\\ &\wl{1 - 4 + 7 = 4}\\[4pt] &{\wl{-5} \le \tr{f(1)} \le \wl{4}}\end{aligned}
3

Why sin⁡θθ\frac{\sin\theta}{\theta} approaches 11

Now let's find the limit of sin⁡θθ\frac{\sn{\sin\theta}}{\ang{\theta}} as θ\theta goes to 00. Plugging in gives 00\frac00, and sin⁡θ\sn{\sin\theta} has no factor of θ\ang{\theta} to cancel. On the unit circle, though, θ\ang{\theta} is the length of the arc and sin⁡θ\sn{\sin\theta} 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.

θ\htmlClass{lc-green}{\theta}
sin⁡θ\htmlClass{lc-violet}{\sin\theta}
tan⁡θ\htmlClass{lc-orange}{\tan\theta}
11
(1, 0)(1,\ 0)
0<θ<π20 < \theta < \frac{\pi}{2}
12sin⁡θ<12θ<12tan⁡θsin⁡θ<θ<tan⁡θ1<θsin⁡θ<1cos⁡θcos⁡θ<sin⁡θθ<1\displaystyle \begin{aligned}\sn{\frac12\sin\theta} &< \ang{\frac12\theta} < \tn{\frac12\tan\theta}\\[4pt] \sn{\sin\theta} &< \ang{\theta} < \tn{\tan\theta}\\[4pt] 1 &< \frac{\ang{\theta}}{\sn{\sin\theta}} < \frac{1}{\cos\theta}\\[4pt] \wl{\cos\theta} &< \tr{\frac{\sin\theta}{\theta}} < \wl{1}\end{aligned}
lim⁡θ→0cos⁡θ\displaystyle \wl{\lim_{\theta\to0}\cos\theta} =1\displaystyle = 1
lim⁡θ→0sin⁡θθ\displaystyle \tr{\lim_{\theta\to0}\frac{\sin\theta}{\theta}} =1\displaystyle = 1
Find lim⁡θ→0sin⁡θθ\lim_{\theta\to0}\frac{\sn{\sin\theta}}{\ang{\theta}} using the unit circle and the squeeze theorem
11
θ\htmlClass{lc-green}{\theta}
θ\htmlClass{lc-green}{\theta}
sin⁡θ\htmlClass{lc-violet}{\sin\theta}
Text solution
Compare three areasFor 0<θ<π20 < \theta < \frac{\pi}{2}, the small triangle of height sin⁡θ\sn{\sin\theta} is inside the sector, and the sector is inside the big triangle of height tan⁡θ\tn{\tan\theta}.
12sin⁡θ<12θ<12tan⁡θ\displaystyle \sn{\frac12\sin\theta} < \ang{\frac12\theta} < \tn{\frac12\tan\theta}
Divide by sin⁡θ\sn{\sin\theta}, then flipAfter doubling, divide by sin⁡θ\sn{\sin\theta}, which is positive here. Every term is positive, so taking reciprocals reverses the inequalities.
1<θsin⁡θ<1cos⁡θ\displaystyle 1 < \frac{\ang{\theta}}{\sn{\sin\theta}} < \frac{1}{\cos\theta}
cos⁡θ<sin⁡θθ<1\displaystyle \wl{\cos\theta} < \tr{\frac{\sin\theta}{\theta}} < \wl{1}
Squeeze from both sidescos⁡θ\wl{\cos\theta} approaches 11. Replacing θ\theta with −θ-\theta changes neither cos⁡θ\wl{\cos\theta} nor sin⁡θθ\tr{\frac{\sin\theta}{\theta}}, so the same walls work for negative θ\theta.
lim⁡θ→0sin⁡θθ\displaystyle \tr{\lim_{\theta\to0}\frac{\sin\theta}{\theta}} =1\displaystyle = 1
lim⁡x→0sin⁡xx\displaystyle \lim_{x\to0}\frac{\sn{\sin}\ang{x}}{\ang{x}} =1(x in radians)\displaystyle = 1 \quad (x \text{ in radians})

Near 00, sin⁡u≈u\sn{\sin}\ang{u} \approx \ang{u} for any angle u\ang{u} measured in radians.

4

Replacing sin⁡u\sin u and tan⁡u\tan u near 00

Since sin⁡xx\frac{\sn{\sin}\ang{x}}{\ang{x}} approaches 11, the sine of an angle close to 00 is close to the angle itself. Take sin⁡3x2x\frac{\sn{\sin}\ang{3x}}{2x} as xx goes to 00. Plugging in gives 00\frac00, but the angle 3x\ang{3x} goes to 00 too, so we can put 3x\ang{3x} in place of sin⁡3x\sn{\sin}\ang{3x}, and the xx cancels.

sin⁡3x2x≈3x2x\displaystyle \frac{\sn{\sin}\ang{3x}}{2x} \approx \frac{\ang{3x}}{2x} =32\displaystyle = \frac32

Let's check that this gives the exact limit, and try the same move on more limits, including tangent.

Find limits using sin⁡u≈u\sn{\sin}\ang{u} \approx \ang{u} and tan⁡u≈u\tn{\tan}\ang{u} \approx \ang{u}
lim⁡x→0sin⁡3x2x\displaystyle \lim_{x\to0}\frac{\htmlClass{lc-violet}{\sin}\htmlClass{lc-green}{3x}}{2x} =  ?\displaystyle = \;?
Text solution
Match the angle to checkMultiply the top and bottom by 33, so the sine sits over its own angle. That fraction goes to 11, which leaves exactly 32\frac32.
sin⁡3x2x\displaystyle \frac{\sn{\sin}\ang{3x}}{2x} =32⋅sin⁡3x3x\displaystyle = \frac32\cdot\frac{\sn{\sin}\ang{3x}}{\ang{3x}}
lim⁡x→0sin⁡3x2x\displaystyle \lim_{x\to0}\frac{\sn{\sin}\ang{3x}}{2x} =32⋅1\displaystyle = {\frac32\cdot 1} =32\displaystyle = \frac32
Tangent works the same wayNear 00, cos⁡u\cos u is close to 11, so tan⁡u=sin⁡ucos⁡u\tn{\tan}\ang{u} = \frac{\sn{\sin}\ang{u}}{\cos u} is close to u\ang{u}.
lim⁡x→0tan⁡xx=lim⁡x→0(sin⁡xx⋅1cos⁡x)=1⋅1=1\displaystyle \begin{aligned}\lim_{x\to0}\frac{\tn{\tan}\ang{x}}{\ang{x}} &= \lim_{x\to0}\left(\frac{\sn{\sin}\ang{x}}{\ang{x}}\cdot\frac{1}{\cos x}\right)\\[4pt] &= 1\cdot 1 = 1\end{aligned}
Plug in firstWe only replace sin⁡u\sn{\sin}\ang{u} or tan⁡u\tn{\tan}\ang{u} with u\ang{u} when plugging in gives 00\frac00. Otherwise we just take the value.
lim⁡x→π2sin⁡xx\displaystyle \lim_{x\to\frac{\pi}{2}}\frac{\sin x}{x} =1π2\displaystyle = \frac{1}{\frac{\pi}{2}} =2π\displaystyle = \frac{2}{\pi}

What has to approach 00 is the whole angle, not xx. As xx approaches 44, the angle x−4\ang{x - 4} approaches 00, so the replacement works. As xx goes to infinity, the angle x\ang{x} goes to infinity, so sin⁡x\sn{\sin}\ang{x} isn't close to x\ang{x}, and squeezing sin⁡xx\tr{\frac{\sin x}{x}} between −1x\wl{-\frac1x} and 1x\wl{\frac1x} gives 00, not 11.

Angle goes to 0
lim⁡x→4sin⁡(x−4)x−4\displaystyle \lim_{x\to4}\frac{\sn{\sin}\ang{(x-4)}}{\ang{x-4}} =1\displaystyle = 1
Angle goes to 0 vs angle goes to infinity
lim⁡x→0sin⁡xx\displaystyle \lim_{x\to0}\frac{\sn{\sin}\ang{x}}{\ang{x}} =1\displaystyle = 1
lim⁡x→∞sin⁡xx\displaystyle \lim_{x\to\infty}\frac{\sn{\sin}\ang{x}}{\ang{x}} =0\displaystyle = 0

When can we use the angle in place of its sine to find a limit?

Using sine near zero
5

How small 1−cos⁡x1 - \cos x is near 00

Now let's find the limit of 1−cos⁡xx2\frac{\sn{1-\cos x}}{x^2} as xx goes to 00, and see what it tells us about 1−cos⁡x\sn{1 - \cos x} near 00. Plugging in gives 00\frac00, and since we know how to handle sin⁡xx\frac{\sn{\sin x}}{x}, we'd like a sine on top. We get one the same way we handled x−3\sn{\sqrt{x} - 3}, by multiplying the top and bottom by the conjugate, here 1+cos⁡x\cj{1 + \cos x}. That puts 1−cos⁡2x\sn{1 - \cos^2 x} on top.

sin⁡2x+cos⁡2x\displaystyle \sin^2 x + \cos^2 x =1\displaystyle = 1
→    1−cos⁡2x=sin⁡2x\displaystyle \begin{aligned}\to\;\; \sn{1 - \cos^2 x} = \sn{\sin^2 x}\end{aligned}
Find lim⁡x→01−cos⁡xx2\lim_{x\to0}\frac{\sn{1-\cos x}}{x^2} and lim⁡x→01−cos⁡xx\lim_{x\to0}\frac{\sn{1-\cos x}}{x}
lim⁡x→01−cos⁡xx2\displaystyle \lim_{x\to0}\frac{\htmlClass{lc-violet}{1-\cos x}}{x^2} =  ?\displaystyle = \;?
Text solution
Multiply by the conjugateThe top becomes sin⁡2x\sn{\sin^2 x}, and sin⁡2xx2\frac{\sn{\sin^2 x}}{x^2} is sin⁡xx\frac{\sn{\sin x}}{x} squared.
1−cos⁡xx2=sin⁡2xx2(1+cos⁡x)=(sin⁡xx)2⋅11+cos⁡x\displaystyle \begin{aligned}\frac{\sn{1-\cos x}}{x^2} &= \frac{\sn{\sin^2 x}}{x^2(\cj{1+\cos x})}\\[4pt] &= \left(\frac{\sn{\sin x}}{x}\right)^2\cdot\frac{1}{\cj{1+\cos x}}\end{aligned}
Take each limitsin⁡xx\frac{\sn{\sin x}}{x} goes to 11, and 1+cos⁡x\cj{1 + \cos x} goes to 22. So near 00, 1−cos⁡x\sn{1 - \cos}\ang{x} is about 12x2\frac12 \ang{x}^2.
lim⁡x→01−cos⁡xx2\displaystyle \lim_{x\to0}\frac{\sn{1-\cos x}}{x^2} =12⋅11+1\displaystyle = 1^2\cdot\frac{1}{1+1} =12\displaystyle = \frac12
Divide by xx insteadWrite the fraction as xx times the one we just found. That extra xx goes to 00.
lim⁡x→01−cos⁡xx=lim⁡x→0(x⋅1−cos⁡xx2)=0⋅12=0\displaystyle \begin{aligned}\lim_{x\to0}\frac{\sn{1-\cos x}}{x} &= \lim_{x\to0}\left(x\cdot\frac{\sn{1-\cos x}}{x^2}\right)\\[4pt] &= 0\cdot\frac12 = 0\end{aligned}

Summary

The squeeze theorem
xx
yy
aa
LL
y=h(x)\htmlClass{lc-blue}{y = h(x)}
y=f(x)\htmlClass{lc-pink}{y = f(x)}
y=g(x)\htmlClass{lc-blue}{y = g(x)}
g(x)\displaystyle \wl{g(x)} ≤f(x)\displaystyle \le \tr{f(x)} ≤h(x)\displaystyle \le \wl{h(x)}
lim⁡x→ag(x)\displaystyle \wl{\lim_{x\to a} g(x)} =lim⁡x→ah(x)\displaystyle = \wl{\lim_{x\to a} h(x)} =L\displaystyle = L
lim⁡x→af(x)\displaystyle \tr{\lim_{x\to a} f(x)} =L\displaystyle = L

If f(x)\tr{f(x)} stays between two walls g(x)\wl{g(x)} and h(x)\wl{h(x)} near aa, and both walls approach the same limit LL at aa, then f(x)\tr{f(x)} must also approach LL. If the two walls approach different numbers at aa, they leave room between them, and the squeeze theorem gives no answer.

Building walls from sine
−x2≤x2sin⁡1x≤x2−∣x∣≤xsin⁡1x≤∣x∣−1x≤sin⁡xx≤1x(x>0)\displaystyle \begin{aligned}\wl{-x^2} &\le \tr{x^2\sin\frac1x} \le \wl{x^2}\\[4pt] \wl{-|x|} &\le \tr{x\sin\frac1x} \le \wl{|x|}\\[4pt] \wl{-\frac1x} &\le \tr{\frac{\sin x}{x}} \le \wl{\frac1x} \quad (x > 0)\end{aligned}

Sine stays between −1\wl{-1} and 1\wl{1}, so multiplying −1≤sin⁡(… )≤1\wl{-1} \le \tr{\sin(\dots)} \le \wl{1} by the factor in front builds two walls. If that factor is positive, like x2x^2, the inequality signs stay in the same direction. When xx is negative, multiplying by xx reverses the inequalities, so we use ∣x∣\wl{|x|} to keep −∣x∣≤xsin⁡1x≤∣x∣\wl{-|x|} \le \tr{x\sin\frac1x} \le \wl{|x|} whether xx is positive or negative. To squeeze sin⁡xx\tr{\frac{\sin x}{x}} as xx goes to infinity, divide −1≤sin⁡x≤1\wl{-1} \le \tr{\sin x} \le \wl{1} by xx. For x>0x > 0, dividing keeps the order, and the walls −1x\wl{-\frac1x} and 1x\wl{\frac1x} both approach 00.

Trig limits near 0
lim⁡u→0sin⁡uu\displaystyle \lim_{u\to0}\frac{\sn{\sin}\ang{u}}{\ang{u}} =1(u in radians)\displaystyle = 1 \quad (u \text{ in radians})
sin⁡3x2x≈3x2x\displaystyle \frac{\sn{\sin}\ang{3x}}{2x} \approx \frac{\ang{3x}}{2x} =32\displaystyle = \frac32
sin⁡3x2x\displaystyle \frac{\sn{\sin}\ang{3x}}{2x} =32⋅sin⁡3x3x→32\displaystyle = \frac32\cdot\frac{\sn{\sin}\ang{3x}}{\ang{3x}} \to \frac32

When u\ang{u} is in radians and approaches 00, sin⁡uu\frac{\sn{\sin}\ang{u}}{\ang{u}} approaches 11. That means near 00, sin⁡u≈u\sn{\sin}\ang{u} \approx \ang{u} and tan⁡u≈u\tn{\tan}\ang{u} \approx \ang{u}. Whenever sin⁡u\sn{\sin}\ang{u} or tan⁡u\tn{\tan}\ang{u} is a factor, you can swap it for u\ang{u} to estimate the limit, like turning sin⁡3x2x\frac{\sn{\sin}\ang{3x}}{2x} into 3x2x=32\frac{\ang{3x}}{2x} = \frac32. We confirm that guess by putting sin⁡3x\sn{\sin}\ang{3x} over its own angle 3x\ang{3x}. The resulting fraction approaches 11.

When the angle approaches 0
lim⁡x→4sin⁡(x−4)x−4\displaystyle \lim_{x\to4}\frac{\sn{\sin}\ang{(x-4)}}{\ang{x-4}} =1\displaystyle = 1
lim⁡x→∞sin⁡xx\displaystyle \lim_{x\to\infty}\frac{\sn{\sin}\ang{x}}{\ang{x}} =0\displaystyle = 0

Only replace sin⁡u\sn{\sin}\ang{u} or tan⁡u\tn{\tan}\ang{u} with u\ang{u} when the whole angle approaches 00. xx itself doesn't have to approach 00. As xx approaches 44, the angle x−4\ang{x - 4} approaches 00, so sin⁡(x−4)x−4\frac{\sn{\sin}\ang{(x-4)}}{\ang{x-4}} approaches 11. But as xx goes to infinity, the angle goes to infinity as well, so sin⁡x\sn{\sin}\ang{x} is not close to x\ang{x}. Squeezing the fraction between −1x\wl{-\frac1x} and 1x\wl{\frac1x} gives 00.

Limits with 1−cos⁡u1 - \cos u
1−cos⁡xx2=(sin⁡xx)2⋅11+cos⁡x→1⋅12=12\displaystyle \begin{aligned}\frac{\sn{1-\cos x}}{x^2} &= \left(\frac{\sn{\sin x}}{x}\right)^2\cdot\frac{1}{\cj{1+\cos x}}\\[4pt] &\to 1\cdot\frac12 = \frac12\end{aligned}
lim⁡x→01−cos⁡xx\displaystyle \lim_{x\to0}\frac{\sn{1-\cos x}}{x} =0\displaystyle = 0
1−cos⁡u≈u22(u near 0)\displaystyle \sn{1-\cos}\ang{u} \approx \frac{\ang{u}^2}{2} \quad (u \text{ near } 0)

Multiplying 1−cos⁡u\sn{1 - \cos u} by 1+cos⁡u\cj{1 + \cos u} turns it into 1−cos⁡2u\sn{1 - \cos^2 u}, which is sin⁡2u\sn{\sin^2 u}. So 1−cos⁡xx2\frac{\sn{1-\cos x}}{x^2} becomes (sin⁡xx)2⋅11+cos⁡x\left(\frac{\sn{\sin x}}{x}\right)^2\cdot\frac{1}{\cj{1+\cos x}}, which approaches 1⋅12=121\cdot\frac12 = \frac12. That means near 00, 1−cos⁡u\sn{1 - \cos}\ang{u} is approximately u22\frac{\ang{u}^2}{2}. Dividing 1−cos⁡x\sn{1 - \cos x} by xx instead of x2x^2 leaves an extra factor of xx, so that limit is 00.

6

Practice

All angles are in radians. Type your answer as an exact number, or DNE if the limit does not exist.

1
Find lim⁡x→0x2(2+sin⁡1x)\displaystyle\lim_{x\to0} x^2\left(2 + \sin\frac1x\right).

What are the smallest and largest values of 2+sin⁡1x2 + \sin\frac1x?

Sine is always between −1\wl{-1} and 1\wl{1}, so adding 22 puts 2+sin⁡1x\tr{2 + \sin\frac1x} between 1\wl{1} and 3\wl{3}.
−1\displaystyle \wl{-1} ≤sin⁡1x\displaystyle \le \tr{\sin\frac1x} ≤1  →  1\displaystyle \le \wl{1} \;\to\; \wl{1} ≤2+sin⁡1x\displaystyle \le \tr{2 + \sin\frac1x} ≤3\displaystyle \le \wl{3}
For x≠0x \ne 0, x2x^2 is positive, so multiplying through by x2x^2 keeps the inequalities in the same direction.
x2\displaystyle \wl{x^2} ≤x2(2+sin⁡1x)\displaystyle \le \tr{x^2\left(2 + \sin\frac1x\right)} ≤3x2(x2>0)\displaystyle \le \wl{3x^2} \quad (x^2 > 0)
As xx approaches 00, both outside walls approach 00, so the squeeze theorem forces the limit to be 00.
lim⁡x→0x2\displaystyle \wl{\lim_{x\to0} x^2} =0\displaystyle = 0
lim⁡x→03x2\displaystyle \wl{\lim_{x\to0} 3x^2} =0\displaystyle = 0
lim⁡x→0x2(2+sin⁡1x)\displaystyle \tr{\lim_{x\to0} x^2\left(2 + \sin\frac1x\right)} =0\displaystyle = 0
2
Suppose ∣f(x)−5∣≤3(x−2)2|f(x) - 5| \le 3(x-2)^2 for all xx. Find lim⁡x→2f(x)\displaystyle\lim_{x\to2} f(x).

If ∣f(x)−5∣≤3(x−2)2|f(x) - 5| \le 3(x-2)^2, between which two expressions does f(x)−5f(x) - 5 stay?

∣y∣≤c|y| \le c means −c≤y≤c-c \le y \le c, so we write the inequality without the absolute value and add 55 throughout.
−3(x−2)2\displaystyle \wl{-3(x-2)^2} ≤f(x)−5\displaystyle \le \tr{f(x) - 5} ≤3(x−2)2\displaystyle \le \wl{3(x-2)^2}
5−3(x−2)2\displaystyle \wl{5 - 3(x-2)^2} ≤f(x)\displaystyle \le \tr{f(x)} ≤5+3(x−2)2\displaystyle \le \wl{5 + 3(x-2)^2}
As xx approaches 22, the term (x−2)2(x-2)^2 goes to 00, so both walls approach 55 and squeeze f(x)\tr{f(x)} to 55.
lim⁡x→2(5−3(x−2)2)\displaystyle \wl{\lim_{x\to2}\left(5 - 3(x-2)^2\right)} =5\displaystyle = 5
lim⁡x→2(5+3(x−2)2)\displaystyle \wl{\lim_{x\to2}\left(5 + 3(x-2)^2\right)} =5\displaystyle = 5
lim⁡x→2f(x)\displaystyle \tr{\lim_{x\to2} f(x)} =5\displaystyle = 5
3
Find lim⁡x→0+x esin⁡(π/x)\displaystyle\lim_{x\to0^+} \sqrt{x}\, e^{\sin(\pi/x)}.

sin⁡πx\sin\frac{\pi}{x} stays between −1-1 and 11. What does that mean for esin⁡(π/x)e^{\sin(\pi/x)}?

As xx approaches 00 from the right, x\sqrt{x} is positive. Does multiplying by x\sqrt{x} keep the inequalities in the same order?

Sine stays between −1\wl{-1} and 1\wl{1}, and because ete^t is an increasing function, esin⁡(π/x)\tr{e^{\sin(\pi/x)}} stays between e−1\wl{e^{-1}} and e1\wl{e^1}.
−1\displaystyle \wl{-1} ≤sin⁡πx\displaystyle \le \tr{\sin\frac{\pi}{x}} ≤1  →  e−1\displaystyle \le \wl{1} \;\to\; \wl{e^{-1}} ≤esin⁡πx\displaystyle \le \tr{e^{\sin\frac{\pi}{x}}} ≤e\displaystyle \le \wl{e}
For x>0x > 0, x\sqrt{x} is positive, so multiplying keeps the direction of the inequalities.
e−1x\displaystyle \wl{e^{-1}\sqrt{x}} ≤x esin⁡πx\displaystyle \le \tr{\sqrt{x}\,e^{\sin\frac{\pi}{x}}} ≤ex(x≥0)\displaystyle \le \wl{e\sqrt{x}} \quad (\sqrt{x} \ge 0)
As xx approaches 00 from the right, x\sqrt{x} goes to 00, so both outside walls approach 00.
lim⁡x→0+e−1x\displaystyle \wl{\lim_{x\to0^+} e^{-1}\sqrt{x}} =0\displaystyle = 0
lim⁡x→0+ex\displaystyle \wl{\lim_{x\to0^+} e\sqrt{x}} =0\displaystyle = 0
lim⁡x→0+x esin⁡πx\displaystyle \tr{\lim_{x\to0^+} \sqrt{x}\,e^{\sin\frac{\pi}{x}}} =0\displaystyle = 0
4
Find lim⁡x→0xtan⁡3x\displaystyle\lim_{x\to0} \frac{x}{\tan 3x}.

As the angle 3x3x approaches 00, what is tan⁡3x\tan 3x approximately?

Near 00, tan⁡3x≈3x\tn{\tan}\ang{3x} \approx \ang{3x}, so the fraction is approximately x3x\frac{x}{\ang{3x}}.
x3x\displaystyle \frac{x}{\ang{3x}} =13\displaystyle = \frac13
To confirm, rewrite tan⁡3x\tn{\tan}\ang{3x} as sin⁡3xcos⁡3x\frac{\sn{\sin}\ang{3x}}{\cos 3x}, then multiply top and bottom by 33 to match the angle 3x\ang{3x}.
xtan⁡3x\displaystyle \frac{x}{\tn{\tan}\ang{3x}} =xcos⁡3xsin⁡3x\displaystyle = \frac{x\cos 3x}{\sn{\sin}\ang{3x}} =13⋅3xsin⁡3x⋅cos⁡3x\displaystyle = \frac13\cdot\frac{\ang{3x}}{\sn{\sin}\ang{3x}}\cdot\cos 3x
lim⁡x→0xtan⁡3x\displaystyle \lim_{x\to0}\frac{x}{\tn{\tan}\ang{3x}} =13⋅1⋅1\displaystyle = \frac13\cdot 1\cdot 1 =13\displaystyle = \frac13
5
Find lim⁡x→0sin⁡(x2)x\displaystyle\lim_{x\to0} \frac{\sin(x^2)}{x}.

What is the angle inside the sine? Notice that the denominator only has xx.

The angle inside the sine is x2\ang{x^2}, so multiply top and bottom by xx to get x2\ang{x^2} in the denominator.
sin⁡(x2)x\displaystyle \frac{\sn{\sin}\ang{(x^2)}}{x} =x⋅sin⁡(x2)x2\displaystyle = x\cdot\frac{\sn{\sin}\ang{(x^2)}}{\ang{x^2}}
As xx approaches 00, the angle x2\ang{x^2} approaches 00, so sin⁡(x2)x2\frac{\sn{\sin}\ang{(x^2)}}{\ang{x^2}} approaches 11 while the extra xx goes to 00.
lim⁡x→0sin⁡(x2)x\displaystyle \lim_{x\to0}\frac{\sn{\sin}\ang{(x^2)}}{x} =0⋅1\displaystyle = 0\cdot 1 =0\displaystyle = 0
6
Find lim⁡x→π2sin⁡xx\displaystyle\lim_{x\to\frac{\pi}{2}} \frac{\sin x}{x}.

Plug in x=π2x = \frac{\pi}{2}. Do you get 00\frac00, or a regular number?

Plugging in x=π2x = \frac{\pi}{2} gives sin⁡π2=1\sin\frac{\pi}{2} = 1 on top and π2\frac{\pi}{2} on the bottom, which is not 00\frac00.
lim⁡x→π2sin⁡xx\displaystyle \lim_{x\to\frac{\pi}{2}}\frac{\sin x}{x} =sin⁡π2π2\displaystyle = \frac{\sin\frac{\pi}{2}}{\frac{\pi}{2}} =1π2\displaystyle = \frac{1}{\frac{\pi}{2}} =2π\displaystyle = \frac{2}{\pi}
7
Find lim⁡x→1sin⁡(x−1)x2−1\displaystyle\lim_{x\to1} \frac{\sin(x-1)}{x^2-1}.

As xx approaches 11, what does the angle x−1x - 1 approach?

How does x2−1x^2 - 1 factor?

x2−1x^2 - 1 is a difference of squares.
x2−1\displaystyle x^2 - 1 =(x−1)(x+1)\displaystyle = (\ang{x-1})(x+1)
Group the sine with the matching factor x−1\ang{x - 1}.
sin⁡(x−1)x2−1\displaystyle \frac{\sn{\sin}\ang{(x-1)}}{x^2-1} =sin⁡(x−1)x−1⋅1x+1\displaystyle = \frac{\sn{\sin}\ang{(x-1)}}{\ang{x-1}}\cdot\frac{1}{x+1}
As xx approaches 11, the angle x−1\ang{x - 1} goes to 00, so sin⁡(x−1)x−1\frac{\sn{\sin}\ang{(x-1)}}{\ang{x-1}} goes to 11, and plugging 11 into 1x+1\frac{1}{x+1} gives 12\frac12.
lim⁡x→1sin⁡(x−1)x2−1\displaystyle \lim_{x\to1}\frac{\sn{\sin}\ang{(x-1)}}{x^2-1} =1⋅12\displaystyle = 1\cdot\frac12 =12\displaystyle = \frac12
8
Find lim⁡x→01−cos⁡2xx2\displaystyle\lim_{x\to0} \frac{1-\cos 2x}{x^2}.

Near 00, 1−cos⁡u≈u221 - \cos u \approx \frac{u^2}{2}. If u=2xu = 2x, what is 1−cos⁡2x1 - \cos 2x approximately?

The angle is 2x\ang{2x}, so the denominator needs (2x)2=4x2(\ang{2x})^2 = 4x^2. Multiply the top and bottom by 44.
1−cos⁡2xx2\displaystyle \frac{\sn{1-\cos}\ang{2x}}{x^2} =4⋅1−cos⁡2x(2x)2\displaystyle = 4\cdot\frac{\sn{1-\cos}\ang{2x}}{(\ang{2x})^2}
As xx approaches 00, the angle 2x\ang{2x} goes to 00, so 1−cos⁡2x(2x)2\frac{\sn{1-\cos}\ang{2x}}{(\ang{2x})^2} approaches 12\frac12.
lim⁡x→01−cos⁡2xx2\displaystyle \lim_{x\to0}\frac{\sn{1-\cos}\ang{2x}}{x^2} =4⋅12\displaystyle = 4\cdot\frac12 =2\displaystyle = 2
9
Find lim⁡x→∞xsin⁡1x\displaystyle\lim_{x\to\infty} x\sin\frac1x. (Challenge)

As xx approaches ∞\infty, what does the angle 1x\frac1x approach?

Multiplying by xx is the same as dividing by 1x\ang{\frac1x}, which puts the sine over its own angle.
x sin⁡1x\displaystyle x\,\sn{\sin}\ang{\frac1x} =sin⁡1x1x\displaystyle = \frac{\sn{\sin}\ang{\frac1x}}{\ang{\frac1x}}
As xx approaches ∞\infty, the angle 1x\ang{\frac1x} approaches 00, so the ratio approaches 11.
lim⁡x→∞x sin⁡1x\displaystyle \lim_{x\to\infty}x\,\sn{\sin}\ang{\frac1x} =1\displaystyle = 1
As xx goes to 00, the squeeze theorem makes the limit 00, but as xx goes to ∞\infty, the angle goes to 00 and the limit is 11.
lim⁡x→0xsin⁡1x\displaystyle \lim_{x\to0}x\sin\ang{\frac1x} =0\displaystyle = 0
lim⁡x→∞xsin⁡1x\displaystyle \lim_{x\to\infty}x\sin\ang{\frac1x} =1\displaystyle = 1