Metric (mathematics)

Last updated
An illustration comparing the taxicab metric to the Euclidean metric on the plane: According to the taxicab metric the red, yellow, and blue paths have the same length (12). According to the Euclidean metric, the green path has length
6
2
[?]
8.49
{\displaystyle 6{\sqrt {2}}\approx 8.49}
, and is the unique shortest path. Manhattan distance.svg
An illustration comparing the taxicab metric to the Euclidean metric on the plane: According to the taxicab metric the red, yellow, and blue paths have the same length (12). According to the Euclidean metric, the green path has length , and is the unique shortest path.

In mathematics, a metric or distance function is a function that gives a distance between each pair of point elements of a set. A set with a metric is a metric space . [1] A metric induces a topology on a set, but not all topologies can be generated by a metric. A topological space whose topology can be described by a metric is a metrizable space.

Contents

One important source of metrics in differential geometry are metric tensors, bilinear forms that may be defined from the tangent vectors of a differentiable manifold onto a scalar. A metric tensor allows distances along curves to be determined through integration, and thus determines a metric.

Definition

A metric on a set X is a function (called distance function or simply distance)

such that for all , the following three axioms hold:

1. identity of indiscernibles
2. symmetry
3. triangle inequality

From these axioms the non-negativity of metrics can be derived like so:

by triangle inequality
by symmetry
by identity of indiscernibles
4.we have non-negativity

A metric (as defined) is a non-negative real-valued function. This, together with axiom 1, provides a separation condition, where distinct or separate points are precisely those that have a positive distance between them.

A metric is called an ultrametric if it satisfies the following stronger version of the triangle inequality for all :

A metric on is called intrinsic if for all and any length , there exists a curve of length less than that joins and .

A metric on a group (written multiplicatively) is said to be left-invariant (resp. right-invariant) if for all

[resp. ].

A metric on a commutative additive group is said to be translation invariant if for all

or equivalently

Every vector space is also a commutative additive group and a metric on a real or complex vector space that is induced by a norm is always translation invariant. A metric on a real or complex vector space is induced by a norm if and only if it is translation invariant and absolutely homogeneous, where the latter means that for all scalars and all : holds, in which case the function defines a norm on and the canonical metric induced by is equal to

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 from x to z via y is at least as great as from x to z directly. Euclid in his work stated that the shortest distance between two points is a line; that was the triangle inequality for his geometry.

Examples

Equivalence of metrics

For a given set X, two metrics and are called topologically equivalent (uniformly equivalent) if the identity mapping

is a homeomorphism (uniform isomorphism).

For example, if is a metric, then and are metrics equivalent to

Norm induced metric

Norms on vector spaces are equivalent to certain metrics, namely homogeneous, translation-invariant ones. In other words, every norm determines a metric, and some metrics determine a norm.

Given a normed vector space we can define a metric on called the metric induced by or simply the norm induced metric, by

The metric is said to be induced by the norm

Conversely [3] if a metric on a vector space satisfies the properties

then a norm on may be defined by

where the metric induced by this norm is the original given metric

Similarly, a seminorm induces a pseudometric (see below), and a homogeneous, translation invariant pseudometric induces a seminorm.

Metrics on multisets

We can generalize the notion of a metric from a distance between two elements to a distance between two nonempty finite multisets of elements. A multiset is a generalization of the notion of a set such that an element can occur more than once. Define the multiset union if is the multiset consisting of the elements of the multisets and , that is, if occurs times in and times in then it occurs times in . A distance function on the set of nonempty finite multisets is a metric [4] if

  1. if all elements of are equal and otherwise (positive definiteness), that is, (non-negativity plus identity of indiscernibles)
  2. is invariant under all permutations of (symmetry)
  3. (triangle inequality)

Note that the familiar metric between two elements results if the multiset has two elements in 1 and 2 and the multisets have one element each in 3. For instance if consists of two occurrences of , then according to 1.

A simple example is the set of all nonempty finite multisets of integers with . More complex examples are information distance in multisets; [4] and normalized compression distance (NCD) in multisets. [5]

Generalized metrics

There are numerous ways of relaxing the axioms of metrics, giving rise to various notions of generalized metric spaces. These generalizations can also be combined. The terminology used to describe them is not completely standardized. Most notably, in functional analysis pseudometrics often come from seminorms on vector spaces, and so it is natural to call them "semimetrics". This conflicts with the use of the term in topology.

Extended metrics

