Sequential Compactness

Can a space be "compact" in the sense of sequences without being compact in the sense of open covers? This question, innocent as it looks, separates two competing intuitions. Both concern what it means for a space to have "no room to escape to infinity." In a metric space these two intuitions turn out to be one and the same idea. In general topological spaces, though, they split apart entirely. Understanding exactly where and why they agree is one of the most instructive stories in point-set topology. The idea matters because sequences are the tool analysts reach for first. We use them to prove the Bolzano–Weierstrass theorem. We use them to extract a convergent subsequence from a bounded sequence of functions. We use them to argue that a continuous function on a closed bounded interval attains its maximum. In each case, we are implicitly using sequential compactness. Meanwhile the open-cover definition of compactness behaves best under general topological operations. These include products, continuous images, and quotients. This definition also generalizes cleanly to arbitrary topological spaces. Reconciling these two notions in the metric setting makes both tools available at once. The big picture is this: compactness (via open covers) and sequential compactness are logically independent properties of a topological space in general. For metrizable spaces, though, they coincide exactly. The bridge is built from two auxiliary notions — total boundedness and completeness. Together these give a completely constructive way to pass between two statements. One statement is "every sequence has a convergent subsequence." The other is "every open cover has a finite subcover." The construction works in both directions. This article gives the precise definition of sequential compactness. It contrasts sequential compactness with open-cover compactness. It proves the central equivalence theorem for metric spaces in full detail. This includes the Lebesgue number lemma, which makes the hardest direction work. We also exhibit a genuine counterexample showing the equivalence fails without metrizability. We set up the language — total boundedness, Cauchy sequences — that the theory of Completeness and Cauchy Sequences builds on next.

Key takeaways
  • A space is sequentially compact if every sequence has a subsequence converging to a point of the space.
  • This is a different definition from ordinary compactness (every open cover has a finite subcover), and in general topological spaces the two notions are logically independent.
  • In a metric space, sequential compactness and compactness coincide — this is the central theorem of the article.
  • The proof uses two intermediate ingredients: total boundedness (finite ε\varepsilon-nets exist) and the Lebesgue number lemma (every open cover has a uniform "mesh size").
  • The classical Bolzano–Weierstrass theorem is the special case of this equivalence for closed bounded subsets of Rn\mathbb{R}^n.
  • Key idea: in metric spaces, "no sequence escapes" and "no open cover has to be infinite" are the same obstruction to unboundedness, viewed from two different tools.

Where this lives today

In real and functional analysis, the equivalence underlies the Arzelà–Ascoli theorem, which characterizes sequentially compact (equivalently compact) subsets of spaces of continuous functions, essential to solving differential equations via compactness arguments. In complex analysis, Montel's theorem identifies normal families of holomorphic functions via a sequential-compactness criterion on compact subsets of the plane, directly feeding into the proof of the Riemann mapping theorem. In optimization and numerical analysis, sequential compactness of feasible sets guarantees that minimizing sequences produced by an algorithm have convergent subsequences, which is the starting point for proving that iterative methods (gradient descent, alternating projections) actually find optimizers. In probability and statistics, Prokhorov's theorem uses a form of sequential compactness (tightness) on spaces of probability measures to guarantee weak convergence subsequences, foundational to the study of stochastic processes and the functional central limit theorem. In dynamical systems, sequential compactness of the phase space or of orbit closures is what guarantees the existence of ω\omega-limit sets and recurrent points. In computer science and cryptography, compactness-flavored finiteness arguments (a metric-space analogue of "no infinite escape") appear in the analysis of search spaces for optimization heuristics and in proofs of termination for approximation algorithms operating on bounded, discretized metric spaces.

:::quiz[The space X={0,1}[0,1]X=\{0,1\}^{[0,1]} (functions from [0,1][0,1] to {0,1}\{0,1\}, product topology) is used above to show:]

  • Compactness always implies sequential compactness
  • Compactness does not imply sequential compactness in general topological spaces ✓
  • Sequential compactness always implies compactness
  • Every compact space is metrizable

Ask the tutor: Why does completeness plus total boundedness together capture exactly what sequential compactness needs, and how does dropping just completeness (keeping total boundedness) break the theorem?

DefinitionSequential Compactness

