• No results found

CHAPTER II Metric Spaces

Corollary 2.59. If (S, d) is a compact metric space, then C(S) is separable as a metric space.

11. Completion

If(X,d)and(Y, ρ)are two metric spaces, anisometryofXintoY is a function ϕ: XY that preserves distances: ρ(ϕ(x1), ϕ(x2))=d(x1,x2)for allx1and

11. Completion 129 an isometry ofR2with itself. An isometry is necessarily continuous (withδ

=). However, an isometry need not have the whole range as image. For example, the mapx7→(x,0)ofR1intoR2is an isometry that is not ontoR2. In the case that there exists an isometry ofXontoY, we say thatXandY areisometric.

Theorem 2.60.If(X,d)is a metric space, then there exist a complete metric space(X, 1)and an isometryϕ : X Xsuch that the image ofX in Xis dense.

REMARK. It is observed in Problems 25–26 at the end of the chapter that

(X, 1)andϕ : X Xare essentially unique. The metric space(X, 1)is called acompletion of(X,d), or sometimes “the” completion because of the essential uniqueness. There is more than one construction ofX, and the proof below will use a construction by Cauchy sequences that is immediately suggested ifXis the set of rationals andXis the set of reals.

PROOF. Let Cauchy(X)be the set of all Cauchy sequences in X. Define a

relation∼on Cauchy(X)as follows: if{pn}and{qn}are in Cauchy(X), then

{pn} ∼ {qn}means limd(pn,qn)=0.

Let us prove that∼is an equivalence relation. It is reflexive, i.e., has{pn} ∼

{pn}, becaused(pn,pn)=0 for alln. It is symmetric, i.e., has the property that

{pn} ∼ {qn}implies{qn} ∼ {pn}, becaused(pn,qn)=d(qn,pn). It is transitive, i.e., has the property that{pn} ∼ {qn}and{qn} ∼ {rn}together imply{pn} ∼ {rn}, because

0≤d(pn,rn)d(pn,qn)+d(qn,rn)

and each term on the right side is tending to 0. Thus∼is an equivalence relation. Let Xbe the set of equivalence classes. If P and Q are two equivalence classes, we set

1(P,Q)=limd(pn,qn), (∗)

where{pn}is a member of the classPand{qn}is a member of the classQ. We have to prove that the limit in (∗) exists inRand then that the limit is independent of the choice of representatives ofPandQ.

For the existence of the limit (∗), it is enough to prove that the sequence {d(pn,qn)}is Cauchy. The triangle inequality gives

d(pn,qn)d(pn,pm)+d(pm,qm)+d(qm,qn)

and henced(pn,qn)d(pm,qm)d(pn,pm)+d(qm,qn). Reversing the roles ofmandn, we obtain

The two terms on the right side tend to 0, since{pk}and{qk}are Cauchy, and hence{d(pn,qn)}is Cauchy. Thus the limit (∗) exists.

We have also to show that the limit () is independent of the choice of repre- sentatives. Let{pn}and{pn0}be inP, and let{qn}and{qn0}be inQ. Then

d(pn,qn)d(pn,p0n)+d(pn0,qn0)+d(qn0,qn).

Since the first and third terms on the right side tend to 0 and the other terms in the inequality have limits, we obtain limnd(pn,qn)≤ limnd(p0n,qn0). Revers- ing the roles of the primed and unprimed symbols, we obtain limd(p0

n,qn0) ≤ limd(pn,qn). Therefore limd(pn,qn) = limd(p0n,qn0), and1(P,Q) is well defined.

Let us see that (X, 1) is a metric space. Certainly 1(P,P) = 0 and 1(P,Q)=1(Q,P). To prove the triangle inequality

1(P,Q)1(P,R)+1(R,Q), (∗∗)

let{pn}be in P,{qn}be inQ, and{rn}be inR. Since

d(pn,qn)d(pn,rn)+d(rn,qn),

we obtain (∗∗) by passing to the limit. Finally if two unequal classes Pand Q are given, and if{pn}and{qn}are representatives, then limd(pn,qn) 6= 0 by definition of∼. Therefore1(P,Q) >0. Thus(X, 1)is a metric space.

