Ⅶ Logic, Analysis & Beyond · Stage 37 — Beyond · 37.5 Into Real AnalysisAll lessons →
Stage 37 · Beyond

Into Real Analysis: Making Limits and Continuity Rigorous

“Closer and closer” was a feeling. ε and δ turn it into a promise you can keep.

Ages 16–99 · A first look beyond · Reasoning, one step at a time
The ε–δ picture. A green ε-tube hugs the limit L; an amber δ-band hugs the input a. The challenge: pin x inside the amber band and the curve is forced inside the green tube.

You have spent whole chapters trusting one phrase: a quantity gets “closer and closer” to a limit. It carried you through tangent lines, derivatives, areas under curves — the entire machinery of calculus rests on it. But pause and ask: how close? Close enough for whom? If I demand the answer be within a millionth, can you always deliver? “Closer and closer” is a feeling, and feelings are where mathematics goes to argue. In this final lesson we replace the feeling with a definition so sharp that no doubt can survive it — the εδ language. It is the bedrock under everything you have built, and the front door of real analysis, the field that makes calculus airtight. Walk through it, and the road opens onto higher mathematics.

37.5.1 Why “closer and closer” is not enough

Back in limits and continuity we wrote limx→2 x² = 4 and read it aloud as “as x slides toward 2, x² slides toward 4.” That intuition is correct and it is precious — keep it. But notice it never says how close the output gets, only that it heads somewhere. Two functions can both “head toward 4” and behave very differently up close; a sequence can wander forever yet feel like it is settling. To do real mathematics we need a test that anyone could check, with no appeal to a picture.

Here is the reframing that makes everything rigorous. Think of it as a game between two players:

The key idea — a challenge–response game

Challenger: “I demand the output be within ε of the target.” (ε is any positive error you like — small, smaller, whatever.)
You: “Then keep the input inside this range, and I guarantee it.”

A limit is true exactly when you can always answer, no matter how tiny the ε the challenger names. If even one ε defeats you, the limit fails.

That single shift — from “it gets close” to “name any tolerance and I can meet it” — is the whole of rigorous analysis. The Greek letter ε (epsilon) always denotes the challenger's error tolerance; the letter δ (delta), or the index N, is your response. Everything below is just this game, played first on sequences, then on functions.

37.5.2 The ε–N definition of a sequence limit

Start with a sequence — an ordered list a₁, a₂, a₃, … like the ones you met in meeting sequences. Take aₙ = 1 + 1n. The terms are 2, 1.5, 1.333…, 1.25, … pressing down toward A = 1. We want to say an → 1, and now we say it precisely.

Definition — the limit of a sequence

aₙ → A means: for every ε > 0 there is an index N such that for all n > N,  |aₙ − A| < ε.

In words: name any tolerance ε. Past some point N, every single term lands inside the band (A − ε, A + ε) — a green ε-tube around the limit — and stays there forever.

The picture is a row of stems crowding a horizontal line at A = 1. Lay a green ε-tube of half-width ε around that line. Your job is to find the first index N beyond which no stem ever poles out of the tube again. Shrink ε and the tube narrows, so N must move right — but you can always find one. That “always” is what makes the limit real.

Try it The ε–N game — name a tolerance, I find the index
Drag ε smaller. The green tube narrows; watch the honest N climb so every later term stays inside.
tolerance ε
Worked example — a tighter ε forces a larger N

For aₙ = 1 + 1/n we have |aₙ − 1| = 1/n. So |aₙ − 1| < ε means 1/n < ε, i.e. n > 1/ε.

Pick ε = 0.1: need n > 10, so N = 10 works — every term from a₁₁ on is within 0.1 of 1. Pick a tighter ε = 0.05: need n > 20, so N = 20. Tighter demand, larger N — but a finite N always exists. That is the limit, proven.

37.5.3 The ε–δ definition of a function limit

Now the same game for a function. We want limx→a f(x) = L. The challenger still names an output tolerance ε; your response is now an input tolerance δ — how close to a you must hold x to force f(x) within ε of L.

