Metric (mathematics)
Encyclopedia : M : ME : MET : Metric (mathematics)
In mathematics a metric or distance function is a function which defines a distance between elements of a set. A set with a metric is called a metric space. A metric induces a topology on a set but not all topologies can be generated by a metric. When a topology can be described by a metric we call the space metrisable.
Definition
A metric on a set X is a function (called the distance function or simply distance)
d : X × X → R
(where R is the set of real numbers). For all x, y, z in X, this function is required to satisfy the following conditions:
- d(x, y) ≥ 0 (non-negativity)
- d(x, y) = 0 if and only if x = y (identity of indiscernibles)
- d(x, y) = d(y, x) (symmetry)
- d(x, z) ≤ d(x, y) + d(y, z) (triangle inequality).
For sets on which an addition + : X × X → X is defined, we call d a translation invariant metric if
- d(x, y)=d(x + a, y + a)
If the triangular inequality is strengthened to
- d(x, z) ≤ max( d(x, y), d(y, z) )
Notes
These conditions express intuitive notions about the concept of distance. For example, that the distance between distinct points is positive and the distance from x to y is the same as the distance from y to x. The triangle inequality means that the distance traversed directly between x and z, is not larger than the distance to traverse in going first from x to y, and then from y to z. Euclid in his work proved that the shortest distance between two points is a line; that was the triangle inequality for his geometry.
Property 1 (d(x, y) ≥ 0) follows from properties 2 and 4 and does not have to be required separately.
Examples
- The discrete metric: if x = y then d(x,y) = 0. Otherwise, d(x,y) = 1.
- The Euclidean metric is translation invariant.
- More generally, any metric induced by a norm (see below) is translation invariant.
- If (pn)n∈N is a sequence of seminorms defining a (locally convex) topological vector space E, then
- [d(x,y)=\sum_^\infty \frac \frac]
- is a metric defining the same topology. (One can replace [ \frac] by any summable sequence [(a_n)] of strictly positive numbers.)
Equivalence of metrics
For a given set X two metrics d1 and d2 are called topological equivalent (uniformly equivalent) if the identity mapping
- id: (X,d1) → (X,d2)
Relation of norms and metrics
Given a normed vector space (X,||.||) we can define a metric on X by
- d(x,y):=||x-y||.
Conversely if a metric d on a vector space X satisfies the properties
- d(x,y) = d(x+a,y+a) (translation invariance)
- d(αx,αy) = |α|d(x,y) (homogenity)
- ||x||:=d(x,0)
Related concepts and alternative axiom systems
Some authors use the extended real number line and allow the distance function d to attain the value ∞. Such a metric is called an extended metric. Every extended metric can be rescaled to a finite metric (using d'(x, y) = d(x, y) / (1 + d(x, y)) or d
A metric is called an ultrametric if it satisfies the following stronger version of the triangle inequality:
- For all x, y, z in M, d(x, z) ≤ max(d(x, y), d(y, z))
From the categorical point of view, the extended pseudometric and the extended pseudoquasimetric spaces, along with their corresponding nonexpansive maps, are the best behaved of the metric space categories. One can take arbitrary products and coproducts and form quotient objects within the given category. If one drops "extended", one can only take finite products and coproducts. If one drops "pseudo", one cannot take quotients. Approach spaces are a generalization of metric spaces that maintain these good categorical properties.
The requirement that the metric takes values in
In differential geometry, one considers metric tensors, which can be thought of as "infinitesimal" metric functions, and are defined as inner products on the tangent space with an appropriate differentiability requirement. While these are not metric functions as defined in this article, they induce metric functions by integration. A manifold with a metric tensor is called a Riemannian manifold. If one drops the positive definiteness requirement of inner product spaces, then one obtains a Pseudo-Riemannian metric tensor, which integrates to a pseudometric. These are used in the geometric study of the theory of relativity, where the tensor is also called the "invariant distance".
See also
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
