Skip to main content

Exercises Attempts

Exercise after §43

  1. Let XX be a metric space.

    (a) Suppose that for some ε>0\varepsilon>0, every ε\varepsilon-ball in XX has compact closure. Show that XX is complete.

    (b) Suppose that for each xXx \in X there is an ε>0\varepsilon > 0 such that the ball B(x,ε)B(x,\varepsilon) has compact closure. Show by means of an example that XX need not be complete.

(a) Let (xn)(x_n) be a Cauchy sequence in XX, then for every ε>0\varepsilon>0, there exists a positive integer NN such that d(xn,xm)<εd(x_n,x_m)<\varepsilon whenever n,mNn,m \geqslant N. In particular, we have that d(xn,xN)<εd(x_n,x_N) < \varepsilon for any nNn \geqslant N.

Take those ε\varepsilon such that the closure of every B(x,ε)B(x,\varepsilon), where xXx \in X, is compact. By Theorem 28.2, this implies that every sequence in B(x,ε)\overline{B(x,\varepsilon)} has a convergent subsequence. In particular, there exists a subsequence of (xn)(x_n) that is contained in B(xN,ε)\overline{B(x_N,\varepsilon)}, which is convergent. By Lemma 43.1, this means that XX is complete.

(b) Note that in this case, the choice of ε>0\varepsilon>0 depends on the choice of xXx \in X. Take the subspace Q\mathbb{Q} of R\mathbb{R} under the standard topology. For every xQx \in \mathbb{Q}, there exists an ε>0\varepsilon>0, say, x/2|x|/2, such that the ball B(x,ε)B(x,\varepsilon) has compact closure since the closure is the intersection of Q\mathbb{Q} with a closed interval in R\mathbb{R}. However, we know that Q\mathbb{Q} is not complete.

  1. Let (X,dX)(X,d_X) and (Y,dY)(Y,d_Y) be metric spaces; let YY be complete. Let AXA \subseteq X . Show that if f:AYf : A \to Y is uniformly continuous, then ff can be uniquely extended to a continuous function g:AYg : \overline{A} \to Y, and gg is uniformly continuous.

Suppose that f:AYf : A \to Y is uniformly continuous, then for any ε>0\varepsilon>0, there exists a δ>0\delta>0 such that for each pair of points x0,x1x_0,x_1 of XX, we have

dX(x0,x1)<δ    dY(f(x0),f(x1))<ε.d_X(x_0,x_1)<\delta \implies d_Y(f(x_0),f(x_1))<\varepsilon.

Let aAa \in \overline{A}, then aa is the limit (not necessarily in AA) of a convergent sequence (an)(a_n) in AA by the sequence lemma. This implies that (an)(a_n) is Cauchy. Since ff is uniformly continuous (which applies to every pair of points of the domain), it follows that the sequence (f(an))(f(a_n)) in YY is also Cauchy. Since YY is complete, (f(an))(f(a_n)) is convergent.

In view of this, let us define g:AYg : \overline{A} \to Y by g(a)=limf(an)g(a)=\lim f(a_n), where (an)(a_n) is any sequence of points in AA that converges to aa.

To show that gg is well-defined, we prove that if anaa_n \to a and bnab_n \to a, then limf(an)=limf(bn)\lim f(a_n)=\lim f(b_n). To see this, note that the hypothesis implies that anbn0a_n-b_n \to 0. Since ff is uniformly continuous, it follows that f(an)f(bn)0f(a_n)-f(b_n) \to 01 and as both limf(an)\lim f(a_n) and limf(bn)\lim f(b_n) exist, it follows that limf(an)=limf(bn)\lim f(a_n)=\lim f(b_n). Now, gg is also an extension of ff, since if aAa \in A, then we can just take the constant sequence (a,a,)(a,a,\ldots) so that g(a)=limf(a)=f(a)g(a)=\lim f(a)=f(a).

Next, we show that gg is uniformly continuous. Let ε>0\varepsilon>0 be arbitrary. Since ff is uniformly continuous, for any ε>0\varepsilon>0, there exists δ>0\delta>0 such that for every x,yAx, y \in A, we have dX(x,y)<δ    dY(f(x),f(y))<εd_X(x,y)<\delta \implies d_Y(f(x),f(y))<\varepsilon.

