Composition with preserves continuity, so maps the space of continuous functions on a compact space into itself and is linear. Since maps onto itself,
For , the mean value theorem applied to gives
The same bound holds at . Each has uniform continuity by the Heine-Cantor theorem. With its modulus of continuity , we obtain
Alternatively, the bound proves convergence on every polynomial; the Weierstrass approximation theorem makes these a dense subset of , and the Banach-Steinhaus convergence theorem with gives the same conclusion.
Use the modulus of continuity on the circle, . Splitting a displacement into steps of length at most and applying the triangle inequality gives
The Fejér kernel is nonnegative and has integral one, so
We therefore need its first absolute moment. The inequalities and on imply
Splitting at gives
Taking in the preceding error bound proves the Fejér first-moment approximation bound:
The constants do not depend on or . By the Heine-Cantor theorem, a continuous function on the compact circle is uniformly continuous, hence as . Thus the Fejér sums converge uniformly to . The index restriction is necessary: at the printed scale is zero, while is the mean of and generally differs from it.
Let be the supremum of all lower Darboux sums and the infimum of all upper Darboux sums. The assumed comparison of arbitrary lower and upper sums gives . For the partition supplied for a given ,
Since this holds for every positive , . Thus the Riemann integrability criterion gives
If is continuous on , the Heine-Cantor theorem makes it uniformly continuous. Given , choose so that intervals of length below have oscillation below . A partition of mesh below then satisfies
proving that Continuous functions are Riemann integrable.
For the function defined using , choose with . Given , choose so small that . On , the function is continuous and therefore has a partition whose upper-minus-lower sum is below . Adding the interval contributes at most , regardless of the value . Hence the full Darboux-sum difference is below , and
Finally, for any partition , the mean value theorem supplies such that
Summing telescopes to
a Riemann sum for the Riemann-integrable function . Equivalently, every lower derivative sum is at most this telescoping value and every upper derivative sum is at least it. Taking the common upper and lower Darboux integrals proves the fundamental theorem of calculus conclusion
True. Define and . The map is Lipschitz continuous with constant one. The restriction of to is uniformly continuous by the Heine-Cantor theorem; its modulus of continuity combined with proves uniform continuity of on all of . For each fixed , once we have . Hence
This pointwise approximation by uniformly continuous functions even gives eventual equality on every fixed bounded interval. It need not give uniform convergence on the whole line, as the bounded counterexample in part (i) already demonstrates.
A real function on a metric space is uniformly continuous if for every there is a such that, simultaneously for all , implies . For a continuous function on a finite closed interval , suppose this fails. Then there are and pairs with but . By compactness, some subsequence converges to ; then too. Continuity contradicts the image separation. This proves the Heine-Cantor theorem in this setting. Boundedness of the interval matters: on is a counterexample if “closed interval” includes unbounded intervals.
A function is Lipschitz continuous if some finite satisfies for every pair. Choosing proves uniform continuity.
The first assertion is false. Take , which is bounded and continuous, and
Then , , while . This violates uniform continuity.
This is always true: it is the Heine-Cantor theorem. If uniform continuity failed, there would be an and sequences such that
By sequential compactness of a compact metric space, some subsequence converges to . The triangle inequality gives . Continuity then makes both image subsequences converge to , contradicting their separation by .
Suppose the continuous function did not have uniform continuity on . Negating its definition gives such that for every there are with
The Bolzano-Weierstrass theorem, which states that every bounded sequence of real numbers has a convergent subsequence, gives . The inequalities imply . By the triangle inequality,
Since continuous functions preserve convergent sequences, both and tend to . Their difference therefore tends to zero, contradicting its absolute value being at least . This proves the Heine-Cantor theorem in the required setting: has uniform continuity on .
By the Heine-Cantor theorem, a continuous function on the compact interval is uniformly continuous. Given , choose such that whenever and .
Choose a finite partition of an interval with every width below . Define the step function
For each , its distance from the chosen left endpoint is below , so ; at the error is zero. Hence
A step function may have separately assigned values at its finitely many partition points; these values do not affect its Riemann integral. If , simply take on that singleton.
Pointwise approximation by uniformly continuous functions Created 2026-10-05 Updated 2026-10-06
Every continuous can be approximated with pointwise convergence by uniformly continuous functions. Set and . The map is Lipschitz continuous with constant one and is uniformly continuous by the Heine-Cantor theorem, so is uniformly continuous on the whole line. On every fixed bounded interval, eventually.
Uniformly continuous function Created 2026-09-24 Updated 2026-10-18
A uniformly continuous function has one input tolerance valid throughout its domain of a function. For , with , uniform continuity means
Choose the output tolerance first, then a positive valid for every pair of function inputs. It may depend on , the function and its domain of a function, but not on the pair’s location. The absolute values measure input and output distance.[ref]
Compare the quantifier order with the epsilon-delta definition of continuity:
Both lines end with . In the first, can depend on the point ; in the second, it is chosen before . Thus uniform continuity implies continuity at every point. Each requested gets its own shared tolerance.
For an exact example, take the polynomial function on the closed interval . For every pair of function inputs in that interval, polynomial factorization gives
Consequently works everywhere on this domain of a function. With , the common tolerance is . Near the right endpoint, for example, and have input distance and output distance . The bound is sufficient; it does not claim the largest admissible input window at each point.
On the whole real line, the same polynomial function is a continuous function but fails uniform continuity. Take the sequences and , for positive integers . Then
For any proposed , choose an integer . The inputs are closer than , yet their outputs violate the fixed tolerance . The sequences need not themselves have a finite limit: their mutual distance is what tends to zero. This is the obstruction captured by the sequential criterion for uniform continuity. Restricting the domain of a function to removes these escaping pairs.
Figure 1.
The square function: local input windows shrink, but a bounded interval admits one shared tolerance
. The left panel computes sufficient windows from the continuity bounds for the square function; shrinking these particular windows alone does not prove failure of uniform continuity. The middle panel displays the exact bound on the interval . The right panel gives the decisive sequence pairs on the real line. All plotted values are calculated from the displayed formulas. Details.
A uniformly continuous function need not be a bounded function. The identity function on the real line has , so always works, although its image of a function is the unbounded real line. Uniform continuity controls changes between nearby inputs, not the overall size of outputs. Likewise, an unbounded domain of a function does not by itself prevent uniform continuity.
The square root supplies a different common tolerance on the interval . Assuming , put and . Since ,
Interchanging the inputs when necessary proves
Thus guarantees uniform continuity on the entire domain of a function, including zero. For , any input distance below suffices. The pairs and both have input distance ; their output distances are respectively and . The common guarantee accommodates quite different local sensitivities.
This Hölder continuity bound allows a curved tolerance rule. It is weaker than a Lipschitz bound: at zero the output change divided by the input change is
No finite Lipschitz constant works near zero, even though uniform continuity does. A Lipschitz function does have uniform continuity, choosing when its Lipschitz bound is positive; when it is a constant function.[ref]
Figure 2.
Square-root input changes share an output tolerance even though amplification near zero is unbounded
. At left, the exact output changes for base points stay inside whenever and . The right panel computes the amplification for inputs : it grows without bound as decreases. These are calculated function graphs, with no experimental measurements. Details.
For general metric spaces, replace the absolute values by the respective distance functions. The Heine-Cantor theorem gives an existence guarantee: every continuous function on a compact metric space is uniformly continuous. In particular, continuity on a finite closed interval provides a common tolerance, even when no simple formula for it is known.[ref]
For a short proof outline, fix . Continuity gives each point an open ball of radius within which outputs differ from by less than . The open balls of half these radii still cover the domain of a function. Compactness supplies a finite subcover. Take to be the smallest half-radius in this finite set. Two inputs closer than lie together in one of the original open balls, so the triangle inequality bounds their output distance by . The beautiful step is that the compact set turns local choices into finitely many choices, whose minimum stays positive.
A shared tolerance also makes uniformly continuous functions preserve Cauchy sequences: after choosing for , all sufficiently late input pairs are closer than , so all corresponding output pairs are closer than . Unlike a convergent sequence argument, this does not require an input limit inside the domain of a function. It is why uniform continuity is useful for extending a function toward missing endpoints and for the decay argument below.
A continuous function on a compact interval is uniformly continuous by the Heine-Cantor theorem. Choose a partition of an interval whose widths lie below the input tolerance for a desired output error . On each half-open partition subinterval, use the value of the function at its left endpoint, and assign the rightmost endpoint its own value. This defines a step function whose error is strictly below at every input. Finitely assigned partition-point values are allowed and do not alter the Riemann integral.