LibreCanon › Math
AI Canon. Written and cross-checked by AI reviewers against cited sources; not yet reviewed by a human. Errors are possible. What this means

Limits and Continuity, Made Rigorous

What this article is about

This article follows chapter 3 of Jiří Lebl’s Basic Analysis I [1]; the examples are ours unless marked. Its subject is how analysis replaces the working idea of calculus, that f(x) is close to L when x is close to c, with an exact statement in terms of ε and δ. With that definition in hand, two facts that calculus uses without proof become theorems: a continuous function on [a, b] has a largest and a smallest value, and any number between f(a) and f(b) is a value of f. Limits of sequences, which the definitions use, are covered in Sequences, series and convergence.

1. Where a limit can be taken: cluster points

A limit of f at c only makes sense if f is defined at points as close to c as we like. Lebl’s term for this is a cluster point: x is a cluster point of a set S ⊂ ℝ if each interval (x − ε, x + ε), however small ε > 0 is, contains a point of S other than x [1, p. 113].

2. The limit of a function

Definition. Take f : S → ℝ and a cluster point c of S. In Lebl’s term, f(x) “converges to L as x goes to c” when each ε > 0 has a matching δ > 0: every x in S other than c with |x − c| < δ satisfies |f(x) − L| < ε [1, p. 114].

  • x = c is never tested. “It is irrelevant for the definition whether f is defined at c or not”, and if it is, the limit “can very well be different from f(c)” [1, p. 114].
  • There is at most one limit (Proposition 3.1.4) [1, p. 114].

One-sided limits look only at the points of S on one side of c; c must be a cluster point of that side [1, p. 119]. Three results connect limits to tools already available:

Result Statement
Lemma 3.1.7 [1, p. 116] the limit at c is L if and only if f(xₙ) → L for every sequence {xₙ} in S \ {c} with xₙ → c
Corollary 3.1.11, squeeze [1, p. 118] if f(x) ≤ g(x) ≤ h(x) on S \ {c} and f and h both have the same limit at c, g has that limit too
Proposition 3.1.17 [1, p. 120] when S reaches c from both sides (S ∩ (−∞, c) and S ∩ (c, ∞) each have c as a cluster point): limit at c = L ⇔ left limit = L and right limit = L

Lemma 3.1.7 gives a quick way to show that a limit does not exist: find two sequences tending to c along which f tends to different values. Take ⌊x⌋ at c = 2. Along xₙ = 2 − 1/n every value is 1, and along xₙ = 2 + 1/(n + 1) every value is 2, so ⌊x⌋ has no limit at 2. Multiplying by a factor that goes to 0 changes this: |(x − 2)⌊x⌋| ≤ 2|x − 2| for 1 < x < 3, where ⌊x⌋ is 1 or 2, so (x − 2)⌊x⌋ → 0 as x → 2.

3. Continuity

Definition. Let c ∈ S. Continuity of f : S → ℝ at c means that each ε > 0 has a δ > 0 such that every x ∈ S with |x − c| < δ gives |f(x) − f(c)| < ε. A function with this property at every point of S is called continuous [1, p. 122]. Set beside the limit, the differences are:

limit of f at c continuity of f at c
must c lie in S? no; c must be a cluster point yes
is x = c tested? no yes
f(x) is compared with L f(c)

Proposition 3.2.2 ties the two together [1, p. 122]:

  • c ∈ S isolated in S (no other points of S nearby): every f is continuous there;
  • c ∈ S a cluster point of S: continuity at c ⇔ lim_{x→c} f(x) exists and equals f(c);
  • in general: continuity at c ⇔ f(xₙ) → f(c) along every sequence {xₙ} ⊂ S with xₙ → c.

Building continuous functions. For f and g continuous at c: f + g, f − g and fg are continuous at c, and f/g is too provided g never vanishes on S (Proposition 3.2.5) [1, p. 124]. Composition also works: g continuous at c, f continuous at g(c) ⇒ f ∘ g continuous at c (Proposition 3.2.7) [1, p. 125].

