Compact space - Intuition and Basic Examples
Understand the intuition behind compactness, explore basic and concrete examples across dimensions, and learn key results such as Heine–Borel, Tychonoff, and Arzelà–Ascoli.
Summary
Read Summary
Flashcards
Save Flashcards
Quiz
Take Quiz
Quick Practice
What concepts from Euclidean space does compactness generalize?
1 of 15
Summary
Understanding Compactness
Introduction: What is Compactness?
Compactness is one of the most important concepts in topology and analysis. Intuitively, a space is compact if it is "small" and "closed up" in a specific mathematical sense. More precisely, compactness generalizes the familiar idea of a closed and bounded subset of Euclidean space.
The core intuition behind compactness is this: every infinite sequence of points in a compact space has a convergent subsequence that stays within the space. This means there are no "escape routes"—points cannot drift off to infinity or approach a boundary that lies outside the space.
Why Compactness Matters
Compactness is useful because it guarantees certain desirable properties. For example:
Continuous functions on compact spaces achieve their maximum and minimum values
The image of a compact space under a continuous function is itself compact
Many existence theorems in analysis rely on compactness
Simple Illustrations
Let's ground this intuition with concrete examples from the real line:
The real line ℝ is not compact. Consider the sequence 1, 2, 3, 4, ... This is an infinite sequence of points in ℝ, but no subsequence of it converges to any real number—the sequence drifts toward infinity. This shows ℝ fails to be compact.
A closed interval like [0, 1] is compact. Any infinite selection of points from this interval has a subsequence that converges to a point within the interval. You cannot pick points that escape to infinity or jump outside the interval.
The extended real line ℝ ∪ {−∞, +∞} (which includes both infinities) is compact. By including the infinities as actual points, we ensure that sequences drifting toward infinity still converge to a point within the space.
The image above illustrates three different subsets of the real line. Interval B (the closed interval) is compact, while intervals A and C extend outward unboundedly and are therefore not compact.
Basic Examples of Compact and Non-Compact Spaces
Finite Spaces
Every finite topological space is compact. This is straightforward: if a space has only finitely many points, then any open cover contains at least one open set for each point, so we can always extract a finite subcover by picking at least one set for each point.
Intervals and Disks
Closed intervals like [a, b] are compact. This is one of the fundamental examples you should know.
Closed disks (including their boundaries) are compact. More generally, any closed and bounded subset of Euclidean space is compact.
Open disks and open intervals are not compact. For example, the open interval (0, 1) is not compact because we can construct sequences that approach the endpoints 0 or 1 without being able to converge to a point inside (0, 1). The endpoints lie outside the space.
Spheres and Higher-Dimensional Balls
Spheres are compact. A sphere (the surface of a ball, not including its interior) is compact in Euclidean space.
A sphere with one point removed is not compact. For instance, if you remove the north pole from a 2-sphere, sequences of points can approach the missing north pole without converging to any point remaining in the space.
The closed unit ball $B = \{x \in \mathbb{R}^n : \|x\| \leq 1\}$ is compact. The closed ball is closed and bounded, so it is compact.
The open unit ball $B = \{x \in \mathbb{R}^n : \|x\| < 1\}$ is not compact. Points can approach the boundary without the space including the boundary.
Unbounded Sets Are Not Compact
Lines, planes, and half-infinite intervals like [0, ∞) are not compact. The defining feature is that points can "escape to infinity." You can construct sequences that drift toward infinity without any convergent subsequence. For example, in [0, ∞), the sequence 1, 2, 3, 4, ... has no convergent subsequence.
The Heine–Borel Theorem
One of the most important classical results is the Heine–Borel theorem:
A subset of $\mathbb{R}^n$ (with the standard topology) is compact if and only if it is closed and bounded.
This theorem is crucial: it gives you a simple practical criterion for checking compactness in Euclidean spaces. A set must be both closed (contain its boundary) and bounded (not extend to infinity) to be compact.
Examples:
$[0, 1]$ is closed and bounded, so it is compact ✓
$(0, 1)$ is bounded but not closed, so it is not compact ✗
$[0, \infty)$ is closed but not bounded, so it is not compact ✗
The set of rational numbers in $[0, 1]$ is bounded but not closed (it's missing its irrational endpoints), so it is not compact ✗
The entire real line ℝ is neither closed in a bounded set nor bounded, so it is not compact.
Key Results and Properties
Tychonoff's Theorem
Tychonoff's theorem is a powerful result that extends compactness to infinite-dimensional spaces: The product of arbitrarily many compact spaces is compact.
A classical example is the Hilbert cube, which is the product of countably many copies of the unit interval [0, 1]:
$$[0,1] \times [0,1] \times [0,1] \times \cdots$$
By Tychonoff's theorem, this infinite-dimensional product space is compact, even though it cannot be embedded in any finite-dimensional Euclidean space.
<extrainfo>
Specialized Compact Spaces
The Cantor set is compact. The Cantor set, constructed by repeatedly removing middle thirds from the unit interval, is a compact fractal set. In fact, every non-empty compact metric space is a continuous image of the Cantor set.
Spaces with the cofinite topology are compact. A space has the cofinite topology if its open sets are the empty set and all sets whose complements are finite. Any space equipped with this topology is compact.
The extended real line is compact. We can establish a homeomorphism between the extended real line $\mathbb{R} \cup \{-\infty, +\infty\}$ and the closed interval $[-1, 1]$, which shows it is compact.
</extrainfo>
Non-Compact Examples
No infinite discrete space is compact. In a discrete space (where every subset is open), the collection of all singletons {x} forms an open cover. Since there are infinitely many singletons, no finite subcover can cover all points.
The real line is not compact. One way to see this: the cover of open intervals {(n − 1, n + 1) : n ∈ ℤ} covers ℝ, but no finite subcollection covers the entire line.
<extrainfo>
Arzelà–Ascoli Theorem
In the space of continuous real-valued functions on a compact Hausdorff space, the Arzelà–Ascoli theorem characterizes when a subset is relatively compact (meaning its closure is compact). A subset of continuous functions is relatively compact if and only if it is equicontinuous and pointwise bounded.
This is an important result in functional analysis and the theory of function spaces, but it represents a more specialized application of compactness.
</extrainfo>
Flashcards
What concepts from Euclidean space does compactness generalize?
Closedness and boundedness.
Why is the closed interval $[0, 1]$ compact regarding its sequences?
Any infinite selection of points has a subsequence converging to a point within the interval.
Why is every finite topological space compact?
A finite subcover can be obtained by selecting one open set for each point.
Why are open disks in a plane not compact?
Sequences can approach the boundary without the limit point being in the interior.
Why is a sphere missing a single point not compact?
Sequences can converge to the missing point, which is outside the space.
Why are lines and planes (unbounded sets) not compact?
Sequences can drift to infinity without a convergent subsequence.
What property do all spaces with the cofinite topology share regarding compactness?
They are all compact.
Why is an infinite discrete space never compact?
An open cover consisting of singletons lacks a finite subcover.
Which theorem establishes that the closed unit interval $[0, 1]$ is compact?
The Heine–Borel theorem.
How can an open cover demonstrate that the entire real line is not compact?
An open cover by intervals $(n - 1, n + 1)$ for all integers $n$ has no finite subcover.
To which compact interval can the extended real line be mapped homeomorphically?
The closed interval $[-1, 1]$.
Under what condition is the closed unit ball in a normed vector space compact?
The vector space must be finite-dimensional.
What is the relationship between any non-empty compact metric space and the Cantor set?
Every non-empty compact metric space is a continuous image of the Cantor set.
Which theorem states that the product of arbitrarily many copies of the unit interval $[0, 1]$ (the Hilbert cube) is compact?
Tychonoff’s theorem.
What two conditions must a subset of continuous real-valued functions on a compact Hausdorff space satisfy to be relatively compact?
It must be equicontinuous.
It must be pointwise bounded.
Quiz
Compact space - Intuition and Basic Examples Quiz Question 1: Which theorem asserts that the closed unit interval [0, 1] is compact?
- Heine–Borel theorem (correct)
- Bolzano–Weierstrass theorem
- Arzelà–Ascoli theorem
- Tychonoff theorem
Compact space - Intuition and Basic Examples Quiz Question 2: Are n‑spheres compact for all n?
- Yes, every n‑sphere is compact (correct)
- No, only 1‑spheres are compact
- Only even‑dimensional spheres are compact
- Spheres are never compact
Compact space - Intuition and Basic Examples Quiz Question 3: In which setting is the closed unit ball compact?
- In any finite‑dimensional normed vector space (correct)
- In any normed vector space, regardless of dimension
- Only in infinite‑dimensional spaces
- The closed unit ball is never compact
Compact space - Intuition and Basic Examples Quiz Question 4: Which theorem guarantees that the Hilbert cube (product of copies of [0, 1]) is compact?
- Tychonoff’s theorem (correct)
- Heine–Borel theorem
- Arzelà–Ascoli theorem
- Banach–Alaoglu theorem
Compact space - Intuition and Basic Examples Quiz Question 5: Which theorem states that in ℝⁿ a subset is compact if and only if it is closed and bounded?
- Heine–Borel theorem (correct)
- Bolzano–Weierstrass theorem
- Tychonoff theorem
- Alexander subbase theorem
Compact space - Intuition and Basic Examples Quiz Question 6: True or false: Every finite topological space is compact.
- True (correct)
- False
- Only if the space is Hausdorff
- Only if the space is discrete
Compact space - Intuition and Basic Examples Quiz Question 7: Which open cover demonstrates that an infinite discrete space is not compact?
- The cover by singletons { {x} : x ∈ X } (correct)
- The cover by the whole space X
- The cover by cofinite sets
- The cover by two complementary infinite subsets
Compact space - Intuition and Basic Examples Quiz Question 8: According to the Arzelà–Ascoli theorem, a family of continuous functions on a compact Hausdorff space is relatively compact precisely when it is
- Equicontinuous and pointwise bounded (correct)
- Uniformly continuous and uniformly bounded
- Lipschitz and uniformly bounded
- Differentiable and integrable
Which theorem asserts that the closed unit interval [0, 1] is compact?
1 of 8
Key Concepts
Compactness Concepts
Compactness
Heine–Borel theorem
Tychonoff’s theorem
Cofinite topology
Examples of Compact Spaces
Cantor set
Hilbert cube
Extended real line
n‑sphere
Closed unit ball (finite‑dimensional)
Compactness in Function Spaces
Arzelà–Ascoli theorem
Definitions
Compactness
A topological property where every open cover has a finite subcover, generalizing closed and bounded subsets of Euclidean space.
Heine–Borel theorem
In Euclidean space, a subset is compact if and only if it is closed and bounded.
Tychonoff’s theorem
The product of any collection of compact topological spaces is compact.
Arzelà–Ascoli theorem
Characterizes relatively compact subsets of continuous function spaces as those that are equicontinuous and pointwise bounded.
Cantor set
A perfect, totally disconnected, compact subset of the real line constructed by repeatedly removing middle thirds.
Hilbert cube
The countable product of closed intervals [0, 1], which is compact by Tychonoff’s theorem.
Cofinite topology
A topology on a set where the open sets are those whose complements are finite; every such space is compact.
Extended real line
The real line together with points +∞ and −∞, forming a compact space homeomorphic to [−1, 1].
n‑sphere
The set of points in ℝⁿ⁺¹ at a fixed distance from a center, which is a compact manifold.
Closed unit ball (finite‑dimensional)
The set of points in a finite‑dimensional normed vector space with norm ≤ 1; it is compact, unlike in infinite dimensions.