Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 13 of 20

Uniform continuity and compact domains

Distinguish one shared input tolerance from point-dependent tolerances.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

The function f(x)=4x is uniformly continuous on R because |f(x)−f(y)|=4|x−y|. For any ε, δ=ε/4 works for every pair x,y. In contrast, a continuity proof for x² at a used a radius depending on |a|. That dependence does not by itself prove uniform continuity fails; it only shows the particular proof was point-dependent. Failure needs a counterexample defeating every shared radius.

Predict

Predict what happens to x² at large positive inputs. Compare x_n=n with y_n=n+1/n. Their distance is 1/n, tending to zero, while y_n²−x_n²=2+1/n². Thus no shared δ can force all output errors below 1. The local slopes become arbitrarily large, and the paired-input construction turns that geometric observation into a quantified disproof.

Experiment

Separate the conditions in a table.

Domain and functionOne useful estimateUniform?
x² on [−2,2]|x²−y²|≤4|x−y|Yes
x² on RClose pairs above stay separated in outputNo
x on R|x−y| exactlyYes

Compactness is sufficient for continuous functions, not necessary. The last row shows that an unbounded domain does not automatically prevent uniform continuity. The relevant issue is whether one tolerance controls all pairs, not merely the domain’s appearance.

Understand

Uniform continuity on D means: for every ε>0 there is δ>0 such that all x,y∈D with |x−y|<δ satisfy |f(x)−f(y)|<ε. Ordinary continuity allows the radius to depend on the base point. A Lipschitz estimate |f(x)−f(y)|≤K|x−y| with finite K gives uniform continuity immediately; it is a sufficient condition, not an equivalent definition.

Here is the compact-domain proof. Assume continuous f on compact K is not uniformly continuous. Then some ε₀>0 admits pairs x_n,y_n∈K with |x_n−y_n|<1/n but output separation at least ε₀. Compactness extracts x_(n_k)→a∈K. The triangle inequality also gives y_(n_k)→a. Continuity makes both output subsequences tend to f(a), so their difference tends to zero, contradicting the fixed separation. Every hypothesis has a visible role: compactness extracts and retains the limit; continuity controls the outputs there.

Apply

Repair “continuous on a bounded interval implies uniformly continuous.” The interval must be compact or another argument must be supplied. On (0,1), f(x)=1/x is continuous but not uniformly continuous. For n≥2, choose x_n=1/n and y_n=1/(n+1). Their distance tends to zero while their outputs differ by 1. The missing endpoint permits increasingly steep behavior.

Also avoid the converse mistake: a uniformly continuous function need not be differentiable. The absolute-value function satisfies ||x|−|y||≤|x−y| on R but has no derivative at zero. Uniform continuity controls output changes without requiring a linear approximation.

Transfer: fill a missing endpoint without guessing

Uniform continuity has a useful consequence beyond choosing a shared radius. Let D be a nonempty subset of a metric space X, let Y be a complete metric space, and let f:D→Y be uniformly continuous. Then f has a unique continuous extension to the closure of D in X, and that extension is uniformly continuous.

Construct the value. For x in the closure choose xₙ∈D with d(xₙ,x)→0. The sequence is Cauchy. Uniform continuity sends it to a Cauchy sequence f(xₙ), which has a limit in Y by completeness. Define F(x) to be that limit. To show independence of the chosen sequence, take yₙ→x as well. Since d(xₙ,yₙ)→0, uniform continuity gives d(f(xₙ),f(yₙ))→0, so their limits agree. For x∈D the constant sequence shows F(x)=f(x).

Prove the shared tolerance survives. Given ε>0, choose δ from uniform continuity of f with output tolerance ε/2. If two closure points satisfy d(x,y)<δ/3, choose approximating sequences from D. Their pairwise distances are eventually below δ. Taking limits of the output distances gives d(F(x),F(y))≤ε/2<ε. Thus δ/3 works on the entire closure. Any other continuous extension has the same limits along these approximating sequences, proving uniqueness.

Worked endpoint. On (0,1), f(x)=√x satisfies |√x−√y|≤√|x−y|. For x≥y, square the left side and use (√x−√y)≤(√x+√y), giving (√x−√y)²≤x−y. The estimate proves uniform continuity and forces extension values F(0)=0 and F(1)=1. Sampling many points suggests these values; the inequality proves them.

Predict, then inspect the certificate

f(x)=√x on (0,1). What value must a continuous extension assign at 0?

Two authored cases are practice, not a proof of the general theorem. Explain which hypothesis changed. Responses are temporary and do not change saved progress.

Changed task. Which hypothesis fails for f(x)=1/x on (0,1)? Which fails for the identity Q→Q when extending to R? Give a concrete sequence in each argument, rather than just naming a theorem.

Feedback

For the reciprocal, inputs 1/n and 1/(n+1) approach each other while outputs differ by one: uniform continuity fails. For the rational identity, rational approximations to √2 are Cauchy but their images have no limit in Q: the codomain is not complete. Ordinary continuity on D alone does not guarantee either extension. These counterexamples diagnose different hypotheses.

Continue

Optional depth shows a uniformly continuous function sends Cauchy input sequences to Cauchy output sequences. Given ε, obtain a shared δ, then use the input Cauchy condition for that δ. Pointwise continuity cannot generally do this when the input limit lies outside the domain.

Save a positive proof with a shared tolerance and a negative proof with paired sequences. Explain why both inputs may vary in the counterexample. The next lesson uses compactness in a different way: instead of supplying a common radius, it ensures continuous functions attain extrema, while connected interval geometry forces intermediate values.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

For f(x)=5x−2, what δ=ε/5 works uniformly when ε=1/4?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

A uniform-continuity δ may depend on:

Your response

Prove x² is uniformly continuous on [−M,M] for M>0.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Prove x² is not uniformly continuous on R.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Prove continuity on a compact real set implies uniform continuity using sequences.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Show compactness is sufficient but not necessary for uniform continuity.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.