Metric space
A metric space is a set equipped with a distance function satisfying non-negativity, identity of indiscernibles, symmetry and the triangle inequality; foundational in analysis, topology, and applications.
A metric space is a basic structure in mathematics that formalizes the idea of distance. It consists of a nonempty set together with a rule that assigns a nonnegative length or separation to every ordered pair of points. This notion captures familiar geometric intuition while applying to many abstract settings, from Euclidean geometry to sequences of functions and graphs.
Image gallery
1 ImageDefinition and axioms
Formally, a metric space is a pair (X,d) where X is a set and d is a distance function d:X×X→real numbers satisfying four conditions. In plain language these are:
- Non-negativity: distances are never negative.
- Identity of indiscernibles: the distance is zero exactly when the two points are the same.
- Symmetry: the distance from x to y equals the distance from y to x.
- Triangle inequality: the direct distance between two points is at most the sum of distances along a third point.
Typical examples
Common metrics that illustrate the concept include:
- The Euclidean distance on R^n, induced by the usual Pythagorean formula.
- The taxicab or l1 metric, summing coordinatewise absolute differences.
- The sup or l∞ metric, taking the largest coordinate difference.
- The discrete metric, which gives distance 1 for distinct points and 0 otherwise.
- Shortest-path distances on graphs, where the distance equals the minimal number of edges or minimal weighted length between vertices.
Structure and consequences
A metric determines a topology via open balls: for a point x and radius r>0 the ball consists of all points at distance less than r. This metric topology provides notions of continuity, convergence and compactness that mirror those in familiar geometric spaces. Important metric properties include completeness (every Cauchy sequence converges), separability (existence of a countable dense subset) and total boundedness, each with wide consequences in analysis.
Variations and related concepts
Several useful relaxations or strengthenings of the metric axioms appear in practice. A pseudometric allows distinct points to have zero distance; an ultrametric strengthens the triangle law to say the longest of two sides controls the third, producing unusual geometry with many equilateral triangles. Semimetrics and quasi-metrics drop or alter symmetry conditions. Embedding problems—whether one metric space can be mapped into another while approximately preserving distances—are central in geometry and theoretical computer science.
History, uses and significance
The abstract notion of metric spaces emerged in the early 20th century as mathematicians isolated the role of distance underlying analysis and topology. Since then metric concepts have become fundamental: they underpin convergence and continuity in real and functional analysis, provide the language for geometric group theory and fractal geometry, and appear in applied fields such as data analysis, clustering, and algorithms that depend on nearest-neighbor or shortest-path computations. Because metrics translate intuitive distance ideas into precise axioms, they serve as a bridge between concrete geometry and broad abstract theory.
Related facts and remarks
- Every metric space is a topological space, but not every topological space arises from a metric.
- Completeness depends on the metric chosen: the same set can be complete with one metric and incomplete with another.
- Metrics can be combined: sums, maxima, and certain integrals of metrics often yield new metrics on the same underlying set.
Questions and answers
Q: What is a metric space?
A: A metric space is a mathematical concept that includes a set of elements and a function that takes in two arguments, which are elements of the set, and returns a real number.
Q: What does the function in a metric space typically return?
A: The function typically returns a distance metric between the elements of the set.
Q: What is required of the function in a metric space?
A: The function in a metric space needs to be symmetric, meaning that the distance between two elements should be the same regardless of which element is the starting point.
Q: What is the distance between two elements in a metric space?
A: The distance between two elements in a metric space is usually denoted as d(x,y).
Q: What is the importance of a metric space?
A: A metric space is important in mathematics as it allows for a rigorous definition of concepts such as convergence, continuity, and completeness.
Q: What is an example of a metric space?
A: An example of a metric space is the set of real numbers with the distance metric being the absolute difference between two numbers.
Q: How can a metric space be useful in real-world applications?
A: Metric spaces can be applied in various fields, such as computer science, physics, and engineering, to measure distances between objects or elements in a standardized way.
Related articles
Author
AlegsaOnline.com Metric space Leandro Alegsa
URL: https://en.alegsaonline.com/art/64232