Complete Metric Spaces

Video. Metric Space Completions

Some Topics Covered Definition of completeness; examples; existence of completion of a metric space
Definition
  • A sequence \(\{x_n\}_{n=1}^\infty\) in a metric space \((X,d)\) is called a Cauchy sequence when for all \(\epsilon > 0\), there is some \(N \in \mathbb{N}\) such that every pair \(n,m > N\) satisfies \(d(x_n,x_m) < \epsilon\).
  • A metric space \((X,d)\) is called complete when all Cauchy sequences in the metric space are convergent.
Examples
  • The real numbers with the usual metric are a complete metric space (and Cauchy sequences in the metric sense coincide with what we've already defined them to be).
  • The set \((0,\infty) \subset {\mathbb R}\) with metric \(d(x,y) := |x-y|\) is not complete: the sequence \(\{n^{-1}\}_{n=1}^\infty\) is a Cauchy sequence which has no limit in \((0,\infty)\).
  • The set \((0,\infty)\) with metric \(d(x,y) := |x-y| + |x^{-1} - y^{-1}|\) is complete. If \(\{x_n\}_{n=1}^\infty\) is Cauchy with respect to this metric, then because \(|x_n - x_m| \leq d(x,y)\), our sequence is Cauchy in the usual sense as well. Moreover \(\{x_n^{-1}\}_{n=1}^\infty\) is also a traditional Cauchy sequence. Thus \(\lim_{n \rightarrow \infty} x_n\) and \(\lim_{n \rightarrow \infty} x_n^{-1}\) both exist. Since \(1 = x_n x_n^{-1}\), we have that
    \[1 = \left(\lim_{n \rightarrow \infty} x_n \right) \left(\lim_{n \rightarrow \infty} x_n^{-1} \right),\]
    and so in particular both limits are finite and nonzero. If \(x_\star := \lim_{n \rightarrow \infty} x_n\), then we have that \(|x_n - x_\star| \rightarrow 0\) and \(|x_n^{-1} - x_\star^{-1}| \rightarrow 0\), so \(d(x_n,x_\star) \rightarrow 0\) as \(n \rightarrow \infty\).

1. Metric Space Completions

Theorem
Suppose \((X,d)\) is a metric space. There exists a metric space \((\overline{X},\overline{d})\), called the completion of \((X,d)\), such that
  1. \(X \subset \overline{X}\) and \(d(x,y) = \overline{d}(x,y)\) for all \(x,y \in E\) (i.e., \(X\) belongs to \(\overline{X}\) and the metric \(\overline{d}\) agrees with \(d\) on \(X\)),
  2. \((\overline{X},\overline{d})\) is complete,
  3. if \((Y,d_Y)\) is any other complete metric space such that \(X \subset Y\) and \(d_Y\) agrees with \(d\) on \(X\), then \(\overline{X} \subset Y\) and \(d_Y\) agrees with \(\overline{d}\) on \(\overline{X}\).
Informally, the completion of a metric space \((X,d)\) can be thought of as an operation which adds some minimal set of new points to \(X\) so that Cauchy spaces always converge (i.e., it fills in all the holes).
Examples
The completion of the rationals \(\mathbb{Q}\) with the usual metric is the real numbers. The completion of \((0,\infty)\) with respect to the usual metric is simply \([0,\infty)\).
Step 1: Defining the completion Let \(\overline{X}\) be the collection of all equivalence classes of Cauchy sequences in \((X,d)\) modulo the following equivalence relation:
\(\{x_n\}_{n=1}^\infty \sim \{y_n\}_{n=1}^\infty\) when \(d(x_n,y_n) \rightarrow 0\) as \(n \rightarrow \infty\).

We also define the distance \(\overline{d}\) between two elements \(\overline{x}, \overline{y}\) of \(\overline{X}\) in the following way:
  1. Choose a representative Cauchy sequence \(\{x_n\}_{n=1}^\infty\) for \(\overline{x}\) and \(\{y_n\}_{n=1}^\infty\) for \(\overline{y}\).
  2. Define
    \[ \overline{d}(\overline{x},\overline{y}) := \lim_{n \rightarrow \infty} d(x_n,y_n). \]
We need to verify that the limit always exists, that it is independent of the choice of representative, and that it satisfies the properties of a metric.

To see that the limit exists, observe that
\[{}d(x_n,y_n) - d(x_m,y_m) {}\]
\[{}\leq d(x_n,x_m) + d(x_m,y_n) - d(x_m,y_m){}\]
\[{}\leq d(x_n,x_m) + d(y_n,y_m){}\]
where we used the triangle inequality to say that \(d(x_n,y_n) \leq d(x_n,x_m) + d(x_m,y_n)\) and \(d(x_m,y_n) \leq d(y_n,y_m) + d(y_m,x_m)\). By flipping the roles of \(n\) and \(m\), we can conclude that
\[{}|d(x_n,x_n) - d(x_m,y_m)|{}\]
\[{}\leq d(x_n,x_m) + d(y_n,y_m).{}\]
We can make both terms on the right-hand side less than \(\epsilon/2\) when \(n\) and \(m\) are sufficiently large, which means that \(\{d(x_n,y_n)\}_{n=1}^\infty\) is a Cauchy sequence of real numbers and there fore converges and the limit exists.

To see that the limit is independent of representative, let \(d(x_n,x_n')\) and \(d(y_n,y_n')\) both tend to zero as \(n \rightarrow \infty\). Then
\[{}d(x_n,y_n) - d(x_n',y_n'){}\]
\[{}\leq d(x_n,x_n') + d(x_n',y_n) - d(x_n',y_n'){}\]
\[{}\leq d(x_n,x_n') + d(x_n',y_n'){}\]
\[{}+ d(y_n',y_n) - d(x_n',y_n'){}\]
\[{}= d(x_n,x_n') + d(y_n,y_n').{}\]
Swapping the roles of primed and unprimed sequences gives that
\[{}|d(x_n,y_n) - d(x_n',y_n')|{}\]
\[{}\leq d(x_n,x_n') + d(y_n,y_n').{}\]
Since the right-hand side goes to zero, the limit of \(d(x_n,y_n)\) as \(n \rightarrow \infty\) must be the same as the limit of \(d(x_n',y_n')\) as \(n \rightarrow \infty\).

To see that \(\overline{d}\) is a metric is mostly a series of simple observations resting on the fact that \(d\) is a metric. The most delicate part is the triangle inequality. To achieve it, take the limit of the inequality \(d(x_n,z_n) \leq d(x_n,y_n) + d(y_n,z_n)\) as \(n \rightarrow \infty\) to get \(\overline{d}(\overline{x},\overline{z}) \leq \overline{d}(\overline{x},\overline{y}) + \overline{d}(\overline{y},\overline{z})\) whenever \(\{x_n\}_{n=1}^\infty, \{y_n\}_{n=1}^\infty\), and \(\{z_n\}_{n=1}^\infty\) represent \(\overline{x}, \overline{y},\) and \(\overline{z}\), respectively (because we know that the limit of every individual term in the inequality exists).

Step 2: Identifying \(X\) as a subset of \(\overline{X}\) Given any point \(x \in X\), let \(\phi(x)\) be the equivalence class of the constant sequence \(x_n := x\) modulo the equivalence class above. We identify \(x\) with \(\phi(x)\) and note that \(\overline{d}(\phi(x),\phi(y)) = d(x,y)\) since \(d(x_n,y_n) = d(x,y)\) for each \(n\) when \(\{x_n\}_{n=1}^\infty\) and \(\{y_n\}_{n=1}^\infty\) are constant sequences.

Step 3: Showing that \((\overline{X},\overline{d})\) is complete Let \(\{s_n\}_{n=1}^\infty\) be a Cauchy sequence in our metric space \((\overline{X},\overline{d})\). In other words, each \(s_n\) is an equivalence class of Cauchy sequences in \(X\) and \(\overline{d}(s_n,s_m) < \epsilon\) for all \(n,m\) sufficiently large.

For each \(n\), let \(s_{n}^{(1)},s_{n}^{(2)},s_{n}^{(3)},\ldots\) be a Cauchy sequence in \(X\) which represents \(s_n\). In particular, since this sequence is Cauchy, we know that there must be some point \(x_n \in X\) such that \(d(x_n,s_{n}^{(k)}) < \frac{1}{n}\) for all \(k\) sufficiently large (e.g., we can take \(x_n := s_{n}^{(\ell)}\) for any \(\ell\) sufficiently large because we know that \(d(s_{n}^{(\ell)},s_{n}^{(k)}) < \epsilon\) for all large \(\ell\) and \(k\)).

We claim that \(\{x_n\}_{n=1}^\infty\) is itself a Cauchy sequence in \(X\). This is because
\[{}d(x_n,x_m){}\]
\[{}\leq d(x_n,s_{n}^{(k)}){}\]
\[{}+ d(s_{n}^{(k)},s_{m}^{(k)}){}\]
\[{}+ d(s_{m}^{(k)},x_m){}\]
\[{}< \frac{1}{n}{}\]
\[{}+ d(s_{n}^{(k)},s_{m}^{(k)}){}\]
\[{}+ \frac{1}{m}{}\]
for all \(k\) sufficiently large. In particular, taking the limit as \(k \rightarrow \infty\) gives that
\[{}d(x_n,x_m){}\]
\[{}< \frac{1}{n} + \frac{1}{m}{}\]
\[{}+ \overline{d}(s_n,s_m).{}\]
If \(n\) and \(m\) are so large that \(n,m > 3\epsilon^{-1}\) and \(\overline{d}(s_n,s_m) < \epsilon/3\), it follows that \(d(x_n,x_m) < \epsilon\) for all such \(n\) and \(m\).

Let \(\overline{x}\) be the equivalence class of the Cauchy sequence \(\{x_n\}_{n=1}^\infty\) just constructed. Then
\[{}\overline{d}(s_n,\overline{x}){}\]
\[{}= \lim_{k \rightarrow \infty} d(s_n^{(k)},x_k){}\]
but
\[{}d(s_n^{(k)},x_k){}\]
\[{}\leq d(s_n^{(k)},x_n) + d(x_n,x_k),{}\]
so if both \(n\) and \(k\) are sufficiently large, both terms on the right-hand side are less than \(\epsilon/2\), which means that \(\overline{d}(s_n,\overline{x}) \leq \epsilon\) for all these large \(n\). Therefore we have shown that \(s_n \rightarrow \overline{x}\) in \((\overline{X},\overline{d})\).

Step 4: Showing that \((\overline{X},\overline{d})\) is minimal Suppose that \((Y,d_Y)\) is a complete metric space containing \(X\) such that \(d_Y\) agrees with \(d\) on the set \(X\). Every point \(\overline{x} \in \overline{X}\) is an equivalence class of a Cauchy sequence \(x_1,x_2,\ldots\) in \(X\). Since \(Y\) is complete and contains \(X\), there must be some limit \(\phi(\overline{x})\) of this sequence in the set \(Y\). If \(x_1',x_2',\ldots\) is any other sequence representing \(\overline{x}\), then the fact that \(d(x_n,x_n') \rightarrow 0\) as \(n \rightarrow \infty\) implies that \(d_Y(x_n,x_n') \rightarrow 0\) as \(n \rightarrow \infty\), which means that both sequences converge to the same thing \(\phi(\overline{x})\) in the set \(Y\). We identify the point \(\phi(\overline{x}) \in Y\) with the point \(\overline{x} \in \overline{X}\). Note that by looking at constant sequences, we have to have that \(\phi(x) = x\) for all \(x \in X\).

It suffices now to show that \(d_Y(\phi(\overline{x}),\phi(\overline{z})) = \overline{d}(\overline{x},\overline{z})\). But this is an immediate consequence of the fact that \(d_Y(x_n,z_n) = d(x_n,z_n)\) when \(\{x_n\}_{n=1}^\infty\) and \(\{z_n\}_{n=1}^\infty\) represent \(\overline{x}\) and \(\overline{z}\), respectively. Because \(x_n \rightarrow \phi(\overline{x})\) and \(z_n \rightarrow \phi(\overline{z})\) in \(Y\), \(\lim_{n \rightarrow \infty} d_Y(x_n,z_n) = d_Y(\phi(\overline{x}),\phi(\overline{z}))\). But also \(\lim_{n \rightarrow \infty} d(x_n,z_n) := \overline{d}(\overline{x},\overline{z})\).