Chapter 2

Metric Spaces

[191/21%]
Show
LaTeX
Problem 2.1.1

Prove that the set R\mathbb {R} is a metric space with

d(x,y)=∣y−x∣. d(x, y)=\left|y-x\right| .
?
Problem 2.1.2

Prove that the set C[a,b]C[a, b] is a metric space with

d(f,g):=max⁡{∣f(x)−g(x)∣:a≤x≤b}. d(f, g):=\max \left\{ \left|f(x)-g(x)\right|: a \leq x \leq b\right\} .
?
Problem 2.1.3

Prove that the set C[a,b]C[a, b] is a metric space with

d(f,g):=∫ab∣f(x)−g(x)∣dx d(f, g):=\int _{a}^{b}\left|f(x)-g(x)\right| d x
?
Problem 2.1.4

Prove Theorem 2.1.6.

Theorem 2.1.6: The Euclidean norm has the following properties: (a) for any a∈Rna \in \mathbb {R}^{n}, ∥a∥≥0\left\| a\right\| \geq 0; (b) ∥a∥=0\left\| a\right\| =0 if and only if a=0a=0; (c) if α∈R\alpha \in \mathbb {R} and a∈Rna \in \mathbb {R}^{n}, ∥αa∥=∣α∣∥a∥\left\| \alpha a\right\| =\left|\alpha \right|\left\| a\right\|; (d) if a,b∈Rna, b \in \mathbb {R}^{n}, ∥a+b∥≤∥a∥+∥b∥\left\| a+b\right\| \leq \left\| a\right\| +\left\| b\right\|.

?
Problem 2.1.5

Prove Theorem 2.1.7.

Theorem 2.1.7: The set Rn\mathbb {R}^{n} with the distance function d(x,y)=∥y−x∥d(x,y)=\left\| y-x\right\| is a metric space.

?
Problem 2.1.6

Prove that R2\mathbb {R}^{2} with the distance d((x1,x2),(y1,y2)):=∣x1−y1∣+∣x2−y2∣d\left(\left(x_{1}, x_{2}\right),\left(y_{1}, y_{2}\right)\right):=\left|x_{1}-y_{1}\right|+\left|x_{2}-y_{2}\right| is a metric space.

?
Problem 2.1.7

Prove that R2\mathbb {R}^{2} with the distance d((x1,x2),(y1,y2)):=max⁡{∣x1−y1∣,∣x2−y2∣}d\left(\left(x_{1}, x_{2}\right),\left(y_{1}, y_{2}\right)\right):=\max \left\{ \left|x_{1}-y_{1}\right|,\left|x_{2}-y_{2}\right|\right\} is a metric space.

?
Problem 2.1.8

Prove that the set R\mathbb {R} is a metric space with

d(x,y):=∣x−y∣1+∣x−y∣ d(x, y):=\frac{\left|x-y\right|}{1+\left|x-y\right|}
?
Problem 2.1.9

Prove that the set C1[a,b]C^{1}[a, b] of differentiable functions on [a,b][a, b] with continuous derivatives, is a metric space with d(f,g):=max⁡{∣f(x)−g(x)∣:a≤x≤b}+max⁡{∣f′(x)−g′(x)∣:a≤x≤b}d(f, g):=\max \left\{ \left|f(x)-g(x)\right|: a \leq x \leq b\right\} +\max \left\{ \left|f^{\prime }(x)-g^{\prime }(x)\right|: a \leq x \leq b\right\}.

?
Problem 2.1.10

Prove that the set C(−∞,∞)C(-\infty , \infty ) is a metric space with

d(f,g):=∑n=1∞12nmax⁡{∣f(x)−g(x)∣:∣x∣≤n}1+max⁡{∣f(x)−g(x)∣:∣x∣≤n}. d(f, g):=\sum _{n=1}^{\infty } \frac{1}{2^{n}} \frac{\max \left\{ \left|f(x)-g(x)\right|:\left|x\right| \leq n\right\} }{1+\max \left\{ \left|f(x)-g(x)\right|:\left|x\right| \leq n\right\} } .
?
Problem 2.1.11

Determine the values of pp for which ∣x−y∣p\left|x-y\right|^{p} is a metric on R\mathbb {R}.

?
Problem 2.1.12

Let MM be any nonempty set and define d:M→Rd: M \rightarrow \mathbb {R} by d(x,y)=0d(x, y)=0 if and only if x=yx=y and d(x,y)=1d(x, y)=1 otherwise. Prove that ( M,dM, d ) is a metric space

?
Problem 2.1.13

Let cc be the set of all bounded sequences and, for {an},{bn}∈c\left\{ a_{n}\right\} ,\left\{ b_{n}\right\} \in c, let d({an},{bn})=sup⁡{∣an−bn∣:n∈N}d\left(\left\{ a_{n}\right\} ,\left\{ b_{n}\right\} \right)=\sup \left\{ \left|a_{n}-b_{n}\right|: n \in \mathbb {N}\right\}. Prove that (c,d)(c, d) is a metric space.

?
Problem 2.1.14

Suppose that, for 1≤i≤n1 \leq i \leq n, ( Mi,diM_{i}, d_{i} ) are metric spaces. Let M=M1×M2×⋯×MnM= M_{1} \times M_{2} \times \cdots \times M_{n} and for x=(x1,x2,…,xn),y=(y1,y2,…,yn)∈Mx=\left(x_{1}, x_{2}, \ldots , x_{n}\right), y=\left(y_{1}, y_{2}, \ldots , y_{n}\right) \in M let d(x,y)=∑k=1ndk(xk,yk)d(x, y)=\sum_{k=1}^{n} d_{k}\left(x_{k}, y_{k}\right). Prove that ( M,dM, d )is a metric space.

?
Problem 2.1.15

Describe open and closed balls in the metric space (R2,d)\left(\mathbb {R}^{2}, d\right), where the distance dd is defined by d((x1,x2),(y1,y2)):=(∣x1−y1∣3+∣x2−y2∣3)1/3d\left(\left(x_{1}, x_{2}\right),\left(y_{1}, y_{2}\right)\right):=\left(\left|x_{1}-y_{1}\right|^{3}+\left|x_{2}-y_{2}\right|^{3}\right)^{1 / 3}.

?
Problem 2.1.16

Describe open and closed balls in the metric space ( C[0,1],dC[0,1], d ), where d(f,g):=sup⁡{∣f(x)−g(x)∣:x∈[0,1]}d(f, g):=\sup \left\{ \left|f(x)-g(x)\right|: x \in [0,1]\right\}.

?
Problem 2.1.17

Let u(x)=sin⁡xu(x)=\sin x and v(x)=0v(x)=0 and let C[0,2π]C[0,2 \pi ] denote the metric space of continuous functions on [0,2π][0,2 \pi ] with the distance d(f,g):=sup⁡{∣f(x)−g(x)∣:x∈[0,2π]}d(f, g):=\sup \left\{ \left|f(x)-g(x)\right|: x \in [0,2 \pi ]\right\}. Give an example of a function that belongs to both B(u,2/3)B(u, 2 / 3) and B(v,2/3)B(v, 2 / 3).

?
Problem 2.1.18

In the metric space (R,d)(\mathbb {R}, d) where

d(x,y):=∣x−y∣1+∣x−y∣ d(x, y):=\frac{\left|x-y\right|}{1+\left|x-y\right|}

describe open balls B(0,r)B(0, r) for:

?
(a)

r=1/2r=1 / 2;

(b)

r=1r=1.

(See Exercise 2.1.8.)

Problem 2.1.19

Prove that G:={(x,y)∈R2:x2+y2≠1}G:=\left\{ (x, y) \in \mathbb {R}^{2}: x^{2}+y^{2} \neq 1\right\} is an open set in R2\mathbb {R}^{2}.

?
Problem 2.1.20

Prove that an open ball in a metric space is an open set.

?
Problem 2.1.21

Prove that the following are equivalent for a set AA in a metric space:

?
(a)

AA is open.

(b)

Each point of AA is an interior point.

(c)

AA is equal to its interior.

Problem 2.1.22

Prove that in a metric space:

?
(a)

