Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Write an Epsilon-Delta Proof

To prove lim⁡x→af(x)=L\lim_{x\to a} f(x) = L you show: for every ε>0\varepsilon > 0 there is a δ>0\delta > 0 such that 0<∣x−a∣<δ0 < |x - a| < \delta forces ∣f(x)−L∣<ε|f(x) - L| < \varepsilon. The work is scratch work backwards (find δ\delta in terms of ε\varepsilon), then the proof forwards.

Recognize the task

"Prove using the definition of the limit", "find δ\delta for a given ε\varepsilon", "ε\varepsilon-δ\delta". Test: the word prove, or the Greek letters, together with a linear or simple quadratic function.
The intuitive version is the central idea of a limit; the site has no separate section on the formal definition, so this page is where the proof technique lives.

Two ways to do it

Linear functions: solve directlyusual choice
∣f(x)−L∣=∣m∣ ∣x−a∣<ε  ⟺  ∣x−a∣<ε∣m∣|f(x) - L| = |m|\,|x - a| < \varepsilon \iff |x - a| < \frac{\varepsilon}{|m|}
For f(x)=mx+bf(x) = mx + b the factor in front of ∣x−a∣|x - a| is a constant, so δ=ε∣m∣\delta = \frac{\varepsilon}{|m|} works at once.
Nonlinear: bound the extra factor firstquadratics and beyond
∣x2−a2∣=∣x+a∣ ∣x−a∣≤(2∣a∣+1) ∣x−a∣if ∣x−a∣<1|x^2 - a^2| = |x + a|\,|x - a| \le (2|a| + 1)\,|x - a| \quad \text{if } |x - a| < 1
Restrict δ≤1\delta \le 1 to bound the extra factor by a constant MM, then take δ=min⁡ ⁣(1,εM)\delta = \min\!\big(1, \frac{\varepsilon}{M}\big).

Steps

StepOn lim⁡x→2(3x−1)=5\lim_{x\to 2}(3x - 1) = 5
1Write |f(x) − L| and simplify it to a multiple of |x − a|. For a polynomial, (x−a)(x - a) always factors out of f(x)−f(a)f(x) - f(a).∣3x−1−5∣=∣3x−6∣=3∣x−2∣|3x - 1 - 5| = |3x - 6| = 3|x - 2|
2Scratch work: solve |f(x) − L| < ε for |x − a|. This runs backwards from the goal. It is not the proof yet.3∣x−2∣<ε  ⟺  ∣x−2∣<ε33|x - 2| < \varepsilon \iff |x - 2| < \frac{\varepsilon}{3}
3Choose δ. Here δ=ε3\delta = \frac{\varepsilon}{3}. For a nonlinear ff, δ=min⁡(1,…)\delta = \min(1, \ldots) so the bound on the extra factor stays valid.δ=ε3\delta = \frac{\varepsilon}{3}
4Write the proof forwards. Let ε>0\varepsilon > 0. Take δ=ε3\delta = \frac{\varepsilon}{3}. If 0<∣x−2∣<δ0 < |x - 2| < \delta, then ∣f(x)−5∣=3∣x−2∣<3δ=ε|f(x) - 5| = 3|x - 2| < 3\delta = \varepsilon. ∎proof complete

Worked examples

Example 1 · a linear function

δ = ε / |m|
lim⁡x→2(3x−1)=5\lim_{x\to 2}(3x - 1) = 5:   ∣f(x)−5∣=3∣x−2∣\;|f(x) - 5| = 3|x - 2|
scratch work
take δ=ε3\delta = \frac{\varepsilon}{3}; then 0<∣x−2∣<δ⇒∣f(x)−5∣<ε0 < |x - 2| < \delta \Rightarrow |f(x) - 5| < \varepsilon
the proof

Example 2 · a quadratic

δ = min(1, ε/M)
lim⁡x→3x2=9\lim_{x\to 3} x^2 = 9:   ∣x2−9∣=∣x+3∣ ∣x−3∣\;|x^2 - 9| = |x + 3|\,|x - 3|
extra factor ∣x+3∣|x + 3|
if ∣x−3∣<1|x - 3| < 1 then 2<x<42 < x < 4, so ∣x+3∣<7|x + 3| < 7
bound it with δ≤1\delta \le 1
take δ=min⁡ ⁣(1,ε7)\delta = \min\!\big(1, \frac{\varepsilon}{7}\big); then ∣x2−9∣<7⋅ε7=ε|x^2 - 9| < 7\cdot\frac{\varepsilon}{7} = \varepsilon
the proof

Example 3 · a reciprocal

keep x away from 0
lim⁡x→11x=1\lim_{x\to 1}\frac{1}{x} = 1:   ∣1x−1∣=∣x−1∣∣x∣\;\Big|\frac{1}{x} - 1\Big| = \frac{|x - 1|}{|x|}
extra factor 1∣x∣\frac{1}{|x|}
if ∣x−1∣<12|x - 1| < \frac{1}{2} then x>12x > \frac{1}{2}, so 1∣x∣<2\frac{1}{|x|} < 2
bound it
take δ=min⁡ ⁣(12,ε2)\delta = \min\!\big(\frac{1}{2}, \frac{\varepsilon}{2}\big); then ∣1x−1∣<2⋅ε2=ε\Big|\frac{1}{x} - 1\Big| < 2\cdot\frac{\varepsilon}{2} = \varepsilon
the proof

See it happen

Holef(x) = (x² − 1) / (x − 1)
×
880 × 460
f(x)L⁻ and L⁺x = capproach
From the leftx → c⁻
x =0.5
f(x) =1.5
↓ as ε → 0
L⁻ =2
From the rightx → c⁺
x =1.5
f(x) =2.5
↓ as ε → 0
L⁺ =2
Limit at x = cc = 1
Left limit L⁻
2
lim x→c⁻ f(x)
Right limit L⁺
2
lim x→c⁺ f(x)
Two-sided limit
2
L⁻ = L⁺
Limit exists. L⁻ and L⁺ agree at 2, so lim x→1 f(x) = 2.limit exists
f(c) = undefined. The limit exists but f isn’t defined at c. Set f(c) = 2 and the function becomes continuous.removable
Appliedc=1ε=0.5L⁻ = L⁺ ⇒ limit exists
Shrink the ε\varepsilon-band around LL and watch the δ\delta-window around aa shrink with it. The proof is a recipe that produces a working δ\delta for any ε\varepsilon you are handed. For a steeper function the window must be narrower; the slope is the price.

Common mistakes

A δ that depends on x

✗ δ=ε∣x+3∣\delta = \frac{\varepsilon}{|x + 3|}
✓ δ\delta may depend only on ε\varepsilon (and aa); bound ∣x+3∣|x + 3| by a constant first

Writing the scratch work as the proof

✗ starting from ∣f(x)−L∣<ε|f(x) - L| < \varepsilon and deriving ∣x−a∣<δ|x - a| < \delta
✓ the proof starts from 0<∣x−a∣<δ0 < |x - a| < \delta and ends at ∣f(x)−L∣<ε|f(x) - L| < \varepsilon

Forgetting the min with 1

✗ δ=ε7\delta = \frac{\varepsilon}{7} alone for x2x^2 at 33
✓ the bound ∣x+3∣<7|x + 3| < 7 needed ∣x−3∣<1|x - 3| < 1, so δ=min⁡(1,ε7)\delta = \min(1, \frac{\varepsilon}{7})

Including x = a

✗ ∣x−a∣<δ|x - a| < \delta
✓ 0<∣x−a∣<δ0 < |x - a| < \delta; the value at aa is irrelevant to the limit