The average value of a function
Compute the average value of a function on an interval. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus II guides.
Averaging finitely many numbers is a sum divided by a count. A function on an interval takes infinitely many values, so the sum becomes an integral and the count becomes the interval's length:
Why that is the right definition, in one line. Approximating by equally spaced samples, the average of the samples is. Since, that is and the sum is a Riemann sum. The limit is the formula above. Nothing is being invented; it is the finite average carried to the limit.
What it is not. It is not the midpoint value, and it is not the average of the endpoints. Both of those agree with the true average only for a linear function — which is the same fact as the trapezoidal rule being exact on lines, and it is worth connecting the two in your head.
A worked comparison that shows the difference. On, has average. The midpoint value is and the endpoints average to. Both are wrong, in opposite directions, and the true average sits between them.
The units check. has units of (value × length), so dividing by a length gives back a value. An average temperature, an average speed and an average cost are all this formula.
The integral is a total: if is measured in units of and in units of, then is in. An average must be in units of, so it needs division by exactly one power of.
The width is the only length available. Dividing by gives the right units and, more importantly, the right behaviour: a constant function has average equal to its constant, and doubling the interval without changing the function leaves the average alone. Both are requirements no other normalisation satisfies.
The rectangle picture, which is the definition in disguise. The rectangle of width and height has area — the same as the region under the curve. So the average is the height of the rectangle that has the same area and the same width. The next skill makes that picture into a theorem.
Why the answer can lie outside the endpoint values. It cannot lie outside the function's range, but it can easily lie outside the range of the two ENDPOINTS — as on shows, with average 3 above the upper endpoint... no, below it (9). It lies between the function's minimum and maximum, which is the theorem.
Find the average value of on.
Integrate.
Divide by the width, which is 3:
Checks. The endpoint values are and; the average 16 lies between them ✓, as it must since the function is increasing there. The midpoint value is, which is not the average — the function is not linear.
The commonest error here is dividing by the upper limit (4) instead of the width (3), giving 12. The units check catches it: the width is what normalises the integral.
A second route, as a sanity check. The function is; the average of on is, and the average of is. So the average of is ✓ — linearity of the average, which is worth knowing: the average of a sum is the sum of the averages.
- Compute the average value of a function on an interval
- Explain why the integral is divided by the interval's width
- Distinguish the average from the midpoint and endpoint values
- 1. Average of on.
- 2. Average of on.
- 3. Average of on, and why the midpoint check works there.
Answers
1., which is the midpoint value ✓ since is linear. 2.. 3.; the midpoint value is ✓, which works because the function is linear.