Mathematical Analysis
    50 min read
    August 2026

    Continuity, Uniform Continuity, Lipschitz Continuity and Hölder Continuity

    Four regularity conditions: definitions, theorems, examples, and counterexamples. An in-depth guide for Calculus / Real Analysis courses.

    2. Uniform Continuity

    Definition 2.1 (Uniform continuity)

    f: I → ℝ is uniformly continuous on I if:

    ∀ ε>0  ∃ δ>0  such that  ∀x,y∈I,∣x−y∣<δ ⟹ ∣f(x)−f(y)∣<ε.\forall\,\varepsilon>0\ \ \exists\,\delta>0 \ \text{ such that } \ \forall x,y\in I,\quad |x-y|<\delta \ \Longrightarrow\ |f(x)-f(y)|<\varepsilon.

    Observation 2.2

    The central point is that the same δ must hold simultaneously for every pair of points x,y ∈ I chosen in the interval, and can no longer be adapted case by case as in pointwise continuity. This is reflected in the order of the quantifiers: writing out continuity on all of I ( Definition 1.2 applied at every point) we get:

    ∀ x0∈I  ∀ ε>0  ∃ δ>0  ∀x∈I,∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε,\forall\,x_0\in I\ \ \forall\,\varepsilon>0\ \ \exists\,\delta>0\ \ \forall x\in I,\quad |x-x_0|<\delta\Rightarrow|f(x)-f(x_0)|<\varepsilon,

    while uniform continuity is:

    ∀ ε>0  ∃ δ>0  ∀ x,y∈I,∣x−y∣<δ⇒∣f(x)−f(y)∣<ε.\forall\,\varepsilon>0\ \ \exists\,\delta>0\ \ \forall\,x,y\in I,\quad |x-y|<\delta\Rightarrow|f(x)-f(y)|<\varepsilon.

    The difference is precisely the position of the "for every point" quantifier: in plain continuity it precedes ∃δ (so δ can depend on the point, δ=δ(ε,x₀), because it is chosen after fixing the point); in uniform continuity the role of the point is taken by x,y, which are quantified after ∃δ — δ must therefore be chosen before knowing which points will be considered, and it must work for all of them. Swapping the order of a ∀ and an ∃ in a logical formula is never harmless: it is exactly what distinguishes the two notions. Every uniformly continuous function on I is continuous on I (just fix y=x₀ in the definition); the converse, as we will see, is false in general.

    Proposition 2.1 (Sequential criterion for non-uniform continuity)

    f: I → ℝ is not uniformly continuous on I if and only if there exist ε₀ > 0 and two sequences (xₙ), (yₙ) ⊂ I such that:

    ∣xn−yn∣→0but∣f(xn)−f(yn)∣≥ε0  ∀n.|x_n-y_n|\to 0 \qquad \text{but} \qquad |f(x_n)-f(y_n)|\geq \varepsilon_0 \ \ \forall n.

    Proof. (⇐) If such sequences exist, no δ > 0 can satisfy the definition for ε = ε₀: for every δ, since |xₙ−yₙ| → 0, there exists n with |xₙ−yₙ| < δ, yet |f(xₙ)−f(yₙ)| ≥ ε₀.

    (⇒) If f is not uniformly continuous, negating the definition: ∃ε₀ > 0 such that ∀δ > 0 ∃x,y ∈ I with |x−y| < δ but |f(x)−f(y)| ≥ ε₀. Applying this with δ = 1/n for every n ∈ ℕ we obtain xₙ,yₙ ∈ I with |xₙ−yₙ| < 1/n and |f(xₙ)−f(yₙ)| ≥ ε₀, hence |xₙ−yₙ| → 0.

    ∎

    Example 2.1 (A uniformly continuous function)

    f(x) = √x is uniformly continuous on [0, +∞). Given ε > 0, we want to guarantee |√x−√y| < ε. We first need the inequality:

    ∣x−y∣≤∣x−y∣∀ x,y≥0,|\sqrt{x}-\sqrt{y}| \leq \sqrt{|x-y|} \qquad \forall\,x,y\geq0,

    which we prove right away, before using it. Assume, without loss of generality, x ≥ y ≥ 0 (the inequality is symmetric in x,y, so it suffices to handle one ordering); set u = √x, v = √y (so u ≥ v ≥ 0), we want to show u−v ≤ √(u²−v²) = √((u−v)(u+v)). If u=v it is trivial; if u>v, squaring both (positive) sides the statement is equivalent to (u−v)² ≤ (u−v)(u+v), i.e., dividing by u−v>0, to u−v ≤ u+v, always true since v ≥ 0. This proves the inequality.

    It follows that it is sufficient to impose:

    ∣x−y∣<ε⟺∣x−y∣<ε2,\sqrt{|x-y|} < \varepsilon \qquad \Longleftrightarrow \qquad |x-y| < \varepsilon^2,

    to obtain a fortiori |√x−√y| < ε. So let δ := ε²: if |x−y| < δ, then |√x−√y| ≤ √|x−y| < √δ = ε. Note that δ does not depend on the point: the same choice works everywhere, and this is exactly what makes f uniformly (and not merely pointwise) continuous.

    Graph of f(x)=square root of x with epsilon and delta bands around two points
    Figure 2.1. Two different points x₀ (0.15 and 3.2): the same width 2δ=2ε² (orange arrows) leads in both cases inside the same width 2ε (gray arrows) — unlike Figure 1.1, here δ does not need to shrink.

    Counterexample 2.1 (f(x)=1/x is not uniformly continuous)

    f(x) = 1/x is not uniformly continuous on (0,1). Take xₙ = 1/n, yₙ = 1/(2n): then |xₙ−yₙ| = 1/(2n) → 0, but:

    ∣f(xn)−f(yn)∣=∣n−2n∣=n→∞,|f(x_n)-f(y_n)| = |n-2n| = n \to \infty,

    so in particular |f(xₙ)−f(yₙ)| ≥ 1 =: ε₀ eventually. By Proposition 2.1, f is not uniformly continuous, even though it is continuous at every point of (0,1).

    Graph of f(x)=1/x with equal delta bands producing different variations in y
    Figure 2.2. The same width δ (orange arrows) around two points x₀=0.35 and x₀=0.8, both in (0,1): the corresponding image (gray arrows, on the y axis) has a much larger width Δy near 0 than far from it — the same δ cannot work everywhere.

    Delicate case 2.1 (f(x)=x² is continuous everywhere but not uniformly continuous on ℝ)

    It is a common mistake to think that a function continuous "everywhere" (on all of ℝ, not just on a bounded interval) is automatically uniformly continuous. This is not the case: f(x) = x² is continuous on all of ℝ but not uniformly continuous on ℝ. Take xₙ = n, yₙ = n + 1/n: then:

    ∣xn−yn∣=1n→0,∣f(xn)−f(yn)∣=∣n2−(n+1n)2∣=2+1n2≥2=:ε0  ∀n.|x_n-y_n|=\frac1n\to 0, \qquad |f(x_n)-f(y_n)| = \left|n^2-\Big(n+\tfrac1n\Big)^2\right| = 2+\frac1{n^2} \geq 2 =: \varepsilon_0 \ \ \forall n.

    By Proposition 2.1, f(x)=x² is not uniformly continuous on ℝ. The phenomenon is clear: the slope of x² grows without bound, so the same δ that "works well" near the origin stops working far from it. As the Heine–Cantor theorem below shows, the situation changes radically if we restrict to a compact interval [a,b]: there, x² is uniformly continuous.

    Graph of f(x)=x squared with equal delta bands producing different variations in y far from the origin
    Figure 2.3. The same width δ (orange arrows) around x₀=0.4 and x₀=5.2: the corresponding image (gray arrows) has a much larger width Δy far from the origin — here the problem is the unboundedness of the domain, not approaching a singular point.

    Theorem 2.1 (Heine–Cantor)

    A function continuous on a compact set is uniformly continuous there [2].

    Proof. Let K ⊆ ℝ be a compact set and f: K → ℝ a function continuous on K. Suppose for contradiction that f is not uniformly continuous on K. By Proposition 2.1, there exist ε₀ > 0 and sequences (xₙ),(yₙ) ⊂ K with |xₙ−yₙ| → 0 and |f(xₙ)−f(yₙ)| ≥ ε₀ for every n.

    Since K is bounded, by the Bolzano–Weierstrass theorem the sequence (xₙ) admits a convergent subsequence xₙₖ → x*; since K is closed, x* ∈ K. Moreover, since (|xₙₖ−yₙₖ|)ₖ is a subsequence of (|xₙ−yₙ|)ₙ and the latter tends to 0, also |xₙₖ−yₙₖ| → 0; hence:∣ynk−x∗∣≤∣ynk−xnk∣+∣xnk−x∗∣⟶0,|y_{n_k}-x^\ast| \leq |y_{n_k}-x_{n_k}| + |x_{n_k}-x^\ast| \longrightarrow 0,so also yₙₖ → x*. By continuity of f at x*, f(xₙₖ) → f(x*) and f(yₙₖ) → f(x*), hence:∣f(xnk)−f(ynk)∣⟶∣f(x∗)−f(x∗)∣=0,|f(x_{n_k})-f(y_{n_k})| \longrightarrow |f(x^\ast)-f(x^\ast)| = 0,contradicting |f(xₙₖ)−f(yₙₖ)| ≥ ε₀ for every k. Contradiction.

    ∎

    Corollary 2.1

    On a compact set K, continuity and uniform continuity coincide: C(K) coincides with the set of uniformly continuous functions on K.

    Comments

    Loading comments...

    Won't be published: only used for contact and moderation.

    0/3000 characters

    Anti-spam check in progress…

    © 2026 keenonmaths.org. Empowering mathematical minds worldwide.

    Educational articles are distributed under a Creative Commons BY-NC-ND 4.0 license.