Hexa Scholar

Uniform continuity

A gold caliper with its jaws over two ivory beads on a navy rail.
A caliper sets a distance between two positions on a rail, like a tolerance on the distance between inputs.

The question

  1. 1 SeePut an input tolerance to the test.
  2. 2 TryFind tolerances for two restricted intervals.
  3. 3 ProveBuild the Heine–Cantor proof.
  4. 4 ApplyFind guarantees and check counterexamples.
Before you start · 3 quick checks on distance, continuity, and sequence limits

Two ideas before you start

2 ideas

A window around one input

A line with a shaded input window centered at a selected point.

At a fixed center \(a\), compare each nearby output with \(f(a)\). The center is known when you choose the window.

Exact definition

Let \(f:D\to\mathbb R\), with \(D\subseteq\mathbb R\), and let \(a\in D\). The function is continuous at \(a\) if for every output tolerance \(\varepsilon\gt0\) there exists an input tolerance \(\delta\gt0\) such that every \(x\in D\) satisfies

\[ |x-a|\lt\delta\ \Longrightarrow\ |f(x)-f(a)|\lt\varepsilon. \]

Continuity on \(D\) means this holds at each \(a\in D\). The choice of \(\delta\) can use \(a\) and \(\varepsilon\). At an endpoint, test only inputs in \(D\). See the epsilon–delta definition of a limit and continuity and the intermediate value theorem.

One tolerance for all pairs

A horizontal line with two marked inputs that move together.

For uniform continuity, choose \(\delta\) with only \(\varepsilon\) given. The same \(\delta\) must work wherever the two inputs lie in the domain.

Exact definition

A function \(f:D\to\mathbb R\) is uniformly continuous on \(D\) if for every \(\varepsilon\gt0\) there exists a \(\delta\gt0\) such that all \(x,y\in D\) satisfy

\[ |x-y|\lt\delta\ \Longrightarrow\ |f(x)-f(y)|\lt\varepsilon. \]

The domain \(D\) and function \(f\) are fixed before choosing \(\delta\). Once the choice is made, either input can serve as the center. Fixing one of them gives continuity at that point.

Fine print on the two boundaries

A pair whose input gap equals \(\delta\) is outside the test. A pair strictly inside the input tolerance whose output gap equals \(\varepsilon\) fails the test. These conventions matter when asking for the largest working \(\delta\).

Ordinary continuity and uniform continuity both concern pairs in the stated domain. Changing the domain changes the set of pairs the guarantee covers.

1 See

Defend your input tolerance

2 Try

Put endpoints on the domain

Check your prediction to open the explorer.

3 Prove

A guarantee on a closed bounded interval

Heine–Cantor theorem for real intervals

Let \(a\le b\) be finite real numbers and let \(f:[a,b]\to\mathbb R\) be continuous at each point of \([a,b]\), using inputs from that interval. Then \(f\) is uniformly continuous on \([a,b]\). If \(a=b\), all output gaps are zero, so any positive \(\delta\) works.

Refresher on subsequences and closed intervals

A subsequence \(x_{n_k}\) keeps terms with strictly increasing indices \(n_k\), so \(n_k\to\infty\). Recall from convergent sequences that all sufficiently late terms of a convergent sequence lie as close as requested to its limit.

Every sequence in a closed bounded real interval has a subsequence converging to a point in that interval. To see this, halve the interval and keep a closed half that contains \(x_n\) for infinitely many indices \(n\). Repeat in the retained half. Completeness of the real numbers gives a common point in the nested closed intervals, whose lengths shrink to zero. Choose an index from each successive interval larger than the previous index. Each chosen term is within its interval’s length of the common point, so the chosen terms converge to it.

If \(z_k\to c\) with \(z_k\) in the domain and \(f\) is continuous at \(c\), then \(f(z_k)\to f(c)\). Given any output tolerance, continuity supplies a radius about \(c\). Eventually the inputs \(z_k\) are inside that radius.

For \(a\lt b\), suppose uniform continuity fails. Fix a tolerance \(\varepsilon_*\gt0\) for which it fails. For each positive integer \(n\), choose a pair \(x_n,y_n\) that fails at \(\delta=1/n\). Build the proof from these pairs.

4 Apply

Find a tolerance or a failing pair

Use a gap bound when you need a guarantee. To disprove a guarantee, give a pair that passes the input test and fails the output test.

Key point The theorem gives a sufficient condition for uniform continuity. On other domains a direct bound can still work. When searching for the largest tolerance, check whether any larger tolerance admits a failing pair.
Level Undergraduate Prerequisites Absolute value, continuity, and convergent sequences Time ~30 min

Further reading