Proving the Squeeze Theorem using the Epsilon Delta Definition for the Limit
Out of the many techniques there are for solving limits, the squeeze theorem is a fairly famous theorem that has the ability to evaluate certain limits by comparing with other functions. For those who do not know the squeeze theorem, it states the following:
Let A be some domain containing the point c, and let f, g, and h be defined on this common domain (except possibly at c). Suppose that for every x in A, f(x) ≤ g(x) ≤ h(x). Then, if lim(x → c) f(x) = lim(x → c) h(x) = L, it follows that lim(x → c) g(x) = L.
In this post, I will be going through a simple proof of this theorem using the epsilon delta definition for limits, and will finish with a simple application of this theorem.
Proving the Squeeze Theorem
To prove the squeeze theorem, I will be using the epsilon delta definition for limits which you can read more about in this post.
To begin, let f, g, and h be defined on A (except possibly at point c) and suppose that for every x in A, f(x) ≤ g(x) ≤ h(x). Additionally, suppose that lim(x → c) f(x) = lim(x → c) h(x) = L. Then, by the epsilon delta definition for the limit, we know the following statements are true:

Now, what we wish to show is the following:

To do this, we can start with |g(x) - L| and observe that we can rewrite this in terms of |f(x) - L| and |h(x) - L| in the following way using the triangle inequality:

Here the first and last inequality holds through the use of the triangle inequality (|a + b| ≤ |a| + |b|) and the second inequality holds by using the fact that f(x) ≤ g(x) ≤ h(x). Now, notice that if we let ϵ₁ = ϵ₂ = ϵ/3 in our definition of the limits for f(x) and h(x), then the last line would add to ϵ. With the rough work done, we can now start our proof.
First let ϵ > 0 and choose δ = min{δ₁, δ₂} (min{} returns the minimum of these two numbers). Now, assume that |x - c| < δ. Since we chose δ to be the minimum of δ₁ and δ₂ this ensures that |x - c| < δ₁ and |x - c| < δ₂ are true which implies that |f(x) - L| < ϵ/3 and |h(x) - L| < ϵ/3. Now, since we already know that |g(x) - L| ≤ |h(x) - L| + 2|f(x) - L|, we can conclude that |g(x) - L| < ϵ/3 + 2ϵ/3 = ϵ as desired.
Applications
Now that we have proved the squeeze theorem, we can now try to apply it and see how it can be used. For instance, consider the limit as x²sin(1/x) approaches 0. Notice how at exactly x = 0, this function is not defined and the sin(1/x) term causes the function to have an oscillatory behavior with an infinite frequency at x = 0. As a result, our traditional limit solving techniques will not work with this limit and we must resort to something else. However, notice that sinusoidal functions such as sin(1/x) are always bounded between 1 and -1, meaning that -x² ≤ x²sin(1/x) ≤ x². But since lim(x → 0) -x² = lim (x → 0) x² = 0, by the squeeze theorem we can conclude that lim(x → 0) x²sin(1/x) = 0. As such, without doing any complicated calculations, we were able to evaluate this limit through the use of the squeeze theorem.
As a visual aid to understand what’s going on here, we can graph the functions -x², x², and x²sin(1/x) on the same axes:

In the above graph, the red function is x²sin(1/x) and the blue curves are x² and -x². Notice how x²sin(1/x) is constantly being sandwiched by x² and -x² as we would expect from the -x² ≤ x²sin(1/x) ≤ x² inequality. But since both x² and -x² approach the same value as x approaches 0, the function in between gets ‘squeezed’ by the two functions, hence the name ‘squeeze theorem’.
Thank you for reading.