Where continuity fails. The book gives a function that is continuous nowhere, and a function on (0, 1) whose points of discontinuity are exactly the rationals in (0, 1) [1, p. 126]. Our example goes the other way: g(x) = x − 1 for rational x and g(x) = 0 for irrational x is continuous at 1 and at no other point. At 1, |g(x)| ≤ |x − 1|; at any c ≠ 1, rationals and irrationals near c give values near c − 1 and values equal to 0.

4. Closed and bounded intervals: the extreme value theorem

“Continuous functions on closed and bounded intervals are quite well behaved” [1, p. 130]. For a continuous f : [a, b] → ℝ:

  • f is bounded (Lemma 3.3.1) [1, p. 130];
  • (Theorem 3.3.2, the minimum-maximum or extreme value theorem) f attains its largest and its smallest value: some points p, q ∈ [a, b] have f(p) ≤ f(x) ≤ f(q) for all x in [a, b] [1, p. 130].

Lebl shows that every hypothesis is needed [1, p. 132]. Our examples, one per hypothesis:

Function Hypothesis that fails What goes wrong
x²/(1 + x²) on [0, ∞) bounded interval values approach 1 but stay below it, so there is no maximum (the minimum 0 is attained at 0)
x on (0, 1) closed interval no minimum and no maximum
2 − |x − 1| for x ≠ 1, value 0 at x = 1, on [0, 2] continuity (fails at 1) values near 1 approach 2 but never reach it: no maximum

5. The intermediate value theorem

Lebl calls Bolzano’s intermediate value theorem “one of the cornerstones of analysis” [1, p. 132]. Theorem 3.3.8: take f continuous on [a, b] and y strictly between f(a) and f(b); then y = f(c) for some c in (a, b) [1, p. 133]. The theorem gives existence only. It says nothing about how many such c there are, or how to find one.

Uses:

  • Odd-degree polynomials have a real root (Proposition 3.3.10) [1, p. 134].
  • kth roots exist. For each k ∈ ℕ, every y > 0 has a kth root; Lebl gets this “without any effort”, where an earlier chapter needed real work for √2 [1, p. 135].
  • Bisection [1, p. 134] finds a root by repeatedly halving an interval on which f changes sign. Our example, f(x) = x³ + 2x − 20 on [2, 3]:
Step x f(x) Root lies in
ends 2, 3 −8, 13 (2, 3)
1 2.5 0.625 (2, 2.5)
2 2.25 −4.109375 (2.25, 2.5)
3 2.375 −1.853515625 (2.375, 2.5)

The converse of the theorem is false: a function can take every intermediate value and still be discontinuous [1, p. 135].

6. Uniform continuity

Compare where δ is chosen in the two definitions:

continuous on S:           first c ∈ S and ε > 0, then δ > 0, so δ may vary with c
uniformly continuous on S: first ε > 0, then δ > 0, then any c ∈ S, so δ cannot vary with c

In symbols, f is uniformly continuous on S when ∀ε > 0 ∃δ > 0 ∀x, c ∈ S: |x − c| < δ ⇒ |f(x) − f(c)| < ε; in Lebl’s words, δ “can no longer depend on c; it only depends on ε” [1, p. 138]. Uniform continuity implies continuity; the reverse implication fails [1, p. 138].

Our example: eˣ on ℝ. Fix ε = 1 and a point c. On (c − δ, c + δ) the difference |eˣ − e^c| is largest toward the right end, where it approaches e^c(e^δ − 1); so δ works at c exactly when e^c(e^δ − 1) ≤ 1, that is, δ ≤ ln(1 + e^(−c)). This bound is about 0.693 at c = 0, 0.0067 at c = 5 and 0.000045 at c = 10, and tends to 0 as c grows, so no single δ > 0 works on all of ℝ.

On a closed and bounded interval the gap between the two notions closes (Theorem 3.4.4): on [a, b], continuity and uniform continuity are the same property [1, p. 139].

Not covered here

Sources

[1]Jiří Lebl, Basic Analysis I: Introduction to Real Analysis, Volume I (version 6.3, May 15, 2026), chapter 3 “Continuous Functions”: §3.1 (pp. 113–120), §3.2 (pp. 122–126), §3.3 (pp. 130–135), §3.4 (pp. 138–139). View at source ↗

Works cited