Squeeze Theorem Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Squeeze Theorem.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

If g(x)≀f(x)≀h(x)g(x) \leq f(x) \leq h(x) near x=ax = a, and lim⁑xβ†’ag(x)=lim⁑xβ†’ah(x)=L\lim_{x \to a} g(x) = \lim_{x \to a} h(x) = L, then lim⁑xβ†’af(x)=L\lim_{x \to a} f(x) = L.

If ff is squeezed between two functions that both approach the same value LL, then ff has no choiceβ€”it must also approach LL. Like being caught between two walls closing in to the same point.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: If ff is sandwiched between gg and hh that both approach LL, then ff must approach LL too.

Common stuck point: The procedure for squeeze theorem is the easy part; the trap is choosing bounds with unequal limits. Asking "Can I bound this function between two functions that approach the SAME limit at the point?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Can I bound this function between two functions that approach the SAME limit at the point?

Worked Examples

Example 1

easy
Use the squeeze theorem to find lim⁑xβ†’0x2sin⁑ ⁣(1x)\displaystyle\lim_{x \to 0} x^2 \sin\!\left(\frac{1}{x}\right).

Answer

00

First step

1
Since βˆ’1≀sin⁑ ⁣(1x)≀1-1 \leq \sin\!\left(\frac{1}{x}\right) \leq 1 for all xβ‰ 0x \neq 0:

Full solution

  1. 2
    Multiply by x2β‰₯0x^2 \geq 0: βˆ’x2≀x2sin⁑ ⁣(1x)≀x2-x^2 \leq x^2\sin\!\left(\frac{1}{x}\right) \leq x^2.
  2. 3
    lim⁑xβ†’0(βˆ’x2)=0\lim_{x\to 0}(-x^2) = 0 and lim⁑xβ†’0(x2)=0\lim_{x\to 0}(x^2) = 0.
  3. 4
    By the squeeze theorem: lim⁑xβ†’0x2sin⁑ ⁣(1x)=0\lim_{x\to 0} x^2\sin\!\left(\frac{1}{x}\right) = 0.
The function sin⁑(1/x)\sin(1/x) oscillates wildly near 0, so its limit doesn't exist alone. Multiplying by x2x^2 traps it between βˆ’x2-x^2 and x2x^2, both going to 0, so the product must also go to 0.

Example 2

hard
Use the squeeze theorem to prove lim⁑xβ†’0sin⁑xx=1\displaystyle\lim_{x \to 0} \frac{\sin x}{x} = 1.

Example 3

medium
Use the squeeze theorem to evaluate lim⁑xβ†’0x2sin⁑(1/x2)x\lim_{x\to 0} \dfrac{x^2 \sin(1/x^2)}{x}.

Example 4

medium
Use ∣1βˆ’cos⁑xβˆ£β‰€x22|1-\cos x|\le \dfrac{x^2}{2} to find lim⁑xβ†’01βˆ’cos⁑xx2\lim_{x\to 0} \dfrac{1-\cos x}{x^2} is bounded above by what?

Example 5

hard
Find lim⁑nβ†’βˆžn!nn\lim_{n\to\infty} \dfrac{n!}{n^n} using the squeeze theorem.

Example 6

hard
Use the squeeze theorem to show lim⁑xβ†’βˆžsin⁑x+cos⁑xx=0\lim_{x\to\infty}\dfrac{\sin x + \cos x}{\sqrt{x}}=0.

Example 7

challenge
Show that if ∣f(x)βˆ’Lβˆ£β‰€M∣xβˆ’a∣p|f(x)-L|\le M|x-a|^p for some M>0,p>0M>0, p>0 and all xx near aa, then lim⁑xβ†’af(x)=L\lim_{x\to a} f(x)=L.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Find lim⁑xβ†’0xcos⁑ ⁣(1x)\displaystyle\lim_{x \to 0} x\cos\!\left(\frac{1}{x}\right).

Example 2

medium
Show that lim⁑nβ†’βˆžsin⁑nn=0\displaystyle\lim_{n\to\infty} \frac{\sin n}{n} = 0.

Example 3

easy
Given βˆ’1≀f(x)≀1-1 \leq f(x) \leq 1 and you multiply by x2x^2, what is lim⁑xβ†’0x2f(x)\lim_{x\to0} x^2 f(x)?

Example 4

easy
Evaluate lim⁑xβ†’0x2sin⁑ ⁣(1x)\lim_{x\to0} x^2 \sin\!\left(\frac{1}{x}\right).

Example 5

easy
If g(x)≀f(x)≀h(x)g(x) \leq f(x) \leq h(x) near aa with lim⁑g=lim⁑h=5\lim g = \lim h = 5, what is lim⁑f\lim f?

Example 6

easy
Evaluate lim⁑xβ†’0xcos⁑ ⁣(1x)\lim_{x\to0} x \cos\!\left(\frac{1}{x}\right).

Example 7

easy
What bounds would you use to squeeze x4sin⁑(1/x2)x^4 \sin(1/x^2) near 0?

Example 8

easy
Use boundedness: lim⁑xβ†’βˆžsin⁑xx\lim_{x\to\infty} \frac{\sin x}{x}.

Example 9

easy
If 3βˆ’x2≀f(x)≀3+x23 - x^2 \leq f(x) \leq 3 + x^2, find lim⁑xβ†’0f(x)\lim_{x\to0} f(x).

Example 10

easy
True or false: the squeeze theorem applies if lim⁑g=2\lim g = 2 and lim⁑h=4\lim h = 4.

