HW 3 Sol
HW 3 Sol
1. Given a metric space (X, d), a point x ∈ X and ε > 0, define Bε (x) =
{y ∈ X : d(y, x) ≤ ε}, called the closed ball of radius ε centered at x.
Solution: (a) “⇐” Suppose that there exists M ∈ N and x ∈ X such that
xn = x for all n ≥ M . Then for any ε > 0 we have d(xn , x) = 0 < ε for
all n ≥ M , so {xn } converges to x. Of course, this direction holds in any
metric space.
“⇒” Now suppose that {xn } converges to x. By the definition of limit
with ε = 1, there exists M ∈ N such that d(xn , x) < 1 for all n ≥ M . But
since the only possible values of d are 0 and 1, the inequality d(xn , x) < 1
forces d(xn , x) = 0 and hence xn = x. Thus, xn = x for all n ≥ M , as
desired.
4
(b) Using the ε-δ definition. Fix an arbitrary a ∈ X. Given any ε > 0,
choose δ = 1. If x ∈ X and d(a, x) < 1, we must have x = a and hence
f (x) = f (a), so dY (f (x), f (a)) = 0 < ε. Thus, f is continuous at a, and
since a ∈ X was arbitrary, f is continuous on X.
Using the sequential definition. Again fix a ∈ X, and take any sequence
{xn } in X which converges to a. By (a), there exists M ∈ N such that
xn = a for all n ≥ M . Then f (xn ) = f (a) for all n ≥ M and (again by (a)),
{f (xn )} converges to f (a), whence f is continuous at a.
6.
(a) Let (X, dX ) and (Y, dY ) be metric spaces, and let f : X → Y be a
function such that
Note that for any real number t the absolute value |t| is equal to max{t, −t}.
Thus, if we want to prove |t| ≤ r where r is another real number, this is
equivalent to showing that t ≤ r and −t ≤ r.
By the triangle inequality, d(a, u) ≤ d(a, v)+d(v, u) = d(a, v)+d(u, v) and
d(a, v) ≤ d(a, u) + d(u, v). Hence d(a, u) − d(a, v) ≤ d(u, v) and −(d(a, u) −
d(a, v)) = d(a, v) − d(a, u) ≤ d(u, v). Therefore, using the above observation
with t = d(a, u) − d(a, v) and r = d(u, v), we conclude that |d(a, u) −
d(a, v)| ≤ d(u, v), as desired.
7. A metric space (X, d) is called ultrametric if for any x, y, z ∈ X the
following inequality holds:
(Note that this inequality is much stronger than the triangle inequality).
If X is any set and d is the discrete metric on X (that is, d(x, y) = 1 if
x 6= y and d(x, y) = 0 if x = y), then clearly (X, d) is ultrametric. A more
interesting example of an ultrametric space is given in the next problem.
Prove that properties (i) and (ii) below hold in any ultrametric space
(X, d) (note that both properties are counter-intuitive since they are very
far from being true in R).
(i) Take any x ∈ X, ε > 0 and take any y ∈ Nε (x). Then Nε (y) =
Nε (x). This means that if we take an open ball of fixed radius around
some point x, then for any other point y from that open ball, the
open ball of the same radius, but now centered at y, coincides with
the original ball. In other words, any point of an open ball happens
to be its center.
(ii) Prove that a sequence {xn } in X is Cauchy ⇐⇒ for any ε > 0
there exists M ∈ N such that d(xn+1 , xn ) < ε for all n ≥ M . Note:
The forward implication holds in any metric space.
Solution: (i) Let d = d(x, y). Since y ∈ Nε (x), we have d < ε. Take
any z ∈ Nε (y). Then d(y, z) < ε, so d(z, x) ≤ max{d(y, z), d(x, y)} =
max{d(y, z), d} < ε, so z ∈ Nε (x). Thus we showed that Nε (y) ⊆ Nε (x).
The reverse inclusion Nε (x) ⊆ Nε (y) is proved similarly.
(ii) The forward implication is clear. Assume now that for any ε > 0
there exists M ∈ N such that d(xn+1 , xn ) < ε for all n ≥ M . Then
for all n ≥ M we also have d(xn+2 , xn+1 ) < ε whence d(xn+2 , xn ) ≤
max{d(xn+1 , xn ), d(xn+2 , xn+1 )} < ε. Repeating the same trick several
times, we deduce that d(xn+p , xn ) < ε for all n ≥ M and p ≥ 0; equiv-
alently, d(xm , xn ) < ε for all n, m ≥ M . Therefore, the sequence {xn } is
Cauchy.