Skip to content

Uniform Continuity between Metric Spaces

Definition

Consider metric spaces (X,dX)(X,d_{X}) and (Y,dY)(Y,d_{Y}), and a function f ⁣:X→Yf\colon X\to Y. We say ff is uniformly continuous on XX if, for any ε>0\varepsilon > 0, there exists a δ>0\delta > 0 such that for all x1,x2∈Xx_1,x_2\in X with dX(x1,x2)<δd_{X}(x_1,x_2)<\delta, it holds that dY(f(x1),f(x2))<εd_{Y}(f(x_1),f(x_2))<\varepsilon.


Interpretation

Uniform continuity asks for one δ\delta that works at every point of XX at once: inputs within δ\delta of each other, wherever they lie, have outputs within ε\varepsilon of each other. This is the general form of uniform continuity, with possibly different metrics on different spaces.

Two spaces X and Y with an arrow f. Balls of the same radius delta around three points in X are mapped inside balls of radius epsilon around their images in Y.

For a given ε>0\varepsilon>0, the three green balls in XX all have the same radius δ\delta, and each is mapped inside the ε\varepsilon-ball around its centre's image. The same δ\delta serves at every other point of XX.

The difference from continuity lies in the order of the quantifiers. For continuity, δ\delta is chosen after the point and may depend on it; for uniform continuity, δ\delta depends on ε\varepsilon alone. Every uniformly continuous function is therefore continuous, but not conversely. The function f(x)=1/xf(x)=1/x on (0,1)(0,1) is continuous, yet for ε=1\varepsilon=1 no δ\delta works: for 0<x<min⁡{2δ,1}0<x<\min\{2\delta,1\} the points xx and x/2x/2 are less than δ\delta apart, while ∣f(x)−f(x/2)∣=1/x>1|f(x)-f(x/2)|=1/x>1.

Compactness removes the difference: a continuous function on a compact set is uniformly continuous, as the Key Results state, and for [a,b][a,b] this is the Heine-Cantor theorem. Uniform continuity is what is needed when one estimate must hold over a whole domain, for example in the proof that a continuous function on [a,b][a,b] is Riemann integrable.

A common slip is to speak of uniform continuity at a point. Uniform continuity is a property of a function on a set, since it compares all pairs of points of that set; at a single point there is only continuity.


Key Results


Examples

  • Every constant function is uniformly continuous regardless of the metrics.
  • Every function from a discrete space is uniformly continuous.

Prerequisites

Sources

Symbols: delta, element of, epsilon

Last updated: 20 October 2026 03:02