Definition — the limit of a function

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

The amber δ-band (a − δ, a + δ) must be mapped entirely into the green ε-tube (L − ε, L + ε). The strict 0 < |x − a| deliberately skips x = a itself.

Take f(x) = x² near a = 2, where L = 4. The challenger picks ε; you must find the widest δ that still keeps the curve inside the tube. Solve at the edges: the right edge needs (2 + δ)² ≤ 4 + ε, the left edge needs (2 − δ)² ≥ 4 − ε. Take the smaller of the two half-widths and you have a δ that works on both sides.

Try it The ε–δ challenge — keep the curve inside the tube
Drag ε. We compute the honest largest δ (solving f(2±δ) = 4±ε) so the amber band maps into the green tube.
tolerance ε
Watch out — the order, and the value at a

The quantifiers run ε first, then δ: the challenger moves, then you answer. Swapping them (“there is a δ that works for every ε”) is a different, usually false, statement.

And the limit uses 0 < |x − a| — the value at a is irrelevant. A function can have a limit where it is undefined, or where f(a) sits somewhere else entirely. The limit is about the neighborhood, never the single point.

37.5.4 The rigorous definition of continuity

You have always pictured continuity as “drawing the graph without lifting your pen.” Now we can say exactly what that means, and it has three parts that must all line up.

Definition — continuity at a point

f is continuous at a when  limx→a f(x) = f(a). Unpacked, three things must hold:

(1) f(a) exists — the point is on the graph;  (2) the limit limx→a f(x) exists;  (3) the two agree. Where the limit equals the value, the pen never leaves the paper.

This single equation classifies the three things that can go wrong. If the curve leaps, the left and right limits disagree and step (2) fails — a jump. If there is a clean hole that the surrounding curve points to but the value misses it (or is absent), the limit exists but step (3) fails — a removable discontinuity. Only when all three agree is the function continuous.

Try it Continuity classifier — does the limit equal the value?
Switch between three behaviors at x = 1. The readout checks the three-part test honestly.
Worked example — a limit with no value

g(x) = x² − 1x − 1 is undefined at x = 1 (you would divide by zero). But for x ≠ 1 it equals x + 1, so as x → 1 the outputs head to 2. The limit is 2 even though g(1) does not exist — a textbook removable hole. Define g(1) = 2 and the function becomes continuous. The point at a never mattered to the limit; only the neighborhood did.

37.5.5 Global powers of continuity: EVT and IVT

So far continuity has been a local promise, one point at a time. Its real force is global: a function that is continuous across a whole closed interval [a, b] is forced into two beautiful guarantees.

Two theorems — both need a closed interval and continuity

Extreme Value Theorem (EVT). A continuous f on a closed [a, b] must attain a highest value (a maximum) and a lowest value (a minimum) somewhere on the interval — the graph has a true top and bottom, not just a supremum it never reaches.

Intermediate Value Theorem (IVT). A continuous f on [a, b] takes every value between f(a) and f(b). If a target c sits between them, there is some x in [a, b] with f(x) = c — the curve cannot skip a value without lifting the pen.

The IVT is the everyday workhorse: it is why a solution must exist before you ever compute it. If a continuous f is negative at one end and positive at the other, it must cross zero in between — a guaranteed root. That is exactly the principle behind the bisection method for solving equations.

Try it The Intermediate Value Theorem — a target value must be hit
f(x) = x³ on [0, 2] runs from f(0) = 0 to f(2) = 8. Pick any target c between them; the crossing is located honestly.
target value c
Watch out — drop “closed” or “continuous” and they fail

Both theorems need a closed interval AND continuity — neither alone is enough. On the open interval (0, 1), f(x) = x has no maximum: it climbs toward 1 but never reaches it, so the EVT collapses. With a jump, f can leap straight over a target value and the IVT fails — the pen lifted. The hypotheses are not decoration; remove one and the guarantee evaporates.

What to carry forward

