Definition
Metric
A metric (or distance function) on a set is a function that satisfies the following axioms for all :
- Non-negativity:
- Identity of Indiscernibles:
- Symmetry:
- Triangle Inequality:
A set equipped with a metric is called a metric space.
Triangle Inequality
Direct distance
The triangle inequality states that the direct distance between two points is never greater than the distance through an intermediate point.