# Video: Limits and Oscillating Behavior

Investigate the behavior of 𝑓(𝑥) = 2 cos (1/𝑥) as 𝑥 tends to 0. Complete the table of values of 𝑓(𝑥) for values of 𝑥 that get closer to 0. What does this suggest about the graph of 𝑓 close to zero? Hence, evaluate lim_(𝑥 → 0) 𝑓(𝑥).

08:13

### Video Transcript

Investigate the behavior of 𝑓 of 𝑥 equals two cos one over 𝑥 as 𝑥 tends to zero.

The first part of this question is to complete the table of values of 𝑓 of 𝑥 for values of 𝑥 that get closer to zero. And if we look at the values of 𝑥 that we’re given in the table, we can see that they really do get closer and closer to zero. One over 99𝜋 is already quite small. But one over 100𝜋 is even smaller, even closer to zero. And the trend continues, one over 999𝜋 is smaller still. Okay, now let’s go about completing this table of values.

In the first cell we have to fill, we need to put the value of 𝑓 of one over 99𝜋. But, what is this value? We find it by using the definition of the function 𝑓. 𝑓 of 𝑥 is two cos one over 𝑥. And so, 𝑓 of one over 99𝜋 is two cos one over one over 99𝜋. One over one over 99𝜋 is just 99𝜋. And so, we can simplify to get two cos 99𝜋. What’s the value of cos of 99𝜋? The function cos is a periodic function. And its period — assuming we’re working in radians, which we are — is two 𝜋. Another way of saying this is that the value of cos of 𝑥 plus two 𝜋 is the same as the value of cos of 𝑥. And by applying this rule twice, we can see that cos 𝑥 plus four 𝜋 is equal to cos 𝑥 plus two 𝜋 which is equal to cos 𝑥.

By repeating this process, we can see that cos 𝑥 plus two 𝜋𝑛, for any natural number 𝑛, is equal to cos 𝑥. And in fact, by working backwards, we can show that this holds for negative integers 𝑛 too. And so, the result holds for any integer 𝑛. Okay, but how does this result help us simplify two cos 99𝜋? Well, we can write 99𝜋 as 𝜋 plus two 𝜋 times 49. And so, using our rule, we get two cos 𝜋. Another way of thinking about this is that if you keep subtracting two 𝜋 from 99𝜋, eventually, you’ll end up with just 𝜋. As cos 𝜋 is just negative one, two times cos 𝜋 is negative two. And we found the value of 𝑓 of one over 99𝜋.

Now, we need to find the next value in our table. The process is almost exactly the same. We use the definition of 𝑓 and the fact that one over one over 100𝜋 is 100𝜋. But this time, as 100𝜋 is an even multiple of 𝜋, we eventually get down to zero when we keep subtracting two 𝜋 from it. We therefore find that 𝑓 of one over 100𝜋 is two cos zero. And as cos zero is one, two cos zero is two. We put this two into our table and move on to the next entry.

𝑓 of one over 999𝜋 is two cos one over one over 999𝜋 which is two cos 999𝜋. And as 999 is an odd number, the value of cos 999𝜋 is the value of cos 𝜋. And just like with 𝑓 of one over 99𝜋, as cos of 𝜋 is negative one, 𝑓 of one over 999𝜋 is negative two. Rather than using the same procedure to fill in the remaining three gaps in our table, we’re going to use the pattern that we’ve discovered.

When 𝑥 is a unit fraction with an odd multiple of 𝜋 in its denominator, then the value of 𝑓 of 𝑥 is negative two. We can prove this if we’d like to. Any odd number can be expressed as two 𝑘 plus one, where 𝑘 is some natural number. And following our procedure, we can see that 𝑓 of one over two 𝑘 plus one 𝜋 is negative two. Pause the video if you’d like to think about this some more.

And so, in particular, as 9999 is an odd number, when 𝑥 is one over 9999𝜋, then 𝑓 of 𝑥 is negative two.

So that covers the case when the denominator of our unit fraction is an odd multiple of 𝜋. But what about the even multiples of 𝜋? Writing our general even number as two times 𝑘, we see that when 𝑥 is one over an even multiple of 𝜋, 𝑓 of 𝑥 is two. And so, both 𝑓 of one over 1000𝜋 and 𝑓 of one over 10000𝜋 are both two. We might also like to summarise the discoveries we’ve made, that 𝑓 of one over two 𝑘𝜋 is two and 𝑓 of one over two 𝑘 plus one 𝜋 is negative two, for any natural number 𝑘.

Let’s now move on to the next part of the question. What does this suggest about the graph of 𝑓 close to zero? Well, we’ve seen for some very small values of 𝑥 in our table that 𝑓 of 𝑥 can be negative two or two. And we’ve seen from our discoveries that 𝑓 of one over two 𝑘𝜋 is two and 𝑓 of one over two 𝑘 plus one 𝜋 is negative two. That however close you are to zero, you can find a smaller value of 𝑥 for which 𝑓 of 𝑥 is two or 𝑓 of 𝑥 is negative two. So what does this suggest about the graph of 𝑓 close to zero? It suggests that it oscillates between negative two and two.

You might like to just check that this makes sense, given the definition of our function 𝑓, that 𝑓 of 𝑥 equals two cos one over 𝑥. Whatever the value of 𝑥 is, one over 𝑥 is just some number. And so, 𝑓 of 𝑥 is two times cos something which is bounded between negative two and two, inclusive. So certainly, our function can’t be oscillating between two values greater in absolute value. Also, looking at the table you might be tempted to think that 𝑓 of 𝑥 can only take two possible values, negative two or two. But actually, the function takes values between negative two and two as well. It’s just that the values of 𝑥 in our table were chosen to produce these extreme values. You might like to think about how to find values of 𝑥 for which 𝑓 of 𝑥 is zero or one or negative 1.5.

Moving on to the third and final part of the question, hence, evaluate the limit of 𝑓 of 𝑥 as 𝑥 approaches zero. Well, we’ve seen that as 𝑥 approaches or tends to zero, 𝑓 of 𝑥 oscillates between negative two and two. The value of 𝑓 of 𝑥, therefore, is not getting closer and closer to some real number. And so, the limit of 𝑓 of 𝑥 as 𝑥 approaches zero cannot be any real number. And as 𝑓 is a bounded function, taking values between negative two and two, the limits cannot be infinite either. The only conclusion we can draw is that the limit does not exist.

Now, the purpose of this question was to work all this out without relying on a graph. But now that we have worked it out, you might like to use a graphing calculator or graphing software to explore the graph of 𝑓. As you might be able to see from the small graph I’m showing on screen, something pretty wild happens near the origin.