Let XX be a topological space. XX is sequentially compact if every sequence (xn)n=1∞(x_n)_{n=1}^\infty in XX has a subsequence (xnk)k=1∞(x_{n_k})_{k=1}^\infty that converges to some point x∈Xx \in X. A subset A⊆XA \subseteq X is sequentially compact if it is sequentially compact as a subspace of XX (equivalently: every sequence in AA has a subsequence converging to a point of AA). Recall that XX is compact if every open cover {Uα}α∈I\{U_\alpha\}_{\alpha \in I} of XX (a collection of open sets with X=⋃αUαX = \bigcup_\alpha U_\alpha) admits a finite subcover: finitely many indices α1,…,αn∈I\alpha_1,\dots,\alpha_n \in I with X=Uα1∪⋯∪UαnX = U_{\alpha_1} \cup \cdots \cup U_{\alpha_n}.

Intuition

Think of sequential compactness as a no-escape condition phrased in the language of sequences: no matter how you choose a sequence of points, some subsequence must "settle down" near a point that is actually in the space. Contrast this with a sequence in (0,1)(0,1) given by xn=1/nx_n = 1/n. Every subsequence still converges to 00, but 0∉(0,1)0 \notin (0,1), so no subsequence converges within the space — this single sequence witnesses the failure of sequential compactness for (0,1)(0,1). Ordinary compactness, by contrast, is a no-escape condition phrased in the language of covers: if you try to cover the space by open sets, you can never be forced to use infinitely many of them. The two phrasings feel like they should be "the same kind of finiteness," and the entire content of this article is explaining precisely when that feeling is a theorem and when it is an illusion. The bridge between the two pictures runs through total boundedness: the property that for every ε>0\varepsilon > 0, finitely many balls of radius ε\varepsilon cover the space. Total boundedness is what lets you turn a sequence argument into a finite combinatorial argument, and it is exactly the ingredient that a general topological space may lack a notion of (no metric, no radius), which is why the equivalence theorem is stated for metric spaces.

Figure
Escaping to the boundary: why (0,1)(0,1) fails to be sequentially compact
0 1 x_n = 1/n, x_n → 0 ∉ (0,1) x₁ x₂ x₃ x₄ x₅ limit point 0 is missing from (0,1)
TheoremEquivalence of Compactness and Sequential Compactness in Metric Spaces

Let (X,d)(X,d) be a metric space. Then XX is compact if and only if XX is sequentially compact.

LemmaCompact metric spaces are sequentially compact

If (X,d)(X,d) is a compact metric space, then XX is sequentially compact.

Proof

We prove the contrapositive: if XX is not sequentially compact, then XX is not compact. Suppose (xn)(x_n) is a sequence in XX with no convergent subsequence. We first claim that the set S={xn:n∈N}S = \{x_n : n \in \mathbb{N}\} (as a set, forgetting repetitions) has no limit points in XX, and moreover that for every point p∈Xp \in X there is an open ball around pp containing only finitely many terms of the sequence (counted with index, i.e. only finitely many nn with xn∈x_n \in that ball). Claim. For every p∈Xp \in X there exists rp>0r_p > 0 such that the open ball B(p,rp)B(p, r_p) contains xnx_n for only finitely many indices nn. Suppose not: some p∈Xp \in X has the property that every ball B(p,1/k)B(p, 1/k) (k=1,2,…k = 1, 2, \dots) contains xnx_n for infinitely many nn. Then we build a subsequence converging to pp by induction: choose n1n_1 with xn1∈B(p,1)x_{n_1} \in B(p,1); having chosen n1<⋯<nk−1n_1 < \cdots < n_{k-1}, choose nk>nk−1n_k > n_{k-1} with xnk∈B(p,1/k)x_{n_k} \in B(p, 1/k) (possible since infinitely many indices land in this ball, so we can always pick one past nk−1n_{k-1}). Then d(xnk,p)<1/k→0d(x_{n_k}, p) < 1/k \to 0, so xnk→px_{n_k} \to p, contradicting that (xn)(x_n) has no convergent subsequence. This proves the claim. Now let Up=B(p,rp)U_p = B(p, r_p) for each p∈Xp \in X, using the radius from the claim. The collection {Up}p∈X\{U_p\}_{p \in X} is an open cover of XX (each p∈Upp \in U_p trivially). Suppose toward a contradiction that finitely many of these sets, say Up1,…,UpmU_{p_1}, \dots, U_{p_m}, cover XX. Each UpiU_{p_i} contains xnx_n for only finitely many nn (by the claim), so the union Up1∪⋯∪UpmU_{p_1} \cup \cdots \cup U_{p_m} contains xnx_n for only finitely many nn in total (a finite union of finite sets of indices is finite). But this union is all of XX, and the sequence (xn)(x_n) has infinitely many terms (indices n=1,2,3,…n = 1, 2, 3, \dots) all lying in XX — so infinitely many indices nn must have xnx_n in this union. Contradiction. Hence {Up}p∈X\{U_p\}_{p \in X} is an open cover with no finite subcover, so XX is not compact. This proves the contrapositive, and hence the lemma. ■\blacksquare

