Compactness · Definition
Compact sets in Hausdorff spaces
Before you start you need to know
It links two opposite ideas, compactness and closedness, exactly when the space has enough open sets to separate points.
Definition
Every compact subset \(K\) of a Hausdorff space \(X\) is closed in \(X\), and every closed subset of a compact space is compact.
The proof fixes \(p\notin K\). For each \(x\in K\), Hausdorff gives disjoint open sets \(U_x\ni p\) and \(V_x\ni x\). The \(V_x\) cover \(K\); by compactness \(V_{x_1},\dots,V_{x_n}\) suffice, and \(U=\bigcap U_{x_i}\) is an open set containing \(p\) that misses \(K\). Thus \(X\setminus K\) is open.
The Hausdorff hypothesis is indispensable. In \(\{a,b,c\}\) with open sets \(\varnothing,\{a\},X\), the set \(\{a\}\) is finite, hence compact, but not closed; and in the cofinite topology on \(\mathbb{N}\) the evens are compact and not closed.
The other half says a closed subset \(F\) of a compact space \(X\) is compact: an open cover of \(F\) is completed with \(X\setminus F\) to cover \(X\), a finite subcover is extracted, and \(X\setminus F\) is discarded. This half needs no Hausdorff. Together they give that in a compact Hausdorff space, compact and closed mean the same.
Immediate consequences: the intersection of compact sets in a Hausdorff space is compact, and in \(\mathbb{R}\) every compact set is closed, which is the easy half of Heine-Borel.
Think about it
Why is every subset of a finite Hausdorff space closed?
Because every subset is finite, hence compact, and compact sets are closed; equivalently the space is discrete.
Does the converse "closed implies compact" hold in \(\mathbb{R}\)?
No: \(\mathbb{R}\) is closed in itself but not compact; it only holds inside a compact space.
Exercises 10
- If \(X\) is Hausdorff and \(K\subseteq X\) is compact, then \(K\) is:
- Which of these subsets of \(\mathbb{R}\) cannot be compact?
- In \(X=\{a,b,c\}\) with open sets \(\varnothing,\{a\},X\), the set \(\{a\}\) is:
- A Hausdorff space has exactly three points. How many of its subsets are compact?
- In the proof, to separate a point \(p\notin K\) from a compact \(K\), what is done with the disjoint open sets \(U_x\ni p\), \(V_x\ni x\) given by Hausdorff?
- In \(\mathbb{N}\) with the cofinite topology, which subset is compact but not closed?
- Let \(K\subseteq\mathbb{R}\) be compact and \(x_n\in K\) with \(x_n\to x\) in \(\mathbb{R}\). Is \(x\in K\)?
- Let \(K_1,K_2\) be compact sets in a Hausdorff space. Then \(K_1\cap K_2\) is:
- In a Hausdorff space \(X\), which statement is false?
- Of the \(29\) topologies on \(\{1,2,3\}\), in how many is every compact subset closed?
References
- James R. Munkres, Topology, 2nd edition, Pearson, 2000. §26
- Stephen Willard, General Topology, Dover reprint, Dover Publications, 2004. cap. 5