Now we can define the isometryϕ : X X. Ifxis in X, thenϕ(x)is the equivalence class of the constant sequence{pn}in which pn = x for alln. To see thatϕis an isometry, letx andybe inX, let pn= xfor alln, and letqn= y for alln. Then1(ϕ(x), ϕ(y))=limd(pn,qn)= limd(x,y)= d(x,y), andϕ is an isometry.

Let us prove thatϕ(X) is dense in X. In fact, if P is in Xand{pn}is a representative, we show thatϕ(pn)P. Ifϕ(pn) = P for all sufficiently largen, then Pis inϕ(X); otherwise this limit relation will exhibit Pas a limit point ofϕ(X), and we can conclude that P is inϕ(X)cl in any case. In other

words,ϕ(pn)P implies thatϕ(X)is dense. To prove that we actually do haveϕ(pn)P, let≤ >0 be given. Choose Nsuch thatkmN implies

d(pm,pk) < ≤. Then1(ϕ(pm),P) =limkd(pm,pk)formN. Hence limm1(ϕ(pm),P)=0 as required.

Finally let us prove thatXis complete by showing directly that any Cauchy sequence{Pn}converges. Sinceϕ(X)is dense inX∗, we can choosexnXwith

1(ϕ(xn),Pn) <1/n. First let us prove that{xn}is Cauchy in X. Let≤ >0 be given, and chooseN large enough so that1(Pn,Pn0) < ≤/3 whennandn0 are

12. Problems 131 ∏ N. Possibly by takingN still larger, we may assume that 1/N < ≤/3. Then whenevernandn0are N, we have

d(xn,xn0)=1(ϕ(xn), ϕ(xn0))1(ϕ(xn),Pn)+1(Pn,Pn0)+1(Pn0, ϕ(xn0))n1+ 3+ 1 n0 ≤ 1 N + 3+ 1 N < 3+ 3+ 3 =≤.

Thus{xn}is Cauchy in X. Let PX∗ be the equivalence class to which{xr} belongs. We prove completeness by showing thatPnP. Let≤ >0 be given, and chooseNlarge enough so thatrnNimpliesd(xn,xr) < ≤/2. Possibly by takingN still larger, we may assume that N1 < 2. ThenrnNimplies

1(Pn,P)1(Pn, ϕ(xn))+1(ϕ(xn),P) < 1n+lim r d(xn,xr) < 2+ 2=≤.

Thus PnP. Hence every Cauchy sequence in X∗ converges, and X∗ is

complete. §

An important application of Theorem 2.60 for algebraic number theory is to the construction of the p-adic numbers, p being prime. The metric space that is completed is the set of rationals with a certain nonstandard metric. This application appears in Problems 27–31 at the end of this chapter.

12. Problems

1. As in Example 9 of Section 1, letSbe a nonempty set, fix an integern>0, and letX be the set ofn-tuples of members ofS. Forn-tuplesx=(x1, . . . ,xn)and

y=(y1, . . . ,yn), defined(x,y)=#{j |xj 6=yj}, the number of components in whichxandydiffer. Prove thatdsatisfies the triangle inequality, so that(X,d) is a metric space.

2. Prove that a separable metric space is the disjoint union of a countable open set and a closed set in which every point is a limit point.

3. Give an example of a function f : [0,1]→Rfor which the graph of f, given by©(x,f(x))ØØ0x1™, is a closed subset ofR2and yet f is not continuous.

4. IfAis a dense subset of a metric space(X,d)andU is open inX, prove that U (AU)cl.

5. Let(X,d)be a metric space, letU be an open set, and letE1⊇E2⊇ · · · be a

decreasing sequence of closed bounded sets withT∞n=1EnU. (a) ForXequal toRn, show thatENUfor someN.

(b) ForX equal to the subspaceQof rationals inR1, give an example to show

6. LetF : X×YZ be a function from the product of two metric spaces into a metric space.

(a) Suppose that(x,y)7→F(x,y)is continuous and thatY is compact. Prove thatF(x,·)tends toF(x0,·)uniformly onY asxtends tox0.

(b) Conversely suppose7→ F(x,y) is continuous except possibly at points (x,y) =(x0,y), and suppose that F(x,·)F(x0,·)uniformly. Prove

thatFis continuous everywhere.

7. Give an example of a continuous function between two metric spaces that fails to carry some Cauchy sequence to a Cauchy sequence.