Int⁡(Int⁡A)=Int⁡A\operatorname {Int}(\operatorname {Int} A)=\operatorname {Int} A.

(b)

If A⊂BA \subset B then Int⁡A⊂Int⁡B\operatorname {Int} A \subset \operatorname {Int} B.

(c)

Int⁡(A∩B)=Int⁡A∩Int⁡B\operatorname {Int}(A \cap B)=\operatorname {Int} A \cap \operatorname {Int} B.

(d)

Int⁡(⋂i∈IAi)⊂⋂i∈IInt⁡Ai\operatorname {Int}\left(\bigcap_{i \in I} A_{i}\right) \subset \bigcap_{i \in I} \operatorname {Int} A_{i}.

(e)

Give an example to show that the inclusion in (d) can be proper.

(f)

Int⁡A∪Int⁡B⊂Int⁡(A∪B)\operatorname {Int} A \cup \operatorname {Int} B \subset \operatorname {Int}(A \cup B).

(g)

Give an example to show that the inclusion in (f) can be proper.

Problem 2.1.23

Prove that the interior of the interval [a,b)[a, b) is the open interval (a,b)(a, b).

?
Problem 2.1.24

Prove that the set Q\mathbb {Q} has empty interior.

?
Problem 2.1.25

Let ( M,dM, d ) be a metric space. Prove that:

?
(a)

The empty set and the whole space MM are open sets.

(b)

If {Gi}i∈I\left\{ G_{i}\right\}_{i \in I} is an arbitrary collection of open sets then their union is an open set.

(c)

If {Gi}i=1n\left\{ G_{i}\right\}_{i=1}^{n} is a finite collection of open sets then their intersection is an open set.

Problem 2.1.26

Let A,BA, B be subsets of R\mathbb {R}. Prove that Int⁡(A×B)=Int⁡A×Int⁡B\operatorname {Int}(A \times B)=\operatorname {Int} A \times \operatorname {Int} B.

?
Problem 2.1.27

Let ( M,dM, d ) be a metric space. Prove that:

?
(a)

The empty set and the whole space MM are closed sets.

(b)

If {Fi}i∈I\left\{ F_{i}\right\}_{i \in I} is an arbitrary collection of closed sets then their intersection is a closed set.

(c)

If {Fi}i=1n\left\{ F_{i}\right\}_{i=1}^{n} is an arbitrary collection of closed sets then their union is a closed set.

Problem 2.1.28

Prove that the set of all rational numbers between 2\sqrt{2} and π\pi is a closed set in the metric space Q\mathbb {Q} with the distance d(x,y)=∣x−y∣d(x, y)=\left|x-y\right|.

?
Problem 2.1.29

Prove that a closed ball in a metric space is a closed set.

?
Problem 2.1.30

Prove that in a metric space ( M,dM, d ) if a∈Ma \in M and r>0r>0 then the set {x:d(x,a)=r}\left\{ x: d(x, a)=r\right\} is closed.

?
Problem 2.1.31

Give an example of two closed sets A,BA, B such that A∩B=∅A \cap B=\varnothing but dist⁡(A,B)=0\operatorname {dist}(A, B)=0.

?
Problem 2.1.32

Prove that the set of irrational numbers is a GδG_{\delta } set.

?
Problem 2.1.33

Prove that the closure of the interval [a,b)[a, b) is the closed interval [a,b][a, b].

?
Problem 2.1.34

Prove that the closure of the set Q\mathbb {Q} is R\mathbb {R}.

?
Problem 2.1.35

Prove that in a metric space:

?
(a)

(Aˉ)‾=Aˉ\overline{(\bar{A})}=\bar{A}.

(b)

If A⊂BA \subset B then Aˉ⊂Bˉ\bar{A} \subset \bar{B}.

(c)

A∪B‾=Aˉ∪Bˉ\overline{A \cup B}=\bar{A} \cup \bar{B}.

(d)

⋃i∈IAi‾⊂⋃i∈IAi‾\bigcup_{i \in I} \overline{A_{i}} \subset \overline{\bigcup_{i \in I} A_{i}}.

(e)

Give an example to show that the inclusion in (d) can be proper.

(f)

⋂i∈IAi‾⊂⋂i∈IAi‾\overline{\bigcap_{i \in I} A_{i}} \subset \bigcap_{i \in I} \overline{A_{i}}.

(g)

Give an example to show that the inclusion in (f) can be proper.

Problem 2.1.36

Prove that the following are equivalent for a set AA in a metric space:

?
(a)

AA is closed.

(b)

AA contains all of its cluster points.

(c)

AA is equal to its closure.

Problem 2.1.37

Prove that the closure of a set AA equals the intersection of all closed sets that contain AA.

?
Problem 2.1.38

Prove that in a metric space:

?
(a)

(Aˉ)C=Int⁡(AC)(\bar{A})^{C}=\operatorname {Int}\left(A^{C}\right).

(b)

(Int⁡A)C=AC‾(\operatorname {Int} A)^{C}=\overline{A^{C}}.

Problem 2.1.39

Prove or disprove: in a metric space ( M,dM, d ) the closure of an open ball B(c,r)B(c, r) is the closed ball B[c,r]B[c, r].

?
Problem 2.1.40

Prove that the boundary of the interval [a,b)[a, b) is the set {a,b}\left\{ a, b\right\}.

?
Problem 2.1.41

Prove that the boundary of Q\mathbb {Q} is the set R\mathbb {R}.

?
Problem 2.1.42

Prove that the boundary of any set is closed.

?
Problem 2.1.43

Prove that a point xx in a metric space belongs to ∂A\partial A if and only if every ball B(x,r)B(x, r) has a nonempty intersection with both AA and ACA^{C}.

?
Problem 2.1.44

Prove that a set is closed if and only if it contains its boundary.

?
Problem 2.1.45

Prove that the interior of the boundary of a closed set is the empty set.

?
Problem 2.1.46

Give an example of a metric space in which the boundary of the open unit ball is a proper subspace of the unit sphere with the same center.

?
Problem 2.2.1

Prove that in a metric space every convergent sequence is a Cauchy sequence.

?
Problem 2.2.2

Prove that if a sequence {xn}n=1∞\left\{ x_{n}\right\}_{n=1}^{\infty } does not converge to xx then there is an open ball B(x,r)B(x, r) that contains no members of the sequence.

?
Problem 2.2.3

Let GG be an open set in Rn\mathbb {R}^{n}, let x0∈Rnx_{0} \in \mathbb {R}^{n}, and let {xn}\left\{ x_{n}\right\} be a sequence in Rn\mathbb {R}^{n} that converges to x0x_{0}. Prove that G+x0⊂lim inf⁡(G+xn)G+x_{0} \subset \liminf \left(G+x_{n}\right).

?
Problem 2.2.4

Let FF be a closed set in Rn\mathbb {R}^{n}, let x0∈Rnx_{0} \in \mathbb {R}^{n}, and let {xn}\left\{ x_{n}\right\} be a sequence in Rn\mathbb {R}^{n} that converges to x0x_{0}. Prove that F+x0⊃lim sup⁡(F+xn)F+x_{0} \supset \limsup \left(F+x_{n}\right).

?
Problem 2.2.5

Let AA be a set in a metric space MM and let aa be a cluster point of AA. Prove that there is a sequence {an}⊂A\left\{ a_{n}\right\} \subset A that converges to aa.

?
Problem 2.2.6

Let ( M,dM, d ) be a metric space, and let lim⁡xn=x,lim⁡yn=y\lim x_{n}=x, \lim y_{n}=y. Prove that lim⁡d(xn,yn)=d(x,y)\lim d\left(x_{n}, y_{n}\right)=d(x, y).

?
Problem 2.2.7

In Exercises 2.2.7-2.2.9, {aij}i,j=1∞\left\{ a_{i j}\right\}_{i, j=1}^{\infty } is a sequence of nonnegative real numbers.

Prove that ∑i=1∞∑j=1∞aij=∑j=1∞∑i=1∞aij\sum_{i=1}^{\infty } \sum_{j=1}^{\infty } a_{i j}=\sum_{j=1}^{\infty } \sum_{i=1}^{\infty } a_{i j}.

?
Problem 2.2.8

