Math 2.0

General topology Proof

Proof that compactness and sequential compactness agree in metric spaces

Builds on Metric spaceCompact setSequential compactnessCompactness via open coversOpen sets of a metric spaceOpen ballOpen balls are openConvergence of a sequence in a metric spaceSubsequenceTriangle inequality for a metric

Proof

We prove each implication. The second one goes through a finite net of balls and a Lebesgue number, both proved here for sequentially compact sets.

  1. Let (X,d)(X, d) be a metric space and let K⊆XK \subseteq X. Write B(x,r)B(x, r) for the open ball. Open balls are open.
  2. Assume KK is compact. Let (xn)(x_n) be a sequence in KK. Suppose, for a contradiction, that no subsequence converges to a point of KK.
  3. Claim: each y∈Ky \in K has a radius ry>0r_y > 0 such that the set Iy={n:xn∈B(y,ry)}I_y = \set{n : x_n \in B(y, r_y)} is finite.
  4. Proof of the claim: otherwise, for each r>0r > 0 there are infinitely many nn with xn∈B(y,r)x_n \in B(y, r). Then choose n1n_1 with xn1∈B(y,1)x_{n_1} \in B(y, 1).
  5. Given nkn_k, choose nk+1>nkn_{k+1} > n_k with xnk+1∈B(y,1/(k+1))x_{n_{k+1}} \in B(y, 1/(k+1)). This is possible, since infinitely many indices qualify.
  6. Then d(xnk,y)<1/kd(x_{n_k}, y) < 1/k for all kk, so xnk→y∈Kx_{n_k} \to y \in K. This contradicts step 2 and proves the claim.
  7. The open balls B(y,ry)B(y, r_y) with y∈Ky \in K cover KK. By compactness via open covers, there are y1,…,ym∈Ky_1, \ldots, y_m \in K with K⊆B(y1,ry1)∪⋯∪B(ym,rym)K \subseteq B(y_1, r_{y_1}) \cup \cdots \cup B(y_m, r_{y_m}).
  8. Each xnx_n lies in KK, so in one of these balls. Hence every index nn lies in the finite set Iy1∪⋯∪IymI_{y_1} \cup \cdots \cup I_{y_m}.
  9. But there are infinitely many indices nn. This contradiction shows that KK is sequentially compact.
  10. Now assume KK is sequentially compact. If K=∅K = \emptyset, then KK is compact, since the empty subfamily covers it. So assume K≠∅K \ne \emptyset.
  11. Claim A: for each ε>0\varepsilon > 0 there are finitely many points a1,…,ap∈Ka_1, \ldots, a_p \in K with K⊆B(a1,ε)∪⋯∪B(ap,ε)K \subseteq B(a_1, \varepsilon) \cup \cdots \cup B(a_p, \varepsilon).
  12. Proof of Claim A: suppose it fails for some ε\varepsilon. Pick a1∈Ka_1 \in K. Given a1,…,apa_1, \ldots, a_p, their balls do not cover KK, so pick ap+1∈Ka_{p+1} \in K outside all of them.
  13. Then d(ap,aq)≥εd(a_p, a_q) \ge \varepsilon for all p≠qp \ne q. By sequential compactness, some subsequence (apk)(a_{p_k}) converges to a point a∈Ka \in K.
  14. For large kk, d(apk,a)<ε/2d(a_{p_k}, a) < \varepsilon / 2. For two such distinct indices k<lk < l, the triangle inequality gives d(apk,apl)<εd(a_{p_k}, a_{p_l}) < \varepsilon. This contradicts step 13.
  15. Claim B: let (Ui)i∈I(U_i)_{i \in I} be open sets of XX that cover KK. Then there is δ>0\delta > 0 such that for each x∈Kx \in K, the ball B(x,δ)B(x, \delta) lies in some UiU_i.
  16. Proof of Claim B: suppose not. Then for each n≥1n \ge 1 there is xn∈Kx_n \in K such that B(xn,1/n)B(x_n, 1/n) lies in no UiU_i.
  17. By sequential compactness, a subsequence (xnk)(x_{n_k}) converges to some a∈Ka \in K. Then a∈Uja \in U_j for some jj.
  18. By the description of open sets of a metric space, there is r>0r > 0 with B(a,r)⊆UjB(a, r) \subseteq U_j.
  19. Choose kk with d(xnk,a)<r/2d(x_{n_k}, a) < r / 2 and 1/nk<r/21/n_k < r / 2. This is possible, since nk≥kn_k \ge k for the strictly increasing indices nk≥1n_k \ge 1.
  20. Let z∈B(xnk,1/nk)z \in B(x_{n_k}, 1/n_k). Then d(z,a)≤d(z,xnk)+d(xnk,a)<r/2+r/2=rd(z, a) \le d(z, x_{n_k}) + d(x_{n_k}, a) < r / 2 + r / 2 = r. So B(xnk,1/nk)⊆B(a,r)⊆UjB(x_{n_k}, 1/n_k) \subseteq B(a, r) \subseteq U_j.
  21. This contradicts the choice of xnkx_{n_k} in step 16, and proves Claim B.
  22. Now let (Ui)i∈I(U_i)_{i \in I} be open sets of XX that cover KK. Take δ\delta from Claim B, and apply Claim A with ε=δ\varepsilon = \delta to get a1,…,ap∈Ka_1, \ldots, a_p \in K.
  23. For each jj, Claim B gives an index iji_j with B(aj,δ)⊆UijB(a_j, \delta) \subseteq U_{i_j}.
  24. Then K⊆B(a1,δ)∪⋯∪B(ap,δ)⊆Ui1∪⋯∪UipK \subseteq B(a_1, \delta) \cup \cdots \cup B(a_p, \delta) \subseteq U_{i_1} \cup \cdots \cup U_{i_p}.
  25. So each cover of KK by open sets of XX has a finite subcover. By compactness via open covers, KK is compact.

