Introduction
Contents
3.1. Introduction#
3.1.1. Distance Functions#
Definition 3.1 (Distance function/Metric)
Let
Non-negativity:
Identity of indiscernibles:
Symmetry:
Triangle inequality:
It is customary to call the elements of a set
associated with a distance function as points.Distance functions are real valued.
Distance functions map an ordered pair of points in
to a real number.Distance between two points in the set
can only be non-negative.Distance of a point with itself is 0. In other words, if the distance between two points is 0, then the points are identical. i.e. the distance function works as a discriminator between the points of the set
.Symmetry means that the distance from a point
to another point is same as the distance from to .Triangle inequality says that the direct distance between two points can never be longer than the distance covered through an intermediate point.
3.1.2. Metric Spaces#
Definition 3.2 (Metric space)
Let
In general, a set
can be associated with different metrics (distance functions) say and . In that case, the corresponding metric spaces and are different.When a set
is equipped with a metric to create a metric space , we say that has been metrized.If the metric
associated with a set is obvious from the context, we will denote the corresponding metric space by simply . E.g., is the standard distance function on the set .When we say that let
be a subset of a metric space , we mean that .Similarly, a point in a metric space
means the point in the underlying set .
Note
Some authors prefer the notation
3.1.3. Properties of Metrics#
Proposition 3.1 (Triangle inequality alternate form)
Let
Proof. From triangle inequality:
Interchanging
Combining the two, we get:
3.1.4. Metric Subspaces#
Definition 3.3 (Metric subspace)
Let
It is customary to drop the subscript
Example 3.1
3.1.5. Examples#
Example 3.2 (
For some
is a metric and
Example 3.3 (
The
is known as the Euclidean distance and
the metric space
The standard metric for
Example 3.4 (Discrete metric)
Let
Define:
Discrete metric spaces are discussed in depth in Discrete Metric Space. They help clarify many subtle issues in the theory of metric spaces.
Example 3.5 (
Consider the mapping
Consider a function
The function
Example 3.6 (
For any
as the set of real sequences
It can be shown that the set
Define a map
3.1.6. Products of Metric Spaces#
Definition 3.4 (Finite products of metric spaces)
Let
Let
3.1.7. Distance between Sets and Points#
Definition 3.5 (Distance between a point and a set)
The distance between a nonempty set
Since
is nonempty, hence the set is not empty. is bounded from below since .Since
is bounded from below, hence it does have an infimum.Thus,
is well-defined and finite.Since
is non-empty, hence there exists . .Thus,
is bounded from above too.Thus,
.If
, then .
Theorem 3.1
If
Example 3.7
Let
and .Let
.Then
.However,
.Thus,
doesn’t imply that .
Distance of a set with its accumulation points is 0. See Theorem 3.21.
3.1.8. Distance between Sets#
Definition 3.6 (Distance between sets)
The distance between two nonempty sets