Squeeze Theorem CalcLens

A function too wild to evaluate directly can still be pinned down, if it is trapped between two functions that agree in the limit. Zoom in and watch the trap close.

Only the horizontal axis zooms, so the trap visibly narrows. Tick the box to rescale both and watch g keep oscillating all the way down.

The trap closing

Bounds at x = δ, and the gap between them
δlower f upper hgap

Squeeze Theorem

Three functions. If everywhere near a, and the two outer ones have the same limit L at a, then g has nowhere else to go: its limit is L too.

The shaded region is the trap. Drag δ down and watch it close.

What to watch for

Putting this in a slide

?g=x%5E2+sin(1%2Fx)&lower=-x%5E2&upper=x%5E2&a=0
   &embed=true&controls=delta,table

Note that a plus sign inside a function must be written %2B, and a slash %2F. Every parameter is in docs/url-api.md.

Keyboard

Change δ (focus the slider first)
Space
Run or stop the zoom
?
This dialog
Esc
Close