ε δ ∀∃ → lim
⚠ MathJax didn't load — formulas show as raw text. You need internet for pretty math; the words still work.
ε–δ Deep Dive The Precise Definition of a Limit
🎯 Calculus Deep Dives · An ε–δ Deep Dive
ε,δ

The Precise Definition of a Limit

The statement $\lim_{x\to a}f(x)=L$ is a two-player game: a Challenger names a tolerance ε, and the Defender must answer with a window δ that forces every nearby input into the tolerance band. Learn the game and the whole definition becomes obvious.

💡 In one sentence: no matter how small an error tolerance $\varepsilon>0$ you demand around $L$, one can always find a distance $\delta>0$ around $a$ such that every input $x$ within that distance of $a$ (but different from $a$ itself) produces an output $f(x)$ within the demanded tolerance of $L$.
🎯 Game-first🗂 14 sections✍ 12 canonical examples🧮 17 practice problems💻 Python checks

🎯 ε–δ Game Lab

be the Challenger!

For $f(x)=2x-1$ at $a=3$ (so $L=5$), tighten the tolerance ε and watch the Defender answer δ = ε/2. The gold box is where the implication lives.

(3, 5)
ε tolerance1.0
δ = ε/20.5
band(4, 6)
window(2.5, 3.5)
1

Why This Definition Exists

"Close" is a picture; ε–δ turns it into a checkable statement.

In first courses you usually meet the informal definition first: "$f(x)$ gets arbitrarily close to $L$ as $x$ gets close to $a$." A good picture, but a poor definition — what does "close" mean, and how close is close enough? If two students disagree about whether a limit exists, what concrete statement settles it?

Historically the inventors of calculus used infinitesimals — quantities "infinitely small but not zero" — which Bishop Berkeley mocked in 1734 as "ghosts of departed quantities." The repair came in stages: Bolzano and Cauchy recast limits in terms of quantities that become smaller than any prescribed bound, and in the 1860s Weierstrass replaced the vague word "arbitrarily" with an explicit quantifier structure: for every tolerance there exists a distance.

Why bother? The ε–δ definition is the machine that makes every later statement of calculus precise — continuity, derivatives, integrals, and the convergence of numerical schemes. Even if you rarely write an ε–δ proof, thinking in tolerances and windows — "if I want the output within ε, how tightly must I control the input?" — is exactly the mindset of scientific computing and experimental physics.
2

Intuition First: The ε–δ Game

A Challenger and a Defender. The limit is true iff the Defender has a winning strategy.
1

The Challenger picks a tolerance ε > 0

"I demand that $f(x)$ be within ε of $L$. Make it work."

2

The Defender answers with a distance δ > 0

"If $x$ is within δ of $a$ (and $x\ne a$), then $f(x)$ will be within ε of $L$."

3

The Challenger picks any x with 0 < |x−a| < δ

…and checks whether $|f(x)-L|<\varepsilon$.

The statement $\lim_{x\to a}f(x)=L$ is true exactly when the Defender has a winning strategy: a rule that produces a valid δ for every tolerance ε the Challenger can name.

  • The Defender sees ε before choosing δ, so δ may depend on ε (and on $a$ and the function) — hence $\delta(\varepsilon)$. But δ must never depend on $x$: the Challenger picks $x$ last.
  • The Challenger's answer must work for every $x$ in the window, not just the points the Defender happened to test. Winning against a sample is not winning the game.

A programmer's translation

The quantifier structure for-all ε, there-exists δ, for-all x is exactly the structure of nested loops:

def limit_claim_holds(f, a, L, eps):
    delta = defender_chooses_delta(eps)   # chosen after seeing eps
    for x in every_real_except(a):        # adversarial; chosen last
        if 0 < abs(x - a) < delta:
            if not abs(f(x) - L) < eps:
                return False               # Challenger wins this round
    return True                            # Defender survives the eps

# "lim f(x) = L" iff this returns True for EVERY eps > 0.

The claim is a property that must survive an adversarial search over all inputs, for every tolerance — like property-based testing or a worst-case bound, except the adversarial search is over all reals in the window.

3

The Formal Definition

The quantifier string, clause by clause.

The precise (ε–δ) definition of a limit

Let $f$ be defined for all $x$ in some open interval containing $a$, except possibly at $a$ itself. Then

$$\lim_{x\to a} f(x)=L \iff \forall\,\varepsilon>0\ \ \exists\,\delta>0\ \ \forall x:\ \ 0<|x-a|<\delta \implies |f(x)-L|<\varepsilon.$$

