Completeness and Cauchy Sequences
Cauchy sequences capture the intuitive notion of "eventually close" without requiring a limit. Complete spaces are those in which every Cauchy sequence converges.
Completeness is the property that distinguishes the real numbers from the rationals: every Cauchy sequence converges. It is the property that underlies fixed-point theorems, the construction of solutions to differential equations, and the Baire Category Theorem — an astonishingly powerful tool that, among other things, tells us that a "typical" continuous function on is nowhere differentiable. This chapter develops completeness systematically: definition and first examples, the Banach fixed-point (contraction mapping) theorem with its proof and applications, Cantor's intersection theorem, a brief discussion of metric completions, and the Baire Category Theorem.
Cauchy Sequences
We begin by recalling the definition of a Cauchy sequence and its basic properties.
A sequence in a metric space is a Cauchy sequence if for every there exists such that
Intuition: A Cauchy sequence is one whose terms cluster together: beyond some index, all pairs of terms are arbitrarily close. The notion is "internal" — it uses only the sequence itself, without reference to a candidate limit. This makes it powerful: we can check whether a sequence should converge without knowing its limit in advance.
Let be a metric space. If , then is Cauchy.
Every Cauchy sequence in a metric space is bounded.
The converse of "convergent implies Cauchy" is not true in every metric space — it is the content of the following definition.
Complete Metric Spaces
A metric space is complete if every Cauchy sequence in converges to a point of .
Intuition: Completeness is the absence of "holes." If a sequence bunches up, there is actually a point inside the space where it bunches. Non-complete spaces have a ghost limit just outside; completion (discussed below) fills in these ghosts.
Examples and Non-Examples
The real line with the Euclidean metric is complete.
Euclidean space is complete.
The rationals with the standard metric form a metric space that is not complete. For example, the sequence is Cauchy (it is convergent in , hence Cauchy there, hence Cauchy in ), but its would-be limit is irrational, so the sequence does not converge in .
The space with is not complete: is Cauchy but its limit is not in . This illustrates that completeness depends on both the underlying set and the metric. Removing the endpoints creates "holes."
Let be complete and closed. Then is complete.
Let be a metric space and a subset such that is complete. Then is closed in .
The Space of Continuous Functions
One of the most useful examples of a complete metric space is the space of continuous functions with the sup norm.
Let with the sup metric Then is a complete metric space.
Intuition: Convergence in the sup metric is uniform convergence: iff . The theorem says that a uniformly Cauchy sequence of continuous functions has a continuous limit. This is why the sup norm is such a useful tool in analysis: completeness gives us a stable playground for approximations.
The Banach Fixed-Point Theorem
A fixed point of a map is a point with . The Banach theorem (also known as the contraction mapping principle) is one of the most-applied theorems in all of analysis: it guarantees existence AND uniqueness of a fixed point, and gives an explicit iterative construction with exponential error decay.
Let be a metric space. A map is a contraction if there exists such that The number is called a contraction constant.
Intuition: A contraction strictly shrinks distances by a uniform factor . In particular, it is Lipschitz (hence continuous and uniformly continuous). The strictness of is essential — with , the map on shrinks nothing and has no fixed point.
Let be a nonempty complete metric space and a contraction with contraction constant . Then:
(i) has a unique fixed point .
(ii) For any initial point , the iterates converge to .
(iii) We have the explicit error bound
Intuition: Pick any starting point, apply repeatedly, and the iterates converge exponentially to the unique fixed point — no matter what starting point you chose. The rate gives explicit quantitative control. This theorem powers proofs of the implicit function theorem, the Picard-Lindelof theorem for ODEs, and many numerical iteration schemes.
Define by . Calculus shows maps into itself and so is a contraction with constant (by the mean value theorem). Since is closed in , it is complete. By Banach, there is a unique fixed point ; solving gives . Starting from produces the familiar Babylonian iteration converging rapidly to .
Cantor's Intersection Theorem
Another consequence of completeness: nested closed "small" sets have a nonempty intersection.
The diameter of a nonempty subset of a metric space is
Let be a complete metric space and let be a decreasing sequence of nonempty closed subsets with . Then consists of exactly one point.
Intuition: Completeness guarantees that shrinking nested closed sets capture a unique point. Dropping any of the hypotheses kills the theorem: without completeness (e.g., in ) the intersection can be empty; without (take in ) the intersection can be empty; without closedness (take ) the intersection can be empty.
Completion of a Metric Space (Brief)
Every metric space can be embedded in a canonical complete one — its "completion" — which fills in the missing limit points of Cauchy sequences. The standard construction of from is one instance.
Let be a metric space. There exists a complete metric space and an isometric embedding such that is dense in . The pair is unique up to isometry and is called the completion of .
Construction sketch. Consider the set of all Cauchy sequences in . Define an equivalence relation iff . Let be the set of equivalence classes, with distance . Embed into by . The details of checking that is a well-defined metric, that is complete, and that is dense are routine but tedious.
The completion of is ; the completion of an open interval with the usual metric is its closure.
The Baire Category Theorem
The Baire Category Theorem is one of the deepest consequences of completeness, with applications throughout analysis. We begin with the underlying notion of "topologically small" sets.
Let be a topological space. A set is:
- nowhere dense if , equivalently, every nonempty open set contains a nonempty open subset disjoint from ;
- meagre (or of first category) if is a countable union of nowhere dense sets;
- non-meagre (or of second category) if is not meagre;
- comeagre (or residual) if is meagre, equivalently, contains a countable intersection of open dense sets.
Intuition: "Meagre" is the topological analogue of "negligible." A nowhere dense set has empty interior even after closing, so it cannot fill up any piece of the space. A meagre set is a countable pile of such small sets. Comeagre sets are their complements — topologically "large." Baire's theorem says that in a complete metric space, these two notions do not contradict each other and, moreover, comeagre sets are genuinely big.
(1) is nowhere dense in : , and between any two integers lies a nonempty open interval disjoint from .
(2) The set is nowhere dense: its closure is , which contains no interval.
(3) is NOT nowhere dense: . But IS meagre — it is a countable union of singletons, each of which is nowhere dense.
(4) is comeagre (its complement is meagre). By Baire's theorem below, the irrationals are non-meagre.
Let be a nonempty complete metric space. Then:
(i) Every comeagre subset of is dense in .
(ii) is not meagre in itself.
Equivalently: cannot be written as a countable union of nowhere dense sets, and the intersection of countably many open dense subsets of is dense.
Intuition: Completeness forces comeagre sets to be dense — you cannot hide a comeagre set in a small pocket of a complete space. The striking consequence is that many "generic" properties (what a typical element of looks like) can be proven by exhibiting a comeagre set of objects with that property. Baire's theorem guarantees that this comeagre set is nonempty, and in fact dense.
In a nonempty complete metric space, no subset is simultaneously meagre and comeagre.
Applications of Baire
is non-meagre in .
There is no function whose set of continuity points equals .
Let with the sup metric. The set of functions that are nowhere differentiable is comeagre in . Consequently, "most" continuous functions are nowhere differentiable. The same holds for the set of functions that are not monotonic on any subinterval.
The full proof uses Baire's theorem: one exhibits the nowhere differentiable functions as the complement of a meagre set built from open dense approximations using the Weierstrass approximation theorem (polynomials are dense in ) and a sawtooth perturbation. Since is complete, the comeagre set is dense — in particular, nonempty — so such functions exist. The existence of even one nowhere differentiable continuous function was once shocking; Baire's theorem tells us the shocking objects are the norm, not the exception. The first explicit nowhere differentiable continuous function was constructed by Karl Weierstrass in 1872.
The Weierstrass Approximation Theorem
A central density result that plays a role in the proof of the previous theorem and many others.
The set of polynomials is dense in with the sup metric. Equivalently: for every and every there exists a polynomial such that
Intuition: Continuous functions on a closed bounded interval, no matter how complicated, can be approximated arbitrarily well in the sup norm by polynomials. This is striking because polynomials are extremely rigid (analytic, infinitely differentiable, determined by finitely many coefficients) yet they fill out the entire space of continuous functions.
Probabilistic interpretation: The Bernstein polynomial equals where . The law of large numbers says in probability, and continuity of then yields . Bernstein's proof packages this probabilistic intuition into an elementary inequality argument.
Nowhere Differentiable Functions: Detailed Construction
We now sketch the full proof that nowhere differentiable, nowhere monotonic functions form a comeagre set in .
For each , define
- ,
- ,
- .
Functions in are nowhere differentiable; functions in are nowhere monotonic. The strategy is:
Claim 1: Each , , is dense in .
It suffices to show their closures contain the polynomials, since polynomials are dense by Weierstrass. Given a polynomial and , let and consider a sawtooth function of amplitude less than with slopes alternating between and , with period less than . The function satisfies and has rightward slopes greater than at every point of , so . A similar construction handles and .
Claim 2: Each , , is open in .
The arguments use compactness of to cover by finitely many neighbourhoods. We sketch : given , for each pick with . By continuity there is a neighbourhood of and such that for all , . By compactness, finitely many such neighbourhoods cover . With careful estimates (using the reverse triangle inequality), one shows that any with also belongs to .
The argument for instead shows is closed: if and uniformly, then each is monotonic on some interval of length . By Bolzano-Weierstrass on the endpoints, a subsequence of intervals converges to a limit interval of length ; uniform convergence then forces to be monotonic on , so .
Putting it together. Each , , is open and dense, hence so is each intersection . Their countable intersection is comeagre in . Since is complete, this set is non-meagre by Baire (ii) — in particular nonempty and dense. Functions in this intersection are nowhere differentiable and nowhere monotonic.
The "shocking" examples of nowhere differentiable continuous functions are not exceptional — they are topologically generic. Any function you encounter in calculus (polynomials, , , ) is part of a meagre set of "highly atypical" functions from the topological viewpoint.
Diophantine and Liouville Numbers
Another striking application of the Baire Category Theorem produces a comeagre set of "Diophantine" numbers and shows that the much smaller (but nonempty!) complement consists of remarkably well-approximable irrationals.
For , , and , define the closed set Then define the closed sets and finally Elements of are called Diophantine numbers. The set consists of the Liouville numbers: irrationals such that for every there exist integers and with (That is, can be approximated by rationals to arbitrarily high polynomial order in the denominator.)
Intuition: Diophantine numbers are "badly approximable" by rationals — there is some lower bound on how close a rational can be in terms of . Liouville numbers are the opposite extreme: they admit super-fast rational approximations. Liouville proved in 1844 that all Liouville numbers are transcendental. A concrete example is
The set of Diophantine numbers is meagre in , while is comeagre. Moreover is uncountable, and even is comeagre.
Topological vs measure-theoretic largeness disagree! From the topological viewpoint, (which contains the Liouville numbers) is "large" (comeagre) and is "small" (meagre). But from the measure-theoretic viewpoint (Lebesgue measure on ), it is the opposite: has measure zero and has full measure. In summary, is a disjoint union with:
- : full measure, but meagre;
- : measure zero, but comeagre;
- : measure zero and meagre.
This contrast between topological smallness ("meagre") and measure-theoretic smallness ("null") will reappear in the integration chapter.
The number is a Liouville number: take and (an integer); then for large.
By Liouville's 1844 theorem, is transcendental. Other notable Diophantine numbers include , , , , and .