point set topology
Compactness
You should know: open and closed sets
Overview
Compactness is a property of a topological space that makes it behave in many ways like a finite set, even when it has infinitely many points. The general (open-cover) definition says a space is compact if every collection of open sets that covers the space has a finite sub-collection that still covers it. For subsets of Euclidean space, this is equivalent to sequential compactness — every infinite sequence in the set has a subsequence converging to a point of the set — and, by the Heine–Borel theorem, to simply being closed and bounded. Just as every real-valued function on a finite set is bounded and attains its maximum and minimum, every continuous real-valued function on a compact space has these same properties (the extreme value theorem).
Intuition
Think of an open cover as covering a region with an arbitrary (possibly infinite) collection of overlapping 'patches' (open sets), each covering part of the space, together covering everything. Compactness says: no matter how the patches are chosen, you can always throw away all but finitely many of them and still have everything covered — the space can't 'require' infinitely many patches to stay covered. This captures the finite-set-like behavior: a finite set trivially has this property (there are only finitely many patches to begin with), and compactness generalizes it to infinite sets that are 'small' or 'complete' enough — like a closed bounded interval [a,b], where you truly cannot escape to infinity or sneak up on a missing boundary point.
Formal Definition
A topological space X is compact if every open cover of X admits a finite subcover:
Every open cover — however large or infinite — has some finite sub-collection that still covers all of X
In Euclidean space specifically, the abstract open-cover property reduces to the concrete, checkable conditions of closedness and boundedness
Notation
| Notation | Meaning |
|---|---|
| A collection of open sets whose union contains (covers) the space or set in question | |
| A finite sub-collection of a cover that still covers the whole space | |
| The sequence-based characterization of compactness, equivalent to the open-cover definition in metric spaces |
Derivation
Sketch of why [0,1] is compact via the open-cover definition (the key step of the Heine–Borel theorem for a single interval), using a 'supremum of good points' argument.
Define S as the set of points up to which finite covering has succeeded
S is nonempty and bounded, so by completeness of ℝ it has a supremum c = sup S
The cover element containing c has room around c, since it's open
Extending the finite subcover of [0,x] by one more set (U_{α₀}) covers past c, forcing c=1 and showing 1∈S — completing the proof that [0,1] itself has a finite subcover
Properties
Continuous image of compact is compact
Extreme Value Theorem
Condition: A direct consequence of 'continuous image of compact is compact' applied to ℝ, where compact subsets are closed and bounded, hence contain their sup and inf.
Closed subsets of compact spaces are compact
Compact subsets of Hausdorff spaces are closed
Finite intersection property
Condition: An equivalent dual formulation of the open-cover definition, phrased via closed sets instead of open sets.
Applications
Worked Examples
Construct the open cover Uₙ = (1/n, 1) for n = 2, 3, 4, ..., whose union is all of (0,1).
Any finite sub-collection U_{n_1},...,U_{n_k} has union (1/N,1) where N = max(n₁,...,nₖ), which misses points near 0 (e.g. 1/(2N)).
Since no finite subcover exists for this particular cover, (0,1) fails the open-cover definition of compactness.
Answer: (0,1) is not compact — it is bounded but not closed, consistent with Heine–Borel
Practice Problems
By the Heine–Borel theorem, which of the following subsets of ℝ is compact?
Prove that a compact subset K of a Hausdorff space X is closed.
Common Mistakes
Assuming 'bounded' alone is enough to conclude a subset of ℝⁿ is compact.
Heine–Borel requires BOTH closed and bounded. (0,1) is bounded but not closed, and fails to be compact — as shown by the cover {(1/n,1)} having no finite subcover.
Believing compactness is only about 'small' or literally finite sets.
Compact sets can be infinite (even uncountable) — [0,1] is compact and contains uncountably many points. Compactness is about every open cover admitting a FINITE subcover, not about the set itself being finite.
Quiz
Summary
- A space is compact if every open cover has a finite subcover — the space cannot 'need' infinitely many open sets to stay covered.
- In ℝⁿ, the Heine–Borel theorem gives a concrete equivalent: compact ⟺ closed and bounded.
- Sequential compactness (every sequence has a convergent subsequence with limit in the set) is equivalent to compactness in metric spaces.
- Continuous images of compact sets are compact, which is exactly why continuous functions on compact sets attain their maximum and minimum (Extreme Value Theorem).
- Compact subsets of Hausdorff spaces are always closed, linking compactness back to the open-and-closed-sets framework.
References
- WebsiteWikipedia — Compact space
- BookMunkres, J. Topology, 2nd ed. Ch. 3.
Mathematics