Some authors allow the distance function d to attain the value ∞, i.e. distances are non-negative numbers on the extended real number line. Such a function is called an extended metric or "∞-metric". Every extended metric can be transformed to a finite metric such that the metric spaces are equivalent as far as notions of topology (such as continuity or convergence) are concerned. This can be done using a subadditive monotonically increasing bounded function which is zero at zero, e.g. or .

The requirement that the metric take values in can even be relaxed to consider metrics with values in other directed sets. The reformulation of the axioms in this case leads to the construction of uniform spaces: topological spaces with an abstract structure enabling one to compare the local topologies of different points.

Pseudometrics

A pseudometric on is a function which satisfies the axioms for a metric, except that instead of the second (identity of indiscernibles) only for all is required. In other words, the axioms for a pseudometric are:

  1. .

In some contexts, pseudometrics are referred to as semimetrics because of their relation to seminorms.

Quasimetrics

Occasionally, a quasimetric is defined as a function that satisfies all axioms for a metric with the possible exception of symmetry. [6] The name of this generalisation is not entirely standardized. [7]

Quasimetrics are common in real life. For example, given a set X of mountain villages, the typical walking times between elements of X form a quasimetric because travel uphill takes longer than travel downhill. Another example is the length of car rides in a city with one-way streets: here, a shortest path from point A to point B goes along a different set of streets than a shortest path from B to A and may have a different length.

A quasimetric on the reals can be defined by setting

The 1 may be replaced, for example, by infinity or by or any other subadditive function of y-x. This quasimetric describes the cost of modifying a metal stick: it is easy to reduce its size by filing it down, but it is difficult or impossible to grow it.

Given a quasimetric on X, one can define an R-ball around x to be the set . As in the case of a metric, such balls form a basis for a topology on X, but this topology need not be metrizable. For example, the topology induced by the quasimetric on the reals described above is the (reversed) Sorgenfrey line.

Metametrics

In a metametric, all the axioms of a metric are satisfied except that the distance between identical points is not necessarily zero. In other words, the axioms for a metametric are:

Metametrics appear in the study of Gromov hyperbolic metric spaces and their boundaries. The visual metametric on such a space satisfies for points on the boundary, but otherwise is approximately the distance from to the boundary. Metametrics were first defined by Jussi Väisälä. [8]

Semimetrics

A semimetric on is a function that satisfies the first three axioms, but not necessarily the triangle inequality:

Some authors work with a weaker form of the triangle inequality, such as:

ρ-relaxed triangle inequality
ρ-inframetric inequality

The ρ-inframetric inequality implies the ρ-relaxed triangle inequality (assuming the first axiom), and the ρ-relaxed triangle inequality implies the 2ρ-inframetric inequality. Semimetrics satisfying these equivalent conditions have sometimes been referred to as "quasimetrics", [9] "nearmetrics" [10] or inframetrics. [11]

The ρ-inframetric inequalities were introduced to model round-trip delay times in the internet. [11] The triangle inequality implies the 2-inframetric inequality, and the ultrametric inequality is exactly the 1-inframetric inequality.

Premetrics

Relaxing the last three axioms leads to the notion of a premetric, i.e. a function satisfying the following conditions:

This is not a standard term. Sometimes it is used to refer to other generalizations of metrics such as pseudosemimetrics [12] or pseudometrics; [13] in translations of Russian books it sometimes appears as "prametric". [14] A premetric that satisfies symmetry, i.e. a pseudosemimetric, is also called a distance. [15]

Any premetric gives rise to a topology as follows. For a positive real , the -ball centered at a point is defined as

A set is called open if for any point in the set there is an -ball centered at which is contained in the set. Every premetric space is a topological space, and in fact a sequential space. In general, the -balls themselves need not be open sets with respect to this topology. As for metrics, the distance between two sets and , is defined as

This defines a premetric on the power set of a premetric space. If we start with a (pseudosemi-)metric space, we get a pseudosemimetric, i.e. a symmetric premetric. Any premetric gives rise to a preclosure operator as follows:

Pseudoquasimetrics

The prefixes pseudo-, quasi- and semi- can also be combined, e.g., a pseudoquasimetric (sometimes called hemimetric) relaxes both the indiscernibility axiom and the symmetry axiom and is simply a premetric satisfying the triangle inequality. For pseudoquasimetric spaces the open -balls form a basis of open sets. A very basic example of a pseudoquasimetric space is the set with the premetric given by and The associated topological space is the Sierpiński space.

Sets equipped with an extended pseudoquasimetric were studied by William Lawvere as "generalized metric spaces". [16] From a categorical point of view, the extended pseudometric spaces 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 maintains these good categorical properties.

