The Central Idea

Suppose three functions satisfy

\[ g(x)\le f(x)\le h(x) \]

for \(x\) sufficiently close to \(a\), and suppose

\[ \lim_{x\to a}g(x)=L \]

and

\[ \lim_{x\to a}h(x)=L. \]

Then the function in the middle must also approach \(L\):

\[ \boxed{\lim_{x\to a}f(x)=L}. \]

Why the Theorem Works

The lower function \(g(x)\) approaches \(L\) from one side or nearby, while the upper function \(h(x)\) also approaches \(L\).

Since

\[ g(x)\le f(x)\le h(x), \]

the middle function has no room to approach a different value.

As the two outer functions close in on \(L\), the middle function is squeezed toward the same target.

The Formal Statement

Let \(f\), \(g\), and \(h\) be functions defined near \(a\), possibly not at \(a\) itself.

If

\[ g(x)\le f(x)\le h(x) \]

for all \(x\) sufficiently close to \(a\), and

\[ \lim_{x\to a}g(x) = \lim_{x\to a}h(x) = L, \]

then

\[ \boxed{\lim_{x\to a}f(x)=L}. \]

The Middle Function Does Not Need an Easy Formula

The Squeeze Theorem is useful precisely because \(f(x)\) may be difficult to analyze directly.

We only need enough information to place it between functions whose limits are easier to evaluate.

A Simple Numerical Picture

Suppose near \(x=a\),

\[ 4-\varepsilon(x) \le f(x) \le 4+\varepsilon(x), \]

where

\[ \varepsilon(x)\to0. \]

Then both bounds approach \(4\).

Therefore,

\[ \boxed{\lim_{x\to a}f(x)=4}. \]

The Absolute-Value Version

One of the most useful forms of squeezing begins with an absolute-value bound.

If

\[ |f(x)|\le g(x) \]

and

\[ g(x)\to0, \]

then

\[ -g(x)\le f(x)\le g(x). \]

Therefore,

\[ \boxed{\lim f(x)=0}. \]

Why Absolute Values Are So Useful

An absolute-value inequality controls both positive and negative behavior at once.

From

\[ |f(x)|\le g(x), \]

we immediately obtain

\[ -g(x)\le f(x)\le g(x). \]

If the right-hand bound shrinks to zero, the middle expression is forced to zero.

A Basic Oscillatory Bound

The sine function satisfies

\[ -1\le\sin t\le1 \]

for every real \(t\).

Equivalently,

\[ |\sin t|\le1. \]

This simple fact becomes powerful when sine is multiplied by something that approaches zero.

Example: \(x\sin(1/x)\)

Evaluate

\[ \lim_{x\to0}x\sin\left(\frac1x\right). \]

The factor

\[ \sin\left(\frac1x\right) \]

oscillates and has no limit as \(x\to0\).

But it remains bounded:

\[ \left|\sin\left(\frac1x\right)\right|\le1. \]

Finish the Squeeze

Multiply the bound by \(|x|\):

\[ \left| x\sin\left(\frac1x\right) \right| \le |x|. \]

Since

\[ |x|\to0, \]

we have

\[ -|x| \le x\sin\left(\frac1x\right) \le |x|. \]

Therefore,

\[ \boxed{ \lim_{x\to0} x\sin\left(\frac1x\right) =0 }. \]

Oscillation Can Be Controlled by a Shrinking Factor

The expression

\[ \sin\left(\frac1x\right) \]

keeps oscillating.

But multiplying it by \(x\) makes the amplitude shrink toward zero.

The oscillation survives, but its vertical range collapses.

Another Example: \(x^2\cos(1/x)\)

Since

\[ |\cos t|\le1, \]

we have

\[ \left| x^2\cos\left(\frac1x\right) \right| \le x^2. \]

Because

\[ x^2\to0, \]

the Squeeze Theorem gives

\[ \boxed{ \lim_{x\to0} x^2\cos\left(\frac1x\right) =0 }. \]

A General Bounded-Factor Pattern

Suppose

\[ |g(x)|\le M \]

near \(x=a\), where \(M\) is a fixed positive constant, and suppose

\[ f(x)\to0. \]

Then

\[ |f(x)g(x)| \le M|f(x)|. \]

Since

\[ M|f(x)|\to0, \]

we obtain

\[ \boxed{f(x)g(x)\to0}. \]

Bounded Times Vanishing Goes to Zero

This produces a useful shortcut:

\[ \boxed{ \text{bounded function} \times \text{function tending to }0 \to0 }. \]

The bounded factor does not need to have a limit of its own.

Example with a Bounded Unknown Function

Suppose

\[ |g(x)|\le7 \]

near \(x=0\).

Evaluate

\[ \lim_{x\to0}x^3g(x). \]

We have

\[ |x^3g(x)| \le 7|x|^3. \]

