Why is every compact subset of a Hausdorff space closed?
In topology, a Hausdorff space is defined by the separation property where any two distinct points can be enclosed in disjoint open sets.21
The reason every compact subset of a Hausdorff space is closed relies on this ability to separate points. If you take a point that is not in a compact subset , you can use the Hausdorff property to separate from every point in using disjoint open neighborhoods. Because is compact, you can extract a finite subcollection of these neighborhoods to cover while keeping them disjoint from a neighborhood of . This construction ensures that has an open neighborhood that does not intersect , meaning the complement of is open and itself must be closed.21
This property is a fundamental result in general topology, distinguishing Hausdorff spaces from more general topological spaces where compact sets are not necessarily closed.2