Important cases of generalized metrics

In differential geometry, one considers a metric tensor, which can be thought of as an infinitesimal quadratic metric function. This is defined as a nondegenerate symmetric bilinear form on the tangent space of a manifold with an appropriate differentiability requirement. While these are not metric functions as defined in this article, they induce what is called a pseudo-semimetric function by integration of its square root along a path through the manifold. If one imposes the positive-definiteness requirement of an inner product on the metric tensor, this restricts to the case of a Riemannian manifold, and the path integration yields a metric.

In general relativity the related concept is a metric tensor (general relativity) which expresses the structure of a pseudo-Riemannian manifold. Though the term "metric" is used, the fundamental idea is different because there are non-zero null vectors in the tangent space of these manifolds, and vectors can have negative squared norms. This generalized view of "metrics", in which zero distance does not imply identity, has crept into some mathematical writing too: [17]

See also

Notes

  1. Čech 1969.
  2. Narici & Beckenstein 2011, pp. 47–51.
  3. Narici & Beckenstein 2011, pp. 47–66.
  4. 1 2 Vitányi 2011.
  5. Cohen & Vitányi 2012.
  6. Steen & Seebach (1995); Smyth (1987)
  7. Rolewicz (1987) calls them "semimetrics". That same term is also frequently used for two other generalizations of metrics.
  8. Väisälä 2005.
  9. Xia 2009.
  10. Xia 2008.
  11. 1 2 Fraigniaud, Lebhar & Viennot 2008.
  12. Buldygin & Kozachenko 2000.
  13. Helemskii 2006.
  14. Arkhangel'skii & Pontryagin (1990); Aldrovandi & Pereira (2017)
  15. Deza & Laurent 1997.
  16. Lawvere (2002); Vickers (2005)
  17. Parrott (1987): "This bilinear form is variously called the Lorentz metric, or Minkowski metric or metric tensor"; Cecil (2008): "We call this scalar product the Lorentz metric"

Related Research Articles

Absolute value Distance from zero to a number

In mathematics, the absolute value or modulus of a real number , denoted , is the non-negative value of without regard to its sign. Namely, if x is a positive number, and if is negative, and . For example, the absolute value of 3 is 3, and the absolute value of −3 is also 3. The absolute value of a number may be thought of as its distance from zero.

In mathematics, more specifically in functional analysis, a Banach space is a complete normed vector space. Thus, a Banach space is a vector space with a metric that allows the computation of vector length and distance between vectors and is complete in the sense that a Cauchy sequence of vectors always converges to a well defined limit that is within the space.

In mathematical analysis, a metric space M is called complete if every Cauchy sequence of points in M has a limit that is also in M.

Euclidean space Fundamental space of geometry

Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's Elements, it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidean spaces of any positive integer dimension, including the three-dimensional space and the Euclidean plane. The qualifier "Euclidean" is used to distinguish Euclidean spaces from other spaces that were later considered in physics and modern mathematics.

Metric space Mathematical space with a notion of distance

In mathematics, a metric space is a set together with a notion of distance between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are the most general setting for studying many of the concepts of mathematical analysis and geometry.

Normed vector space Vector space on which a distance is defined

In mathematics, a normed vector space or normed space is a vector space over the real or complex numbers, on which a norm is defined. A norm is the formalization and the generalization to real vector spaces of the intuitive notion of "length" in the real (physical) world. A norm is a real-valued function defined on the vector space that is commonly denoted and has the following properties:

  1. It is nonnegative, meaning that for every vector
  2. It is positive on nonzero vectors, that is,
  3. For every vector and every scalar
  4. The triangle inequality holds; that is, for every vectors and

In mathematics, a topological space is, roughly speaking, a geometrical space in which closeness is defined but cannot necessarily be measured by a numeric distance. More specifically, a topological space is a set whose elements are called points, along with an additional structure called a topology that can be defined as a set of neighbourhoods for each point, that satisfy some axioms formalizing the concept of closeness. There are several equivalent definitions of a topology, the most commonly used is the definition through open sets, which is easier to manipulate.

In the mathematical field of topology, a uniform space is a set with a uniform structure. Uniform spaces are topological spaces with additional structure that is used to define uniform properties such as completeness, uniform continuity and uniform convergence. Uniform spaces generalize metric spaces and topological groups, but the concept is designed to formulate the weakest axioms needed for most proofs in analysis.