8. (Contraction mapping principle) Let(X,d)be a complete metric space, let rbe a number with 0≤r<1, and let f :X Xbe acontraction mapping, i.e., a function such thatd(f(x),f(y))rd(x,y)for allxandyinX. Prove that there exists a uniquex0inX such that f(x0)=x0.

9. Prove that a countable complete metric space has an isolated point.

10. A metric space(X,d)is calledlocally connectedif each point has arbitrarily small open neighborhoods that are connected. LetCbe a Cantor set in [0,1], as described in Section 9, and letX ⊂R2be the union of the three setsC×[0,1], [0,1]× {0}, and [0,1]× {1}. Prove that Xis compact and connected but is not locally connected.

Problems 11–13 concern the relationship between connected and pathwise connected. It was observed in Section 8 that pathwise connected implies connected. A metric space is calledlocally pathwise connectedif each point has arbitrarily small open neighborhoods that are pathwise connected.

11. Prove that a metric space(X,d)that is connected and locally pathwise connected is pathwise connected.

12. Deduce from the previous problem that for an open subset ofRn, connected implies pathwise connected.

13. Prove that any open subset ofR1is uniquely the disjoint union of open intervals.

Problems 14–17 concern almost periodic functions. Let f :R1→ Cbe a bounded uniformly continuous function. If≤ >0, analmost periodfor f is a numbertsuch that|f(x+t)f(x)| ≤for all realx. A subsetEofR1is calledrelatively dense if there is someL>0 such that any interval of length∏Lcontains a member ofE. The function f isBohr almost periodicif for every≤ >0, its set ofalmost periods is relatively dense. The function f isBochner almost periodicif every sequence of translates{ftn}, where ft(x)= f(x+t), has a uniformly convergent subsequence. Any functionx7→eicx withcreal is an example.

14. As usual, letB(R1,C)be the metric space of bounded complex-valued functions

onR1 in the uniform metric. Show that the subspace of bounded uniformly continuous functions is closed, hence complete.

12. Problems 133 15. Show that a bounded uniformly continuous functionf :R1→Cis Bohr almost

periodic if and only if the set©ft

Ø

Øt ∈R1™is totally bounded inB(R1,C). 16. Prove that a bounded uniformly continuous function f :R1→Cis Bohr almost

periodic if and only if it is Bochner almost periodic. Thus the names Bohr and Bochner can be dropped.

17. Prove that the set of almost periodic functions onR1is an algebra closed under

complex conjugation and containing the constants. Prove also that it is closed under uniform limits.

Problems 18–20 concern the special case whose proof precedes that of the Stone– Weierstrass Theorem (Theorem 2.58). In the text in Section 10, this preliminary special case was the function|x| on [1,1], and it was handled in two ways—in Section I.8 by the binomial expansion and Abel’s Theorem and in Section I.9 as a special case of the Weierstrass Approximation Theorem. The problems in the present group handle an alternative preliminary special case, the functionpxon [0,1]. This is just as good because|x| =px2.

18. (Dini’s Theorem)LetXbe a compact metric space. Suppose thatfn: X→R is continuous, that f1 ≤ f2 ≤ f3 ≤ · · ·, and that f(x) = lim fn(x) is continuous and is nowhere+∞. Use the defining property of compactness to prove that fnconverges to f uniformly on X.

19. Define a sequence of polynomial functionsPn : [0,1]→ RbyP0(x)=0 and

Pn+1(x)= Pn(x)+12(xPn(x)2). Prove that 0 = P0 ≤ P1≤ P2 ≤ · · · ≤

px

≤1 and that limnPn(x)=pxfor allxin [0,1].

20. Combine the previous two problems to prove thatpx is the uniform limit of polynomial functions on [0,1].

Problems 21–24 concern the effect of removing from the Stone–Weierstrass Theorem (Theorem 2.58) the hypothesis that the given algebra contains the constants. Let(S,d) be a compact metric space, and letAbe a subalgebra ofC(S,R)that separates points. There can be no pair of points{x,y}such that all members ofAvanish atxandy. 21. If for eachsS, there is some member ofAthat is nonzero ats, prove in the

following way thatAis still dense inC(S,R): Observe that the only place in the proof of Theorem 2.58a that the presence of constant functions is used is in the construction of the functionhyin the third paragraph. Show that a function