Example 11

medium
Evaluate lim⁑xβ†’0x2cos⁑ ⁣(1x2)\lim_{x\to0} x^2 \cos\!\left(\frac{1}{x^2}\right).

Example 12

medium
Given cos⁑x≀sin⁑xx≀1\cos x \leq \frac{\sin x}{x} \leq 1 near 0, find lim⁑xβ†’0sin⁑xx\lim_{x\to0} \frac{\sin x}{x}.

Example 13

medium
Evaluate lim⁑xβ†’0+x esin⁑(1/x)\lim_{x\to0^+} \sqrt{x}\, e^{\sin(1/x)}.

Example 14

medium
Find lim⁑xβ†’βˆž2+cos⁑xx\lim_{x\to\infty} \frac{2 + \cos x}{x}.

Example 15

medium
Evaluate lim⁑nβ†’βˆžsin⁑(n)n2\lim_{n\to\infty} \frac{\sin(n)}{n^2} for integer nn.

Example 16

medium
Show lim⁑xβ†’0f(x)=0\lim_{x\to0} f(x) = 0 given ∣f(x)βˆ£β‰€5x2|f(x)| \leq 5x^2.

Example 17

medium
Evaluate lim⁑xβ†’0x2⌊1/xβŒ‹\lim_{x\to0} x^2 \lfloor 1/x \rfloor where βŒŠβ‹…βŒ‹\lfloor\cdot\rfloor is the floor.

Example 18

medium
Find lim⁑xβ†’01βˆ’cos⁑xx\lim_{x\to0} \frac{1 - \cos x}{x} using 0≀1βˆ’cos⁑x≀x220 \leq 1 - \cos x \leq \frac{x^2}{2}.

Example 19

challenge
Prove lim⁑xβ†’0x⌊1/xβŒ‹=1\lim_{x\to0} x \lfloor 1/x \rfloor = 1 does not follow from naive bounds; find the correct limit.

Example 20

medium
Evaluate lim⁑xβ†’0sin⁑(x2)x\lim_{x\to0} \frac{\sin(x^2)}{x} using squeeze ideas.

Example 21

challenge
Use the squeeze theorem to find lim⁑nβ†’βˆž2n+3nn\lim_{n\to\infty} \sqrt[n]{2^n + 3^n}.

Example 22

challenge
Given ∣f(x)βˆ’3βˆ£β‰€βˆ£xβˆ’2∣|f(x) - 3| \leq |x - 2| for all xx, prove lim⁑xβ†’2f(x)=3\lim_{x\to2} f(x) = 3.

Example 23

easy
Given βˆ’x2≀f(x)≀x2-x^2\le f(x)\le x^2 near 00, find lim⁑xβ†’0f(x)\lim_{x\to 0} f(x).

Example 24

easy
Evaluate lim⁑xβ†’0x3sin⁑(1/x)\lim_{x\to 0} x^3 \sin(1/x).

Example 25

easy
Find lim⁑xβ†’βˆžcos⁑xx\lim_{x\to\infty} \frac{\cos x}{x}.

Example 26

easy
Bound for the squeeze: write inequalities for x2cos⁑(1/x)x^2 \cos(1/x) valid near 00.

Example 27

medium
Evaluate lim⁑xβ†’0x2esin⁑(1/x)\lim_{x\to 0} x^2 e^{\sin(1/x)}.

Example 28

medium
Find lim⁑xβ†’βˆž5+3sin⁑xx2\lim_{x\to\infty} \dfrac{5+3\sin x}{x^2}.

Example 29

medium
For 0<x<Ο€20<x<\tfrac{\pi}{2} we have sin⁑x<x\sin x<x. Use the squeeze theorem (with 0≀sin⁑x≀x0\le \sin x\le x) to find lim⁑xβ†’0+sin⁑x\lim_{x\to 0^+}\sin x.

Example 30

medium
Find lim⁑xβ†’0sin⁑(5x)5x\lim_{x\to 0} \dfrac{\sin(5x)}{5x}.

Example 31

medium
Evaluate lim⁑xβ†’0x4cos⁑(1/x)\lim_{x\to 0} x^4 \cos(1/x).

Example 32

hard
Find lim⁑nβ†’βˆž1n+2n+3nn\lim_{n\to\infty} \sqrt[n]{1^n+2^n+3^n}.

Example 33

hard
Find lim⁑xβ†’0sin⁑(x)cos⁑(1/x)\lim_{x\to 0} \sin(x)\cos(1/x).

Example 34

hard
Find lim⁑nβ†’βˆž1+2+β‹―+⌊nsin⁑nβŒ‹n2\lim_{n\to\infty} \dfrac{1+2+\cdots+\lfloor n\sin n\rfloor}{n^2} bounded in absolute value.

Example 35

hard
Find lim⁑nβ†’βˆžnn\lim_{n\to\infty} \sqrt[n]{n} using the squeeze theorem (granting nnβ‰₯1\sqrt[n]{n}\ge 1 and nn≀1+2/n\sqrt[n]{n}\le 1+\sqrt{2/n} for nβ‰₯2n\ge 2).

Example 36

challenge
Find lim⁑nβ†’βˆž1nβˆ‘k=1n1n2+k\lim_{n\to\infty} \dfrac{1}{n}\sum_{k=1}^{n}\dfrac{1}{\sqrt{n^2+k}} using a squeeze.

Background Knowledge

These ideas may be useful before you work through the harder examples.

limit