Choose x,yAx,y \in \overline{A} such that dX(x,y)<δ/3d_X(x,y)<\delta/3, and let (xn)(x_n) and (yn)(y_n) be sequences in AA that converge to xx and yy respectively. There then exists positive integers N1,N2N_1,N_2 such that

dX(xn,x)<δ/3 whenever nN1,d_X(x_n,x) < \delta/3 \text{ whenever } n \geqslant N_1,dX(yn,y)<δ/3 whenever nN2.d_X(y_n,y) < \delta/3 \text{ whenever } n \geqslant N_2.

Take N=max{N1,N2}N=\max\{N_1,N_2\}. It follows by triangle inequality that d(xn,yn)dX(xn,x)+dX(x,y)+dX(yn,y)<δd(x_n,y_n) \leqslant d_X(x_n,x)+d_X(x,y)+d_X(y_n,y)<\delta, so by the uniform continuity of ff, we have that dY(f(xn),f(yn))<εd_Y(f(x_n),f(y_n))<\varepsilon.

Taking limits over nn we have that dY(g(x),g(y))<εd_Y(g(x),g(y))<\varepsilon. Therefore, gg is uniformly continuous by definition.

Finally, we show that gg is unique. Indeed, suppose that h:AYh : \overline{A} \to Y is also a continuous function extended from f:AYf : A \to Y. Again, if aAa \in \overline{A}, then there exists a sequence (an)(a_n) in AA such that anaa_n \to a. Since hh is continuous, by the sequential criterion of continuity, we have that h(an)h(a)h(a_n) \to h(a). However, since anAa_n \in A for each nn, it follows that h(an)=f(an)h(a_n)=f(a_n) for each nn, whilst f(an)g(a)f(a_n) \to g(a). Therefore, we have that h(a)=g(a)h(a)=g(a) for every aAa \in \overline{A}.

  1. Two metric dd and dd' on a set XX are said to be metrically equivalent if the identity map i:(X,d)(X,d)i : (X,d) \to (X,d') and its inverse are both uniformly continuous.

    (a) Show that dd is metrically equivalent to the standard bounded metric d\overline{d} derived from dd.

    (b) Show that if dd and dd' are metrically equivalent, then XX is complete under dd if and only if it is complete under dd'.

(a) Let ε>0\varepsilon>0 be arbitrary and i:(X,d)(X,dˉ)i : (X,d) \to (X,\bar{d}) be the identity map. Set δ=ε\delta = \varepsilon. Note that by definition of dˉ\bar{d}, we have that dˉ(x,y)d(x,y)\bar{d}(x,y) \leqslant d(x,y) for every x,yXx,y \in X. It follows that for every pair of points x1,x2(X,d)x_1,x_2 \in (X,d), we have that

d(x1,x2)<δ    dˉ(i(x1),i(x2))=dˉ(x1,x2)d(x1,x2)<ε.d(x_1,x_2)<\delta \implies \bar{d}(i(x_1),i(x_2))=\bar{d}(x_1,x_2) \leqslant d(x_1,x_2) < \varepsilon.

Note that for any x,yXx,y \in X, if d(x,y)1d(x,y) \geqslant 1, then dˉ(x,y)=d(x,y)\bar{d}(x,y)=d(x,y); if d(x,y)>1d(x,y)>1, then dˉ(x,y)=1\bar{d}(x,y)=1. Thus, for the inverse i1i^{-1}, set the corresponding δ\delta to be min{ε,1}\min\{\varepsilon,1\}. It follows that for every pair of points x1,x2(X,dˉ)x_1, x_2 \in (X,\bar{d}), we have that