hy still exists in Awithhy(x) = f(x)andhy(y) = f(y)under the weaker hypothesis that for eachs S, there is some member ofAthat is nonzero ats. 22. Suppose that the members ofAall vanish at somes0inS. LetB=A+R1,

so that Theorem 2.58a applies toB. Use the linear functionL :C(S,R)R given byL(f)= f(s0), together with the fact thatBcl=C(S,R), to prove that

Ais uniformly dense in the subalgebra of all members ofC(S,R)that vanish ats0.

23. Adapt the above arguments to prove corresponding results about the algebra C(S,C)of complex-valued continuous functions.

24. LetC0([0,+∞),R)be the algebra of continuous functions from [0,+∞)into Rthat have limit 0 at+∞.

(a) Prove that the set of all finite linear combinations of functionsenx for positive integersnis dense inC0([0,+∞),R).

(b) Suppose that f is in C0([0,+∞),R), that f(x)= 0 forxb, and that

Rb

0 f(x)enxdx=0 for all integersn>0. Prove that f is the 0 function.

Problems 25–26 concern completions of a metric space. They use the notation of Theorem 2.60. The first problem says that the completion is essentially unique, and the second problem addresses the question of what happens if the original space is already complete; in particular it shows that the completion of the completion is the completion.

25. Suppose that(X,d)is a metric space, that(X

1, 11)and(X∗2, 12)are complete

metric spaces, and thatϕ1: XX∗1andϕ2: XX2∗are isometries such that

ϕ1(X)is dense inX1∗andϕ2(X)is dense inX∗2. Prove that there exists a unique

isometryofX

1ontoX2∗such thatϕ2=ϕ1.

26. Prove that a metric spaceX is complete if and only ifX=X, i.e., if and only if the standard isometryϕofXinto its completionXis onto.

Problems 27–31 concern the fieldQp of p-adic numbers. The problems assume knowledge of unique factorization for the integers; the last problem in addition assumes knowledge of rings, ideals, and quotient rings. LetQbe the set of rational numbers with their usual arithmetic, and fix a prime numberp. Each nonzero rational numberrcan be written, via unique factorization of integers, asr =mpk/nwithp not dividingmornand withka well-defined integer (positive, negative, or zero). Define|r|p = pk. Forr =0, define|0|p =0. The function| · |pplays a role in the relationship betweenQandQpsimilar to the role played by absolute value in the relationship betweenQandR.

27. Prove that| · |p onQsatisfies (i)|r|p ∏ 0 with equality if and only ifr = 0, (ii)| −r|p = |r|p, (iii)|rs|p = |r|p|s|p, and (iv)|r+s|p ≤max{|r|p,|s|p}. Property (iv) is called theultrametric inequality.

28. Show that(Q,d)is a metric space under the definitiond(r,s)= |rs|p. 29. Let(Qp,d)be the completion of the metric space(Q,d). Since|r|p can be

recovered from the metric by|r|p = d(r,0), the function| · |p extends to a continuous function| · |p:Qp→R.

(a) Using Proposition 2.47, show that addition, as a function fromQtoQp, extends to a continuous function fromQp×QptoQp. Argue similarly that the operation of passing to the negative, as a function fromQtoQp, extends to a continuous function fromQptoQp. Then prove thatQpis an abelian group under addition.

12. Problems 135 (b) Show that multiplication, as a function fromQ×QtoQp, extends to a continuous function from Qp×Qp toQp. (This part is subtler than (a) because multiplication is not uniformly continuous as a function of two variables.)

(c) LetQ× = Q− {0} andQ×

p = Qp− {0}. Show that the operation of taking the reciprocal, as a function fromQ×toQ×

p, extends to a continuous function fromQ×

p to itself. Then prove thatQ×p is an abelian group under multiplication.

(d) Complete the proof thatQp is a field by establishing the distributive law

t(r+s)=tr+tswithinQp. 30. (a) Prove that the subset©t ∈Qp

Ø

Ø|t|p≤1™ofQpis totally bounded.

(b) Prove that a subset ofQpis compact if and only if it is closed and bounded. 31. Prove that the subsetZpofQpwith|x|p≤1 is a commutative ring with identity, that the subsetPwith|x|pp−1is an ideal inZp, and that the quotientZp/P is a field ofpelements.

CHAPTER III