Skip to main content

The squeeze theorem: statement for functions and sequences, building the two bounding inequalities, limits of sin n over n and x squared sin of 1 over x, the limit of sin x over x, sums and integrals trapped between bounds (new in the 2024 Extension 2 syllabus)

Syllabus dot point

“Use inequalities and the squeeze theorem to prove results about limits of sequences and functions”

HSCMaths Extension 2Proof (MEX-P1)12 min read

Quick answer

If f(x)≤g(x)≤h(x)f(x) \leq g(x) \leq h(x) near aa and ff and hh both tend to LL, then g→Lg \to L (and the same for sequences). Build an inequality that traps the awkward quantity, show both bounds tend to the same limit and name the theorem: used for sin⁡nn\frac{\sin n}{n}, x2sin⁡1xx^2 \sin\frac{1}{x}, n!nn\frac{n!}{n^n}, sums of nn terms, integral bounds and sin⁡xx\frac{\sin x}{x}. New to Extension 2 in the 2024 syllabus.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Practice questions

What this dot point is asking

The squeeze theorem is new to the Mathematics Extension 2 11-12 Syllabus (2024), first examined in the 2027 HSC. NESA lists it in Year 12 The nature of proof, under "Proof of inequalities", alongside the triangle inequality, the arithmetic and geometric mean inequality, and graphical and calculus-based proofs. You are expected to use inequalities to prove that a limit exists and has a certain value, so the theorem sits where two ideas meet: building a correct inequality, and drawing a conclusion from it.

Note

Suppose a runner is always ahead of a slow walker and always behind a fast walker, and the slow walker and the fast walker are heading to the same finish line. The runner has no choice but to finish at that line as well. The squeeze theorem says exactly this about numbers: a quantity that is trapped between two others cannot escape the place where they meet.

The answer

Key fact

Squeeze theorem for functions. Suppose f(x)≤g(x)≤h(x)f(x) \leq g(x) \leq h(x) for all xx near aa (except possibly at aa itself) and lim⁡x→af(x)=lim⁡x→ah(x)=L\displaystyle\lim_{x \to a} f(x) = \lim_{x \to a} h(x) = L. Then lim⁡x→ag(x)=L\displaystyle\lim_{x \to a} g(x) = L.

Squeeze theorem for sequences. If an≤bn≤cna_n \leq b_n \leq c_n for all large nn and an→La_n \to L and cn→Lc_n \to L, then bn→Lb_n \to L.

The same statement holds as x→∞x \to \infty and for one-sided limits.

How to write a squeeze proof

  1. Find a lower bound and an upper bound for the awkward quantity. Use a bound that you can prove, such as −1≤sin⁡t≤1-1 \leq \sin t \leq 1, kn≤1\frac{k}{n} \leq 1, or a comparison of integrands.
  2. State the inequality chain in one line, making sure each direction is justified (watch out for multiplying by negative numbers).
  3. Find the limits of the two bounding quantities and show that they are equal.
  4. Name the theorem and conclude with the common limit.

You do not need the theorem when the quantity has an ordinary limit by the limit laws, and you may not use it when the two bounds have different limits, because then the argument proves nothing.

Typical sources of bounds

  • Bounded trigonometric functions: ∣sin⁡t∣≤1|\sin t| \leq 1 and ∣cos⁡t∣≤1|\cos t| \leq 1 trap oscillating factors, giving sin⁡nn→0\frac{\sin n}{n} \to 0 and x2sin⁡1x→0x^2 \sin\frac{1}{x} \to 0.
  • Largest and smallest term in a sum: a sum of nn positive terms lies between nn times its smallest term and nn times its largest term.
  • Products with factors at most one: n!nn≤1n\frac{n!}{n^n} \leq \frac{1}{n}.
  • Dominant term: 3n≤2n+3n≤2⋅3n3^n \leq 2^n + 3^n \leq 2 \cdot 3^n.
  • Integral comparison: if f(x)≤g(x)f(x) \leq g(x) on [a,b][a, b] then ∫abf≤∫abg\int_a^b f \leq \int_a^b g.

The classic limit sin⁡xx→1\frac{\sin x}{x} \to 1

For 0<x<π20 < x < \frac{\pi}{2}, comparing the areas of a triangle, a circular sector and a larger triangle in a unit circle gives sin⁡x<x<tan⁡x\sin x < x < \tan x. Dividing by sin⁡x>0\sin x > 0 and taking reciprocals,

cos⁡x<sin⁡xx<1.\cos x < \frac{\sin x}{x} < 1.