dˉ(x1,x2)<δ    d(i(x1),i(x2))=d(x1,x2)={dˉ(x1,x2)if d(x1,x2)1d(x1,x2)if d(x1,x2)>1<ε.\bar{d}(x_1,x_2)<\delta \implies d(i(x_1),i(x_2))=d(x_1,x_2)=\begin{cases} \bar{d}(x_1,x_2) & \text{if } d(x_1,x_2) \leqslant 1 \\ d(x_1,x_2) & \text{if } d(x_1,x_2)>1 \end{cases}<\varepsilon.

Since both ii and i1i^{-1} are uniformly continuous, it follows that dd and dˉ\bar{d} are metrically equivalent.

(b) Suppose that dd and dd' are metrically equivalent. Let (xn)(x_n) be a Cauchy sequence that converges to a point xx under dd. It follows that for every δ>0\delta>0, there exists positive integers N1,N2N_1,N_2 such that

d(xn,xm)<δ whenever m,nN1,d(x_n,x_m)<\delta \text{ whenever } m,n \geqslant N_1,d(xn,x)<δ whenever nN2.d(x_n,x)<\delta \text{ whenever } n \geqslant N_2.

Since dd and dd' are metrically equivalent, the same relations above can be carried over to (X,d)(X,d') via the uniformly continuous identity map (since uniform continuity applies for every pair of points in XX), so that if (xn)(x_n) is a Cauchy sequence under dd', for every ε>0\varepsilon>0, by setting δ=ε\delta=\varepsilon, we have that

d(xn,xm)<ε whenever m,nN1,d'(x_n,x_m)<\varepsilon \text{ whenever } m,n \geqslant N_1,d(xn,x)<ε whenever nN2.d'(x_n,x)<\varepsilon \text{ whenever } n \geqslant N_2.

This implies that (xn)(x_n) also converges under dd', and thus XX is complete under dd'.

The converse also holds by applying the same argument above, just with the identity map replaced by its inverse.

  1. Show that the metric space (X,d)(X,d) is complete if and only if for every nested sequence A1A2A_1 \supseteq A_2 \supseteq \cdots of nonempty closed sets of XX such that diam  An0\mathrm{diam} \; A_n \to 0, the intersection of the sets AnA_n is nonempty.
note

This is a generalised version of the nested intervals theorem for real numbers.

It is also a special case of Theorem 26.9 (see Chapter 3) for complete metric spaces.

  1. If (X,d)(X,d) is a metric space, recall that a map f:XXf : X \to X is called a contraction if there is a number α<1\alpha < 1 such that
d(f(x),f(y))αd(x,y)d(f(x),f(y)) \leqslant \alpha d(x,y)

for all x,yXx, y \in X. Show that if ff is a contraction of a complete metric space, then there is a unique point xXx \in X such that f(x)=xf(x)=x. Compare Exercise 7 of §28.

Compared to Exercise 7 of §28, this is a stronger result than that stated in part (a) of the exercise in which compactness is assumed, because compactness implies completeness but the converse needs not be true.

  1. A space XX is said to be topologically complete (a.k.a. completely metrizable) if there exists a metric for the topology of XX relative to which XX is complete.

    (a) Show that a closed subspace of a topologically complete space is topologically complete.

    (b) Show that a countable product of topologically complete spaces is topologically complete (in the product topology).

    (c) Show that an open subspace of a topologically complete space is topologically complete. [Hint: If UXU \subseteq X and XX is complete under the metric dd, define ϕ:UR\phi : U \to \mathbb{R} by the equation ϕ(x)=1/d(x,X\U)\phi(x)=1/d(x,X \backslash U). Embed UU in X×RX \times \mathbb{R} by setting f(x)=(x,ϕ(x))f(x)=(x,\phi(x)).]

    (d) Show that if AA is a GδG_\delta set in a topologically complete space, then AA is topologically complete. [Hint: Let AA be the intersection of the open sets UnU_n, for nZ+n \in \mathbb{Z}_+. Consider the diagonal embedding f(a)=(a,a,)f(a) = (a,a,\ldots) of AA into Un\prod U_n.] Conclude that the irrationals are topologically complete.

  1. Show that the set of all sequences (x1,x2,)(x_1,x_2,\ldots) such that xi2\sum x_i^2 converges is complete in the l2l^2-metric. (See Exercise 8 of §20.)
  1. Let (X,d)(X,d) be a metric space. Show that there is an isometric embedding (see Exercise 21.2) hh of XX into a complete metric space (Y,D)(Y,D), as follows: Let X~\tilde{X} denote the set of all Cauchy sequences
