Attic › Mathematics › Metric space
A metric space is any set of objects with a consistent rule to measure the distance between them
In mathematics, a metric space is a collection of objects together with a rule that tells you how far apart any two objects are. The objects do not need to be physical places; they can be numbers, words, or mathematical functions.
We usually think of distance in three-dimensional space, where you can measure the straight line between two locations with a ruler. In the 19th century, mathematicians began to study sets of functions and curves. They realized that many ideas from geometry and calculus only depend on knowing how "close" two things are, even if those things are not points in physical space. In 1906, the French mathematician Maurice Fréchet addressed the idea of an abstract space with metric properties, and in 1914 Felix Hausdorff coined the term metric space.
A metric space has two parts:
1. A set of objects, which mathematicians call points, no matter what they actually are.
2. A metric (or distance function), which takes any two points x and y and gives a single number d(x, y) for the distance between them.
Because the points can be anything, this simple structure applies to many fields. For example, if your set is all five-letter English words, you can use the Hamming distance, which counts how many letters differ between two words. Under this rule, the distance between "water" and "wager" is 1, while the distance between "water" and "stone" is 5. Spell-checkers use metrics like this to find the closest valid word to a typo.
By treating abstract objects as points with distances between them, mathematicians can use geometric intuition to solve problems about data, genetics, and equations.
Fact-checked against Metric space on Wikipedia
Part of the Mathematics syllabus: Curved Space and Topology
See it on the timeline of Mathematics