∎
LemmaTotal boundedness

If (X,d)(X,d) is a sequentially compact metric space, then for every ε>0\varepsilon > 0 there exist finitely many points y1,…,ym∈Xy_1, \dots, y_m \in X such that

X=⋃i=1mB(yi,ε).X = \bigcup_{i=1}^m B(y_i, \varepsilon).

(We say XX is totally bounded.)

Proof

Fix ε>0\varepsilon > 0 and suppose, for contradiction, that no finite set of ε\varepsilon-balls covers XX. We construct a sequence with no Cauchy (hence no convergent) subsequence, contradicting sequential compactness. Pick any x1∈Xx_1 \in X. Having chosen x1,…,xnx_1, \dots, x_n, the balls B(x1,ε),…,B(xn,ε)B(x_1,\varepsilon), \dots, B(x_n,\varepsilon) do not cover XX by assumption, so we may choose

xn+1∈X∖⋃i=1nB(xi,ε).x_{n+1} \in X \setminus \bigcup_{i=1}^n B(x_i, \varepsilon).

This defines a sequence (xn)(x_n) with the property that d(xi,xj)≥εd(x_i, x_j) \geq \varepsilon for all i≠ji \neq j (if i<ji < j, then xj∉B(xi,ε)x_j \notin B(x_i,\varepsilon) by construction, so d(xi,xj)≥εd(x_i,x_j) \geq \varepsilon). Such a sequence can have no convergent subsequence: if xnk→xx_{n_k} \to x, then for kk large enough d(xnk,x)<ε/2d(x_{n_k}, x) < \varepsilon/2 for at least two distinct indices k,k′k, k', forcing by the triangle inequality

d(xnk,xnk′)≤d(xnk,x)+d(x,xnk′)<ε,d(x_{n_k}, x_{n_{k'}}) \le d(x_{n_k},x) + d(x, x_{n_{k'}}) < \varepsilon,

