Section 3.6 The Squeeze Theorem
¶In this section we aim to compute the limit:
We start by analyzing the graph of \(\ds{y=\frac{\sin x}{x}}\text{:}\)
Notice that \(x=0\) is not in the domain of this function. Nevertheless, we can look at the limit as \(x\) approaches \(0\text{.}\) From the graph we find that the limit is \(1\) (there is an open circle at \(x=0\) indicating \(0\) is not in the domain).We just convinced you this limit formula holds true based on the graph, but how does one attempt to prove this limit more formally? To do this we need to be quite clever, and to employ some indirect reasoning. The indirect reasoning is embodied in a theorem, frequently called the Squeeze Theorem.
Theorem 3.48. Squeeze Theorem.
Suppose that \(g(x) \le f(x) \le h(x)\) for all \(x\) close to \(a\) but not equal to \(a\text{.}\) If \(\ds\lim_{x\to a}g(x)=L=\lim_{x \to a}h(x)\text{,}\) then \(\ds\lim_{x\to a}f(x)=L\text{.}\)
This theorem can be proved using the official definition of limit. We won't prove it here, but point out that it is easy to understand and believe graphically. The condition says that \(f(x)\) is trapped between \(g(x)\) below and \(h(x)\) above, and that at \(x=a\text{,}\) both \(g\) and \(h\) approach the same value. This means the situation looks something like ܰ3.2.
For example, imagine the blue curve is \(f(x)=x^2\sin(\pi/x)\text{,}\) the upper (red) and lower (green) curves are \(h(x)=x^2\) and \(g(x)=-x^2\text{.}\) Since the sine function is always between \(-1\) and \(1\text{,}\) \(-x^2\le x^2\sin(\pi/x)\le x^2\text{,}\) and it is easy to see that \(\lim_{x\to0}-x^2=0=\lim_{x\to0}x^2\text{.}\) It is not so easy to see directly (i.e. algebraically) that \(\lim_{x\to0}x^2\sin(\pi/x)=0\text{,}\) because the \(\pi/x\) prevents us from simply plugging in \(x=0\text{.}\) The Squeeze Theorem makes this “hard limit” as easy as the trivial limits involving \(x^2\text{.}\)
To compute \(\ds\lim_{x\to0} (\sin x)/x\text{,}\) we will find two simpler functions \(g\) and \(h\) so that \(g(x)\le (\sin x)/x\le h(x)\text{,}\) and so that \(\lim_{x\to0}g(x)=\lim_{x\to0}h(x)\text{.}\) Not too surprisingly, this will require some trigonometry and geometry. Referring to Figure, \(x\) is the measure of the angle in radians. Since the circle has radius 1, the coordinates of point \(A\) are \((\cos x,\sin x)\text{,}\) and the area of the small triangle is \((\cos x\sin x)/2\text{.}\) This triangle is completely contained within the circular wedge-shaped region bordered by two lines and the circle from \((1,0)\) to point \(A\text{.}\) Comparing the areas of the triangle and the wedge we see \((\cos x\sin x)/2 \le x/2\text{,}\) since the area of a circular region with angle \(\theta\) and radius \(r\) is \(\theta r^2/2\text{.}\) With a little algebra this turns into \((\sin x)/x \le 1/\cos x\text{,}\) giving us the \(h\) we seek.
To find \(g\text{,}\) we note that the circular wedge is completely contained inside the larger triangle. The height of the triangle, from \((1,0)\) to point \(B\text{,}\) is \(\tan x\text{,}\) so comparing areas we get \(x/2 \le (\tan x)/2 = \sin x / (2\cos x)\text{.}\) With a little algebra this becomes \(\cos x \le (\sin x)/x\text{.}\) So now we have
Finally, the two limits \(\lim_{x\to0}\cos x\) and \(\lim_{x\to0}1/\cos x\) are easy, because \(\cos(0)=1\text{.}\) By the Squeeze Theorem, \(\lim_{x\to0} (\sin x)/x = 1\) as well.
Using the above, we can compute a similar limit:
This limit is just as hard as \(\sin x/x\text{,}\) but closely related to it, so that we don't have to do a similar calculation; instead we can do a bit of tricky algebra.
To compute the desired limit it is sufficient to compute the limits of the two final fractions, as \(x\) goes to 0. The first of these is the hard limit we've just done, namely 1. The second turns out to be simple, because the denominator presents no problem:
Thus,
Theorem 3.49. Two Special Trig Limits.
Example 3.50. Limit of Other Trig Functions.
Compute the following limit \(\ds\lim_{x\to 0}\frac{\sin 5x\cos x}{x}\text{.}\)
We have
since \(\cos(0)=1\) and \(\ds{\lim_{x\to 0}\frac{\sin 5x}{5x}=1}\text{.}\)
Let's do a harder one now.
Example 3.51. Limit of Other Trig Functions.
Compute the following limit: \(\ds\lim_{x\to 0}\frac{\tan^3 2x}{x^2\sin 7x}\text{.}\)
Recall that the \(\tan^3(2x)\) means that \(\tan(2x)\) is being raised to the third power.
Example 3.52. Applying the Squeeze Theorem.
Compute the following limit: \(\ds\lim_{x\to 0^+}x^3\cos\left(\frac{1}{\sqrt{x}}\right)\text{.}\)
We use the Squeeze Theorem to evaluate this limit. We know that \(\cos\alpha\) satisfies \(-1\leq\cos\alpha\leq 1\) for any choice of \(\alpha\text{.}\) Therefore we can write:
Since \(x\to 0^+\) implies \(x>0\text{,}\) multiplying by \(x^3\) gives:
But using our rules we know that
and the Squeeze Theorem says that the only way this can happen is if
When solving problems using the Squeeze Theorem it is also helpful to have the following theorem.
Theorem 3.53. Monotone Limits.
If \(f(x)\leq g(x)\) when \(x\) is near \(a\) (except possibly at \(a\)) and the limits of \(f\) and \(g\) both exist as \(x\) approaches \(a\text{,}\) then \(\ds\lim_{x\to a}f(x)\leq\lim_{x\to a}g(x)\text{.}\)
Exercises for Section 3.6.
Exercise 3.6.1.
Compute the following limits.
-
\(\ds\lim_{x\to 0} {\sin (5x)\over x}\)
AnswerSolution\(5\)Recall that \(\lim\limits_{x\to 0} \frac{\sin(x)}{x} = 1\text{.}\) We will use this fact to find the desired limit by making a suitable subsitution. Let \(w = 5x\text{.}\) Then
\begin{equation*} \begin{split} \lim\limits_{x\to 0} \frac{\sin(5x)}{x} \amp= \lim\limits_{w\to 0} \frac{\sin(w)}{w/5} \\ \amp= \lim\limits_{w\to 0} 5\frac{\sin(w)}{w} = 5(1) = 5.\end{split} \end{equation*} -
\(\ds\lim_{x\to 0 } {\sin(7x)\over\sin (2x)}\)
Answer\(7/2\) -
\(\ds\lim_{x\to 0 } {\cot (4x) \over\csc (3x)}\)
Answer\(3/4\) -
\(\ds\lim_{x\to 0 } {\tan x\over x}\)
AnswerSolution\(1\)First, rewrite \(\tan(x)\) as \(\frac{\sin(x)}{\cos(x)}\text{.}\) Then
\begin{equation*} \begin{split} \lim\limits_{x \to 0} \frac{\tan(x)}{x} \amp= \lim\limits_{x \to 0} \frac{\sin(x)}{x\cos(x)}\\ \amp = \lim\limits_{x \to 0} \left(\frac{\sin(x)}{x}\frac{1}{\cos(x)}\right)\\ \amp = \lim\limits_{x \to 0} \frac{\sin(x)}{x} \lim\limits_{x \to 0}\frac{1}{\cos(x)}.\end{split} \end{equation*}As \(x \to 0\text{,}\) \(\cos(x) \to 1\) and \(\frac{\sin(x)}{x} \to 1\text{.}\) Since both limits exist, we get by the limit laws that
\begin{equation*} \lim\limits_{x \to 0} \frac{\tan(x)}{x} = 1. \end{equation*} -
\(\ds\lim_{x\to \pi/4} {\sin x-\cos x \over\cos (2x)}\)
Answer\(-\sqrt2/2\)
Exercise 3.6.2.
For all \(x\geq 0\text{,}\) \(4x-9 \leq f(x) \leq x^2 - 4x +7\text{.}\) Find \(\ds\lim_{x\to4}f(x)\text{.}\)
AnswerWe are given that \(4x-9\leq f(x) \leq x^2-4x+7\) for all \(x \geq 0\text{.}\) Therefore, by the Squeeze Theorem,
Thus, \(\lim\limits_{x\to 4} f(x) = 7\text{.}\)
Exercise 3.6.3.
For all \(x\text{,}\) \(2x \leq g(x) \leq x^4 - x^2 +2\text{.}\) Find \(\ds\lim_{x\to1}g(x)\text{.}\)
AnswerSince \(2x \leq g(x) \leq x^4 - x^2+2\text{,}\) we have
So, by the Squeeze Theorem, \(\lim\limits_{x\to 1} g(x) =2\text{.}\)
Exercise 3.6.4.
Use the Squeeze Theorem to show that \(\ds\lim_{x\to0} x^4 \cos(2/x)=0\text{.}\)
SolutionWe know that \(-1 \leq \cos\left(\frac{2}{x}\right) \leq 1\text{,}\) and so \(-x^4 \leq \cos \left(\frac{2}{x}\right)\leq x^4\text{.}\) Hence, by the Squeeze Theorem,
So we conclude that \(\lim\limits_{x\to 0} \cos \left(\frac{2}{x}\right) = 0\text{.}\)
Exercise 3.6.5.
Find the value of \(\lim\limits_{x\to\infty}\dfrac{3x+\sin x}{x+\cos x}\text{.}\) Justify your steps carefully.
AnswerWe know that
for all \(x\text{,}\) and
Therefore
so by the Squeeze Theorem,
Thus, \(\lim\limits_{x\to \infty} \dfrac{3x+\sin x}{x+\cos x} = 3\text{.}\)