Squeeze theorem

So far, we have looked at how to both find and evaluate limits for simple and more complex functions. However, as most topics in mathematics go, there will be times when evaluating limits will become impossible without using other techniques. That is where “Squeeze Theorem” comes in handy.

What is the Squeeze Theorem

Before we get into the mathematical Squeeze Theorem definition, let’s first think of the concept in more familiar terms. Imagine I am a runner along with two of my friends, John and David. Instead of knowing how far I run each time, I know my distance compared to John and David according to the following:

1) I always run equal to or further than John.

2) I always run less than or equal to David.

Let’s say that one day myself, John, and David all go out running. On this particular day, John and David both run 3km. Now, the question is, how far did I run? If we answer this question according to the two conditions stated above, we will arrive at the only possible answer – 3km. Now let’s break this down algebraically so you can see this clearly:

- Let the distance I run be represented by M(x)

- Let the distance John runs be represented by J(x)

- Let the distance David runs be represented by D(x)

Now, according to the two conditions above:

J(x)≤M(x)≤D(x)J(x) \leq M(x) \leq D(x)J(x)≤M(x)≤D(x)

And if both John and David ran 3km each:

3≤M(x)≤33 \leq M(x) \leq 33≤M(x)≤3

This leads us to our answer of 3km – which is the only value that can satisfy this above equality. It was the functions that described the distance ran by both John and David that “squeezed” or “sandwiched” my distance function, and allowed us to find the answer without knowing a thing about the distance I ran. This is the idea behind “Squeeze” or “Sandwich” Theorem – it allows us to calculate the limit of a function using two other, more simple functions, when other methods aren’t useful. For a more algebraic-based Squeeze Theorem proof, if you’re interested, look here.

Basically, for a given inequality of three terms such as the one above – the limit of f(x) term is equal to the limit of g(x) and h(x) if those limits are equal to each other. Thereby, if we can evaluate the limit of both g(x) and h(x), and they equal each other, we can easily find the limit of f(x). Now, before we look at some concrete examples of how and when to do squeeze theorem, let’s first review how to find and evaluate limits.

How to Evaluate Limits

Finding limits may seem like an intimidating process, especially when we are dealing the concept of infinity. The best way to review the process of how to find the limit of a function is to do an example problem:

Because we are subbing in infinity for x (not actually – but we’ll get to that later) the first step is to ignore the constants, as they will not change during this substitution. This makes our expression much more simple and easy to work with when we try to find the limit.

Now that we have simplified our expression, we can now evaluate the limit. Since infinity is not actually a number, we can’t substitute it in for x – as alluded to in the previous step. What we can do, however, is imagine how our expression will change as we substitute larger and larger numbers in for x. This can be done by comparing the degrees of the numerator and denominator of our expression. Let’s look at our expression again:

As you can see, our numerator has a degree of 3, and our denominator has a degree of 7. Thus, since the degree is higher on the denominator, our denominator will quickly outpace the growth of our numerator. Therefore, as x gets bigger and bigger, our numerator will essentially become 0 compared to our denominator, and thus the limit of this function as x approaches infinity is 0.

There! Now that we have reviewed how to find the limit, let’s get back to how to do Squeeze Theorem.

How to Do Squeeze Theorem

Though Squeeze Theorem can theoretically be used on any set of functions that satisfy the above conditions, it is particularly useful when dealing with sinusoidal functions. As with most things in mathematics, the best way to illustrate how to do Squeeze Theorem is to do some Squeeze Theorem problems.

Before we get into solving this problem, let’s first consider why using Squeeze Theorem is necessary in this case. The simple answer to this is that we cannot possibly compute the cos of infinity. Because infinity is not actually a number, there is nothing we can substitute in for x in order to find this limit. For this reason, we must use Squeeze Theorem.

Step 1: Make an Inequality

Because of the nature of the cosine function: −1≤cosx≤1-1 \leq \cos x \leq 1−1≤cosx≤1

Step 2: Modify the Inequality

You’ll notice that our inequality is insufficient for solving this problem, as we are asked to find the limit of cosx/x, not cosx alone. So we need to make some modifications. Dividing the entire inequality by x gives us what we are asked to solve.

Using what we know about evaluating limits, hopefully you’ll notice that as x gets bigger and bigger, our denominator will quickly grow much bigger than our numerator, as x5x^5x​5​​ >> xxx. This will bring our function closer and closer to zero.

Don't just watch, practice makes perfect.

Squeeze theorem

In this section, we will learn about the intuition and application of the squeeze theorem (also known as the sandwich theorem). We will recognize that by comparing a function with other functions which we are capable of solving, we can evaluate the limit of a function that we couldn't solve otherwise, using the algebraic manipulation techniques covered in previous sections.