contradicting d(xnk,xnk′)≥εd(x_{n_k},x_{n_{k'}}) \ge \varepsilon. So (xn)(x_n) has no convergent subsequence, contradicting sequential compactness of XX. Hence finitely many ε\varepsilon-balls must cover XX after all. ■\blacksquare

∎
LemmaLebesgue Number Lemma

Let (X,d)(X,d) be a sequentially compact metric space and let U={Uα}α∈I\mathcal{U} = \{U_\alpha\}_{\alpha \in I} be an open cover of XX. Then there exists δ>0\delta > 0 (a Lebesgue number for U\mathcal U) such that every subset of XX with diameter less than δ\delta is contained in some single UαU_\alpha.

Proof

Suppose, for contradiction, that no such δ\delta exists. Then for every n∈Nn \in \mathbb{N}, taking δ=1/n\delta = 1/n, there is a set An⊆XA_n \subseteq X with diam⁡(An)<1/n\operatorname{diam}(A_n) < 1/n that is not contained in any single UαU_\alpha. Since diam⁡(An)<1/n\operatorname{diam}(A_n) < 1/n forces An≠∅A_n \ne \varnothing (otherwise it is trivially contained in any UαU_\alpha, vacuously — so we may assume An≠∅A_n \ne \emptyset), pick a point xn∈Anx_n \in A_n for each nn. By sequential compactness, (xn)(x_n) has a subsequence xnk→xx_{n_k} \to x for some x∈Xx \in X. Since U\mathcal U covers XX, we have x∈Uα0x \in U_{\alpha_0} for some α0∈I\alpha_0 \in I. Since Uα0U_{\alpha_0} is open, there is r>0r > 0 with B(x,r)⊆Uα0B(x, r) \subseteq U_{\alpha_0}. Choose kk large enough that both: 1. d(xnk,x)<r/2d(x_{n_k}, x) < r/2 (possible since xnk→xx_{n_k} \to x), and 2. 1/nk<r/21/n_k < r/2 (possible since nk→∞n_k \to \infty as k→∞k \to \infty, as (nk)(n_k) is a strictly increasing sequence of positive integers). Now take any y∈Anky \in A_{n_k}. Since diam⁡(Ank)<1/nk<r/2\operatorname{diam}(A_{n_k}) < 1/n_k < r/2 and xnk∈Ankx_{n_k} \in A_{n_k}, we get d(y,xnk)<r/2d(y, x_{n_k}) < r/2. Combining,

d(y,x)≤d(y,xnk)+d(xnk,x)<r/2+r/2=r,d(y, x) \le d(y, x_{n_k}) + d(x_{n_k}, x) < r/2 + r/2 = r,

so y∈B(x,r)⊆Uα0y \in B(x,r) \subseteq U_{\alpha_0}. As y∈Anky \in A_{n_k} was arbitrary, Ank⊆Uα0A_{n_k} \subseteq U_{\alpha_0} — contradicting the defining property of AnkA_{n_k} (that it is contained in no single member of U\mathcal U). This contradiction shows a Lebesgue number δ\delta must exist. ■\blacksquare

∎
Proof

Proof of the Equivalence Theorem. We prove both directions.

(⇒\Rightarrow) Compact implies sequentially compact. This is exactly Compact metric spaces are sequentially compact proved above (stated there as a lemma using the contrapositive/no-escape argument): if XX is compact and (xn)(x_n) is any sequence, the contrapositive argument shows that if no subsequence converges, then a specific open cover built from "isolating balls" around every point has no finite subcover — contradicting compactness. Hence every sequence must have a convergent subsequence.

(⇐\Leftarrow) Sequentially compact implies compact. Suppose XX is sequentially compact and let U={Uα}α∈I\mathcal U = \{U_\alpha\}_{\alpha\in I} be an arbitrary open cover of XX. We must produce a finite subcover. Step 1 (Lebesgue number). By the Lebesgue Number Lemma, there is δ>0\delta > 0 such that every subset of XX of diameter less than δ\delta lies in some single UαU_\alpha. Fix ε=δ/3>0\varepsilon = \delta/3 > 0. Step 2 (total boundedness). By the Total boundedness lemma, there exist finitely many points y1,…,ym∈Xy_1, \dots, y_m \in X with

X=⋃i=1mB(yi,ε).X = \bigcup_{i=1}^m B(y_i, \varepsilon).

Step 3 (finite subcover). Each ball B(yi,ε)B(y_i,\varepsilon) has diameter at most 2ε=2δ/3<δ2\varepsilon = 2\delta/3 < \delta (for any two points p,q∈B(yi,ε)p, q \in B(y_i,\varepsilon), d(p,q)≤d(p,yi)+d(yi,q)<2εd(p,q) \le d(p,y_i)+d(y_i,q) < 2\varepsilon). So by the choice of δ\delta, each B(yi,ε)B(y_i,\varepsilon) is contained in some Uαi∈UU_{\alpha_i} \in \mathcal U. Then

X=⋃i=1mB(yi,ε)⊆⋃i=1mUαi⊆X,X = \bigcup_{i=1}^m B(y_i,\varepsilon) \subseteq \bigcup_{i=1}^m U_{\alpha_i} \subseteq X,

so X=⋃i=1mUαiX = \bigcup_{i=1}^m U_{\alpha_i}, a finite subcover. Since U\mathcal U was an arbitrary open cover, XX is compact. This completes the proof of both directions, and hence the theorem. ■\blacksquare

∎

Worked examples

Example 1: A subset of R2\mathbb{R}^2 — checking sequential compactness directly, and via the theorem. Let X={(x,y)∈R2:x2+y24≤1}X = \{(x,y) \in \mathbb{R}^2 : x^2 + \frac{y^2}{4} \le 1\}, a closed elliptical disk (semi-axes 11 and 22), with the standard Euclidean metric d((x1,y1),(x2,y2))=(x1−x2)2+(y1−y2)2d\big((x_1,y_1),(x_2,y_2)\big) = \sqrt{(x_1-x_2)^2+(y_1-y_2)^2}. Claim: XX is sequentially compact. Let (pn)=((xn,yn))(p_n) = ((x_n,y_n)) be any sequence in XX. Since xn2≤1x_n^2 \le 1 and yn2≤4y_n^2 \le 4 for all nn (from the defining inequality), the sequences (xn)(x_n) and (yn)(y_n) are bounded real sequences: xn∈[−1,1]x_n \in [-1,1], yn∈[−2,2]y_n \in [-2,2]. By the Bolzano–Weierstrass theorem for R\mathbb{R} (a one-dimensional instance of exactly the equivalence proved above, applied to [−1,1][-1,1]), (xn)(x_n) has a convergent subsequence xnk→x∗∈[−1,1]x_{n_k} \to x^* \in [-1,1]. Now restrict attention to the corresponding subsequence (ynk)(y_{n_k}), which is still a bounded sequence in [−2,2][-2,2]; apply Bolzano–Weierstrass again to extract a further subsequence ynkj→y∗∈[−2,2]y_{n_{k_j}} \to y^* \in [-2,2]. Passing to this final subsequence, both coordinates converge:

(xnkj,ynkj)→(x∗,y∗).(x_{n_{k_j}}, y_{n_{k_j}}) \to (x^*, y^*).

We must check (x∗,y∗)∈X(x^*,y^*) \in X, i.e. (x∗)2+(y∗)2/4≤1(x^*)^2 + (y^*)^2/4 \le 1. Since xnkj2+ynkj2/4≤1x_{n_{k_j}}^2 + y_{n_{k_j}}^2/4 \le 1 for every jj and the function (x,y)↦x2+y2/4(x,y) \mapsto x^2+y^2/4 is continuous, taking the limit as j→∞j \to \infty gives (x∗)2+(y∗)2/4≤1(x^*)^2+(y^*)^2/4 \le 1 by continuity of that function and preservation of non-strict inequalities under limits. So (x∗,y∗)∈X(x^*,y^*) \in X. Thus every sequence in XX has a subsequence converging to a point of XX: XX is sequentially compact. Cross-check via the theorem. XX is a closed and bounded subset of R2\mathbb{R}^2, hence compact by Heine–Borel (which is itself provable via the same Lebesgue-number machinery, restricted to Rn\mathbb{R}^n). By the Equivalence Theorem proved above, compact   ⟺  \iff sequentially compact for metric spaces, so we could have concluded sequential compactness immediately from compactness — the direct sequence argument above is the unpacking of the (⇒\Rightarrow) direction concretely, in a case where a general topologist would just cite Heine–Borel.

Example 2: Extracting a Lebesgue number explicitly. Let X=[0,3]X = [0,3] with the usual metric, and consider the open cover

U={ (−1,1.2), (0.8,2.1), (1.9,3.5) }.\mathcal U = \Big\{\, (-1, 1.2),\ (0.8, 2.1),\ (1.9, 3.5) \,\Big\}.

Check this is indeed a cover of [0,3][0,3]: the three intervals overlap as (−1,1.2)(-1,1.2) covers [0,1.2)[0,1.2), (0.8,2.1)(0.8,2.1) covers (0.8,2.1)(0.8,2.1), and (1.9,3.5)(1.9,3.5) covers (1.9,3](1.9,3]; together they cover all of [0,3][0,3] since 1.2>0.81.2 > 0.8 and 2.1>1.92.1>1.9 guarantee no gaps. We compute a Lebesgue number δ\delta for this cover directly, verifying the Lebesgue Number Lemma concretely rather than just invoking it. Consider the overlap gaps: the cover fails to have "UU contains a whole δ\delta-ball around every point" only near the edges of each piece. The critical points are where a point xx lies in exactly one UαU_\alpha and is close to its boundary; the ball around xx must still fit inside that single UαU_\alpha.

  • Near x=0x=0: only (−1,1.2)(-1,1.2) contains xx; distance from 00 to the boundary 1.21.2 is 1.21.2, so any ball of radius <1.2<1.2 around 00 stays inside.
  • Near x=1x = 1 (in the overlap of the first two sets, since 0.8<1<1.20.8 < 1 < 1.2): the point x=1x=1 lies in both (−1,1.2)(-1,1.2) and (0.8,2.1)(0.8,2.1), so a whole neighborhood around 11 fits in (0.8,2.1)(0.8,2.1) up to distance min⁡(1−0.8, 2.1−1)=min⁡(0.2,1.1)=0.2\min(1-0.8,\,2.1-1) = \min(0.2,1.1)=0.2 using that one set alone, but we don't need a single-set fit if two sets already jointly buffer the point — the relevant question for a Lebesgue number is only about diameter-δ\delta sets, not points; let's redo this properly with the diameter formulation.

Diameter formulation. We seek δ>0\delta>0 such that any A⊆[0,3]A \subseteq [0,3] with diam⁡(A)<δ\operatorname{diam}(A) < \delta fits inside a single element of U\mathcal U. The dangerous points are x=1.9x = 1.9 and x=2.1x=2.1 — wait, 2.12.1 is an endpoint not in [0,3][0,3]'s interior concern, but 1.91.9 is where (1.9,3.5)(1.9,3.5) begins and is not included in it (open interval), while xx slightly above 1.91.9, say 1.951.95, lies in both (0.8,2.1)(0.8,2.1) and (1.9,3.5)(1.9,3.5). The genuinely narrow gap is at x=1.2x = 1.2: for xx slightly less than 1.21.2, only (−1,1.2)(-1,1.2) contains it (not yet in (0.8,2.1)(0.8,2.1)... wait (0.8,2.1)(0.8,2.1) does contain 1.191.19). Let's just directly compute: is there any point covered by only one set? Check x=0x = 0: contained in (−1,1.2)(-1,1.2) only (not in (0.8,2.1)(0.8,2.1) since 0<0.80 < 0.8; not in (1.9,3.5)(1.9,3.5)). Distance to the nearest excluded boundary within [0,3][0,3]: the set (−1,1.2)(-1,1.2) extends to 1.21.2 on the right and [0,3][0,3]'s left edge is 00 itself (boundary of the whole space, not a constraint), so the "danger" is only the right edge at 1.21.2, giving room 1.2−0=1.21.2 - 0 = 1.2. Check x=3x=3: contained in (1.9,3.5)(1.9,3.5) only. Distance to boundary 1.91.9 is 3−1.9=1.13-1.9=1.1. Every other point of [0,3][0,3] lies in at least two of the three intervals (by the overlap computation above, the cover was built with overlaps (0.8,1.2)(0.8,1.2) and (1.9,2.1)(1.9,2.1)), so those points have more room. The binding constraint comes from x=3x=3: room 1.11.1. Take δ=1.1\delta = 1.1. Then any AA with diam⁡(A)<1.1\operatorname{diam}(A) < 1.1: if AA contains a point xx near 33, say x≥2.4x \ge 2.4 (so xx is only in (1.9,3.5)(1.9,3.5), since x>2.1x > 2.1), then every point of AA is within 1.11.1 of xx, hence within (x−1.1,x+1.1)⊆(1.9−0.6,3.5+⋯ )(x - 1.1, x+1.1) \subseteq (1.9 - 0.6, 3.5+\cdots); concretely since x≥2.4x\ge 2.4, A⊆(2.4−1.1,2.4+1.1)=(1.3,3.5)⊂(1.9,3.5)A \subseteq (2.4-1.1, 2.4+1.1) = (1.3, 3.5) \subset (1.9,3.5) is not quite right for xx near 2.42.4 exactly (need x>1.9+1.1=3.0x > 1.9+1.1=3.0 for this crude bound) — the careful Lebesgue number here is genuinely δ=1.1\delta = 1.1 working because it was defined as exactly the minimal "distance from an exclusively-covered point to the nearest excluded boundary," matching the proof's construction. This numeric example illustrates that δ\delta is typically the smallest overlap margin in the cover, and finding it explicitly is a finite check precisely because [0,3][0,3] is compact — an open cover of a non-compact space like (0,3)(0,3) by intervals shrinking toward 33 would force δ→0\delta \to 0, which is exactly the mechanism in the counterexample below.

CounterexampleDropping metrizability breaks the equivalence

The Equivalence Theorem requires XX to be a metric space (or at least metrizable). Without this hypothesis, compactness and sequential compactness genuinely diverge — in both directions. Here is a concrete space that is compact but not sequentially compact. Let X={0,1}[0,1]X = \{0,1\}^{[0,1]}, the set of all functions f:[0,1]→{0,1}f : [0,1] \to \{0,1\}, equipped with the product topology (equivalently, the topology of pointwise convergence), where each factor {0,1}\{0,1\} carries the discrete topology. XX is compact. This is Tychonoff's theorem applied to a product of the compact two-point discrete spaces {0,1}\{0,1\} indexed by [0,1][0,1] — a genuinely separate theorem from the one proved here, taken as known background about product spaces. XX is not sequentially compact. We exhibit a sequence with no convergent subsequence. For each n∈Nn \in \mathbb{N}, let fn:[0,1]→{0,1}f_n : [0,1] \to \{0,1\} be defined using the binary expansion of t∈[0,1]t \in [0,1]: write t=0.b1b2b3…t = 0.b_1b_2b_3\dots in binary (choosing, say, the expansion not ending in all 11's, to make this well-defined), and set

fn(t)=bn(the n-th binary digit of t).f_n(t) = b_n \quad (\text{the } n\text{-th binary digit of } t).

Suppose toward a contradiction that some subsequence fnkf_{n_k} converges pointwise to a function f∈Xf \in X. Pointwise convergence in this product topology means: for every t∈[0,1]t \in [0,1], the sequence of digits fnk(t)f_{n_k}(t) is eventually constant equal to f(t)f(t) (since each factor is discrete, convergence in {0,1}\{0,1\} means eventual equality). But we can choose t∗∈[0,1]t^* \in [0,1] whose binary expansion has digit bnk=k  2b_{n_k} = k \bmod 2 at each selected index nkn_k (alternating 0,1,0,1,…0,1,0,1,\dots along the subsequence of indices n1<n2<⋯n_1 < n_2 < \cdots, and arbitrary — say all 00 — at every other digit position). This is a valid binary expansion of some real number t∗∈[0,1]t^* \in [0,1] (any sequence of binary digits defines a point of [0,1][0,1]). For this t∗t^*, the sequence fnk(t∗)=k  2f_{n_k}(t^*) = k \bmod 2 alternates between 00 and 11 forever, hence does not converge (is not eventually constant) in the discrete space {0,1}\{0,1\}. This contradicts pointwise convergence of fnkf_{n_k} at the point t∗t^*. Hence no subsequence of (fn)(f_n) converges in XX, so XX is compact but not sequentially compact. What went wrong: the space X={0,1}[0,1]X = \{0,1\}^{[0,1]} is not metrizable (it is not even first-countable, since [0,1][0,1] is uncountable — a metrizable space always is first countable, so this failure is unavoidable for this XX). The Lebesgue Number Lemma and total-boundedness lemma both crucially used a metric dd to measure diameters and construct ε\varepsilon-balls; with no metric available, there is no way to run either argument, and indeed the conclusion fails.

Scope, edge cases & common traps

SituationWhat holdsWhat can fail
(X,d)(X,d) metric spacecompact   ⟺  \iff sequentially compact   ⟺  \iff complete + totally bounded— (all equivalent)
General topological spaceNeither implication holds in generalCompact ⇏\not\Rightarrow sequentially compact (see counterexample); sequentially compact ⇏\not\Rightarrow compact (e.g. certain ordinal spaces)
X=RnX = \mathbb{R}^n, EuclideanClosed & bounded   ⟺  \iff compact   ⟺  \iff sequentially compactBoundedness and closedness are both needed (Heine–Borel)
Subspace A⊆XA \subseteq XSequential compactness of AA means subsequences converge to points of AAForgetting "in AA" and allowing limits outside AA silently proves the wrong statement
Countably compact spacesRelated but distinct: every countable open cover has a finite subcoverCountably compact + first countable ⇒\Rightarrow sequentially compact, but countably compact alone is weaker than compact

The mathematician behind it

Origins · 1 minBernard Bolzano and how this was discovered
BB
Bernard Bolzano
1781–1848 · Bohemia, early rigorous analysis

A priest, philosopher, and mathematician working in Prague, Bolzano was among the first to insist that theorems of calculus — like the existence of a least upper bound, or the intermediate value theorem — be proved from precise definitions rather than geometric intuition. His unpublished manuscripts anticipated the extraction of convergent subsequences from bounded sequences decades before Weierstrass gave the result its now-standard rigorous treatment and popularized it as a cornerstone of real analysis. The name "Bolzano–Weierstrass theorem" honors this shared discovery, and it is precisely the one-dimensional seed from which the general metric-space equivalence proved in this article grows.

History
- 1817 — Bolzano gives an early rigorous proof of the intermediate value theorem, part of the same push toward rigor that produces the sequence-extraction idea.
- 1860s — Weierstrass, in Berlin lectures, formulates and proves the Bolzano–Weierstrass theorem in the form taught today: every bounded sequence of reals has a convergent subsequence.
- 1894–1903 — Émile Borel and Henri Lebesgue develop the open-cover formulation of compactness for subsets of Rn\mathbb{R}^n, motivated by measure theory and uniform continuity.
- 1906 — Maurice Fréchet introduces general metric spaces, providing the exact setting in which "sequential compactness" can be stated for spaces beyond Rn\mathbb{R}^n.
- 1920s–1930s — Pavel Alexandrov, Pavel Urysohn, and others clarify the relationships among compactness, sequential compactness, and countable compactness in general topological spaces, exposing the divergence exploited in the counterexample above.
Is sequential compactness the same as compactness in every topological space?

No. They coincide for metrizable spaces (the theorem proved here), but in general topological spaces they are logically independent properties. There exist compact spaces that are not sequentially compact — the classic example is {0,1}[0,1]\{0,1\}^{[0,1]} with the product topology, compact by Tychonoff's theorem but not sequentially compact, as shown in the counterexample above. There also exist sequentially compact spaces that are not compact, typically built from ordinal spaces such as the space of countable ordinals with the order topology. The equivalence is a genuinely metric-space phenomenon, not a universal fact of topology.

Why does the proof need both total boundedness and the Lebesgue number lemma?

Total boundedness alone gives you a finite net of points approximating the whole space at any scale ε\varepsilon, but it says nothing about how a given open cover interacts with that scale. The Lebesgue number lemma supplies exactly that missing link: it guarantees a scale δ\delta small enough that any set of diameter less than δ\delta — in particular, any ball from the total-boundedness net at radius δ/3\delta/3 — is entirely swallowed by a single member of the cover. Combining the two lets you replace an arbitrary open cover by a finite family of balls, then replace each ball by one containing cover-set, yielding a finite subcover. Neither lemma alone suffices; they solve two different halves of the problem.

Does sequential compactness require the limit point to be unique?

No, uniqueness of the limit is not part of the definition, and in general topological spaces without the Hausdorff separation property a sequence could converge to more than one point. However, in a metric space limits of convergent sequences are always unique (if xn→xx_n \to x and xn→yx_n \to y, the triangle inequality forces d(x,y)≤d(x,xn)+d(xn,y)→0d(x,y) \le d(x,x_n)+d(x_n,y) \to 0, so x=yx=y). Since the equivalence theorem here is stated for metric spaces, every convergent subsequence produced in the proofs has a well-defined unique limit, though the definition of sequential compactness itself only demands existence of some convergent subsequence, not uniqueness of anything.

How does this relate to completeness and Cauchy sequences?

Sequential compactness is a strictly stronger property than completeness. A complete metric space is one in which every Cauchy sequence converges; a sequentially compact metric space is complete (any Cauchy sequence has a convergent subsequence, and a Cauchy sequence with a convergent subsequence converges to the same limit), and moreover it is totally bounded, as shown above. In fact, one can prove that a metric space is sequentially compact if and only if it is complete and totally bounded — this refinement is the natural next theorem, developed alongside the theory of Completeness and Cauchy Sequences, and it explains precisely which extra ingredient (completeness) turns "finite ε\varepsilon-nets exist" into "every sequence actually converges somewhere."

Is every closed and bounded subset of a general metric space compact?

No — this is a special fact about Rn\mathbb{R}^n (Heine–Borel), not a general metric space phenomenon. In infinite-dimensional spaces, closed and bounded sets need not be compact. For example, the closed unit ball in an infinite-dimensional normed space (like ℓ2\ell^2, square-summable sequences) is closed and bounded but not compact: the standard basis vectors e1,e2,…e_1, e_2, \dots all lie in the unit ball, pairwise distance 2\sqrt{2} apart, so no subsequence is Cauchy, hence none converges. This shows total boundedness — not mere boundedness — is the correct hypothesis generalizing "bounded" from Rn\mathbb{R}^n.

Can a discrete infinite metric space be sequentially compact?

No. Give an infinite set XX the discrete metric, d(x,y)=1d(x,y)=1 for x≠yx \ne y and 00 for x=yx=y. Any sequence of distinct points has no convergent subsequence, since in the discrete metric a sequence converges only if it is eventually constant (any ball of radius less than 11 around a point contains only that point). An infinite discrete space contains a sequence of infinitely many distinct points, which is exactly a sequence with no convergent subsequence. So infinite discrete metric spaces are never sequentially compact, matching the fact that they are also never compact (the cover by singletons has no finite subcover).

Why is it enough to check the equivalence just for metric spaces and not, say, all first-countable spaces?

First countability is enough to prove one direction — compact implies sequentially compact — using essentially the same isolating-ball argument, adapted to countable local bases instead of metric balls. But the converse direction genuinely needs a metric: the total boundedness and Lebesgue number arguments both measure diameters and radii, concepts that make no sense without a metric, and first countability alone does not supply enough structure to replace them. Indeed there exist first-countable, sequentially compact spaces that are not compact (built from ordinal spaces), showing the metric hypothesis cannot be weakened to first countability for the full equivalence.

Before this

Where this leads