x=(x1,x2,)\mathbf{x}=(x_1,x_2,\ldots)

of points of XX. Define xy\mathbf{x} \sim \mathbf{y} if

d(xn,yn)0. d(x_n,y_n) \to 0 .

Let [x][\mathbf{x}] denote the equivalence class of x\mathbf{x}; and let YY denote the set of equivalence classes. Define a metric DD on YY by the equation

D([x],[y])=limnd(xn,yn).D([\mathbf{x}],[\mathbf{y}])=\lim_{n \to \infty}d(x_n,y_n).

(a) Show that \sim is an equivalence relation, and show that DD is a well-defined metric.

(b) Define h:XYh : X \to Y by letting h(x)h(x) be the equivalence class of the constant sequence (x,x,)(x,x,\ldots):

h(x)=[(x,x,)].h(x)=[(x,x,\ldots)].

Show that hh is an isometric embedding.

(c) Show that h(X)h(X) is dense in YY; indeed, given x=(x1,x2,)X~\mathbf{x}=(x_1,x_2,\ldots) \in \tilde{X}, show that the sequence h(xn)h(x_n) of points of YY converges to the point [x][\mathbf{x}] of YY.

(d) Show that if AA is a dense subset of a metric space (Z,ρ)(Z,\rho), and if every Cauchy sequence in AA converges in ZZ, then ZZ is complete.

(e) Show that (Y,D)(Y,D) is complete.

note

Fun fact: if we set X=QX = \mathbb{Q}, i.e. the set of rational numbers, then the cardinality of X~\tilde{X} is the same as that of the set of real numbers, which is expected as the real numbers can be constructed via the completion of the rational numbers using Cauchy sequences.

