On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Introduction to Calculus · Grade 9-12

Squeeze Theorem

The Squeeze Theorem finds lim⁡x→af(x) by bounding f between two simpler functions g≤f≤h that share the same limit L; then f is forced to L.

If g(x)≤f(x)≤h(x) and lim⁡x→ag(x)=lim⁡x→ah(x)=L, then lim⁡x→af(x)=L.

Quick Answer

The Squeeze Theorem finds lim⁡x→af(x) by bounding f between two simpler functions g≤f≤h that share the same limit L; then f is forced to L. Use it when part of the function wobbles in a way you cannot pin down but can bound, such as sin⁡1x or cos⁡(x2), which always stay between −1 and 1, while the rest of the function shrinks to a limit. It is also how the key limit lim⁡x→0sin⁡xx=1 is proved.

Why This Matters

Some limits cannot be found by substitution, factoring or any algebra, because one factor never settles down. The squeeze turns "I cannot compute this" into "I can trap this". It proves lim⁡x→0sin⁡xx=1, which is what gives ddxsin⁡x=cos⁡x, and it settles limits like xsin⁡1x at 0 that no other basic method can reach.

Intuitive Explanation

Walk down a corridor between two friends who are both heading for the same door. You may drift left and right as much as you like, but you must stay between them. When both of them reach the door, so do you. That is the squeeze: if g(x)≤f(x)≤h(x) near a, and g and h both approach L, then f has nowhere to go except L.

Take f(x)=x2sin⁡1x near 0. The factor sin⁡1x swings between −1 and 1 infinitely often as x approaches 0, so on its own it has no limit. But it is multiplied by x2, which shrinks. Multiply −1≤sin⁡1x≤1 by x2, which is never negative, to get −x2≤x2sin⁡1x≤x2. At x=0.01 the function is trapped between −0.0001 and 0.0001. Both bounds go to 0, so the function does too.

The bounds must meet. sin⁡1x alone is trapped between −1 and 1, but those bounds stay 2 apart, so the squeeze says nothing, and in fact sin⁡1x has no limit at 0. The inequalities must also be true on both sides of a. Multiplying −1≤sin⁡1x≤1 by x flips the inequalities when x<0, which is why ∣x∣ is the safe multiplier for xsin⁡1x.

Think of it like this. Two police officers walk a suspect toward the station door, one on each side. The suspect can sway between them but cannot escape, so when both officers reach the door, the suspect does too. If the officers head for different doors, their walk proves nothing about where the suspect ends up.

Core idea. If f is sandwiched between g and h that both approach L, then f must approach L too.


When to Use

Use it when a limit contains a factor that oscillates or cannot be simplified, such as sin⁡1x, cos⁡1x2 or (−1)n, multiplied by something that goes to 0, and you can bound that factor between **−1 and 1**. If substitution works, substitute. If the limit is a 00 quotient of smooth functions, factoring or L'Hopital's rule is usually faster. If the bounds you find approach different values, the squeeze tells you nothing.

Tip. Ask: Can I bound this function between two functions that approach the SAME limit at the point?

How to Recognize It

Look for a factor you cannot simplify but can bound, and check what the rest of the expression does at the point.

  1. Does plain substitution or algebra already give the limit?

    If it does, use direct substitution or factoring and stop. The squeeze is for limits where those fail, typically because a piece like sin⁡1x has no limit of its own.

  2. Is there a factor that stays between fixed numbers, such as sin⁡, cos⁡ or (−1)n?

    Yes gives you the bounds, often −1≤cos⁡(…)≤1. With no bounded, wobbling piece, the difficulty is usually a 00 quotient, which belongs to factoring or L'Hopital's Rule.

  3. Is the bounded factor multiplied by something that goes to 0?

    Yes means bounds like −∣x∣ and ∣x∣ both go to 0, so the limit is 0. If the bounded factor stands alone, as in lim⁡x→0cos⁡1x, its bounds stay at −1 and 1 and there is no limit.

  4. Is the question asking for a limit, rather than whether a value is reached?

    A limit is the squeeze's job. Proving that f(c)=N for some c in an interval is the Intermediate Value Theorem, which also compares the function with numbers but answers a different question.

Squeeze Theorem compared with Direct substitution, L'Hopital's Rule, and Intermediate Value Theorem

These four rows are all ways of handling a limit or an interval, so they compete for the same problems. What separates them is the trouble you face: none, a 00 quotient, a bounded wobble, or a value that must be shown to exist.

Squeeze Theorem

