The stated bound is Lipschitz continuity with constant . For every and every , taking ensures whenever . The same works at every point, so is both continuous and uniformly continuous.
For an integer , partition into equal intervals and define a step function
At the remaining endpoint set , so the final interval may be taken closed on the right. The Lipschitz bound gives
Choosing proves the requested uniform step approximation on a compact interval:
A sufficiently fine partition gives a piecewise constant approximation uniformly over the whole interval.
The continuous function and every finite step function are Riemann integrable. Put . Integrating each constant piece explicitly gives
Since the sine differences have absolute value at most , the triangle inequality and uniform approximation give
To prove convergence, fix and first choose with . With this held fixed, the finite number is independent of , so the second term is also less than for sufficiently large . Therefore
First make the approximation error small, then let the oscillation frequency grow. This is the step-function proof of the Riemann-Lebesgue lemma; it does not require assuming that a Lipschitz function has an everywhere-defined derivative.