Read aloud: "For every ε>0, there exists a δ>0 such that, for all $x$, if $0<|x-a|<\delta$ then $|f(x)-L|<\varepsilon$."

ClauseWhose moveWhat it does
$\forall\,\varepsilon>0$Challengeran arbitrary tolerance; a horizontal band $(L-\varepsilon,L+\varepsilon)$ of height $2\varepsilon$. A single failing ε kills the claim.
$\exists\,\delta>0$Defenderproduced after seeing ε; may depend on ε and $a$, but never on $x$.
$\forall x$Adversarial checkover every $x$ in the domain — a universal guarantee, not a sample.
$0<|x-a|<\delta$The windowthe punctured window: within δ of $a$, with $a$ itself excluded. Symmetric → two-sided.
$|f(x)-L|<\varepsilon$The outcome$(x,f(x))$ lies inside the band, i.e. $L-\varepsilon<f(x)<L+\varepsilon$.
The puncture $0<|x-a|$ excludes $x=a$ entirely. Three consequences: (1) $f$ need not even be defined at $a$; (2) the value $f(a)$, when it exists, is irrelevant; (3) continuity is the strictly stronger property where the puncture is removed and $L$ is replaced by $f(a)$.

The three most common quantifier mistakes

(a) Choosing δ after being shown $x$ — δ must not depend on $x$.
(b) Requiring one δ to work for all ε at once ("$\exists\delta\,\forall\varepsilon$") — a far stronger, usually false statement.
(c) Reading $|f(x)-L|<\varepsilon$ as "$f(x)=L$ eventually" — no; $f(x)$ may keep varying as long as it stays inside the band.

4

Fine Print, Siblings, Theorems & the Negation

One-sided / infinity / infinite variants, the limit laws, and how to prove a limit fails.

The sibling definitions

StatementDefinition
$\lim_{x\to a} f=L$$\forall\varepsilon>0\ \exists\delta>0:\ 0<|x-a|<\delta \Rightarrow |f(x)-L|<\varepsilon$
$\lim_{x\to a^-} f=L$$\forall\varepsilon>0\ \exists\delta>0:\ a-\delta<x<a \Rightarrow |f(x)-L|<\varepsilon$
$\lim_{x\to a^+} f=L$$\forall\varepsilon>0\ \exists\delta>0:\ a<x<a+\delta \Rightarrow |f(x)-L|<\varepsilon$
$\lim_{x\to\infty} f=L$$\forall\varepsilon>0\ \exists N:\ x>N \Rightarrow |f(x)-L|<\varepsilon$
$\lim_{x\to a} f=+\infty$$\forall M>0\ \exists\delta>0:\ 0<|x-a|<\delta \Rightarrow f(x)>M$

In the ε–N rows, $N$ plays the role of δ (a far threshold). In the M–δ rows, the Challenger attacks with a huge height $M$ instead of a small tolerance. Two-sided $\iff$ both one-sided limits exist and agree.

Three structural theorems

Uniqueness of limits

If $\lim_{x\to a}f=L_1$ and $\lim_{x\to a}f=L_2$, then $L_1=L_2$.

Suppose $L_1\ne L_2$ and set $\varepsilon=\frac13|L_1-L_2|>0$. There are $\delta_1,\delta_2$ with $|f-L_1|<\varepsilon$ and $|f-L_2|<\varepsilon$ in the punctured window. Let $\delta=\min(\delta_1,\delta_2)$ and pick any $x$ with $0<|x-a|<\delta$. Then $$|L_1-L_2|\le|L_1-f(x)|+|f(x)-L_2|<\tfrac23|L_1-L_2|,$$ a contradiction. Hence $L_1=L_2$.

Sum rule

If $\lim f=L$ and $\lim g=M$, then $\lim(f+g)=L+M$.

Given $\varepsilon>0$, apply the definition with tolerance $\varepsilon/2$ to each: get $\delta_1,\delta_2$ with $|f-L|<\varepsilon/2$ and $|g-M|<\varepsilon/2$. Let $\delta=\min(\delta_1,\delta_2)$. Then $$|(f+g)-(L+M)|\le|f-L|+|g-M|<\tfrac\varepsilon2+\tfrac\varepsilon2=\varepsilon.$$ Splitting ε into two halves is the standard trick whenever two errors are added.

Squeeze theorem

If $g(x)\le f(x)\le h(x)$ near $a$ and $\lim g=\lim h=L$, then $\lim f=L$.

