Definition
Metric defined on is a function satisfying conditions:
- Positivity:
- Symmetry:
- Triangle inequality:
Given a metric on , is called the distance between and .
Distance Between Point and Set

Consider a Metric Space , a point and a non-empty subset . The distance from to is defined by Infimum
Distance Between Sets

Consider a Metric Space , and non-empty subsets . The distance from to is defined by Infimum
Examples
Examples on Real Plane

Consider a set , and points and y = (y_{1}, y_{2})
- Discrete metric:
- Euclidean metric:
- Square metric:
- Standard bounded metric:
The metric topologies generated by the metrics have the following relation:
Facts
a metric can be induced by a Norm