AP-CALCBC-1.8

U1.8 Determining Limits Using the Squeeze Theorem

Master the Squeeze Theorem for AP Calculus BC: learn to trap bounded oscillating functions like x·sin(1/x) between two limits that agree.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U1.8 Determining Limits Using the Squeeze Theorem, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Some limits refuse to cooperate with substitution or algebra. When a function oscillates wildly — think sin(1/x)\sin(1/x) near x=0x=0 — you cannot plug in, factor, or rationalize your way to an answer. The Squeeze Theorem (also called the Sandwich or Pinching Theorem) is the tool built exactly for this situation.

In this lesson you will learn to state the theorem precisely, build lower and upper bounding functions from an inequality you already know, and confirm that both bounds share the same limit. Once they do, the trapped function is forced to that same value. This is a favorite AP topic because it rewards careful reasoning about inequalities, not just computation.

Stating the Squeeze Theorem

The Squeeze Theorem says: if g(x)f(x)h(x)g(x) \le f(x) \le h(x) for all xx near cc (except possibly at cc itself), and iflimxcg(x)=limxch(x)=L,\lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L,then limxcf(x)=L\lim_{x \to c} f(x) = L as well.

The intuition is that ff is trapped between two functions that both approach the same height LL. There is nowhere else for ff to go — it is pinched to LL.

Three conditions must all hold. First, the inequality gfhg \le f \le h must be true on an interval around cc (you can ignore the single point x=cx=c). Second, both outer functions must have limits as xcx \to c. Third, those two limits must be equal. If the outer limits disagree, the theorem tells you nothing.

A common misconception: the theorem does not require ff to be continuous, defined at cc, or even nice-looking. That is exactly why it works for oscillating functions that have no limit-by-substitution. The theorem is about being trapped, not about smoothness.

The key bounding inequality

Almost every Squeeze Theorem problem on the AP exam starts from a bounded factor. The most common are1sin(anything)1,1cos(anything)1.-1 \le \sin(\text{anything}) \le 1, \qquad -1 \le \cos(\text{anything}) \le 1.The trick is that these hold no matter how crazy the input is. So 1sin(1/x)1-1 \le \sin(1/x) \le 1 is true for every x0x \ne 0, even though sin(1/x)\sin(1/x) itself has no limit as x0x \to 0.

To build a squeeze, multiply the bounded factor's inequality by the other factor. Suppose you want limx0x2cos(1/x)\lim_{x\to 0} x^2 \cos(1/x). Start with 1cos(1/x)1-1 \le \cos(1/x) \le 1. Multiply every part by x2x^2. Because x20x^2 \ge 0, the inequality directions are preserved:x2x2cos(1/x)x2.-x^2 \le x^2 \cos(1/x) \le x^2.Both outer functions go to 00, so the middle does too.

Watch the sign. If you multiply an inequality by a negative quantity, the inequality flips. When the multiplier can be positive or negative near cc (like plain xx near 00), it is safest to multiply by the absolute value: from sin(1/x)1|\sin(1/x)| \le 1 you get xsin(1/x)x|x \sin(1/x)| \le |x|, hence xxsin(1/x)x-|x| \le x\sin(1/x) \le |x|.

How the AP exam tests this topic

The College Board tests the Squeeze Theorem in a few recognizable ways. On multiple choice you may be given the bounding inequality directly and asked for the limit, or asked which inequality justifies a conclusion. On free response you must show the setup: state the bounds, apply the limit to both, and cite that the two limits are equal.
Task the exam asksWhat you must show
Evaluate limxnsin(1/x)\lim x^n \sin(1/x)Bound with ±xn\pm x^n or ±xn\pm\lvert x\rvert^n, both 0\to 0
Justify using a given table/graph of gg and hhConfirm gfhg \le f \le h and equal outer limits
Choose the correct procedure (from U1.7)Recognize that oscillation blocks substitution
A frequent graders' note: writing only "=0= 0" earns little credit. You must demonstrate the trapping. A full justification names both bounding functions, evaluates their limits, and states that because they equal the same value LL, the squeezed limit equals LL.

Another tested idea is recognizing when the theorem does not apply. If someone tries to squeeze sin(1/x)\sin(1/x) itself as x0x \to 0, the bounds 1-1 and 11 do not agree, so no conclusion follows — that limit does not exist.

A reliable four-step procedure

Use this routine on any squeeze problem.

First, identify the bounded factor, usually a sine or cosine of something that blows up. Write its two-sided bound, such as 1cos(1/x)1-1 \le \cos(1/x) \le 1.

Second, multiply the entire inequality by the remaining factor. If that factor is nonnegative near cc, keep the direction; if its sign is uncertain, use absolute values so the outer bounds become factor-|\text{factor}| and +factor+|\text{factor}|.

Third, take the limit of the left and right bounds as xcx \to c. Both should approach the same value LL (typically 00, because the multiplying factor shrinks to zero).

Fourth, conclude by the Squeeze Theorem that the middle function has limit LL.

A subtle point worth internalizing: the reason these limits equal zero is that a bounded quantity times something approaching zero approaches zero. The bounded factor cannot grow without limit, so it cannot rescue the product from being crushed. This "bounded times small" pattern reappears throughout calculus, including in series convergence later in BC, so the reasoning habit pays off well beyond Unit 1.

Key terms

