Chapter 9(ε, δ) "epsilon delta" definitions of limits

"Calculus required continuity, and continuity was supposed to require the infinitely little; but nobody could discover what the infinitely little might be."

- Bertrand Russell

In the previous lesson, I introduced limits and how they are used to formalize the definition of the derivative. In this lesson our goal is to understand exactly what it means for one value to approach another. For example, consider the function:

This happens to be the expression that pops out if you unravel the formal definition of the derivative of x3x^3 at x=2x=2.

However, let’s just think of it as any old function with an input hh. Its graph is this nice continuous looking parabola. Which makes sense because the function has a cubic term divided by a linear term.

But actually, if you think about what’s going at h=0h=0, plugging that in you’d get 0/00/0, which is not defined. So really, this graph has a hole at that point.

You have to exaggerate to draw that hole, often with a little empty circle like this, but keep in mind the function is perfectly well-defined for inputs as close to 00 as you want.

And wouldn’t you agree that as hh approaches 00, the corresponding output, the height of this graph, approaches 1212? And it doesn’t matter which side you come at it from. That the limit of this ratio as hh goes to 00 equals 1212.

Imagine you’re a mathematician inventing calculus, and someone skeptically asks "well what exactly do you mean by approach?" That would be an annoying question. I mean, come on, we all know what it means for one value to get closer to another. But let's start thinking about ways you might be able to answer that person completely unambigously.

For a given range of inputs within some distance of 00, excluding the forbidden point 00, look at the corresponding outputs, all possible heights of the graph above that range.

This figure shows the possible output ranges for 00 plus or minus 0.10.1, 0.010.01 and 0.0010.001

As that range of input values closes in more and more tightly around 00, the range of output values closes in more and more closely around 1212. Importantly, the size of that range of outputs can be made as small as you want.

Can you verify this result using algebra?

Your answer:
Our answer:

Most definitely and it's worthwhile to check that two different ways to think about the same problem come to the same conclusion.

Start by setting up the limit expression.

limh0(2+h)323h\lim _{h \rightarrow 0} \frac{(2+h)^{3}-2^{3}}{h}

Expand the first term in the numerator.

limh023+322h+32h2+h323h\lim _{h \rightarrow 0} \frac{2^3 + 3 \cdot 2^2 \cdot h + 3 \cdot 2 \cdot h^2 + h^3 - 2^{3}}{h}

Notice the first and last terms in the numerator cancel each other out.

limh012h+6h2+h3h\lim _{h \rightarrow 0} \frac{12 h + 6 h^2 + h^3}{h}

Since all of the terms in the numerator share the factor hh, the fraction simplifies.

limh012+6h+h2\lim _{h \rightarrow 0} 12 + 6 h + h^2

Now as hh approaches 00 the terms containing hh will become negible, giving us the same resullt.

limh012+6h+h2=12\lim _{h \rightarrow 0} 12 + 6 h + h^2 = 12

Counter example

As a counter example, consider a function that looks like the one shown below, which is also not defined at 00, but kind of jumps at that point.

As you approach h=0h = 0 from the right, the function approaches 22, but as you come at 00 from the left, it approaches 11. Since there’s not a clear, unambiguous value that this function approaches as hh approaches 00, the limit is simply not defined at that point.

One way to think of this is that when you look at any range of inputs around 00, and the corresponding range of outputs, as you shrink that input range the corresponding outputs don’t narrow in on any specific value. Instead those outputs straddle a range that never even shrinks smaller than 11, no matter how small your input range.

This perspective of shrinking an input range around the limiting point, and seeing whether or not you’re restricted in how much that shrinks the output range, leads to something called the "epsilon delta" definition of limits.

You’ve already seen the main idea: when a limit exists, you can make this output range as small as you want; but when the limit doesn’t exist, that output range can’t get smaller than some value, no matter how much you shrink the input range around the limiting input.

The limit limhaf(h)\displaystyle \lim _{h \rightarrow a} f(h) exists when the output range defined by ϵ\epsilon (epsilon) can be made as small as you want and you can still find some δ\delta (delta) which corresponds to the output range.

Let's phrase that same idea, but a little more precisely. In the context of this example where the limiting value was 1212, think of any distance away from 1212, where it’s common to use the greek letter ϵ\epsilon "epsilon" to denote that distance. And the intent here is going to be that this distance ϵ\epsilon can be as small as you want.

What it means for the limit to exist is that you will always be able to find a range of inputs around our limiting input, some distance delta away from 00, so that any input within a distance delta of 00 corresponds to an output with a distance epsilon of 1212.

They key point is that this is true for any epsilon, no matter how small, you will always be able to find the corresponding delta.

What is the δ\delta (delta) value corresponding to the ouput range [11.994,12.006][11.994, 12.006] where ϵ\epsilon (epsilon) is equal to 0.0060.006?

In contrast, when a limit does not exist, as in the example before, you can find a sufficiently small epsilon, like 0.40.4, so that no matter how small you make your range around 00, no matter how tiny delta is, the corresponding range of outputs is just always too big.

There is no limiting output where everything is within a distance epsilon from that output.


In this lesson we established the epsilon delta definition of limits to formalize what we mean when we say one value approaches another. This gives us a strong foundation to build upon and makes our argument air-tight when we talk about such tools as the derivative. In the next lesson I talk about a neat trick for computing limits.


Using the epsilon delta definition, is the limit expression limx01x+x\displaystyle \lim _{x \rightarrow 0} \frac{1}{x} + x defined?

Using the epsilon delta definition, is the limit expression limx1x1x31\displaystyle \lim _{x \rightarrow 1} \frac{x-1}{x^3 - 1} defined?

Notice a mistake? Submit a correction on GitHub
Table of Contents


Special thanks to those below for supporting the original video behind this post, and to current patrons for funding ongoing projects. If you find these lessons valuable, consider joining.

Ali YahyaMeshal AlshammariCrypticSwarmKaustuv DeBiswasKathryn SchmiedickeNathan PellegrinKaran BhargavaJustin HelpsAnkit AgarwalYu JunDave NicponskiDamion KistlerJuan BenetOthman AlikhaMarkus PerssonDan BuchoffDerek DaiJoseph John CoxLuc RitchieMustafa MahdiDaan SmedingaJonathan EppeleAlbert Villeneuve NguyenNils SchneiderMathew BramsonJerry LingMark GoveaVecht世珉 匡Rish KundaliaAchille BrightonRipta PasayFelipe DSoufiane KHIATdim85ChrisChris WillisDonald PriceJim LauridsonJim MussaredGabriel CunhaPedro F PardoLoro LukicDavid WyrickRahul SureshLee BurnetteJohn C. VeseyPatrik AgnéAlvin KhaledScienceVRMichael RabadiAlexander JudaMads ElvheimJoseph CutlerCurtis MitchellAndy PetschOtavio GoodViesulas SliupasBrendan ShahAndrew McnabMatt ParlmerDan DavisonJose Oscar Mur-MirandaAidan BonehamHenry ReichSean BibbyPaul ConstantineJustin ClarkMohannad ElhamodBen GrangerJeffrey Herman