Since

\[ 7|x|^3\to0, \]

therefore

\[ \boxed{\lim_{x\to0}x^3g(x)=0}. \]

The Famous Trigonometric Limit

One of the most important uses of the Squeeze Theorem is proving

\[ \boxed{ \lim_{x\to0}\frac{\sin x}{x}=1 }. \]

This limit later becomes fundamental in differentiating trigonometric functions.

A Geometric Comparison

For small positive \(x\), measured in radians, unit-circle geometry gives

\[ \sin x < x < \tan x. \]

Dividing by the positive quantity \(x\),

\[ \frac{\sin x}{x}<1<\frac{\tan x}{x}. \]

Rearrange the Trigonometric Inequality

Since

\[ \tan x=\frac{\sin x}{\cos x}, \]

the inequality

\[ x<\tan x \]

implies

\[ x< \frac{\sin x}{\cos x}. \]

Multiplying by \(\cos x\) for sufficiently small positive \(x\),

\[ x\cos x<\sin x. \]

Dividing by \(x>0\),

\[ \cos x< \frac{\sin x}{x}. \]

The Squeeze for \(\sin x/x\)

We now have

\[ \cos x \le \frac{\sin x}{x} \le 1 \]

for sufficiently small positive \(x\).

As \(x\to0\),

\[ \cos x\to1 \]

and

\[ 1\to1. \]

Therefore,

\[ \boxed{ \lim_{x\to0^+}\frac{\sin x}{x}=1 }. \]

Extend the Result to Both Sides

Because

\[ \frac{\sin(-x)}{-x} = \frac{\sin x}{x}, \]

the function

\[ \frac{\sin x}{x} \]

is even wherever it is defined.

Therefore the same limit holds from the left:

\[ \boxed{ \lim_{x\to0}\frac{\sin x}{x}=1 }. \]

Radians Are Essential

The standard limit

\[ \lim_{x\to0}\frac{\sin x}{x}=1 \]

assumes that \(x\) is measured in radians.

Using degrees changes the scale factor and therefore changes the limit.

A Related Limit

Evaluate

\[ \lim_{x\to0}\frac{\sin(5x)}{x}. \]

Rewrite:

\[ \frac{\sin(5x)}{x} = 5\frac{\sin(5x)}{5x}. \]

Since

\[ \frac{\sin(5x)}{5x}\to1, \]

therefore

\[ \boxed{5}. \]

Another Related Limit

Evaluate

\[ \lim_{x\to0}\frac{\sin(3x)}{2x}. \]

Rewrite:

\[ \frac{\sin(3x)}{2x} = \frac32 \frac{\sin(3x)}{3x}. \]

Therefore,

\[ \boxed{\frac32}. \]

A Derived Cosine Limit

Another important result is

\[ \boxed{ \lim_{x\to0}\frac{1-\cos x}{x}=0 }. \]

One way to see this is to rationalize:

\[ \frac{1-\cos x}{x} \cdot \frac{1+\cos x}{1+\cos x} = \frac{\sin^2 x}{x(1+\cos x)}. \]

Rewrite as

\[ \frac{\sin x}{x} \cdot \frac{\sin x}{1+\cos x}. \]

The first factor approaches \(1\), and the second approaches \(0\).

Therefore the product approaches \(0\).

A Second Important Cosine Limit

We also have

\[ \boxed{ \lim_{x\to0}\frac{1-\cos x}{x^2} = \frac12 }. \]

Using

\[ 1-\cos x = 2\sin^2\left(\frac{x}{2}\right), \]

we obtain

\[ \frac{1-\cos x}{x^2} = \frac12 \left( \frac{\sin(x/2)}{x/2} \right)^2. \]

The squared factor approaches \(1\), leaving

\[ \boxed{\frac12}. \]

Squeezing Does Not Require Symmetric Bounds

The lower and upper functions do not need to look like

\[ -g(x) \qquad\text{and}\qquad g(x). \]

Any two functions work as long as

\[ g(x)\le f(x)\le h(x) \]

and both outer functions approach the same limit.

Example with Different Bounds

Suppose near \(x=2\),

\[ 3-(x-2)^2 \le f(x) \le 3+|x-2|. \]

As \(x\to2\),

\[ 3-(x-2)^2\to3 \]

and

\[ 3+|x-2|\to3. \]

Therefore,

\[ \boxed{\lim_{x\to2}f(x)=3}. \]

One-Sided Squeeze Theorem

The theorem also works for one-sided limits.

If

\[ g(x)\le f(x)\le h(x) \]

for \(x\) approaching \(a\) from the right, and

\[ \lim_{x\to a^+}g(x) = \lim_{x\to a^+}h(x) = L, \]

then

\[ \boxed{\lim_{x\to a^+}f(x)=L}. \]

Squeeze Theorem at Infinity