Given $\varepsilon>0$, choose δ so both $g$ and $h$ lie within ε of $L$ in the punctured window. Then $L-\varepsilon<g(x)\le f(x)\le h(x)<L+\varepsilon$, so $|f(x)-L|<\varepsilon$.

The negation: proving a limit fails

Failure of the limit claim

$$\lim_{x\to a}f(x)\ne L \iff \exists\,\varepsilon>0\ \ \forall\,\delta>0\ \ \exists\,x:\ \ 0<|x-a|<\delta\ \text{and}\ |f(x)-L|\ge\varepsilon.$$

The Challenger needs just one immovable ε such that, no matter what window δ the Defender proposes, some point inside it violates the tolerance. This is how we prove $\sin(1/x)$ has no limit at 0. Sequential shortcut: exhibit two sequences $x_n\to a$ along which $f$ tends to two different values.

Fine print: ε, δ are ordinary positive reals, not infinitesimals — "ε tends to 0" is never part of a proof. δ is not unique or optimal: if δ works, every smaller δ' works. δ may depend on ε and $a$; a window that cannot depend on $a$ is the stronger property of uniform continuity.
5

A Visual Dictionary

Shrinking boxes, a jump that fails, an ε–N band, and a blow-up.
PictureSetupWhat it shows
Shrinking boxes$f(x)=2x-1$ at $a=3$, $L=5$For a line, δ=ε/2 is exact. Tighten ε by a factor of 2, δ shrinks by the same factor; the boxes nest down to the single point $(a,L)$.
The jump (failure)step function at $a=1$, candidate $L=\tfrac12$Any window contains points with $f=0$ and points with $f=1$; neither is within ε=$\tfrac14$ of $\tfrac12$. No δ wins. One-sided limits disagree (0 vs 1).
ε–N (far away)$f(x)=1/x$ as $x\to\infty$, $L=0$Choose $N=1/\varepsilon$: for all $x>N$ the graph stays inside the band forever.
M–δ (blow-up)$f(x)=1/x^2$ at $a=0$, threshold $M$Choose $\delta=1/\sqrt M$: inside the punctured window the graph lies entirely above $y=M$.
How to read these: ε controls the height of the red band around $L$; δ controls the width of the blue window around $a$. The largest usable δ is the smaller of the two gaps between $a$ and the points where the curve exits the band. Any smaller δ also wins — the definition asks for some working δ, not the largest.
6

Canonical Examples

A ladder from the simplest line to oscillation and divergence. Scratch work → clean verification.

6.1 · Linear: $\lim_{x\to3}(2x+1)=7$

Let $\varepsilon>0$. Scratch: $|(2x+1)-7|=2|x-3|$; we want $|x-3|<\varepsilon/2$. Choose δ=ε/2. Verify: if $0<|x-3|<\delta$, then $|(2x+1)-7|=2|x-3|<2\cdot\frac\varepsilon2=\varepsilon$. ∎

6.2 · Quadratic: $\lim_{x\to2}x^2=4$

Factor $|x^2-4|=|x-2||x+2|$. Control $|x-2|$; bound $|x+2|$ near 2. If $|x-2|<1$, then $1<x<3$ so $|x+2|<5$, giving $|x^2-4|<5|x-2|$. Choose δ=min(1, ε/5). Then $|x-2|<1\Rightarrow|x+2|<5$ and $|x-2|<\varepsilon/5$, so $|x^2-4|<\frac\varepsilon5\cdot5=\varepsilon$. ∎

6.3 · Removable singularity: $\lim_{x\to4}\frac{x^2-16}{x-4}=8$

$f$ is undefined at $x=4$ — and that's allowed. For $x\ne4$, $f(x)=\frac{(x-4)(x+4)}{x-4}=x+4$ (cancellation legal because the limit never tests $x=4$). Then $|f(x)-8|=|x-4|$. Choose δ=ε. If $0<|x-4|<\delta$, then $|f(x)-8|=|x-4|<\varepsilon$. ∎ The graph is the line $y=x+4$ with a hole at $x=4$.

6.4 · Reciprocal: $\lim_{x\to1}\frac1x=1$

$|1/x-1|=\frac{|x-1|}{|x|}$; keep the denominator away from 0. If $|x-1|<\tfrac12$, then $x>\tfrac12$ so $1/|x|<2$, giving $|1/x-1|<2|x-1|$. Choose δ=min(½, ε/2). Then $|1/x-1|<2\cdot\varepsilon/2=\varepsilon$. ∎

6.5 · Square root: $\lim_{x\to4}\sqrt x=2$

