TL;DR
A metric space is complete when every Cauchy sequence in it converges to a point that is also in the space. The test for a Cauchy sequence uses only its terms, so completeness says that a space has no missing limits. The real numbers are complete and the rational numbers are not, which is why calculus is usually done on the reals.
Builds on: Cauchy Sequence, Metric Space, Limit of a Sequence · Leads to: Contraction Mapping, Banach Fixed-Point Theorem
Where it's used
Solving equations by repeated approximation. A fixed-point iteration replaces a guess with , a function of the guess, and repeats. If the iterates form a Cauchy sequence, completeness gives them a limit that solves . The Banach fixed-point theorem uses exactly this argument. Its best-known use is proving that many ordinary differential equations have one solution.
Making calculus work. Limits, derivatives and integrals all rely on sequences that are known to converge. Working in a complete space such as the real line guarantees that a Cauchy sequence of values, such as the approximations to an integral, settles on a value that the calculus is allowed to use.
Building number systems. Starting from the rational numbers, which are not complete, one can fill in every missing limit of a Cauchy sequence and get the real numbers. Georg Cantor's construction does this, and the result is a complete space. The reals are the smallest complete space that contains the rationals.
How it works
Work through the rational numbers, with the ordinary distance .
- Pick a Cauchy sequence of rationals. Take the decimal approximations of : 1, 1.4, 1.41, 1.414, 1.4142, and so on. Each term is a fraction. Check: the gap between the 3rd and 4th terms is , and later gaps are smaller still.
- Confirm that it is Cauchy. For terms and with , both lie within of and on the same side of it, so . Any tolerance is met after some position. Check: with tolerance , position already works, since the gap is below .
- Ask for the limit inside the rationals. The only possible limit is . It is a standard fact that is not a fraction, so no limit exists in the space of rationals. Check: the sequence is Cauchy in with no limit in , so is not complete.
- Repeat in the reals. The same sequence is Cauchy in the real numbers and converges to , which is a real number. Check: the space of reals contains the limit, so this sequence causes no problem.
- Conclude. A space is complete when every Cauchy sequence in it has its limit in the space. The rationals fail this test, and the reals pass it.
The diagram gives the test for any one sequence.
flowchart TD
A["Take a Cauchy sequence in the space"] --> B{"Does it converge in the space?"}
B -->|"yes, for every such sequence"| C["Space is complete"]
B -->|"no, for some sequence"| D["Space is not complete"]
The math
The definition depends on both the set and the distance. The same set can be complete with one distance and incomplete with another, as the examples show.
Step 1 in symbols: the rationals are not complete
Let be the decimal truncation of to places. For we have and , so . The sequence is Cauchy in . If it converged to some , then , which contradicts the irrationality of .
Step 2 in symbols: the reals are complete
Let be a Cauchy sequence of real numbers. It is bounded: after some , every term lies within 1 of , so every term lies between and . Define , which exists because the set is bounded above. The sequence is non-increasing and bounded below, so exists. Now take and choose so that for all . For , , so is within of every later term. Since , choose with . For , , so . The key input is the least upper bound property covered in Supremum.
Step 3 in symbols: closed subsets of a complete space
If is complete and is closed, then is complete. A Cauchy sequence in is also Cauchy in , so it converges to some . Because is closed, every limit of points of lies in , so . This is why every closed interval on the real line is complete.
Step 4 in symbols: a distance that breaks completeness
Take with . This is a metric, because is one-to-one. The sequence is Cauchy for this distance, since approaches . Its limit in this metric would have to be the real number with , which does not exist. So is not complete under , even though it is complete under .
Worked examples
Let with the usual distance. Take , so the terms are .
- For , the gap is .
- For tolerance , choose . Then , which is less than . So the sequence is Cauchy.
- The terms shrink to 0, and 0 is not in . So the sequence has no limit in .
Result: is not complete. Adding 0 to the set would fix it, since is complete.
Let , so the terms are , all in .
- For , the gap is .
- For tolerance , choose . Then , which is less than . So the sequence is Cauchy.
- In the reals the sequence converges to 1.
- The limit 1 lies in , so the limit is inside the space.
Result: this sequence converges inside . Step 3 of the math says this holds for every Cauchy sequence in .
Consider the map on . It sends into , because and . The distance between images is , and by the mean value theorem this is at most times , so is a contraction on .
- Start at . Then .
- Next, and .
- The gaps are , and . Each is at most times the one before.
- Because is complete, the iterates converge to a limit in . The limit satisfies , and numerically .
Try it: the bound says . Check it with the numbers above. Answer: , and is less than , so the bound holds.
Common mistakes and tradeoffs
It is tempting to think that completeness is a property of the set alone. In fact it depends on the distance. The real line is complete under but not under the arctan distance in Step 4, because the same Cauchy sequence can have a limit in one metric and no limit in the other.
It is tempting to think that a bounded set is complete, or that a closed set is complete on its own. In fact a set can be bounded and still hold a Cauchy sequence with no limit inside it, such as in Example 1. Closedness helps only when the surrounding space is complete, as Step 3 shows.
It is tempting to think that completeness means the set has no gaps at all. In fact it means only that Cauchy sequences have limits. Each Cauchy sequence is a request for a limit, and completeness promises the limit is available inside the set.
When to use it: when you need existence of limits, for example when an iteration or a construction produces a Cauchy sequence and you want it to land somewhere in the space. When not to use it: when you only need to check whether a particular sequence converges to a known point, where the ordinary limit definition is simpler. Alternative: compactness also gives limits, and every compact metric space is complete, but compactness is a stronger requirement that fails for many useful spaces such as the real line.
History
The idea of a limit that can be tested from the terms alone goes back to Augustin-Louis Cauchy's 1821 textbook. For decades the real numbers were used without a full construction. In the 1870s Georg Cantor built them from the rationals using Cauchy sequences, which turned the fact that every Cauchy sequence of reals converges into a theorem rather than an assumption. Metric spaces, the setting in which the word complete makes sense in general, were introduced in the early twentieth century. Stefan Banach proved his fixed-point theorem in 1922 for complete metric spaces, and that result made completeness a standard tool for existence proofs.
Recap
- A metric space is complete when every Cauchy sequence in it converges to a point of the space.
- Completeness depends on the space and on the distance. The rationals are not complete; the reals are.
- A closed subset of a complete space is complete.
- Completeness gives existence: the iterates of a contraction on a complete space converge, which is the Banach fixed-point theorem.
- Next, read Contraction Mapping for the shrinking condition and Banach Fixed-Point Theorem for the result it supports.