# Video: Using the Squeeze Theorem

Calculate lim_(𝑥 → 0) 𝑥³ cos (2/𝑥) using the squeeze theorem.

03:35

### Video Transcript

Calculate the limit of 𝑥 squared times cos of two over 𝑥 as 𝑥 approaches zero using the squeeze theorem.

Let’s remind ourselves of the squeeze theorem. It says that if 𝑓 of 𝑥 is less than or equal to 𝑔 of 𝑥 which is less than or equal to ℎ of 𝑥 when 𝑥 is near 𝑎 and the limit of 𝑓 of 𝑥 equals the limit of ℎ of 𝑥 as 𝑥 approaches 𝑎. We’ll call this limit 𝐿. Then the limit of 𝑔 of 𝑥 as 𝑥 approaches 𝑎 is also 𝐿. Now how do we use this theorem to calculate this limit here? Well, if we let 𝑔 of 𝑥 equal 𝑥 cubed times cos of two over 𝑥 and we let 𝑎 equal zero, then the limit we have to find is the limit of 𝑔 of 𝑥 as 𝑥 approaches 𝑎.

Now if we can find functions 𝑓 and ℎ which underestimate and overestimate the function 𝑔, respectively, and which have the same limit as 𝑥 approaches 𝑎 which is zero. Then the limit we’re looking for will also have this value. We write this idea down to remind ourselves of it. Now all we have to do is find an underestimate 𝑓 of 𝑥 and an overestimate ℎ of 𝑥 for our function which have the same limit as 𝑥 approaches zero. How are we going to do this?

Well, the difficult part of our function is the factor cos two over 𝑥. This is the bit of the function that means that we can’t just do direct substitution. In fact, the limit of cos of two over 𝑥 as 𝑥 approaches zero is undefined you can see this by graphing the function using a computer or graphing calculator. However, there are no asymptotes here. The range of cosine is from negative one to one. The cosine of any number will have to lie between negative one and one. And that remains true even that number is two over 𝑥. Another way of saying this is that the absolute value of cosine of two over 𝑥 is always less than or equal to one. As a result, the absolute value of our function 𝑔 of 𝑥 is less than or equal to the absolute value of 𝑥 cubed. Another way of saying this is that 𝑥 cubed cos two over 𝑥 is between negative the absolute value of 𝑥 cubed and the absolute value of 𝑥 cubed.

Have we found our functions 𝑓 of 𝑥 and ℎ of 𝑥 then? Well, maybe. But we need to check that their limits as 𝑥 approaches zero are the same. Let’s clear some room to do this. We need to find the limit of 𝑓 of 𝑥 — that’s negative the absolute value of 𝑥 cubed as 𝑥 approaches zero — and the limit of ℎ of 𝑥. That’s the absolute value of 𝑥 cubed as 𝑥 approaches zero. Both of these functions are continuous. And so, these limits can be evaluated using direct substitution. Negative the absolute value of zero cubed is just zero as is the absolute value of zero cubed. So yes, the limits of 𝑓 of 𝑥 and ℎ of 𝑥 as 𝑥 approaches zero are the same.

The limit value 𝐿 is zero. And so, by the squeeze theorem, the limit of 𝑥 cubed times cos of two over 𝑥 as 𝑥 approaches zero is also zero. This is our answer. Looking at this diagram, you can see how the graph of the function 𝑥 cubed times cos of two over 𝑥 is squeezed between the graphs of the absolute value of 𝑥 cubed and it’s opposite. And so, its limit as 𝑥 approaches zero must be zero, although the function itself is not defined at 𝑥 equals zero.