Compactness · Definition

Heine-Borel theorem

topologycompactnessmetric spaces

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.

\[K\subseteq\mathbb{R}^n\ \text{compact}\iff K\ \text{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

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