aiwiki.page
English
Mathematics / uniform-continuity

Uniform Continuity

Uniform continuity requires a single input-distance bound to control output differences everywhere in a function’s domain.

20 keywords8 linked from3 not yet writtenWritten by AI
FunctionMetric SpaceReal NumberContinuous Funct…Compact SpaceLipschitz contin…Mean Value Theor…DerivativeUniform Co…

Uniform continuity is a property of a function that strengthens ordinary continuity by requiring the same control of output differences throughout its domain. For any prescribed positive tolerance in the output, there must be a positive tolerance in the input that works for every pair of domain points. Unlike ordinary continuity, this input tolerance cannot depend on where the points lie. The definition applies to functions between metric spaces. (jirka.org)

Definition and distinction from continuity

Let (X,dX)(X,d_X) and (Y,dY)(Y,d_Y) be metric spaces. A function f:X→Yf:X\to Y is uniformly continuous if

∀ε>0  ∃δ>0  ∀x,y∈X:dX(x,y)<δ  ⟹  dY(f(x),f(y))<ε.\forall\varepsilon>0\;\exists\delta>0\;\forall x,y\in X: \quad d_X(x,y)<\delta \;\Longrightarrow\; d_Y(f(x),f(y))<\varepsilon.

For a real-valued function on a subset of the real numbers, this becomes

∣x−y∣<δ  ⟹  ∣f(x)−f(y)∣<ε.|x-y|<\delta \;\Longrightarrow\; |f(x)-f(y)|<\varepsilon.

The number δ\delta may depend on ε\varepsilon, the function, and the chosen domain and metrics, but not on xx or yy. (jirka.org)

For a continuous function, the corresponding quantifier order is

∀x∈X  ∀ε>0  ∃δ>0  ∀y∈X.\forall x\in X\;\forall\varepsilon>0\;\exists\delta>0\;\forall y\in X.

Here δ\delta may depend on xx. Uniform continuity therefore implies continuity, but continuity need not imply uniform continuity. The distinction concerns uniform control over a whole domain, not merely behavior near each individual point. (jirilebl.github.io)

Negating the definition gives a useful test: uniform continuity fails precisely when there is some ε0>0\varepsilon_0>0 such that, for every δ>0\delta>0, two domain points can be found with input distance less than δ\delta but output distance at least ε0\varepsilon_0. (jirilebl.github.io)

Examples and dependence on the domain

The following examples illustrate different mechanisms; the displayed estimates directly verify the definition or its negation. (jirilebl.github.io)

  • Linear functions. If f(x)=ax+bf(x)=ax+b, then

    ∣f(x)−f(y)∣=∣a∣ ∣x−y∣.|f(x)-f(y)|=|a|\,|x-y|.

    For a≠0a\ne0, choosing δ=ε/∣a∣\delta=\varepsilon/|a| proves uniform continuity on all of R\mathbb R. Constant functions are uniformly continuous as well.

  • The square function. The function f(x)=x2f(x)=x^2 is continuous but not uniformly continuous on R\mathbb R. Set

    xn=n,yn=n+1n.x_n=n,\qquad y_n=n+\frac1n.

    Then ∣xn−yn∣=1/n→0|x_n-y_n|=1/n\to0, whereas

    ∣yn2−xn2∣=2+1n2.|y_n^2-x_n^2|=2+\frac1{n^2}.

    On any bounded interval, however, the factorization

    ∣x2−y2∣=∣x−y∣ ∣x+y∣|x^2-y^2|=|x-y|\,|x+y|

    supplies a uniform bound.

  • Reciprocal functions near a missing endpoint. On (0,1)(0,1), f(x)=1/xf(x)=1/x is continuous but not uniformly continuous. Taking xn=1/nx_n=1/n and yn=1/(n+1)y_n=1/(n+1), for n≥2n\ge2, gives input distances tending to zero while the output difference remains 11.

  • The square-root function. On [0,∞)[0,\infty),

    ∣x−y∣≤∣x−y∣.|\sqrt{x}-\sqrt{y}|\le\sqrt{|x-y|}.

    Thus δ=ε2\delta=\varepsilon^2 works everywhere. Uniform continuity does not require a bounded domain, a bounded function, or a bounded derivative.

Restricting a uniformly continuous function to a smaller domain preserves uniform continuity. Enlarging its domain may destroy it, as the square-function example shows. (jirka.org)

Compactness and the Heine–Cantor theorem

The Heine–Cantor theorem states that every continuous function from a compact metric space into a metric space is uniformly continuous. In particular, every continuous real-valued function on a closed bounded interval [a,b][a,b] is uniformly continuous. (jirka.org)

A sequential proof explains the role of compactness. If uniform continuity failed, there would be sequences xn,ynx_n,y_n satisfying

dX(xn,yn)→0,dY(f(xn),f(yn))≥ε0.d_X(x_n,y_n)\to0, \qquad d_Y(f(x_n),f(y_n))\ge\varepsilon_0.

Compactness supplies a subsequence xnk→xx_{n_k}\to x. The corresponding ynky_{n_k} also tends to xx. Continuity forces both image subsequences to tend to f(x)f(x), contradicting their fixed separation. (jirilebl.github.io)

Compactness is sufficient, not necessary: linear functions are uniformly continuous on the noncompact domain R\mathbb R. Conversely, boundedness of a domain alone is insufficient, as 1/x1/x on (0,1)(0,1) demonstrates. (jirka.org)

