Skip to content
AI360Xpert
Beta

Uniform Convergence of Functions

Convergence with one shared deadline for every input, which is what keeps continuity and integrals safe in the limit.

Uniform convergence squeezes every function inside one epsilon tube around the limit, so no point lags behind
Uniform convergence squeezes every function inside one epsilon tube around the limit, so no point lags behind

Why Does This Exist?

Pointwise convergence lets each input converge on its own schedule, and that freedom breaks things: continuity can vanish and integrals can jump. Training needs the opposite, where a surrogate approaches its target evenly across the whole domain.

Uniform convergence is that shared schedule. One NN works for every xx at once. Under it, continuous approximants have a continuous limit, and integrals of the limit equal limits of the integrals.

This page defines the sup-norm test and the M-test that proves it. The weaker mode is in sequences and series of functions, and series practice is in Taylor series and approximation.

The one idea you need first

The supremum norm ∥g∥∞=sup⁡x∣g(x)∣\|g\|_\infty = \sup_x |g(x)| measures the worst gap. Uniform convergence means this worst gap goes to zero, not just each pointwise gap.

Think of It Like This

A marching band crossing a line

Each marcher is one input xx. Pointwise convergence lets marchers cross the finish line whenever they arrive. Uniform convergence ties them wrist to wrist: the whole line crosses together, because the slowest marcher sets the pace.

The tube in the diagram is the finish corridor of width 2ϵ2\epsilon. The sup gap is the distance from the slowest marcher to the line. Where the analogy stops: functions need this for every ϵ\epsilon, not one race; the band must tighten repeatedly.

How It Actually Works

fn→ff_n \to f uniformly when for every ϵ>0\epsilon > 0 there is N(ϵ)N(\epsilon), independent of xx, with n>Nn > N implying ∣fn(x)−f(x)∣<ϵ|f_n(x) - f(x)| < \epsilon for all xx. Equivalently ∥fn−f∥∞→0\|f_n - f\|_\infty \to 0.

Consequences: a uniform limit of continuous functions is continuous; on a bounded interval ∫lim⁡fn=lim⁡∫fn\int \lim f_n = \lim \int f_n; with uniformly convergent derivatives plus one pointwise value, ddxlim⁡fn=lim⁡fn′\frac{d}{dx}\lim f_n = \lim f_n'.

The Weierstrass M-test proves uniform convergence of ∑gn\sum g_n: find numbers MnM_n with ∣gn(x)∣≤Mn|g_n(x)| \le M_n for all xx and ∑Mn<∞\sum M_n < \infty. Then the series converges uniformly.

Worked example

Take fn(x)=x/nf_n(x) = x/n on [0,1][0,1]. Pointwise gaps are ∣x∣/n≤1/n|x|/n \le 1/n. So ∥fn−0∥∞=1/n\|f_n - 0\|_\infty = 1/n: values 1,0.5,0.1,0.011, 0.5, 0.1, 0.01 for n=1,2,10,100n = 1, 2, 10, 100. Given ϵ=0.05\epsilon = 0.05, N=20N = 20 works for every xx at once. Uniform to 00. Contrast xnx^n on [0,1][0,1], where ∥fn−f∥∞=1\|f_n - f\|_\infty = 1 for all nn because near x=1x = 1 the gap stays large: not uniform.

Watch Out For

Claiming uniformity from plots at few points

Symptom: checking x=0,0.5,1.0x = 0, 0.5, 1.0 and declaring uniform convergence while a spike between samples persists. Fix: bound the sup over all xx analytically or on a dense grid plus a Lipschitz argument between grid points.

Differentiating a uniformly convergent series termwise

Symptom: uniform fnf_n with wildly oscillating fn′f_n' gives a wrong derivative after swapping. Fix: uniform convergence of the derivatives is what licenses the swap, not of the functions alone.

The Quick Version

  • Uniform convergence uses one NN for all inputs, measured by the sup norm going to zero.
  • It preserves continuity and lets limits pass through integrals on bounded intervals.
  • The M-test proves it by dominating each term with a convergent number MnM_n.
  • x/nx/n converges uniformly to 00 with sup gap 1/n1/n; xnx^n on [0,1][0,1] does not.
  • Check the worst input, not a few convenient ones.