Limits and Continuity: Reading ε-δ as a Contract on Error
Prerequisite:The Grammar of Mathematics: Reading and Writing Sets and Logic
0. Key points
Section titled “0. Key points”- “As approaches indefinitely, approaches indefinitely” is a metaphor that contains motion. As it stands, its truth cannot be decided. The ε-δ formulation rewrites it as a static condition: whatever accuracy is demanded of us, we can return a range that guarantees it.
- The skeleton of the definition is the order of the quantifiers . Here may depend on , never the other way round. This one-way street settles every feature of the definition.
- Uniqueness of limits, the algebra of limits and the squeeze theorem can all be proved from this definition alone. The proofs follow a single pattern: split the demanded and hand out the pieces.
- Continuity means that the limit as exists and, in addition, that its value equals . Dirichlet’s function is discontinuous at every point, Thomae’s function is continuous exactly at the irrationals — examples beyond the reach of intuition, yet decided mechanically once we follow the definition.
- Moving one quantifier produces a different notion, uniform continuity. The function is continuous on but not uniformly continuous there.
1. Motivation: where “approaches indefinitely” is vague
Section titled “1. Motivation: where “approaches indefinitely” is vague”“As approaches indefinitely, approaches indefinitely.” This explanation, the one found in high-school textbooks, works well in many situations. Nobody doubts that bringing close to in brings close to . Even so, we cannot adopt the sentence as it stands as a mathematical definition. There are three reasons.
First, “approaches” is a word about motion. The that appears in mathematics does not change. It is a single point on the real line, not a particle moving with time. Reading “approaches” literally would drag in the extra notion of time.
Second, the degree of “indefinitely” cannot be measured. When we say that is close to , how close must it be? Within ? Within ? Calling something close without fixing a standard does not let us decide whether a given assertion is true or false, and a sentence whose truth cannot be decided is not a definition.
Third, functions on which intuition fails really do exist. Consider the following function, Dirichlet’s function.
Let us bring “indefinitely close” to . Approaching along , the value is the whole way; approaching along , it is the whole way. The answer changes with the manner of approach, and the naive phrasing falls silent. Moreover the values of do not “jump” between and : inside every interval, however narrow, both values keep occurring. Drawing the graph and looking at it is not an option either.
Historically, too, this vagueness did real damage. Analysis in the eighteenth century used “infinitesimals” freely — quantities that are not yet smaller than every positive number — and thereby obtained a great many formulas, but it also put false claims into circulation, such as the assertion that the sum of a series of continuous functions is continuous. The confusion was settled when Cauchy placed limits at the foundation of analysis in his Cours d’analyse (1821), and Weierstrass and his school completed the formulation in terms of and in the second half of the nineteenth century. The question of why is correct as an equality has the same root (What is a number?).
The practical gain from making limits rigorous is plain. The derivative is itself the limit (The definition of the derivative and basic differentiation), and the sum of an infinite series is defined as the limit of the sequence of partial sums (Series and convergence tests). If the foundation is vague, every theorem built on it is vague as well.
The change of viewpoint is this. We stop speaking of the process of approaching and speak only of accuracy achieved. ” is close to ” is reread as “the error is less than ”, and the range of permitted in order to guarantee that is reread as “the distance from is less than ”. Everything then reduces to a single question: can we fill every order for accuracy?
2. Preliminaries: neighborhoods, accumulation points, notation
Section titled “2. Preliminaries: neighborhoods, accumulation points, notation”Throughout, (we do not include ), is the set of rational numbers and the set of real numbers. The symbol denotes the absolute value, and the distance between and on the number line. The two inequalities we shall use again and again are these.
The first (the triangle inequality) follows once we add and to obtain . For the second, gives , and interchanging and gives ; combining the two yields the claim.
We take as given the handling of the quantifiers (for all) and (there exists), together with their negations, as treated in The grammar of mathematics: sets and logic.
Definition 2.1(Neighborhoods, punctured neighborhoods, accumulation points)
For and , the sets
are called the -neighborhood and the punctured -neighborhood of , respectively. Thus equals the open interval , and is that set with the single point removed.
Further, for and , if
holds, then is called an accumulation point of .
Being an accumulation point means that arbitrarily close to there are points of different from itself. For instance, the set of accumulation points of is (the endpoints and do not belong to , yet they are accumulation points). By contrast, is not an accumulation point of , since taking gives . Such a point is called an isolated point.
The accumulation-point condition is the minimal hypothesis under which limits can be discussed at all. If there are no points of near , there is no material with which to speak of “the value as is brought close to ”. In Theorem 3.5 we shall see what breaks if this hypothesis is dropped.
3. The ε-δ definition of a limit
Section titled “3. The ε-δ definition of a limit”Definition 3.1(Limit of a function)
Let , let , and let be an accumulation point of (Definition 2.1). If a real number satisfies
then is said to converge to as , and we write
The notation carries the same meaning.
Read this formula as an exchange between two players. The opponent places the order for accuracy; we are the ones who must fill it.
flowchart LR A["Move 1: the opponent specifies an accuracy ε > 0"] --> B["Move 2: we produce a single δ > 0"] B --> C["Move 3: the opponent freely picks a point x within distance δ of a (a itself excluded)"] C --> D["Verdict: if f(x) is within ε of L for every such x, the contract is met"]
We have exactly when we can win, that is, when we can respond to every . What is decisive here is the order of play. The value is given first and is chosen afterwards; hence may depend on , and in practice one usually has to take smaller as gets smaller. Conversely is chosen after , so is not permitted to depend on .
In a picture, determines a horizontal band (the permitted spread of values) and a vertical band (the permitted spread of ).
Remark 3.2(Negating the definition)
The negation of Definition 3.1, that is, the statement that is not the limit of as , is obtained by reversing the quantifiers in turn and using the negation of an implication, :
In words: there is an accuracy such that, however small is taken, a point with error at least remains inside the punctured -neighborhood of . Saying that has no limit as then means that this holds for every . When showing that a limit fails to exist, this is the form we aim at.
3.1. Proving directly from the definition
Section titled “3.1. Proving directly from the definition”Example 3.3(Limit of a linear function)
Let us show that for (with ).
Scratch work (how to find ). The inequality we must guarantee is . Computing the left-hand side,
so it is enough to have , that is, . This suggests taking .
Proof. Let be arbitrary and put . For every with , the computation above gives
Since was arbitrary, Definition 3.1 gives .
The scratch work traces the inequalities backwards; it is not the proof itself. When writing the proof, keep to the order: receive , declare , then chain the inequalities forwards.
Example 3.4(Limit of a quadratic function: choosing δ in two stages)
Let us show that for .
Scratch work. We have . The factor can be made small by , but remains. So we decide in advance to work only in the range . There , hence
and we may use . It then suffices to impose , that is, . To meet both requirements at once we take the minimum, so we set .
Proof. Let be arbitrary and put . Suppose . First, gives , hence . Second, we also have , so
Therefore .
Note that may depend not only on but also on the point being approached. Carrying out the same computation for a general yields , so the larger is, the smaller must be taken. This dependence becomes the theme of §6.
Theorem 3.5(Uniqueness of limits)
Let , let , and let be an accumulation point of . If and , then .
Proof(Theorem 3.5)
We assume and derive a contradiction (a proof by contradiction; on the shapes of such arguments see Techniques of proof: induction and contradiction).
Put . From we get , hence .
Applying Definition 3.1 to , there is such that and imply . Applying it likewise to , there is such that and imply .
Put . Since is an accumulation point of by hypothesis, Definition 2.1 gives , and we may pick a point from this set. This satisfies both and , so both conclusions above apply and
(the first inequality is the triangle inequality of §2). This says , a contradiction. Hence .
In the proof, the hypothesis that is an accumulation point was used only in order to produce the point . Drop it and the conclusion falls with it. Indeed, take and (an isolated point of ), and let be an arbitrary function on . For there is no with . The implication in Definition 3.1 is then always true, its antecedent being false, so every real number becomes a “limit”. Uniqueness fails. Restricting to accumulation points in the definition is precisely what prevents this degeneracy.
4. Building calculation rules from the definition
Section titled “4. Building calculation rules from the definition”Going back to and every single time is laborious. Once a few basic limits and calculation rules have been proved, everything afterwards can be assembled from them. We begin by checking that a convergent function does not run wild near .
Lemma 4.1(Convergence implies local boundedness)
Let , let , let be an accumulation point of , and suppose . Then there exists such that for every .
Proof(Lemma 4.1)
Take in Definition 3.1 (since may be any positive number, we may apply the definition to this particular value). Then there is such that and imply . For such the triangle inequality (§2) gives
as claimed.
Theorem 4.2(Algebra of limits)
Let , let , let be an accumulation point of , and suppose and . Then the following hold.
- .
- for every constant .
- .
- If moreover , then there exists such that for , and the function , defined on , satisfies .
Proof(Theorem 4.2)
(1) Let be arbitrary. Since , apply Definition 3.1 to with to get , and to with to get . Put . For with both estimates apply, and the triangle inequality (§2) gives
(2) If , then holds for every . If , feed into Definition 3.1 for a given to obtain ; then for we get .
(3) We split the difference in two. From the identity
(expanding the right-hand side gives , which is the left-hand side) together with the triangle inequality,
By Lemma 4.1 choose with for . Let be arbitrary, and apply Definition 3.1 to with to get , and to with to get (the in the denominators is there so that the division is legitimate even when ). Putting , for we obtain
(the last inequality uses ).
(4) First we show that does not vanish near . Since we have , so applying Definition 3.1 to with yields . For , the second inequality of §2 gives
and in particular . Hence is defined on . Moreover is an accumulation point of as well: for any , since is an accumulation point of we have , and this set is contained in . We are therefore entitled to speak of the limit.
Now we estimate. For ,
(we used in the denominator, and rewrote the numerator as before applying the triangle inequality). Let be arbitrary and apply Definition 3.1 to with and to with , obtaining . Putting , for with we get
as required.
Theorem 4.3(Squeeze theorem)
Let , let , and let be an accumulation point of . Suppose there is with
and suppose . Then .
Proof(Theorem 4.3)
Let be arbitrary. Applying Definition 3.1 to gives , and applying it to gives . Put and take with .
From we get , and from we get . Also , so the assumed inequality applies and . Chaining these,
which gives , that is, .
Example 4.4(A function that converges while oscillating)
On put . Then .
For we have , hence
The limit is immediate from the definition (given , take ; then gives ). Taking in part (2) of Theorem 4.2 gives . So Theorem 4.3 applies with , , and arbitrary (say ), and we obtain .
This function oscillates infinitely often near , yet it converges because the amplitude is crushed down to . Approaching monotonically is not a requirement for convergence. If instead the amplitude is not damped and we consider itself, the limit does not exist (Exercise 7.3).
Theorem 4.5(Sequential characterization)
Let , let , let be an accumulation point of , and let . The following two conditions are equivalent.
- .
- For every sequence with , for all , and , one has .
Here convergence of a sequence, , means "".
Proof(Theorem 4.5)
(1) implies (2). Let be a sequence satisfying the stated conditions and let be arbitrary. By (1) and Definition 3.1 there is such that and imply . Since , using this as the in the definition of convergence of a sequence gives such that implies . Furthermore by hypothesis, that is, . Hence for we have and therefore . This says .
(2) implies (1). We prove the contrapositive. If (1) fails, then by the form in Remark 3.2 there is such that for every there exists with and .
For each apply this with and choose one such , calling it . Then , and .
This sequence satisfies the hypotheses of (2). Indeed gives , and for the Archimedean property provides with , so that implies ; hence .
But holds for every , so for this no choice of makes , and fails. Thus (2) fails.
Theorem 4.5 is especially effective for proving that a limit does not exist. If we can find two sequences converging to along which the values of head for different destinations, that alone lets us conclude that there is no limit.
5. Continuity
Section titled “5. Continuity”Definition 5.1(Continuity at a point)
Let , let and let . If
holds, then is said to be continuous at . If is continuous at every point of , then is said to be continuous on .
There are only two differences from Definition 3.1. First, the target value is fixed to be . Second, the exclusion has been dropped, so is now among the points to be tested. The second change has no substantial effect, because for the inequality always holds. Consequently, if is an accumulation point of , then ” is continuous at ” and "" are equivalent. If instead is an isolated point of , we can choose with , and this meets the condition for every , so is automatically continuous at . Continuity is thus a combination of two things, that the limit exists and that its value is ; since the value itself is at stake, it is a notion distinct from that of a limit.
Corollary 5.2(Continuity of polynomials and rational functions)
A polynomial function (with ) is continuous on . Moreover, if and are polynomials, the rational function is continuous at every point with .
Proof(Corollary 5.2)
Fix . The constant function is continuous: for any , take ; then . The identity function is continuous: take ; then . Since is an accumulation point of , the equivalence stated above lets us restate these as and .
We show by induction on . The case was just seen. Assuming it for , apply part (3) of Theorem 4.2 to and to obtain . Hence the statement holds for every .
Next, part (2) of Theorem 4.2 gives , and applying part (1) times gives . This is exactly the continuity of at .
As for rational functions, when we apply part (4) of Theorem 4.2 with : on some punctured neighborhood of we have and . Since at as well, is defined on a neighborhood containing and is continuous at .
Theorem 5.3(Continuity of a composition)
Let , let satisfy , and let . If is continuous at and is continuous at , then the composition is continuous at .
Proof(Theorem 5.3)
Let be arbitrary. Since is continuous at , Definition 5.1 provides such that
Next, since is continuous at , applying Definition 5.1 with this as the “demanded accuracy” provides such that
Now let with . Then (by hypothesis) and , so the first implication applies with and gives
Hence is continuous at .
Remark 5.4(The limit version of composition fails)
It is tempting to restate Theorem 5.3 as “if and , then ”, but this is false. Here is a counterexample. Let for all , and let
Since is constant, . Also for every with , so . But for every , whence .
The cause is clear: the definition of a limit excludes from inspection, while actually attains the value . The definition of continuity does not exclude , so it has no such hole. When composing in the language of limits, assume that the outer function is continuous at .
Proposition 5.5(Dirichlet's function is discontinuous at every point)
For the Dirichlet function defined in §1, the limit fails to exist for every , and consequently is not continuous at .
Proof(Proposition 5.5)
We first use the fact that for any real numbers the open interval contains at least one rational and at least one irrational number. Existence of a rational is the density of . For an irrational, take a rational and, by the Archimedean property, an with ; then , and this number is irrational (the sum of a rational and an irrational is irrational: if were rational, then would be rational, contradicting the irrationality of ).
Now fix and suppose some satisfies . For , Definition 3.1 provides such that implies .
By what was just shown, the interval contains a rational and an irrational . Both satisfy and , hence and . Therefore and . But and , so the triangle inequality (§2) gives
a contradiction. Hence no such exists. Since is an accumulation point of , continuity of at would force , so the limit would exist. Therefore is not continuous at .
Example 5.6(Thomae's function: continuous exactly at the irrationals)
Consider the following function .
Since the reduced representation of a rational number is unique once the denominator is taken positive, there is no ambiguity in this definition (for instance , , ).
Claim: for every .
Let be arbitrary. By the Archimedean property there is with . Put
The set is finite. Indeed, for each , an integer with satisfies . If there are integers satisfying this condition, then the difference between the largest and the smallest of them is at least ; but both lie in an open interval of length , so that difference is smaller than , giving , that is, . Since there are candidate denominators , the set has at most elements.
If is nonempty, put
The set is finite and each of its elements satisfies , that is, , so as the minimum of finitely many positive numbers (this is where finiteness is doing the work). If is empty, put .
Suppose . Since we have .
- If is irrational, then .
- If is rational with reduced representation , then and , so by the choice of we have and hence . But , so by the definition of it cannot be that . Therefore and .
In both cases , so Definition 3.1 gives , proving the claim.
Consequence. If is irrational, then , so by the equivalence at the start of §5 the function is continuous at . If is rational with reduced representation , then , so is discontinuous at . That is, is continuous exactly at the irrationals.
Because the rationals are scattered densely among the irrationals, the behavior of this function cannot be captured by a picture. Even so, Definition 3.1 constructs an explicit for each and settles the matter completely. This is where the practical value of ε-δ arguments lies.
6. The order of quantifiers once more: uniform continuity
Section titled “6. The order of quantifiers once more: uniform continuity”As we saw in Example 3.4, the in the definition of continuity may depend not only on but also on the point . Demanding that a can be chosen independently of produces a different notion.
Definition 6.1(Uniform continuity)
Let and . If
holds, then is said to be uniformly continuous on .
The two notions differ only in the position of a quantifier.
| Notion | Skeleton of the formula | What may depend on |
|---|---|---|
| Continuous at each point of | and | |
| Uniformly continuous on | only |
The only difference is whether stands to the left or to the right of . By definition, uniform continuity implies continuity at each point (just use the uniform at each point). The converse fails.
Example 6.2(A continuous function that is not uniformly continuous)
On put .
Continuity. The functions and are polynomials, so by Corollary 5.2 the function is continuous at every point with ; in particular at every point of .
Failure of uniform continuity. The negation of Definition 6.1 reads: there is such that for every there exist with and . Take . Let be arbitrary, use the Archimedean property to choose with , and put
Since we have . Then
Hence no satisfies the condition, and is not uniformly continuous on .
Intuitively, the graph becomes steeper the closer we get to , so the needed to respect a fixed becomes arbitrarily small. A finite can be chosen at each individual point, but these ‘s have no positive lower bound.
Remark 6.3(On a closed bounded interval the distinction disappears)
A continuous function on a closed bounded interval is necessarily uniformly continuous (the Heine–Cantor theorem). It was essential in Example 6.2 that is not a closed interval. Proving this theorem requires the completeness of (the Bolzano–Weierstrass theorem, or the Heine–Borel covering theorem) and lies beyond the scope of this article. For a proof see Sugiura, Kaiseki Nyūmon I, Chapter I, or Rudin, Principles of Mathematical Analysis, Chapter 4. The theorem is used in an essential way in the proof that continuous functions are Riemann integrable (The fundamental theorem of calculus and the definite integral).
7. Exercises
Section titled “7. Exercises”Exercise 7.1Easy
Prove directly from the definition (Definition 3.1).
Solution
Exercise 7.2Standard
Prove directly from the definition (construct explicitly, without using part (4) of Theorem 4.2).
Solution
First we rewrite. For ,
To bound the in the denominator from below, restrict to . Then , so and hence , giving
For this to be less than it suffices that .
Proof. Let be arbitrary and put . Suppose . From we get , in particular , so is defined, and the estimate above gives
Hence .
Exercise 7.3Standard
Show that the function on has no limit as .
Solution
We use Theorem 4.5. Suppose some satisfies .
Put and for . Both are elements of and are nonzero, and from and the Archimedean property gives and .
Since , the sequence is constantly and converges to . Since , the sequence is constantly and converges to .
By the implication from (1) to (2) in Theorem 4.5, the limit for both sequences would have to be . Limits of sequences are unique (this is proved by the same argument as Theorem 3.5), so and , giving the contradiction . Hence no such exists and does not exist.
The difference from in Example 4.4 is the amplitude. Multiplying by crushes the amplitude down to and produces convergence, whereas itself keeps taking both the values and over and over near .
Exercise 7.4Hard
Show that is continuous on but not uniformly continuous on .
Solution
Continuity. Fix and let be arbitrary. Put . Suppose . From and the triangle inequality (§2),
so that
Hence Definition 5.1 shows that is continuous at , and since was arbitrary, is continuous on (this is also a special case of Corollary 5.2).
Failure of uniform continuity. Take . Let be arbitrary and put
Then , but
Therefore, for every there exist with and , so Definition 6.1 fails.
Here too the cause is that the slope grows steeper where is large, so the that respects a fixed becomes arbitrarily small. The symptom was already visible in Example 3.4, where the only we could produce was , depending on . If, however, the domain is restricted to a closed bounded interval , then works independently of , so the function is uniformly continuous there (in agreement with Remark 6.3).
References
Section titled “References”- Sugiura Mitsuo, Kaiseki Nyūmon I (Introduction to Analysis I), University of Tokyo Press, 1980 (in Japanese) — Chapter I. This chapter runs from the continuity of the real numbers to the properties of continuous functions, and treats the standard handling of ε-δ arguments and uniform continuity in detail.
- Takagi Teiji, Kaiseki Gairon (A Course of Analysis), revised 3rd ed., Iwanami Shoten, 1961 (in Japanese) — Chapter 1. A Japanese classic; its introduction to limits and continuity is still worth reading.
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., McGraw-Hill, 1976 — Chapter 4 (Continuity). Continuity is treated in the language of metric spaces, which shows how the arguments of this article generalize.
- S. Abbott, Understanding Analysis, 2nd ed., Springer, 2015 — Chapter 4 (Functional Limits and Continuity). Rich in pathological examples, including the Dirichlet and Thomae functions, with a careful account of why rigor is needed.
- Tajima Ichirō, Epsilon-Delta, Kyoritsu Shuppan (Sūgaku One Point Sōsho), 1978 (in Japanese) — a short book devoted to ε-δ arguments alone, focused squarely on the order of quantifiers.
- A.-L. Cauchy, Cours d’analyse de l’École Royale Polytechnique, 1821 — the historical source that placed limits at the foundation of analysis.
Report an error in this article ・Operated by: Mugen Giken LLC ・Pricing ・Terms ・Legal notice
© 2026 夢現技研合同会社 ・Feeding the text to an LLM is welcome. Code samples are MIT licensed.