Skip to content

Mathematics · Ch 9 — Differential Calculus – Limits and Continuity

Sandwich Theorem

9.2.8

Sandwich Theorem

Some limits cannot be evaluated by any of the algebra-of-limits theorems directly — typically because the expression involves a factor, such as sin⁡(1/x)\sin(1/x), that oscillates and has no limit of its own. The Sandwich Theorem (also called the Squeeze Theorem) sidesteps this by trapping the troublesome function between two better-behaved functions that share a common limit.

Theorem 9.5 (Sandwich Theorem). Suppose g,f,h:I→Rg,f,h:I\to\mathbb R satisfy g(x)≤f(x)≤h(x)g(x)\le f(x)\le h(x) for every xx in a punctured neighbourhood of x0x_0 contained in II. If lim⁡x→x0g(x)=lim⁡x→x0h(x)=l\lim_{x\to x_0} g(x)=\lim_{x\to x_0} h(x)=l, then lim⁡x→x0f(x)=l\lim_{x\to x_0} f(x)=l as well.

Intuitively (Fig. 9.27), if ff is permanently squeezed between a floor function gg and a ceiling function hh, and floor and ceiling are forced together to the same height ll right at x0x_0, then ff — having nowhere else to go — is forced to that same height too.

Worked technique (Example 9.29). To evaluate lim⁡x→0x2sin⁡ ⁣(1x)\lim_{x\to0} x^2\sin\!\left(\frac1x\right): since sin⁡\sin of anything always lies in [−1,1][-1,1], we have −x2≤x2sin⁡ ⁣(1x)≤x2-x^2\le x^2\sin\!\left(\frac1x\right)\le x^2 for every x≠0x\ne0. Both bounding functions g(x)=−x2g(x)=-x^2 and h(x)=x2h(x)=x^2 tend to 00 as x→0x\to0, so by the Sandwich Theorem the squeezed function also tends to 00.

Watch out

It would be tempting — and wrong — to instead apply the ordinary product-of-limits rule directly: lim⁡x→0x2sin⁡(1/x)=?(lim⁡x→0x2)(lim⁡x→0sin⁡(1/x))\lim_{x\to0}x^2\sin(1/x)\overset?=\big(\lim_{x\to0}x^2\big)\big(\lim_{x\to0}\sin(1/x)\big). This fails immediately because lim⁡x→0sin⁡(1/x)\lim_{x\to0}\sin(1/x) does not exist — sin⁡(1/x)\sin(1/x) oscillates faster and faster as x→0x\to0 and never settles down — so the product rule's hypotheses are never satisfied, and the Sandwich Theorem is genuinely necessary here, not merely a shortcut.

A simpler application (Example 9.30). Since −∣θ∣≤sin⁡θ≤∣θ∣-|\theta|\le\sin\theta\le|\theta| for every real θ\theta, and both −∣θ∣-|\theta| and ∣θ∣|\theta| tend to 00 as θ→0\theta\to0, the Sandwich Theorem immediately gives lim⁡θ→0sin⁡θ=0\lim_{\theta\to0}\sin\theta=0 — a fact that will itself be used as a stepping stone in the very next section. …

Figure 9.27Sandwich Theorem picture

What this figure shows. Three curves y=g(x)≤y=f(x)≤y=h(x)y=g(x)\le y=f(x)\le y=h(x) drawn close together, all pinched to the same height directly above x0x_0, illustrating why ff is forced to the same limit as its two 'bread slices' g,hg,h. …