Meaning
Use this when a limit is hard to take directly but you can trap the function between two bounds that approach the same value.
Key test
Can I bound this function between two functions that approach the SAME limit at the point?
Formula
If g(x)≤f(x)≤h(x) and lim⁡x→ag(x)=lim⁡x→ah(x)=L, then lim⁡x→af(x)=L.
Example
Find lim⁡x→0x2sin⁡ ⁣(1x).

Direct substitution

Meaning
Plugs a into a continuous function to get the limit immediately.
Key test
Use first whenever the function is continuous at a and gives a real value.
Formula
lim⁡x→af=f(a)
Example
lim⁡x→2(x2)=4

L'Hopital's Rule

Meaning
Resolves 00 or ∞∞ by differentiating top and bottom.
Key test
Use when the limit is an indeterminate quotient, not an oscillating bounded product.
Formula
lim⁡f′g′
Example
lim⁡x→0sin⁡xx=1 via derivatives

Intermediate Value Theorem

Meaning
Guarantees a function HITS a value on an interval; squeeze finds a LIMIT.
Key test
Use when proving a value is attained, not finding a limit.
Formula
f(c)=N
Example
a root exists in [a,b]

Formula & Notation

If g(x)≤f(x)≤h(x) and lim⁡x→ag(x)=lim⁡x→ah(x)=L, then lim⁡x→af(x)=L.
If ∃δ0>0 such that g(x)≤f(x)≤h(x) for all x with 0<∣x−a∣<δ0, and lim⁡x→ag(x)=lim⁡x→ah(x)=L, then lim⁡x→af(x)=L.

How to read it: g(x)≤f(x)≤h(x) — g is the lower bound, h is the upper bound, and f is squeezed between them.

Worked Examples

Example 1 — Squeeze an oscillating limit

Easy

Find lim⁡x→0x2sin⁡ ⁣(1x).
Show the steps and the answer
  1. Notice that substitution fails: sin⁡1x is undefined at 0 and swings between −1 and 1 near it.

    No algebra removes the oscillation, but its size is limited.

  2. Start from −1≤sin⁡1x≤1 and multiply by x2≥0: −x2≤x2sin⁡1x≤x2.

    Multiplying by a non-negative number keeps the inequalities pointing the same way.

  3. Take the limits of the bounds: lim⁡x→0(−x2)=0 and lim⁡x→0x2=0.

    Both bounds approach the same value, so the function between them is forced to 0.

  4. Spot-check: at x=0.1 the function lies between −0.01 and 0.01; at x=0.01, between −0.0001 and 0.0001.

    The trapped values shrink toward 0 as the bounds close in.

Answer: 0

Takeaway: Bound the oscillating factor by ±1, multiply by the shrinking factor, and check that both bounds share a limit.

Example 2 — Bounds disagree

Standard

Can the Squeeze Theorem find lim⁡x→0sin⁡(1/x) using −1≤sin⁡(1/x)≤1?
Show the steps and the answer
  1. Find the bounds' limits: −1 stays −1 and 1 stays 1.

    The bounds approach different values, leaving a gap of width 2 for the function to move in.

  2. Test points: sin⁡1x=1 at x=2π,25π,… and −1 at x=23π,27π,….

    However close you get to 0, the function still reaches both 1 and −1.

  3. Conclude: the squeeze gives no answer, and the limit does not exist.

    A function that keeps hitting both 1 and −1 near 0 cannot approach a single number.

Answer: Squeeze does not apply — the limit does not exist

Takeaway: The squeeze works only when both bounds approach the same limit; bounds that stay apart prove nothing.

Example 3 — Find the mistake: bounds that flip

Application

Find lim⁡x→0xsin⁡1x. Raj writes: "Since −1≤sin⁡1x≤1, multiplying by x gives −x≤xsin⁡1x≤x. Both bounds go to 0, so the limit is 0." Find the mistake and correct it.
Show the steps and the answer
  1. Test Raj's inequality at x=−0.1: it claims 0.1≤(−0.1)sin⁡10≤−0.1.

    The lower bound 0.1 is bigger than the upper bound −0.1, so nothing fits between them; the inequality is false for negative x.

  2. Find the cause: multiplying an inequality by x reverses it when x<0.

    Raj multiplied by a number that is negative on the left half of every interval around 0.

  3. Use ∣x∣ instead: ∣xsin⁡1x∣≤∣x∣, so −∣x∣≤xsin⁡1x≤∣x∣ for every x≠0.

    ∣x∣ is never negative, so these bounds hold on both sides of 0.

  4. Take the limits: lim⁡x→0(−∣x∣)=lim⁡x→0∣x∣=0.

    Both valid bounds close on 0, so the squeeze now gives the limit legitimately.

