For a bounded function on an interval , write for its oscillation of a function on an interval. For a partition , the difference between its upper Darboux sum and lower Darboux sum is . The Riemann integrability criterion says that this can be made arbitrarily small.
Since , choose good partitions for the two functions and take their common refinement. Darboux sum refinement monotonicity makes both oscillation sums small on this refinement, so their sum is Riemann integrable. The same argument handles differences and scalar multiples.
Both and are Lipschitz continuous with constant one. Thus and . This calculation shows that Lipschitz composition preserves Riemann integrability, so the positive part and the absolute value are integrable.
The converse for the absolute value is false. Define on rational numbers and on irrational numbers. Then is integrable, but every interval has supremum one and infimum minus one, so every Darboux difference for is . Hence is not Riemann integrable.
Finally,
is integrable by the closure properties just proved. This establishes that Riemann integrability is closed under addition and maximum.
A countable supremum can fail, even for a uniformly bounded family. Enumerate the rational points of as and set . Each singleton indicator function is Riemann integrable with integral zero: isolate its single nonzero point in intervals of arbitrarily small total length. But
is the nonintegrable Dirichlet function. This proves that a pointwise supremum need not preserve Riemann integrability.
For a partition , write and for the upper Darboux sum and lower Darboux sum. The Riemann integrability criterion for bounded is that for every some partition satisfies . Thus if the gaps for tend to zero, the Riemann integrability criterion immediately proves that is Riemann integrable.
Conversely, suppose is Riemann integrable, and choose a fixed partition with . Let be the number of its interior division points and choose with . Call a cell of bad when its interior contains a division point of . There are at most bad cells, and their total length is at most .
Every other cell lies in a single cell of , so its oscillation is no larger than that of the containing cell. Summing the contributions of these good cells gives at most , while each bad cell has oscillation at most . Therefore the finite bad-cell estimate for Darboux sums gives
For large enough , the right-hand side is less than . This proves the uniform-mesh Darboux criterion
This argument does not assume that the partitions are nested; in general they are not.
For the composition, takes values in . Since is continuously differentiable, the extreme value theorem bounds both and on that interval. In particular, let . The mean value theorem states that a function continuous on the interval between and differentiable in its interior satisfies for some intermediate . Hence
On each partition cell, this bounds the oscillation of by times the oscillation of , whether or not the local extrema are attained. It follows that
The composition is bounded, so the proved uniform-mesh Darboux criterion applies. Thus is Riemann integrable. The reusable fact is Lipschitz composition preserves Riemann integrability; continuous differentiability supplies the required bound on the range of .
For a common interval partition, the oscillation of a function on an interval satisfies . Refining two good Darboux sums therefore proves integrability of the sum. Lipschitz composition preserves Riemann integrability, so absolute values preserve it too. The identity then proves the assertion for the maximum.