If a sequence in a metric space has , the triangle inequality gives for . The tail of this convergent series tends to zero and bounds every later pair, proving the Cauchy sequence condition. In particular, an increment bound with and gives by the geometric series. Unlike checking a small latest step, this bounds all remaining movement.
This sufficient condition is not necessary. The real sequence converges to zero and is therefore a Cauchy sequence, although has a divergent sum. Cancellation allows convergence despite infinite accumulated absolute values of the successive changes.
Let be a complete metric space and let be nonempty closed bounded subsets with and Hausdorff distance , where and . Then is nonempty and closed, and .
To prove this, start with any and choose with . The triangle inequality makes the resulting sequence a Cauchy sequence. Its limit exists by completeness and belongs to every by nesting and closedness. Its distance from the starting point is at most . Let and take the supremum over starting points. The reverse directed distance is zero since . Unlike the usual shrinking-diameter form of Cantor's intersection theorem, the sets need not have diameters tending to zero.
Inside both convergence discs, the triangle inequality gives absolute convergence of the sum. Suppose and the sum had radius . At any modulus between and , subtracting the absolutely convergent second series from the absolutely convergent sum would give absolute convergence of the first series outside its radius of convergence, a contradiction. Interchanging the two series covers .
For and , add the two Bregman distances to get . The choice of subgradients matters. This is generally not a metric: it need not separate points or satisfy a triangle inequality.
Topological vector space Created 2026-09-24 Updated 2026-10-14
A topological vector space is a vector space over or , equipped with a topology such that vector addition and scalar multiplication are jointly continuous:
The domains carry the product topology, and the scalar field carries its usual topology. Joint continuity permits both inputs to vary at once. Here the definition does not impose the Hausdorff condition; we state it separately when needed. [ref].
Every normed vector space is a topological vector space: the triangle inequality gives , while
controls scalar multiplication near any . More generally, a seminorm topology supplies many measurements of smallness, rather than one norm. Translation by any vector is a homeomorphism, so a neighbourhood basis at zero determines all neighbourhoods by translation.
The compatibility matters: on a nonzero real vector space, the discrete topology makes vector addition continuous, but not scalar multiplication. For , the sequence of scalars tends to zero, whereas the sequence never enters the open set . Thus choosing a topology arbitrarily need not respect the linear algebra.
This framework lets functional analysis choose the appropriate notion of limit of a sequence. Norm topology measures one global error, weak topology tests linear functionals, and the Fréchet space of smooth functions controls every order of derivative. In each case the operations forming linear combinations are continuous, making approximation compatible with the underlying equations.
Applying the same measurable function to observations from two probability distributions cannot increase their total variation distance. Every output event is tested through its preimage , which was already one of the input events. Therefore
For the four-outcome example, recording only whether the result is makes the output probability distributions identical: each is a Bernoulli distribution with parameter . The original total variation distance was , but this coarse measurement leaves zero discrepancy. Discarding information can make two sources less distinguishable.
The same contraction holds for a common Markov kernel : . On a finite set, expand , apply the triangle inequality to each output component, and use that each row of sums to one. A common randomized postprocessing step cannot increase distinguishability either.
Total variation of a function Created 2026-09-24 Updated 2026-10-18
The total variation of a function measures its accumulated rises and falls, rather than just its change between the endpoints. For each partition of an interval , add the absolute values of its sampled increments. Then take the supremum over all such partitions of an interval:
The function has bounded variation when . This definition uses its value at every point of the interval, including both endpoints.[ref]
For a nondecreasing function, all increments are nonnegative and the sum telescopes to . More generally, the triangle inequality gives . Equality can fail dramatically when the function changes direction: an object can travel a long distance and finish near its starting position. Here we measure movement of the function's value; arc length of its function graph also includes horizontal movement.
Trace-class duality 2026-10-14
The dual of the trace-class operators, and also of the normed space of finite-rank operators with the trace norm, is isometrically the space of bounded operators. The pairing is . For , one has and , using an inner product linear in its first argument. A bounded functional on these rank-one operators gives a bounded sesquilinear form and hence a unique by the Riesz representation theorem. The singular value decomposition proves and the triangle inequality for the trace norm.
Trace distance Created 2026-09-24 Updated 2026-10-14
How different can two preparations look to someone who can perform any measurement in quantum mechanics? The trace distance answers this question for density operators on the same finite-dimensional vector space:
Here is the absolute value of an operator, and is its trace norm. Because is Hermitian, its trace norm is the sum of the absolute values of its eigenvalues; it is not the sum of the absolute values of its matrix entries. The factor gives
The trace distance is a metric: it is symmetric, vanishes exactly when , and obeys the triangle inequality. Identical preparations have trace distance zero; preparations with orthogonal occupied eigenspaces have trace distance one and can be identified perfectly in a single measurement in quantum mechanics.
Operationally, the trace distance is the largest total variation distance between the outcome probability distributions obtainable by a POVM. Equivalently, the variational characterization of trace distance says it is the largest possible probability gap for one event in a binary measurement in quantum mechanics. For one copy of either known preparation, each chosen with prior probability , the Holevo–Helstrom theorem gives
Thus trace distance zero leaves only guessing, while trace distance one permits perfect quantum state discrimination. The optimum ranges over measurements; different measurement bases can expose different amounts of distinguishability. [ref]
For a worked example with commuting density operators, take a qubit with
Their difference has eigenvalues , so . Measuring in the computational basis produces outcome probability distributions and , whose total variation distance is also . Guessing on outcome zero and on outcome one succeeds with probability . A projective measurement in the Hadamard basis instead produces for both preparations and gives no discrimination advantage.
The trace-distance contraction under quantum channels ensures that a common quantum channel, including the partial trace, cannot increase the trace distance. This makes trace distance a useful error measure: if , every event in every measurement in quantum mechanics has a probability gap at most . Losing access to a subsystem can hide distinguishability, but cannot create more of it.
Translation continuity in Lp Created 2026-10-06 Updated 2026-10-14
For and , translations converge to in the Lp space norm. First prove this for continuous compactly supported functions, using uniform continuity and a common bounded support. Their density in Lp space, together with the norm-preserving translation map and the triangle inequality, proves the assertion for arbitrary . It implies convergence of averages over shrinking intervals, a basic approximate identity argument. The corresponding assertion fails for general functions, such as an indicator function with a jump.
For speed in the punctured plane, the travel-time element is . Under the inversion in a circle with radial coordinate , this becomes , the arc length in Euclidean space divided by . Thus a shortest travel-time route corresponds to a straight line segment in the inverted plane, whenever that segment avoids the origin and lies in the allowed region. Between and the inverted segment has equation . The route is , and its minimum travel time is . The triangle inequality for arc length proves global minimality.
Triangle Created 2026-09-24 Updated 2026-10-14
A triangle is the convex hull of three noncollinear points: the three vertices must not lie on one line. Its boundary consists of the three joining line segments; depending on context, "triangle" can mean this boundary or the filled region it encloses. Here a triangle's area refers to the filled region. The noncollinearity assumption excludes a collapsed shape with zero area, for which ordinary interior angles are not defined.
For example, the positions , and form a right triangle with a right angle at the origin. Taking the side of length as its base gives perpendicular height , so its area is . The height is measured at a right angle to the chosen base; it is not generally the length of another side. In this example it happens to be a side because the triangle is a right triangle.
By contrast, side lengths define a valid triangle: each side is shorter than the sum of the other two, as required by the strict triangle inequality. But , so this is not a right triangle and the Pythagorean theorem cannot calculate its longest side from the other two. The law of cosines instead gives the opposite interior angle through
This example separates the definition of a triangle from the additional assumption of a right angle.
Every triangle in the Euclidean plane has interior angles summing to radians, a result proved in Euclid's Elements I.32.[ref] It lets two measured angles determine the third, and underlies the angle-angle criterion for similar triangles. The qualification "Euclidean plane" matters: the earlier spherical triangle demonstrates a different sum.
Triangle inequality Created 2026-09-24 Updated 2026-10-14
A metric satisfies : visiting an intermediate point cannot beat the direct endpoint distance. A norm satisfies the corresponding inequality .
Take , , and . For Euclidean distance, the triangle inequality reads . The direct line segment has metric path length , while the route through has metric path length . For Manhattan distance, the same comparison becomes : both routes are shortest. The line segment and the bent route both become metric geodesics when progress is measured by metric path length. For Chebyshev distance, the direct line segment has metric path length , while the same bent route still costs .
Figure 1.
The same endpoints and routes have different lengths in three metrics
. Details.
Repeated application of the triangle inequality bounds the endpoint distance by the sum along any finite chain of intermediate points. This explains why metric path length is always at least the distance between endpoints. Equality reveals a shortest route, but its shape and uniqueness depend on the chosen metric.
Ultrametric inequality Created 2026-09-24 Updated 2026-10-14
The ultrametric inequality, also called the strong triangle inequality, bounds a direct distance by the larger of the two distances through an intermediate point:
A metric space satisfying this rule is an ultrametric space. For a Non-Archimedean absolute value, the corresponding inequality is , and the associated metric is . The ordinary triangle inequality follows because the maximum of two nonnegative real numbers is at most their sum.
For example, the 2-adic absolute value gives the three points distances
Each distance is bounded by the maximum of the other two. The two largest distances are equal: every triangle in an ultrametric space has this property. Otherwise its unique longest side would exceed the maximum of the other two, contradicting the ultrametric inequality. The drawn lengths of a triangle on paper need not represent these distances.
The ultrametric inequality gives a useful exact rule when :
To see why, suppose . The upper bound is ; applying the ultrametric inequality to forces the reverse bound. Equal sizes can instead cancel: , but . This makes a uniquely largest term decisive in a sum, a principle used in the Newton polygon and in arguments about roots of a polynomial.
Uniform Cauchy criterion 2026-10-25
A sequence of functions has a uniform limit if and only if, for every , there is such that for every and every . Necessity follows from the triangle inequality. For sufficiency, completeness of the real numbers first gives a pointwise limit . Letting in the bound with tolerance gives uniformly in . The same proof works for a complete metric space as codomain; completeness is essential.
Suppose continuous functions converge by uniform convergence to on a domain of a function , and with all these inputs in . The uniform limit theorem makes a continuous function, and the triangle inequality gives
The first term handles the changing approximation and the second handles the changing input. For on , the inputs instead give , , and . Pointwise convergence cannot supply the first uniform bound, and this pointwise limit also lacks continuity at one.
Uniform limit theorem Created 2026-09-29 Updated 2026-10-14
For a proof, fix an input and tolerance . Uniform convergence supplies one with . Its continuity at supplies with for allowed inputs satisfying . The triangle inequality gives
One approximating function controls both endpoints of this estimate. Under pointwise convergence, selecting an index for supplies no common control at nearby . This explains why the polynomial functions can have a discontinuous pointwise limit on .
Uniformly continuous function Created 2026-09-24 Updated 2026-10-18
A uniformly continuous function has one input tolerance valid throughout its domain of a function. For , with , uniform continuity means
Choose the output tolerance first, then a positive valid for every pair of function inputs. It may depend on , the function and its domain of a function, but not on the pair’s location. The absolute values measure input and output distance.[ref]
Compare the quantifier order with the epsilon-delta definition of continuity:
Both lines end with . In the first, can depend on the point ; in the second, it is chosen before . Thus uniform continuity implies continuity at every point. Each requested gets its own shared tolerance.
For an exact example, take the polynomial function on the closed interval . For every pair of function inputs in that interval, polynomial factorization gives
Consequently works everywhere on this domain of a function. With , the common tolerance is . Near the right endpoint, for example, and have input distance and output distance . The bound is sufficient; it does not claim the largest admissible input window at each point.
On the whole real line, the same polynomial function is a continuous function but fails uniform continuity. Take the sequences and , for positive integers . Then
For any proposed , choose an integer . The inputs are closer than , yet their outputs violate the fixed tolerance . The sequences need not themselves have a finite limit: their mutual distance is what tends to zero. This is the obstruction captured by the sequential criterion for uniform continuity. Restricting the domain of a function to removes these escaping pairs.
Figure 1.
The square function: local input windows shrink, but a bounded interval admits one shared tolerance
. The left panel computes sufficient windows from the continuity bounds for the square function; shrinking these particular windows alone does not prove failure of uniform continuity. The middle panel displays the exact bound on the interval . The right panel gives the decisive sequence pairs on the real line. All plotted values are calculated from the displayed formulas. Details.
A uniformly continuous function need not be a bounded function. The identity function on the real line has , so always works, although its image of a function is the unbounded real line. Uniform continuity controls changes between nearby inputs, not the overall size of outputs. Likewise, an unbounded domain of a function does not by itself prevent uniform continuity.
The square root supplies a different common tolerance on the interval . Assuming , put and . Since ,
Interchanging the inputs when necessary proves
Thus guarantees uniform continuity on the entire domain of a function, including zero. For , any input distance below suffices. The pairs and both have input distance ; their output distances are respectively and . The common guarantee accommodates quite different local sensitivities.
This Hölder continuity bound allows a curved tolerance rule. It is weaker than a Lipschitz bound: at zero the output change divided by the input change is
No finite Lipschitz constant works near zero, even though uniform continuity does. A Lipschitz function does have uniform continuity, choosing when its Lipschitz bound is positive; when it is a constant function.[ref]
Figure 2.
Square-root input changes share an output tolerance even though amplification near zero is unbounded
. At left, the exact output changes for base points stay inside whenever and . The right panel computes the amplification for inputs : it grows without bound as decreases. These are calculated function graphs, with no experimental measurements. Details.
For general metric spaces, replace the absolute values by the respective distance functions. The Heine-Cantor theorem gives an existence guarantee: every continuous function on a compact metric space is uniformly continuous. In particular, continuity on a finite closed interval provides a common tolerance, even when no simple formula for it is known.[ref]
For a short proof outline, fix . Continuity gives each point an open ball of radius within which outputs differ from by less than . The open balls of half these radii still cover the domain of a function. Compactness supplies a finite subcover. Take to be the smallest half-radius in this finite set. Two inputs closer than lie together in one of the original open balls, so the triangle inequality bounds their output distance by . The beautiful step is that the compact set turns local choices into finitely many choices, whose minimum stays positive.
A shared tolerance also makes uniformly continuous functions preserve Cauchy sequences: after choosing for , all sufficiently late input pairs are closer than , so all corresponding output pairs are closer than . Unlike a convergent sequence argument, this does not require an input limit inside the domain of a function. It is why uniform continuity is useful for extending a function toward missing endpoints and for the decay argument below.
Uniqueness of a limit in probability Created 2026-09-24 Updated 2026-09-24
If converges in probability to both and , then almost surely. Indeed, the triangle inequality and a union bound show that for every .
A wall of marginal stability is a locus in the parameter or vacuum space where the complex central charges in supersymmetry of possible decay products align in phase. The triangle inequality then becomes an equality, , permitting a BPS state to reach the threshold for decay into other BPS states. Away from such alignment, the strict triangle inequality can prohibit the decay. Supersymmetry protects the mass-charge relation of an existing short state; it does not guarantee that the state exists or remains stable everywhere in parameter space.