Mean Value Theorem for Integrals

Basis
Last updated: Tags: Calculus, Integration, Mean Value Theorems

If you drive for two hours and cover 120 km, your average speed was 60 km/h. At some instant you were travelling at exactly that average. The integral version of this fact says: the average value of a continuous function is actually attained at some point in the interval. This is the Mean Value Theorem for integrals, and it is the key ingredient in proving that the variable-upper-limit function is differentiable.

Statement

Theorem (Mean Value Theorem for Integrals). Let f:[a,b]Rf : [a, b] \to \mathbb{R} be continuous. Then there exists ξ[a,b]\xi \in [a, b] such that

abf(x)dx  =  f(ξ)(ba).\int_a^b f(x)\,dx \;=\; f(\xi)\,(b - a).

Equivalently, the average value of ff on [a,b][a, b], defined as 1baabf(x)dx\dfrac{1}{b-a}\displaystyle\int_a^b f(x)\,dx, is attained by ff at some interior point.

Proof

Since ff is continuous on the closed bounded interval [a,b][a, b], it attains its minimum mmin[a,b]fm \coloneqq \min_{[a,b]} f and its maximum Mmax[a,b]fM \coloneqq \max_{[a,b]} f (by the Extreme Value Theorem). By monotonicity of the integral, comparing ff with the constant functions mm and MM gives

m(ba)    abf(x)dx    M(ba).m(b - a) \;\leq\; \int_a^b f(x)\,dx \;\leq\; M(b - a).

Dividing by ba>0b - a > 0:

m    1baabf(x)dx    M.m \;\leq\; \frac{1}{b-a}\int_a^b f(x)\,dx \;\leq\; M.

The quantity μ1baabf(x)dx\mu \coloneqq \dfrac{1}{b-a}\displaystyle\int_a^b f(x)\,dx lies between the minimum and maximum values of ff on [a,b][a, b]. Since ff is continuous on [a,b][a, b], the Intermediate Value Theorem guarantees the existence of ξ[a,b]\xi \in [a, b] with f(ξ)=μf(\xi) = \mu. Multiplying both sides by (ba)(b - a) gives the result. \square

The weighted version

A more general form replaces the length bab - a with a non-negative weight function.

Theorem (Weighted Mean Value Theorem for Integrals). Let f:[a,b]Rf : [a, b] \to \mathbb{R} be continuous and let g:[a,b]Rg : [a, b] \to \mathbb{R} be integrable with g(x)0g(x) \geq 0 for all x[a,b]x \in [a, b]. Then there exists ξ[a,b]\xi \in [a, b] such that

abf(x)g(x)dx  =  f(ξ)abg(x)dx.\int_a^b f(x)\,g(x)\,dx \;=\; f(\xi)\int_a^b g(x)\,dx.

Proof. Again let m=min[a,b]fm = \min_{[a,b]} f and M=max[a,b]fM = \max_{[a,b]} f. Since g0g \geq 0 and mfMm \leq f \leq M, monotonicity gives

mabg(x)dx    abf(x)g(x)dx    Mabg(x)dx.m \int_a^b g(x)\,dx \;\leq\; \int_a^b f(x)\,g(x)\,dx \;\leq\; M \int_a^b g(x)\,dx.

Case 1: abg=0\int_a^b g = 0. Then the left integral is also 00 (since 0fg00 \leq \int fg \leq 0), so the equation fg=f(ξ)0\int fg = f(\xi) \cdot 0 holds for any ξ\xi. Take ξ=a\xi = a.

Case 2: abg>0\int_a^b g > 0. Divide the inequality by abg\int_a^b g to get

m    abf(x)g(x)dxabg(x)dx    M.m \;\leq\; \frac{\displaystyle\int_a^b f(x)\,g(x)\,dx}{\displaystyle\int_a^b g(x)\,dx} \;\leq\; M.

By the IVT (same argument as before) there exists ξ[a,b]\xi \in [a, b] with f(ξ)f(\xi) equal to that ratio. \square

The unweighted theorem is the special case g1g \equiv 1.

Geometric interpretation: average value

Define the average value of ff on [a,b][a, b] to be

f    1baabf(x)dx.\langle f \rangle \;\coloneqq\; \frac{1}{b - a}\int_a^b f(x)\,dx.

Geometrically, f\langle f \rangle is the height of the rectangle with base [a,b][a, b] whose area equals abf\int_a^b f. The Mean Value Theorem says this rectangle has the same area as the region under the curve: the curve’s height at ξ\xi equals the rectangle’s height. Put differently, a continuous function must pass through its own average.

This interpretation is useful for estimation: if you know ff is bounded between mm and MM on [a,b][a, b], then

m    f    M,m \;\leq\; \langle f \rangle \;\leq\; M,

bounding the integral without computing it exactly.

Worked example

Problem. Show that 01ex2dx(e1,1)\displaystyle\int_0^1 e^{-x^2}\,dx \in \bigl(e^{-1},\, 1\bigr).

Solution. The function f(x)=ex2f(x) = e^{-x^2} is continuous and strictly decreasing on [0,1][0,1], with f(0)=1f(0) = 1 and f(1)=e1f(1) = e^{-1}. By monotonicity of the integral,

e11    01ex2dx    11,e^{-1} \cdot 1 \;\leq\; \int_0^1 e^{-x^2}\,dx \;\leq\; 1 \cdot 1,

so the integral lies in [e1,1][e^{-1}, 1]. Since ff is strictly decreasing and not constant, the inequalities are strict:

01ex2dx    (e1,1).\int_0^1 e^{-x^2}\,dx \;\in\; \bigl(e^{-1},\, 1\bigr).

The Mean Value Theorem guarantees that eξ2=01ex2dxe^{-\xi^2} = \int_0^1 e^{-x^2}\,dx for some ξ(0,1)\xi \in (0, 1) — there is a specific xx-value whose function value equals the average, even though we cannot find it in closed form.

Numerical check. The integral is approximately 0.74680.7468, which indeed lies in (e1,1)(0.368,1)(e^{-1}, 1) \approx (0.368, 1).

Summary

  • Mean Value Theorem for integrals: if ff is continuous on [a,b][a, b], then abf(x)dx=f(ξ)(ba)\displaystyle\int_a^b f(x)\,dx = f(\xi)(b-a) for some ξ[a,b]\xi \in [a, b].
  • Proof: the bounds m(ba)fM(ba)m(b-a) \leq \int f \leq M(b-a) from monotonicity, combined with the IVT for continuous functions, guarantee that the average value is attained.
  • Weighted version: if g0g \geq 0 is integrable, then fg=f(ξ)g\int fg = f(\xi)\int g for some ξ[a,b]\xi \in [a, b].
  • Average value: f=1baabf\langle f \rangle = \frac{1}{b-a}\int_a^b f is the height of the equal-area rectangle; the theorem says f(ξ)=ff(\xi) = \langle f \rangle at some ξ\xi.
  • The theorem is used directly in the proof of the Newton–Leibniz formula to bound the difference quotient of the variable-upper-limit function.