4.1.9Calculus I — Limits & Derivatives

Epsilon-delta definition of a limit — formal proofs

1,709 words8 min readdifficulty · medium6 backlinks

WHY do we even need this?

The casual phrase "f(x)f(x) gets close to LL as xx gets close to aa" is too vague to prove anything:

  • "Close" — how close?
  • Does ff have to reach LL? (No — limits ignore the point aa itself.)
  • Could f(x)f(x) wobble forever near aa? (Then no limit exists, but the vague phrase can't catch that.)

The epsilon–delta definition replaces fuzzy words with a game with measurable tolerances, so a limit becomes something you can actually win an argument about.


WHAT is the definition?

Decoding each symbol:

  • f(x)L<ε|f(x)-L|<\varepsilon → the output is inside a band of half-width ε\varepsilon around LL.
  • 0<xa<δ0<|x-a|<\delta → the input is inside a band of half-width δ\delta around aa. The strict 0<0< excludes x=ax=a (a limit doesn't care what happens at aa).
  • The quantifier order matters: ε\varepsilon is given to you first (the challenge), then you find δ\delta (your reply). Your δ\delta is allowed to depend on ε\varepsilon.
Figure — Epsilon-delta definition of a limit — formal proofs

HOW to write a proof (the universal recipe)

Every ε\varepsilonδ\delta proof has two halves:

  1. Scratchwork (find δ\delta): Start from the goal f(x)L<ε|f(x)-L|<\varepsilon and work backwards, factoring out xa|x-a|, until you see what δ\delta must be.
  2. Clean proof (forwards): "Let ε>0\varepsilon>0. Choose δ=\delta = \dots. Then assume 0<xa<δ0<|x-a|<\delta and derive f(x)L<ε|f(x)-L|<\varepsilon."

Example 1 — a linear function (the cleanest case)

Claim: limx3(2x+1)=7.\displaystyle\lim_{x\to 3}(2x+1)=7.

Scratchwork. Here f(x)L=(2x+1)7=2x6=2(x3)f(x)-L = (2x+1)-7 = 2x-6 = 2(x-3). So f(x)L=2x3.|f(x)-L| = 2|x-3|. Why this step? We factored out x3=xa|x-3|=|x-a|, the controllable input distance. To make 2x3<ε2|x-3|<\varepsilon we need x3<ε/2|x-3|<\varepsilon/2. So take δ=ε/2\delta=\varepsilon/2.

Proof. Let ε>0\varepsilon>0. Choose δ=ε2\delta=\dfrac{\varepsilon}{2}. Suppose 0<x3<δ0<|x-3|<\delta. Then (2x+1)7=2x3<2δ=2ε2=ε.|(2x+1)-7| = 2|x-3| < 2\delta = 2\cdot\frac{\varepsilon}{2}=\varepsilon.\qquad\blacksquare Why this works: the factor was the constant 22, so δ\delta is a clean fraction of ε\varepsilon.


Example 2 — a quadratic (factor must be bounded first)

Claim: limx2x2=4.\displaystyle\lim_{x\to 2}x^2=4.

Scratchwork. x24=x2x+2|x^2-4| = |x-2|\,|x+2|. The factor x+2|x+2| is not constant — it depends on xx. Why is this a problem? We can't pick δ=ε/x+2\delta=\varepsilon/|x+2| because δ\delta must be a fixed number, not depend on xx.

Fix — pre-restrict xx. First impose a preliminary restriction x2<1|x-2|<1. Then 1<x<31<x<3, so x+2=x+2<5.|x+2| = x+2 < 5. Why this step? Once xx is near 22, the factor x+2|x+2| can't exceed 55 — we bounded the troublesome factor by a constant. Now x24=x2x+2<5x2.|x^2-4| = |x-2|\,|x+2| < 5\,|x-2|. To get 5x2<ε5|x-2|<\varepsilon we need x2<ε/5|x-2|<\varepsilon/5. We need both x2<1|x-2|<1 and x2<ε/5|x-2|<\varepsilon/5, so take the smaller: δ=min ⁣(1, ε5).\boxed{\delta = \min\!\left(1,\ \tfrac{\varepsilon}{5}\right).}

Proof. Let ε>0\varepsilon>0. Choose δ=min(1,ε/5)\delta=\min(1,\varepsilon/5). Suppose 0<x2<δ0<|x-2|<\delta. Since δ1\delta\le1, we have x+2<5|x+2|<5. Since δε/5\delta\le\varepsilon/5, x24=x2x+2<5x2<5ε5=ε.|x^2-4| = |x-2|\,|x+2| < 5|x-2| < 5\cdot\frac{\varepsilon}{5}=\varepsilon.\qquad\blacksquare


Example 3 — proving a limit is FALSE (negation)

Claim: limx0xx\displaystyle\lim_{x\to 0} \frac{|x|}{x} does not exist.

To negate the definition, swap the quantifiers:

Here f(x)=1f(x)=1 for x>0x>0 and f(x)=1f(x)=-1 for x<0x<0. Suppose someone claims the limit is LL. Take ε=1\varepsilon=1. For any δ>0\delta>0, the interval (δ,δ)(-\delta,\delta) contains both a point x+>0x_+>0 (where f=1f=1) and x<0x_-<0 (where f=1f=-1). These differ by 22, so they can't both be within 11 of LL. Hence no LL works. Why ε=1\varepsilon=1? It's small enough that the ε\varepsilon-band can't straddle both +1+1 and 1-1 simultaneously.


Recall Feynman: explain it to a 12-year-old

Imagine you're aiming a water hose at a target. A friend says "I want the water to land inside this small ring." That ring is the ε\varepsilon. You answer: "Then keep my hand within this tiny wobble of the right angle" — that wobble is δ\delta. The hose has a real limit if no matter how tiny a ring your friend draws, you can always find a small-enough hand-wobble that keeps the water inside. If they pick a ring so small that you can never keep the water in — there's no limit there.


Active recall

What does limxaf(x)=L\lim_{x\to a}f(x)=L mean formally?
ε>0δ>0\forall\varepsilon>0\,\exists\delta>0 s.t. 0<xa<δf(x)L<ε0<|x-a|<\delta \Rightarrow |f(x)-L|<\varepsilon.
Why must 0<xa0<|x-a| (strict)?
To exclude x=ax=a; a limit ignores the value (or non-value) of ff at aa itself.
Which is chosen first, ε\varepsilon or δ\delta?
ε\varepsilon (the challenge) first; δ\delta may depend on ε\varepsilon.
f(x)L|f(x)-L| should be rewritten as what general shape?
(some factor)×xa\times|x-a|, so an input bound becomes an output bound.
For limx3(2x+1)=7\lim_{x\to3}(2x+1)=7, what δ\delta works?
δ=ε/2\delta=\varepsilon/2, since (2x+1)7=2x3|(2x+1)-7|=2|x-3|.
For a quadratic, why use δ=min(1,ε/5)\delta=\min(1,\varepsilon/5)?
The min\min enforces both the preliminary bound (so the variable factor \le constant) and the ε\varepsilon-condition.
What's the negation of the limit definition?
ε>0δ>0x:0<xa<δ\exists\varepsilon>0\,\forall\delta>0\,\exists x:\,0<|x-a|<\delta and f(x)Lε|f(x)-L|\ge\varepsilon.
Why can't δ\delta depend on xx?
δ\delta is committed before xx is chosen; an xx-dependent δ\delta isn't a valid response.
What ε proves x/x|x|/x has no limit at 0?
ε=1\varepsilon=1: any interval around 0 has points giving +1+1 and 1-1, two apart.

Connections

  • Limit Laws (sum, product, quotient) — each law is proved with ε\varepsilonδ\delta.
  • Continuityff continuous at aa means limxaf(x)=f(a)\lim_{x\to a}f(x)=f(a) (same definition, with L=f(a)L=f(a)).
  • One-sided limits — replace 0<xa<δ0<|x-a|<\delta with a<x<a+δa<x<a+\delta or aδ<x<aa-\delta<x<a.
  • Definition of the derivative — a derivative is an ε\varepsilonδ\delta limit of difference quotients.
  • Uniform continuity — same game, but δ\delta must work for all aa at once.
  • Sequences and their limits — discrete analogue with NN instead of δ\delta.

Concept Map

too imprecise to prove

reads as

adversary picks

you reply with

quantifier order

strict 0 less than

proven via

step 1

step 2

factor out

bound factor by M

applied in

Vague close idea

Epsilon-delta definition

Challenge-response game

epsilon output band

delta input band

Excludes x=a

Universal recipe

Scratchwork find delta

Clean forwards proof

Write as factor times abs x-a

Choose delta = epsilon over M

Example linear 2x+1

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, limit ka asli matlab kya hai? Hum kehte hain "xx jab aa ke paas jaata hai to f(x)f(x), LL ke paas jaata hai" — par "paas" ka matlab vague hai. Isliye mathematicians ne ek game banaya: dushman (adversary) tumhe ek chhota number ε\varepsilon deta hai aur kehta hai "f(x)f(x) ko LL ke itne paas le aao". Tumhara kaam hai ek δ\delta dhoondhna — yaani ek "control knob" — jisse agar xx ko aa ke δ\delta ke andar rakho, to automatically f(x)f(x), LL ke ε\varepsilon ke andar aa jaaye. Agar tum har ε\varepsilon ke liye aisa δ\delta nikaal sakte ho, to limit =L=L hai. Bas yahi pura concept hai.

Proof likhne ka simple formula yaad rakho — FBC: Factor, Bound, Choose. Pehle f(x)L|f(x)-L| ko aise likho ki usme xa|x-a| ek factor ban jaaye (Factor). Agar baaki bacha factor variable hai (jaise x2x^2 wale case mein x+2|x+2|), to use ek constant se bound karo, pehle xa<1|x-a|<1 maan ke (Bound). Phir δ=min(1,ε/constant)\delta = \min(1, \varepsilon/\text{constant}) choose karo (Choose). Linear case mein factor constant hi hota hai, to seedha δ=ε/2\delta=\varepsilon/2 type answer mil jaata hai.

Ek bada mistake jo sab karte hain: log δ=ε/x+2\delta = \varepsilon/|x+2| likh dete hain. Galat! Kyunki δ\delta ek fixed number hona chahiye jo tum xx choose hone se pehle commit karte ho. δ\delta kabhi xx pe depend nahi kar sakta. Isiliye hum troublesome factor ko constant se bound karte hain. Yeh idea — challenge pehle, response baad mein, aur response fixed — pura calculus ki neev hai: continuity, derivative, integral, sab isi ε\varepsilonδ\delta game pe khade hain. Isliye ise gehraai se samajhna zaroori hai.

Go deeper — visual, from zero

Test yourself — Calculus I — Limits & Derivatives

Connections