Unit 1 Sem V
Unit 1 Sem V
Examples 1.1.2
2 CHAPTER 1. UNIT I: METRIC SPACES
∞
X
(10) Let l = 2
{(an )∞
: n=1 an2 < ∞}. Define d2 : l 2 × l 2 −→ R, d2 ((an ), (bn )) =
s∞ n=1
X
(an − bn )2 . Then d2 is a metric on l 2 .
n=1
(11) Let C [a, b] denote the vecotr space of all real valued continuous functions on [a, b].
If f, g ∈ C [a, b] define d∞ (f, g) = sup{|(f − g)(t)| : t ∈ [a, b]}. Then d∞ is a metric
on C [a, b].
3
d(x, y) = |x − y|.
= |y − x|
= d(y, x) ∀ x, y ∈ R
d(x, z) = |x − z|
= |x − y + y − z|
≤ |x − y| + |y − z|
= d(x, y) + d(y, z)
∴ d(x, z) ≤ d(x, y) + d(y, z) ∀ x, y, z ∈ R. (III)
4 CHAPTER 1. UNIT I: METRIC SPACES
Euclidean metric on R2 .
p
d2 (x, y) = 0 if and only if (x1 − y1 )2 + (x2 − y2 )2 = 0.
if and only if (x1 − y1 )2 + (x2 − y2 )2 = 0.
if and only if x1 − y1 = 0 and x2 − y2 = 0.
if and only if x1 = y1 and x2 = y2 .
if and only if x = y.
p
d2 (x, z) = (x1 − z1 )2 + (x2 − z2 )2
p
= (x1 − y1 + y1 − z1 )2 + (x2 − y2 + y2 − z2 )2
p √ √
By Minkowski’s Inequality : (a + b)2 + (c + d)2 ≤ a2 + c2 + b2 + d2
p p
≤ (x1 − y1 )2 + (x2 − y2 )2 (y1 − z1 )2 + (y2 − z2 )2
= d2 (x, y) + d2 (y, z)
∴ d2 (x, z) ≤ d2 (x, y) + d2 (y, z) ∀ x, y, z ∈ R2 . (III)
n
X
d1 (x, y) = 0 if and only if |xi − yi | = 0.
i=1
if and only if xi − yi = 0 for all i, 1 ≤ i ≤ n.
if and only if xi = yi for all i, 1 ≤ i ≤ n.
if and only if x = y
n
X
d1 (x, z) = |xi − zi |
i=1
Xn
= |xi − yi + yi − zi |.
i=1
Xn h i
≤ |xi − yi | + |yi − zi |
i=1
n
X n
X
= |xi − yi | + |yi − zi |.
i=1 i=1
= d1 (x, y) + d1 (y, z)
∴ d1 (x, z) ≤ d1 (x, y) + d1 (y, z) ∀ x, y, z ∈ Rn . (III)
n
X
2
Since (xi − yi ) ≥ 0 for all i, 1 ≤ i ≤ n, (xi − yi )2 ≥ 0.
s n i=1
X
Therefore (xi − yi )2 ∈ R.
i=1 s n
√ X
As a ≥ 0 whenever it exists, we have (xi − yi )2 ≥ 0.
i=1
Hence d2 (x, y) ≥ 0 for all x, y ∈ R2 .
v
u n
uX
d2 (x, y) = 0 if and only if t (xi − yi )2 = 0.
i=1
n
X
if and only if (xi − yi )2 = 0.
i=1
if and only if xi − yi = 0 for all i, 1 ≤ i ≤ n.
if and only if xi = yi for all i, 1 ≤ i ≤ n.
if and only if x = y.
= d2 (y, x) ∀ x, y ∈ Rn .
v
u n
uX
d2 (x, z) = t (xi − zi )2
i=1
v
u n
uX
= t (xi − yi + yi − zi )2
i=1
v v v
u n u n u n
u X uX uX 2
2 2
By Minkowski’s Inequality :t (ai + bi ) ≤ t ai + t bi
i=1 i=1 i=1
Here xi − yi = ai and yi − zi = bi
v v
u n u n
uX uX
d2 (x, z) ≤ t (xi − yi ) + t (yi − zi )2
2
i=1 i=1
= d2 (x, y) + d2 (y, z)
∴ d2 (x, z) ≤ d2 (x, y) + d2 (y, z) ∀ x, y, z ∈ Rn . (III)
d∞ (x, z) = max{|xi − zi | : 1 ≤ i ≤ n}
d∞ (x, y) = max{|xi − yi |, 1 ≤ i ≤ n} =⇒ |xi − yi | ≤ d∞ (x, y)for all i, 1 ≤
d∞ (y, z) = max{|yi − zi |, 1 ≤ i ≤ n} =⇒ |yi − zi | ≤ d∞ (y, z)for all i, 1 ≤
|xi − zi | ≤ |xi − yi | + |yi − zi | for all i, 1 ≤ i ≤ n.
≤ d∞ (x, y) + d∞ (y, z) for all i, 1 ≤ i ≤ n.
max{|xi − zi | : 1 ≤ i ≤ n} ≤ d∞ (x, y) + d∞ (y, z)
∴ d∞ (x, z) ≤ d∞ (x, y) + d∞ (y, z) ∀ x, y, z ∈ Rn . (III)
p
(8) d : C × C −→ R, d(z, w) = |z − w| is a metric on C where for z ∈ C, |z| = x2 + y 2
if z = x + iy.
d(z, w) = |z − w|.
= |w − z|
= d(w, z) ∀ z, w ∈ C
|z + w|2 = (z + w)(z + w)
= (z + w)(z + w)
= zz + zw + wz + ww
= |z|2 + zw + zw + |w|2
= |z|2 + zw + zw + |w|2
= |z|2 + 2Re(zw) + |w|2
≤ |z|2 + 2|zw| + |w|2
= |z|2 + 2|z||w| + |w|2
= |z|2 + 2|z||w| + |w|2
= (|z| + |w|)2
Thus |z + w|2 ≤ (|z| + |w|)2
Hence |z + w| ≤ |z| + |w|
d(z, w) = |z − w|
= |z − u + u − w|
≤ |z − u| + |u − w|
= d(z, u) + d(u, w)
∴ d(z, w) ≤ d(z, u) + d(u, w) ∀ z, u, w ∈ C. (III)
∞
X
(9) Let l 1
= {(an )∞
n=1 : |an | < ∞}. Define d1 : l 1 × l 1 −→ R, d1 ((an ), (bn )) =
n=1
∞
X
|an − bn |. Then d1 is a metric on l 1 .
n=1
First we will show that d1 is well defined.
|ai − bi | ≤ |ai | + |bi | for all i ∈ N.
∞
X
Hence by Comparison Test, |an − bn | is also convergent.
n=1
∞
X
Hence |an − bn | is a real number.
n=1
Therefore d1 is well defined.
To show that d1 ((an ), (bn )) ≥ 0 and d1 ((an ), (bn )) = 0 if and only if (an ) = (bn )
. ∞
X
Since |an − bn | ≥ 0 for all n ∈ N, |an − bn | ≥ 0.
n=1
∞
X
d1 ((an ), (bn )) = 0 if and only if |an − bn | = 0.
n=1
if and only if |an − bn | = 0 ∀ n ∈ N.
if and only if an = bn ∀ n ∈ N.
if and only if (an ) = (bn )
Hence d1 ((an ), (cn )) ≤ d1 ((an ), (bn ))+d1 ((bn ), (cn )) ∀ (an ), (bn ), (cn ) ∈ l 1 . (III )
∞
s
X
(an − bn )2 . Then d2 is a metric on l 2 .
n=1
To show that d2 ((an ), (bn )) ≥ 0 and d2 ((an ), (bn )) = 0 if and only if (an ) = (bn )
14 CHAPTER 1. UNIT I: METRIC SPACES
. s∞
√ X
Since a ≥ 0 whenever it exists, (an − bn )2 ≥ 0.
n=1
v
u∞
uX
d2 ((an ), (bn )) = 0 if and only if t (an − bn )2 = 0.
n=1
(Minkowski’s Inequality)
v v v
u∞ u∞ u∞
uX uX uX
∴ t (an − cn ) ≤ t (an − bn ) + t (bn − cn )2
2 2
Hence d2 ((an ), (cn )) ≤ d2 ((an ), (bn ))+d2 ((bn ), (cn )) ∀ (an ), (bn ), (cn ) ∈ l 2 . (III )
(11) Let C [a, b] denote the vector space of all real valued continuous functions on [a, b].
If f, g ∈ C [a, b] define d∞ (f, g) = sup{|(f − g)(t)| : t ∈ [a, b]}. Then d∞ is a metric
on C [a, b].
First we show that d∞ is well defined.
Since f, g ∈ C[a, b], f − g ∈ C[a, b]. So f − g is continuous on [a, b],
Hence f − g is bounded and attains its bounds.
Thus sup{|(f − g)(t)| : t ∈ [a, b]} exists. Also sup S is unique whenever it exists for
all S ⊂ R.
Therefore d∞ d(f, g) is well defined.
(
0, if x = y
(1) Let d : R × R −→ R be defined as d(x, y) =
|x| + |y| 6 y, x, y ∈ R.
if x =
Then d is a metric on R.
d(m, n) = 0 if m = n
1
= 1+ if m 6= n
m+n
Then d is a metric on N.
1 1
(3) Let d : N × N −→ R be defined as d(m, n) = − . Then d is a metric on N.
m n
1 1
(4) Let d : R \ {0} × R \ {0} −→ R be defined as d(x, y) = − . Then d is a metric
x y
on R \ {0}.
d(x, y) = 0 if x = y
1
= if x 6= y
min {i : xi 6= yi }
Case 1: x = y
x = y =⇒ y = x
Also x = y =⇒ d(x, y) = 0
And y = x =⇒ d(y, x) = 0
Hence x = y =⇒ d(x, y) = d(y, x)
Case 2: x 6= y .
x 6= y =⇒ y 6= x
Also x 6= y =⇒ d(x, y) = |x| + |y|
And y 6= x =⇒ d(y, x) = |y| + |x| = |x| + |y|
Hence x 6= y =⇒ d(x, y) = d(y, x)
d(x, y) = d(y, z)
= 0 + d(y, z)
= d(x, z) + d(y, z)
y = z, |y| = |z|. So, d(x, z) = |x| + |z| =⇒ d(x, z) = |x| + |y| = d(x, y).
d(x, y) = d(x, z)
= d(x, z) + 0
= d(x, z) + d(y, z)
d(m, n) = 0 if m = n
1
= 1+ if m 6= n
m+n
Then d is a metric on N.
For m, n, p ∈ N
(i)
(
0if m = n
d(m, n) = 1
1+ 6 n
if m =
m+n
∴ d(m, n) ≥ 0 for m, n ∈ N
and d(m, n) = 0 if and only if m = n
(since if m 6= n then d(m, n) ≥ 1) [1 mark]
(ii) d(m, n) = 0 = d(n, m) if m = n
1 1
d(m, n) = 1 + =1+ = d(n, m) if m 6= n [2 marks]
m+n n+m
(iii) If m = p
d(m, p) = 0 ≤ d(m, n) + d(n, p)
If m 6= p then either n 6= m and/or n 6= p.
1
and d(m, p) = 1 +
m+p
20 CHAPTER 1. UNIT I: METRIC SPACES
case 1 n 6= m and n 6= p
1 1
d(m, n) = 1 + and d(n, p) = 1 +
m+n n+p
1 1
∴ d(m, n) + d(n, p) = 1 + +1+ ≥2
m+n n+p
1
∴ d(m, p) = 1 + ≤ 1 + 1 = 2 ≤ d(m, n) + d(n, p)
m+p
case 2 m = n and n 6= p
1
∴ d(m, p) = 1 +
m+p
1
=1+ +0
n+p
= d(n, p) + d(m, n)
= d(m, n) + d(n, p)
case 3 m 6= n and n = p
1
∴ d(m, p) = 1 +
m+p
1
=1+ +0
m+n
= d(m, n) + d(n, p)
= d(m, n) + d(n, p)
1 1
d(m, n) = 0 if and only if − = 0.
m n
1 1
if and only if − =0
m n
1 1
if and only if =
m n
if and only if m = n
21
1 1
d(m, n) = − .
m n
1 1
= −
n m
= d(n, m) ∀ m, n ∈ N.
1 1
d(m, p) = −
m p
1 1 1 1
= − + −
m n n p
1 1 1 1
≤ − + − = d(m, n) + d(n, p)
m n n p
∴ d(m, p) ≤ d(m, n) + d(n, p) ∀ m, n, p ∈ N. (III)
1 1
(4) Let d : R \ {0} × R \ {0} −→ R be defined as d(x, y) = − . Then d is a metric
x y
on R \ {0}.
1 1
d(x, y) = 0 if and only if − = 0.
x y
1 1
if and only if − = 0
x y
1 1
if and only if =
x y
if and only if x = y
1 1
d(x, y) = − .
x y
1 1
= −
y x
= d(y, x) ∀ x, y ∈ R \ {0}.
1 1
d(x, z) = −
x z
1 1 1 1
= − + −
x y y z
1 1 1 1
≤ − + − = d(x, y) + d(y, z)
x y y z
∴ d(x, z) ≤ d(x, y) + d(y, z) ∀ x, y, z ∈ R \ {0}. (III)
d(x, y) = 0 if x = y
1
= if x 6= y
min {i : xi 6= yi }
x = y =⇒ y = x
Also x = y =⇒ d(x, y) = 0
And y = x =⇒ d(y, x) = 0
Hence x = y =⇒ d(x, y) = d(y, x)
23
Case 2: x 6= y .
x 6= y =⇒ y 6= x
1
Also x 6= y =⇒ d(x, y) =
min {i : xi 6= yi }
1
And y 6= x =⇒ d(y, x) = = d(x, y)
min {i : yi 6= xi }
Hence x 6= y =⇒ d(x, y) = d(y, x)
1
Case 2: x 6= y This implies d(x, y) = .
min {i : xi 6= yi }
Also x 6= y implies the case x = z and y = z does not arise.
Case 2a: x = z, y 6= z.
1
This implies d(x, z) = 0 and d(y, z) = .
min {i : yi 6= zi }
As x = z, xi = zi ∀ i ∈ N.
1
d(y, z) =
min {i : yi 6= zi }
1
=
min {i : yi 6= xi }
= d(x, y).
Now, d(x, y) = d(y, z)
= 0 + d(y, z)
= d(x, z) + d(y, z)
Case 2b: x 6= z, y = z.
1
This implies d(x, z) = and d(y, z) = 0.
min {i : xi =
6 zi }
As y = z, yi = zi, ∀ i ∈ N.
24 CHAPTER 1. UNIT I: METRIC SPACES
1
d(x, z) =
min {i : xi =
6 zi }
1
=
min {i : xi =6 yi }
= d(x, y)
Case 2c: x 6= z, y 6= z.
1 1
=⇒ d(x, z) = and d(y, z) = .
min {i : xi 6= zi } min {i : yi 6= zi }
1
Let min {i : xi 6= yi } = l. So l ≥ 1 and d(x, y) =
l
1
min {i : xi 6= zi } = m. So m ≥ 1, and d(x, z) =
m
1
min {i : zi 6= yi } = k. So k ≥ 1 and d(z, y) =
k
1 1
If l ≥ m then ≤
l m
1 1 1
=⇒ ≤ +
l m k
=⇒ d(x, y) ≤ d(x, z) + d(z, y)
∴ d(x, y) = d(y, z)
< d(x, z) + d(y, z) (as d(x, z) > 0)
= d(x, z) + d(y, z)
Thus in any case d(x, y) ≤ d(x, z)+d(z, y) for all x, y, z ∈ X. Thus triangle
inequality is proved. (III)
Hence from (I), (II) and (III) d is a metric on X.
(6) Let X be the set of real sequences. If d : X × X −→ R is defined by
∞
X |xi − yi |
d(x, y) =
i=1
2i (1+ |xi − yi |)
∞
X |xn − yn |
d(x, y) = 0 if and only if = 0.
n=1
2n (1+ |xn − yn |)
|xn − yn |
if and only if = 0 ∀ n ∈ N.
2n (1
+ |xn − yn |)
if and only if |xn − yn | = 0 ∀ n ∈ N
if and only if xn = yn ∀ n ∈ N.
if and only if x = y
26 CHAPTER 1. UNIT I: METRIC SPACES
1 1
0<1+ ≤1+ .
|xn − zn | + |zn − yn | |xn − yn |
1 + |xn − zn | + |zn − yn | 1 + |xn − yn |
0< ≤ .
|xn − zn | + |zn − yn | |xn − yn |
|xn − yn | |xn − zn | + |zn − yn |
≤ .
1 + |xn − yn | 1 + |xn − zn | + |zn − yn |
|xn − zn | |zn − yn |
= + .
1 + |xn − zn | + |zn − yn | 1 + |xn − zn | + |zn − yn |
|xn − zn | |zn − yn |
≤ n + n
2 (1 + |xn − zn |) 2 (1 + |zn − yn |)
27
(1) Let d1 and d2 be metrics on a non-empty set X. Each of the following functions is
also a metric on X.
(i) d, where d(x, y) = max {d1 (x, y), d2 (x, y)} for x, y ∈ X.
(ii) d, where d(x, y) = r1 d1 (x, y) + r2 d2 (x, y) for x, y ∈ X and r1 , r2 > 0.
p
(iii) d, where d(x, y) = (d1 (x, y))2 + (d2 (x, y))2 for x, y ∈ X
(1) Let d1 and d2 be metrics on a non-empty set X. Each of the following functions is
also a metric on X.
(i) d, where d(x, y) = max {d1 (x, y), d2 (x, y)} for x, y ∈ X.
To show that d(x, y) ≥ 0 and d(x, y) = 0 if and only if x = y .
Since d1 , d2 are metrics on X, d1 (x, y) ≥ 0, d2 (x, y) ≥ 0 for all x, y ∈ X.
Hence max{d1 (x, y), d2 (x, y) ≥ 0}. That is d(x, y) ≥ 0 for all x, y ∈ X.
Similarly,
From (∗) and (∗∗), max{d1 (x, y), d2 (x, y)} ≤ d(x, z)+d(z, y) ∀ x, y, z ∈ X.
Hence d(x, y) ≤ d(x, z) + d(z, y) ∀ x, y, z ∈ X.
Thus triangle inequality is proved. (III)
Hence r1 d1 (x, z)+r2 d2 (x, z) ≤ r1 d1 (x, y)+r2 d2 (x, y)+r1 d1 (y, z)+r2 d2 (y, z).
Hence d(x, z) ≤ d(x, y) + d(y, z) ∀ x, y, z ∈ X.
Thus triangle inequality is proved. (III)
Hence from (I), (II) and (III) d is a metric on X.
p
(iii) d, where d(x, y) = (d1 (x, y))2 + (d2 (x, y))2 for x, y ∈ X.
To show that d(x, y) ≥ 0 and d(x, y) = 0 if and only if x = y .
As d21 (x, 2 2 2
py) ≥ 0, d2 (x, y) ≥ 0, d1 (x, y) + d2 (x, y) ≥ 0} for all x, y ∈ X.
Hence d21 (x, y) + d22 (x, y) ∈ R.
√ √ p
Also since a ≥ 0 whenever l a exists, d21 (x, y) + d22 (x, y) ≥ 0.
Hence d(x, y) ≥ 0, for all x, y ∈ X.
h i2 h i2
Hence d21 (x, z)
+ d22 (x, z)
≤ d1 (x, y) + d1 (y, z) + d2 (x, y) + d2 (y, z) .
rh i2 h i2
p
2 2
This means d1 (x, z) + d2 (x, z) ≤ d1 (x, y) + d1 (y, z) + d2 (x, y) + d2 (y, z) .
p p p
Therefore d21 (x, z) + d22 (x, z)p≤ d21 (x, y) + d22 (x, y)+ 2 2
√ d1 (y, z)√+ d2 (y, z).
(By Minkowski’s Inequality: (a + b)2 + (c + d)2 ≤ a2 + c2 + b2 + d2 )
Hence d(x, z) ≤ d(x, y) + d(y, z) ∀ x, y, z ∈ X.
Thus triangle inequality is proved. (III)
p
(i) d1 where d(x, y) = d(x, y).
d(x, y)
d1 (x, y) = 0 if and only if =0
1 + d(x, y)
if and only if d(x, y) = 0
if and only if x = y (as d is a metric on X)
d(x, y)
d1 (x, y) = .
1 + d(x, y)
d(y, x)
= (as d is a metric on X, d(x, y) = d(y, x))∀ x, y ∈ X)
1 + d(y, x)
= d1 (y, x) ∀ x, y ∈ X
1 1
=⇒ 0 < 1 + ≤1+ .
d(x, y) + d(y, z) d(x, z)
1 + d(x, y) + d(y, z) 1 + d(x, z)
=⇒ 0 < ≤ .
d(x, y) + d(y, z) d(x, z)
d(x, z) d(x, y) + d(y, z)
=⇒ 0 < ≤ .
1 + d(x, z) 1 + d(x, y) + d(y, z)
d(x, y) d(y, z)
= + ∀
1 + d(x, y) + d(y, z) 1 + d(x, y) + d(y, z)
d(x, y) d(y, z)
≤ + ∀ x, y ∈ X.
1 + d(x, y) 1 + d(y, z)
=⇒ d1 (x, z) ≤ d1 (x, y) + d1 (y, z)
Case 1 d1 (x, y) = 1.
From (∗), we have d1 (x, z) ≤ 1.
Put 1 = d1 (x, y)
So, d1 (x, z) ≤ d1 (x, y) (∗∗).
Now, 0 ≤ d1 (y, z), 0 + d1 (x, y) ≤ d1 (y, z) + d1 (x, y)
(by adding d1 (x, y) on both sides).
That is d1 (x, y) ≤ d1 (y, z) + d1 (x, y). Therefore from (∗∗), d1 (x, z) ≤
d1 (x, y) ≤ d1 (y, z) + d1 (x, y)..
That is d1 (x, z) ≤ d1 (x, y) + d1 (y, z).
Case 2 d1 (y, z) = 1.
From (∗), we have d1 (x, z) ≤ 1.
Put 1 = d1 (y, z)
So, d1 (x, z) ≤ d1 (y, z) (∗ ∗ ∗).
Now, 0 ≤ d1 (x, y) =⇒ 0 + d1 (y, z) ≤ d1 (x, y) + d1 (y, z)
(by adding d1 (y, z) on both sides).
That is d1 (y, z) ≤ d1 (x, y) + d1 (y, z). Therefore from (∗ ∗ ∗), d1 (x, z) ≤
d1 (y, z) ≤ d1 (x, y) + d1 (y, z)..
That is d1 (x, z) ≤ d1 (x, y) + d1 (y, z).
Case 3 d1 (x, y) 6= 1 and d1 (y, z) 6= 1.
Therefore, d1 (x, y) = d(x, y) and d1 (y, z) = d(y, z).
Since d is a metric on X, d(x, z) ≤ d(x, y) + d(y, z).
=⇒ d(x, z) ≤ d1 (x, y)+d1 (y, z) (∗∗∗∗) (as d(x, y) = d1 (x, y), d(y, z) =
d1 (y, z))
From (∗), d1 (x, z) ≤ d(x, z).
Therefore, from (∗ ∗ ∗∗), d1 (x, z) ≤ d1 (x, y) + d1 (y, z).
Hence d1 (x, z) ≤ d1 (x, y) + d1 (y, z) ∀ x, y, z ∈ X. (III)
We will prove that the above product spaces are metric spaces.
35
To show that d((x1 , y1 ), (x2 , y2 )) ≥ 0 and d((x1 , y1 ), (x2 , y2 )) = 0 if and only if (x1 , y1 ) = (
.
Since d1 , d2 are metrics on X and Y respectively, d1 (x1 , x2 ) ≥ 0, d2 (y1 , y2 ) ≥ 0
for all x1 , x2 ∈ X and y1 , y2 ∈ Y .
So, d1 (x1 , x2 ) + d2 (y1 , y2 ) ≥ 0 for all x1 , x2 ∈ X and y1 , y2 ∈ Y .
Hence d((x1 , y1 ), (x2 , y2 )) ≥ 0 for all (x1 , y1 ), (x2 , y2 ) ∈ X × Y.
To show that d((x1 , y1 ), (x2 , y2 )) ≥ 0 and d((x1 , y1 ), (x2 , y2 )) = 0 if and only if (x1 , y1 ) = (
.
Since d1 , d2 are metrics on X and Y respectively, d1 (x1 , x2 ) ∈ R, d2 (y1 , y2 ) ∈ R
for all x1 , x2 ∈ X and y1 , y2 ∈ Y .
So, d21 (x1 , x2 ) ≥ 0, d22 (y1 , y2 ) ≥ 0 for all x1 , x2 ∈ X and y1 , y2 ∈ Y .
Hence d21 (xp 2
1 , x2 ) + d2 (y1 , y2 ) ≥ 0} for all (x1 , y1 ) and (x2 , y2 ∈ X × Y.
√
2 2
Therefore
p d 1 (x 1 , x2 ) + d 2 (y 1 , y2 ) ∈ R and since a ≥ 0 whenever it exists,
d21 (x1 , x2 ) + d22 (y1 , y2 ) ≥ 0 for all (x1 , y1 ) and (x2 , y2 ∈ X × Y.
Hence d((x1 , y1 ), (x2 , y2 )) ≥ 0 for all (x1 , y1 ), (x2 , y2 ) ∈ X × Y.
q
d((x1 , y1 ), (x2 , y2 )) = 0 if and only if d21 (x1 , x2 ) + d22 (y1 , y2 ) = 0.
if and only if d21 (x1 , x2 ) + d22 (y1 , y2 ) = 0.
if and only if d21 (x1 , x2 ) = 0 &d22 (y1 , y2 ) = 0 (as d21 (x1 , x2 ) ≥ 0 &
if and only if d1 (x1 , x2 ) = 0 &d2 (y1 , y2 ) = 0
if and only if x1 = x2 and y1 = y2 (as d1 , d2 are metrics on X
if and only if (x1 , y1 ) = (x2 , y2 )
To show that d((x1 , y1 ), (x2 , y2 )) = d((x2 , y2 ), (x1 , y1 )) for all (x1 , y1 ), (x2 , y2 ) ∈ X × Y.
q
d((x1 , y1 ), (x2 , y2 )) = d21 (x1 , x2 ) + d22 (y1 , y2 )}.
q
= d21 (x2 , x1 ) + d22 (y2 , y1 )} (as d1 , d2 are metrics on X and Y respe
= d((x2 , y2 ), (x1 , y1 )) ∀ (x1 , y1 ), (x2 , y2 ) ∈ X × Y
To show that d((x1 , y1 ), (x3 , y3 ) ≤ d((x1 , y1 ), (x2 , y2 )) + d((x2 , y2 ), (x3 , y3 )) for all (x1 , y1 ), (x
h i2 h
Hence d21 (x1 , x3 )
+ d22 (y1 , y3 ) ≤ d1 (x1 , x2 ) + d1 (x2 , x3 ) + d2 (y1 , y2 )
rh
q 2 i h
This implies d21 (x1 , x3 ) + d22 (y1 , y3 ) ≤ d1 (x1 , x2 ) + d1 (x2 , x3 ) + d2 (y1 , y
p √ √
By Minkowski’s Inequality, (a + b)2 + (c + d)2 ≤ a2 + c2 + b2 + d2
q rh q
2 2
That is d1 (x1 , x3 ) + d2 (y1 , y3 ) ≤ d1 (x1 , x2 ) + d2 (y1 , y2 ) + d21 (x2 , x
2 2
Examples 1.1.4
(1) Let (X, d) be a metric space. Prove that |d(x, y) − d(x, z)| ≤ d(y, z) ∀x, y, z ∈ X.
Let x, y, z ∈ X.
d(x, y) ≤ d(x, z) + d(z, y) =⇒ d(x, y) − d(x, z) ≤ d(z, y) (∗)
d(x, z) ≤ d(x, y) + d(y, z) =⇒ d(x, z) − d(x, y) ≤ d(z, y) (∗∗)
By (∗) and (∗∗)
|d(x, y) − d(x, z)| ≤ d(y, z)
n
X
d1 (x, y) = |xi − yi |
i=1
n
hX i2
d21 (x, y) = |xi − yi |
i=1
n
X X
= |xi − yi |2 + 2 |xi − yi ||xj − yj |
i=1 1≤i<j≤n
X
= d22 (x, y) + 2 |xi − yi ||xj − yj |
1≤i<j≤n
X
≥ d22 (x, y) (as 2 |xi − yi ||xj − yj | ≥ 0)
1≤i<j≤n
v v
u n u n
uX uX p
d2 (x, y) = t (xi − yi )2 t (xi − yi )2 = (x1 − y1 )2 + (x2 − y2 )2 · · · + (xn − yn
i=1 i=1
p
≥ (xi − yi )2 for all 1 ≤ i ≤ n
= |xi − yi | for all 1 ≤ i ≤ n
d2 (x, y) ≥ max {|xi − yi | : 1 ≤ i ≤ n}
d2 (x, y) ≥ d∞ (x, y) (∗∗)
n
√ d1 (x, y) ≥ d2 (x, y) ≥ d∞ (x, y) forn all x, y ∈ R .
From (∗) and (∗∗), we have
To prove that d1 (x, y) ≤ nd2 (x, y) ≤ nd∞ (x, y) for x, y ∈ R .
d∞ (x, y) = max{|xi − yi | : 1 ≤ i ≤ n}
d2∞ (x, y) ≥ |xi − yi |2 1 ≤ i ≤ n
= (xi − yi )2 1 ≤ i ≤ n
Xn
nd2∞ (x, y) ≥ (xi − yi )2
i=1
∴ nd2∞ (x, y)
≥ d22 (x, y)
√
∴ nd∞ (x, y) ≥ d2 (x, y)
1
∴ d∞ (x, y) ≥ √ d2 (x, y) (1)
n
n
X
d22 (x, y) = (xi − yi )2
i=1
n
X
= |xi − yi |2
i=1
n
!2
X X
d22 (x, y) = |xi − yi | −2 |xi − yi ||xj − yj | (∗)
i=1 1≤i<j≤n
X
2 |ai ||aj | =
1≤i<j≤n
2|a1 ||a2 | + 2|a1 ||a3 | + · · · + 2|a1 ||an | + 2|a2 ||a3 | + · · · 2|a2 ||an | + · · · + 2|an−1 ||an |.
X
2 |ai ||aj | ≤ (|a1 |2 + |a2 |2 ) + · · · + (|a1 |2 + |an |2 ) + (|a2 |2 + |a3 |2 ) + · · · + (|an−1 |2 + |an |2 )
1≤i<j≤n
X
Put ai = xi − yi , =⇒ 2 |xi − yi ||xj − yj | ≤ (n − 1)d22 (x, y)
1≤i<j≤n
X
∴ −2 |xi − yi ||xj − y| ≥ −(n − 1)d22 (x, y).
1≤i<j≤n
Substituting this in (∗), we get,
n
!2
X
d22 (x, y) ≥ |xi − yi | − (n − 1)d22 (x, y)
i=1
n
!2
X
nd22 (x, y) ≥ |xi − yi |
i=1
nd22 (x, y) ≥ 2
d1 (x, y)
√
nd2 (x, y) ≥ d1 (x, y)
1 1 1
√ d2 (x, y) ≥ d1 (x, y) (2) dividing both sides by
n n n
1 1
From (1) and (2), we get, d∞ (x, y) ≥ √ d2 (x, y) ≥ d1 (x, y) for all x, y ∈ Rn .
n n
(5) Prove or disprove: Let (X,p d) be a metric space. Consider the metric d1 : X ×X −→
R, defined as d1 (x, y) = d(x, y). Then d1 (x, y) ≤ d(x, y) for all x, y ∈ X or
d(x, y) ≤ d1 (x, y) for all x, y ∈ X. p
Let
p X = R and d : R × R −→ R, d(x, y) = |x − y| and d 1 (x, y) = d(x, y) =
|x − y|. √
Take x1 = 2, y1 = 6. So, d(x1 , y1 ) = 4 and d1 (x1 , y1 ) = 4 = 2. So, d1 (x1 , y1 ) <
d(x, y). √
Take x2 = 0.02, y2 = 0.06. So, d(x2 , y2 ) = 0.04 and d1 (x1 , y1 ) = 0.04 = 0.2. So,
d(x2 , y2 ) < d1 (x2 , y2 ).
(2) Let d1 and d2 be metrics on a non-empty set X. Then none of the following functions
is a metric on X.
2 2
(i) d : X ×X −→ R defined as d(x, y) = (d21 +d22 )(x, y) = d1 (x, y) + d2 (x, y)
(ii) d : X × X −→ R defined as d(x, y) = (ad1 + bd2 )(x, y) = ad1 (x, y) + bd2 (x, y).
(iii) d : X × X −→ R defined as d(x, y) = min{d1 (x, y), d2 (x, y)}.
We will prove that above functions are not metrics on the given space.
(iii) kx + yk ≤ kxk + kyk for all x, y ∈ V. (This is known as the triangle inequlity of the
norm)
Proof:
d(x, y) = kx − yk.
= ky − xk
= d(y, x) ∀ x, y ∈ V
d(x, z) = kx − zk
= kx − y + y − zk
≤ kx − yk + ky − zk
= d(x, y) + d(y, z)
∴ d(x, z) ≤ d(x, y) + d(y, z) ∀ x, y, z ∈ V. (III)
43
Examples 1.2.3
(3) Consider the vector space C[0, 1]. Define k k2 : C[0, 1] −→ R as kf k∞ = sup {|f (t)| :
t ∈ [0, 1]}. Then k ksup is a norm on the vector space C[0, 1] over R.
n ∞
X o
1
(4) Consider the vector space l = (xn ) : xn ∈ R, |xn | < ∞ over R. Define
n=1
infty
X
k k1 : l 1 −→ R, kx k1 = |xn |. Then k k1 is a norm on the vector space l 1 over R.
n=1
∞
X
(5) Let l 2 = {(xn ) : (xn ) is a sequence of real numbers such that x2n < ∞}. If
n=1
∞
X 21
kxk2 = x2n for x = (x1 , x2 , . . . , xn , . . .) ∈ l 2 , then k k2 is a norm on the
n=1
vector space l 2 over R.
(6) Consider the vector space M2 (R) over R. Define k k : M2 (R) −→ R given by
kAk = max 1≤i,j≤2 |aij | for A = (aij ) is a norm on M2 (R).
i=n
X
n
(i) Define k k1 : R −→ R, kxk1 = |xi |. Then k k1 is a norm on the vector
i=1
space Rn over R.
Let Rn = {(x1 , x2 , . . . , xn ) : xi ∈ R for 1 ≤ i ≤ n}.
i=n
X
For x = (x1 , x2 , . . . , xn ), kxk1 = |xi |.
i=1
We prove that k k1 is a norm on Rn .
We have to prove that
(i) kxk1 ≥ 0 for all x ∈ Rn and kxk1 = 0 if and only if x = 0.
(ii) kαxk1 = |α|kxk for all α ∈ R, x ∈ Rn .
(iii) kx + yk1 ≤ kxk1 + kyk1 for all x, y ∈ Rn .
Let x = (x1 , x2 , · · · , xn ) ∈ Rn .
Xn
kxk1 = |xi |.
i=1
n
X
As |xi | ≥ 0 for all i, 1 ≤ i ≤ n, we have, |xi | ≥ 0.
i=1
Hence kxk1 ≥ 0 for all x ∈ Rn .
n
X
kxk1 = 0 if and only if |xi | = 0.
i=1
n
X
As |xi | ≥ 0 for all i, 1 ≤ i ≤ n, |xi | = 0 =⇒ |xi | = 0 for all i, 1 ≤ i ≤ n,
i=1
that is xi = 0 for all 1 ≤ i ≤ n.
Hence kxk1 = 0 if and only if x = 0.
Now we prove that kαxk1 = |α|kxk1 for all α ∈ R, x ∈ Rn .
αx = α ∗ (x1 , x2 , · · · , xn ) = (α ∗ x1 , α ∗ x2 , · · · , α ∗ xn ).
Xn X n X n
kαxk1 = |α ∗ xi | = |α| ∗ |xi | = |α| ∗ |xi | = |α| ∗ kxk1 for all x ∈ Rn .
k=1 k=1 k=1
We prove that kx + yk1 ≤ kxk1 + kyk1 for all x, y ∈ Rn .
x = (x1 , x2 , · · · , xn ) and y = (y1 , y2 , · · · , yn ).
This implies x + y = (x1 + y1 , x2 + y2 , · · · , xn + yn ).
X n
So, kx + yk1 = |xi + yi |.
i=1
Thus k k1 is a norm on Rn .
v
u i=n
uX 2
n
(ii) Define k k2 : R −→ R, kxk2 = kxk2 = t xi then k k2 is a norm on the
i=1
vector space Rn over R.
Let x =s (x1 , x2 , · · · , xn ) ∈ Rn .
X n
kxk2 = x2i .
i=1
n
X
As x2i ≥ 0 for all i, 1 ≤ i ≤ n, we have, x2i ≥ 0.
s n i=1 s n
X √ X
So, x2i ∈ R and since a ≥ 0 for all a ≥ 0, we have x2i ≥ 0.
i=1 i=1
Hence kxk2 ≥ 0 for all xs∈ Rn .
Xn n
X
2
kxk2 = 0 if and only if xi = 0 if and only if x2i = 0
i=1 i=1
n
X
As x2i ≥ 0 for all i, 1 ≤ i ≤ n, x2i = 0 =⇒ x2i = 0 for all i, 1 ≤ i ≤ n, that is
i=1
xi = 0 for all 1 ≤ i ≤ n.
Hence kxk2 = 0 if and only if x = 0.
Now we prove that kαxk2 = |α|kxk2 for all α ∈ R, x ∈ Rn .
αx = α ∗ (x1 , x2 , · · · , xn ) = (α ∗ x1 , α ∗ x2 , · · · , α ∗ xn ).
We prove that kx + yk2 ≤ kxk2 + kyk2 for all x, y ∈ Rn .
x = (x1 , x2 , · · · , xn ) and y = (y1 , y2 , · · · , yn ).
This implies x +sy = (x1 + y1 , x2 + y2 , · · · , xn + yn ).
X n
So, kx + yk2 = (xi + yi )2 .
i=1
v v v
u n u n u n
uX u X uX 2
t (xi + yi )2 ≤ t 2
xi + t yi ∀i, 1 ≤ i ≤ n Minkowski’s Inequality
i=1 i=1 i=1
Thus k k2 is a norm on Rn .
(iii) Define k k∞ : Rn −→ R, kxk∞ = max {|x1 | : 1 ≤ i ≤ n}. Then k k∞ is a norm
on the vector space Rn over R.
Let x = (x1 , x2 , · · · , xn ) ∈ Rn .
kxk∞ = max{|xi | : 1 ≤ i ≤ n}.
As |xi | ≥ 0 for all i, 1 ≤ i ≤ n, we have, max{xi : 1 ≤ i ≤ n} ≥ 0.
Hence kxk∞ ≥ 0 for all x ∈ Rn .
kxk∞ = 0 if and only if max{|xi | : 1 ≤ i ≤ n} = 0.
Now, 0 ≤ |xi | ≤ 0 for all i, 1 ≤ i ≤ n.
46 CHAPTER 1. UNIT I: METRIC SPACES
kαxk∞ = max{|α ∗ xi | : 1 ≤ i ≤ n}
= max{|α||xi | : 1 ≤ i ≤ n}
= |α| ∗ max{|xi | : 1 ≤ i ≤ n} (as |α| ≥ 0)
= |α| ∗ kxk∞
Thus k k∞ is a norm on Rn .
Z 1
(2) Consider the vector space C[0, 1]. Define k k1 : C[0, 1] −→ R as kf k1 = |f (t)| dt.
0
Then k k1 is a norm on the vector space C[0, 1] over ZR.
1
Let X = C [0 , 1 ], k k1 : X −→ R defined by, kf k1 = |f (t)| dt
0
We prove that k k1 is a norm on C [0 , 1 ].
We have to prove that
if and only if f = 0
(3) Consider the vector space C[0, 1]. Define k k2 : C[0, 1] −→ R as kf k∞ = sup {|f (t)| :
t ∈ [0, 1]}. Then k ksup is a norm on the vector space C[0, 1] over R.
48 CHAPTER 1. UNIT I: METRIC SPACES
n ∞
X o
1
(4) Consider the vector space l = (xn ) : xn ∈ R, |xn | < ∞ over R. Define
n=1
∞
X
k k1 : l 1 −→ R, kx k1 = |xn |. Then k k1 is a norm on the vector space l 1 over R.
n=1
∞
X
Let l 1 = {(xn ) : |xn | < ∞}.
i=1
∞
X
For x = (xn ), kxk1 = |xn |.
n=1
We prove that k k1 is a norm on l 1 .
We have to prove that
∞
X
kxk1 = |xn |.
n=1
∞
X
As |xn | ≥ 0 for all n ∈ N, we have, |xn | ≥ 0.
n=1
Hence kxk1 ≥ 0 for all x ∈ l 1 .
∞
X ∞
X
kxk1 = 0 if and only if |xn | = 0 if and only if |xn | = 0
n=1 n=1
49
∞
X
As |xn | ≥ 0 for all n, n ∈ N, |xn | = 0 =⇒ |xn | = 0 for all n, n ∈ N, that is xn = 0
n=1
for all n, n ∈ N.
Hence kxk1 = 0 if and only if x = 0.
Now we prove that kαxk1 = |α|kxk1 for all α ∈ R, x ∈ l 1 .
αx = α ∗ (xn , x2 , · · · , xn , · · · ) = (α ∗ x1 , α ∗ x2 , · · · , α ∗ xn , · · · ).
X∞ X∞ X∞
kαxk1 = |α ∗ xn | = |α| |xn | = |α| ∗ |xn | = |α| ∗ kxk1 for all x ∈ l 1 .
n=1 n=1 n=1
We prove that kx + yk1 ≤ kxk1 + kyk1 for all x, y ∈ l 1 .
x = (x1 , x2 , · · · , xn , · · · ) and y = (y1 , y2 , · · · , yn , · · · ).
This implies x + y = (x1 + y1 , x2 + y2 , · · · , xn + yn , · · · ).
n
X n
X n
X
|xi + yi | ≤ |xi | + |yi | ∀i, 1 ≤ i ≤ n
i=1 i=1 i=1
≤ kxk1 + kyk1 for all n ∈ N
n
X
|xi + yi | ≤ kxk1 + kyk1 for all n ∈ N
i=1
n
X
|xi + yi | ≤ kxk1 + kyk1 for all n ∈ N
i=1
∞
X
|xn + yn | ≤ kxk1 + kyk1
n=1
kx + yk1 ≤ kxk1 + kyk1
Thus k k1 is a norm on Rn .
∞
X
(5) Let l 2
= {(xn ) : (xn ) is a sequence of real numbers such that x2n < ∞}. If
n=1
∞
X 21
kxk2 = x2n for x = (x1 , x2 , . . . , xn , . . .) ∈ l 2 , then k k) is a norm on the
n=1
vector space l 2 over R.
X ∞
2
Let l = {(xn ) : xn2 < ∞}.
i=1 s
X∞
For x = (xn ), kxk2 = x2n .
n=1
We prove that k k2 is a norm on l 2 .
We have to prove that
s∞
X
kxk2 = x2n .
n=1
∞
X
As x2n ≥ 0 for all n ∈ N, we have, x2n ≥ 0.
s∞ n=1 s∞
X √ X
So, x2n ∈ R and since a ≥ 0 for all a ≥ 0, we have x2n ≥ 0.
n=1 n=1
Hence kxk2 ≥ 0 for all xs∈ l 2 .
X∞ ∞
X
2
kxk2 = 0 if and only if xn = 0 if and only if x2n = 0
n=1 n=1
X∞
As x2n ≥ 0 for all n, n ∈ N, x2n = 0 =⇒ x2n = 0 for all n, n ∈ N, that is xn = 0 for
n=1
all n, n ∈ N.
Hence kxk2 = 0 if and only if x = 0.
Now we prove that kαxk2 = |α|kxk2 for all α ∈ R, x ∈ l 2 .
αx = α ∗ s (xn , x2 , · · · , xn , · ·s
· ) = (α ∗ x1 , α ∗ x2 ,s
· · · , α ∗ xn , · · · ).
X∞ X∞ X∞
2 2
kαxk2 = (α ∗ xn ) = α 2 xn = |α| ∗ x2n = |α| ∗ kxk2 for all x ∈ l 2 .
n=1 n=1 n=1
We prove that kx + yk2 ≤ kxk2 + kyk2 for all x, y ∈ l 2 .
x = (x1 , x2 , · · · , xn , · · · ) and y = (y1 , y2 , · · · , yn , · · · ).
This implies x + y = (x1 + y1 , x2 + y2 , · · · , xn + yn , · · · ).
v v v
u n u n u n
uX u X uX 2
t (xi + yi )2 ≤ t 2
xi + t yi ∀i, 1 ≤ i ≤ n Minkowski’s Inequality
i=1 i=1 i=1
Thus k k2 is a norm on Rn .
51
(6) Consider the vector space M2 (R) over R. Define k k : M2 (R) −→ R given by
kAk = max 1≤i,j≤2 |aij | for A = (aij ) is a norm on M2 (R).
X = M2 (R) and kAk = max1≤i,j≤2 {|aij |} for A = (aij )
Clealy |aij | ≥ 0, ∀ i, j 1 ≤ i, j ≤ 2
=⇒ max {|aij | : 1 ≤ i, j ≤ 2} ≥ 0
=⇒ kAk ≥ 0, ∀ A ∈ M2 (R)
∴ k k is nonnegative on M2 (R).
Now if
0 0
A=
0 0
then kAk = max {|aij | : 1 ≤ i, j ≤ 2} = 0
Conversely, kAk = 0
∴ max {|aij | : 1 ≤ i, j ≤ 2} = 0
∴ 0 ≤ |aij | ≤ max1≤i,j≤2 {|aij |} = 0
∴ |aij | = 0 ∀i, j = 1, 2
∴ aij = 0 ∀i, j = 1, 2
∴ A=0
kαAk = max1≤i,j≤2 {|αaij |}
= max1≤i,j≤2 {|α| ∗ |aij |}
= |α| ∗ max1≤i,j≤2 {|aij |}
∴ kα ∗ Ak = |α|kAk, ∀ α ∈ R, ∀A ∈ M2 (R) If A = (aij )2×2 and B = (bij )
then |aij + bij | ≤ |aij | + |bij | ≤ kAk + kBk ∀ i, j = 1, 2
∴ max {|aij + bij | : 1 ≤ i, j ≤ 2} ≤ kAk + kBk
∴ kA + Bk ≤ kAk + kBk, ∀ A, B ∈ M2 (R)
Thus k k satisfies triangle inequality.
(7) C (set of complex numbers) is a normed linear space where norm is the absolute
value of a complex number.
v v
u n u n q
uX 2 uX
kxk2 = t xi t x2i = x21 + x22 · · · + x2n
i=1 i=1
q
≥ x2i for all 1 ≤ i ≤ n
= |xi | for all 1 ≤ i ≤ n
kxk2 ≥ max{|xi | : 1 ≤ i ≤ n}
kxk2 ≥ kxk∞ (∗∗)
From (∗) and (∗∗), we have kxk1 ≥ kxk2 ≥ kxk∞ for all x ∈ Rn . To prove that kxk1 ≤
√
nkxk2 ≤ nkxk∞ for x ∈ Rn .
kxk∞ = max{|xi | : 1 ≤ i ≤ n}
kxk2∞ ≥ |xi |2 1 ≤ i ≤ n
= x2i 1 ≤ i ≤ n
Xn
2
nkxk∞ ≥ x2i
i=1
∴ nkxk2∞ ≥ kxk22
√
∴ nkxk∞ ≥ kxk2
1
∴ kxk∞ ≥ √ kxk2 (1)
n
n
X
kxk22 = x2i
i=1
Xn
= |xi |2
i=1
n
!2
X X
kxk22 = |xi | −2 |xi ||xj | (∗)
i=1 1≤i<j≤n
X
Now,2 |xi ||xj | = 2|x1 ||x2 | + 2|x1 ||x3 | + · · · + 2|x1 ||xn | + 2|x2 ||x3 | + · · · 2|x2 ||xn | + · · · + 2|xn−1
1≤i<j≤n
(4) Consider (R2 , d∞ ) where d∞ is the distance induced by the norm kxk∞ = sup{|x1 |, |x2 |}.
Then Bd∞ (p, r) = {(x1 , x2 ) ∈ R2 : sup{|x1 − p1 |, |x2 − p2 |} < r}. That is Bd∞ (p, r)
in (R2 , d∞ ) is the interior part of the square with sides along x2 = r + p2 , −x2 =
r − p2 , x1 = r + p1 , −x1 = −r − p1 and not including the border.
(5) Let V = C [0 , 1 ] be the normed linear space of continuous real valued functions on
[0, 1] under the sup norm that is kf k∞ = sup{|f (t)| : t ∈ [0, 1]} ∀ f ∈ C [0 , 1 ]. Let
f ∈ C[0, 1] and r > 0. Then ψ ∈ B∞ (f, r) if and only if its graph lies in the region
bounded by the curves y = f ± r and the lines x = 0, x = 1.
Z 1
(6) Consider the normed linear space (C [0 , 1 ], k k1 ), where kf k1 = |f (t)|dt for all
0
f ∈ C [0 , 1 ].
Let f ∈ C [0 , 1 ] and > 0. Then ψ ∈ B1 (f, ) if and only if the area under the
graph of |ψ − f | is less than .
(8) Consider (Z, d) where d is the induced usual metric on R. Let p ∈ Z, r > 0.
Note that any open interval in R can be expressed as an open ball in (R, d) where
d is the usual metric.
Let (a, b) be any open interval in R.
a+b
Let p − r = a and p + r = b.This implies 2p = a + b. So p = .
2
b−a a+b b−a
Also 2r = b − a =⇒ r = . We can verfify that B , = (a, b).
2 2 2
55
p
(2) In (R2 , d2 ) where d2 is the distance induced by the norm kxk2 = x21 + x22 .
Then Bd2 (p, r) = {(x1 , x2 ) ∈ R2 : (x1 − p1 )2 + (x2 − p2 )2 < r2 }. That is B(p, r)
in (R2 , Euclidean) is the interior part of the circle with center at p = (p1 , p2 ) and
radius r excluding the border.
n o
Bd2 (p, r) = (x1 , x2 ) ∈ R2 : d2 (x1 , x2 ), (p1 , p2 ) < r
p
= {(x1 , x2 ) ∈ R2 : (x1 − p1 )2 + (x2 − p2 )2 < r}
= {(x1 , x2 ) ∈ R2 : (x1 − p1 )2 + (x2 − p2 )2 < r2 }
For example: Consider Bd2 (0, 0), 1 .
1
x21 + x22 = 1
−1 0 1 2
−1
−2
(3) Consider (R2 , d1 ) where d1 is the distance induced by the norm kxk1 = |x1 | + |x2 |.
Then Bd1 (p, r) = {(x1 , x2 ) ∈ R2 : |x1 − p1 | + |x2 − p2 | < r}. That is Bd1 (p, r) in
(R2 , d1 ) is the interior part of the square with sides along x1 + x2 = r + p1 + p2 , x1 −
x2 = r − p1 + p2 , −x1 + x2 = r + p1 − p2 , x1 + x2 = −(r + p1 + p2 ) excluding the
border.
r − p1 + p2 .
If x1 − p1 < 0 and x2 − p2 < 0. Then |x1 − p1 | = −x1 + p1 , |x2 − p2 | = −x2 + p2 .
Hence |x1 − p1 | + |x2 − p2 | < r becomes −x1 + p1 − x2 + p2 < r =⇒ −x1 − x2 <
r − p1 − p2 .
57
Bd1 (p1 , p2 ), r .
y = x + r − p1 + p2 y = −x + r + p1 + p2
(p1 , p2 )
r
y = −x − r + p1 + p2 y = x − r − p1 + p2
(0, 0)
58 CHAPTER 1. UNIT I: METRIC SPACES
(4) Consider (R2 , d∞ ) where d∞ is the distance induced by the norm kxk∞ = sup{|x1 |, |x2 |}.
Then Bd∞ (p, r) = {(x1 , x2 ) ∈ R2 : sup{|x1 − p1 |, |x2 − p2 |} < r}. That is Bd∞ (p, r)
in (R2 , d∞ ) is the interior part of the square with sides along x2 = r + p2 , −x2 =
r − p2 , x1 = r + p1 , −x1 = −r − p1 and not including the border.
B∞ B (p1 , p2 ), r .
y = p2 + r
x = p1 − r (p1 , p2 ) x = p1 + r
r
y = p2 − r
(0, 0)
(5) Let V = C [0 , 1 ] be the normed linear space of continuous real valued functions on
[0, 1] under the sup norm that is kf k∞ = sup{|f (t)| : t ∈ [0, 1]} ∀ f ∈ C [0 , 1 ]. Let
f ∈ C[0, 1] and r > 0. Then ψ ∈ B∞ (f, r) if and only if its graph lies in the region
bounded by the curves y = f ± r and the lines x = 0, x = 1.
59
Z 1
(6) Consider the normed linear space (C [0 , 1 ], k k1 ), where kf k1 = |f (t)|dt for all
0
f ∈ C [0 , 1 ].
Let f ∈ C [0 , 1 ] and > 0. Then ψ ∈ B1 (f, ) if and only if the area under the
graph of |ψ − f | is less than .
(8) Consider (Z, d) where d is the induced usual metric on R. Let p ∈ Z, r > 0.
BZ (p, r) = {x ∈ Z : d(x, p) < r} = {x ∈ Z : |x − p| < r} = {x ∈ Z : p − r < x <
p + r} = Z ∩ (p − r, p + r). (∗)
Case 1: r ≤ 1.
We will prove that BZ (p, r) = {p}.
Since d(p, p) = 0 < r, p ∈ B(p, r). Hence {p} ⊆ BZ (p, r).
Let x ∈ BZ (p, r). So x ∈ (p − r, p + r) ∩ Z. (from (∗))
Since r < 1, (p − r, p + r) ⊂ (p − 1, p + 1).
Therefore (p − r, p + r) ∩ Z ⊆ (p − 1, p + 1) ∩ Z.
As (p − 1, p + 1) ∩ Z = {p}, (p − r, p + r) ∩ Z ⊆ {p} and hence BZ (p, r) ⊆ {p}..
Thus BZ (p, r) = {p}.
Case 2: r > 1.
Then BZ (p, r) = (p−r, p+r)∩Z = {[p−r]+1, [p−r]+2, · · · , p, p+1, · · · [p+r]}.
(9) Let (X, d) be a finite metric space. Therefore X is finite. Let X = {a1 , a2 , · · · , an }.
Let p ∈ X. Then p = ai for some i, 1 ≤ i ≤ n.
Let r ≤ min{d(p, aj ) : 1 ≤ j ≤ n, j 6= i}. So r > 0.
We will show that B(p, r) = {p}.
60 CHAPTER 1. UNIT I: METRIC SPACES
Examples 1.4.2
(1) Consider the metric spaces (Z, d) and (Z, d1 ) where d is the distance induced usual
metric on R and d1 is the discrete metric. Show that for every r > 0, there exists
r0 > 0 such that Bd (x, r0 ) ⊆ Bd1 (x, r) and for every r > 0, there exists r00 > 0 such
that Bd1 (x, r00 ) ⊆ Bd (x, r) for all x ∈ X.
Also show that there exists r1 > 0 such that Bd1 (x, r1 ) 6= Bd (x, r) for any r > 0 for
all x ∈ X.
(2) Let (X, d) be a metric space. Consider the metric space d1 : X ×X −→ R, d1 (x, y) =
d(x, y)
. Show that for every r > 0, there exists r0 > 0 such that Bd (x, r0 ) ⊆
1 + d(x, y)
Bd1 (x, r) and for every r > 0, there exists r00 > 0 such that Bd1 (x, r00 ) ⊆ Bd (x, r) for
all x ∈ X.
r
Also show that for 0 < r < 1, Bd1 (x, r) = Bd (x, 1−r ).
r
Let y ∈ Bd (x, 1−r ). d(y, x)
r
∴ <r
=⇒ d(y, x) < 1−r . 1 + d(y, x)
∴ (1 − r)d(y, x) < r. (as1 − r > 0) ∴ d1 (y, x) < r
∴ d(y, x) − rd(y, x) < r Hence y ∈ Bd1 (x, r)
r
∴ d(y, x) < r + rd(y, x) =⇒ Bd (x, ) ⊆ Bd1 (x, r)
1−r
∴ d(y, x) < r(1 + d(x, y))
r
Hence Bd1 (x, r) = Bd (x, 1−r ) for all 0 < r < 1.
(i) For every r > 0, there exists r0 > 0 such that Bd1 (x, r0 ) ⊆ Bd2 (x, r)
(ii) For every r > 0, there exists r00 > 0 such that Bd2 (x, r00 ) ⊆ Bd1 (x, r) for all
x ∈ X.
(iii) For every r > 0, there exists r1 > 0 such that Bd1 (x, r1 ) ⊆ Bd∞ (x, r)
(iv) For every r > 0, there exists r2 > 0 such that Bd∞ (x, r2 ) ⊆ Bd1 (x, r) for all
x ∈ X.
(v) For every r > 0, there exists r3 > 0 such that Bd2 (x, r3 ) ⊆ Bd∞ (x, r)
(vi) For every r > 0, there exists r4 > 0 such that Bd∞ (x, r4 ) ⊆ Bd2 (x, r) for all
x ∈ X.
(i) For every r > 0, there exists r0 > 0 such that Bd1 (x, r0 ) ⊆ Bd2 (x, r)
(ii) For every r > 0, there exists r00 > 0 such that Bd2 (x, r00 ) ⊆ Bd1 (x, r) for all
x ∈ X.
√
From example 1.1.4 no.2, we have, d∞ (x, y) ≤ d2 (x, y) ≤ d1 (x, y) ≤ nd2 (x, y) ≤
nd∞ (x, y) for all x, y ∈ Rn . √
Here n = 2. Hence d∞ (x, y) ≤ d2 (x, y) ≤ d1 (x, y) ≤ 2d2 (x, y) ≤ 2d∞ (x, y)
for all x, y ∈ R2 .
√r
2
r(p1 , p2 ) r(p1 , p2 )
(0, 0) (0, 0)
Figure 1.1: Bd1 (x, r0 ) ⊆ Bd2 (x, r) Figure 1.2: Bd2 (x, r00 ) ⊆ Bd1 (x, r)
(iii) For every r > 0, there exists r1 > 0 such that Bd1 (x, r1 ) ⊆ Bd∞ (x, r)
(iv) For every r > 0, there exists r2 > 0 such that Bd∞ (x, r2 ) ⊆ Bd1 (x, r) for all
x ∈ X.
(iii) Let r > 0. We show that (iv) Let r > 0. We show that
∃ r1 > 0 such that ∃ r2 > 0 such that
Bd1 (x, r1 ) ⊆ Bd∞ (x, r) Bd∞ (x, r2 ) ⊆ Bd1 (x, r)
From (*) d∞ (x, y) ≤ d1 (x, y) (I) From (*), d1 (x, y) ≤ 2d∞ (x, y) (II)
(We can choose any r1 ≤ r.) d1 (x, y)
That is, ≤ d∞ (x, y)
Choose r1 = r. 2
r
Claim: Bd1 (x, r1 ) ⊆ Bd∞ (x, r) Choose r2 = (any r2 ≤ 2r .).
2
Let y ∈ Bd1 (x, r1 ). Claim: Bd∞ (x, r2 ) ⊆ Bd1 (x, r)
=⇒ d1 (y, x) < r1 = r. Let y ∈ Bd∞ (x, r2 ).
From (I), d∞ (y, x) ≤ d1 (y, x) < r. r
=⇒ d∞ (y, x) < r2 = .
So, d∞ (y, x) < r. 2
=⇒ y ∈ Bd∞ (x, r). That is , 2 ∗ d∞ (y, x) < r.
So Bd1 (x, r1 ) ⊆ Bd∞ (x, r) From (II), d1 (y, x) ≤ 2d∞ (y, x) <
r.
Therefore, d1 (y, x) < r
64 CHAPTER 1. UNIT I: METRIC SPACES
r
2
(p1 , p2 ) (p1 , p2 )
r
Figure 1.3: Bd1 (x, r1 ) ⊆ Figure 1.4: Bd∞ (x, r2 ) ⊆ Bd1 (x, r)
Bd∞ (x, r), r1 = r
65
(v) For every r > 0, there exists r3 > 0 such that Bd2 (x, r3 ) ⊆ Bd∞ (x, r)
(vi) For every r > 0, there exists r4 > 0 such that Bd∞ (x, r4 ) ⊆ Bd2 (x, r) for all
x ∈ R2 ..
(v) Let r > 0. We show that (vi) Let r > 0. We show that
∃ r3 > 0 such that ∃ r4 > 0 such that
Bd2 (x, r3 ) ⊆ Bd∞ (x, r) Bd∞ (x, r4 ) ⊆ Bd2√ (x, r)
From (*) d∞ (x, y) ≤ d2 (x, y) (I) From (*), 2d2 (x, y) ≤
Choose r3 = r. 2d∞ (x, y) (II)
(We can choose any r3 ≤ r.) d2 (x, y)
That is, √ ≤ d∞ (x, y)
Claim: Bd2 (x, r3 ) ⊆ Bd∞ (x, r) 2
Let y ∈ Bd2 (x, r3 ). r
Choose r4 = √ (any r4 ≤ √r2 ).
=⇒ d2 (y, x) < r3 = r. 2
From (I), d∞ (y, x) ≤ d2 (y, x) < r. Claim: B d∞ (x, r4 ) ⊆ Bd2 (x, r)
r4 = √r
(p1 , p2 ) r 2
(p1 , p2 )
r3 = r r
(0, 0) (0, 0)
Figure 1.5: Bd2 (x, r0 ) ⊆ Bd∞ (x, r) Figure 1.6: Bd∞ (x, r00 ) ⊆ Bd2 (x, r)
66 CHAPTER 1. UNIT I: METRIC SPACES
(4) Let d1 and d2 be metrics on a non-empty set X such that there exist k1 , k2 > 0 such
that k1 d1 (x, y) ≤ d2 (x, y) ≤ k2 d1 (x, y), ∀x, y ∈ X. Show that for every r > 0 there
exists r0 > 0 such that Bd2 (x, r0 ) ⊆ Bd1 (x, r) and for every r > 0 there exists r00 > 0
such that Bd1 (x, r00 ) ⊆ Bd2 (x, r).
Theorem 1.5.1 Let (Y, d) be a subspace of the metric space (X, d) and let p ∈ Y and
r > 0. Let BY (p, r) = {x ∈ Y : d(x, p) < r}. Then BY (p, r) = B(p, r) ∩ Y where
B(p, r) = {x ∈ X : d(x, p) < r}.
Proof:
Definition 1.6.2 Let (X, d) be a metric space and let et G ⊆ X.G is said to be not open
if there exists x ∈ G, such that, for every r > 0, B(x, r) 6⊆ G.
Proof:
\
Let G = Gi .
1≤i≤n
If G = ∅ then G is open.
Suppose G 6= ∅.
Let x ∈ G.
∴ x ∈ Gi for all i, 1 ≤ i ≤ n.
Gi is open for all i, 1 ≤ i ≤ n.
=⇒ ∃ ri > 0 such that B(x, ri ) ⊆ Gi) for all i, 1 ≤ i ≤ n. · · · (I)
Choose r = min{ri : 1 ≤ i ≤ n}.
Therefore r ≤ ri ,for all i, 1 ≤ i ≤ n.
Hence, B(x, r) ⊆ B(x, ri ) for all i, 1 ≤ i ≤ n.
Hence, B(x, r) ⊆ B(x, ri ) ⊆ Gi for all i, 1 ≤ i ≤ n. · · · (from (I))
Therefore B(x, r) ⊆ Gi for all i, 1 ≤ i ≤ n.
Thus B(x, r) ⊆ ∩1≤i≤n Gi
That is, B(x, r) ⊆ G.
Thus, for every x ∈ G, ∃ r > 0 such that B(x, r) ⊆ G.
Hence G = ∩1≤i≤n Gi is an open set.
(1) Open balls are open sets in every metric space. But an open set need not be an
open ball.
(2) Open intervals are open sets in (R, d) where d is the usual metric.
(5) Every subset of (Z, d) were d is the induced metric from R with usual metric.
(8) (a, b) × (c, d) is an open subset of (R2 , d) where d is the Euclidean distance is an
open set.
(11) Let (X, d1 ) and (Y, d2 ) be metric spaces. Consider the metric d : (X × Y ) ×
(X × Y ) −→ R defined by d((x1 , y1 ), (x2 , y2 )) = max {d1 (x1 , x2 ), d2 (y1 , y2 )}. Let
p ∈ X, q ∈ Y and r, s > 0. B(p, r) × B(q, s) is an open set in (X × Y, d). item Let
(X, d1 ), (Y, d2 ) be metric spaces. Consider
the product space X ×Y with the product
metric d : (X × Y ) × (X × Y ) −→ R, d (x1 , y1 ), (x2 , y2 ) = max{d1 (x1 , y1 ), (x2 , y2 )}.
Let U, V be open subsets of X, Y respectively. Show that U × V is an open subset
of X × Y.
(1) Open balls are open sets in every metric space. But an open set need not be an
open ball.
B(x, r) = {y ∈ X : d(x, y) < r}. [2 marks]
In (R, d) where d is the usual metric, R is an open set, but R 6= B(x, r) for any
x, r ∈ R and r > 0.
For if R = B(x, r) for some x, r ∈ R, r > 0,
then R = (x − r, x + r) (In (R, usual), B(x, r) = (x − r, x + r))
So, R is bounded.
and hence a contradiction.
So, R 6= B(x, r) for any x, r ∈ R and r > 0.
Thus R is an open set but it is not an open ball in (R, usual) [2 marks]
(2) Open intervals are open sets in (R, d) where d is the usual metric.
S
∴ G = Sp∈G {p}
∴ G = p∈G Bd (p, 1)
Since open balls are open sets,
we have expressed G as a union of open sets.
G is open in (X, d)
(as arbitrary union of open sets is open)
Hence A is open.
(8) (a, b) × (c, d) is an open subset of (R2 , d) where d is the Euclidean distance is an
open set.
Let (p1 , p2 ) ∈ (a, b) × (c, d). So, a < p1 < b and c < p2 < d.
Choose r = min{b − p1 , p1 − a, d − p2 , p2 − c}.
Therefore r > 0 and (p1 − r, p1 + r) ⊆ (a, b), (p2 − r, p2 + r) ⊆ (c, d).
Claim: Bd (p1 , p2 ), r ⊆ (a, b) × (c, d).
Let (x1 , y1 ) ∈ Bd (p1 , p2 ), r . This implies d (x1 , y1 ), (p1 , p2 ) < r.
p
(x1 − p1 )2 + (x2 − p2 )2 < r. Hence |x1 − p1 | < r and |x2 − p2 | < r.
x1 ∈ (p1 − r, p1 + r) ⊆ (a, b) and x2 ∈ (p2 − r, p2 + r) ⊆ (c, d).
Thus (x1 ,x2 ) ∈ (a, b)× (c, d).
Hnece Bd (p1 , p2 ), r ⊆ (a, b) × (c, d).
Let p = (p1 , p2 ) ∈ U .
So, 2p1 + 3p2 < 1.
=⇒ 1 − 2p2 − 3p2 > 0
1 − 2p1 − 3p2
Choose r = , so r > 0.
5
Claim: B(p, r) ⊆ U .
Let (x1 , x2 ) ∈ B(p, r).
=⇒ d (x1 , x2 ), (p1 , p2 < R.
p
=⇒ (x1 − p1 )2 + (x2 − p2 )2 < r.
=⇒ |x1 − p1 | < r, |x2 − p2 | < r.
=⇒ −r < x1 − p1 < r, −r < x2 − p2 < r.
=⇒ p1 − r < x1 < r + p1 , p2 − r < x2 < r + p2 1.
=⇒ p1 − r < x1 < r + p1 , p2 − r < x2 < r + p2 1.
=⇒ 2p1 − 2r < 2x1 < 2r + 2p1 , 3p2 − 3r < 3x2 < 3r + 3p2 1.
=⇒ 2p1 − 2r + 3p2 − 3r < 2x1 + 3x2 < 2r + 2p1 + 3p2 + 3r.
=⇒ 2p1 + 3p2 − 5r < 2x1 + 3x2 < 2p1 + 3p2 + 5r.
=⇒ 2x1 + 3x2 < 2p1 + 3p2 + 1 − 2p1 − 3p2 .
=⇒ 2x1 + 3x2 < 1.
Hence (x1 , x2 ) ∈ U .
Thus B(p, r) ⊆ U .
Hence U is open.
(10) U = {(x , y) ∈ R2 : −1 < x + y < 1 } is an open subset of (R2 , d) where d is the
Euclidean metric.
(1, 0) ∈ U. So U 6= ∅.
Let p = (p1 , p2 ) ∈ U .
So, −1 < p1 + p2 < 1.
=⇒ 0 < p1 + p2 + 1, 0 < 1 − p1 − p2 .
p1 + p 2 + 1 1 − p1 − p2
Choose r = min , . Thus r > 0.
2 2
p1 + p2 + 1 1 − p 1 − p2
This implies r ≤ , and r ≤ .
2 2
That means 2r ≤ p1 + p2 + 1 and 2r ≤ 1 − p1 − p2 .
So, −1 ≤ p1 + p2 − 2r and p1 + p2 + 2r ≤ 1. (∗)
Claim: B(p, r) ⊆ U .
Let (x1 , x2 ) ∈ B(p, r).
=⇒ d (x1 , x2 ), (p1 , p2 < R.
p
=⇒ (x1 − p1 )2 + (x2 − p2 )2 < r.
=⇒ |x1 − p1 | < r, |x2 − p2 | < r.
=⇒ −r < x1 − p1 < r, −r < x2 − p2 < r.
=⇒ p1 − r < x1 < r + p1 , p2 − r < x2 < r + p2 .
=⇒ p1 − r < x1 < r + p1 , p2 − r < x2 < r + p2 1.
=⇒ p1 + p2 − 2r < x1 + x2 < p1 + p2 + 2r.
From (∗) we have, −1 ≤ p1 + p2 − 2r < x1 + x2 < p1 + p2 + 2r ≤ 1.
=⇒ −1 < x1 + x2 < 1.
74 CHAPTER 1. UNIT I: METRIC SPACES
Hence (x1 , x2 ) ∈ U .
Thus B(p, r) ⊆ U .
Hence U is open.
(11) Let (X, d1 ) and (Y, d2 ) be metric spaces. Consider the metric d : (X × Y ) × (X ×
Y ) −→ R defined by d((x1 , y1 ), (x2 , y2 )) = max {d1 (x1 , x2 ), d2 (y1 , y2 )}. Let p ∈
X, q ∈ Y and r, s > 0. Show that B(p, r) × B(q, s) is an open set in (X × Y, d).
(p, q) ∈ Bd1 (p, r) × Bd2 (q, s) =⇒ Bd1 (p, r) × Bd2 (q, s) 6= ∅.
Let (x, y) ∈ Bd1 (p, r) × Bd2 (q, s).
So, x ∈ B(p, r) and y ∈ B(q, s).
Since Bd1 (p, r) and Bd2 (q, s) are open subsets of X, Y respectively, there exist δ1 , δ2 >
0 such that Bd1 (x, δ1 ) ⊆ Bd1 (p, r) and Bd2 (y, δ2 ) ⊆ Bd2 (q, s).
Choose δ = min{δ1 , δ2 }.
Bd1 (x, δ) ⊆ Bd1 (x, δ1 ) ⊆ Bd1 (p, r) and Bd2 (y, δ) ⊆ Bd2 (y, δ2 ) ⊆ Bd2 (q, s). (∗)
Claim: Bd (x, y), δ ⊆ Bd1 (p, r) × Bd2 (q, s).
Let (x1 , y1 ) ∈ Bd (x, y), δ .
d (x1 , y1 ), (x, y) < δ.
max{d1 (x1 , x), d2 (y1 , y)} < δ.
This implies d1 (x1 , x) < δ, d2 (y1 , y) < δ.
∴ x1 ∈ Bd1 (x, δ), y1 ∈ Bd2 (y, δ).
=⇒ x1 ∈ Bd1 (p, r) and y1 ∈ Bd2 (q, s). (from (∗))
Therefore(x1 , y1 ) ∈ B
d1 (p, r) × B d2 (q, s).
Hence Bd (x, y), δ ⊆ Bd1 (p, r) × Bd2 (q, s).
(12) Let (X, d1 ), (Y, d2 ) be metric spaces. Consider the product space
X × Y with the
product metric d : (X×Y )×(X×Y ) −→ R, d (x1 , y1 ), (x2 , y2 ) = max{d1 (x1 , y1 ), (x2 , y2 )}.
Let U, V be open subsets of X, Y respectively. Show that U × V is an open subset
of X × Y.
If U × V = ∅ then U × V is open.
Suppose U × V 6= ∅.
Let (p, q) ∈ U × V.
So, p ∈ U and q ∈ V .
Since U and V are open subsets of X, Y respectively, there exist δ1 , δ2 > 0 such that
Bd1 (p, δ1 ) ⊆ U and Bd2 (q, δ2 ) ⊆ V.
Choose δ = min{δ1 , δ2 }.
Bd1 (p, δ) ⊆Bd1 (p, δ1 ) ⊆ U and Bd2 (q, δ) ⊆ Bd2 (q, δ2 ) ⊆ V. (∗)
Claim: Bd (p, q), δ ⊆ U × V .
Let (x, y) ∈ Bd (p, q), δ .
d (x, y), (p, q) < δ.
max{d1 (x, p), d2 (y, q)} < δ.
This implies d1 (x, p) < δ, d2 (y, q) < δ.
75
Proof: First we show thatTif BY (p, r) is an open ball with center p ∈ Y and r > 0 in (Y, d)
then BY (p, r) = BX (p, r) Y where BX (p, r) is an open ball in (X, d) with center p and
radius r.
[2 marks]
Let G be an open subset of Y .
∴ ∀y
[ ∈ G ∃ ry > 0 such that BY (y, ry ) ⊆ G
∴ BY (y, ry ) ⊆ G (∗)
y∈G
[ {y} ⊆ B[
Now Y (y, ry )
∴ {y} ⊆ BY (y, ry )
y∈G y∈G
[
∴G⊆ BY (y, ry ) (∗∗)
y∈G
∴ from
[(∗) and (∗∗) we get,
G= BY (y, ry ) [2 marks]
y∈G
[ \
∴G= BX (y, ry ) Y (as shown above)
y∈G
[ \
∴G= BX (y, ry ) Y
y∈G
[
Let V = BX (y, ry ) [1 mark]
y∈G
Now open balls are open sets.
∴ BX (y, ry ) is an open set in (X, d) for every y ∈ G
Since
[ arbitrary union of open sets is open,
∴ BX (y, ry ) is open in X.
y∈G T
∴ V is open in X and G = VT Y [1 mark]
Conversely, suppose G = V Y where V is an open subset of X
TST G is open in Y .
If G is empty then it is open.
78 CHAPTER 1. UNIT I: METRIC SPACES
T
Let y ∈ G ∴y ∈V Y.
∴ y ∈ V and V is open in X.
∴ ∃ r > 0 such
T that BXT(y, r) ⊆ V
∴ BX (y, r) Y ⊆V Y
∴ BY (y, r) ⊆ G
∴ G is open in Y .
Examples 1.8.2
√ √
(1) Show that A = {x ∈ Q : − 2 < x < 2} is open in the subspace Q of R with
usual distance.
(2) Show that S = {x ∈ Q : 3 < x2 < 5} is open in the subspace Q of R with usual
metric.
(3) Let Y = {(x, y) ∈ R2 : x ≥ 0, y ≥ 0} in R2 w.r.t. the Euclidean distance. Let
A = {(x, y) ∈ Y : 0 ≤ x < 1, 0 ≤ y < 1}. Is A open in Y ?
(4) Let X = R, Y = Z. Which subsets of Y are open in Y ?.
(5) Let (X, d) be a metric space and Y be an open subset of X. Then prove that A ⊆ Y
is open in Y if and only if A is open in X.
(6) Let A = [0, 1) ⊆ R have the induced usual metric from R. Find BA (0, r) for any
r > 0? (BA (x, r) is the open ball in A centred at x and radius r with respect to the
induced metric.)
(7) Let A =
Solution
√ √ √ √
(1) A = {x ∈ Q : − 2 < x < 2} = (− 2, 2) ∩ Q. √ √
Since open intervals are open sets in (R, usual), (− 2, 2)) is an open set in
(R, usual)
√ √
∴ (− 2, 2)) ∩ Q is an open set in the subspace Q of (R, usual)
(G ⊆ Y is open in the subspace (Y, d) of (X, d) if and only if G = V ∩ Y for some
open subset V of X )
Hence A is open in the subspace Q.
√ √
= {x ∈ Q : √
(2) S √ 3 < x2 < √5} =⇒√S = S = {x√∈ Q √ : 3 < x < 5} ∪ S = {x ∈ Q :
− 5 <√ x < −√ 3} = (− 5, √− √3) ∩ Q ∪ ( √ 3, 5)√∩ Q. √ √
S = (− 5, − 3) ∩ Q ∪ [ 3, 5] ∩ Q. = (− 5, − 3) ∪ ( 3, 5) ∩ Q. [1M]
Since √
open√intervals
√ are
√ open sets in (R, usual) and union of open sets is open,
∴ (−√5, √3)) ∪ (√3, √5)) is an open set in (R, usual).
∴ (− 5, 3)) ∪ ( 3, 5)) ∩ Q is an open set in the subspace Q of (R, usual).
(3) We can write A as A = (0, 1) × (0, 1) ∩ Y.
Since (0, 1) × (0, 1) is open in R2 w.r.t. the Euclidean space, A is open in Y w.r.t.
the induced Euclidean space.
79
(5) Let (X, d) be a metric space and Y be an open subset of X. Then prove that A ⊆ Y
is open in Y if and only if A is open in X.
Suppose A is open in X. Since A ⊆ Y, we can write A = A ∩ Y.
Since A is open in X, A ∩ Y is open in Y. Thus A is open in Y.
Conversely suppose A is open in Y .
We want to show that A is open in X.
There exists U ⊆ X such that U is open in X and A = U ∩ Y.
Now, U, Y are open in X. Hence A is open in X. (finite intersection of open sets is
open)
(6) Let A = [0, 1) ⊆ R have the induced usual metric from R. Find BA (0, r) for any
r > 0? (BA (x, r) is the open ball in A centred at x and radius r with respect to the
induced metric.)
2
(7) Let A= {(x, y) : x ≥ 0, y ≥ 0} have the induced Euclidean metric from R . Draw
B(A,d) (0, 0), 1 .
80 CHAPTER 1. UNIT I: METRIC SPACES
x ≥ 0, y ≥ 0
B(A,d) (0, 0), 1
(0, 0)
Proof:
Let G ⊆ X be such that G is open.
If G = ∅ then G is empty union of open balls.
If G 6= ∅, then for each x ∈ G, ∃ rx > 0 such that B(x, rx ) ⊆ G.
Since x ∈ B(x, r), {x} ⊆ B(x, rx ).
=⇒ {x}
[ ⊆ B(x,[ rx ) ⊆ G.
=⇒ {x} ⊆ B(x, rx ) ⊆ G.
x∈G [ x∈G
=⇒ G ⊆ B(x, rx ) ⊆ G.
x∈G
[
=⇒ G ⊆ B(x, rx ).
x∈G
Conversely, suppose
[ G is a union of open balls.
This means G = B(x, r)
Since each open ball is an open set, hence G is an arbitrary union of open sets.
We will show that arbitrary union of open sets is open.
Since arbitrary union of open sets is open, ∴ G is open.
81
Theorem 1.9.2 A nonempty open set in (R, d) (where d is the usual distance) is an union
of finite or countable family of pairwise disjoint open intervals.
Proof:
Let U 6= ∅, U ⊆ R be open.
Let x ∈ U .
∃ rx > 0 such that B(x, rx ) ⊆ U .
Since B(x, rx ) = (x − rx , x + rx ), so B(x, rx ) is an interval.
Let Jx denote
[ the union of all open intervals that contain x and are contained in U .
i.e. Jx = Iα
α∈Ω
where Iα is an open interval such that x ∈ Iα and Iα ⊆ U ∀α ∈ Ω.
Since open intervals are open sets and arbitrary union of open sets is open, Jx is an open
set.
We will show that Jx is an open interva.
Consider a, b, c ∈ R be such that a < c < b, and a, b ∈ Jx .
We want to show that c ∈ Jx .
Since a, b ∈ Jx , a ∈ Iα and b ∈ Iβ for some α, β ∈ Ω.
Case 1: x ≤ a.
∴ x ≤ a < c < b.
x, b ∈ Iβ and Iβ is an interval,
∴ [x, b] ⊆ Iβ =⇒ c ∈ Iβ ⊆ Jx .
∴ c ∈ Jx .
Case 2: a < x.
So, there are subcases such as a < b < x or a < x < b.
Case 2a If a < b < x then Case 2a If a < x < b then we have follow-
a, x ∈ Iα =⇒ [a, x] ⊆ Iα ⊆ Jx . ing cases.
∴ a < c < b < x =⇒ c ∈ Ix ⊆ Jx . If x ≤ c then a < x ≤ c < b =⇒ c ∈
Iβ ⊆ Jx .
If c < x then a < c < x =⇒ c ∈ Iα ⊆
Jx .
S
∴ Jx Jy = Jy (∗∗)
∴ from (∗) and (∗∗), we get, Jx = Jy
Since U = ∪x∈U {x} ⊆ ∪x∈U {Jx } ⊆ U
∴ U = ∪x∈U {Jx }
Also, since Jx , Jy are either equal or disjoint, we can write U as a union of a family
{Jxi : i ∈ I} of pairwise disjoint open intervals.
Thus ∴ U = ∪i∈I Jxi .
Choose one rational number say ri ∈ Jxi for each i ∈ I.
Define f : I −→ Q such that f (i) = ri .
So f is injective.
Since Q is countable, ∴ ∃ a bijective function g : Q −→ N.
So the composite function g ◦ f : I −→ N is an injective function.
Hence I is countable.
Thus U can be expressed as a countable union of open intervals.
Theorem 1.9.3 Let (X, k k) be a normed linear space. Let x ∈ X and r > 0. Then
B(x, r) = x + rB(0, 1)
We want to show that B(x, r) = x + rB(0, 1), x ∈ X, r > 0
Let p ∈ B(x, r).
∴ d(x, p) < r
∴ kx − pk < r
1
∴ kx − pk < 1
r
1
∴ k (x − p)k < 1
r
1 1
∴ k (x) − (p)k < 1
r r
1 1
∴k (p) − (x) − 0k < 1
r r
1 1
∴ (p) − (x) ∈ B(0, 1)
r r
1 1
∴ (p) − (x) = y for some y ∈ B(0, 1)
r r
1 1
∴ (p) − (x)) = y for some y ∈ B(0, 1)
r r
∴ p − x = ry where y ∈ B(0, 1)
∴ p = x + ry for some y ∈ B(0, 1)
∴ p ∈ x + rB(0, 1)
Thus B(x, r) ⊂ x + rB(0, 1) (∗)
Now suppose p ∈ x + rB(0, 1)
∴ p = x + ry for some y ∈ B(0, 1)
∴ p − x = ry where y ∈ B(0, 1)
∴ kp − xk = kryk = |r|kyk = rkyk < r ∗ 1 since y ∈ B(0, 1)
∴ kp − xk < r =⇒ p ∈ B(x, r)
83
Theorem 1.10.3 Let (X, d) be a metric space and A, B ⊆ X. Then following results hold.
(i) A ⊆ B =⇒ A◦ ⊆ B ◦ .
(ii) (A ∩ B)◦ = A◦ ∩ B ◦ .
(iii) A◦ ∪ B ◦ ⊆ (A ∪ B)◦ .
Proof:
(i) A ⊆ B =⇒ A◦ ⊆ B ◦
Let x ∈ A◦ =⇒ there is an open ball B(x, r) ⊆ A
B(x, r) ⊆ A =⇒ x ∈ B (as A ⊆ B) and B(x, r) ⊆ A ⊆ B.
A ⊆ B =⇒ A◦ ⊆ B ◦ .
(ii) (A ∩ B)◦ = A◦ ∩ B ◦
(A ∩ B) ⊆ A =⇒ (A ∩ B)◦ ⊆ A◦
(A ∩ B) ⊆ B =⇒ (A ∩ B)◦ ⊆ B ◦
Hence (A ∩ B)◦ ⊆ A◦ ∩ B ◦ (∗)
Conversely, x ∈ A ∩ B =⇒ x ∈ A and x ∈ B ◦ .
◦ ◦ ◦
84 CHAPTER 1. UNIT I: METRIC SPACES
Remark 1.10.4 If we consider the metric space (R, d) where d is the usual distance and
A = Q, B = R \ Q then A◦ = ∅, B ◦ = ∅
Thus A◦ ∪ B ◦ = ∅ but A ∪ B = R =⇒ (A ∪ B)◦ = R.
(If x ∈ Q, B(x, r) = (x − r, x + r) * Q for (x − r, x + r) has irrational numbers. ∴ x ∈ Q◦
and Q◦ = ∅. Similarly (R \ Q)◦ = ∅.
Proof:
Let (X, d) be a metric space and A ⊆ X.
Proof: Let x ∈ A◦ . So, x ∈ A and there exists r > 0 such that B(x, r) ⊆ A.
Let G = B(x, r).
Then G ⊆ A, G is open[ and x ∈ G. (as x ∈ B(x, r) and B(x, r) ⊆ G)
This implies x ∈ G.
G open,G⊆A
[
◦
Therefore, A ⊆ G.
G open,G⊆A
[
Now, let x ∈ G.
G open,G⊆A
So, x ∈ G for some G, G ⊆ A and G is open.
So, x ∈ G for some G ⊆ X such that
Examples 1.11.2
(1) (N, d) and (N, d1 ) are equivalent metric spaces where d is the usual distance and d1
is the discrete metric.
86 CHAPTER 1. UNIT I: METRIC SPACES
(2) Let X be a finite set and d1 and d2 be any two metrics on X. Then d1 and d2 are
equivalent.
1
(3) Let d and d1 be metrics on N defined by d(m, n) = |m−n| and d1 (m.n) = 1+
m+n
for all m, n ∈ N. Show that d and d1 are equivalent metrics on N.
Solution:
(1) (N, d) and (N, d1 ) are equivalent metric spaces where d is the usual distance and d1
is the discrete metric.
First we will show that {x} is open in (N, d) as well as in (N, d1 ).
Bd (x, 1)in (N, d) = {y ∈ N : d(y, x) < 1}. Bd1 (x, 1)in (N, d1 ) = {y ∈ N : d1 (y, x) < 1}.
= {y ∈ N : |y − x| < 1}. = {y ∈ N : d1 (y, x) = 0} (as d1 (x
= {y ∈ N : y ∈ (x − 1, x + 1)}. = {y ∈ N : y = x}.
= {x} (as x, y ∈ N). = {x}.
Since open balls are open sets, Since open balls are open sets,
{x} is open in (N, d). {x} is open in (N, d1 ).
[
If G ⊆ X, G 6= ∅, then we can write G = {x}.
x∈G
Since arbitrary union of open sets is open, G is open in both (N, d) and (N, d1 ).
Thus every subset of X is open in both (N, d) and (N, d1 ).
Hence a subset of X is open in (N, d) if and only if it is open in (N, d1 ).
Therefore, d and d1 are equivalent metrics on N.
(2) Let X be a finite set and d1 and d2 be any two metrics on X. Then d1 and d2 are
equivalent.
Bd (x, 1)in (N, d) = {y ∈ N : d(y, x) < 1}. Bd1 (x, 1)in (N, d1 ) = {y ∈ N : d1 (y, x) < 1}.
= {y ∈ N : |y − x| < 1}. = {y ∈ N : d1 (y, x) = 0} (as d1 (x
= {y ∈ N : y ∈ (x − 1, x + 1)}. = {y ∈ N : y = x}.
= {x} (as x, y ∈ N). = {x}.
Since open balls are open sets, Since open balls are open sets,
{x} is open in (N, d). {x} is open in (N, d1 ).
[
If G ⊆ X, G 6= ∅, then we can write G = {x}.
x∈G
Since arbitrary union of open sets is open, G is open in both (N, d) and (N, d1 ).
Thus every subset of X is open in both (N, d) and (N, d1 ).
Hence a subset of X is open in (N, d) if and only if it is open in (N, d1 ).
Therefore, d and d1 are equivalent metrics on N.
Theorem 1.11.3 Two metrics d1 and d2 on X are equivalent if and only for each x ∈ X,
for every r > 0, the open ball Bd2 (x, r) contains an open ball Bd1 (x, r1 ) for some r1 > 0 and
the open ball Bd1 (x, r) contains an open ball Bd2 (x, r2 ) for some r2 > 0. (for every r > 0,
there exist r1 , r2 > 0 such that Bd1 (x, r1 ) ⊆ Bd2 (x, r) and Bd2 (x, r2 ) ⊆ Bd1 (x, r) for each
x ∈ X.)
Examples 1.11.4
(2) Let (X, d) be a metric space. Consider the metric space d1 : X ×X −→ R, d1 (x, y) =
d(x, y)
. Show that d and d1 are equivalent metrics on X.
1 + d(x, y)
(3) Let (X, d) be a metric space. Consider the metric space d1 : X ×X −→ R, d1 (x, y) =
min{1, d(x, y)}. Show that d and d1 are equivalent metrics on X.
(4) Let d1 and d2 be metrics on a non-empty set X such that there exist k1 , k2 > 0 such
that k1 d1 (x, y) ≤ d2 (x, y) ≤ k2 d1 (x, y), ∀x, y ∈ X.
Examples 1.11.5
We show that ∃ r1 > 0 such that We show that ∃ r2 > 0 such that
Bd1 (x, r1 ) ⊆ Bd2 (x, r) Bd2 (x, r2 ) ⊆ Bd1 (x,
√ r)
Since d2 (x, y) ≤ d1 (x, y), we choose Since d1 (x, y) ≤ 2d2 (x, y), we have
r1 = r. d1 (x, y)
√ ≤ d2 (x, y). (∗∗)
Let y ∈ Bd1 (x, r). 2
This menas d1 (y, x) < r. r
Choose r2 = √ .
From (∗), d2 (x, y) ≤ d1 (x, y) 2
Hence d1 (y, x) < r =⇒ d2 (y, x) < r. Let y ∈ Bd2 (x, r2 ).
r
Thus y ∈ Bd2 (x, r). This menas d2 (y, x) < √ .
2
Hence Bd1 (x, r1 ) ⊆ Bd2 (x, r).
89
We show that ∃ r1 > 0 such that We show that ∃ r2 > 0 such that
Bd1 (x, r1 ) ⊆ Bd∞ (x, r) Bd∞ (x, r2 ) ⊆ Bd1 (x, r)
Since d∞ (x, y) ≤ d1 (x, y), we choose Since d1 (x, y) ≤ 2d∞ (x, y), we have
r1 = r. d1 (x, y)
≤ d∞ (x, y). (∗∗)
Let y ∈ Bd1 (x, r). 2
r
This menas d1 (y, x) < r. Choose r2 = .
2
From (∗), d∞ (x, y) ≤ d1 (x, y) Let y ∈ Bd∞ (x, r2 ).
Hence d1 (y, x) < r =⇒ d∞ (y, x) < r. r
This menas d∞ (y, x) < r2 = .
Thus y ∈ Bd∞ (x, r). 2
Hence Bd1 (x, r1 ) ⊆ Bd∞ (x, r). d1 (x, y)
From (∗∗), ≤ d∞ (x, y).
2
r d1 (y, x) r
Hence d∞ (y, x) < =⇒ < .
2 2 2
That is d∞ (y, x) < r.
Thus y ∈ Bd∞ (x, r).
Hence Bd∞ (x, r2 ) ⊆ Bd1 (x, r).
We show that ∃ r0 > 0 such that We show that ∃ r00 > 0 such that
Bd2 (x, r0 ) ⊆ Bd∞ (x, r) Bd∞ (x, r00 ) ⊆ Bd2 (x, r)
Since d∞ (x, y) ≤ d2 (x, y), we choose Since d2 (x, y) ≤ 2d∞ (x, y), we have
r0 = r. d2 (x, y)
≤ d∞ (x, y). (∗∗)
Let y ∈ Bd2 (x, r0 ). 2
r
This menas d2 (y, x) < r0 = r. Choose r00 = .
2
From (∗), d∞ (x, y) ≤ d2 (x, y) Let y ∈ Bd∞ (x, r00 ).
Hence d2 (y, x) < r =⇒ d∞ (y, x) < r. r
This menas d∞ (y, x) < r2 = .
Thus y ∈ Bd∞ (x, r). 2
Hence Bd2 (x, r0 ) ⊆ Bd∞ (x, r). d2 (x, y)
From (∗∗), ≤ d∞ (x, y).
2
90 CHAPTER 1. UNIT I: METRIC SPACES
r d2 (y, x) r
Hence d∞ (y, x) < =⇒ < . Thus y ∈ Bd∞ (x, r).
2 2 2 Hence Bd∞ (x, r2 ) ⊆ Bd2 (x, r).
That is d∞ (y, x) < r.
(2) Let (X, d) be a metric space. Consider the metric space d1 : X ×X −→ R, d1 (x, y) =
d(x, y)
. Show that d and d1 are equivalent metrics on X.
1 + d(x, y)
First we show that d1 (x, y) ≤ d(x, y) for all x, y ∈ X.
We show that ∃ r1 > 0 such that We show that ∃ r2 > 0 such that
Bd1 (x, r1 ) ⊆ Bd (x, r) Bd (x, r2 ) ⊆ Bd1 (x, r)
r Since d1 (x, y) ≤ d(x, y), we choose
Choose r1 = .
1+r r2 = r.
Let y ∈ Bd1 (x, r1 ).
r Let y ∈ Bd (x, r2 ).
This menas d1 (y, x) < . This menas d(y, x) < r2 = r.
1+r
From (∗), d1 (x, y) ≤ d(x, y)
d(y, x) r Hence d(y, x) < r =⇒ d1 (y, x) < r.
≤ .
1 + d(y, x) 1+r Thus y ∈ Bd1 (x, r).
Hence d(y, x)(1 + r) < r(1 + d(y, x)). Hence Bd (x, r1 ) ⊆ Bd1 (x, r).
=⇒ d(y, x) < r.
Thus y ∈ Bd (x, r).
(3) Let (X, d) be a metric space. Consider the metric space d1 : X ×X −→ R, d1 (x, y) =
min{1, d(x, y)}. Show that d and d1 are equivalent metrics on X.
Since d1 (x, y) = min{1, d(x, y)}, d1 (x, y) ≤ d(x, y) for all x, y ∈ X. (∗)
To prove that d1 and d are equivalent metrics on X.
Let r > 0.
We show that ∃ r1 > 0 such that We show that ∃ r2 > 0 such that
Bd1 (x, r1 ) ⊆ Bd (x, r). Bd (x, r2 ) ⊆ Bd1 (x, r)
Choose r1 = min{1, r}. Since d1 (x, y) ≤ d(x, y), we choose
So, r1 ≤ 1, r1 ≤ r. Let y ∈ Bd1 (x, r1 ). r2 = r.
This means d1 (y, x) < r1 . Let y ∈ Bd (x, r2 ).
As r1 ≤ 1, d1 (y, x) < r1 ≤ 1. This menas d(y, x) < r2 = r.
This implies d1 (y, x) < 1. From (∗), d1 (x, y) ≤ d(x, y)
So, d1 (y, x) 6= 1. Hence d(y, x) < r =⇒ d1 (y, x) < r.
But d1 (y, x) = 1 or d(y, x). Thus y ∈ Bd1 (x, r).
Hence d1 (y, x) = d(y, x). Hence Bd (x, r1 ) ⊆ Bd1 (x, r).
Then d1 (y, x) < r1 =⇒ d(y, x) < r1 .
But r1 ≤ r. So, d(y, x) < r.
Hence y ∈ Bd (x, r).
Thus Bd1 (x, r1 ) ⊆ Bd (x, r).
(4) Let d1 and d2 be metrics on a non-empty set X such that there exist k1 , k2 > 0 such
that k1 d1 (x, y) ≤ d2 (x, y) ≤ k2 d1 (x, y), ∀x, y ∈ X.
To prove that d1 and d2 are equivalent metrics on X.
Let r > 0.
Given k1 d1 (x, y) ≤ d2 (x, y) ≤ k2 d1 (x, y) ≤ for all x, y ∈ X.
d2 (x, y)
That is ≤ d1 (x, y) and k1 d1 (x, y) ≤ d2 (x, y) for all x, y ∈ X. (as k1 , k2 >
k2
0.) (∗)
We show that ∃ r1 > 0 such that We show that ∃ r2 > 0 such that
Bd1 (x, r1 ) ⊆ Bd2 (x, r) Bd2 (x, r2 ) ⊆ Bd1 (x, r)
d2 (x, y) From (*), k1 d1 (x, y) ≤ d2 (x, y).
Since ≤ d1 (x, y), we choose
k2 Choose r2 = k1 r.
r
r1 = > 0. Let y ∈ Bd2 (x, r2 ).
k2 This menas d2 (y, x) < r2 = k1 r.
Let y ∈ Bd1 (x, r1 ).
r From (∗∗), k1 d1 (x, y) ≤ d2 (x, y).
This menas d1 (y, x) < r1 = . Hence d2 (y, x) < k1 r =⇒ k1 d1 (y, x) <
k2
d2 (x, y) k1 r.
From (∗), ≤ d1 (x, y) That is d1 (y, x) < r.
k2
r d2 (y, x) r Thus y ∈ Bd1 (x, r).
Hence d1 (y, x) < =⇒ < . Hence Bd2 (x, r2 ) ⊆ Bd1 (x, r).
k2 k2 k2
So, d2 (y, x) < r.
Thus y ∈ Bd2 (x, r).
Hence Bd1 (x, r1 ) ⊆ Bd2 (x, r).
92 CHAPTER 1. UNIT I: METRIC SPACES
Theorem 1.12.2 Let A be a nonempty subset of a metric space (X, d). Then for x, y ∈
X, |d(x, A) − d(y, A)| ≤ d(x, y)..
Proof:
Let x, y ∈ X and a ∈ A.
By Triangle Inequality, d(x, a) ≤ d(x, y) + d(y, a). (∗)
This implies inf{d(x, a) : a ∈ A} ≤ inf{d(y, a) : a ∈ A} + inf{d(x, y) : a ∈ A}.
Now, inf{d(x, a) : a ∈ A} = d(x, A),
inf{d(y, a) : a ∈ A} = d(y, A) and
inf{d(x, y) : a ∈ A}d(x, y).
So, d(x, A) ≤ d(x, y) + d(y, A). (I)
This implies d(x, A) − d(y, A) ≤ d(x, y).
If we interchange x and y in this inequality, we get d(y, A) − d(x, A) ≤ d(x, y) (II).
Hence from (I) and (II), |d(x, A) − d(y, A)| ≤ d(x, y) for all x, y ∈ X.
d(x, A) = 0 if and only if ∀ r > 0, there exists ar ∈ A such that 0 ≤ d(x, ar ) < 0 + r.
if and only if ∀ r > 0, there exists ar ∈ A such that 0 ≤ d(x, ar ) < r.
if and only if ∀ r > 0, there exists ar ∈ A such that ar ∈ B(x, r).
if and only if ∀ r > 0, B(x, r) ∩ A 6= ∅.
if and only if x ∈ A.
(1) Let A = (0, 1) ⊂ R with usual distance. Find dA (x) for x ∈ [−1, 2]. Draw the graph
of the function dA .
(2) Let x ∈ R with usual metric. What is dQ (x)?
(3) Let p = (a, b) ∈ R2 with Euclidean metric and A be the x− axis. What is dA (p)?
(4) What is dA (p) where A = {(x, y) ∈ R2 : x2 +y 2 = 1} and p = (a, b). Find an explicit
expression.
(1) Let A = (0, 1) ⊂ R with usual distance. Find dA (x) for x ∈ [−1, 2]. Draw the map
of the function dA .
Let x ∈ [−1, 2].
Case 1: −1 ≤ x ≤ 0.
d(−1, A) = |0 − (−1)| = 1, d(−0.5, A) = 0.5. and so on. We can see that
d(x, A) = −x for all x ∈ [−1, 0].
94 CHAPTER 1. UNIT I: METRIC SPACES
Case 2: 0 < x < 1. That is x ∈ A. Hence dA (x) = 0 for all x ∈ (0, 1).
Case 3: 1 ≤ x ≤ 2.
d(1, A) = |1 − (1)| = 0, d(1.5, A) = 0.5. and so on. We can see that d(x, A) =
x − 1 for all x ∈ [1, 2].
y = −x y =x−1
−1 y=0 1 2
0
−1
(3) Let p = (a, b) ∈ R2 with Euclidean metric and A be the x− axis. What is dA (p)?
dA (p) = |b|.
(4) What is dA (p) where A = {(x, y) ∈ R2 : x2 +y 2 = 1} and p = (a, b). Find an explicit
expression.
dA (p) = a2 + b2 − 1.
Examples 1.13.2
1
(i) Let A = {n + n
: n ∈ N}. Find d(A, N).
(1) A = Q, B = R \ Q.
95
(iii) Let A be a subset in a metric space (X, d). Show that the set {x ∈ X : dA (x) < }
is open for any > 0.
Solution
1
(i) Let A = {n + n
: n ∈ N}. Find d(A, N).
(1) A = Q, B = R \ Q.
Case 1 B ∩ Q 6= ∅.
Let x ∈ B ∩ Q.
Therefore d(x, x) ∈ {d(a, b) : a ∈ Q, b ∈ B}.
That is 0 ∈ {d(a, b) : a ∈ Q, b ∈ B}.
This means {d(a, b) : a ∈ Q, b ∈ B} contains its lower bound 0.
Hence 0 = inf{d(a, b) : a ∈ Q, b ∈ B}.
Case 2 B ∩ Q = ∅.
Since B 6= ∅, there exists y ∈ R \ Q such that y ∈ B.
Since Q = R, therefore y ∈ R =⇒ there exists a sequence of rationals say
xn −→ y.
Now xn −→ y =⇒ d(xn , y) −→ 0.
We will show that 0 = inf{d(a, b) : a ∈ Q, b ∈ B}.
Clearly 0 is a lower bound of {d(a, b) : a ∈ Q, b ∈ B}.
We will show that for every > 0, there exists a ∈ Q, b ∈ B such that
0 ≤ d(a, b) < 0 + .
Let > 0.
Since xn −→ y, there exists n0 ∈ N such that d(xn , y) < for all n ≥ n0 .
In particular, d(xn0 , y) < .
Now, (xn ) is a sequence in Q =⇒ xn0 ∈ Q.
Hence d(xn0 , y) ∈ {d(a, b) : a ∈ Q, b ∈ B} and d(xn0 , y) < .
So, there exists xn0 ∈ Q, y ∈ B such that d(xn0 , y) < 0 + .
Hence 0 = inf{d(a, b) : a ∈ Q, b ∈ B}.
(3) A is the rectangular hyperbola xy = 1 and B is the union of axes xy = 0.
A = {(x, y) ∈ R2 : xy = 1}, B = {(x, 0) : x ∈ R} ∪ {(0, y) : y ∈ R}.
As 0 ≤ d(a, b) for all a ∈ A and b ∈ B, 0 ≤ inf{d(a, b) : a ∈ A, b ∈ B}.
show that inf{d(a, b) : a ∈ A,
We will b ∈ B}≤ 0.
1 1
Since n, ∈ A and (n, 0) ∈ B, d n, , (n, 0) ∈ {d(a, b) : a ∈ A, b ∈
n n
B}.
1
This means ∈ {d(a, b) : a ∈ A, b ∈ B} for all n ∈ N.
n
Claim: inf{d(a, b) : a ∈ A, b ∈ B} = 0.
Let > 0.
1
By Archimedean property, there exists n0 ∈ N such that < .
n0
1 1
That is 0 < < 0 + and ∈ {d(a, b) : a ∈ A, b ∈ B}.
n0 n0
Hence inf{d(a, b) : a ∈ A, b ∈ B} = 0.
Show that the set {x ∈ X : dA (x) < } is open for any > 0.
Let > 0 Let x ∈ {x ∈ X : dA (x) < }.
Therefore dA (x) < .
That is inf{d(x, a) : a ∈ A} < .
There exists a ∈ A such that d(x, a) < .
Let δ = − d(x, a). So, δ > 0.
Claim: B(x, δ) ⊆ {x ∈ X : dA (x) < }.
Let y ∈ B(x, δ). This means d(y, x) < δ.
We show that dA (y) < .
Since a ∈ A, dA (y) ≤ d(y, a).
By Triangle Inequality, d(y, a) ≤ d(y, x) + d(x, a).
So, dA (y) ≤ d(y, x) + d(x, a) < δ + d(x, a) = − d(x, a) + d(x, a) = .
So, y ∈ {x ∈ X : dA (x) < }.
This implies B(x, δ) ⊆ {x ∈ X : dA (x) < }.
Hence {x ∈ X : dA (x) < } is open.
Theorem 1.14.2 Let (X, d) be a metric space and A be a nonempty subset of X. Then
diam A = diamA.
Since A ⊆ A, a, b ∈ A =⇒ a, b ∈ A.
Hence d(a, b) ≤ diam(A) ∀a, b ∈ A.
So, sup{d(a, b) : a, b ∈ A} ≤ diam (A).
Hence diam (A) ≤ diam (A) (1) [2 marks]
We show that diam A < diam (A) + ∀ > 0.
Now given > 0 ∃ a, b ∈ A such that
d(a, b) > diam (A) − 2 (by definition of sup) (∗) [1 mark]
Since a, b ∈ A, we have B 4 (a) ∩ A 6= ∅ and B 4 (b) ∩ A 6= ∅ and [1 mark]
Let a0 ∈ B 4 (a) ∩ A and b0 ∈ B 4 (b) ∩ B
Examples 1.14.3
98 CHAPTER 1. UNIT I: METRIC SPACES
(1) Show that the diameter diam(B(x, r)) ≤ 2r and that the strict inequality can occur.
Solution
1 Consider (R, d) where d is the discrete metric.
Let p ∈ R. So B(p, 1) = {x ∈ R : d(x, p) < 1} = {x ∈ R : d(x, p) = 0} = {p}.
Let x, y ∈ B(p, 1) = {p}. So x = p, y = p. This implies d(x, y) = 0.
Hence sup{d(x, y) : x, y ∈ B(p, 1)} = 0 =⇒ diam B(p, 1) < 1 < 2 = 2 ∗ r.
Remarks 1.16.2
(i) ∅, X are both open and closed in any metric space. (From definition of open sets,
∅, X are open. Since X \ ∅ = X is open, ∅ is closed. Similarly X \ X = ∅ is open,
X is closed. )
(ii) In (R, d) where d usual, [a, b], [a, ∞), (−∞, b] are closed. (a, b), (a, b], [a, b) are not
closed.
Examples 1.16.3
(ii) Every subset of a discrete metric space is both open and closed.
(iii) Every subset of a finite metric space is is both open and closed.
(iv) Every subset of Z is is both open and closed w.r.t. the induced usual metric from
R.
√ √
(vi) Show that A = {x ∈ Q : − 2 < x < 2} is both open and closed in the subspace
Q of R with usual distance.
(vii) Show that S = {x ∈ Q : 3 < x2 < 5} is both open and closed in the subspace Q of
R with usual metric.
Solution
(i) Any finite subset of a metric space is closed.
Let (X, d) be a metric space and F = {x1 , x2 , · · · , xn } be a finite subset of X.
Consider X \ F.
If X \ F = ∅ then X \ F is open and hence F is closed.
Suppose X \ F 6= ∅.
Let x ∈ X \ F.
This implies x 6= x1 , x 6= x2 , · · · x 6= xn . So d(x, x1 ) > 0, d(x, x2 ) > 0 · · · , d(x, xn ) >
0.
Choose r = min{d(x, xi ) : 1 ≤ i ≤ n}. So r > 0.
Claim B(x, r) ⊆ X \ F.
Let y ∈ B(x, r). So, d(y, x) ≤ r < d(xi , x) for all i, 1 ≤ i ≤ n.
This implies y 6= xi , for all i, 1 ≤ i ≤ n.
Hence y ∈/ {x1 , x2 , · · · , xn }.
This means y ∈ / F . Hence y ∈ X \ F.
Thus B(x, r) ⊆ X \ F. Hence X \ F is open and F is closed.
(ii) Every subset of a discrete metric space is is both open and closed.
Let (X, d) be a discrete metric space. First we show that every subset of a discrete
metric space is open.
Let p ∈ X.
Let G ⊆ X.
If G = ∅ then G is open.
S G 6= ∅.
So, suppose
∴ G = Sp∈G {p}
∴ G = p∈G B(p, 1)
Since open balls are open sets, we have expressed G as a union of open sets.
G is open in (X, d) as arbitrary union of open sets is open.
(iii) Every subset of a finite metric space is both open and closed.
Let (X, d) be a finite metric space.
So, X = {a1 , a2 , · · · , an }.
We show that every singleton set is open.
Let p ∈ X.
This implies p = ai for some i, 1 ≤ i ≤ n.
Let r = min{d(p, aj ) : 1 ≤ j ≤ n, j 6= i.
Since j 6= i, aj 6= ai =⇒ aj 6= p.
=⇒ d(p, aj ) > 0 ∀ j, j 6= i, 1 ≤ j ≤ n.
Therefore r > 0.
Claim: B(p, r) = {p}.
Let x ∈ B(p, r). So d(x, p) < r.
But r ≤ d(p, aj ), for all 1 ≤ j ≤ n, j 6= i.
This implies d(x, p) < d(aj , p), for all 1 ≤ j ≤ n, j 6= i.
Hence x 6= aj for all j, 1 ≤ j ≤ n, j 6= i.
Thus we have, x ∈ {a1 , a2 , · · · , ai = p, · · · , an } and x 6= aj for all j, 1 ≤ j ≤ n, j 6= i.
Hence x = ai . That is x = p.
Hence B(p, r) ⊆ {p}.
As d(p, p) = 0 < r, p ∈ B(p, r). So {p} ⊆ B(p, r).
Hence B(p, r) = {p}.
Let G ⊆ X.
If G = ∅ then G is open.
S G 6= ∅.
So, suppose
∴ G = Sp∈G {p}
∴ G = p∈G Bd (p, 1)
Since open balls are open sets,
we have expressed G as a union of open sets.
G is open in (X, d)
(as arbitrary union of open sets is open)
(iv) Every subset of Z is both open and closed w.r.t. the induced usual metric from R.
Let p ∈ Z.
(We will have to give another proof using the definition of closed sets)
S = {(x, y) ∈ R2 : x2 + y 2 = 1}
Let p = (p1 , p2 ) ∈ S.
So, ∃ a sequence (xn , yn ) in S such that (xn , yn ) −→ (p1 , p2 ) in R2 , distance being
Euclidean.
Hence x2n + yn2 = 1 ∀n ∈ N and (xn , yn ) −→ (p1 , p2 ) in R2 , distance being
Euclidean.
Now, (xn , yn ) −→ (p1 , p2 ) in R2 , distance being Euclidean =⇒ xn −→ p1 , yn −→ p2
in R w.r.t. the usual distance.
So, x2n −→ p21 and yn2 −→ p22 in R (distance being usual).
Hence x2n + yn2 −→ p21 + p22 in R (distance being usual).
But x2n + yn2 = 1 ∀n ∈ N
=⇒ x2n + yn2 −→ 1
=⇒ p21 + p22 = 1 (as a convergent sequence converges to unique limit).
Hence (p1 , p2 ) ∈ S.
Thus S ⊆ S.
Hence S = S (as S ⊆ S).
Hence S is closed.
Theorem 1.16.4 Let (X, d) be a metric space and Y be a non-empty subset of X. A subset
F of Y is closed in the subspace (Y, d) if and only if F = K ∩ Y where K is a closed set in
(X, d).
F = Y \ (V ∩ Y )
= Y ∩ (V ∩ Y )c
= Y ∩ (V c ∪ Y c )
= (Y ∩ V c ) ∪ (Y ∩ Y c )
=Y ∩Vc
Y \ F = Y \ (K ∩ Y )
c
=Y ∩ K ∩Y
= Y ∩ (K c ∪ Y c )
= (Y ∩ K c ) ∪ (Y ∩ Y c )
= (Y ∩ K c ) ∪ ∅
= Y ∩ Kc
Examples 1.16.5
√ √
(I) Show that A = {x ∈ Q : − 2 < x < 2} is both open and closed in the subspace
Q of R with usual distance.
(II) Show that S = {x ∈ Q : 3 < x2 < 5} is both open and closed in the subspace Q of
R with usual metric.
Solution
√ √ √ √
(1) A = {x ∈ Q : − 2 < x < 2} = (− 2, 2) ∩ Q. √ √
Since open intervals are open sets in (R, usual), (− 2, 2)) is an open set in
(R, usual)
√ √
∴ (− 2, 2)) ∩ Q is an open set in the subspace Q of (R, usual)
(G ⊆ Y is open in the subspace (Y, d) of (X, d) if and only if G = V ∩ Y for some
103
open subset V of X )
Hence A is open in the subspace
√ √ Q. √ √ √ √
We√can√also write A as [− 2, 2] ∩ Q as − 2, 2 ∈ / Q =⇒ A = (− 2, 2) ∩ Q =
[− 2, √ 2] ∩√
Q. √ √
Since [− 2, 2] is closed in R, [− 2, 2] ∩ Q is closed in the subspace Q with usual
metric induced from R.
√ √ √
(2) S = √{x ∈ Q : 3√< x2√< 5} =⇒ S √ = {x√ ∈ Q : − 5 < x < − 3} ∪ {x ∈ Q : 3<
x < 5} √= (−√ 5, − 3) ∩√ Q ∪√ ( 3, 5) ∩ Q. √ √ √ √
S = (− 5, − 3) ∩ Q ∪ [ 3, 5] ∩ Q. = (− 5, − 3) ∪ ( 3, 5) ∩ Q. [1M]
Since open intervals are open sets in (R, usual) and union of open sets is open,
h √ √ i h√ √ i √ √ √ √
We can also write S as − 5, − 3 ∪ 3, 5 ∩Q as − 3, 3, − 5, 5 ∈ / Q =⇒
√ √ √ √ √ √ √ √
S = (− √5, −√ 3) ∩ Q ∪ ( 3, 5) √∩ Q
√ = [− 5, − 3] ∪ [ 3, 5] ∩ Q.
Since [− 2, 2] is closed in R, [− 2, 2] ∩ Q is closed in the subspace Q with usual
metric induced from R.
√ √ √ √
∴ (−√5, √3)) ∪ (√3, √5)) is an open set in (R, usual).
∴ (− 5, 3)) ∪ ( 3, 5)) ∩ Q is an open set in the subspace Q of (R, usual).
∴ B(x, r) ∩ F \ {x} = ∅
∴x∈/ D(F ), which is not true.
104 CHAPTER 1. UNIT I: METRIC SPACES
Theorem 1.17.2 Let (X, d) be a metric space and S ⊆ X. Show D(S) is a closed subset
of X where D(S) denotes the set of all limit points of S.
Let x ∈ E.
So, there exists infinitely many a ∈ A such that x ≤ a.
Now, a ≤ M ∀a ∈ A
∴ x ≤ M ∀x ∈ E.
Thus E is bounded above.
So, E 6= ∅, E ⊂ R and E is bounded above.
∴ by order completeness of R, sup E exists.
Let L = sup E.
Claim: L is a limit point of E.
Let > 0 .
Since L = sup E, ∴ for this > 0 ∃ x ∈ E such that L − < x ≤ L (∗)
Since x ∈ E, ∴ ∃ infinitely many a ∈ A such that x ≤ a.
∴ L−<x≤a for infinitely many a ∈ A
∴ L − < a for infinitely many a ∈ A
∴ L < a + for infinitely many a ∈ A (∗∗)
0
Infinitely many from these a s are a < L + , if not then a − < L for finitely many
0
a s such that L − < a.
So, except for these finitely many a0 s, infinitely many ∴ from (∗) and (∗∗), M − <
x ≤ a < M − for infinitely may a ∈ A
Thus z ∈ B(x, r) ∩ A.
Also, z 6= x =⇒ z ∈ B(x, r) ∩ A \ {x}.
Hence B(x, r) ∩ A \ {x} =
6 ∅.
Hence x ∈ D(A).
Thus, D(D(A)) ⊆ D(A).
Hence D(A) is closed.
(I) If A ⊆ B then A ⊆ B.
(III) A ∪ B = A ∪ B.
x ∈ A =⇒ ∀ r > 0, B(x, r) ∩ A 6= ∅
=⇒ ∀ r > 0, B(x, r) ∩ B 6= ∅ (As A ⊆ B, B(x, r) ∩ A ⊆ B(x, r) ∩ B
=⇒ x ∈ B
Hence A ⊆ B =⇒ A ⊆ B
107
A∩B ⊆A A∩B ⊆B
A∩B ⊆A A∩B ⊆B
A∩B ⊆A∩B
A⊆A∪B B ⊆A∪B
A⊆A∪B B ⊆A∪B
A∪B ⊆A∪B (∗)
x∈
/ A ∪ B =⇒ x ∈
/A & x∈ / B.
=⇒ ∃ r1 > 0 such that B(x, r1 ) ∩ A = ∅ and ∃ r2 > 0 such that B(x, r2 ) ∩ B = ∅