In Exercises 2.2.7-2.2.9, {aij}i,j=1∞\left\{ a_{i j}\right\}_{i, j=1}^{\infty } is a sequence of nonnegative real numbers.

Prove that sup⁡i=1∞sup⁡j=1∞aij=sup⁡j=1∞sup⁡i=1∞aij\sup_{i=1}^{\infty } \sup_{j=1}^{\infty } a_{i j}=\sup_{j=1}^{\infty } \sup_{i=1}^{\infty } a_{i j}.

?
Problem 2.2.9

In Exercises 2.2.7-2.2.9, {aij}i,j=1∞\left\{ a_{i j}\right\}_{i, j=1}^{\infty } is a sequence of nonnegative real numbers.

Prove that sup⁡i=1∞∑j=1∞aij≤∑j=1∞sup⁡i=1∞aij\sup_{i=1}^{\infty } \sum_{j=1}^{\infty } a_{i j} \leq \sum_{j=1}^{\infty } \sup_{i=1}^{\infty } a_{i j}. Give an example to show that the inequality may be strict.

?
Problem 2.2.10

Let F⊂RF \subset \mathbb {R} be a closed set that is contained in the disjoint union of intervals (a,b)(a, b) and (c,d)(c, d). Prove that F∩(a,b)F \cap (a, b) is a closed set.

?
Problem 2.2.11

Let A,BA, B be closed subsets of R\mathbb {R}. Prove that A×BA \times B is a closed subset of R2\mathbb {R}^{2}.

?
Problem 2.2.12

Prove that in a metric space every closed set is a GδG_{\delta } set and that every open set is an FσF_{\sigma } set.

?
Problem 2.2.13

Prove that the metric space ([0,1],d)([0,1], d), where d(x,y)=∣x−y∣d(x, y)=\left|x-y\right|, is complete.

?
Problem 2.2.14

Prove that Euclidean space Rn\mathbb {R}^{n} is complete.

?
Problem 2.2.15

Prove that the metric space (Q,d)(\mathbb {Q}, d), where d(x,y)=∣x−y∣d(x, y)=\left|x-y\right|, is not complete.

?
Problem 2.2.16

Prove that the set of all polynomials on [0,1][0,1] with the metric d(p,q):=max⁡{∣p(x)−q(x)∣:0≤x≤1}d(p, q):= \max \left\{ \left|p(x)-q(x)\right|: 0 \leq x \leq 1\right\} is not a complete metric space.

?
Problem 2.2.17

Prove that the set C[0,1]C[0,1] with the metric

d(f,g):=∫01∣f(x)−g(x)∣dx d(f, g):=\int _{0}^{1}\left|f(x)-g(x)\right| d x

is not complete.

?
Problem 2.2.18

Prove that if a subspace of a metric space is complete then it is closed.

?
Problem 2.2.19

Give an example of a metric space ( M,dM, d ) and a closed set A⊂MA \subset M that is not complete.

?
Problem 2.2.20

Let {xn}\left\{ x_{n}\right\} be a convergent sequence in a metric space. Prove that every subsequence of {xn}\left\{ x_{n}\right\} converges to the same limit.

?
Problem 2.2.21

Let {xn}\left\{ x_{n}\right\} be a sequence in a metric space and suppose that each of its three subsequences {x2n},{x2n+1}\left\{ x_{2 n}\right\} ,\left\{ x_{2 n+1}\right\}, and {x3n}\left\{ x_{3 n}\right\} is convergent. Prove that {xn}\left\{ x_{n}\right\} is a convergent sequence.

?
Problem 2.2.22

Let {xn}\left\{ x_{n}\right\} be a sequence in a metric space and suppose that each of its infinitely many subsequences {xsn}\left\{ x_{s n}\right\}, where s=2,3,…s=2,3, \ldots, is convergent. Prove or disprove: {xn}\left\{ x_{n}\right\} is a convergent sequence.

?
Problem 2.2.23

Let {xn}\left\{ x_{n}\right\} be a sequence in a metric space ( M,dM, d ), let x∈Mx \in M, and suppose that each subsequence {xnk}⊂{xn}\left\{ x_{n_{k}}\right\} \subset \left\{ x_{n}\right\} has a further subsequence {yn}\left\{ y_{n}\right\} which converges to xx. Prove that {xn}\left\{ x_{n}\right\} converges to xx.

?
Problem 2.2.24

Let ( X,dX, d ) be a metric space that is not complete and let {xn}\left\{ x_{n}\right\} be a Cauchy sequence in XX that is not convergent. Prove that the set E={xn}E=\left\{ x_{n}\right\} is closed.

?
Problem 2.2.25

In Exercises 2.2.25-2.2.28, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in ( 0,1 ).

xn=1/nx_{n}=1 / n.

?
Problem 2.2.26

In Exercises 2.2.25-2.2.28, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in ( 0,1 ).

1,0,1/2,0,1/3,0,1/4,0,…1,0,1 / 2,0,1 / 3,0,1 / 4,0, \ldots.

?
Problem 2.2.27

In Exercises 2.2.25-2.2.28, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in ( 0,1 ).

xn=en/n!x_{n}=e^{n} / n!.

?
Problem 2.2.28

In Exercises 2.2.25-2.2.28, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in ( 0,1 ).

1,1,1/4,1/4,1/9,1/9,1/16,1/16,…1,1,1 / 4,1 / 4,1 / 9,1 / 9,1 / 16,1 / 16, \ldots.

?
Problem 2.2.29

In Exercises 2.2.29-2.2.32, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in the metric space C[0,1]C[0,1] (see Exercise 2.1.2).

fn(x)=xnf_{n}(x)=x^{n}

?
Problem 2.2.30

In Exercises 2.2.29-2.2.32, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in the metric space C[0,1]C[0,1] (see Exercise 2.1.2).

fn(x)=xn/nf_{n}(x)=x^{n} / n

?
Problem 2.2.31

In Exercises 2.2.29-2.2.32, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in the metric space C[0,1]C[0,1] (see Exercise 2.1.2).

fn(x)=xn/nf_{n}(x)=x^{n} / \sqrt{n}

?
Problem 2.2.32

In Exercises 2.2.29-2.2.32, determine which of the following sequences is (a) a Cauchy sequence, (b) a rapidly Cauchy sequence in the metric space C[0,1]C[0,1] (see Exercise 2.1.2).

fn(x)=sin⁡nxf_{n}(x)=\sin n x

?
Problem 2.2.33

Prove Theorem 2.2.23.

Theorem 2.2.23: A metric space is complete if and only if every rapidly Cauchy sequence converges. (A sequence (xn)n=1∞\left(x_{n}\right)_{n=1}^{\infty } in a metric space (M,d)(M,d) is rapidly Cauchy if there is a convergent series of positive numbers ∑k=1∞εk\sum_{k=1}^{\infty } \varepsilon_{k} such that d(xk+1,xk)≤εk2d(x_{k+1}, x_{k}) \leq \varepsilon_{k}^{2} for all kk.)

?
Problem 2.3.1

Prove that a Cauchy sequence in a metric space is bounded.

?
Problem 2.3.2

Prove that every totally bounded metric space is bounded.

?
Problem 2.3.3

Prove that every bounded subset of Rn\mathbb {R}^{n} is totally bounded.

?
Problem 2.3.4

Prove that the closure of a totally bounded set in a metric space is totally bounded.

?
Problem 2.3.5

Prove that a metric space ( M,dM, d ) is totally bounded if and only if every sequence in MM has a Cauchy subsequence.

?
Problem 2.3.6

Prove that the closure of a bounded set in a metric space is bounded.

?
Problem 2.3.7

Prove that a compact set in a metric space is closed.

?
Problem 2.3.8

Prove that a closed subset of a compact metric space is compact.

?
Problem 2.3.9

Prove that a metric space ( M,dM, d ) is compact if and only if every infinite subset of MM has a cluster point in MM.

?
Problem 2.3.10

Prove that a subset of a complete metric space MM is compact if and only if it is totally bounded and closed.

?
Problem 2.3.11

In the metric space (Q,d)(\mathbb {Q}, d), where d(x,y)=∣x−y∣d(x, y)=\left|x-y\right|, determine all subspaces that are:

