Skip to content

Continuity between Metric Spaces

Definition

Consider two metric spaces (X,dX)(X,d_{X}) and (Y,dY),(Y,d_{Y})\text{,} and a function f ⁣:E→Yf\colon E\to Y where E⊆X.E\subseteq X\text{.} Let x0∈X.x_0\in X\text{.} Assume there exists an r>0r>0 such that B(X,dX)(x0,r)⊆E.B_{(X,d_{X})}(x_0,r)\subseteq E\text{.} We say that ff is continuous at x=x0x=x_0 if, for any ε>0,\varepsilon > 0\text{,} there exists a 0<δ≤r0<\delta \leq r such that whenever dX(x,x0)<δ,d_{X}(x,x_0)<\delta\text{,} we have dY(f(x),f(x0))<ε.d_{Y}(f(x),f(x_0))<\varepsilon\text{.}

We say that ff is continuous on EE (or simply continuous) if it is continuous at every point of E.E\text{.} At a point x0∈Ex_0\in E that has no such ball inside EE (a boundary point of EE), the same condition is required only for x∈E.x\in E\text{.}

The condition says that the intersection of the domain with a sufficiently small open metric ball around x0x_0 is mapped into the ε\varepsilon-ball around f(x0)f(x_0). With the usual real distance ∣x−y∣|x-y|, this is the familiar definition of continuity.


Interpretation

A function is continuous at a point if you can make the outputs as close as you want to the value at that point by taking inputs sufficiently close to it. In metric spaces, "close" is measured by the metrics: dXd_{X} for the inputs and dYd_{Y} for the outputs.

Two rectangles for the spaces X and Y. A ball of radius delta around x0 in X is mapped by f into a set that lies inside the ball of radius epsilon around f(x0) in Y.

On the left is the open ball B(x0,δ)B(x_0,\delta) in XX; on the right, its image f(B(x0,δ))f(B(x_0,\delta)) lies entirely inside the ball B(f(x0),ε)B(f(x_0),\varepsilon) in YY. This inclusion is the definition restated: every xx with dX(x,x0)<δd_{X}(x,x_0)<\delta satisfies dY(f(x),f(x0))<εd_{Y}(f(x),f(x_0))<\varepsilon. The order of choice matters. The tolerance ε\varepsilon on the outputs comes first, and δ\delta is chosen in response; a smaller ε\varepsilon usually forces a smaller δ\delta.

The δ\delta may depend on both ε\varepsilon and the point x0x_0. If one δ\delta works at all points at once, ff has the stronger property of uniform continuity, known from real functions. The bound δ≤r\delta\le r only keeps the δ\delta-ball inside the domain EE, so that f(x)f(x) is defined there.

With X=Y=RX=Y=\mathbb{R} and the distance ∣x−y∣|x-y|, this is the ε\varepsilon-δ\delta continuity of Math I. Continuity depends on the metrics: if XX carries the discrete metric, every function on XX is continuous, because B(x0,12)={x0}B(x_0,\tfrac{1}{2})=\{x_0\}. Descriptions by sequences and by preimages of open sets are given in the equivalent formulation of continuity.

A common slip is to fix δ\delta first and then look for an ε\varepsilon. That reversed condition holds for every bounded function, including the discontinuous signum function at 00, where ε=2\varepsilon=2 works for every δ\delta.


Key Results

  • If f(x)f(x) tends to two different values as xx approaches x0x_0 in two different ways (for example along two different lines, or along two sequences converging to x0x_0), then the limit of the function at that point does not exist, so the function is not continuous there. More generally, if for some sequence xk→x0x_k\to x_0 the values f(xk)f(x_k) do not tend to f(x0),f(x_0)\text{,} then ff is not continuous at x0.x_0\text{.}
  • A vector-valued function into Rn\mathbb{R}^n with its usual Euclidean metric is continuous if and only if each real component function is continuous.
  • Most properties of real-valued functions of one real variable are preserved under continuity. In particular, continuity is preserved under addition, subtraction, multiplication, division (where the denominator is nonzero), as well as taking the maximum, minimum, and composition of functions.

Examples

  • f(x,y)=x2+y2f(x,y)=x^2+y^2 on R2\mathbb{R}^2. At (0,0)(0,0), if you want ff within ε\varepsilon of 00, choose δ=ε\delta=\sqrt{\varepsilon}. Then x2+y2<δ\sqrt{x^2+y^2}<\delta gives x2+y2<εx^2+y^2<\varepsilon.

Prerequisites

Sources

Symbols: delta, element of, epsilon, real numbers, square root, subset

Last updated: 20 October 2026 03:02