146 CHAPTER 7. METRIC SPACES AND TOPOLOGICAL SPACES

Consequently {pnk} is a Cauchy sequence. Hence it converges because the metric space iscomplete. This proves 7.6.5.

Now suppose 7.6.5 and 7.6.6 which have now been shown to be equivalent. Let Dn bea n−1 net for n = 1,2, · · · and let

D = ∪∞n=1Dn.

Thus D is a countable dense subset of (X ,d).Now let C be any set of open sets such that ∪C ⊇ X . By Lemma 7.6.4, there exists a

countable subset of C ,C̃ = {Un}∞

n=1

such that ∪C̃ = ∪C . If C admits no finite subcover, then neither does C̃ and there existspn ∈ X \∪n

k=1Uk. Then since X is sequentially compact, there is a subsequence {pnk} suchthat {pnk} converges. Say

p = limk→∞

pnk .

All but finitely many points of {pnk} are in X \∪nk=1Uk. Therefore p ∈ X \∪n

k=1Uk for eachn. Hence

p /∈ ∪∞k=1Uk

contradicting the construction of {Un}∞n=1 which required that ∪∞

n=1Un ⊇ X . Hence X iscompact. This proves the proposition.

Consider Rn. In this setting totally bounded and bounded are the same. This will yielda proof of the Heine Borel theorem from advanced calculus.

Lemma 7.6.6 A subset of Rn is totally bounded if and only if it is bounded.

Proof: Let A be totally bounded. Is it bounded? Let x1, · · · ,xp be a 1 net for A. Nowconsider the ball B(0,r+1) where r > max(|xi| : i = 1, · · · , p) . If z ∈ A, then z ∈ B(x j,1)for some j and so by the triangle inequality,

|z−0| ≤∣∣z−x j

∣∣+ ∣∣x j∣∣< 1+ r.

Thus A⊆ B(0,r+1) and so A is bounded.Now suppose A is bounded and suppose A is not totally bounded. Then there exists

ε > 0 such that there is no ε net for A. Therefore, there exists a sequence of points {ai}with

∣∣ai−a j∣∣≥ ε if i ̸= j. Since A is bounded, there exists r > 0 such that

A⊆ [−r,r)n.

(x ∈[−r,r)n means xi ∈ [−r,r) for each i.) Now define S to be all cubes of the form

n

∏k=1

[ak,bk)

whereak =−r+ i2−pr, bk =−r+(i+1)2−pr,

146 CHAPTER 7. METRIC SPACES AND TOPOLOGICAL SPACESConsequently {p,, } is a Cauchy sequence. Hence it converges because the metric space iscomplete. This proves 7.6.5.Now suppose 7.6.5 and 7.6.6 which have now been shown to be equivalent. Let D,, bean! net forn = 1,2,--- and letD=U;_1Dn.-Thus D is a countable dense subset of (X,d).Now let @ be any set of open sets such that UW D X. By Lemma 7.6.4, there exists acountable subset of @,C= {Un frasuch that UC = U®@. If @ admits no finite subcover, then neither does & and there existsPn © X \Ug_, Ux. Then since X is sequentially compact, there is a subsequence {pp, } suchthat { pn, } converges. Say= li .P ovenAll but finitely many points of {p,, } are in X \ U?_,U,. Therefore p € X \U_, Ux for eachn. HencePE Up Uxcontradicting the construction of {U,}°_, which required that U?_,U, > X. Hence X iscompact. This proves the proposition.Consider R”. In this setting totally bounded and bounded are the same. This will yielda proof of the Heine Borel theorem from advanced calculus.Lemma 7.6.6 A subset of R" is totally bounded if and only if it is bounded.Proof: Let A be totally bounded. Is it bounded? Let x;,--- ,x, be a 1 net for A. Nowconsider the ball B(0,r+ 1) where r > max (|x;|: i= 1,---,p).Ifz¢ A, then z € B(x;, 1)for some j and so by the triangle inequality,|z—O| < |z—x;| + |x;| <l4+rThus A C B(0,r+ 1) and so A is bounded.Now suppose A is bounded and suppose A is not totally bounded. Then there exists€ > 0 such that there is no € net for A. Therefore, there exists a sequence of points {a;}with |ai —a il > eifi¥ j. Since A is bounded, there exists r > 0 such thatAC [-nr)".(x €[—r,r)" means x; € [—r,r) for each 7.) Now define .¥ to be all cubes of the formn[ [lax 2x)k=1wherea = —r+i2-Pr, by = —rt+(i+1)2 7,