?
(a)

complete.

(b)

compact.

Problem 2.3.12

Prove or disprove: the set N\mathbb {N} is a compact subset of ( R,d\mathbb {R}, d ), where d(x,y)=∣x−y∣d(x, y)=\left|x-y\right|.

?
Problem 2.3.13

Let ( M,dM, d ) be a complete metric space. Prove that a set A⊂MA \subset M is totally bounded if and only if Aˉ\bar{A} is compact.

?
Problem 2.3.14

Let ( M,dM, d ) be the metric space of all bounded sequences, with metric d(a,b)=sup⁡{∣an−bn∣:n∈N}d(a, b)=\sup \left\{ \left|a_{n}-b_{n}\right|: n \in \mathbb {N}\right\}, where a={an}a=\left\{ a_{n}\right\} and b={bn}b=\left\{ b_{n}\right\}. (See Exercise 2.1.13.) Let BB be the closed ball of radius 1 centered at the zero sequence (0,0,…)(0,0, \ldots ). Prove that BB is bounded and closed but not sequentially compact.

?
Problem 2.3.15

Let ( M,dM, d ) be a metric space and let A⊂MA \subset M be a set such that A∩KA \cap K is compact for every compact set K⊂MK \subset M. Prove that AA is closed in MM.

?
Problem 2.3.16

Let ( M,dM, d ) be a metric space. Prove that the distance between a closed set and a compact set that are disjoint cannot be 0 . Give an example to show that this is false if both sets are only closed.

?
Problem 2.3.17

Let K1,K2K_{1}, K_{2} be disjoint compact subsets of a metric space ( M,dM, d ). Prove that there exist disjoint, open sets G1,G2G_{1}, G_{2} such that K1⊂G1K_{1} \subset G_{1} and K2⊂G2K_{2} \subset G_{2}.

?
Problem 2.3.18

Prove that a metric space MM is compact if and only if every collection of closed subsets of MM with the finite intersection property (meaning that every finite subcollection has non-empty intersection) has a non-empty intersection.

?
Problem 2.3.19

Prove that a metric space MM is compact if and only if every decreasing sequence of nonempty closed sets in MM has nonempty intersection.

?
Problem 2.3.20

Prove that the union of a finite number of compact sets in a metric space is compact.

?
Problem 2.3.21

Let MM be a compact metric space and let {Gn}n=1∞\left\{ G_{n}\right\}_{n=1}^{\infty } be an increasing sequence of open subsets of MM such that M=∪n=1∞GnM=\cup_{n=1}^{\infty } G_{n}. Prove that M=GkM=G_{k} for some k∈Nk \in \mathbb {N}.

?
Problem 2.3.22

Let {Mi}i=1n\left\{ M_{i}\right\}_{i=1}^{n} be compact metric spaces. Prove that M:=M1×M2×⋯×MnM:=M_{1} \times M_{2} \times \cdots \times M_{n} is a compact metric space with respect to metric dd as in Exercise 2.1.14.

?
Problem 2.3.23

Determine if C[0,1]C[0,1] is sequentially compact.

?
Problem 2.3.24

Determine if the metric space ( M,dM, d ) is sequentially compact, where d(x,y)=0d(x, y)=0 if x=yx=y and d(x,y)=1d(x, y)=1 if x≠yx \neq y.

?
Problem 2.3.25

Determine if the metric space ( R,d\mathbb {R}, d ) is sequentially compact, where

d(x,y):=∣x−y∣1+∣x−y∣ d(x, y):=\frac{\left|x-y\right|}{1+\left|x-y\right|}
?
Problem 2.3.26

Determine if the metric space ( C[0,1],dC[0,1], d ) is sequentially compact, where

d(f,g):=∫01∣f(x)−g(x)∣dx d(f, g):=\int _{0}^{1}\left|f(x)-g(x)\right| d x
?
Problem 2.3.27

Determine if the metric space (C(−∞,∞),d)(C(-\infty , \infty ), d) is sequentially compact, where

d(f,g):=∑n=1∞12nmax⁡{∣f(x)−g(x)∣:∣x∣≤n}1+max⁡{∣f(x)−g(x)∣:∣x∣≤n} d(f, g):=\sum _{n=1}^{\infty } \frac{1}{2^{n}} \frac{\max \left\{ \left|f(x)-g(x)\right|:\left|x\right| \leq n\right\} }{1+\max \left\{ \left|f(x)-g(x)\right|:\left|x\right| \leq n\right\} }
?
Problem 2.3.28

Prove Theorem 2.3.18.

Theorem 2.3.18: Let (M,d)(M,d) be a compact metric space and let f:M→Rf: M \rightarrow \mathbb {R} be continuous. Then ff is bounded and it attains its extreme values on MM.

?
Problem 2.3.29

Let ( M,dM, d ) be a metric space and let f,g:M→Rf, g: M \rightarrow \mathbb {R} be continuous. Prove that max⁡{f,g}\max \left\{ f, g\right\} and min⁡{f,g}\min \left\{ f, g\right\} are continuous.

?
Problem 2.3.30

Let f:R→Rf: \mathbb {R} \rightarrow \mathbb {R}, let x0∈Rx_{0} \in \mathbb {R}, and suppose that for every interval (a,b)(a, b) that contains x0x_{0}, the function ff is unbounded on ( a,ba, b ). Prove that ff is not continuous at x0x_{0}.

?
Problem 2.3.31

Let ( M,dM, d ) be a metric space, let f:M→Rf: M \rightarrow \mathbb {R} be continuous, and let E⊂ME \subset M. Prove that sup⁡{∣f(x)∣:x∈E}=sup⁡{∣f(x)∣:x∈Eˉ}\sup \left\{ \left|f(x)\right|: x \in E\right\} =\sup \left\{ \left|f(x)\right|: x \in \bar{E}\right\}.

?
Problem 2.3.32

Let f:R→Rf: \mathbb {R} \rightarrow \mathbb {R} be a strictly increasing continuous function. Prove that f−1f^{-1} is continuous.

?
Problem 2.3.33

Let ( M,dM, d ) be a metric space, let f,g:M→Rf, g: M \rightarrow \mathbb {R} be continuous, and let α∈R\alpha \in \mathbb {R}. Prove that αf,f+g\alpha f, f+g and fgf g are continuous functions. Moreover, if g(x)≠0g(x) \neq 0 on MM, prove that f/gf / g is continuous.

?
Problem 2.3.34

Let ff be a real-valued function on a metric space XX. Show that the set of points at which ff is continuous is the intersection of a countable collection of open sets. Conclude that there is no real-valued function on R\mathbb {R} that is continuous at the rational numbers only.

?
Problem 2.3.35

Let ( M,dM, d ) be a metric space and KK a compact subset of MM. Suppose that a function f:K→Rf: K \rightarrow \mathbb {R} is continuous. Prove that f(K)f(K) is a compact subset of R\mathbb {R}.

?
Problem 2.3.36

Let ( M,dM, d ) be a metric space and A⊂MA \subset M. Suppose that functions f,g:M→Rf, g: M \rightarrow \mathbb {R} are continuous and f(x)=g(x)f(x)=g(x) when x∈Ax \in A. Prove that f(x)=g(x)f(x)=g(x) for all x∈Aˉx \in \bar{A}.

?
Problem 2.3.37

Let ( M,dM, d ) be a metric space, let A⊂MA \subset M, and let h(x)=d(x,A)=inf⁡{d(x,a):a∈A}h(x)=d(x, A)= \inf \left\{ d(x, a): a \in A\right\}. Prove that dd is a continuous function on MM.

?
Problem 2.3.38

Let ( M,dM, d ) be a metric space and let AA and BB be disjoint, closed subsets of MM. Prove that there exists a continuous, real-valued function ff on MM such that 0≤f(x)≤10 \leq f(x) \leq 1, for all x∈Mx \in M, f(x)=0f(x)=0 on AA, and f(x)=1f(x)=1 on BB.

?
Problem 2.3.39

Let {fn}\left\{ f_{n}\right\} be a sequence of continuous functions that converge to ff uniformly on [a,b][a, b] and let {xn}\left\{ x_{n}\right\} be a sequence in [a,b][a, b] that converges to xx. Prove that {fn(xn)}\left\{ f_{n}\left(x_{n}\right)\right\} converges to f(x)f(x).