In mathematics, a topological vector space is one of the basic structures investigated in functional analysis. A topological vector space is a vector space that is also a topological space with the property that the vector space operations are also continuous functions. Such a topology is called a vector topology and every topological vector space has a uniform topological structure, allowing a notion of uniform convergence and completeness. Some authors also require that the space is a Hausdorff space. One of the most widely studied categories of TVSs are locally convex topological vector spaces. This article focuses on TVSs that are not necessarily locally convex. Banach spaces, Hilbert spaces and Sobolev spaces are other well-known examples of TVSs.

In mathematics, a pseudometric space is a generalization of a metric space in which the distance between two distinct points can be zero. Pseudometric spaces were introduced by Đuro Kurepa in 1934. In the same way as every normed space is a metric space, every seminormed space is a pseudometric space. Because of this analogy the term semimetric space is sometimes used as a synonym, especially in functional analysis.

In functional analysis and related areas of mathematics, Fréchet spaces, named after Maurice Fréchet, are special topological vector spaces. They are generalizations of Banach spaces. All Banach and Hilbert spaces are Fréchet spaces. Spaces of infinitely differentiable functions are typical examples of Fréchet spaces, many of which are typically not Banach spaces.

In mathematics, particularly in functional analysis, a seminorm is a vector space norm that need not be positive definite. Seminorms are intimately connected with convex sets: every seminorm is the Minkowski functional of some absorbing disk and, conversely, the Minkowski functional of any such set is a seminorm.

In functional analysis and related areas of mathematics, locally convex topological vector spaces (LCTVS) or locally convex spaces are examples of topological vector spaces (TVS) that generalize normed spaces. They can be defined as topological vector spaces whose topology is generated by translations of balanced, absorbent, convex sets. Alternatively they can be defined as a vector space with a family of seminorms, and a topology can be defined in terms of that family. Although in general such spaces are not necessarily normable, the existence of a convex local base for the zero vector is strong enough for the Hahn–Banach theorem to hold, yielding a sufficiently rich theory of continuous linear functionals.

In mathematics, a norm is a function from a real or complex vector space to the non-negative real numbers that behaves in certain ways like the distance from the origin: it commutes with scaling, obeys a form of the triangle inequality, and is zero only at the origin. In particular, the Euclidean distance of a vector from the origin is a norm, called the Euclidean norm, or 2-norm, which may also be defined as the square root of the inner product of a vector with itself.

Real coordinate space Space formed by the n-tuples of real numbers

In mathematics, the real coordinate space of dimension n, denoted Rn or , is the set of the n-tuples of real numbers, that is the set of all sequences of n real numbers. With component-wise addition and scalar multiplication, it is a real vector space, and its elements are called coordinate vectors.

Manifold Topological space that locally resembles Euclidean space

In mathematics, a manifold is a topological space that locally resembles Euclidean space near each point. More precisely, an n-dimensional manifold, or n-manifold for short, is a topological space with the property that each point has a neighborhood that is homeomorphic to an open subset of n-dimensional Euclidean space.

In Riemannian geometry, the filling radius of a Riemannian manifold X is a metric invariant of X. It was originally introduced in 1983 by Mikhail Gromov, who used it to prove his systolic inequality for essential manifolds, vastly generalizing Loewner's torus inequality and Pu's inequality for the real projective plane, and creating systolic geometry in its modern form.

In functional analysis and related areas of mathematics, a complete topological vector space is a topological vector space (TVS) with the property that whenever points get progressively closer to each other, then there exists some point towards which they all get closer. The notion of "points that get progressively closer" is made rigorous by Cauchy nets or Cauchy filters, which are generalizations of Cauchy sequences, while "point towards which they all get closer" means that this Cauchy net or filter converges to The notion of completeness for TVSs uses the theory of uniform spaces as a framework to generalize the notion of completeness for metric spaces. But unlike metric-completeness, TVS-completeness does not depend on any metric and is defined for all TVSs, including those that are not metrizable or Hausdorff.

In mathematics, and especially differential and algebraic geometry, K-stability is an algebro-geometric stability condition, for complex manifolds and complex algebraic varieties. The notion of K-stability was first introduced by Gang Tian and reformulated more algebraically later by Simon Donaldson. The definition was inspired by a comparison to geometric invariant theory (GIT) stability. In the special case of Fano varieties, K-stability precisely characterises the existence of Kähler–Einstein metrics. More generally, on any compact complex manifold, K-stability is conjectured to be equivalent to the existence of constant scalar curvature Kähler metrics.

In functional analysis and related areas of mathematics, a metrizable topological vector space (TVS) is a TVS whose topology is induced by a metric. An LM-space is an inductive limit of a sequence of locally convex metrizable TVS.

References