Professional Documents
Culture Documents
METRIC SPACES
1
Metrics and Metric Spaces
Distance in R
kx − yk ≤ kx − zk + kz − yk,
kx − yk ≤ kx − zk + kz − yk,
it follows that
that is,
as required.
So far, we have defined metrics on the nice, familiar,
Euclidean spaces. But the notion of metric space
has wider applicability.
Distance between matrices
Then d is a metric on A.
that is,
as required.
Then d∞ is a metric on A.
To prove it, clearly d∞(f, g) ≥ 0 for all
f, g : [0, 1] → R, since |f (x) − g(x)| ≥ 0 for all
x ∈ [0, 1]. Equality can happen if and only if
|f (x) − g(x)| = 0 for all x, i.e. f = g.
since
Z 1 Z 1
|f (x) − g(x)|dx ≤ sup |f (x) − g(x)| dx
0 0≤x≤1 0
= sup |f (x) − g(x)|.
0≤x≤1
For p ∈ N, let
Z 1 !1/p
dp(f, g) = |f (x) − g(x)|p dx .
0
d0(x, a) < 1 =⇒ x = a
=⇒ f (x) = f (a)
=⇒ d(f (x), f (a)) = 0 < .
[
Ui (i ∈ I) open =⇒ Ui open.
i∈I
is not open.
Let us prove the first part. This is very similar to the
corresponding proof in Rm.
So B(x) ⊆ U .
Let us prove the second part. Again, this is very
similar to the corresponding proof in Rm.
B(x) ⊆ Ui0 ⊆ U.
Continuity in terms of open sets
Definition of convergence
n ≥ N =⇒ |xn − x| < .
We have seen how this generalises to Rm.
n ≥ N =⇒ d(xn, x) < .
Closed sets in metric spaces
Definition of compactness
For any metric space (A, d), the set A is both open
and closed.
f (C) = {f (x) : x ∈ C}
is compact.
and let
M − 1/n < yn ≤ M
and
0 ≥ m.
m + 1/n > yn
0 → m as n → ∞. Since f (C) is
Then yn → M and yn
closed, M ∈ f (C) and m ∈ f (C).
But if M ∈ f (C) = {f (x) : x ∈ C}, there must be
x1 ∈ C such that M = f (x1).