86 CHAPTER 3. METRIC SPACES

Proof: That d just defined is a metric is obvious from the fact that the original metric dsatisfies the triangle inequality. It is also clear that d ([x] , [y]) ≥ 0 and that if [x] = [y] ifand only if d ([x] , [y]) = 0.

It remains to show that(X̂ ,d

)is complete. Let {[x]n}nbe a Cauchy sequence. From

Theorem 3.2.2 it suffices to show the convergence of a subsequence. There is a subse-quence, denoted as {[xn]} where xn is a representative of [x]n such that d

([xn] ,

[xn+1

])<

4−n. Thus there is an increasing sequence {kn} such that d(xn

k ,xn+1l

)< 2−n if k, l ≥ kn

where kn is increasing in n. Let y ={

xnkn

}∞

n=1. For m≥ kn and the triangle inequality,

d (xnm,ym) = d

(xn

m,xmkm

)≤ d

(xn

m,xnkn

)+d(xn

kn,xm

km

)≤ 2−n +

m−1

∑j=n

d(

x jk j,x j+1

km

)< 2−n +

m−1

∑j=n

2− j < 2−n +2−(n−1) < 2−(n−2)

Then y is a Cauchy sequence since it is a subsequence of one and also d ([xn] , [y])→ 0.To show that X is dense in X̂ , let [x] be given. Then for m large enough, d (xk,xm)< ε

whenever k ≥ m. It suffices to let y be the constant Cauchy sequence always equal to xm.■

3.14 Exercises1. Let d (x,y) = |x− y| for x,y ∈ R. Show that this is a metric on R.

2. Now consider Rn. Let ∥x∥∞≡max{|xi| , i = 1, · · · ,n} . Define d (x,y)≡ ∥x−y∥

∞.

Show that this is a metric on Rn. In the case of n = 2, describe the ball B(0,r). Hint:First show that ∥x+y∥ ≤ ∥x∥+∥y∥ .

3. Let C ([0,T ]) denote the space of functions which are continuous on [0,T ] . Define

∥ f∥ ≡ ∥ f∥∞≡ sup

t∈[0,T ]| f (t)|= max

t∈[0,T ]| f (t)|

Verify the following. ∥ f +g∥ ≤ ∥ f∥+∥g∥ . Then use to show that d ( f ,g)≡ ∥ f −g∥is a metric and that with this metric, (C ([0,T ]) ,d) is a metric space.

4. Recall that [a,b] is compact. Also, it is Lemma 3.5.9 above. Thus every open coverhas a finite subcover of the set. Also recall that a sequence of numbers {xn} is aCauchy sequence means that for every ε > 0 there exists N such that if m,n>N, then|xn− xm| < ε . First show that every Cauchy sequence is bounded. Next, using thecompactness of closed intervals, show that every Cauchy sequence has a convergentsubsequence. By Theorem 3.2.2, the original Cauchy sequence converges. ThusR with the usual metric just described is complete because every Cauchy sequenceconverges.

5. Using the result of the above problem, show that (Rn,∥·∥∞) is a complete metric

space. That is, every Cauchy sequence converges. Here d (x,y)≡ ∥x−y∥∞

.

6. Suppose you had (Xi,di) is a metric space. Now consider the product space X ≡∏

ni=1 Xi with d (x,y) = max{d (xi,yi) , i = 1 · · · ,n} . Would this be a metric space?

If so, prove that this is the case.

86 CHAPTER 3. METRIC SPACESProof: That d just defined is a metric is obvious from the fact that the original metric dsatisfies the triangle inequality. It is also clear that d ([a],[y]) > 0 and that if [a] = [y] ifand only if d ({a] , [y]) =0.It remains to show that (xX ,d) is complete. Let {[a],,},,be a Cauchy sequence. FromTheorem 3.2.2 it suffices to show the convergence of a subsequence. There is a subse-quence, denoted as {[x”]} where x” is a representative of [a],, such that d ([a”] , [x”*']) <4-", Thus there is an increasing sequence {k,} such that d (x¥,x7*!) < 27" if k,l > knwhere k,, is increasing inn. Let y = {x \ r For m > k, and the triangle inequality,n n=m—1 ; ;d (Xn»¥m) = d (x7. ) < d (x 5X4, ) +d (xp, x2.) < a" + XY d (xi,./5")j=nm—1< 2y y 2-4 <2 4 2-@-) < 27 (n-2)janThen y is a Cauchy sequence since it is a subsequence of one and also d ([x”] , [y]) > 0.To show that X is dense in X, let [a] be given. Then for m large enough, d (xx,xm) < €whenever k > m. It suffices to let y be the constant Cauchy sequence always equal to x».a3.14 Exercises1. Let d(x,y) = |x—y| for x,y € R. Show that this is a metric on R.2. Now consider R”. Let ||x||,, = max {|x;|,i=1,--- ,n}. Define d(a, y) = ||x—y]|...Show that this is a metric on R”. In the case of n = 2, describe the ball B(0,r). Hint:First show that ||a + y|| < ||| + ||y]|.3. Let C([0,7]) denote the space of functions which are continuous on [0,7]. Definefll =lIFll.o= sup |f(4)| = max Ifo)t¢(0,7] te[0,7Verify the following. || f +4] < ||f||+||g||. Then use to show that d(f,g) = || f —g||is a metric and that with this metric, (C((0,7]),d) is a metric space.4. Recall that [a,b] is compact. Also, it is Lemma 3.5.9 above. Thus every open coverhas a finite subcover of the set. Also recall that a sequence of numbers {x,} is aCauchy sequence means that for every € > 0 there exists N such that if m,n > N, then\Xn —Xm| < €. First show that every Cauchy sequence is bounded. Next, using thecompactness of closed intervals, show that every Cauchy sequence has a convergentsubsequence. By Theorem 3.2.2, the original Cauchy sequence converges. ThusR with the usual metric just described is complete because every Cauchy sequenceconverges.5. Using the result of the above problem, show that (R”,||-||,,) is a complete metricspace. That is, every Cauchy sequence converges. Here d(x, y) = ||x — yl...6. Suppose you had (X;,d;) is a metric space. Now consider the product space X =TUL) X; with d(a,y) = max {d (xj, y;),i=1--- ,n}. Would this be a metric space?If so, prove that this is the case.