The process done in this exercise is also called metric completion.

  1. Theorem (Uniqueness of the completion). Let h:XYh : X \to Y and h:XYh' : X \to Y' be isometric embeddings of the metric space (X,d)(X,d) in the complete metric spaces (Y,D)(Y,D) and (Y,D)(Y',D') respectively, then there is an isometry (h(X),D)(\overline{h(X)},D) with (h(X),D)(\overline{h'(X)},D') that equals hh1h'h^{-1} on the subspace h(X)h(X).

Exercise after §44

  1. Given nn, show there is a continuous surjective map g:IIng : I \to I^n. [Hint: Consider f×f:I×II2×I2f \times f : I \times I \to I^2 \times I^2].
  1. Show there is a continuous surjective map f:RRnf : \mathbb{R} \to \mathbb{R}^n.

Exercise after §45

  1. If XnX_n is metrizable with metric dnd_n, then
D(x,y)=sup{di(xi,yi)/i}D(\mathbf{x},\mathbf{y})=\sup\{\overline{d_i}(x_i,y_i)/i\}

is a metric for the product space X=XnX = \prod X_n. Show that XX is totally bounded under DD if each XnX_n is totally bounded under dnd_n. Conclude without using the Tychonoff theorem that a countable product of compact metrizable spaces is compact.

  1. Let (Y,d)(Y,d) be a metric space; let F\mathcal{F} be a subset of C(X,Y)\mathcal{C}(X,Y).

    (a) Show that if F\mathcal{F} is finite, then F\mathcal{F} is equicontinuous.

    (b) Show that if fnf_n is a sequence of elements of C(X,Y)\mathcal{C}(X,Y) that converges uniformly, then the collection {fn}\{f_n\} is equicontinuous.

    (c) Suppose that F\mathcal{F} is a collection of differentiable functions f:RRf : \mathbb{R} \to \mathbb{R} such that each xRx \in \mathbb{R} lies in a neighbourhood UU on which the derivatives of the functions in F\mathcal{F} are uniformly bounded. [This means that there is an MM such that f(x)M|f'(x)| \leqslant M for all ff in F\mathcal{F} and all xUx \in U.] Show that F\mathcal{F} is equicontinuous.

  1. Prove the following:

Theorem (Arzela's theorem). Let XX be compact; let fnC(X,Rk)f_n \in \mathcal{C}(X,\mathbb{R}^k). If the collection {fn}\{f_n\} is pointwise bounded and equicontinuous, then the sequence fnf_n has a uniformly convergent subsequence.

  1. (a) Let fn:IRf_n : I \to \mathbb{R} be the function fn(x)=xnf_n(x)=x^n. The collection F={fn}\mathcal{F}=\{f_n\} is pointwise bounded but the sequence (fn)(f_n) has no uniformly convergent subsequence; at what point or points does F\mathbb{F} fail to be equicontinuous?

    (b) Repeat (a) for the functions fnf_n of Exercise 9 of §21.

  1. Let XX be a space. A subset F\mathcal{F} of C(X,R)\mathcal{C}(X,\mathbb{R}) is said to vanish uniformly at infinity if given ε>0\varepsilon>0, there is a compact subspace CC of XX such that f(x)<ε|f(x)|<\varepsilon for xX\Cx \in X \backslash C and fFf \in \mathcal{F}. If F\mathcal{F} consists of a single function ff, we simply say that ff vanishes at infinity. Let C0(X,R)\mathcal{C}_0(X,\mathbb{R}) denote the set of continuous functions f:XRf : X \to \mathbb{R} that vanish at infinity.

    Theorem. Let XX be locally compact Hausdorff; give C0(X,R)\mathcal{C}_0(X,\mathbb{R}) the uniform topology. A subset F\mathcal{F} of C0(X,R)\mathcal{C}_0(X,\mathbb{R}) has compact closure if and only if it is pointwise bounded, equicontinuous, and vanishes uniformly at infinity.

    [Hint: Let YY denote the one-point compactification of XX. Show that C0(X,R)\mathcal{C}_0(X,\mathbb{R}) is isometric with a closed subspace of C(Y,R)\mathcal{C}(Y,\mathbb{R}) if both are given the sup metric.]

Exercise after §46

  1. Show that the sets BC(f,ε)B_C(f,\varepsilon) form a basis for the topology on YXY^X.
  1. Prove Theorem 46.7.
  1. Show that the set B(R,R)\mathcal{B}(\mathbb{R},\mathbb{R}) of bounded functions f:RRf : \mathbb{R} \to \mathbb{R} is closed in RR\mathbb{R}^\mathbb{R} in the uniform topology, but not in the topology of compact convergence.
  1. Consider the sequence of continuous functions fn:RRf_n : \mathbb{R} \to \mathbb{R} defined by
fn(x)=x/n.f_n(x)=x/n.

In which of the three topologies of Theorem 46.7 does this sequence converge?

Answer the same question for the sequence given in Exercise 9 of §21.

  1. Consider the sequence of functions fn:(1,1)Rf_n : (-1,1) \to \mathbb{R}, defined by

    fn(x)=k=1nkxk.f_n(x)=\sum_{k=1}^{n}kx^k.

    (a) Show that (fn)(f_n) converges in the topology of compact convergence; conclude that the limit function is continuous. (This is a standard fact about power series.)

    (b) Show that (fn)(f_n) does not converge in the uniform topology.

  1. Show that in the compact-open topology, C(X,Y)\mathcal{C}(X,Y) is Hausdorff if YY is Hausdorff, and regular if YY is regular. [Hint: If UV\overline{U} \subseteq V, then S(C,U)S(C,V)\overline{S(C,U)} \subseteq S(C,V).]

7 (reworded). Show that if YY is locally compact Hausdorff, then composition of maps \circ given by

:C(X,Y)×C(Y,Z)C(X,Z)\circ : \mathcal{C}(X,Y) \times \mathcal{C}(Y,Z) \to \mathcal{C}(X,Z)(f,g)gf(f,g) \mapsto g \circ f

is continuous, provided the compact-open topology is used throughout. [Hint: If gfS(C,U)g \circ f \in S(C,U), find VV such that f(C)Vf(C) \subseteq V and g(Vˉ)Ug(\bar{V}) \subseteq U.]

  1. A space is locally compact if it can be covered by open sets each of which is contained in a compact subspace of XX. It is said to be σ\sigma-compact if it can be covered by countably many such open sets.

    (a) Show that if XX is locally compact and second-countable, it is σ\sigma-compact.

    (b) Let (Y,d)(Y,d) be a metric space. Show that if XX is σ\sigma-compact, there is a metric for the topology of compact convergence on YXY^X such that if (Y,d)(Y,d) is complete, YXY^X is complete in this metric. [Hint: Let A1,A2,A_1,A_2,\ldots be a countable collection of compact subspaces of XX whose interiors cover XX. Let YiY_i denote the set of all functions from AiA_i to YY, in the uniform topology. Define a homeomorphism of YXY^X with a closed subspace of the product space Y1×Y2×Y_1 \times Y_2 \times \cdots.]

(a) Suppose that XX is locally compact and second-countable. Since XX is locally compact, for each xXx \in X, there exists a compact subspace CC of XX such that a neighbourhood UU of xx is contained in CC. Since XX is second-countable, XX has a countable basis. This implies that UU contains at least one of the basis elements, at least one of which contains the point xx. Let BB be one of such basis elements, then BB is also a neighbourhood of xx that is contained in a compact subspace CC of XX. There exists such basis elements for each arbitrary choice of xXx \in X, and countably many of them cover the whole space XX. It follows that XX can be covered by countably many open sets, each of which is contained in some compact subspace of XX, and is thus σ\sigma-compact.

Exercise after §47

  1. Which of the following subsets of C(R,R)\mathcal{C}(\mathbb{R},\mathbb{R}) are pointwise bounded? Which are equicontinuous?

    (a) The collection {fn}\{f_n\}, where fn(x)=x+sinnxf_n(x)=x+ \sin nx.

    (b) The collection {gn}\{g_n\}, where gn(x)=n+sinnxg_n(x)=n+\sin nx.

    (c) The collection {hn}\{h_n\}, where hn(x)=x1/nh_n(x)=|x|^{1/n}.

    (d) The collection {kn}\{k_n\}, where kn(x)=nsin(x/n)k_n(x)=n \sin (x/n).

  1. Show that the general version of Ascoli's theorem implies the classical version (Theorem 45.4) when XX is Hausdorff.
  1. Prove the following:

    Theorem (Arzela's theorem, general version). Let XX be a Hausdorff space that is σ\sigma-compact; let fnf_n be a sequence of functions fn:XRkf_n : X \to \mathbb{R}^k. If the collection {fn}\{f_n\} is pointwise bounded and equicontinuous, then the sequence fnf_n has a subsequence that converges, in the topology of compact convergence, to a continuous function.

    [Hint: Show C(X,Rk)\mathcal{C}(X,\mathbb{R}^k) is first-countable.]

  1. Let (Y,d)(Y,d) be a metric space; let fn:XYf_n : X \to Y be a sequence of continuous functions; let f:XYf : X \to Y be a function (not necessarily continuous). Suppose fnf_n converges to ff in the topology of pointwise convergence. Show that if {fn}\{f_n\} is equicontinuous, then ff is continuous and fnf_n converges to ff in the topology of compact convergence.

Footnotes

  1. Why? The fact that anbn0a_n - b_n \to 0 implies that for every ε>0\varepsilon>0, there exists a positive integer NN such that whenever nNn \geqslant N, we have dX(an,bn)<εd_X(a_n,b_n)<\varepsilon. Meanwhile, the uniform continuity of ff implies that for every ε>0\varepsilon>0, there exists δ>0\delta >0 such that for every pair of points in XX, whenever dX(x,y)<δd_X(x,y)<\delta, we have dY(f(x),f(y))<εd_Y(f(x),f(y))<\varepsilon. Substitute x,yx,y here to be an,bna_n,b_n, then for any ε>0\varepsilon>0, whenever nNn \geqslant N, we have that dY(f(an),f(bn))<εd_Y(f(a_n),f(b_n))<\varepsilon, so f(an)f(bn)0f(a_n)-f(b_n) \to 0.