4.1.5 · D2Calculus I — Limits & Derivatives

Visual walkthrough — Squeeze theorem (sandwich theorem)

1,978 words9 min readBack to topic

We build every symbol from nothing. If a piece of notation shows up, we first say what it means in plain words and show you where it lives on a picture.


Step 0 — The three characters and the one symbol we lean on

Before any proof, meet the cast.

  • — the filling. This is the function whose limit we secretly want but can't compute directly.
  • — the lower bread. It sits below .
  • — the upper bread. It sits above .
  • — the input value we are sneaking up on (we look near , never at it).
  • — the height (a number on the vertical axis) both breads are heading for.

The one symbol we must build carefully is . Read it out loud: "how far is from ". The two vertical bars mean "distance", so negatives are thrown away — , same as . Whenever you see (delta, a small positive number), translate it as: " is within a distance of ." Picture a little band of width centred on on the horizontal axis.

We also write — that little means " is not exactly ". We stand next to , never on it.

Figure — Squeeze theorem (sandwich theorem)

Here is shorthand for "as slides toward , the height slides toward ." Look at figure s01: the green curve () and orange curve () both pinch toward the same dot at height , and the magenta curve () is squished between them.


Step 1 — Turn "the limit is " into a box we can trap things in

WHAT. We restate what actually promises, using the Limit definition (epsilon-delta).

WHY. "Heads toward " is a feeling. To prove anything we need a testable statement. The epsilon–delta definition converts the feeling into a challenge-and-response game we can win.

The definition says: pick any tolerance (epsilon — a tiny target height, how close to you demand). Then there exists a window half-width so that

Term by term: and are a floor and ceiling a distance on either side of — think of a horizontal strip of height . The arrow means "forces". So: whenever is inside the window of half-width , the bread is trapped inside the strip.

PICTURE. In s02 the horizontal band is the pink strip. The vertical band of half-width is where the green curve is guaranteed to live inside the pink strip.

Figure — Squeeze theorem (sandwich theorem)

Step 2 — Do the exact same thing to the upper bread

WHAT. Repeat Step 1 for .

WHY. Both breads must be pinned inside the strip; we've only pinned one so far.

Using with the same : there is a window half-width with

Same floor , same ceiling , same pink strip — only the actor changed to , and its window half-width is a possibly-different .

PICTURE. s03 shows the orange curve dipping into the pink strip once is inside its own window . Notice and are generally different sizes — that's the whole point of the next step.

Figure — Squeeze theorem (sandwich theorem)

Step 3 — Choose the smaller window so BOTH promises hold at once

WHAT. Define — "" means pick the smaller of the two.

WHY. behaves inside ; behaves inside . Inside the smaller of the two windows, we are inside both, so both breads sit in the strip simultaneously. If we picked the larger one, we might step outside the other bread's guarantee.

PICTURE. s04 overlays both vertical windows. The overlap — the narrower band — is shaded solid. Inside that solid band, green and orange are both caught in the pink strip.

Figure — Squeeze theorem (sandwich theorem)

Step 4 — Chain the inequalities: the trap snaps shut

WHAT. Combine the sandwich hypothesis with the two strip-facts.

WHY. We now have three simultaneous truths inside the solid window: above the floor, between the breads, below the ceiling. Line them up left to right.

For :

Read the chain: the floor is below ; is below ; is below ; is below the ceiling. Transitivity (if and then ) lets us skip the middle men and keep just the outer walls squeezing .

PICTURE. s05 zooms into the solid window: every one of the three curves is inside the pink strip, and the magenta is visibly pinned between green and orange, all three inside floor and ceiling.

Figure — Squeeze theorem (sandwich theorem)

Step 5 — Read off the conclusion

WHAT. Drop the inner curves and keep only what surrounds .

WHY. The definition of is literally the statement " is inside the pink strip whenever is inside a window." We just proved exactly that.

The double arrow means "these say the same thing". Subtracting from all three parts of gives , which is precisely "distance from to is under ".

Since our was arbitrary (we handled any tolerance you could name, by producing a matching ), we have satisfied the definition:

PICTURE. s06 shows the payoff: shrink (thinner pink strip) and the whole argument produces a new, thinner window — follows the breads into an ever-tighter pinch at the dot .

Figure — Squeeze theorem (sandwich theorem)

Step 6 — The degenerate cases (never leave the reader stranded)

Real functions misbehave. Here is every corner case, each with its own picture in s07.

(a) equals a wall. The inequalities are , not strict . So may touch or , even coincide with one on a whole stretch. Nothing breaks — a filling glued to the bread still arrives at . (Left panel of s07.)

(b) is undefined at . Classic case: has no value at . Irrelevant! The in every step means we never evaluate at . The limit exists even where the function has a hole. (Middle panel.)

(c) The breads only pinch on one side. If and meet at only from the right, you get a one-sided limit . The identical argument runs with a half-window. This is how the parent's proof works before evenness glues both sides.

(d) but — different heights. Now there is no common , no single pink strip both breads enter. The trap has a gap; can wander anywhere between and . The theorem gives nothing. This is the number-one misuse — see the parent's "same bread, same sandwich" mnemonic. (Right panel, showing the gap in grey.)

Figure — Squeeze theorem (sandwich theorem)

The one-picture summary

Everything above, compressed: pick any , get a , watch get dragged to .

Figure — Squeeze theorem (sandwich theorem)
Recall Feynman retelling — the walkthrough in plain words

Someone dares you: "Keep the middle rope within one centimetre of the ceiling hook." You reply, "Easy — I'll tell you how close to stand to the wall." You know two ropes, one above the middle rope and one below it, and both of those ropes you can already pin near the hook. So you find how close to the wall each of those two ropes needs its holder to stand, take the stricter of the two distances, and stand there. Now both outer ropes are within one centimetre of the hook — and the middle rope, tied between them, has no slack to escape. It's within one centimetre too. Whatever tolerance the dare demanded (one centimetre, one millimetre, anything), you answer with a matching "stand this close." Since you can always answer, the middle rope truly reaches the hook. You never once had to touch or measure the middle rope itself — the two outer ropes did all the work. That is the squeeze theorem.

Recall Quick self-check

Why do we take and not the max? ::: We need BOTH bread-guarantees active at once; only the smaller window sits inside both. Where in the proof do we use that is between the breads? ::: Step 4, the middle links of the chain. Why is a hole in at harmless? ::: Every step assumes , so itself is never tested. What fails if and ? ::: No common , so no single strip traps — the theorem concludes nothing.


Connections

  • Limit definition (epsilon-delta) — the challenge–response game every step is built on.
  • Limits of trigonometric functions — the pinch delivers (one-sided-then-glued, Step 6c).
  • Bounded times vanishing — the " undefined but bounded" case (Step 6b) in disguise.
  • Oscillating functions — the reason we bound instead of substitute.
  • Continuity — once the pinch gives a limit, compare it to the function's value.
  • Limits of sequences — swap for ; every figure still applies.