Compactness · Definition
Heine-Borel theorem
Before you start you need to know
It gives a concrete test for recognizing compact sets in \(\mathbb{R}^n\) without handling open covers.
Definition
A subset \(K\) of \(\mathbb{R}^n\) with the usual metric is compact if and only if it is closed and bounded.
One implication is general: every compact set in a metric space is closed and bounded. It is closed because a metric space is Hausdorff, and bounded because the open balls \(B(x_0,n)\) cover it and finitely many suffice. The hard implication is the converse, which uses the completeness of \(\mathbb{R}\).
In \(\mathbb{R}\), the outline is: a closed bounded set fits in some \([a,b]\); this is proved compact by bisection (if it had no finite subcover, one half would not either, and the nested intervals converge to a point covered by an open set of the cover, a contradiction); and a closed subset of a compact set is compact. For \(\mathbb{R}^n\) one uses that a finite product of compact sets is compact.
The theorem is what makes compactness manageable in analysis: \(\{x:g(x)\le c\}\) with \(g\) continuous is closed, and if it is also bounded it is compact; this guarantees maxima and minima. Examples: the sphere \(S^{n-1}\) and closed balls are compact, while \(\mathbb{R}^n\) and open balls are not.
Outside \(\mathbb{R}^n\) the equivalence fails. The interval \((0,1)\) with the usual distance is closed and bounded in itself but not compact, and an infinite set with the discrete distance (\(d=1\) between distinct points) is bounded and closed without being compact. In metric spaces the right characterization is: complete and totally bounded.
Think about it
Is the set \(\{(x,y)\in\mathbb{R}^2:\ x^2+y^2\le1,\ y\ge0\}\) compact?
Yes: it is the intersection of a closed disk with a closed half-plane, hence closed, and it is bounded by the disk.
Why is \"closed and bounded\" not enough in an arbitrary metric space?
Because in \((0,1)\) with the usual distance the whole space is closed and bounded, yet the sequence \(1/n\) does not converge in it; completeness is missing.
Exercises 10
- Identify the compact subset of \(\mathbb{R}\):
- Which of these subsets of \(\mathbb{R}^2\) is compact?
- Why is \([0,\infty)\) not compact in \(\mathbb{R}\)?
- Why is \((0,1]\) not compact in \(\mathbb{R}\)?
- Among these plane figures, which one is compact?
- Which of these subsets of \(\mathbb{R}\) is compact?
- Which of these subsets of \(\mathbb{R}^3\) is compact?
- Let \(A=[0,1]\), \(B=(0,1)\), \(C=\mathbb{Z}\), \(D=\{0\}\cup\{1/n:n\ge1\}\) in \(\mathbb{R}\). How many are compact?
- The metric space \(X=(0,1)\) with the usual distance is closed (in itself) and bounded. Is it compact?
- Let \(A\subseteq\mathbb{R}\) be compact and nonempty. Which statement is true?
What comes next
References
- James R. Munkres, Topology, 2nd edition, Pearson, 2000. §27 (Teorema 27.3)
- Stephen Willard, General Topology, Dover reprint, Dover Publications, 2004. cap. 5