?
Problem 2.3.40

Prove Theorem 2.3.17.

Theorem 2.3.17: Let (M,d)(M,d) be a metric space. Every uniformly continuous map f:M1→M2f: M_{1} \rightarrow M_{2} is continuous. If, in addition, M1M_{1} is compact then every continuous map f:M1→M2f: M_{1} \rightarrow M_{2} is uniformly continuous.

?
Problem 2.3.41

Determine whether the function FF in Example 2.3.12 is uniformly continuous on C[0,1]C[0,1].

Example 2.3.12: Let a∈[0,1]a \in [0,1]. The function F:C[0,1]→RF: C[0,1] \rightarrow \mathbb {R}, defined by F(f)=f(a)F(f) = f(a), is continuous on the metric space C[0,1]C[0,1].

?
Problem 2.3.42

Determine whether the function FF in Example 2.3.12 is continuous on ( C[0,1],dC[0,1], d ) with dd defined as in Exercise 2.1.3, by

d(f,g)=∫01∣f(x)−g(x)∣dx d(f, g)=\int _{0}^{1}\left|f(x)-g(x)\right| d x

Is it uniformly continuous?

Example 2.3.12: Let a∈[0,1]a \in [0,1]. The function F:C[0,1]→RF: C[0,1] \rightarrow \mathbb {R}, defined by F(f)=f(a)F(f)=f(a), is continuous on the metric space C[0,1]C[0,1] with the metric d(f,g)=sup⁡{∣f(x)−g(x)∣:x∈[0,1]}d(f, g)=\sup \left\{ \left|f(x)-g(x)\right|: x \in [0,1]\right\}.

?
Problem 2.3.43

Let ( M,dM, d ) be a metric space and {xn}⊂A⊂M\left\{ x_{n}\right\} \subset A \subset M a Cauchy sequence. Suppose that a function f:M→Rf: M \rightarrow \mathbb {R} is uniformly continuous on AA. Prove that {f(xn)}\left\{ f\left(x_{n}\right)\right\} is a Cauchy sequence in R\mathbb {R}. What if ff is assumed to be only continuous?

?
Problem 2.3.44

Let ( M,dM, d ) be a metric space and let f:M→Rf: M \rightarrow \mathbb {R}. Prove that the following statements are equivalent:

?
(a)

The function is upper semicontinuous at every point of MM.

(b)

All sets {x∈M:f(x)<y}\left\{ x \in M: f(x)<y\right\} with y∈Ry \in \mathbb {R} are open in MM.

(c)

All sets {x∈M:f(x)≥y}\left\{ x \in M: f(x) \geq y\right\} with y∈Ry \in \mathbb {R} are closed in MM.

Problem 2.3.45

Prove that the function f=χ(0,1]f=\chi_{(0,1]} is upper semicontinuous at every point except at x=0x=0 and it is lower semicontinuous at every point except at x=1x=1.

?
Problem 2.3.46

Let ( M,dM, d ) be a metric space. Suppose that, for every ε>0\varepsilon >0, there exists δ>0\delta >0, a metric space ( W,ρW, \rho ), and a mapping Φ:M→W\Phi : M \rightarrow W so that Φ(M)\Phi (M) is totally bounded, and whenever x,y∈Mx, y \in M are such that ρ(Φ(x),Φ(y))<δ\rho (\Phi (x), \Phi (y))<\delta, then d(x,y)<εd(x, y)<\varepsilon. Prove that MM is totally bounded.

?
Problem 2.3.47

Prove Banach Fixed-point Theorem (Theorem 2.3.21).

Theorem 2.3.21 (Banach Fixed-point Theorem): A contraction on a metric space has exactly one fixed point, i.e., the point xx such that f(x)=xf(x)=x.

?
Problem 2.4.1

Let ( M,dM, d ) be a metric space, A⊂M,f,g:M→RA \subset M, f, g: M \rightarrow \mathbb {R}, and let aa be a cluster point of AA. Also, let α\alpha be a real number. If lim⁡x→af(x)\lim_{x \rightarrow a} f(x) and lim⁡x→ag(x)\lim_{x \rightarrow a} g(x) both exist prove that

?
(a)

lim⁡x→a(αf(x))=αlim⁡x→af(x);\lim_{x \rightarrow a}(\alpha f(x))=\alpha \lim_{x \rightarrow a} f(x) ;

(b)

lim⁡x→a(f(x)+g(x))=lim⁡x→af(x)+lim⁡x→ag(x)\lim_{x \rightarrow a}(f(x)+g(x))=\lim_{x \rightarrow a} f(x)+\lim_{x \rightarrow a} g(x);

(c)

lim⁡x→a(f(x)g(x))=(lim⁡x→af(x))(lim⁡x→ag(x))\lim_{x \rightarrow a}(f(x) g(x))=\left(\lim_{x \rightarrow a} f(x)\right)\left(\lim_{x \rightarrow a} g(x)\right);

(d)

lim⁡x→a(f(x)/g(x))=lim⁡x→af(x)/lim⁡x→ag(x)\lim_{x \rightarrow a}(f(x) / g(x))=\lim_{x \rightarrow a} f(x) / \lim_{x \rightarrow a} g(x), with the additional assumption that lim⁡x→ag(x)≠0\lim_{x \rightarrow a} g(x) \neq 0.

Problem 2.4.2

Let ( M,dM, d ) be a metric space, A⊂MA \subset M, and f,g:M→Rf, g: M \rightarrow \mathbb {R} satisfy f(x)<g(x)f(x)<g(x) for all x∈Ax \in A. If aa is a cluster point of AA and if lim⁡x→af(x)\lim_{x \rightarrow a} f(x) and lim⁡x→ag(x)\lim_{x \rightarrow a} g(x) both exist to prove that lim⁡x→af(x)≤lim⁡x→ag(x)\lim_{x \rightarrow a} f(x) \leq \lim_{x \rightarrow a} g(x).

?
Problem 2.4.3

Let F:C[0,1]→RF: C[0,1] \rightarrow \mathbb {R} be defined by F(f)=f(0)F(f)=f(0), and let g(x)=x2g(x)=x^{2}. Find lim⁡f→gF(f)\lim_{f \rightarrow g} F(f).

?
Problem 2.4.4

Let dd be a metric on C[0,1]C[0,1] defined by

d(f,g)=∫01∣f(x)−g(x)∣dx d(f, g)=\int _{0}^{1}\left|f(x)-g(x)\right| d x

(see Exercise 2.1.3). Let F:C[0,1]→RF: C[0,1] \rightarrow \mathbb {R} be defined by F(f)=f(0)F(f)=f(0), and let g(x)=x2g(x)=x^{2}. Find lim⁡f→gF(f)\lim_{f \rightarrow g} F(f).

?
Problem 2.4.5

Let dd be a metric on R\mathbb {R} defined by

d(x,y):=∣x−y∣1+∣x−y∣ d(x, y):=\frac{\left|x-y\right|}{1+\left|x-y\right|}

(see Exercise 2.1.8), and let ρ\rho denote the usual distance on R,ρ(x,y)=∣x−y∣\mathbb {R}, \rho (x, y)=\left|x-y\right|. Let f:(R,d)→(R,ρ)f:(\mathbb {R}, d) \rightarrow (\mathbb {R}, \rho ) be defined by f(x)=x2f(x)=x^{2}. Find lim⁡x→2f(x)\lim_{x \rightarrow 2} f(x).

?
Problem 2.4.6

Prove Theorem 2.4.5.

Theorem 2.4.5: Let (an)n=1∞\left(a_{n}\right)_{n=1}^{\infty } be a sequence of real numbers. Then

lim sup⁡an=inf⁡k≥1sup⁡n≥kanandlim inf⁡an=sup⁡k≥1inf⁡n≥kan. \limsup a_{n} = \inf _{k \geq 1} \sup _{n \geq k} a_{n} \quad \text{and} \quad \liminf a_{n} = \sup _{k \geq 1} \inf _{n \geq k} a_{n}.
?
Problem 2.4.7

