A metric on a set is a function satisfying, for every :
A metric equips its underlying set with a metric space structure; the distance function and the space carrying it are distinct concepts. The second requirement distinguishes a metric from a pseudometric, which may identify distinct elements at zero distance. The symmetry requirement also explains why directed travel times, such as uphill versus downhill times, need not define a metric.
A tempting alternative on the real numbers is . It is nonnegative, symmetric, and zero exactly on equal endpoints, but fails the triangle inequality: . Checking only the first three requirements would miss the failure.
The increasing function is subadditive on nonnegative arguments: each summand and is at least its numerator divided by . Thus is a metric whenever is. It is bounded and induces the same topology because and its inverse near zero preserve convergence to zero.
A metric is compatible with a given topology when its open balls generate exactly that topology. Compatible metrics on a compact topological space are uniformly equivalent: the identity maps between the resulting compact metric spaces are uniformly continuous. Consequently they define the same proximality and the same asymptotic-pair relation for a fixed continuous map.
This metric identifies isometrically with the open interval in the usual real distance. It induces the usual topology but is incomplete: the integer sequence has transformed limit outside that interval. This illustrates that completeness depends on the metric, not solely on its topology.
The discrete metric sets and for distinct points. It induces the discrete topology, and its Cauchy sequences are exactly the eventually constant sequences.
Every nonempty set equipped with the discrete metric is a bounded set, even if it is an infinite set. For , both the open ball and closed ball about are the singleton . At , the open ball is still , but the closed ball is the whole space; for , both are the whole space. Every subset is both an open set and a closed set. Consequently the boundary of the radius-one closed ball is empty, even though every point other than is at distance exactly one. Also, the closure of is , rather than the radius-one closed ball.
A pseudometric satisfies the axioms of a metric except that distinct points may have distance zero.
Zero distance in a pseudometric defines an equivalence relation: the triangle inequality proves transitivity. If and have zero distance, as do and , the triangle inequality in both directions gives . Thus distance descends to the quotient and becomes a metric, since zero quotient distance means the classes coincide.
An ultrametric is a metric satisfying the strong triangle inequality
The metric induced by the L1 norm gives taxicab geometry. Each difference in Cartesian coordinates contributes its absolute value independently, so an axis-aligned route with no backtracking realizes the endpoint distance.
The metric induced by the maximum norm measures the largest difference in Cartesian coordinates. Simultaneous changes of Cartesian coordinates cost only as much as the slowest coordinate requires.

Ancestors (6)

  1. Metric space
  2. Topological analysis
  3. Analysis
  4. Area of mathematics
  5. Mathematics
  6. Home

Synonyms (1)

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

"METRIC" can refer to different concepts depending on the context. Here are some of the most common interpretations: 1. **Measurement System**: In the context of measurement, METRIC typically refers to the metric system, a decimal-based system of measurement that is used internationally. It includes units such as meters for length, kilograms for mass, and liters for volume.