Professional Documents
Culture Documents
Metric Spaces
Metric Spaces
[1]
Metric Spaces
th
August 22 , 2021
T
1 Introduction to Metric Spaces
F
Definition 1.1. A metric space is a nonempty set A together with a real-valued function ρ defined on
RA
A × A such that if u, v, and w are arbitrary members of A, then
(a) ρ(u, v) ≥ 0, with equality if and only if u = v;
-D
(b) ρ(u, v) = ρ(v, u);
FT
(c) ρ(u, v) ≤ ρ(u, w) + ρ(w, v).
We say that ρ is a metric on A.
RA
Example 1.1. The set R of real numbers with ρ(u, v) = |u − v| is a metric space. Definition 1.1 (c) is
the familiar triangle inequality:
D
|u − v| ≤ |u − w| + |w − u|.
23 2-
Motivated by this example, in an arbitrary metric space we call ρ(u, v) the distance from u to v, and
we call Definition 1.1 (c) the triangle inequality.
9: 2
:2 8/
ρ(u, v) =
1 if u 6= v
21
Example 1.2 shows that it is possible to define a metric on any nonempty set A. In fact, it is possible
to define infinitely many metrics on any set with more than one member (Exercise 3). Therefore, to
T-
specify a metric space completely, we must specify the couple (A, ρ), where A is the set and ρ is the
metric. (In some cases we will not be so precise; for example, we will always refer to the real numbers
AF
it here for convenience. We confine the definition to vector spaces over the real numbers.
Definition 1.2. A vector space A is a nonempty set of elements called vectors on which two operations,
vector addition and scalar multiplication (multiplication by real numbers) are defined, such that the
T-
following assertions are true for all U, V, and W in A and all real numbers r and s:
AF
(a) U + V ∈ A;
(b) U + V = V + U;
DR
(c) U + (V + W) = (U + V) + W;
(d) There is a vector 0 in A such that U + 0 = U;
(e) There is a vector −U in A such that U + (−U) = 0;
(f) rU ∈ A;
(g) r(U + V) = rU + rV;
(h) (r + s)U = rU + sU;
(i) r(sU) = (rs)U;
(j) 1U = U.
We say that A is closed under vector addition if (1) is true, and that A is closed under scalar
multiplication if (6) is true. It can be shown that if B is any nonempty subset of A that is closed under
vector addition and scalar multiplication, then B together with these operations is itself a vector space.
(See any linear algebra text for the proof.) We say that B is a subspace of A.
T
Definition 1.3. A normed vector space is a vector space A together with a real-valued function N defined
F
on A, such that if u and v are arbitrary vectors in A and a is a real number, then
RA
(a) N (u) ≥ 0 with equality if and only if u = 0;
(b) N (au) = |a|N (u);
-D
(c) N (u + v) ≤ N (u) + N (v).
FT
We say that N is a norm on A, and (A, N ) is a normed vector space.
Teorema 1.1. If (A, N ) is a normed vector space, then
RA
ρ(x, y) = N (x − y) (1)
D
is a metric on A. 23 2-
Proof. From (a) with u = x − y, ρ(x, y) = N (x − y) ≥ 0, with equality if and only if x = y. From (b)
with u = x − y and a = −1,
9: 2
:2 8/
We will say that the metric in (1) is induced by the norm N . Whenever we speak of a normed vector
T-
space (A, N ), it is to be understood that we are regarding it as a metric space (A, ρ), where ρ is the
metric induced by N .
AF
We will often write N (u) as kuk. In this case we will denote the normed vector space as (A, k · k).
Teorema 1.2. If x and y are vectors in a normed vector space (A, N ), then
DR
Proof. Since
T-
x = y + (x − y),
AF
or
N (x) − N (y) ≤ N (x − y).
Interchanging x and y yields
N (y) − N (x) ≤ N (y − x).
Since N (x − y) = N (y − x) (Definition 1.3(b) with u = x − y and a = −1), the last two inequalities
imply (2).
2 Metrics for R n
We can define the norm of a vector X = (x1 , x2 , . . . , xn ) in Rn as
n
!1/2
X
kXk = x2i .
T
i=1
F
The metric induced by this norm is
RA
n
!1/2
X
ρ(X, Y) = (xi − yi )2 .
i=1
-D
Whenever we write Rn without identifying the norm or metric specifically, we are referring to Rn with
this norm and this induced metric.
FT
The following definition provides infinitely many norms and metrics on Rn .
Definition 2.1. If p ≥ 1 and X = (x1 , x2 , . . . , xn ), let
RA
n
!1/p
X
kXkp = |xi |p . (3)
D i=1
23 2-
The metric induced on Rn by this norm is
9: 2
n
!1/p
:2 8/
X
p
ρp (X, Y) = |xi − yi | .
i=1
04 /0
To justify this definition, we must verify that (3) actually defines a norm. Since it is clear that
21
kXkp ≥ 0 with equality if and only if X = 0, and kaXkp = |a|kXkp if a is any real number and X ∈ Rn ,
this reduces to showing that
20
p > 1, we need the following lemmas. The inequality established in the first lemma is known as Hölder ’s
inequality.
DR
Lemma 2.1. Suppose that µ1 , µ2 , . . . , µn and ν1 , ν2 , . . . , νn are nonnegative numbers. Let p > 1 and
q = p/(p − 1); thus,
1 1
T-
+ = 1. (5)
p q
Then
AF
n n
!1/p n
!1/q
X X X
µi νi ≤ µpi νiq . (6)
i=1 i=1 i=1
DR
Proof. Let α and β be any two positive numbers, and consider the function
αp βq
f (β) = + − αβ,
p q
where we regard α as a constant. Since f 0 (β) = β q−1 − α and f 00 (β) = (q − 1)β q−2 > 0 for β > 0, f
assumes its minimum value on [0, ∞) at β = α1/(q−1) = αp−1 . But
αp α(p−1)q
1 1
f (αp−1 ) = + − αp = αp + − 1 = 0.
p q p q
Therefore,
αp βq
αβ ≤ + if α, β ≥ 0. (7)
p q
From (7),
−1 −1
T
n n
µpi X νiq X
αi βi ≤ µpj + νjq .
F
p j=1
q j=1
RA
Pn
From (5), summing this from i = 1 to n yields i=1 αi βi ≤ 1, which implies (6).
-D
numbers and p > 1. Then
FT
n
!1/p n
!1/p n
!1/p
X X X
(ui + vi ) p
≤ upi + vip . (8)
i=1 i=1 i=1
RA
Proof. Again, let q = p/(p − 1). We write
n n n
D
X X X
(ui + vi )p =
23 2- ui (ui + vi )p−1 + vi (ui + vi )p−1 . (9)
i=1 i=1 i=1
n n
!1/p n
!1/q
X X X
ui (ui + vi ) p−1
≤ upi (ui + vi )p , (10)
04 /0
n n
!1/p n
!1/q
X X X
vi (ui + vi ) p−1
≤ vip (ui + vi )p .
T-
Since 1 − 1/q = 1/p, this implies (8), which is known as Minkowski’s inequality.
T-
We leave it to you to verify (Exercise 15) that k · k∞ is a norm on Rn . The associated metric is
moreover,
lim kXkp = max{|xi | : 1 ≤ i ≤ n}. (13)
p→∞
n
!1/p
X
σ(p) = upi .
i=1
T
p1 p2
ui ui
≥ ;
F
σ(p2 ) σ(p2 )
RA
therefore,
n p1 !1/p1 n p2 !1/p1
σ(p1 ) X ui X ui
= ≥ = 1,
σ(p2 ) σ(p2 ) σ(p2 )
-D
i=1 i=1
so σ(p1 ) ≥ σ(p2 ). Since M ≤ σ(p) ≤ M n1/p , limp→∞ σ(p) = M . Letting ui = |xi | yields (12) and
FT
(13).
Since Minkowski’s inequality is false if p < 1 (Exercise 19), (3) is not a norm in this case. However,
RA
if 0 < p < 1, then
n
X
kXkp = |xi |p
D
i=1
In this section and in the exercises we will consider subsets of the vector space R∞ consisting of sequences
04 /0
X + Y = {xi + yi }∞
i=1 and rX = {rxi }∞
i=1 .
∞
T-
X
∞
`p = {X ∈ R : |xi |p < ∞}.
i=1
AF
Let !1/p
∞
X
p
kXkp = |xi | .
DR
i=1
n
!1/p n
!1/p n
!1/p
AF
X X X
p p p
|xi + yi | ≤ |xi | + |yi |
i=1 i=1 i=1
for each n. Since the right side remains bounded as n → ∞, so does the left, and
DR
∞
!1/p ∞
!1/p ∞
!1/p
X X X
p p p
|xi + yi | ≤ |xi | + |yi | , (14)
i=1 i=1 i=1
so X + Y ∈ `p . Therefore, `p is closed under vector addition. Since `p is obviously closed under scalar
multiplication, `p is a vector space, and (14) implies that k · kp is a norm on `p .
The metric induced by k · kp is
∞
!1/p
X
p
ρp (X, Y) = |xi − yi | .
i=1
Let
kXk∞ = sup{|xi | : i ≥ 1}.
We leave it to you (Exercise 26) to show that (`∞ , k · k∞ ) is a normed vector space.
T
The metric induced by k · k∞ is
F
RA
ρ∞ (X, Y) = sup{|xi − yi | : i ≥ 1}.
-D
4 Topology of Metric Spaces
FT
We will now state some definitions and theorems for a general metric space (A, ρ) that are analogous to
definitions and theorems presented in Section 1.3 for the real numbers. To avoid repetition, it is to be
RA
understood in all these definitions that we are discussing a given metric space (A, ρ).
D
N (u0 ) = {u ∈ A : ρ(u0 , u) < }
23 2-
is called an -neighborhood of u0 . (Sometimes we call S the open ball of radius centered at u0 .) If a
9: 2
subset S of A contains an -neighborhood of u0 , then S is a neighborhood of u0 , and u0 is an interior
:2 8/
point of S. The set of interior points of S is the interior of S, denoted by S 0 . If every point of S is an
interior point (that is, S 0 = S), then S is open. A set S is closed if S c is open.
04 /0
21
is an open set.
T-
Solution. We must show that if u1 ∈ Sr (u0 ), then there is an > 0 such that
AF
for any u in A, ρ(u, u0 ) < r if ρ(u, u1 ) < r − ρ(u1 , u0 ). Therefore, (15) holds if < r − ρ(u1 , u0 ).
The entire space A is open and therefore ∅ (= Ac ) is closed. However, ∅ is also open, for to deny
AF
this is to say that it contains a point that is not an interior point, which is absurd because ∅ contains
no points. Since ∅ is open, A (= ∅c ) is closed. If A = R, these are the only sets that are both open and
closed, but this is not so in all metric spaces. For example, if ρ is the discrete metric, then every subset
DR
(b) u0 is a boundary point of S if every neighborhood of u0 contains at least one point in S and one
not in S. The set of boundary points of S is the boundary of S, denoted by ∂S. The closure of S,
denoted by S, is defined by S = S ∪ ∂S.
(c) u0 is an isolated point of S if u0 ∈ S and there is a neighborhood of u0 that contains no other point
of S.
T
(d) u0 is exterior to S if u0 is in the interior of S c . The collection of such points is the exterior of S.
F
Teorema 4.2. A set is closed if and only if it contains all its limit points.
RA
5 Completeness
-D
Since metric spaces are not ordered, concepts and results concerning the real numbers that depend on
order for their definitions must be redefined and reexamined in the context of metric spaces. The first
FT
example of this kind is completeness. To discuss this concept, we begin by defining an infinite sequence
(more briefly, a sequence) in a metric space (A, ρ) as a function defined on the integers n ≥ k with values
in A. As we did for real sequences, we denote a sequence in A by, for example, {un } = {un }∞ n=k . A
RA
subsequence of a sequence in A is defined in exactly the same way as a subsequence of a sequence of real
numbers.
Definition 5.1. A sequence {un } in a metric space (A, ρ) converges to u ∈ A if
We note that if ρ is the metric induced by a norm k · k on A, then (16) and (17) can be replaced by
AF
lim kun − uk = 0
n→∞
and
DR
Proof. Suppose that limn→∞ un = u. If > 0, there is an integer N such that ρ(un , u) < /2 if n > N .
AF
Definition 5.3. A metric space (A, ρ) is complete if every Cauchy sequence in A has a limit.
Example 5.1. The set R of real numbers with ρ(u, v) = |u − v| is a complete metric space.
Example 5.2. (The Metric Space C[a, b]) Let C[a, b] denote the set of all real-valued functions f
continuous on the finite closed interval [a, b], then we have
kf k = max{|f (x)| : a ≤ x ≤ b}
is well defined. We leave it to you to verify that it is a norm on C[a, b]. The metric induced by this norm
is
ρ(f, g) = kf − gk = max{|f (x) − g(x)| : a ≤ x ≤ b}.
Whenever we refer to C[a, b], we mean this metric space or, equivalently, this normed linear space.
From Cauchy’s Uniform Convergence Criterion theorem, a Cauchy sequence {fn } in C[a, b] converges
uniformly to a function f on [a, b], and implies that f is in C[a, b]; hence, C[a, b] is complete.
6 Equivalent Metrics
When considering more than one metric on a given set A we must be careful, for example, in saying that
a set is open, or that a sequence converges, etc., since the truth or falsity of the statement will in general
depend on the metric as well as the set on which it is imposed. In this situation we will alway refer to
the metric space by its “full name;” that is, (A, ρ) rather than just A.
T
Definition 6.1. If ρ and σ are both metrics on a set A, then ρ and σ are equivalent if there are positive
F
constants α and β such that
RA
ρ(x, y)
α≤ ≤β for all x, y ∈ A such that x 6= y. (18)
σ(x, y)
-D
Teorema 6.1. If ρ and σ are equivalent metrics on a set A, then (A, ρ) and (A, σ) have the same open
sets.
FT
Proof. Suppose that (18) holds. Let S be an open set in (A, ρ) and let x0 ∈ S. Then there is an > 0
such that x ∈ S if ρ(x, x0 ) < , so the second inequality in (18) implies that x0 ∈ S if σ(x, x0 ) ≤ /β.
RA
Therefore, S is open in (A, σ).
Conversely, suppose that S is open in (A, σ) and let x0 ∈ S. Then there is an > 0 such that x ∈ S
if σ(x, x0 ) < , so the first inequality in (18) implies that x0 ∈ S if ρ(x, x0 ) ≤ α. Therefore, S is open
D
in (A, ρ). 23 2-
Teorema 6.2. Any two norms N1 and N2 on Rn induce equivalent metrics on Rn .
9: 2
and β such
:2 8/
(a) A sequence {un } converges to u in (A, ρ) if and only if it converges to u in (A, σ).
21
(b) A sequence {un } is a Cauchy sequence in (A, ρ) if and only if it is a Cauchy sequence in (A, σ).
20
In this section we briefly consider functions defined on subsets of a metric space (A, ρ) with values in a
metric space (B, σ). We indicate that f is such a function by writing
DR
Df = {u ∈ A : f (u) is defined}
AF
and
Rf = {v ∈ B : v = f (u) for some u in Df }.
DR
Definition 7.2. We say that f is continuous at u b ∈ Df and for each > 0 there is a δ > 0 such
b if u
that
u)) < if u ∈ Df ∩ Nδ (b
σ(f (u), f (b u). (20)
If f is continuous at every point of a set S, then f is continuous on S.
f (Df ∩ Nδ (b
u)) ⊂ N (f (b
u)).
T
continuous function from (A, ρ) to R, since
F
|kuk − kb
uk| ≤ ku − u
bk.
RA
b) = ku − u
Here we are applying Definition 7.2 with ρ(u, u bk and σ(v, vb) = |v − vb|.
-D
b ∈ Df . Then
Teorema 7.1. Suppose that u
FT
lim f (u) = vb (21)
u→b
u
if and only if
RA
lim f (un ) = vb (22)
n→∞
D
lim un = u
b. (23)
n→∞
23 2-
Proof. Suppose that (21) is true, and let {un } be a sequence in Df that satisfies (23). Let > 0 and
b) < δ if n ≥ N . Therefore,
choose δ > 0 to satisfy (19). From (23), there is an integer N such that ρ(un , u
9: 2
σ(f (un ), vb) < if n ≥ N , which implies (22).
:2 8/
For the converse, suppose that (21) is false. Then there is an 0 > 0 and a sequence {un } in Df such
that ρ(un , u b) < 1/n and σ(f (un ), vb) ≥ 0 , so (22) is false.
04 /0
21
lim f (u) = f (b
u).
T-
u→b
u
AF
lim f (un ) = f (b
u)
n→∞
DR
8 Exercises
1. Show that a, b, and c of Definition 8.1.1 are equivalent to
T
2. Prove: If x, y, u, and v are arbitrary members of a metric space (A, ρ), then
F
RA
|ρ(x, y) − ρ(u, v)| ≤ ρ(x, u) + ρ(v, y).
-D
ρ(u, v)
ρ1 (u, v) = .
1 + ρ(u, v)
FT
Show that (A, ρ1 ) is a metric space.
RA
(b) Show that infinitely many metrics can be defined on any set A with more than one member.
4. Let (A, ρ) be a metric space, and let
D σ(u, v) =
ρ(u, v)
.
23 2-
1 + ρ(u, v)
9: 2
Show that a subset of A is open in (A, ρ) if and only if it is open in (A, σ).
:2 8/
0 if v = u,
ρ(u, v) =
1 if v 6= u,
21
is a metric on A.
20
(a) Show that S r (u0 ) ⊂ {u : ρ(u, u0 ) ≤ r} if A contains more than one point.
(b) Verify that if ρ is the discrete metric, then S 1 (u0 ) 6= {u : ρ(u, u0 ) ≤ 1}.
AF
7. Prove:
DR
8. Prove:
12. Let S be an arbitrary set. Prove: a ∂S is closed. b S 0 is open. c The exterior of S is open. d The
limit points of S form a closed set. e S = S.
13. Prove:
a (S1 ∩ S2 )0 = S10 ∩ S20 b S10 ∪ S20 ⊂ (S1 ∪ S2 )0
14. Prove:
a ∂(S1 ∪ S2 ) ⊂ S1 ∪ S2 b ∂(S1 ∩ S2 ) ⊂ S1 ∪ ∂S2
c ∂S ⊂ S d ∂S = ∂S c
e ∂(S − T ) ⊂ S ∪ T
T
15. Show that
F
kXk = max{|x1 |, |x2 |, . . . , |xn |}
RA
n
is a norm on R .
16. Suppose that (Ai , ρi ), 1 ≤ i ≤ k, are metric spaces. Let
-D
A = A1 × A2 × · · · × Ak = {X = (x1 , x2 , . . . , xk ) : xi ∈ Ai , 1 ≤ i ≤ k}.
FT
If X and Y are in A, let
k
X
ρ(X, Y) = ρ(xi , yi ).
RA
i=1
D lim Xr = X
b = (b
x1 , x
b2 , . . . , x
bk )
23 2-
r→∞
9: 2
if and only if
:2 8/
lim xir = x
bi , 1 ≤ i ≤ k.
r→∞
r=1 is a Cauchy sequence in (A, ρ) if and only if {xir }r=1 is a Cauchy sequence
in (Ai , ρi ), 1 ≤ i ≤ k.
21
∞
X = (x1 , x2 , . . . , xn , . . . ), where xi ∈ Ai , i ≥ 1. (For example,
P∞ if Ai = R, i ≥ 1, then A = R .)
∞
Let {αi }i=1 be any sequence of positive numbers such that i=1 αi < ∞.
T-
∞
X ρi (xi , yi )
ρ(X, Y) = αi
i=1
1 + ρi (xi , yi )
DR
is a metric on A.
(b) Let {Xr }∞ ∞
r=1 = {(x1r , x2r , . . . , xnr , . . . )}r=1 be a sequence in A. Show that
T-
lim Xr = X
b = (b
x1 , x
b2 , . . . , x
bn , . . . )
r→∞
AF
if and only if
lim xir = x
bi , i ≥ 1.
r→∞
DR
lim fk = f
k→∞
FT
lim fk (x) = f (x)
k→∞
RA
uniformly on every finite subinterval of [0, ∞).
(c) Show that (C[0, ∞), ρ) is complete.
-D
19. Show that Minkowski’s inequality is false if 0 < p < 1.
FT
20. Suppose that 0 < p < 1. Show that if u and v are nonnegative, then
(u + v)p ≤ up + v p .
RA
Use this to show that if X, Y ∈ Rn ,
n n
D
X X
ρ(X) = |xi |p , and ρ(Y) = |yi |p ,
23 2-
i=1 i=1
9: 2
then
:2 8/
(a) Suppose that {un } and {vn } are sequences in A, limn→∞ un = u, and limn→∞ vn = v. Show
that limn→∞ ρ(un , vn ) = ρ(u, v).
DR
(b) Conclude from b that if limn→∞ un = u and v is arbitrary in A, then limn→∞ ρ(un , v) =
ρ(u, v).
23. Prove: If {ur }∞ ∞
r=1 is a Cauchy sequence in a normed vector space (A, k · k), then {kur k}r=1 is
T-
bounded.
AF
24. Let
∞
X
A = {X ∈ R∞ : the partial sums xi , n ≥ 1, are bounded}.
DR
i=1
is a norm on A.
(b) Let ρ(X, Y) = kX − Yk. Show that (A, ρ) is complete.
25. (a) Show that
Z b
kf k = |f (x)| dx
a
T
(c) Show that (C[a, b], k · k) is not complete.
F
26. (a) Verify that `∞ is a normed vector space.
RA
(b) Show that `∞ is complete.
27. Let A be the subset of R∞ consisting of convergent sequences X = {xi }∞
i=1 . Define kXk =
-D
supi≥1 |xi |. Show that (A, k · k) is a complete normed vector space.
28. Let A be the subset of R∞ consisting of sequences X = {xi }∞ i=1 such that limi→∞ xi = 0. Define
FT
kXk = max{|xi | : i ≥ 1}. Show that (A, k · k) is a complete normed vector space.
29. (a) Show that Rnp is complete if p ≥ 1.
RA
(b) Show that `p is complete if p ≥ 1.
D
31. Suppose that f : (A, ρ) → (B, σ) and Df = A. Show that the following statements are equivalent.
23 2-
(a) f is continuous on A.
9: 2
:2 8/
(b) If V is any open set in (B, σ), then f −1 (V ) is open in (A, ρ).
(c) If V is any closed set in (B, σ), then f −1 (V ) is closed in (A, ρ).
04 /0
32. A metric space (A, ρ) is connected if A cannot be written as A = A1 ∪ A2 , where A1 and A2 are
21
nonempty disjoint open sets. Suppose that (A, ρ) is connected and f : (A, ρ) → (B, σ), where
Df = A, Rf = B, and f is continuous on A. Show that (B, σ) is connected.
20
33. Suppose that (A, ρ), (B, σ), and (C, γ) are metric spaces, and let
T-
References
T-
[1] Trench, William F., ”Introduction to Real Analysis” (2013). Faculty Authored and Edited Books &
CDs. 7 (https://digitalcommons.trinity.edu/mono/7)
AF
DR