Definition and Examples of Metric Spaces: Previous Page Next Page
Definition and Examples of Metric Spaces: Previous Page Next Page
Definition
A metric space is a set X together with a function d (called a metric or "distance function") which assigns
a real number d(x, y) to every pair x, y X satisfying the properties (or axioms):
Remarks
The last property is called the triangle inequality because (when applied to R2
with the usual metric) it says that the sum of two sides of a triangle is at least as
big as the third side.
Examples
1. The prototype: the line R with its usual distance d(x, y) = |x - y|.
3. The same picture will give metric on the complex numbers C interpreted as the Argand diagram. In
this case the formula for the metric is now:
d(z, w) = |z - w|
where the | | in the formula represent the modulus of the complex number rather than the absolute
value of a real number.
4. The plane with the taxi cab metric d((x1 , y1), (x2 , y2)) = |x1 - x2| + |y1 - y2|.
This is often called the 1-metric d1 .
5. The plane with the supremum or maximum metric d((x1 , y1), (x2 , y2)) =
max(|x1 - x2|, |y1 - y2| ).
It is often called the infinity metric d .
Although this does not have such case straight forward geometric interpretation as the last
example, this case turns out to be the most important in practice. It corresponds to who doing
a "least squares approximation".