Canonical: https://knowlpedia.com/real-analysis/absolute-value-preserves-integrability/

# Absolute value preserves integrability

If a function is Riemann integrable then so is its absolute value, with a triangle inequality.

**Absolute value preserves integrability:** Let \(f:[a,b]\to\mathbb R\) be [Riemann integrable](https://knowlpedia.com/real-analysis/riemann-integrable-function/) on the [interval](https://knowlpedia.com/real-analysis/interval/) \([a,b]\). Then the [absolute value](https://knowlpedia.com/real-analysis/absolute-value/) function \(|f|\) is Riemann integrable on \([a,b]\), and the [triangle inequality](https://knowlpedia.com/real-analysis/triangle-inequality/) holds:
\[
\left|\int_a^b f\right|\le \int_a^b |f|.
\]

## Remarks

This is often used together with [linearity](https://knowlpedia.com/real-analysis/riemann-linearity/) to control integrals by comparing them to integrals of nonnegative functions.
