Theorem (26.3): Every compact subspace of a Hausdorff space is closed.

Proof from Modern Analysis I.

Let be Hausdorff and be compact. We will show that is closed by showing that the complement is open.

Fix . By the Hausdorff property, for every , we may find a neighborhood of and of such that . Then is a cover of , and by compactness, it has a finite subcover. Then there is a corresponding finite intersection of neighborhoods of , which is itself an open neighborhood of disjoint from . Since is arbitrary, we conclude that every point of is an interior point.