Limits

What a function is heading towards, whether or not it gets there. Jumps, holes, wild oscillation, the ε–δ game, and the squeeze theorem

Limits

A limit asks where a function is heading as x closes in on a point, not what happens when it arrives. The function might be undefined there, or defined as something else entirely. The limit does not care: it only watches the approach.

Approaching From Both Sides

Pick an example and watch the two beads close in on x = a from the left and the right. Do their heights settle on the same number?

−0.8
left bead x
0.2
f at the left bead
2.8
right bead x
3.8
f at the right bead

Left limit: 2. Right limit: 2. So the limit is 2. And f(1) is undefined.

At x = 1 the formula reads 0/0, so f(1) is undefined. Everywhere else it equals x + 1, and the beads head for 2. A limit never looks at the point itself.

distance from af(a − h)f(a + h)
h = 10⁻¹1.92.1
h = 10⁻²1.992.01
h = 10⁻³1.9992.001
h = 10⁻⁴1.99992.0001
h = 10⁻⁵1.999992.00001
h = 10⁻⁶1.9999992.000001

An open circle marks a height the curve approaches but does not take at x = a; a filled one marks the actual value f(a). The beads close in to within 10⁻⁴ of the half-width, so for the jump and the blow-ups you can watch the two sides part company. For your own function the verdict comes from evaluating f closer and closer to a, which is evidence, not proof.

Go deeper:One-Sided Limits and the Ways a Limit Can Fail

We write lim_(x → a⁻) f(x) = L for the left-hand limit, when f(x) gets as close as we like to L for all x slightly less than a, and lim_(x → a⁺) for the right-hand limit. The two-sided limit lim_(x → a) f(x) exists exactly when both one-sided limits exist and agree.

The gallery shows the standard ways this can go wrong, or right despite appearances:

  • A hole: f(a) is undefined or wrong, but the limit is perfectly good. (x² − 1)/(x − 1) = x + 1 for x ≠ 1.
  • A jump: both one-sided limits exist but differ, as for the floor function at any whole number.
  • A blow-up: f(x) grows without bound. Writing lim 1/x² = ∞ records how the limit fails to exist.
  • Oscillation: sin(1/x) takes every value between −1 and 1 in every interval around 0.

The beads only provide evidence. Numerical approach can be fooled: a function could behave perfectly at every point a computer tries and still misbehave in between. Deciding a limit for certain takes algebra, inequalities, or the ε–δ definition of the next demo.

The ε–δ Construction

Set a tolerance ε around the claimed limit L. The demo finds how close to a you must stay, δ, to keep the graph inside the band. Shrink ε and see whether a δ keeps answering.

0.5012
ε
0.2252
largest δ that works
holds
the definition
For ε = 0.5012 the largest δ that works is 0.2252 (the left side allows 0.2937, the right 0.2252; δ must suit both). Shrink ε and δ shrinks with it, but it never reaches zero. That is exactly what lim f(x) = 1 means.

The largest δ is found by scanning outward from a on both sides and pinning down the first escape by bisection, so a spike narrower than the scan could slip through. The inset plots that δ against ε on logarithmic axes; red ticks along its floor mark tolerances with no δ at all. With “Zoom with ε” on, the view shrinks with ε, so a working limit looks the same at every scale while a failing one drifts out of the band.

Go deeper:The Precise Definition

lim_(x → a) f(x) = L means: for every ε > 0 there is a δ > 0 such that 0 < |x − a| < δ implies |f(x) − L| < ε.

Read it as a challenge and response. Someone names a tolerance ε, however small; you must answer with a distance δ that guarantees f(x) is within ε of L whenever x is within δ of a. The condition 0 < |x − a| leaves out x = a itself, which is why holes do not matter.

For f(x) = x² at a = 1 the response can be written down. If |x − 1| < δ ≤ 1 then |x + 1| < 3, so |x² − 1| = |x − 1||x + 1| < 3δ, and δ = min(1, ε/3) always works. The demo’s largest δ is bigger: exactly √(1 + ε) − 1, because the curve leaves the band first on the right, where it is steeper. To prove a limit you only need some δ, not the best one.

To show a limit fails, find a single ε for which no δ works. At the jump any ε below ½ will do. Bolzano gave a definition of continuity in this spirit in 1817 and Cauchy used ε-style arguments in his 1821 Cours d’analyse, but the fully quantified ε–δ form is due to Weierstrass, who taught it in his Berlin lectures of the 1860s.

The Squeeze

Left: drag P to change the angle and compare the three areas. Right: zoom in on a function trapped between two others that meet at a point.

0.3917
½ sin θ
0.45
½ θ (sector)
0.6301
½ tan θ
0.62161
cos θ
0.870363
sin θ / θ
1
upper bound
1.08
x near the window’s edge
2.33
room between g and h there
Dividing ½ sin θ ≤ ½ θ ≤ ½ tan θ by ½ sin θ and flipping gives cos θ ≤ sin θ/θ ≤ 1: right now 0.62161 ≤ 0.870363 ≤ 1. As θ → 0, cos θ → 1, so sin θ/θ is trapped and must tend to 1 too. On the right, x² sin(1/x) is pinned between −x² and x², which both tend to 0 at 0; zoom in and the room left for it shrinks to nothing.

Angles are in radians: the sector’s area ½θ only holds because θ is measured as arc length on the unit circle. In degrees the limit would be π/180 instead of 1. The panels are independent; the right-hand view magnifies both axes by the same factor, so the quadratic funnels close faster than the window shrinks.

Go deeper:The Squeeze Theorem and sin θ/θ

If g(x) ≤ f(x) ≤ h(x) near a, and g and h both tend to L as x → a, then f tends to L as well. Within any tolerance ε of L, a δ that works for both g and h also works for f, because f is caught between them.

For 0 < θ < π/2, the triangle OAP sits inside the sector OAP, which sits inside the triangle OAT. Their areas are ½ sin θ, ½ θ and ½ tan θ, so sin θ ≤ θ ≤ tan θ. Divide by sin θ and take reciprocals:

cos θ ≤ sin θ/θ ≤ 1.

Since cos θ → 1, the squeeze gives sin θ/θ → 1. Both sides of the inequality are even in θ, so the same holds for θ < 0. This limit is what makes the derivative of sin x equal to cos x, and it is why calculus measures angles in radians.

The same idea tames x² sin(1/x): whatever sin(1/x) does, it stays between −1 and 1, so the product stays between −x² and x², and both bounds go to 0.

Key Takeaways

  • A limit describes the approach to a point, not the value at it; holes do not matter.
  • The two-sided limit exists exactly when both one-sided limits exist and agree.
  • lim f(x) = L means every tolerance ε around L can be met by some distance δ around a.
  • A function trapped between two others with the same limit must share that limit.

Spot a mistake or have an idea?

Search