Average Value
The average of a few numbers is their sum divided by how many there are. The average of a function over an interval works the same way, with an integral as the sum. This guide shows the formula, what it means on a graph, and how it is used with rates and data.
The average value of \(f\) on \([a, b]\) is \(\dfrac{1}{b - a}\displaystyle\int_a^b f(x)\,dx\): the integral adds up \(f\) across the interval, and dividing by the length spreads that total evenly. On a graph, it is the height of the rectangle over \([a, b]\) with the same area as the region under \(f\). If \(f\) is continuous, it equals its average value at some point \(c\) in the interval.
1The formula
Average value of \(f(x) = x^2\) on \([0, 3]\)
- 1\(\displaystyle\int_0^3 x^2\,dx = \frac{x^3}{3}\Big|_0^3 = 9\).
- 2Divide by the length of the interval, \(3 - 0 = 3\): \(\frac{9}{3} = 3\).
“The average value of \(f\) on \([0, 3]\) is \(\dfrac{1}{3 - 0}\displaystyle\int_0^3 x^2\,dx = 3\).”
Divide by the length of the interval, \(b - a\), not by \(b\), by the number of data points, or by 2. On \([2, 5]\) the divisor is 3.
2Where the average is reached
Find \(c\) in \([0, 3]\) with \(f(c) = 3\)
- 1\(f\) is continuous on \([0, 3]\), so the Mean Value Theorem for integrals guarantees such a \(c\).
- 2Solve \(c^2 = 3\): \(c = \sqrt3 \approx 1.73\) (the negative root is not in the interval).
The midpoint of the range of \(x^2\) on \([0, 3]\) is \(\frac{0 + 9}{2} = 4.5\), not 3. The curve spends more of the interval at low heights, so its average is lower.
3Average of a rate
Water flowing into a tank
Water flows into a tank at \(r(t) = 40 - 2t\) liters per minute for \(0 \le t \le 10\). Find the average flow rate and explain what it means.
- 1\(\displaystyle\frac{1}{10}\int_0^{10}(40 - 2t)\,dt = \frac{1}{10}\left(400 - 100\right) = 30\).
- 2The integral, 300 liters, is the total water added. A steady flow of 30 liters per minute for 10 minutes would add the same amount.
The average value of \(f\) is \(\frac{1}{b - a}\int_a^b f(x)\,dx\). The average rate of change of \(f\) is \(\frac{f(b) - f(a)}{b - a}\), a slope. For a rate \(r\), its average value equals the average rate of change of the amount, which is why Worked Example 3 works.
4Signed averages
\(\sin x\) on \([0, 2\pi]\) and on \([0, \pi]\)
- 1\(\displaystyle\int_0^{2\pi}\sin x\,dx = 0\): the area above the axis cancels the area below. Average value 0.
- 2\(\displaystyle\int_0^{\pi}\sin x\,dx = 2\), so the average on \([0, \pi]\) is \(\frac{2}{\pi} \approx 0.637\).
5From data
Average temperature
Temperatures (°F) are recorded every 2 hours:
| t (hours) | 0 | 2 | 4 | 6 | 8 |
|---|---|---|---|---|---|
| T(t) | 60 | 64 | 70 | 68 | 62 |
- 1Estimate \(\int_0^8 T(t)\,dt\) with a trapezoidal sum: \(2\cdot\frac{60 + 64}{2} + 2\cdot\frac{64 + 70}{2} + 2\cdot\frac{70 + 68}{2} + 2\cdot\frac{68 + 62}{2} = 526\).
- 2Divide by 8 hours: \(\frac{526}{8} = 65.75\).
An average value is a height on the graph of \(f\), so it has the units of \(f\): liters per minute in Worked Example 3, °F in Worked Example 5. It is not an area.
Quick reference
| Item | Rule |
|---|---|
| Average value | \(\frac{1}{b - a}\int_a^b f(x)\,dx\) |
| Where it is reached | Solve \(f(c) = f_{\text{avg}}\) (exists if f is continuous) |
| Units | Same as f |
| Average rate of change | \(\frac{f(b) - f(a)}{b - a}\): a different question |