up:: Metric Space
A function
- Non-degeneracy:
- Triangle Inequality:
- Positivity:
- Commutativity:
Sufficient conditions for a metric
One can shrink these conditions to two:
- Non-degeneracy (as above)
- (Modified) Triangular Inequality:
From those two, one can prove the other conditions:
: : and
Examples of metrics
Euclidean spaces
The initial motivation for metric spaces comes from
Trivial metric
An example of a metric borne out of this general definition is the trivial metric:
Supremum norm and distances in function space
Consider