Metric Spaces, Norms, and Examples
A metric is a function obeying four axioms: nonnegativity, identity of indiscernibles, symmetry, and the triangle inequality. The Euclidean, taxicab, sup, discrete, and great-circle metrics all qualify, as does the sup metric on .
╌╌╌╌
Every limit rests on a single number: the distance between two
things. A sequence of reals converges to when eventually stays
small; a function is continuous at when is close to whenever
is close to . In each case close
means only that is small.
If some other set carries a sensible notion of distance, every argument about
limits transfers to it without change.
A metric space is a set together with such a distance function, stripped to the properties the proofs use. One definition and one set of theorems then govern sequences in , convergence of functions, points on a sphere, and spaces whose elements are themselves functions, so nothing about limits has to be re-proved in each new setting.1
The metric axioms
The first three axioms encode obvious demands on a notion of distance: it is never negative, only a point and itself are at distance zero, and the distance from to equals the distance back. The triangle inequality (M4) is the one with content. It says a detour through can never be a shortcut from to , and essentially every estimate in analysis is an application of it.
A useful consequence, obtained by applying (M4) twice, is the reverse triangle inequality:
It bounds how much a distance can change when one endpoint moves, and is the metric-space form of the estimate from the real line.
Examples
The verifications are mechanical for (M1)–(M3); the triangle inequality is the only step that ever takes work.
The real line. On , set . Axioms (M1)–(M3) are immediate, and (M4) is the ordinary triangle inequality for absolute value:
This is the standard metric on ; unqualified,
means this space.
Euclidean space. On , with points , the standard metric is
Only (M4) is delicate. It follows from the Cauchy–Schwarz inequality, worth isolating because it recurs throughout analysis.2
The lemma comes from expanding the nonnegative double sum and relabelling.
The taxicab and sup metrics. The same set carries other metrics. The taxicab (or ) metric sums coordinate distances; the sup (or ) metric takes the largest:
Both satisfy all four axioms; their triangle inequalities reduce term-by-term to the scalar case. On these three are the working examples, and they are genuinely different distance functions on the same underlying set.
| Metric | Formula on | Distance from to | Unit ball |
|---|---|---|---|
| Taxicab | diamond | ||
| Euclidean | disk | ||
| Sup | square |
The discrete metric serves as a stress test: a claim about metric spaces that fails under it is false in general. It also shows a set with no numerical structure can still be a metric space.
A bounded remetrization of . The function
is a metric on under which every pair of points is less than apart. It is for the increasing, subadditive , and subadditivity of gives (M4). The same set can thus be bounded under one metric and unbounded under another, so boundedness is a property of the metric, not of the set alone.
Continuous functions. Let be the set of continuous , with the sup metric .
Two functions are close in this metric exactly when their graphs stay uniformly near each other, so the largest vertical gap between the graphs is the distance.
Treating a whole set of functions as points in one metric space is what makes uniform convergence, and fixed-point arguments such as Picard's theorem, a matter of convergence in a single space.
The sphere. On the unit sphere , the great-circle distance takes to be the angle between the radii to and , computable as . The first three axioms are clear; the triangle inequality is the spherical law of cosines. This is the distance used on the surface of the earth, and it is not the restriction of the Euclidean metric of (that would be the straight-line chord through the interior). The same point set thus supports two natural, different metrics.
The discrete metric as a source of counterexamples
The discrete metric is extreme, and any claim that looks obvious from Euclidean
pictures should be checked against it. A ball is either a single point or the
whole space; every set is bounded and closed; and there is no notion of
between
. When a statement about metric spaces holds for Euclidean space but
fails under the discrete metric, the Euclidean intuition was using structure the
axioms do not provide.
Norms
Most of these metrics measure distance as the size
of a difference vector.
Abstracting that pattern gives a norm, the source of nearly every metric on
a vector space.3
Every norm induces a metric by measuring the size of the difference.
Nonnegativity and (M2) come from the first norm axiom; symmetry from homogeneity with ; and (M4) from the norm's triangle inequality, since . The three metrics on arise this way from the norms
with giving taxicab, Euclidean, and the limiting case the sup norm. The metrics differ, but their unit balls show the difference most clearly: the set is a diamond for , the round disk for , and a square for .
The nesting reflects the pointwise inequality on . On a finite-dimensional space these norms also satisfy reverse bounds like , so any two are within constant factors of each other.
The three metrics on are pairwise strongly equivalent. Strong equivalence forces a ball of one metric to sit inside a ball of the other and vice versa, so the two metrics have the same open sets, the same convergent sequences, and the same continuous functions, even though they assign different numerical distances. Properties unchanged by remetrization (open, convergent, compact) are topological; properties that do change (the numerical value of a distance, whether a specific radius works) are metric-specific. The distinction recurs when the topology is built.
Balls, boundedness, and diameter
Every later definition is built from one geometric object, the ball: all points within a fixed distance of a center.
The shape of a ball depends entirely on the metric. In with the standard metric, is an open interval. On the unit balls of the three norms above are the diamond, disk, and square. Under the discrete metric on any , for and for : the balls have only two possible shapes.
Boundedness is expressed through balls: a set is bounded when it fits inside one.
For subsets of this recovers the earlier notion of a bounded set: every element lies within a fixed distance of a reference point. The choice of reference point does not matter, since moving it changes the required by only by the triangle inequality. Under the discrete metric every set has diameter at most , so every set is bounded, whatever its size.
Subspaces
Any subset of a metric space is a metric space in its own right, by simply restricting .
Balls in a subspace are computed with the restricted metric, so they can differ from the ambient balls. In as a subspace of ,
which includes its left endpoint, unlike . The ball is always computed in whichever space is the ambient one, and the answer can change when the ambient space does.
Properties like open
and closed
are likewise relative to the surrounding
space, made precise once the topology
is built from these balls.
Footnotes
- Lebl, Basic Analysis I, §7.1 — Metric spaces: the axioms, the standard metric on and , the discrete metric, the sphere, and under the uniform norm. ↩
- Lebl, Basic Analysis I, §7.1, Lemma 7.1.4 — the Cauchy–Schwarz inequality on and its use in verifying the Euclidean triangle inequality. ↩
- Rosenlicht, Introduction to Analysis, Ch. 3 — Metric spaces: normed vector spaces, the metric induced by a norm, and the standard examples in Euclidean space and function spaces. ↩
╌╌ END ╌╌