Rationalize: $|\sqrt x-2|=\frac{|x-4|}{\sqrt x+2}\le\frac{|x-4|}{2}$ (since $\sqrt x\ge0\Rightarrow\sqrt x+2\ge2$). Choose δ=2ε. If $0<|x-4|<\delta$ (and $x\ge0$), then $|\sqrt x-2|\le|x-4|/2<\varepsilon$. ∎

6.6 · Oscillating: $\lim_{x\to0}x\sin(1/x)=0$

$|x\sin(1/x)|\le|x|$ because $|\sin\theta|\le1$ no matter how wildly $1/x$ oscillates — the sine is caged by the shrinking amplitude $|x|$. Choose δ=ε. If $0<|x|<\delta$, then $|x\sin(1/x)|\le|x|<\varepsilon$. ∎ Contrast: $\sin(1/x)$ alone has no such cage, and its limit does not exist.

6.7 · δ not proportional to ε: $\lim_{x\to-1}(x^2+2x)=-1$

Complete the square: $x^2+2x=(x+1)^2-1$, so $|(x^2+2x)+1|=|x+1|^2$. We want $|x+1|^2<\varepsilon$, i.e. $|x+1|<\sqrt\varepsilon$. Choose δ=√ε. Then $|(x^2+2x)+1|=|x+1|^2<(\sqrt\varepsilon)^2=\varepsilon$. ∎ Nonlinear functions can give any positive relation δ(ε) — here a square root.

6.8 · Limit at infinity: $\lim_{x\to\infty}\frac{3x}{x+2}=3$ (ε–N)

$\left|\frac{3x}{x+2}-3\right|=\frac{6}{x+2}$ for $x>0$. We want $6/(x+2)<\varepsilon$, i.e. $x>6/\varepsilon-2$. Choose $N=6/\varepsilon$. If $x>N$, then $x+2>6/\varepsilon$, so the error is $<\varepsilon$. ∎

6.9 · Infinite limit: $\lim_{x\to0}\frac1{x^2}=+\infty$ (M–δ)

The Challenger names a huge $M>0$; keep the graph above it. We want $1/x^2>M$, i.e. $x^2<1/M$, i.e. $|x|<1/\sqrt M$. Choose δ=$1/\sqrt M$. If $0<|x|<\delta$, then $x^2<1/M$ and $1/x^2>M$. ∎ Contrast: $\lim_{x\to0}1/x$ fails even as an infinite limit — the sides blow up in opposite directions.

6.10 · Value at the point is irrelevant

Let $h(x)=0$ for $x\ne0$ and $h(0)=5$. Prove $\lim_{x\to0}h(x)=0$.

Take δ=ε. If $0<|x|<\delta$, then $x\ne0$, so $h(x)=0$ and $|h(x)-0|=0<\varepsilon$. ∎ The value $h(0)=5$ lives on the excluded point and never enters any verification — yet $h$ is discontinuous at 0 because $\lim h=0\ne5=h(0)$. A removable discontinuity.

6.11 · Proving non-existence: the sign function

$f(x)=-1$ for $x<0$, $f(x)=1$ for $x>0$, $f(0)=0$. Show $\lim_{x\to0}f$ does not exist.

Use the negation with fixed $\varepsilon=\tfrac12$. Let $L$ be any candidate, δ any window. If $L\ge0$: choose $x=-\delta/2$, so $f(x)=-1$ and $|-1-L|=1+L\ge1>\tfrac12$. If $L<0$: choose $x=+\delta/2$, so $f(x)=1$ and $|1-L|=1-L>1>\tfrac12$. Every $L$ fails. ∎ (One-sided: left limit −1 ≠ right limit +1.)

6.12 · Proving non-existence: $\sin(1/x)$ at 0

Fix $\varepsilon=\tfrac12$. Set $x_n=\frac{1}{\pi/2+2\pi n}$ (where sine=+1) and $y_n=\frac{1}{3\pi/2+2\pi n}$ (where sine=−1). Both $x_n,y_n\to0$, but $g(x_n)\to1$ while $g(y_n)\to-1$. A limit would force all images to a single value — contradiction. ∎ (Sequential shortcut in one line.)
7

Worked Example: The Full Game on f(x)=x²

Produce δ, verify in full generality, stress-test with numbers, compare with the optimum.

