Absolute value preserves Riemann integrability

If f is Riemann integrable then |f| is Riemann integrable, and |∫f| ≤ ∫|f|
Absolute value preserves Riemann integrability

Let f:[a,b]Rf:[a,b]\to\mathbb{R} be .

Proposition: The function f|f| is Riemann integrable on [a,b][a,b]. Moreover, abf(x)dxabf(x)dx. \left|\int_a^b f(x)\,dx\right|\le \int_a^b |f(x)|\,dx.

This is a basic stability property: composing with the map xxx\mapsto |x| preserves Riemann integrability.

Proof sketch: Since xxx\mapsto |x| is continuous, the discontinuity set of f|f| is contained in the discontinuity set of ff ( of ff remain continuity points of f|f|). By the , ff has measure-zero discontinuity set, hence so does f|f|, so f|f| is integrable. The inequality follows from fff-\lvert f\rvert\le f\le \lvert f\rvert and monotonicity of the integral.