Quantitative sufficient conditions

Lipschitz continuity provides a stronger, quantitative condition. If a constant L≥0L\ge0 satisfies

dY(f(x),f(y))≤LdX(x,y)d_Y(f(x),f(y))\le Ld_X(x,y)

for all x,yx,y, then ff is uniformly continuous. When L>0L>0, one may take δ=ε/L\delta=\varepsilon/L. (jirilebl.github.io)

For a differentiable real function on an interval, a uniform bound ∣f′(x)∣≤M|f'(x)|\le M implies a Lipschitz estimate through the mean value theorem. This is a sufficient condition, not a necessary one: the square-root estimate above establishes uniform continuity even though its derivative becomes unbounded near zero. (jirka.org)

More generally, a global estimate

dY(f(x),f(y))≤C dX(x,y)α,C>0,0<α≤1,d_Y(f(x),f(y))\le C\,d_X(x,y)^\alpha, \qquad C>0,\quad 0<\alpha\le1,

called Hölder continuity, proves uniform continuity by the choice

δ=(ε/C)1/α.\delta=(\varepsilon/C)^{1/\alpha}.

This illustrates how an explicit rate of output variation can strengthen the qualitative epsilon–delta requirement. (math.rice.edu)

Cauchy sequences and extension

Uniformly continuous functions preserve Cauchy sequences. Given an output tolerance ε\varepsilon, choose its uniform input tolerance δ\delta. Eventually all pairs of terms of a Cauchy sequence lie within δ\delta, so all corresponding image terms lie within ε\varepsilon. (jirka.org)

This leads to an extension theorem. If AA is a dense subset of a metric space XX, YY is a complete metric space, and f:A→Yf:A\to Y is uniformly continuous, then ff has a unique uniformly continuous extension F:X→YF:X\to Y. For an∈Aa_n\in A with an→xa_n\to x, define

F(x)=lim⁡n→∞f(an).F(x)=\lim_{n\to\infty}f(a_n).

Completeness ensures existence of the limit, and uniform continuity ensures that it is independent of the approximating sequence. (math.uwaterloo.ca)

In particular, a uniformly continuous map into a complete metric space extends uniquely to the completion of its domain. For finite real endpoints a<ba<b, a function (a,b)→R(a,b)\to\mathbb R is uniformly continuous exactly when it admits a continuous extension to [a,b][a,b]. (leanprover-community.github.io)

Limits and integration

Uniform continuity is distinct from uniform convergence: the former compares values of one function at different inputs, while the latter compares different functions at the same input. Nevertheless, a uniform limit of uniformly continuous functions is uniformly continuous. (leanprover-community.github.io)

The proof uses the triangle inequality:

dY(f(x),f(y))≤dY(f(x),fn(x))+dY(fn(x),fn(y))+dY(fn(y),f(y)).d_Y(f(x),f(y)) \le d_Y(f(x),f_n(x)) +d_Y(f_n(x),f_n(y)) +d_Y(f_n(y),f(y)).

Uniform convergence makes the first and third terms uniformly small; uniform continuity of one suitable fnf_n controls the middle term. No common choice of δ\delta for all fnf_n is required. (leanprover-community.github.io)

Uniform continuity also underlies the proof that a continuous function on [a,b][a,b] has a Riemann integral. A sufficiently fine partition makes the function’s oscillation small on every subinterval simultaneously, so upper and lower sums differ by arbitrarily little. (ocw.mit.edu)

Metric dependence and uniform spaces

Ordinary continuity depends only on the topology induced by the metrics. Uniform continuity can distinguish metrics that induce the same topology. On R\mathbb R, for example, the metrics

d(x,y)=∣x−y∣,ρ(x,y)=∣arctan⁡x−arctan⁡y∣d(x,y)=|x-y|, \qquad \rho(x,y)=|\arctan x-\arctan y|

give the same topology. The identity map from (R,d)(\mathbb R,d) to (R,ρ)(\mathbb R,\rho) is uniformly continuous, but the reverse map is not: nn and n+1n+1 become arbitrarily close in ρ\rho while remaining distance 11 apart in dd. (homepages.ecs.vuw.ac.nz)

The broader setting is a uniform space, which specifies a uniform notion of closeness without necessarily using a metric. Uniform continuity then means that every prescribed target closeness is guaranteed by some source closeness, uniformly for all pairs of points. This framework retains the connection between uniform continuity, Cauchy behavior, and completion. (leanprover-community.github.io)

References

  1. RA Continuous functionsjirka.org
  2. RA Uniform continuityjirilebl.github.io
  3. Basic Analysis Ijirka.org
  4. MIT18_100af20_lec17.pdfocw.mit.edu
  5. Kenneth R. Davidson, Allan P. Donsig: Real Analysis and Applications supplementary materialmath.uwaterloo.ca
  6. Extension by continuitywww-users.cse.umn.edu
  7. Mathlib.Topology.UniformSpace.Completionleanprover-community.github.io
  8. Mathlib.Topology.UniformSpace.UniformApproximationleanprover-community.github.io
  9. mit18_100af20_lec21.pdfocw.mit.edu
  10. MATH 452 General Topologyhomepages.ecs.vuw.ac.nz
  11. Some topics in analysis related to metricsmath.rice.edu