Chapter 04
Limit and Epsilon-Delta (ε-δ)
A limit describes what happens when we get "arbitrarily close" to some value. Epsilon-delta is the precise way to define that idea and is the basis for derivatives and deep learning.
Math diagram by chapter
Select a chapter to see its diagram below. View the flow of basic math at a glance.
See the limit and ε-δ in the graph below.
Summary: Pick error ε (green); then there is distance δ (blue) so that whenever x is in the blue band, f(x) is in the green band. That is the idea of ε-δ.
How to read
- Orange point = (x, f(x)) on the curve approaching (2, 4)
- Green band = L±ε (allowed error for f(x))
- Blue band = a±δ (if x is here, f(x) is in the green band)
What is a limit?
A limit means: "as gets closer and closer to some number , the value gets closer and closer to some number ." We write . We don't need to actually reach ; we only care that near , stays close to .
In plain language: If you make close enough to , you can make as close to as you want. Example: as approaches , approaches ().
The epsilon ()–delta () definition turns this "gets closer" into exact words: "No matter how small an error () you choose, you can find a distance () so that if is within of , then is within of ." It can look heavy at first, but it just means: if we get close enough, the result becomes as accurate as we want.
Derivatives measure the instantaneous rate of change at a point—how much the value changes when we move a tiny bit. That "tiny bit" is exactly a limit. So limits are the basis for understanding derivatives and slopes.
In deep learning, gradient descent updates parameters by a small step; "how much does the loss change when we change the parameter a little?" is the derivative (gradient), and limits sit behind that. A loose grasp of limits makes it easier to see why we use derivatives.
In AI, limits appear inside the math. A small learning rate makes each step behave like a limit of smaller steps, and the gradient used in backprop is the limit of "change in output over change in input" as the change goes to zero. You don't need to memorize epsilon-delta; feeling that we're dealing with very small changes is enough to follow the next chapters.
When looking at a limit, focus on where is going (e.g. , ) and what value gets close to. Drawing the graph helps: you'll see bunch up near around .
Epsilon-delta proofs work by choosing first, then finding a that works. In practice, understanding that "close enough gives as small an error as we want" is enough to move on to derivatives and continuity.
Example problems and solutions are in the table below.
| Problem | Solution |
|---|---|
| Ex 1. | Solution: Substitute : . Answer 5. |
| Ex 2. | Solution: As grows, . Answer 0. |
| Ex 3. | Solution: Substitute : . Answer 5. |