Because cos⁡x→1\cos x \to 1 as x→0+x \to 0^+, the squeeze theorem gives sin⁡xx→1\frac{\sin x}{x} \to 1 from the right, and since sin⁡xx\frac{\sin x}{x} is an even function the left limit is the same.

How exam questions use this

  • "Show that lim⁡⋯=0\lim \dots = 0" for an oscillating factor times a decaying one.
  • "Prove that the sequence converges to LL" for a sum, a product or a root of a sum.
  • "Show that 0≤In≤…0 \leq I_n \leq \dots and hence find lim⁡In\lim I_n" for a reduction-formula integral.
  • "Hence" parts that use an inequality proved in an earlier part as one of the bounds.
Worked examples

A rational expression with an oscillating term

Find lim⁡x→∞2x+cos⁡xx+3\displaystyle\lim_{x \to \infty} \frac{2x + \cos x}{x + 3}.

Step 1: bound the oscillating term

For all xx, −1≤cos⁡x≤1-1 \leq \cos x \leq 1, so for x>0x > 0

2x−1x+3≤2x+cos⁡xx+3≤2x+1x+3.\frac{2x - 1}{x + 3} \leq \frac{2x + \cos x}{x + 3} \leq \frac{2x + 1}{x + 3}.

Step 2: limits of the bounds

Dividing the top and bottom by xx, 2x−1x+3=2−1x1+3x→2\frac{2x - 1}{x + 3} = \frac{2 - \frac{1}{x}}{1 + \frac{3}{x}} \to 2 and 2x+1x+3=2+1x1+3x→2\frac{2x + 1}{x + 3} = \frac{2 + \frac{1}{x}}{1 + \frac{3}{x}} \to 2.

Step 3: conclude

By the squeeze theorem the limit is 22.

Marker's note: one mark for the double inequality, one for the limits of the two bounds, one for the conclusion.

A factor that oscillates faster and faster

Show that lim⁡x→0xcos⁡(1x2)=0\displaystyle\lim_{x \to 0} x\cos\left( \frac{1}{x^2} \right) = 0.

Step 1: bound the absolute value

For x≠0x \neq 0, ∣cos⁡(1x2)∣≤1\left| \cos\left( \frac{1}{x^2} \right) \right| \leq 1, so ∣xcos⁡(1x2)∣≤∣x∣\left| x\cos\left( \frac{1}{x^2} \right) \right| \leq |x|, which means

−∣x∣≤xcos⁡(1x2)≤∣x∣.-|x| \leq x\cos\left( \frac{1}{x^2} \right) \leq |x|.

Step 2: conclude

Both −∣x∣-|x| and ∣x∣|x| tend to 00 as x→0x \to 0, so the squeeze theorem gives the limit 00.

Marker's note: working with the absolute value avoids splitting into the cases x>0x > 0 and x<0x < 0.

Common traps
Two bounds with different limits
The squeeze theorem needs the same limit on both sides. A loose upper bound that tends to 22 proves nothing about a quantity that tends to 11.
Splitting a product when one factor has no limit
In x2sin⁡(1x)x^2 \sin\left( \frac{1}{x} \right) the factor sin⁡(1x)\sin\left( \frac{1}{x} \right) has no limit as x→0x \to 0, so the product-of-limits law cannot be used.
Reversing inequalities incorrectly
Multiplying or dividing by a negative number flips the signs, as in the one-sided limits of 1−cos⁡xx\frac{1 - \cos x}{x}.
Arguing "bounded over infinity"
Statements such as sin⁡nn=bounded∞=0\frac{\sin n}{n} = \frac{\text{bounded}}{\infty} = 0 are not proofs.
A bound that holds only for some values
The inequality chain must be true for every nn (or every xx near aa) in the range that matters, not just for a few test values. Prove each bound, then test it with a small value as a check.
Exam technique

Write the double inequality as the very first line of your answer, then the limits of both ends on the next line, then the conclusion in one sentence that names the squeeze theorem. If a "hence" asks you to use an earlier result, that result is nearly always one of the bounds. Test your bound with a small value such as n=1n = 1 or n=4n = 4 before you rely on it; a wrong inequality direction is the commonest way to lose all the marks.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marks
Use the squeeze theorem to show that lim⁡n→∞sin⁡nn=0\displaystyle\lim_{n \to \infty} \frac{\sin n}{n} = 0.
Show worked solution →

Bound the numerator. For every integer n≥1n \geq 1, −1≤sin⁡n≤1-1 \leq \sin n \leq 1. Dividing by n>0n > 0 keeps the inequalities:

−1n≤sin⁡nn≤1n.-\frac{1}{n} \leq \frac{\sin n}{n} \leq \frac{1}{n}.

Limits of the bounds. lim⁡n→∞(−1n)=0\displaystyle\lim_{n \to \infty}\left( -\frac{1}{n} \right) = 0 and lim⁡n→∞1n=0\displaystyle\lim_{n \to \infty}\frac{1}{n} = 0.

By the squeeze theorem, lim⁡n→∞sin⁡nn=0\displaystyle\lim_{n \to \infty}\frac{\sin n}{n} = 0.

Marker's note: one mark for the two-sided bound, one for the limits of the bounds and the conclusion. Writing "sin⁡nn→something∞\frac{\sin n}{n} \to \frac{\text{something}}{\infty}" earns nothing, because sin⁡n\sin n has no limit.

core3 marks
Show that lim⁡x→0x2sin⁡(1x)=0\displaystyle\lim_{x \to 0} x^2 \sin\left( \frac{1}{x} \right) = 0.
Show worked solution →

Bound the oscillating factor. For x≠0x \neq 0, −1≤sin⁡(1x)≤1-1 \leq \sin\left( \frac{1}{x} \right) \leq 1. Multiply by x2>0x^2 > 0:

−x2≤x2sin⁡(1x)≤x2.-x^2 \leq x^2 \sin\left( \frac{1}{x} \right) \leq x^2.

Limits of the bounds. As x→0x \to 0, both −x2→0-x^2 \to 0 and x2→0x^2 \to 0.

By the squeeze theorem the middle expression also tends to 00.

Marker's note: one mark for the bound on the sine, one for multiplying through (the multiplier is positive, so the inequality directions are unchanged), one for the conclusion. The limit of sin⁡(1x)\sin\left( \frac{1}{x} \right) alone does not exist, so you may not split the product into separate limits.

core3 marks
Prove that lim⁡n→∞n!nn=0\displaystyle\lim_{n \to \infty} \frac{n!}{n^n} = 0.
Show worked solution →

Write the ratio as a product of fractions.

n!nn=1n×2n×3n×⋯×nn.\frac{n!}{n^n} = \frac{1}{n} \times \frac{2}{n} \times \frac{3}{n} \times \cdots \times \frac{n}{n}.

Bound it. Each factor from 2n\frac{2}{n} to nn\frac{n}{n} is at most 11 and positive, so removing them can only increase the product:

0<n!nn≤1n.0 < \frac{n!}{n^n} \leq \frac{1}{n}.

Conclude. The bounds 00 and 1n\frac{1}{n} both tend to 00, so by the squeeze theorem n!nn→0\frac{n!}{n^n} \to 0.

Marker's note: one mark for the product form, one for n!nn≤1n\frac{n!}{n^n} \leq \frac{1}{n} with a reason, one for the conclusion. A spot check: at n=4n = 4 the ratio is 24256=0.09375≤0.25\frac{24}{256} = 0.09375 \leq 0.25.

core3 marks
Show that lim⁡n→∞(2n+3n)1/n=3\displaystyle\lim_{n \to \infty} \left( 2^n + 3^n \right)^{1/n} = 3.
Show worked solution →

Lower bound. Since 2n>02^n > 0, we have 2n+3n>3n2^n + 3^n > 3^n, so (2n+3n)1/n>3\left( 2^n + 3^n \right)^{1/n} > 3.

Upper bound. Since 2n<3n2^n < 3^n, we have 2n+3n<2⋅3n2^n + 3^n < 2 \cdot 3^n, so

(2n+3n)1/n<(2⋅3n)1/n=3⋅21/n.\left( 2^n + 3^n \right)^{1/n} < \left( 2 \cdot 3^n \right)^{1/n} = 3 \cdot 2^{1/n}.

Combine. 3<(2n+3n)1/n<3⋅21/n3 < \left( 2^n + 3^n \right)^{1/n} < 3 \cdot 2^{1/n}. As n→∞n \to \infty, 21/n→20=12^{1/n} \to 2^0 = 1, so the upper bound tends to 33 and the lower bound is the constant 33. By the squeeze theorem the limit is 33.

Marker's note: one mark for each bound, one for the limit of 21/n2^{1/n} and the conclusion.

exam4 marks
Let Sn=1n2+1+1n2+2+⋯+1n2+nS_n = \dfrac{1}{\sqrt{n^2 + 1}} + \dfrac{1}{\sqrt{n^2 + 2}} + \cdots + \dfrac{1}{\sqrt{n^2 + n}}. Show that lim⁡n→∞Sn=1\displaystyle\lim_{n \to \infty} S_n = 1.
Show worked solution →