The Challenger demands ε = ½ for $\lim_{x\to2}x^2=4$

  1. Strategy: isolate the controlled factor from $|x^2-4|=|x-2||x+2|$, then bound $|x+2|$ on a preliminary window.
  2. Scratch: if $|x-2|<1$ then $1<x<3$, so $|x+2|<5$, giving $|x^2-4|<5|x-2|$. To make this $<\tfrac12$ we need $|x-2|<\tfrac1{10}$.
  3. Choice: $\delta=\min(1,\varepsilon/5)$, which for $\varepsilon=\tfrac12$ gives $\delta=0.1$.
  4. Verification (arbitrary ε): if $0<|x-2|<\delta$, then $|x+2|<5$ and $|x-2|<\varepsilon/5$, so $|x^2-4|<\frac\varepsilon5\cdot5=\varepsilon$. ∎
Stress test (ε=½, δ=0.1): the worst points sit at the window edges $x=1.9,2.1$: errors $0.39$ and $0.41$, both $<\tfrac12$. ✓

How good was our δ? The exact exits solve $x^2=4\pm\tfrac12$: the optimal radius is $\delta_{opt}\approx0.1213$. Our $\delta=0.1$ is valid but not optimal — perfectly acceptable. The definition demands existence, not perfection.

Challenger's εDefender's δ = min(1, ε/5)window (2−δ, 2+δ)guaranteed error
0.50.1(1.9, 2.1)< 0.5
0.050.01(1.99, 2.01)< 0.05
0.0010.0002(1.9998, 2.0002)< 0.001
Interpretation: "$x^2$ tends to 4 as $x$ tends to 2" means these tolerance pairs can be extended indefinitely — for any error budget, however small, some window implements it. The proof is the strategy that mechanically constructs the window; the numbers are spot checks, not the proof.
8

Common Misconceptions — nine traps, nine repairs

Most lost marks live in the quantifiers, not the algebra.
"δ is a fixed number"
No: δ is a function of the tolerance, $\delta=\delta(\varepsilon)$. A proof must produce a rule, not a single number.
"The limit requires f(a) to exist"
The condition $0<|x-a|$ explicitly excludes $x=a$. A limit can exist where $f$ isn't even defined.
"If the limit exists, it equals f(a)"
Only for functions continuous at $a$. Limit and value are independent; continuity is the name of their coincidence.
"Choose δ after you see x"
The classic quantifier-order blunder. δ is fixed in response to ε; $x$ is chosen afterwards by an adversary.
"One success proves the limit"
Winning one round proves nothing. The claim means winning every round — a strategy against all tolerances.
"ε must be small"
ε ranges over all positive reals. Usually only small ε are hard, but the definition says "for every ε>0."
"A graph or table showed it, so we're done"
Graphs and tables suggest; they cannot certify. Plots of $\sin(1/x)$ on finitely many points look convergent — but no limit exists.
"ε means machine epsilon"
Different concepts sharing a letter. Mathematical ε is an arbitrary positive real; floating-point epsilon ≈ 2.2×10⁻¹⁶ is a round-off floor.
"$\lim 1/x^2=+\infty$ means the limit exists"
$+\infty$ is not a real number. The M–δ statement is a valid definition, but not a finite limit. And $\lim_{x\to0}1/x$ fails even as an infinite limit.
In plain words (Feynman-style): "The limit is $L$" means: I can promise that $f(x)$ is as close to $L$ as you like. The only freedom I ask in return is how close $x$ must be to $a$. You name the closeness of the answer, I name the closeness of the input — and the promise must survive any demand you can invent, with one loophole: the point $x=a$ itself is exempt. That exemption is why limits can reason about holes, jumps, and wild oscillations without the function needing to live there.
9

The Problem-Solving Algorithm

A five-step pipeline for nearly every first-course ε–δ exercise.
1

Guess L

Plug in / algebra. For continuous pieces $L=f(a)$; otherwise factor and cancel first.

2

Factor out |x−a|

Write $|f(x)-L|=|x-a|\cdot|B(x)|$. Factoring and completing the square are the workhorses.

3

Bound |B(x)| ≤ K on a window

Pick a radius $r$ (often $r=1$, or the distance to the nearest danger point) and bound the leftover factor by a constant.

4

Choose δ = min(r, ε/K)

The minimum combines staying on the good window and making the product small.

5

Verify for arbitrary ε

Assume $0<|x-a|<\delta$, derive the two consequences, multiply the bounds, conclude $|f(x)-L|<\varepsilon$. Then sanity-check: δ>0 for every ε>0, δ→0 as ε→0.

The one fatal mistake: never prove the implication only for the points you can solve for by hand. The verification must flow from the assumed inequality $0<|x-a|<\delta$ to the conclusion $|f(x)-L|<\varepsilon$ without using the value of $x$. Bounding $B$ by a constant is what makes that possible.
10

