Britannica Sources used in this answer

Why is every compact subset of a Hausdorff space closed?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

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 y that is not in a compact subset K, you can use the Hausdorff property to separate y from every point x in K using disjoint open neighborhoods. Because K is compact, you can extract a finite subcollection of these neighborhoods to cover K while keeping them disjoint from a neighborhood of y. This construction ensures that y has an open neighborhood that does not intersect K, meaning the complement of K is open and K 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