Idea

Suppose a sequence in a compact set had no convergent subsequence. Then each point has a ball that holds only finitely many terms, and finitely many such balls cover KK, which is absurd. Conversely, sequential compactness gives two uniform facts: KK is covered by finitely many ε\varepsilon-balls, and one radius δ\delta fits each small ball into a set of the cover. Together they give a finite subcover.

Reading path

To understand this page from the ground up, read these 42 pages in order. The foundations come first. The path takes the proofs Proof of the description of the open sets of a metric space, Proof that compactness of a subset can be tested with open sets of the ambient space, Proof that open balls are open.

  1. Element definition
  2. Proposition concept
  3. Real numbers object
  4. Sequence definition
  5. Set definition
  6. Conjunction definition
  7. Disjunction definition
  8. Implication definition
  9. Predicate definition
  10. Subsequence definition
  11. Empty set object
  12. Family of sets definition
  13. Ordered pair definition
  14. Intersection definition
  15. Union definition
  16. Existential quantifier definition
  17. Universal quantifier definition
  18. Cartesian product definition
  19. Subset definition
  20. Union of a family of sets definition
  21. Uniqueness quantifier definition
  22. Binary relation definition
  23. Topological space definition
  24. Sequential compactness definition
  25. Function definition
  26. Subspace topology definition
  27. Metric space definition
  28. Convergence of a sequence in a metric space definition
  29. Open ball definition
  30. Triangle inequality for a metric statement
  31. Metric topology definition
  32. Open set definition
  33. Proof of the description of the open sets of a metric space proof
  34. Open cover definition
  35. Open sets of a metric space statement
  36. Compact space definition
  37. Proof that open balls are open proof
  38. Compact set definition
  39. Open balls are open statement
  40. Proof that compactness of a subset can be tested with open sets of the ambient space proof
  41. Compactness via open covers statement
  42. Proof that compactness and sequential compactness agree in metric spaces proof

Where this leads

705 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Sequentially_Compact_Metric_Space_is_Compact, Proof 2
  2. Web https://en.wikipedia.org/wiki/Sequentially_compact_space, Examples and properties
About this page
TagARGNNXKHMN
URIm2://ARGNNXKHMN
Kindproof
WritingW0 stub
MSC54E45
ProvesCompactness and sequential compactness agree in metric spaces
UsesMetric space, Compact set, Sequential compactness, Compactness via open covers, Open sets of a metric space, Open ball, Open balls are open, Convergence of a sequence in a metric space, Subsequence, Triangle inequality for a metric
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.