The ε–δ language, in one table
IdeaThe precise statementThe picture
Sequence limit aₙ → Aε>0  ∃ N :  n>N ⇒ |aₙ−A|<εstems settle into a green ε-tube
Function limit f→Lε>0  ∃ δ>0 :  0<|x−a|<δ ⇒ |f(x)−L|<εamber δ-band maps into green ε-tube
Continuous at alimx→a f(x) = f(a) (limit exists, value exists, they agree)pen never lifts
EVTcontinuous on closed [a,b] ⇒ attains a max and a mina true top and bottom
IVTcontinuous on [a,b] ⇒ hits every c between f(a) and f(b)no value is skipped

Three things to remember forever: the game is ε first, then δ; the limit ignores the value at a; and the EVT and IVT need a closed interval and continuity, not one without the other.

Exercises

  1. For aₙ = 1 + 1/n with limit A = 1, find the smallest N that works for ε = 0.2.

    Show answer

    |aₙ − 1| = 1/n < 0.2 means n > 5. So every term from a₆ on is within 0.2 of 1, and the smallest such index is N = 5 (terms with n > 5 qualify).

  2. For f(x) = x² near a = 2 (L = 4), a challenger picks ε = 0.5. Find a δ that works on both sides.

    Show answer

    Right edge: (2 + δ)² ≤ 4.5 ⇒ δ ≤ √4.5 − 2 ≈ 0.121. Left edge: (2 − δ)² ≥ 3.5 ⇒ δ ≤ 2 − √3.5 ≈ 0.129. Take the smaller: δ ≈ 0.121 forces x² into (3.5, 4.5).

  3. Explain why “for some δ > 0, for every ε > 0, 0 < |x − a| < δ ⇒ |f(x) − L| < ε” is the wrong order, and what it would force.

    Show answer

    It puts δ first, demanding one fixed δ-band that lands inside every ε-tube at once — including arbitrarily tiny ones. That forces f to be exactly L on the whole punctured band, a far stronger and usually false claim. The correct order lets δ depend on ε: name ε, then respond.

  4. A function has limx→1 f(x) = 3 but f(1) = 5. Is f continuous at 1? Classify the discontinuity.

    Show answer

    No. The limit (3) and the value (5) both exist but disagree, so step (3) of the test fails. This is a removable discontinuity — redefine f(1) = 3 and continuity is restored. The pen has to jump from the curve up to the stray point.

  5. Use the IVT to argue that x³ = 2 has a solution in [1, 2]. Locate it to one decimal.

    Show answer

    Let f(x) = x³ − 2, continuous everywhere. f(1) = −1 < 0 and f(2) = 6 > 0, so 0 lies between f(1) and f(2). By the IVT there is an x in [1, 2] with f(x) = 0, i.e. x³ = 2. Numerically the crossing is x = ∛2 ≈ 1.3.

  6. Give an example showing the EVT can fail if the interval is not closed.

    Show answer

    Take f(x) = x on the open interval (0, 1). The outputs climb toward 1 but never reach it, and toward 0 but never reach it — there is no largest or smallest value attained. Continuity alone is not enough; the EVT needs the interval to be closed so the endpoints are included.

🎯 Quick check

Six questions to lock it in. Tap the answer you think is right.

§ For teachers and parents

This lesson lifts the curtain on the rigorous foundation beneath all of calculus: the ε–N definition of a sequence limit, the ε–δ definition of a function limit, the three-part definition of continuity, and the two global theorems (Extreme Value and Intermediate Value) that require a closed interval and continuity. It is the precise version of the intuitive limits in AP Calculus and the opening chapter of a college course in real analysis. The recurring discipline — name any tolerance ε, and I can always respond — is the model of a rigorous mathematical argument (CCSS practice MP3, and HSF-IF on interpreting functions). From here the road forks into analysis, topology, and the modern theory of the real numbers — a door opening, not a curtain falling.

eastmath.com · Stage 37 · 37.5 Into Real Analysis · Reasoning, one step at a time