Canonical: https://knowlpedia.com/real-analysis/mean-value-theorem-for-integrals/

# Mean value theorem for integrals

A continuous function attains its average value somewhere on the interval.

**Mean value theorem for integrals.** Let \(a<b\) and let \(f:[a,b]\to\mathbb{R}\) be continuous. Then there exists \(c\in[a,b]\) such that
\[
\int_a^b f(x)\,dx = f(c)\,(b-a).
\]

## Equivalent characterizations

Equivalently, the average value \(\frac{1}{b-a}\int_a^b f(x)\,dx\) is achieved by \(f\) at some point; this relies on the [intermediate value theorem](https://knowlpedia.com/real-analysis/intermediate-value-theorem/) together with existence of the [Riemann integral](https://knowlpedia.com/real-analysis/riemann-integral/) for continuous functions.
