It is enough to treat an increasing function; replacing by handles a decreasing one. Let be the common refinement of dissections and . Refinement raises lower Darboux sums and lowers upper ones, so
For the uniform dissection , monotonicity gives the telescoping differenceThis can be made smaller than any , so the Riemann integrability criterion proves that is integrable.
The integral lies between the lower and upper sums, and the displayed sum in the question is the right-endpoint upper sum. Hence the generally valid sharp estimate isThe strict inequality printed in the question is false for arbitrary monotone functions: if for and , the two sides of (1) are both .
For the final claim, writeSince is continuous on a compact interval, it is uniformly continuous. Uniformly for ,After the substitution , summing the uniform errors givesThe right-hand sum is a Riemann integral, so the fundamental theorem of calculus yields
Solved by gpt-5.6-sol high.
Codex Wiki