The same idea works as

\[ x\to+\infty \]

or

\[ x\to-\infty. \]

If a function is trapped between two bounds that approach the same long-run value, the middle function has the same limit.

Example at Infinity

Evaluate

\[ \lim_{x\to+\infty} \frac{\sin x}{x}. \]

Since

\[ |\sin x|\le1, \]

we have

\[ \left|\frac{\sin x}{x}\right| \le \frac1x \]

for \(x>0\).

Since

\[ \frac1x\to0, \]

therefore

\[ \boxed{ \lim_{x\to+\infty} \frac{\sin x}{x} =0 }. \]

Another Limit at Infinity

Evaluate

\[ \lim_{x\to+\infty} \frac{\cos(x^2)}{x^2}. \]

Because

\[ |\cos(x^2)|\le1, \]

we get

\[ \left| \frac{\cos(x^2)}{x^2} \right| \le \frac{1}{x^2}. \]

Since

\[ \frac{1}{x^2}\to0, \]

we conclude

\[ \boxed{0}. \]

The Bounding Functions Need Only Work Nearby

For a limit at \(x=a\), the inequality

\[ g(x)\le f(x)\le h(x) \]

does not need to hold for every real \(x\).

It only needs to hold sufficiently close to the target.

Limits are local statements.

The Function Need Not Be Defined at the Target

The Squeeze Theorem concerns nearby values.

Therefore, \(f(a)\) may be undefined and the theorem can still determine

\[ \lim_{x\to a}f(x). \]

This is consistent with the general theory of limits.

How to Find Useful Bounds

The hardest part is often discovering the inequalities.

Useful sources include:

Start by Bounding the Difficult Part

If an expression contains an oscillatory or otherwise difficult factor, isolate that factor first.

For example, in

\[ x^4\sin\left(\frac{7}{x}\right), \]

the difficult part is the sine factor.

But

\[ \left|\sin\left(\frac{7}{x}\right)\right|\le1. \]

Therefore,

\[ \left| x^4\sin\left(\frac{7}{x}\right) \right| \le x^4. \]

Finish the Bound

Since

\[ x^4\to0 \]

as \(x\to0\),

the Squeeze Theorem gives

\[ \boxed{ \lim_{x\to0} x^4\sin\left(\frac{7}{x}\right) =0 }. \]

A General Power-Oscillation Pattern

For any positive power \(p\),

\[ |x|^p\to0 \]

as \(x\to0\).

Therefore, if \(g(x)\) is bounded near \(0\),

\[ \boxed{ |x|^p g(x)\to0 }. \]

This pattern appears repeatedly in analysis.

Comparison with a Vanishing Envelope

It is often helpful to think of the outer bounds as an envelope around the difficult function.

If the envelope collapses toward one value, the function inside is forced to collapse toward the same value.

A Reliable Procedure

  1. Identify the difficult part of the function.
  2. Find a lower and upper bound, or an absolute-value bound.
  3. Verify that the inequalities hold near the target.
  4. Evaluate the limits of the bounding functions.
  5. Check that both bounding limits agree.
  6. Apply the Squeeze Theorem.
  7. State the middle function's limit explicitly.

Example: Full Squeeze Workflow

Evaluate

\[ \lim_{x\to0} x^2\sin\left(\frac{3}{x}\right). \]

Since

\[ \left| \sin\left(\frac{3}{x}\right) \right| \le1, \]

we have

\[ \left| x^2\sin\left(\frac{3}{x}\right) \right| \le x^2. \]

Therefore,

\[ -x^2 \le x^2\sin\left(\frac{3}{x}\right) \le x^2. \]

Both outer functions approach \(0\).

Hence,

\[ \boxed{0}. \]

When the Squeeze Theorem Does Not Help

The method fails if the two bounding functions approach different values.

For example, if

\[ 0\le f(x)\le1, \]

the bounds approach \(0\) and \(1\), not the same number.

These inequalities alone do not determine the limit of \(f(x)\).

Bounding Alone Is Not Enough

The key requirement is not merely that a function is bounded.

The bounds must converge to the same limit.

A bounded oscillating function such as

\[ \sin x \]

remains between \(-1\) and \(1\), but those constant bounds do not squeeze toward one value.

Common Error: Reversing an Inequality Incorrectly

Multiplying or dividing an inequality by a negative quantity reverses the inequality signs.

This is one reason absolute-value bounds are often safer and cleaner.

Common Error: Using Bounds with Different Limits

The Squeeze Theorem requires

\[ \lim g(x) = \lim h(x). \]

If the lower and upper limits differ, the theorem cannot identify a unique limit for the middle function.

Common Error: Forgetting to Verify the Inequality

A correct-looking pair of outer limits is not enough.

You must also know that

\[ g(x)\le f(x)\le h(x) \]

actually holds near the target.