Let ( M,dM, d ) be a metric space, let f:M→Rf: M \rightarrow \mathbb {R}, and let a∈Ma \in M. Prove that lim sup⁡x→af(x)\limsup_{x \rightarrow a} f(x) and lim inf⁡x→af(x)\liminf_{x \rightarrow a} f(x) always exist either as finite numbers or ±∞\pm \infty.

?
Problem 2.4.8

Let {an}\left\{ a_{n}\right\} be a sequence of real numbers. Prove that lim⁡sup⁡an\lim \sup a_{n} equals lim sup⁡x→0f(x)\limsup_{x \rightarrow 0} f(x), where the function f:{1,1/2,1/3,…}→Rf:\left\{ 1,1 / 2,1 / 3, \ldots \right\} \rightarrow \mathbb {R} is defined by f(1/n)=anf(1 / n)=a_{n}.

?
Problem 2.4.9

Prove that lim⁡x→af(x)\lim_{x \rightarrow a} f(x) exists if and only if both limit superiors and both limit inferiors (left and right) are all equal.

?
Problem 2.4.10

If ff is defined on [−c,c][-c, c] and x0∈(−c,c)x_{0} \in (-c, c), prove the following:

?
(a)

lim sup⁡sup⁡x→x0+(−f(x))=−lim inf⁡x→x0+f(x),lim sup⁡x→x0−(−f(x))=−lim inf⁡x→x0−f(x)\limsup \sup_{x \rightarrow x_{0}+}(-f(x))=-\liminf_{x \rightarrow x_{0}+} f(x), \limsup_{x \rightarrow x_{0}-}(-f(x))= -\liminf_{x \rightarrow x_{0}-} f(x).

(b)

lim sup⁡x→x0+(f(−x))=lim sup⁡x→−x0−f(x),lim inf⁡x→x0+(f(−x))=lim inf⁡x→−x0−f(x)\limsup_{x \rightarrow x_{0}+}(f(-x))=\limsup_{x \rightarrow -x_{0}-} f(x), \liminf_{x \rightarrow x_{0}+}(f(-x))= \liminf_{x \rightarrow -x_{0}-} f(x).

(c)

lim sup⁡sup⁡x→x0−(f(−x))=lim sup⁡x→−x0+f(x),lim inf⁡x→x0−(f(−x))=lim inf⁡x→−x0+f(x)\limsup \sup_{x \rightarrow x_{0}-}(f(-x))=\limsup_{x \rightarrow -x_{0}+} f(x), \liminf_{x \rightarrow x_{0}-}(f(-x))= \liminf_{x \rightarrow -x_{0}+} f(x).

Problem 2.4.11

Let ( M,dM, d ) be a metric space, let f:M→Rf: M \rightarrow \mathbb {R}, and let g:M→Rg: M \rightarrow \mathbb {R} be defined by g(x)=lim sup⁡t→xf(t)g(x)=\limsup_{t \rightarrow x} f(t). Prove that gg is upper semicontinuous.

?
Problem 2.4.12

Let {An}\left\{ A_{n}\right\} be an arbitrary collection of subsets of a set XX. Prove that

lim sup⁡An={x∈X:lim sup⁡χAn(x)=1}. \limsup A_{n}=\left\{ x \in X: \limsup \chi _{A_{n}}(x)=1\right\} .
?
Problem 2.4.13

Let ( M,dM, d ) be a metric space and for every n∈Nn \in \mathbb {N} let fn:M→[0,+∞]f_{n}: M \rightarrow [0,+\infty ]. Prove that

sup⁡{∑k=1∞fk(xk):{xk}⊂M}=∑k=1∞sup⁡{fk(x):x∈M}. \sup \left\{ \sum _{k=1}^{\infty } f_{k}\left(x_{k}\right):\left\{ x_{k}\right\} \subset M\right\} =\sum _{k=1}^{\infty } \sup \left\{ f_{k}(x): x \in M\right\} .
?
Problem 2.4.14

Let ff and gg be real-valued functions on an interval (a−η,a+η)(a-\eta , a+\eta ). Prove that

lim inf⁡x→af(x)+lim inf⁡x→ag(x)≤lim inf⁡x→a(f(x)+g(x))≤lim inf⁡x→af(x)+lim sup⁡x→ag(x)≤lim sup⁡x→a(f(x)+g(x))≤lim sup⁡x→af(x)+lim sup⁡x→ag(x) \begin{aligned} \liminf _{x \rightarrow a} f(x)+ & \liminf _{x \rightarrow a} g(x) \leq \liminf _{x \rightarrow a}(f(x)+g(x)) \leq \liminf _{x \rightarrow a} f(x)+\limsup _{x \rightarrow a} g(x) \\ & \leq \limsup _{x \rightarrow a}(f(x)+g(x)) \leq \limsup _{x \rightarrow a} f(x)+\limsup _{x \rightarrow a} g(x) \end{aligned}
?
Problem 2.4.15

Let ff and gg be strictly positive functions on an interval (a−η,a+η)(a-\eta , a+\eta ) and suppose that lim inf⁡x→af(x)\liminf_{x \rightarrow a} f(x) and lim sup⁡x→af(x)\limsup_{x \rightarrow a} f(x) exist and are not 0 . Prove that:

?
(a)

lim sup⁡x→a1f(x)=1lim inf⁡x→af(x)\limsup_{x \rightarrow a} \frac{1}{f(x)}=\frac{1}{\liminf_{x \rightarrow a} f(x)}.

(b)

lim inf⁡x→a1f(x)=1lim sup⁡x→af(x)\liminf_{x \rightarrow a} \frac{1}{f(x)}=\frac{1}{\limsup_{x \rightarrow a} f(x)}.

Problem 2.4.16

Let ff and gg be nonnegative functions on an interval ( a−η,a+η)a-\eta , a+ \eta ) and suppose that lim inf⁡x→af(x),lim sup⁡x→af(x),lim inf⁡x→ag(x)\liminf_{x \rightarrow a} f(x), \limsup_{x \rightarrow a} f(x), \liminf_{x \rightarrow a} g(x), and lim sup⁡x→ag(x)\limsup_{x \rightarrow a} g(x) exist and are not 0 . Prove that

lim inf⁡x→af(x)⋅lim inf⁡x→ag(x)≤lim inf⁡x→a(f(x)⋅g(x))≤lim inf⁡x→af(x)⋅lim sup⁡x→ag(x)≤lim sup⁡x→a(f(x)⋅g(x))≤lim sup⁡x→af(x)⋅lim sup⁡x→ag(x) \begin{aligned} \liminf _{x \rightarrow a} f(x) \cdot \liminf _{x \rightarrow a} g(x) & \leq \liminf _{x \rightarrow a}(f(x) \cdot g(x)) \leq \liminf _{x \rightarrow a} f(x) \cdot \limsup _{x \rightarrow a} g(x) \\ & \leq \limsup _{x \rightarrow a}(f(x) \cdot g(x)) \leq \limsup _{x \rightarrow a} f(x) \cdot \limsup _{x \rightarrow a} g(x) \end{aligned}
?
Problem 2.4.17

Let ff and gg be nonnegative functions on an interval ( a−η,a+ηa-\eta , a+\eta ) and suppose that lim⁡x→af(x)\lim_{x \rightarrow a} f(x) exists. Prove that:

?
(a)

lim sup⁡sup⁡x→a(f(x)+g(x))=lim⁡x→af(x)+lim sup⁡x→ag(x)\limsup \sup_{x \rightarrow a}(f(x)+g(x))=\lim_{x \rightarrow a} f(x)+\limsup_{x \rightarrow a} g(x).

(b)

lim inf⁡x→a(f(x)+g(x))=lim⁡x→af(x)+lim inf⁡x→ag(x)\liminf_{x \rightarrow a}(f(x)+g(x))=\lim_{x \rightarrow a} f(x)+\liminf_{x \rightarrow a} g(x).

(c)

lim sup⁡x→a(f(x)⋅g(x))=lim⁡x→af(x)⋅lim sup⁡x→ag(x)\limsup_{x \rightarrow a}(f(x) \cdot g(x))=\lim_{x \rightarrow a} f(x) \cdot \limsup_{x \rightarrow a} g(x).