Computational Exploration

Watch the box, find the optimal δ, fuzz the Defender, verify symbolically.

Four short programs turn the definition into something you can watch and stress-test. The proof certifies what the numbers merely suggest.

10.1 · Watching the box for f(x)=x²

import numpy as np
f = lambda x: x**2
a, L, eps, delta = 2.0, 4.0, 0.5, 0.1   # the (eps,delta) pair proved by hand
xs = np.linspace(a-delta, a+delta, 200_001)
xs = xs[np.abs(xs-a) > 1e-12]           # puncture: drop x = a
err = np.abs(f(xs) - L)
print("worst error:", err.max())
print("defender wins:", err.max() < eps)
worst error: 0.41
defender wins: True

The worst point sits at a window edge — you can't find it by sampling random points, which is exactly why sampling isn't a proof.

10.2 · Finding the largest δ numerically

from scipy.optimize import brentq
def largest_delta(f, a, L, eps, reach=1.0):
    x_left  = brentq(lambda x: f(x)-(L-eps), a-reach, a)
    x_right = brentq(lambda x: f(x)-(L+eps), a, a+reach)
    return min(a-x_left, x_right-a)
for eps in (1.0, 0.5, 0.1, 0.01, 1e-4):
    print(eps, largest_delta(lambda x: x**2, 2.0, 4.0, eps))

As ε shrinks, the optimal radius converges to $\varepsilon/|f'(2)|=\varepsilon/4$ — the window size dictated by the local slope. The gap between the crude bound ε/5 and the optimal ε/4 is typical proof engineering.

10.3 · Fuzzing the Defender's strategy

rng = np.random.default_rng(0); m, b, a = 2.0, 1.0, 3.0   # f=2x+1, L=7
L = m*a + b
for r in range(1, 6):
    eps   = 10.0 ** rng.uniform(-6, 0)   # challenger: random tolerance
    delta = eps / abs(m)                 # defender: strategy delta=eps/2
    x     = a + delta * rng.uniform(-1, 1)
    err   = abs((m*x + b) - L)
    print(r, eps, delta, err, "wins:", err < eps)

Every round prints wins: True. No finite number of rounds proves the universal statement — the hand proof does that — but the fuzzer finds an embarrassing counterexample fast if the strategy is wrong.

10.4 · Symbolic verification with SymPy

import sympy as sp
x = sp.symbols("x", real=True)
expr = (x**2 - 16)/(x - 4)              # undefined at x=4
print(sp.simplify(expr))                # x + 4  (for x != 4)
print(sp.limit(expr, x, 4))             # 8
print(sp.limit(sp.sin(x)/x, x, 0))      # 1
Numerical pitfalls: cancellation destroys digits — evaluating $(x^2-16)/(x-4)$ near $x=4$ in floating point loses precision; use the simplified $x+4$. Sampling can only falsify, never certify, a universal claim. And root finders need a sign change — design the bracket from the geometry.
11

Connections — where ε–δ lives

The same tolerance game, wearing different clothes across mathematics.

∂ Derivatives

$f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h}$; every derivative rule is proved from ε–δ. The tightest tolerances are governed by the slope $f'(a)$.

∞ Continuity

Continuity is the same game with the puncture removed and $L=f(a)$. If one δ works for all points at once, that's uniform continuity — a strictly stronger statement.

🔬 Measurement theory

"To what precision must I measure time to get velocity within 0.01 m/s?" is the ε–δ game in lab clothes: ε = output error, δ = input precision.

Σ Sequences & series

The same tolerance logic with ε–N defines $x_n\to L$ and the convergence of series; the squeeze and sum-rule proofs transfer almost verbatim.

∫ Integrals

The Riemann integral is a limit of Riemann sums; numerical quadrature is literally an ε–δ contract — achieve error < ε by refining the mesh below δ.

💻 Numerical analysis

Convergence of iterative algorithms ("for tolerance ε there exists N iterations") is an ε–N statement. Machine epsilon is the hard floor below which no numerical ε resolves.

🧭 Topology

Replace "$|x-a|<\delta$" by "$x$ is in a neighborhood $U$ of $a$": the definition becomes "for every $V$ there exists $U$ with $f(U\setminus\{a\})\subseteq V$" — the seed of point-set topology.
12

Practice Set — cover the answers, produce δ(ε) first

Compare your verification, not just the final δ.
Level 1 · Conceptual Level 2 · Standard Level 3 · Challenging

Level 1 — Conceptual

