Determining Limits Using the Squeeze Theorem
Why this matters
Imagine you're walking down a crowded school hallway with two of your friends, Priya and Marcus. Priya is on your left and Marcus is on your right, and you're all walking together. Up ahead, the hallway narrows, and both Priya and Marcus decide to walk through the same single door to the library.
Because you're stuck walking between them, you don't have much of a choice. If Priya goes through that door, and Marcus goes through that exact same door, you're going through it too. There's nowhere else for you to go.
This is the core idea behind the Squeeze Theorem. Sometimes we have a complicated function (you) whose destination (limit) is hard to figure out. But if we can trap it between two simpler functions (Priya and Marcus) that we know are heading to the same exact spot, we can say with certainty where our complicated function must be heading, too.
Concept overview
flowchart TD
A[Start: Find lim f(x) as x->c] --> B{Try Direct Substitution};
B --> C{Is the result a real number?};
C -- Yes --> D[Done! That's the limit.];
C -- No --> E{Try Algebraic Simplification?};
E -- No --> F{Is f(x) a product of a zero-bound part and a bounded part like sin/cos?};
F -- Yes --> G[Use Squeeze Theorem];
F -- No --> H[Try other methods, e.g. L'Hopital's Rule];
G --> I[1. Find g(x) and h(x) such that g(x) <= f(x) <= h(x)];
I --> J[2. Show that lim g(x) = L and lim h(x) = L];
J --> K[3. Conclude: By Squeeze Theorem, lim f(x) = L];
Core explanation
Hey there, future calculus whizzes. It's Saavi. Today, we're tackling a powerful tool in your limit toolkit: the Squeeze Theorem. It's also sometimes called the Sandwich Theorem, and for good reason!
When Do You Need the Squeeze Theorem?
So far, you've learned to find limits using direct substitution, factoring, or multiplying by the conjugate. But what happens when none of those work?
Consider a limit like this:
lim (x->0) x²sin(1/x)
If you try direct substitution, you get 0² * sin(1/0). That sin(1/0) part is a huge problem. The function sin(u) oscillates, and as u goes to infinity (which is what 1/x does as x approaches 0), it just keeps bouncing between -1 and 1 forever. It never settles on a single value. So, direct substitution fails. Algebraic tricks won't help either.
This is exactly the kind of problem where the Squeeze Theorem shines. It's designed for functions that are a product of two things:
- A part that goes to zero (like
x²). - A part that is "bounded," meaning it's trapped between two numbers (like
sin(1/x)).
The Official Definition
Here’s the theorem in its formal glory. Don't let the symbols intimidate you; we'll break it down right after.
The Squeeze Theorem:
Let f(x), g(x), and h(x) be functions.
If g(x) <= f(x) <= h(x) for all x near a certain point c (but not necessarily at c),
AND
If lim (x->c) g(x) = L and lim (x->c) h(x) = L,
THEN
lim (x->c) f(x) = L.
Analogy Time: The Hallway Squeeze
Think back to our hallway scenario.
- The lower function,
g(x), is your friend Priya. - The upper function,
h(x), is your friend Marcus. - The tricky middle function,
f(x), is you. - The point
cis the location of the library door. - The limit
Lis the single point in space where the doorway is.
The theorem says that if Priya (g(x)) is always on one side of you and Marcus (h(x)) is always on the other, and they both walk to the exact same spot L at the doorway c, then you (f(x)) have no choice but to arrive at that same spot L.
How to Build Your "Sandwich"
The hardest part of using the Squeeze Theorem is finding your "bread" functions, g(x) and h(x). Luckily, for most problems you'll see in AP Calculus, the strategy is very predictable.
The key is to start with the bounded part of the function. For any angle θ, you know for a fact that the sine and cosine functions are always trapped:
-1 <= sin(θ) <= 1-1 <= cos(θ) <= 1
This is your starting point. This is the universal truth that lets you build the entire inequality.
Let's walk through the process for lim (x->0) x²sin(1/x):
- 1Start with the boundIdentify the bounded part, which is
sin(1/x). It doesn't matter what's inside the sine function; its output is always between -1 and 1.-1 <= sin(1/x) <= 1 - 2Build the functionYour goal is to make the middle of your inequality look exactly like the function in the limit problem. Right now, you have
sin(1/x). You needx²sin(1/x). How do you get there? You multiply byx². This is where most students slip up. You can't just multiply the middle. You must multiply all three parts of the inequality to keep it true.-1 * (x²) <= x² * sin(1/x) <= 1 * (x²)Which simplifies to:
-x² <= x²sin(1/x) <= x²(Note: We can do this without worrying about flipping the inequality signs because
x²is always non-negative). - 3Find the limits of the outer functionsNow you have your three functions:
g(x) = -x²(the bottom bread)f(x) = x²sin(1/x)(the filling)h(x) = x²(the top bread)
Take the limit of the outer functions as
xapproaches 0:lim (x->0) -x² = -(0)² = 0lim (x->0) x² = (0)² = 0
- 4State your conclusionThe limits of both outer functions are the same! They both equal 0. Since our target function is squeezed between them, its limit must also be 0. You must state this conclusion formally.
"Since
lim (x->0) -x² = 0andlim (x->0) x² = 0, then by the Squeeze Theorem,lim (x->0) x²sin(1/x) = 0."
That's it! You've successfully used the Squeeze Theorem. The key is to start with the known bounds of sine or cosine, build your inequality, and then show that the two outer functions approach the same limit.
Worked examples
Let's walk through a couple of problems together so you can see the pattern. The structure is the same every time.
Example
Problem: Find the limit lim (x->0) x⁴cos(2/x).
Solution:
- 1Analyze the functionFirst, try direct substitution. We get
(0)⁴ * cos(2/0), which involvescos(∞). This is undefined. The function is a product of a term going to zero (x⁴) and a bounded oscillating term (cos(2/x)). This is a perfect candidate for the Squeeze Theorem. - 2Establish the initial inequalityThe core of this is the
cos(2/x)part. We know that the cosine function, no matter its input, is always bounded between -1 and 1.-1 <= cos(2/x) <= 1 - 3Build the target functionOur goal is
x⁴cos(2/x). To get fromcos(2/x)to our target, we need to multiply byx⁴. We must multiply every part of the inequality.-1 * (x⁴) <= x⁴ * cos(2/x) <= 1 * (x⁴)This simplifies to:-x⁴ <= x⁴cos(2/x) <= x⁴ - 4Take the limits of the outer functionsNow, we find the limits of our "sandwich bread" as
xapproaches 0.- Limit of the lower bound:
lim (x->0) -x⁴ = -(0)⁴ = 0 - Limit of the upper bound:
lim (x->0) x⁴ = (0)⁴ = 0
- Limit of the lower bound:
- 5State the conclusionBoth the lower and upper bounding functions approach the same limit, 0. Therefore, the function squeezed between them must also approach 0. Conclusion: Since
lim (x->0) -x⁴ = 0andlim (x->0) x⁴ = 0, by the Squeeze Theorem,lim (x->0) x⁴cos(2/x) = 0.
Common Mistake Check: A student might see cos(2/x) and just assume the answer is "does not exist." But the x⁴ in front is the crucial piece. It "dampens" the oscillations, forcing the entire function toward zero.
Example
Problem: A function f(x) is known to satisfy the inequality 1 + 3x² <= f(x) <= 4 - x² for all x. Find lim (x->1) f(x).
Solution:
- 1Analyze the problemThis one is even more direct! They've already given you the "sandwich." You don't have to build it yourself. Your job is just to check if the two pieces of bread meet at the same point.
- Lower bound:
g(x) = 1 + 3x² - Upper bound:
h(x) = 4 - x² - We need to find the limit of
f(x)asxapproaches 1.
- Lower bound:
- 2Take the limits of the outer functionsWe'll evaluate the limits of
g(x)andh(x)asxapproaches 1.- Limit of the lower bound:
lim (x->1) (1 + 3x²) = 1 + 3(1)² = 1 + 3 = 4 - Limit of the upper bound:
lim (x->1) (4 - x²) = 4 - (1)² = 4 - 1 = 3
- Limit of the lower bound:
- 3State the conclusionWait a minute. The limit of the lower bound is 4, but the limit of the upper bound is 3. They are not equal. Conclusion: The conditions for the Squeeze Theorem are not met. The two bounding functions do not approach the same limit as
xapproaches 1. Therefore, we cannot determinelim (x->1) f(x)using the Squeeze Theorem with the given information.
Why this is important: This shows that the Squeeze Theorem isn't a magic wand. It only works if the two bounding functions converge to the exact same value. Don't just assume they will. Always do the work and check.
Try it yourself
Ready to try on your own? Remember the steps: start with the bound, build the function, check the limits, and conclude.
Problem 1:
Find the limit of f(x) = x³cos(1/x²) as x approaches 0.
Hint: What are the absolute minimum and maximum values that cos(anything) can produce? Start there. Your process will look very similar to the x⁴cos(2/x) example.
Problem 2:
You are given that a function h(x) is bounded by two other functions, g(x) = 2x - x² and k(x) = √(x² + 4) - 2. What is lim (x->0) h(x)?
Hint: You don't need to know anything about h(x) itself. Just find the limits of g(x) and k(x) as x approaches 0. If they match, you have your answer.
In simple terms, the Squeeze Theorem helps us find a tricky limit by "squeezing" its function between two easier functions that both lead to the same value.
- LIM-1.E: Determine the limits of functions using equivalent expressions for the function or the squeeze theorem.
- LIM-1.E.2
- The limit of a function may be found by using the squeeze theorem.
flowchart TD
A[Start: Find lim f(x) as x->c] --> B{Try Direct Substitution};
B --> C{Is the result a real number?};
C -- Yes --> D[Done! That's the limit.];
C -- No --> E{Try Algebraic Simplification?};
E -- No --> F{Is f(x) a product of a zero-bound part and a bounded part like sin/cos?};
F -- Yes --> G[Use Squeeze Theorem];
F -- No --> H[Try other methods, e.g. L'Hopital's Rule];
G --> I[1. Find g(x) and h(x) such that g(x) <= f(x) <= h(x)];
I --> J[2. Show that lim g(x) = L and lim h(x) = L];
J --> K[3. Conclude: By Squeeze Theorem, lim f(x) = L];
Read what Saavi narrates
(gentle, warm music fades in and then fades to background)
Hey there, it's Saavi from Shrutam. Let's talk about one of my favorite tools in calculus, the Squeeze Theorem.
Imagine you're walking down a school hallway with two friends, Priya on your left and Marcus on your right. Up ahead, both Priya and Marcus decide to walk through the same single door to the library. Because you're stuck between them, you have no choice... you're going through that door, too.
That’s the Squeeze Theorem. It's a clever way to find the limit of a function that's hard to figure out directly... we call that function 'you'. We trap it between two simpler functions... 'Priya' and 'Marcus'... whose limits we already know.
Let's try the classic example: finding the limit of x-squared times sine of one-over-x, as x approaches zero.
Trying to plug in zero gives you a mess. But we know it's a perfect job for the Squeeze Theorem.
First, we start with the part we can control: the sine function. No matter what you put into sine, the output is always, always trapped between negative one and positive one. So, we can write that down: negative one is less than or equal to sine of one-over-x, which is less than or equal to one.
Next, we want the thing in the middle of our inequality to look like our original problem. We need to multiply by x-squared. And we have to do it to all three parts. So, negative x-squared is less than or equal to... x-squared times sine of one-over-x... which is less than or equal to positive x-squared.
Great! We've built our 'sandwich'. Now for the final step. What's the limit of the two outer functions as x goes to zero? The limit of negative x-squared is zero. And the limit of positive x-squared is also zero.
So, our two friends, the outer functions, are both heading to the same exact spot: zero.
This is where a lot of students make a small mistake... they just assume the answer is zero and move on. But you have to state your conclusion! Since the function on the left goes to zero, and the function on the right goes to zero, the function in the middle has no choice.
So, we can say with confidence: By the Squeeze Theorem, the limit of x-squared times sine of one-over-x as x approaches zero... is zero.
You've got this. It's a pattern. Once you see it, you can solve any problem like it. Keep practicing!
(gentle music swells and fades out)
The Squeeze Theorem is a proof. You must show *why* the limit is 0 by constructing the inequality and evaluating the limits of the bounding functions. You get points for the process, not just the answer.
Always write out the full three-step process: establish the `-1 <= sin(...) <= 1` inequality, build the full function, and show that the limits of the two outer functions are equal.
The entire logic of the theorem rests on *both* functions converging to the *same* value. Showing only one is an incomplete proof.
Explicitly write out the limit for both the lower bound and the upper bound. For example: `lim (x->0) -x² = 0` AND `lim (x->0) x² = 0`.
On the AP Exam, graders look for you to justify your reasoning. Simply stating the final limit isn't enough. You need to name the theorem that gives you the right to make that conclusion.
End your solution with the phrase, "...by the Squeeze Theorem, the limit is [L]."
You've only multiplied the middle part of the inequality, which breaks the mathematical rule. An inequality must be adjusted on all sides to remain true.
When you multiply to build your function, multiply all three parts of the inequality: the left, the middle, and the right.
It's inefficient and can lead to confusion. If a limit can be solved by direct substitution, that's the best and fastest way.
Always try direct substitution first. Only turn to the Squeeze Theorem when you have an indeterminate form involving a bounded function (like sine or cosine).