October 22, 2026 · 6 min read
Proving Limits With ε and δ, in Color
A color-coded, visual walkthrough of epsilon-delta limit proofs. I wrote this to finally understand the process of proving a limit, not just memorize the template.
By Owen Kruse
The epsilon-delta definition of a limit was the first thing in calculus I could recite without understanding. I could copy the template: "Let . Choose Then " But if you asked me why , or where that came from, I'd point at some scratch work and shrug.
So I wrote this post to work through the process properly. I wanted to understand proving limits like this well enough that the template felt obvious instead of magic. Color-coding every symbol and building graphs I could drag around is what finally got me there, so that's what this post is. If you're stuck in the same spot, I hope it helps you too.
The color key
Every symbol keeps the same color for the whole post, in the equations and in the graphs:
- (epsilon) is orange. It's how close has to get to the limit. Think of it as the challenge.
- (delta) is blue. It's how close has to be to . Think of it as your response.
- is green. It's the limit you're claiming.
- is purple. It's the point is approaching.
Anything with a dotted underline, like when to stop the scratch work, answers a question I had while learning this. Hover over it, or tap it on your phone.
The definition
Writing
means
That line used to look like noise to me. Broken into pieces, it's one sentence:
| Piece | In plain English |
|---|---|
| No matter how small a tolerance someone picks around , | |
| you can find a window around | |
| so that whenever is inside that window (but not at itself), | |
| lands within of . |
What made it click for me was reading it as a game. A skeptic picks an , a horizontal band around . You answer with a , a vertical window around . You win the round if the graph inside your window stays inside their band. Proving the limit means showing you can win every round, no matter how thin they make the band.
Here's one round, for near . Drag the orange handle on the right to set the challenge and the blue handle on top to answer it. The part of the curve inside your window turns pink anywhere it escapes the band.
This δ fails. At , , which isn't less than .
Largest δ that works here: . Drag the orange ε handle to set the challenge, then drag the blue δ handle until everything inside the blue window stays inside the orange band. The curve flattens out to the right, so the left side always escapes first.
A few things I didn't really get until I played with this:
- Smaller never hurts. If a window works, any narrower window works too. So you never need the best , just one that's small enough. That took a lot of pressure off.
- The hollow dot is on purpose. The part of the definition means itself doesn't count. Limits are about what does as it approaches , not what happens when it gets there.
- The worse side decides. The curve is steeper on the left of , so the left edge of the window escapes first. Your has to work for both sides at once.
The process: two passes in opposite directions
This is the part nobody spelled out for me: you figure out an epsilon-delta proof in the opposite order from how you write it.
- Scratch work, backwards. Start with what you want, , and do algebra on it until it looks like . That something is your .
- The proof, forwards. Start from and climb back up to .
The scratch work never shows up in the final proof. That's exactly why finished proofs look like was pulled out of thin air: the part where you found it got erased.
Example 1: a line
Prove that
Scratch work
Start from the goal and simplify until is alone on the left:
The last line has exactly the shape the definition wants, so choose . Notice the color: is blue on the outside with orange inside. is built out of . That's the whole idea. Your response depends on their challenge.
Here's the same chain as a ladder. Scratch work reads it top to bottom. The proof reads it bottom to top.
- The goal. This is what the definition demands.
- Factor out the 3 so |x − a| shows up.
- This has the shape |x − a| < something. That something is δ.
The proof
Let . Choose . Suppose . Then
So whenever , which proves the limit is .
The proof is just the ladder climbed upward, with substituted in at the moment it's needed.
Now watch the rule work. Press play and shrinks. With selected, the window shrinks with it and the curve never leaves the box. The box even keeps its shape: the line has slope , so the window always needs to be exactly three times narrower than the band. That's where the came from.
Choose δ
This δ works. Every with lands inside the band.
Largest δ that works here: . Press play to shrink ε. With δ = ε/3 the window shrinks right along with it, so the curve never leaves the box. Switch to “Pick your own” and play again to watch a fixed δ get left behind.
Example 2: a curve, and the trick that confused me most
Prove that
Scratch work
Same start. Factor so shows up:
The part is under control, since that's what limits. The pink is the problem. It changes with , and isn't allowed to depend on . It can only depend on .
My first instinct was: near , is about , so pick . Try that below. With selected, the right side of the parabola climbs out of the band, because just to the right of , is a bit more than .
Choose δ
This δ fails. At , , which isn't less than .
Largest δ that works here: . The naive guess δ = ε/4 lets the right side of the parabola climb out of the band. Switch to min(1, ε/5) and it stays in for every ε. Above ε = 5 the 1 takes over and δ stops growing.
The fix is to put on a leash first. Promise that will be at most . Then
Now the troublesome factor is stuck below , so
and that's less than as long as .
So has made two promises: it's at most (so the bound is true), and it's at most (so the inequality finishes). The smaller of the two keeps both promises:
That was the single most confusing part of these proofs for me. It turns out it's not a trick at all. It's just two requirements, and you take whichever one is stricter. Go back to the graph above, switch to and press play. It holds for every . Above , the takes over and stops growing.
- The goal.
- |x − 2| is in our control. |x + 2| changes with x, so it needs a bound.
- If we promise δ ≤ 1, then 1 < x < 3, so |x + 2| < 5.
- Now δ also has to be at most ε/5.
The proof
Let . Choose , and suppose .
Since , we have , so and . Since ,
So .
What failure looks like
Seeing proofs fail helped me as much as seeing them work. To show a limit is not , you flip every quantifier in the definition:
In game terms, the skeptic only needs one band you can't answer. Below are two ways that happens. Pick an small enough and the panel tells you no works at all.
This δ fails. At , , which isn't less than .
No δ works for this ε. Someone claims the limit is 4.5. With ε above 0.5 you can still find a δ. Below 0.5, the curve near x = 2 sits at about 4, outside the band, and no δ is thin enough to fix that.
- Wrong : if someone claims , any wins for the skeptic. The curve near sits at about , which is outside the band.
- A jump: is just left of and just right of it. Whatever you guess, an catches one side or the other, so the limit doesn't exist.
The template I actually use now
After working through all of this, the process fits on an index card:
- Write the goal: .
- Factor out . Whatever is left over either is a constant (great) or depends on .
- If it depends on , leash it. Assume , figure out the range of that gives you, and bound the leftover factor by a constant .
- Read off : , or just if you didn't need the leash.
- Write the proof forwards: let , choose , assume , and chain inequalities until you reach .
The template was always right. I just didn't see that every line of it is one move in the game, and that the scratch work is where the real thinking happens. Writing this post, and dragging those bands around until the shapes made sense, is how I got from memorizing the process to understanding it.