C1 Why does the definition exclude $x=a$ via $0<|x-a|$? What would change if the implication were also required at $x=a$?concept

The limit describes behavior near $a$, not at $a$. Requiring it at $x=a$ would force $f(a)$ to exist and equal $L$ — i.e. continuity — destroying the ability to discuss holes, jumps, or singularities at the point.

C2 If δ=0.3 works for ε=0.1, does δ=0.2 work? Must δ=0.5 work?concept

δ=0.2 also works: the smaller window is a subset, so every point was already handled. δ=0.5 need not work — a larger window may contain points that violate the tolerance. Winning windows form the interval $(0,\delta_{max}]$.

C3 Explain the difference between "$\forall\varepsilon>0\ \exists\delta>0$" and the swapped "$\exists\delta>0\ \forall\varepsilon>0$".quantifiers

The first: for each tolerance there is (possibly a different) window. The second: one single window defeats all tolerances at once — much stronger, satisfied only by functions equal to $L$ near $a$, and false for $f(x)=x$ at 0.

C4 True or false: if $\lim_{x\to a}f(x)=L$ then $f(a)=L$.true/false

False. Counterexample: $h(x)=0$ for $x\ne0$, $h(0)=5$ has $\lim_{x\to0}h=0\ne5=h(0)$. True only if we add that $f$ is continuous at $a$.

C5 If $\lim_{x\to a}f(x)=L$, must $f$ be bounded near $a$?concept

Yes, locally. Play the game with ε=1: for $0<|x-a|<\delta$, $|f(x)-L|<1$, so $|f(x)|\le|f(x)-L|+|L|<1+|L|$. Thus $K=1+|L|$ witnesses local boundedness.

Level 2 — Standard calculations

S1 Prove $\lim_{x\to3}(4x-5)=7$.linear

$|(4x-5)-7|=4|x-3|$; choose δ=ε/4. Then $0<|x-3|<\delta\Rightarrow$ error $<4\cdot\varepsilon/4=\varepsilon$.

S2 Prove $\lim_{x\to1}(x^2+x)=2$.quadratic

$|x^2+x-2|=|x-1||x+2|$. If $|x-1|<1$, then $|x+2|<4$. Choose δ=min(1, ε/4); error $<4\cdot\varepsilon/4=\varepsilon$.

S3 Prove $\lim_{x\to2}\frac1x=\frac12$.reciprocal

$|1/x-1/2|=\frac{|2-x|}{2|x|}$. If $|x-2|<1$, then $x>1$ so $2|x|>2$, giving error $<|x-2|/2$. Choose δ=min(1, 2ε).

S4 Prove $\lim_{x\to6}\sqrt{x-2}=2$.radical

Rationalize: $|\sqrt{x-2}-2|=\frac{|x-6|}{\sqrt{x-2}+2}\le\frac{|x-6|}{2}$. Choose δ=2ε; error $<\varepsilon$.

S5 Prove with ε–N that $\lim_{x\to\infty}\frac{2x}{x-1}=2$.ε–N

For $x>1$, $\left|\frac{2x}{x-1}-2\right|=\frac{2}{x-1}<\varepsilon$ iff $x>1+2/\varepsilon$. Choose $N=1+2/\varepsilon$.

S6 Prove $\lim_{x\to3}x^3=27$.cubic

$|x^3-27|=|x-3||x^2+3x+9|$. If $|x-3|<1$, then $2<x<4$ so $x^2+3x+9<37$. Choose δ=min(1, ε/37).

Level 3 — Challenging

H1 Prove $\lim_{x\to0}x^2\sin(1/x)=0$ and note why δ shrinks like √ε.nonlinear δ

$|x^2\sin(1/x)|\le x^2$. Choose δ=√ε; then $0<|x|<\delta\Rightarrow x^2<\varepsilon$. The square root appears because the controlled quantity is quadratic in $|x|$.

H2 Prove $\lim_{x\to1}\frac{x-1}{\sqrt x-1}=2$.algebra first

Rationalize: $\frac{x-1}{\sqrt x-1}=\sqrt x+1$ for $x\ne1$. Then $|(\sqrt x+1)-2|=|\sqrt x-1|=\frac{|x-1|}{\sqrt x+1}\le|x-1|$. Choose δ=ε.

H3 If $\lim_{x\to a}f=L$ with $L>0$, prove $f(x)>L/2$ near $a$.sign preservation

Apply the definition with ε=$L/2>0$: there is δ with $|f(x)-L|<L/2$, i.e. $-L/2<f(x)-L<L/2$, hence $f(x)>L/2>0$.