(d)

lim inf⁡x→a(f(x)⋅g(x))=lim⁡x→af(x)⋅lim inf⁡x→ag(x)\liminf_{x \rightarrow a}(f(x) \cdot g(x))=\lim_{x \rightarrow a} f(x) \cdot \liminf_{x \rightarrow a} g(x).

Problem 2.4.18

Let ( M,dM, d ) be a metric space, A⊂MA \subset M, and f:M→Rf: M \rightarrow \mathbb {R}. If aa is a cluster point of AA prove that:

?
(a)

If y<inf⁡W(f,a)y<\inf W(f, a), then there exists δ>0\delta >0 such that f(x)>yf(x)>y whenever 0<d(x,a)<δ,x∈A0<d(x, a)<\delta , x \in A.

(b)

If y>inf⁡W(f,a)y>\inf W(f, a), then for every δ>0\delta >0, there exists x∈Ax \in A with 0<d(x,a)<δ0<d(x, a)<\delta, such that f(x)<yf(x)<y.

Problem 2.4.19

Prove Corollary 2.4.9.

Corollary 2.4.9: Let (M,d)(M,d) be a metric space, let f:M→Rf: M \rightarrow \mathbb {R}, and let A⊂MA \subset M. If aa is a cluster point of AA then

lim sup⁡x→af(x)=sup⁡W(f,a), \limsup _{x \rightarrow a} f(x) = \sup W(f, a),

where W(f,a)={w:∃(an)⊂A∖{a},lim⁡an=a,lim⁡f(an)=w}W(f, a) = \left\{ w : \exists \left(a_{n}\right) \subset A \setminus \left\{ a\right\} , \lim a_{n} = a, \lim f(a_{n}) = w\right\} is the set of all subsequential limits of ff along sequences in A∖{a}A \setminus \left\{ a\right\} converging to aa.

?
Problem 2.4.20

Let ( M,dM, d ) be a metric space, let f:M→Rf: M \rightarrow \mathbb {R}, and let A⊂MA \subset M. If aa is a cluster point of AA prove that

lim inf⁡x→af(x)=inf⁡W(f,a). \liminf _{x \rightarrow a} f(x)=\inf W(f, a) .
?
Problem 2.4.21

Let a∈Ra \in \mathbb {R} and f:(a,+∞)→Rf:(a,+\infty ) \rightarrow \mathbb {R}. Prove that the limit lim⁡x→+∞f(x)\lim_{x \rightarrow +\infty } f(x) exists if and only if lim sup⁡x→+∞f(x)=lim inf⁡x→+∞f(x)\limsup_{x \rightarrow +\infty } f(x)=\liminf_{x \rightarrow +\infty } f(x) and in this situation they are all equal.

?
Problem 2.4.22

Let f:R→Rf: \mathbb {R} \rightarrow \mathbb {R}. Prove that

?
(a)

lim sup⁡sup⁡x→+∞(−f(x))=−lim inf⁡x→+∞f(x),lim sup⁡x→+∞(−f(x))=−lim inf⁡x→+∞f(x)\limsup \sup_{x \rightarrow +\infty }(-f(x))=-\liminf_{x \rightarrow +\infty } f(x), \limsup_{x \rightarrow +\infty }(-f(x))= -\liminf_{x \rightarrow +\infty } f(x).

(b)

lim sup⁡x→+∞(f(−x))=lim sup⁡x→−∞f(x),lim inf⁡x→+∞(f(−x))=lim inf⁡x→−∞f(x)\limsup_{x \rightarrow +\infty }(f(-x))=\limsup_{x \rightarrow -\infty } f(x), \liminf_{x \rightarrow +\infty }(f(-x))= \liminf_{x \rightarrow -\infty } f(x).

Problem 2.4.23

Let a∈Ra \in \mathbb {R} and f:(a,+∞)→Rf:(a,+\infty ) \rightarrow \mathbb {R}. Prove that lim sup⁡x→+∞f(x)=L\limsup_{x \rightarrow +\infty } f(x)=L if and only if, for any sequence {an}\left\{ a_{n}\right\} converging to +∞,lim sup⁡x→+∞f(an)=L+\infty , \limsup_{x \rightarrow +\infty } f\left(a_{n}\right)=L.

?
Problem 2.4.24

Let f:(a,+∞)→Rf:(a,+\infty ) \rightarrow \mathbb {R}. Prove that

lim sup⁡x→∞f(x)=sup⁡W(f,∞) and lim inf⁡x→∞f(x)=inf⁡W(f,∞) \limsup _{x \rightarrow \infty } f(x)=\sup W(f, \infty ) \quad \text{ and } \quad \liminf _{x \rightarrow \infty } f(x)=\inf W(f, \infty )
?
Problem 2.4.25

Prove Theorem 2.4.20.

