Metric
A distance function on a set satisfying positivity, symmetry, and the triangle inequality.
A metric on a set is a function such that for all :
- (Identity of indiscernibles) if and only if .
- (Symmetry) .
- (Triangle inequality) .
A metric is the basic structure underlying a metric space; it determines open balls and hence the metric-induced topology.
Examples
- On , the Euclidean metric .
- On any set , the discrete metric if and otherwise.