Answer: lim⁡x→0xsin⁡1x=0, using the bounds −∣x∣ and ∣x∣

Takeaway: Check that g(x)≤f(x)≤h(x) really holds on both sides of a; when the multiplier can be negative, bound with absolute values.

Where You'll See It

  • Why engineers use sin x ≈ x

    For a small angle x in radians, a sector of the unit circle sits between two triangles, which gives cos⁡x≤sin⁡xx≤1. Both bounds approach 1, so sin⁡xx→1. That justifies sin⁡x≈x for small swings: a pendulum at 5°, or 0.0873 rad, has sin⁡x≈0.0872.

  • Archimedes trapping pi

    Archimedes placed a circle between an inscribed and a circumscribed 96-sided polygon, whose perimeters he could compute, and found 31071<π<317. More sides bring both bounds closer, and in the limit they squeeze to the single value π.

Common Mistakes

  1. The slip: Choosing bounds with unequal limits

    Instead: the two bounding functions must approach the same L or the theorem says nothing.

  2. The slip: Bounding in the wrong direction

    Instead: verify g(x)≤f(x)≤h(x) actually holds near a, not just that the bounds look simpler.

  3. The slip: Forgetting the inequality only needs to hold near a

    Instead: it does not have to hold everywhere, just in a neighborhood of the point.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find lim⁡x→∞sin⁡xx.

    Hint: Sine stays between −1 and 1. Divide that inequality by x.

  2. Find lim⁡x→∞cos⁡2xx2+1.

    Hint: cos⁡2x is always between 0 and 1.

  3. Suppose 4x−9≤f(x)≤x2−4x+7 for all x near 4. Find lim⁡x→4f(x).

    Hint: Find the limit of each bound as x→4.

  4. Find lim⁡x→0+x esin⁡(1/x).

    Hint: Since −1≤sin⁡(1/x)≤1, the factor esin⁡(1/x) stays between two fixed numbers.

  5. To find lim⁡x→0xcos⁡(1x), can you substitute x=0, or do you need the Squeeze Theorem?

    Hint: What happens to cos⁡(1x) at x=0?

  6. To find lim⁡x→0xsin⁡(1x2), a student uses −1≤xsin⁡(1x2)≤1 and says the theorem gives no answer. Correct the work.

    Hint: The bounds must approach the same number. Can you use bounds that involve x?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why can't I write lim⁡(xsin⁡1x)=lim⁡x⋅lim⁡sin⁡1x?

The product rule for limits works only when both limits exist, and lim⁡x→0sin⁡1x\lim_{x\to0}\sin\frac1x does not: the function swings between −1-1 and 11 infinitely often as xx approaches 0. The squeeze gets around this by never needing the limit of the wobbling part, only its bounds. That is how −∣x∣≤xsin⁡1x≤∣x∣-|x|\le x\sin\frac1x\le|x| gives the limit 0.

How does the squeeze prove lim⁡x→0sin⁡xx=1?

On the unit circle, compare a small triangle, a sector and a larger triangle for a small angle xx: their areas give sin⁡x≤x≤tan⁡x\sin x\le x\le\tan x. Dividing by sin⁡x\sin x and flipping gives cos⁡x≤sin⁡xx≤1\cos x\le\frac{\sin x}{x}\le1. As x→0x\to0, cos⁡x→1\cos x\to1, so the ratio is squeezed to 1. This limit is why the derivative of sin⁡x\sin x is cos⁡x\cos x.

Does the squeeze theorem work for sequences and limits at infinity?

Yes, the same reasoning works wherever a limit is taken. For example, cos⁡nn\frac{\cos n}{n} lies between −1n-\frac1n and 1n\frac1n, and both bounds go to 0 as n→∞n\to\infty, so the sequence goes to 0. The inequality only has to hold eventually, for all large nn, just as for x→ax\to a it only has to hold near aa.

Learning Path

← Before

Limit
Squeeze Theorem

You are here

You need Limit: what lim⁡x→af(x) means and the basic limit laws. The Squeeze Theorem adds a way to find a limit by trapping a function between two others with the same limit. Next, Types of Continuity and Discontinuity uses limits like these to decide whether a function such as xsin⁡1x, given the value 0 at x=0, is continuous there.

See Also