Metric Spaces

A set of points X and a metric d, a function of two points in X, that satisfies the properties:

d is non-negative and zero if the two points are identical,

d is symmetric and

d satisfies the triangle inequality,

is called a metric space.