Recommended resources
The freely available resources this lesson will direct you to.
Hello! Last lesson used sequences to test whether a function preserves limits. This final lesson in the metric-spaces module uses them to test a property of sets. The central result says that, in a metric space, two apparently different demands—controlling every open cover and controlling every sequence—are equivalent.
You will use that equivalence to recognize compact subsets of familiar spaces and to see why a useful test in Euclidean space does not work everywhere.
Two ways to describe compactness
Let be a subset of a metric space , equipped with the metric inherited from .
An open cover of is a family of sets open in whose union is . The set is compact if every open cover has a finite subfamily that still covers . In sequential compactness, the starting point is instead a sequence:
is sequentially compact if every sequence in has a subsequence converging to a point in .
The location of the limit matters. For example, is a sequence in , but its limit is outside ; no subsequence repairs that problem.

For arbitrary metric spaces, the theorem is
Some texts use “compact” for the sequential condition and call the open-cover condition the Heine–Borel property. We will distinguish the definitions, then use the theorem to move between them.
Why finite subcovers force convergent subsequences
The less obvious part of the forward direction is how an arbitrary sequence could be detected by open sets. The useful objects are its tails: the terms from index onward. If every tail comes arbitrarily close to the same point , we can choose terms farther and farther along the sequence that converge to .
In Euclidean Space and Metric Spaces, read the first direction of Theorem 8.2.16. Its proof works by contraposition: from a sequence with no subsequence converging in , it builds an open cover with no finite subcover.
Euclidean Space and Metric Spaces
Theorem 8.2.16 gives a compact proof of the connection between sequences and open covers. The text calls the sequential condition “compactness,” so keep its terminology distinct from ours while reading.
In Chapter 8, Section 8.2, “Topology of Metric Spaces,” find Theorem 8.2.16 on pp. 133–134. Read its first proof direction, beginning “We shall argue by contraposition. Let a sequence” and ending with the statement that the constructed cover has no finite subcover. Follow the tail-set construction. You can stop before the direction that starts by assuming a countable open cover.
Here is a direct version that does not require the sequence terms to be distinct. Take any sequence in a compact , and let be the closure in of its -th tail:
Each is nonempty and closed in , and the sets are nested:
They must have a common point. If their intersection were empty, the open sets would cover . Compactness would supply finitely many of them that cover . Taking the largest of their indices, say , would mean , contradicting .
Choose in every . Being in the closure of each tail means that, however far along the sequence we go, some remaining term lies within any prescribed distance of . Inductively choose increasing indices with
Then , and . Thus compactness gives sequential compactness. Notice what the finite-subcover condition accomplished: it prevented all the tails from avoiding a common point.
Why convergent subsequences yield finite subcovers
Now suppose is sequentially compact and is an open cover of . Finding a finite subcover requires two ingredients:
- One radius works throughout the cover. There is an such that, for every , the ball lies inside some member of . The member may depend on . This is the Lebesgue number lemma in the form we need.
- Only finitely many balls of that radius are needed. For every , finitely many radius- balls centered in cover . This property is called total boundedness.
Watch the indicated portions of Dr. Bevin Maultsby’s Compact iff Sequentially Compact full proof, Real Analysis II. The first substantial segment proves the common-radius claim; the next uses total boundedness to finish. You can skip the video’s earlier proof of the other direction, which the reading and argument above have covered.
Compact iff Sequentially Compact full proof, Real Analysis II
Dr. Bevin Maultsby’s video visualizes the two ingredients that turn sequential compactness into a finite subcover. Watch for why a radius valid at each point separately is not yet enough.
Watch the definitions, then skip to the common radius and the finite selection. Interpret balls and open sets relative to K. A ball needs to lie in some cover member, not a unique one; repeated choices of the same member cause no difficulty.
It is worth tracing where sequences enter both ingredients. If were not totally bounded, some radius would defeat every finite collection of -balls. We could then choose in so that each new point lies outside the balls around all earlier points. Distinct terms would remain at least apart. No subsequence could be Cauchy, hence none could converge—a contradiction.
For the common radius, suppose no worked. For each , choose whose radius- ball is not contained in any member of the cover. Sequential compactness gives a subsequence . Some contains , and because is open in , a ball lies inside . For sufficiently large ,
The triangle inequality puts every point of inside , hence inside . This contradicts our choice of .
Finally, use total boundedness to cover by finitely many balls of this common radius . Choose one member of containing each ball. Those finitely many cover members cover , proving compactness. The common radius connects the given cover to the finite collection of balls; without it, total boundedness alone would not finish the argument.
Applying the equivalence
For subsets of with the usual Euclidean metric, the familiar Heine–Borel theorem provides a particularly efficient test:
Read Theorem 8.2.18 in Euclidean Space and Metric Spaces for the sequential reason behind the harder direction. A bounded sequence has bounded coordinate sequences; successively taking subsequences gives convergence in every coordinate. Closedness then keeps the resulting limit in .
Euclidean Space and Metric Spaces
This theorem turns the abstract sequential test into the closed-and-bounded test for Euclidean subsets. Focus on what finite-dimensional coordinates contribute to the proof.
In Chapter 8, Section 8.2, “Topology of Metric Spaces,” find Theorem 8.2.18 on pp. 134–135. Read its statement and proof, from the choice of a sequence in K through the coordinate-by-coordinate subsequence argument; stop before Remark 8.2.19. After the proof’s opening line, follow the coordinate argument. Ask where boundedness supplies a limit candidate and where closedness ensures that candidate belongs to K.
The equivalence gives quick diagnoses, but it helps to retain a witness when compactness fails:
- A closed interval is compact. Every sequence in it is bounded, so it has a convergent subsequence in ; closedness keeps the limit in .
- The interval is not compact. Its sequence , for , approaches , and no subsequence can converge to a point of .
- The set is not compact. The sequence has no convergent subsequence.
Do not transfer “closed and bounded” to a different metric space without checking. Give the discrete metric, where distinct points have distance . The whole space is closed in itself and bounded, yet the sequence has no convergent subsequence: in the discrete metric, a convergent sequence must eventually equal its limit. Equivalently, the cover by all singleton sets has no finite subcover.
The same warning arises even with an ordinary-looking distance. In with the uniform metric from the previous lesson, consider its closed unit ball
It is closed and bounded, but not compact. The functions lie in . Every subsequence with increasing indices tends pointwise to for and to at . That pointwise limit is discontinuous, so no such subsequence can converge uniformly to a member of . The Euclidean theorem depends on finite-dimensional structure, not merely on having a metric.
A reliable habit is therefore to state the ambient space and metric before selecting a compactness test. In Euclidean space, closed and bounded is decisive. In a general metric space, use either the open-cover definition or the equivalent demand that every sequence have a subsequence converging inside the set.
Takeaways
Compactness turns every open cover into a finite one; sequential compactness turns every sequence into a subsequence converging within the set. These conditions are equivalent for metric spaces. In , both reduce to closedness and boundedness, but infinite discrete spaces and spaces of functions show why that shortcut is not universal.
This completes the metric-spaces module. Next, the open sets we have been using will become the starting collection for Borel sigma-algebras, linking metric topology to measurability.