Common Error: Assuming the Middle Function Needs Its Own Limit First

The whole purpose of the Squeeze Theorem is to determine the middle limit from the outer limits.

We do not assume the middle limit in advance.

Common Error: Treating Oscillation as Automatic Failure

Oscillation alone does not always destroy a limit.

The expression

\[ \sin\left(\frac1x\right) \]

has no limit as \(x\to0\).

But

\[ x\sin\left(\frac1x\right) \]

does have the limit \(0\), because the oscillation is squeezed into a shrinking envelope.

Practice 1: Basic Absolute-Value Squeeze

Suppose

\[ |f(x)|\le x^2 \]

near \(x=0\).

Find

\[ \lim_{x\to0}f(x). \]

Practice 2: Oscillatory Product

Evaluate:

\[ \lim_{x\to0} x\cos\left(\frac1x\right). \]

Practice 3: Higher Power

Evaluate:

\[ \lim_{x\to0} x^3\sin\left(\frac5x\right). \]

Practice 4: Bounded Unknown Function

Suppose

\[ |g(x)|\le12 \]

near \(x=0\).

Evaluate:

\[ \lim_{x\to0}x^2g(x). \]

Practice 5: Standard Trigonometric Limit

Evaluate:

\[ \lim_{x\to0}\frac{\sin x}{x}. \]

Practice 6: Scaled Sine Limit

Evaluate:

\[ \lim_{x\to0}\frac{\sin(4x)}{x}. \]

Practice 7: Another Scaled Limit

Evaluate:

\[ \lim_{x\to0}\frac{\sin(7x)}{3x}. \]

Practice 8: Limit at Infinity

Evaluate:

\[ \lim_{x\to+\infty}\frac{\cos x}{x}. \]

Practice 9: Compare the Bounds

Suppose

\[ 2-(x-1)^2 \le f(x) \le 2+|x-1| \]

near \(x=1\).

Find

\[ \lim_{x\to1}f(x). \]

Practice 10: Identify the Error

A student argues:

\[ -1\le\sin\left(\frac1x\right)\le1 \]

and concludes

\[ \lim_{x\to0}\sin\left(\frac1x\right)=0. \]

Explain why the Squeeze Theorem does not justify that conclusion.

Practice Answers

Practice 1

From

\[ |f(x)|\le x^2, \]

we get

\[ -x^2\le f(x)\le x^2. \]

Both bounds approach \(0\), so

\[ \boxed{\lim_{x\to0}f(x)=0}. \]

Practice 2

\[ \left| x\cos\left(\frac1x\right) \right| \le |x|. \]

Since \(|x|\to0\),

\[ \boxed{0}. \]

Practice 3

\[ \left| x^3\sin\left(\frac5x\right) \right| \le |x|^3. \]

Since \(|x|^3\to0\),

\[ \boxed{0}. \]

Practice 4

\[ |x^2g(x)| \le 12x^2. \]

Since \(12x^2\to0\),

\[ \boxed{0}. \]

Practice 5

\[ \boxed{1}. \]

Practice 6

Rewrite:

\[ \frac{\sin(4x)}{x} = 4\frac{\sin(4x)}{4x}. \]

Therefore,

\[ \boxed{4}. \]

Practice 7

\[ \frac{\sin(7x)}{3x} = \frac73 \frac{\sin(7x)}{7x}. \]

Therefore,

\[ \boxed{\frac73}. \]

Practice 8

Since

\[ |\cos x|\le1, \]

we have

\[ \left|\frac{\cos x}{x}\right| \le \frac1x \]

for \(x>0\).

Since \(1/x\to0\),

\[ \boxed{0}. \]

Practice 9

Both bounds approach \(2\):

\[ 2-(x-1)^2\to2 \]

and

\[ 2+|x-1|\to2. \]

Therefore,

\[ \boxed{\lim_{x\to1}f(x)=2}. \]

Practice 10

The lower bound approaches \(-1\), while the upper bound approaches \(1\).

The bounding limits are not equal, so the Squeeze Theorem does not apply.

In fact,

\[ \sin\left(\frac1x\right) \]

oscillates and has no limit as \(x\to0\).

What to Remember

The Squeeze Theorem says:

\[ g(x)\le f(x)\le h(x) \]

and

\[ \lim_{x\to a}g(x) = \lim_{x\to a}h(x) = L \]

imply

\[ \boxed{\lim_{x\to a}f(x)=L}. \]

The central strategy is: find an envelope that traps the difficult function and collapses to one common value.

Where We Go Next

The Squeeze Theorem is a comparison tool for determining exact limiting behavior. A broader question asks how functions compare when inputs become very large or approach critical values, even when no finite limit is the main focus.

The next lesson, Asymptotic Behavior, studies dominant terms, relative growth, asymptotes, and the large-scale behavior of functions.