H4 If $\lim_{x\to a}f=L$, prove $\lim_{x\to a}|f|=|L|$.absolute value

By the reverse triangle inequality, $\big||f(x)|-|L|\big|\le|f(x)-L|$. Given ε, reuse the δ the limit definition provides; then $\big||f|-|L|\big|<\varepsilon$.

H5 Prove rigorously that $\lim_{x\to0}\frac{|x|}{x}$ does not exist.non-existence

$|x|/x=+1$ for $x>0$ and $-1$ for $x<0$. With ε=1/2: if $L\ge0$ choose $x=-\delta/2$ (error $1+L\ge1$); if $L<0$ choose $x=+\delta/2$ (error $1-L>1$). Every $L$ fails. Left limit −1 ≠ right limit +1.

H6 Prove: if $\lim_{x\to a}f=L$ and $x_n\to a$ with $x_n\ne a$, then $f(x_n)\to L$.sequential

Given ε, there is δ with $0<|x-a|<\delta\Rightarrow|f(x)-L|<\varepsilon$. Since $x_n\to a$, for $n\ge N$ we have $|x_n-a|<\delta$; and $x_n\ne a$ gives $0<|x_n-a|<\delta$, so $|f(x_n)-L|<\varepsilon$. As ε was arbitrary, $f(x_n)\to L$.
13

Study Plan & Exam Checklist

A schedule to own the definition, then a checklist to run on every proof.

⏱ The 15-minute pass

Write the definition from memory, quantifiers in order. Say the challenge–response game out loud for $\lim_{x\to3}(2x+1)=7$: name ε, answer ε/2, verify. Redraw the band/window/box from memory.

⏱ The one-hour session

Derive the $x^2\to4$ proof on paper without looking, including scratch work. Solve S2 and S3. Run Listings 1 and 2 and vary ε. Reproduce the step-function non-existence proof from the negation.

🗓 The one-week consolidation

One proof per day: linear, quadratic, rational, radical, infinity-type. Write the four sibling definitions from memory. Implement the fuzzer for a nonlinear function using your own hand proof — break it, then fix the proof.

Exam Checklist — tick each before moving on

0 / 9 confirmed
14

Summary Card & Further Resources

Everything on one card — reproduce it from memory and you own the definition.

The ε–δ definition in one card

  • Statement: $\lim_{x\to a}f(x)=L \iff \forall\varepsilon>0\ \exists\delta>0:\ 0<|x-a|<\delta\Rightarrow|f(x)-L|<\varepsilon$.
  • Meaning: any demanded output tolerance ε can be met by some input window δ; the game must be winnable for every tolerance.
  • Quantifier order: $\forall\varepsilon\ \exists\delta\ \forall x$ — order is meaning. δ must not depend on $x$; swapping $\forall\varepsilon$ and $\exists\delta$ gives a much stronger, usually false claim.
  • Punctured window: $0<|x-a|$ — $f$ need not be defined at $a$, and $f(a)$ is irrelevant.
  • Workflow: guess L; factor out $|x-a|$; bound the leftover factor; pick δ=min(r, ε/K); verify.
  • Siblings: one-sided limits; ε–N for $x\to\pm\infty$; M–δ for infinite limits ($\delta=1/\sqrt M$ for $1/x^2$).
  • Failure test: negation — one ε defeats every window (jumps; $\sin(1/x)$ at 0).
  • Main idea: the definition converts "f(x) gets close to L" into an adversarial tolerance-versus-window game — the foundation of continuity, derivatives, integrals, and every numerical convergence claim.

Further resources

📕
Spivak, Calculus — Chapter 5 ("Limits") is the gold-standard ε–δ treatment with carefully graded problems. If you buy one book, this is it.
📗
Stewart, Calculus — Section 2.4, "The Precise Definition of a Limit," with standard worked examples; good for matching a typical course's style.
📘
Apostol, Calculus Vol. 1 — a rigorous classic; limits, continuity, and derivatives developed carefully from the definition.
📙
Rudin, Principles of Mathematical Analysis — Chapters 3–4; advanced proof-based analysis, excellent exercises later.
🎬
3Blue1Brown, Essence of Calculus — the limits / epsilon-delta episode gives the visual story these notes formalize.
📝
Paul's Online Math Notes — "The Definition of the Limit," concise with extra worked problems. MIT OCW 18.01SC for lecture videos and exam-style practice.

Built from "The Precise Definition of a Limit: An ε–δ Deep Dive" (Calculus Deep Dives) · Game-first study guide