Theorem 2.4.20: Let ff be a differentiable function on a set E⊂RE \subset \mathbb {R}. Then ff is Lipschitz with constant K=sup⁡{∣f′(x)∣:x∈E}K = \sup \left\{ \left|f'(x)\right| : x \in E\right\} if and only if it has a bounded derivative.

?
Problem 2.4.26

Suppose that ff is a real-valued Lipschitz function on (a,b)(a, b). Prove that ff is uniformly continuous on (a,b)(a, b).

?
Problem 2.4.27

Let ( M,dM, d ) be a metric space and x0∈Mx_{0} \in M. Let f:M→Rf: M \rightarrow \mathbb {R} be defined by f(x)=d(x,x0)f(x)=d\left(x, x_{0}\right). Prove that ff is uniformly continuous.

?
Problem 2.4.28

Give an example of a function that is continuous but not uniformly continuous. Give an example of a function that is uniformly continuous but not Lipschitz.

?
Problem 2.4.29

Give an example of a function that is Lipschitz on a set EE but not differentiable at a point x∈Ex \in E.

?
Problem 2.4.30

Let ff be a real-valued function defined on a set A⊂R2A \subset \mathbb {R}^{2} such that it is a continuous function of xx (with yy fixed), and let ff satisfy the Lipschitz condition with respect to yy, i.e., suppose that there exists M>0M>0 such that

∣f(x,y1)−f(x,y2)∣≤M∣y1−y2∣ \left|f\left(x, y_{1}\right)-f\left(x, y_{2}\right)\right| \leq M\left|y_{1}-y_{2}\right|

for all (x,y1),(x,y2)∈A\left(x, y_{1}\right),\left(x, y_{2}\right) \in A. Prove that ff is continuous on AA.

?
Problem 2.4.31

Let d(x,y)=∣x−y∣d(x, y)=\sqrt{\left|x-y\right|}, let ρ(x,y)=∣x−y∣\rho (x, y)=\left|x-y\right|, and consider ff : ([0,1],d)→([0,1],ρ)([0,1], d) \rightarrow ([0,1], \rho ) defined by f(x)=xαf(x)=x^{\alpha }. Determine what values of α>0\alpha >0 is ff Lipschitz.

?
Problem 2.4.32

Let (C[0,1],d)(C[0,1], d) be the metric space with d(f,g)=sup⁡{∣f(x)−g(x)∣:x∈[0,1]}d(f, g)=\sup \left\{ \left|f(x)-g(x)\right|: x \in [0,1]\right\}, and let F:C[0,1]→C[0,1]F: C[0,1] \rightarrow C[0,1] be defined by F(f)=f2F(f)=f^{2}. Determine whether FF is Lipschitz.

?
Problem 2.4.33

Let ( C[0,1],dC[0,1], d ) be the metric space with d(f,g)=sup⁡{∣f(x)−g(x)∣:x∈[0,1]}d(f, g)=\sup \left\{ \left|f(x)-g(x)\right|: x \in [0,1]\right\}, and let F:C[0,1]→C[0,1]F: C[0,1] \rightarrow C[0,1] be defined by F(f)=sin⁡fF(f)=\sin f. Determine whether FF is Lipschitz.

?
Problem 2.4.34

Let d:R→Rd: \mathbb {R} \rightarrow \mathbb {R} be defined by d(x,y)=1d(x, y)=1 if x≠yx \neq y and d(x,y)=0d(x, y)=0 if x=yx=y, let ρ(x,y)=∣x−y∣\rho (x, y)=\left|x-y\right|, and consider f:(R,d)→(R,ρ)f:(\mathbb {R}, d) \rightarrow (\mathbb {R}, \rho ) defined by f(x)=x2f(x)=x^{2}. Determine if ff is uniformly continuous. Is it Lipschitz?

?
Problem 2.5.1

Let ( M,dM, d ) be a metric space and A,B,C⊂MA, B, C \subset M. Prove that if AA is dense in BB and BB is dense in CC, then AA is dense in CC.

?
Problem 2.5.2

Let ( M,dM, d ) be a metric space and A⊂MA \subset M. Prove that AA is dense in MM if and only if the interior of ACA^{C} is empty.

?
Problem 2.5.3

Let ( M,dM, d ) be a metric space, let A,BA, B be dense subsets of MM, and suppose that AA is open.

?
(a)

Prove that: A∩BA \cap B is dense in MM.

(b)

Give an example to show that (a) fails if we drop the assumption that AA is open.

Problem 2.5.4

Let ( M,dM, d ) be a complete metric space and {Gn}n=1∞\left\{ G_{n}\right\}_{n=1}^{\infty } open dense subsets of XX. Prove that the intersection ∩n=1∞Gn\cap_{n=1}^{\infty } G_{n} is dense in MM.

?
Problem 2.5.5

Let GG be an open dense set in a metric space MM, and let NN be a set with empty interior. Prove that G\NG \backslash N is dense in MM

?
Problem 2.5.6

Let A\mathcal{A} be the collection of all nowhere dense subsets of a metric space (M,d)(M, d). Prove that:

?
(a)

If A∈AA \in \mathcal{A} then Aˉ∈A\bar{A} \in \mathcal{A}.

(b)

If {Ak}k=1n⊂A\left\{ A_{k}\right\}_{k=1}^{n} \subset \mathcal{A} then ∪k=1nAk∈A\cup_{k=1}^{n} A_{k} \in \mathcal{A}.

(c)

If A∈AA \in \mathcal{A} and B⊂AB \subset A then B∈AB \in \mathcal{A}.

(d)

Give an example to show that A\mathcal{A} is not closed under countable unions.

Problem 2.5.7

Let AA be a closed subset of a metric space ( M,dM, d ). Prove that the boundary of AA is nowhere dense. What if AA is an open set?

?
Problem 2.5.8

Let AA be a dense subset of a metric space. Prove or disprove: the set ACA^{C} is nowhere dense.

?
Problem 2.5.9

Prove that the graph of y=xy=x is nowhere dense in R2\mathbb {R}^{2}.

?
Problem 2.5.10

Prove that a set is the boundary of some open set if and only if it is closed and nowhere dense.

?
Problem 2.5.11

Let AA be a closed subset of a metric space such that every point of AA is a cluster point of both AA and ACA^{C}. Prove that AA is nowhere dense.

?
Problem 2.5.12

Prove that a set AA in a metric space is nowhere dense if and only if for every open set GG, there is an open set G1⊂GG_{1} \subset G such that G1∩A=∅G_{1} \cap A=\varnothing.

?
Problem 2.5.13

Let EE be a subset of a complete metric space MM and suppose that both EE and ECE^{C} are dense. Prove that at most one of them is the union of a countable collection of closed sets. Conclude that the set of rational numbers in [0,1][0,1] is not the intersection of a countable collection of open sets.

?
Problem 2.5.14

Let MM be a complete metric space without isolated points and let {Fn}\left\{ F_{n}\right\} be a countable collection of closed, nowhere dense sets. Prove that (∪n=1∞Fn)C\left(\cup_{n=1}^{\infty } F_{n}\right)^{C} is dense in MM and uncountable.

?
Problem 2.5.15

Let ( M,dM, d ) be a complete metric space without isolated points. Prove that MM is uncountable. Conclude that the set of all real numbers in uncountable.

?
Problem 2.5.16

Prove that the set of rational numbers is not a GδG_{\delta } set.

?
Problem 2.5.17

Let ( M,dM, d ) be a metric space. Prove that it is of the second category if and only if, whenever M=∪n=1∞FnM=\cup_{n=1}^{\infty } F_{n} where each FnF_{n} is closed, at least one of the sets FkF_{k} contains an open ball.

?
Problem 2.5.18

Prove that if a subset of a metric space is of second category then it must be uncountable. Conclude that the interval [0,1][0,1] is uncountable.

?
Problem 2.5.19

Prove that in a complete metric space, a set is of the first category if and only if its complement contains a dense GδG_{\delta } set.

?
Problem 2.5.20

Prove that if A⊂RA \subset \mathbb {R} is a set is of first category then AC+AC=RA^{C}+A^{C}=\mathbb {R}, if AC+AC={x+y:x∈AC,y∈AC}A^{C}+A^{C}=\left\{ x+y: x \in A^{C}, y \in A^{C}\right\}.

?
Problem 2.5.21

Give an example of a metric space that is of second category but not complete.

?
Problem 2.5.22

Let ( M,dM, d ) be a separable metric space and EE a bounded subset of MM. Prove that (E,d∣E)(E, d \mid E) is separable.

?
Problem 2.5.23

Prove that every totally bounded metric space is separable.

?
Problem 2.5.24

Prove that a compact metric space is separable.

?
Problem 2.5.25

If PP is an infinitely differentiable function such that for each xx, there is an nn with P(n)(x)=0P^{(n)}(x)=0, prove that PP is a polynomial. (Note nn depends on xx.)

?
Problem 2.5.26

Suppose that f:[0,+∞)→[0,+∞)f:[0,+\infty ) \rightarrow [0,+\infty ) is a continuous function with the following property: for all x∈[0,+∞)x \in [0,+\infty ), the sequence f(x),f(2x),f(3x),…f(x), f(2 x), f(3 x), \ldots tends to 0 . Prove that lim⁡t→∞f(t)=0\lim_{t \rightarrow \infty } f(t)=0.

?
Problem 2.5.27

Let {fn}\left\{ f_{n}\right\} be a sequence of real-valued functions on [0,1][0,1] defined by f0=f∈C[0,1]f_{0}=f \in C[0,1] and fnf_{n} is an antiderivative of fn−1f_{n-1}. Suppose that for each x∈[0,1]x \in [0,1] there is n∈Nn \in \mathbb {N} for which fn(x)=0f_{n}(x)=0. Prove that f=0f=0.

?
Problem 2.5.28

Let ( M,dM, d ) be a metric space, let {fn}\left\{ f_{n}\right\} be a sequence of continuous, real-valued functions on MM, and suppose that there is a set A⊂MA \subset M of second category such that sup⁡{∣fn(x)∣:n∈N}\sup \left\{ \left|f_{n}(x)\right|: n \in \mathbb {N}\right\} is finite for each x∈Ax \in A. Prove that there exists a ball B(x0,r)B\left(x_{0}, r\right) and K>0K>0 such that ∣fn(x)∣≤K\left|f_{n}(x)\right| \leq K, for all n∈Nn \in \mathbb {N} and all x∈B(x0,r)x \in B\left(x_{0}, r\right).

?
Problem 2.5.29

Let ( M,dM, d ) be a metric space and let GG be an open subset of MM. Prove that GG is of second category in itself.

?
Problem 2.5.30

Let ( M,dM, d ) be a metric space and let GG be a GδG_{\delta } subset of MM. Prove that GG is of the second category in itself.

?
Problem 2.5.31

Let {fn}⊂C[0,1]\left\{ f_{n}\right\} \subset C[0,1] that converges to a real-valued function ff, for all x∈[0,1]x \in [0,1]. Prove that for every ε>0\varepsilon >0 there is a dense subset Dε⊂[0,1]D_{\varepsilon } \subset [0,1] such that if x∈Dεx \in D_{\varepsilon }, then there is an open interval II containing xx and a positive integer NxN_{x} such that for all n>Nx,sup⁡{∣fn(y)−f(y)∣:y∈I}≤εn>N_{x}, \sup \left\{ \left|f_{n}(y)-f(y)\right|: y \in I\right\} \leq \varepsilon.

?