Heine's Theorem and Its Consequences
Consequences: integration and numerical computation
Approximation by step functions
Let be continuous on and . Heine's theorem gives a uniform . Choose a regular subdivision with step .
On each piece , any two points are at most apart, so the values of vary by less than there. The step function equal to on therefore approximates to within on the whole interval.
This is the deep meaning of the theorem: on a compact set, a single subdivision is enough to control the function everywhere.
Riemann integrability
With the same subdivision, let and denote the maximum and the minimum of on . We have , so the gap between the upper and lower Darboux sums satisfies
This gap becomes as small as we like: every function continuous on a closed bounded interval is Riemann integrable. This result, used in every integral computation, therefore rests directly on Heine.
Controlling the error in numerical computation
The modulus of continuity gives an explicit bound for the left rectangle method:
Heine ensures that the right-hand side tends to : the method converges for any continuous function, even without a differentiability assumption. If moreover is -Lipschitz, we obtain the quantitative bound
For on , with , this gives an error less than , that is, about for .
Extension by continuity
Another consequence, in the other direction: if is uniformly continuous on , it extends by continuity to and to . The proof uses the Cauchy criterion — the image of a Cauchy sequence under a uniformly continuous function is still Cauchy, which is false under the mere assumption of continuity.
This sheds the right light on on : this function does not extend to , so it could not be uniformly continuous there.
Classic pitfall
Heine provides no explicit . When an exercise asks for a quantitative bound — the number of points in a subdivision, the error of a numerical method —, the theorem only proves that the constant exists. To compute it, you need additional information: a Lipschitz constant, a bound on , or an explicit modulus of continuity.