The sum has nn terms. Each term is 1n2+k\frac{1}{\sqrt{n^2 + k}} for k=1,2,…,nk = 1, 2, \dots, n. The terms decrease as kk increases, so the largest is 1n2+1\frac{1}{\sqrt{n^2 + 1}} and the smallest is 1n2+n\frac{1}{\sqrt{n^2 + n}}.

Bound the sum by nn times the smallest and nn times the largest term:

nn2+n≤Sn≤nn2+1.\frac{n}{\sqrt{n^2 + n}} \leq S_n \leq \frac{n}{\sqrt{n^2 + 1}}.

Limits of the bounds. Divide the numerator and denominator by nn:

nn2+n=11+1n→1andnn2+1=11+1n2→1.\frac{n}{\sqrt{n^2 + n}} = \frac{1}{\sqrt{1 + \frac{1}{n}}} \to 1 \quad \text{and} \quad \frac{n}{\sqrt{n^2 + 1}} = \frac{1}{\sqrt{1 + \frac{1}{n^2}}} \to 1.

By the squeeze theorem Sn→1S_n \to 1.

Marker's note: one mark for noting there are nn terms, one for the two bounds, one for each limit of a bound (or one for both) and one for the conclusion. Numerically, S100≈0.9975S_{100} \approx 0.9975, between the bounds 0.99500.9950 and 0.999950.99995.

exam4 marks
For n≥1n \geq 1 let In=∫01xn1+x dxI_n = \displaystyle\int_0^1 \frac{x^n}{1 + x}\,dx. Show that 0≤In≤1n+10 \leq I_n \leq \dfrac{1}{n + 1} and hence find lim⁡n→∞In\displaystyle\lim_{n \to \infty} I_n.
Show worked solution →

Lower bound. For 0≤x≤10 \leq x \leq 1 the integrand xn1+x\frac{x^n}{1 + x} is non-negative, so In≥0I_n \geq 0.

Upper bound. For x≥0x \geq 0, 1+x≥11 + x \geq 1, so 11+x≤1\frac{1}{1 + x} \leq 1 and therefore xn1+x≤xn\frac{x^n}{1 + x} \leq x^n. Integrating over [0,1][0, 1],

In≤∫01xn dx=[xn+1n+1]01=1n+1.I_n \leq \int_0^1 x^n\,dx = \left[ \frac{x^{n+1}}{n + 1} \right]_0^1 = \frac{1}{n + 1}.

Conclude. 0≤In≤1n+10 \leq I_n \leq \frac{1}{n + 1}, and 1n+1→0\frac{1}{n + 1} \to 0, so by the squeeze theorem lim⁡n→∞In=0\displaystyle\lim_{n \to \infty} I_n = 0.

Marker's note: one mark for the lower bound, one for the pointwise upper bound, one for integrating it, one for the conclusion. A check: I1≈0.307≤0.5I_1 \approx 0.307 \leq 0.5 and I5≈0.090≤0.167I_5 \approx 0.090 \leq 0.167.

exam4 marks
Use the inequality 0≤1−cos⁡x≤x220 \leq 1 - \cos x \leq \dfrac{x^2}{2} (which holds for all real xx) to show that lim⁡x→01−cos⁡xx=0\displaystyle\lim_{x \to 0}\frac{1 - \cos x}{x} = 0.
Show worked solution →

Case x>0x > 0. Divide the inequality by x>0x > 0:

0≤1−cos⁡xx≤x2.0 \leq \frac{1 - \cos x}{x} \leq \frac{x}{2}.

As x→0+x \to 0^+ the upper bound tends to 00, so 1−cos⁡xx→0\frac{1 - \cos x}{x} \to 0 from the right.

Case x<0x < 0. Dividing by x<0x < 0 reverses every inequality:

0≥1−cos⁡xx≥x2.0 \geq \frac{1 - \cos x}{x} \geq \frac{x}{2}.

As x→0−x \to 0^- the lower bound x2→0\frac{x}{2} \to 0, so 1−cos⁡xx→0\frac{1 - \cos x}{x} \to 0 from the left.

Conclusion. Both one-sided limits equal 00, so lim⁡x→01−cos⁡xx=0\displaystyle\lim_{x \to 0}\frac{1 - \cos x}{x} = 0.

Marker's note: one mark for each one-sided squeeze and one for noting the reversal of the inequality for negative xx; one for the combined conclusion. Dividing by a negative number without reversing the signs is the classic error.

Practise this

Sources & how we know this

ExamExplained