The squeeze theorem, also known as the sandwich theorem, is a powerful tool in calculus for evaluating limits of functions that are difficult to compute directly. This article provides a step‑by‑step guide on how to apply the squeeze theorem, complete with examples, scientific explanations, and answers to common questions. By the end of this guide you will understand not only how to do the squeeze theorem but also why it works and when to use it.
Introduction
The squeeze theorem is a cornerstone of limit theory in single‑variable calculus. It allows you to determine the limit of a function f(x) by “squeezing” it between two other functions that have the same limit at a point. This technique is especially useful when f(x) oscillates, is defined piecewise, or involves trigonometric expressions that are not straightforward to simplify. Mastering how to do the squeeze theorem enhances your problem‑solving toolkit and deepens your intuition about the behavior of functions near critical points.
Understanding the Squeeze Theorem
Statement of the Theorem
Let f, g, and h be real‑valued functions defined on an interval I except possibly at a point c. If
- g(x) ≤ f(x) ≤ h(x) for every x in I (with x ≠ c), and
- (\displaystyle \lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L),
then
[ \lim_{x \to c} f(x) = L. ]
In words, when f(x) is trapped between two functions that converge to the same value L as x approaches c, f(x) must also converge to L. This intuitive “sandwich” picture is why the theorem is often called the sandwich theorem.
Why the Theorem Works
The squeeze theorem relies on the definition of a limit and the order properties of real numbers. Since f is forced to lie between them, it inherits the same ε‑δ behavior, guaranteeing its limit is also L. But if g and h both approach L, then for any ε > 0 there exist δ‑neighborhoods around c where both g and h stay within (L − ε, L + ε). This logical chain is the scientific explanation behind the theorem’s reliability Easy to understand, harder to ignore..
Steps to Apply the Squeeze Theorem
Step 1: Identify the Target Function
Determine the function f(x) whose limit you want to find. Write down the point c at which you are evaluating the limit (e.g.On the flip side, , x → 0, x → π/2, etc. ) Simple, but easy to overlook. Simple as that..
Step 2: Find Two Bounding Functions
Search for functions g(x) and h(x) that satisfy g(x) ≤ f(x) ≤ h(x) in a neighborhood of c. Common strategies include:
- Trigonometric bounds: Use inequalities like (-|x| ≤ \sin x ≤ |x|) or (-1 ≤ \sin x ≤ 1).
- Algebraic manipulation: Factor, rationalize, or apply known inequalities (e.g., x² ≤ e^x for small x).
- Piecewise definitions: If f is defined differently on either side of c, construct bounds that match each piece.
Step 3: Verify the Inequalities
Check that the inequalities hold for all x near c (excluding c itself). This step is crucial; a false bound will invalidate the whole argument The details matter here..
Step 4: Compute the Limits of the Bounding Functions
Calculate (\displaystyle \lim_{x \to c} g(x)) and (\displaystyle \lim_{x \to c} h(x)). If these limits exist and are equal to the same value L, you are ready for the final step.
Step 5: Apply the Squeeze Theorem
Conclude that (\displaystyle \lim_{x \to c} f(x) = L). Often it is helpful to state explicitly: “Since g(x) ≤ f(x) ≤ h(x) and both bounding functions approach L as x → c, by the squeeze theorem the limit of f(x) is also L.”
Easier said than done, but still worth knowing.
Example Walkthrough
Problem: Evaluate (\displaystyle \lim_{x \to 0} x^2 \sin!\left(\frac{1}{x}\right)).
Step 1 – Identify the Target Function
f(x) = x² sin(1/x). The point of interest is c = 0 Easy to understand, harder to ignore..
Step 2 – Find Bounding Functions
Recall that (-1 ≤ \sin t ≤ 1) for any real t. Let t = 1/x. Then
[ -1 ≤ \sin!\left(\frac{1}{x}\right) ≤ 1. ]
Multiplying the inequality by x² (which is non‑negative for all x) preserves the direction:
[
- x^2 ≤ x^2 \sin!\left(\frac{1}{x}\right) ≤ x^2. ]
Thus we can set
- g(x) = -x²
- h(x) = x²
Both satisfy g(x) ≤ f(x) ≤ h(x) for all x ≠ 0.
Step 3 – Verify the Inequalities
Since x² ≥ 0, multiplying the standard sine bounds by x² yields the inequalities above, which hold for every non‑zero x.
Step 4 – Compute the Limits of the Bounding Functions
[ \lim_{x \to 0} (-x^2) = 0,\qquad \lim_{x \to 0} (x^2) = 0. ]
Both limits exist and equal L = 0.
Step 5 – Apply the Squeeze Theorem
Because f(x) is squeezed between two functions that both