Cauchy sequences and completeness
Just like with sequences of real numbers we can define Cauchy sequences.
Let be a metric space. A sequence in is a Cauchy sequence if for every there exists an such that for all and all we have
The definition is again simply a translation of the concept from the real numbers to metric spaces. So a sequence of real numbers is Cauchy in the sense of if and only if it is Cauchy in the sense above, provided we equip the real numbers with the standard metric .
Let be a metric space. We say that is complete or Cauchy-complete if every Cauchy sequence in converges to an .
The space with the standard metric is a complete metric space.
For this was proved in .
Take . Let be a Cauchy sequence in , where we write . As the sequence is Cauchy, given , there exists an such that for all we have
Fix some , for we have \[\bigl\lvert x_k^i - x_k^j \bigr\rvert = \sqrt
ParseError: invalid DekiScript (click for details)Callstack:
at (Bookshelves/Analysis/Introduction_to_Real_Analysis_(Lebl)/08:_Metric_Spaces/8.04:_Completeness_and_Compactness), /content/body/div[1]/p[8]/span, line 1, column 1
at wiki.page()
at (Under_Construction/Purgatory/Remixer_University/Username:_junalyn2020/Book:_Introduction_to_Real_Analysis_(Lebl)/7:_Metric_Spaces/7.4:_Completeness_and_Compactness), /content/body/div[1]/pre, line 2, column 14
\) is complete the sequence converges; there exists an such that .
Write . By we have that converges to and hence is complete.
Compactness
Let be a metric space and . The set is set to be compact if for any collection of open sets such that there exists a finite subset such that
A collection of open sets as above is said to be a open cover of . So a way to say that is compact is to say that every open cover of has a finite subcover.
Let be a metric space. A compact set is closed and bounded.
First, we prove that a compact set is bounded. Fix . We have the open cover If is compact, then there exists some set of indices such that As is contained in a ball, is bounded.
Next, we show a set that is not closed is not compact. Suppose that , that is, there is a point . If , then for with we have . Furthermore , so As a closed ball is closed, is open, and so we have an open cover. If we take any finite collection of indices , then As is in the closure, we have , so there is no finite subcover and is not compact.
We prove below that in finite dimensional euclidean space every closed bounded set is compact. So closed bounded sets of are examples of compact sets. It is not true that in every metric space, closed and bounded is equivalent to compact. There are many metric spaces where closed and bounded is not enough to give compactness, see for example .
A useful property of compact sets in a metric space is that every sequence has a convergent subsequence. Such sets are sometimes called sequentially compact. Let us prove that in the context of metric spaces, a set is compact if and only if it is sequentially compact.
[thm:mscompactisseqcpt] Let be a metric space. Then is a compact set if and only if every sequence in has a subsequence converging to a point in .
Let be a set and a sequence in . Suppose that for each , there is a ball for some such that for only finitely many . Then Any finite collection of these balls is going to contain only finitely many . Thus for any finite collection of such balls there is an that is not in the union. Therefore, is not compact.
So if is compact, then there exists an such that for any , contains for infinitely many . contains some so let . If is defined, then there must exist a such that , so define . Notice that . By , .
For the other direction, suppose that every sequence in has a subsequence converging in . Take an open cover of . For every , define As is an open cover of , for each . By construction, for any positive there must exist a such that .
Pick a and look at . If , we stop as we have found a finite subcover. Otherwise, there must be a point . There must exist some such that and in fact . We work inductively. Suppose that is defined. Either is a finite cover of , in which case we stop, or there must be a point . In this case, there must be some such that , and in fact
So either we obtained a finite subcover or we obtained an infinite sequence as above. For contradiction suppose that there was no finite subcover and we have the sequence . Then there is a subsequence that converges, that is, . We take such that . As the subsequence converges, there is a such that . By the triangle inequality, . So , which implies As , we have , or . As , for all large enough we have by . Let us fix one of those such that . But by construction if , which is a contradiction.
By the Bolzano-Weierstrass theorem for sequences () we have that any bounded sequence has a convergent subsequence. Therefore any sequence in a closed interval has a convergent subsequence. The limit must also be in as limits preserve non-strict inequalities. Hence a closed bounded interval is compact.
Let be a metric space and let be compact. Suppose that is a closed set, then is compact.
Let be a sequence in . It is also a sequence in . Therefore it has a convergent subsequence that converges to . As is closed the limit of a sequence in is also in and so . Thus must be compact.
[thm:msbw] A closed bounded subset is compact.
For if is closed and bounded, then any sequence in is bounded, so it has a convergent subsequence by Bolzano-Weierstrass theorem for sequences (). As is closed, the limit of the subsequence must be an element of . So is compact.
Let us carry out the proof for and leave arbitrary as an exercise.
As is bounded, there exists a set such that . If we can show that is compact, then , being a closed subset of a compact , is also compact.
Let be a sequence in . That is, and for all . A bounded sequence has a convergent subsequence so there is a subsequence that is convergent. The subsequence is also a bounded sequence so there exists a subsequence that is convergent. A subsequence of a convergent sequence is still convergent, so is convergent. Let By , converges to as goes to . Furthermore, as and for all , we know that .
Exercises
Let be a metric space and a finite subset of . Show that is compact.
Let . a) Show that is not compact directly using the definition. b) Show that is compact directly using the definition.
Let be a metric space with the discrete metric. a) Prove that is complete. b) Prove that is compact if and only if is a finite set.
a) Show that the union of finitely many compact sets is a compact set. b) Find an example where the union of infinitely many compact sets is not compact.
Prove for arbitrary dimension. Hint: The trick is to use the correct notation.
Show that a compact set is a complete metric space.
Let be the metric space as in . Show that is a complete metric space.
[exercise:msclbounnotcompt] Let be the metric space of . Let denote the zero function. Then show that the closed ball is not compact (even though it is closed and bounded). Hints: Construct a sequence of distinct continuous functions such that and for all . Show that the set is closed but not compact. See for inspiration.
Show that there exists a metric on that makes into a compact set.
Suppose that is complete and suppose we have a countably infinite collection of nonempty compact sets then prove .
Let be the metric space of . Let be the set of such that is equal to a quadratic polynomial, i.e. , and such that for all , that is . Show that is compact.