Squeeze Theorem.
If g(x)f(x)h(x)g(x)\le f(x)\le h(x) near cc and limxcg(x)=limxch(x)=L\lim_{x\to c}g(x)=\lim_{x\to c}h(x)=L, then limxcf(x)=L\lim_{x\to c}f(x)=L.
Bounded function.
A function whose output stays within fixed limits, e.g. sin\sin and cos\cos always lie between 1-1 and 11 regardless of input.
Oscillating function.
A function that repeatedly moves up and down without settling, such as sin(1/x)\sin(1/x) near x=0x=0, which has no ordinary limit.
Bounding functions.
The outer functions gg and hh that trap ff; they must both approach the same value for the theorem to apply.
Bounded-times-small principle.
A bounded quantity multiplied by a factor tending to 00 has a product tending to 00; the engine behind most squeeze limits.
Two-sided bound.
An inequality of the form Mf(x)M-M\le f(x)\le M that constrains a function's values from below and above simultaneously.

Worked example

Evaluate limx0x2sin ⁣(1x)\lim_{x \to 0} x^2 \sin\!\left(\dfrac{1}{x}\right), justifying your answer with the Squeeze Theorem.
Direct substitution fails because sin(1/x)\sin(1/x) oscillates infinitely as x0x \to 0 and has no limit there. Instead, isolate the bounded factor.

For every x0x \ne 0, the sine function is bounded:1sin ⁣(1x)1.-1 \le \sin\!\left(\frac{1}{x}\right) \le 1.Multiply all three parts by x2x^2. Since x20x^2 \ge 0, the inequality directions do not flip:x2x2sin ⁣(1x)x2.-x^2 \le x^2 \sin\!\left(\frac{1}{x}\right) \le x^2.Now take limits of the outer bounds:limx0(x2)=0andlimx0x2=0.\lim_{x \to 0}(-x^2) = 0 \quad\text{and}\quad \lim_{x \to 0} x^2 = 0.Both bounding functions approach the same value L=0L = 0. By the Squeeze Theorem, the trapped function is forced to that value:limx0x2sin ⁣(1x)=0.\lim_{x \to 0} x^2 \sin\!\left(\frac{1}{x}\right) = 0.On an AP free response, the graders want to see the inequality, the two outer limits, and the sentence citing that they are equal — not just the final 00.

Practice questions

Which inequality correctly sets up the Squeeze Theorem to evaluate limx0xcos ⁣(1x)\lim_{x \to 0} x \cos\!\left(\dfrac{1}{x}\right)?
  1. 1xcos(1/x)1-1 \le x\cos(1/x) \le 1
  2. xxcos(1/x)x-|x| \le x\cos(1/x) \le |x|
  3. x2xcos(1/x)x2-x^2 \le x\cos(1/x) \le x^2
  4. 0xcos(1/x)x0 \le x\cos(1/x) \le x

Answer: xxcos(1/x)x-|x| \le x\cos(1/x) \le |x|

Start from cos(1/x)1|\cos(1/x)| \le 1, so xcos(1/x)x|x\cos(1/x)| \le |x|, giving xxcos(1/x)x-|x| \le x\cos(1/x) \le |x|. Absolute values are needed because xx changes sign near 00, which would flip a plain inequality. Both x-|x| and x|x| approach 00, so the limit is 00. The first choice has constant bounds that do not both approach the same limit; the third uses the wrong power; the fourth wrongly claims the product is nonnegative.
Explain why the Squeeze Theorem cannot be used to find limx0sin ⁣(1x)\lim_{x \to 0} \sin\!\left(\dfrac{1}{x}\right), and state what you can conclude about this limit.

Answer: The theorem cannot apply because the natural bounds 1-1 and 11 do not approach the same value; the limit does not exist.

The only obvious bounds are the constants 1sin(1/x)1-1 \le \sin(1/x) \le 1. Their limits as x0x \to 0 are 1-1 and 11, which are not equal, so the Squeeze Theorem gives no conclusion. There is no shrinking factor to crush the oscillation. In fact sin(1/x)\sin(1/x) takes every value in [1,1][-1,1] infinitely often near 00, so the limit does not exist. This illustrates that the theorem requires the outer limits to agree.
Given that 4x5f(x)x22x+34x - 5 \le f(x) \le x^2 - 2x + 3 for all xx near 22, find limx2f(x)\lim_{x \to 2} f(x).

Answer: 3

Evaluate both bounds at the target. The lower bound gives limx2(4x5)=4(2)5=3\lim_{x\to 2}(4x-5)=4(2)-5=3. The upper bound gives limx2(x22x+3)=44+3=3\lim_{x\to 2}(x^2-2x+3)=4-4+3=3. Because both outer functions approach the same value 33 and ff is trapped between them, the Squeeze Theorem forces limx2f(x)=3\lim_{x\to 2} f(x)=3.

FAQ

When should I reach for the Squeeze Theorem instead of algebra?
Use it when a function oscillates or is otherwise trapped between two known bounds and ordinary methods fail. The classic signal is a bounded factor like sin(something)\sin(\text{something}) or cos(something)\cos(\text{something}) multiplied by a factor that goes to zero. If you can factor, cancel, or substitute, use those simpler tools first.
Why do I need absolute values sometimes but not others?
When you multiply an inequality by a factor, a negative multiplier flips the inequality. If the multiplying factor is always nonnegative near cc (like x2x^2), the direction is safe. If it can be positive or negative (like plain xx near 00), use xx-|x| \le \dots \le |x| so the bounds stay valid regardless of sign.
Do the outer functions have to touch the middle function?
No. They only need to satisfy g(x)f(x)h(x)g(x) \le f(x) \le h(x) near cc and share the same limit LL. They do not have to equal ff anywhere. The trapping plus the agreement of the outer limits is all the theorem requires.
What justification do I need to write on the free-response section?
State the bounding inequality, take the limit of both the lower and upper bounds, note that these two limits are equal to the same value LL, and then conclude by the Squeeze Theorem that the middle limit equals LL. Writing only the final number usually loses justification points.

Learn this with a teacher, not a page

The Crimsora tutor teaches U1.8 Determining Limits Using the Squeeze Theorem live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.