Euler Hall — free maths guides

The mean value theorem for integrals

State the mean value theorem for integrals and find a point where the average is attained. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus II guides.

A continuous function attains its average

The theorem. Ifff is continuous on[a,b][a,b], there is at least onecc in[a,b][a,b] with f(c)=1b−a∫abf(x) dx.f(c) = \frac{1}{b-a}\int_a^b f(x)\,dx.

In words: a continuous function actually takes its average value somewhere.

Why it is true, in two steps.

1. Letmm be the average. Then∫ab(f−m)=0\int_a^b(f-m)=0, sof−mf-m is positive somewhere and negative somewhere (unless it is identically zero, in which case every point works). 2. A function that is positive at one point and negative at another, and continuous, is zero at some point in between. That point iscc.

Step 2 is the intermediate value theorem, and it is the only place continuity is used.

How to find such acc. Setf(c)=mf(c)=m and solve. For a linear function the solution is the midpoint; for a quadratic it is somewhere else, and it may be irrational —x2x^2 on[0,3][0,3] has average 3, attained atc=3c=\sqrt3.

What the theorem does NOT say.

- It does not saycc is unique. A wavy function can attain its average many times. - It does not say wherecc is. It is an existence statement. - It does not survive dropping continuity: a step function that jumps over its own average attains no value there.

Why it matters. It is the integral's version of the mean value theorem for derivatives, and it is what justifies statements like "the average speed over a trip is the speed at some instant". That sentence is useful precisely because something actually happened at that speed.

Why continuity is exactly the hypothesis needed

The proof needs one thing from continuity: that a function which is positive somewhere and negative somewhere must be zero somewhere. That is the intermediate value theorem, and it fails for a function with a jump.

A counterexample that shows the hypothesis is not decorative. Letf(x)=0f(x)=0 for0≤x<10\le x<1 andf(x)=1f(x)=1 for1≤x≤21\le x\le2. Its integral is 1, so its average on[0,2][0,2] is12\frac12 — a value the function never takes. Every other part of the theorem's setting holds: the function is integrable, the average exists, the balancing of excess and deficit is fine. Only the passage through the value fails, and only because the function jumps over it.

Why the theorem is stated with "at least one" rather than "exactly one". A function likesin⁡x\sin x on[0,2π][0,2\pi] has average 0 and attains it at three points. Uniqueness would be false, so the conclusion is existence only.

The relationship to the derivative form. The ordinary mean value theorem says that somewhere the instantaneous rate equals the average rate. The integral form says that somewhere the function equals the average value. They are equivalent: apply the derivative form to the accumulation functionF(x)=∫axfF(x)=\int_a^x f and differentiate.

Worked example: finding the point for a cubic

Find the average off(x)=x3f(x)=x^3 on[0,2][0,2] and the point where it is attained.

The average.12∫02x3 dx=12⋅4=2\frac12\int_0^2x^3\,dx=\frac12\cdot4=2.

The point. Solvec3=2c^3=2, soc=sqrt[3]2≈1.26c=\\sqrt[3]{2}\approx1.26.

Checks.cc lies in[0,2][0,2] ✓. It is less than the midpoint 1, which is right: the cubic is small over most of the interval and rises steeply at the end, so reaching the average happens late… let me check which way that argument points. The function is below 2 untilc≈1.26c\approx1.26 and above it after, and the interval from 0 to 1.26 is longer than from 1.26 to 2 — so the region below the average is wide but shallow and the region above is narrow but tall. They balance ✓.

A note on exactness.23\sqrt[3]{2} is irrational, which is why the families in this section ask forc2c^2 or for a linear function's point — an answer the bank can store exactly. The theorem does not care; the grading does.

The general recipe. Setf(c)=mf(c)=m and solve. For a polynomial that is a polynomial equation, and for anything else it may need a numerical method — which is honest, and is what the theorem's existence claim buys you: you know a solution is there before you look for it.

By the end you can
  • State the mean value theorem for integrals and find a point where the average is attained
  • Explain why continuity is the hypothesis the proof uses
  • Distinguish the integral form from the derivative form
Check yourself
  1. 1. Average ofx2x^2 on[0,3][0,3] and the point where it is attained.
  2. 2. Average ofxx on[2,8][2,8] and the point.
  3. 3. Why does a step function break the theorem?
Answers

1. Average 3, attained atc=3c=\sqrt3. 2. Average16∫28x dx=16⋅30=5\frac16\int_2^8x\,dx=\frac16\cdot30=5, attained atc=5c=5 — the midpoint, since the function is linear. 3. Because it can jump over its own average, so there may be no point where it equals it; continuity is what rules that out.

Work out where to start — free, no accountAnswer six real questions — free, no account