The average of finitely many numbers is their sum divided by how many there are. For a continuous function there are infinitely many values, and the sum becomes an integral: .
| Formula | Name | Notes |
|---|---|---|
| Arithmetic Mean | Finitely many values | |
| Mean Value of a Function | Also written | |
| Rectangle Form | is the height of the equal-area rectangle | |
| for some | Mean Value Theorem for Integrals | Requires continuous on |
| Bounding Rule | The step that makes the theorem work |
Mean Value of a Function
The arithmetic mean (or arithmetic average) of numbers is
If the 's are the values of a function , say
then
Now the question is: how can we define the mean of a continuous function on , where there are infinitely many values to average?
If we divide the interval into subintervals of equal width and choose arbitrary points in successive subintervals, then the arithmetic mean of the values is
\begin{aligned} \frac{f(x_{1}^{*})+\cdots+f(x_{n}^{*})}{n} &=\frac{f(x_{1}^{*})+\cdots+f(x_{n}^{*})}{\dfrac{b-a}{\Delta x}}\\ &=\frac{1}{b-a}\left[f(x_{1}^{*})\Delta x+\cdots+f(x_{n}^{*})\Delta x\right]\\ &=\frac{1}{b-a}\sum_{k=1}^{n}f(x_{k}^{*})\Delta x. \end{aligned}The key step is replacing by , which turns the plain sum into a Riemann sum. If we let increase, we compute the mean of more and more values of , and the computed mean better represents the actual "mean" of the function. Because the limiting value is
we are led to the following definition.
The mean value (or the average value) of on the interval , denoted by or , is
provided that the above integral exists.
Find the mean value (or average value) of on the interval .
Solution
With and , the mean value of is
\begin{aligned} \overline{f} &=\frac{1}{b-a}\int_{a}^{b}f(x)\,dx\\ &=\frac{1}{4-1}\int_{1}^{4}\sqrt{x}\,dx\\ &=\frac{1}{3}\left[\frac{2}{3}x^{3/2}\right]_{1}^{4}\\ &=\frac{2}{9}\left(2^{3}-1^{3}\right)\\ &=\frac{14}{9}\approx1.5556. \end{aligned}Sanity check: on the function runs from to , so an average of about 1.56 is plausible. It sits slightly above the average of the two endpoint values, 1.5, which reflects the concavity of the square root: the graph lies above the chord joining its endpoints, so it spends more of the interval near its larger values.
The Averaging Variable Matters
The average value of a quantity depends on the independent variable with respect to which it is averaged. If the same quantity is averaged with respect to some other variable, the result may be different.
If the positive direction is taken to be downward, and the position and the velocity of a freely falling object dropped from the origin are given by
(a) find the mean velocity during the time if the velocity is averaged with respect to the time;
(b) find the mean velocity through the distance if the velocity is averaged with respect to the distance.
Solution
(a) Since , the mean velocity equals
Since the velocity at is , the mean velocity is half the final velocity.
(b) It follows from and that . Therefore, the mean velocity equals
\begin{aligned} \overline{v} &=\frac{1}{s_{1}-0}\int_{0}^{s_{1}}\sqrt{2gs}\,ds\\ &=\frac{\sqrt{2g}}{s_{1}}\cdot\frac{2}{3}s^{3/2}\bigg|_{0}^{s_{1}}\\ &=\frac{2}{3}\sqrt{2gs_{1}}. \end{aligned}Since the velocity is when , the mean velocity is two thirds of the final velocity.
The two answers differ because the object spends relatively little time covering the later, faster part of the fall but that part occupies a large share of the distance. Averaging over distance therefore weights the high speeds more heavily. Whenever you read "the average speed," it is worth asking: averaged over what?
Mean Value Theorem for Definite Integrals
Consider a region $APQB$ under the graph of from to , where
The definition of says that if we construct on the base a rectangle $ALNB$ whose net (signed) area equals the net area of $APQB$, then the height of this rectangle is equal to the mean of :

Let and be respectively the minimum and maximum values assumed by on the interval ; in the figure below, and . It is clear that
or
Cancelling the common factor leaves . If is continuous on , it follows from the Intermediate Value Theorem that actually attains the value somewhere: there is at least one value between and such that , and therefore

So we have the following theorem.
The Mean Value Theorem for Integrals. If is a continuous function on , then there exists a number in the interval such that
Proof
Let
Then by the Fundamental Theorem of Calculus, is continuous on and differentiable on . Therefore, satisfies the conditions of the Mean Value Theorem for derivatives, and there is a number between and such that
F(b)-F(a)=F'(c)(b-a).But F'(x)=f(x) and . Therefore,
\underbrace{\int_{a}^{b}f(x)\,dx}_{F(b)}=\underbrace{f(c)}_{F'(c)}(b-a).Notice that, similar to the Mean Value Theorem for derivatives, the Mean Value Theorem for Integrals does not assert where the point is located, except that it is somewhere between and . In fact, except for special cases, it is often difficult to determine this point.
Consider over the interval . Find all points in this interval at which the value of is the same as the mean value of on this interval.
Solution
In the earlier example we found the mean value of over this interval: . Now we want to find such that
Since , this value of does lie in the interval, as the theorem promised. Here we could find explicitly only because is easy to invert.
Exercises
Find the average value of each function on the given interval:
(a) on
(b) on
(c) on
Answer
(a) (b) (c)
Solution
(a) .
(b) . This is the well-known "average of a half sine wave" that appears in electrical engineering.
(c) .
Find the average value of on , and find the value of guaranteed by the Mean Value Theorem for Integrals.
Answer
and .
Solution
Now solve :
Only the positive root lies in , so .
The temperature in a city over a 12-hour period is modelled by degrees Celsius, for . Find the average temperature.
Answer
degrees Celsius.
Solution
\begin{aligned} \overline{T} &= \frac{1}{12}\int_{0}^{12}\left(20+6\sin\frac{\pi t}{12}\right)dt\\ &= \frac{1}{12}\left[20t-\frac{72}{\pi}\cos\frac{\pi t}{12}\right]_{0}^{12}\\ &= \frac{1}{12}\left[\left(240+\frac{72}{\pi}\right)-\left(0-\frac{72}{\pi}\right)\right]\\ &= 20+\frac{12}{\pi}\approx23.82. \end{aligned}The antiderivative of is , by the linear substitution rule.
Show that the average value of a linear function on equals the value of at the midpoint of the interval.
Answer
.
Solution
\begin{aligned} \overline{f} &= \frac{1}{b-a}\int_{a}^{b}(mx+k)\,dx = \frac{1}{b-a}\left[\frac{m x^{2}}{2}+kx\right]_{a}^{b}\\ &= \frac{1}{b-a}\left[\frac{m\left(b^{2}-a^{2}\right)}{2}+k(b-a)\right]\\ &= \frac{m(b+a)}{2}+k, \end{aligned}using . And indeed
which is the same. The geometric statement is that a trapezoid has the same area as the rectangle on the same base with height equal to the mid-height, which is why the midpoint Riemann sum is exact for linear integrands.
Find the average value of on , and explain the result.
Answer
, because is odd on a symmetric interval.
Solution
By the Odd Function Rule of the previous section, , so
The positive values on are exactly balanced by the negative values on . Note that is the point guaranteed by the Mean Value Theorem, since .
A car's velocity is metres per second for . Find its average velocity over that interval, and verify that it equals (total distance)/(total time).
Answer
m/s.
Solution
The distance travelled is metres in 4 seconds, and m/s. The two agree by construction: the definition of average value is precisely total accumulation divided by interval length.
Suppose is continuous on with on and on . Find the average value of on .
Answer
Solution
Convert averages back to integrals: and . By additivity, , so
Note that the answer is not the plain average : the two subintervals have different lengths, so the overall average is a weighted average, with weights and . Indeed .
Show that the Mean Value Theorem for Integrals can fail if is not continuous, by considering
on .
Answer
Here , but never takes the value .
Solution
Splitting at the jump,
so .
But takes only the values 0 and 1, so there is no in with . The conclusion of the theorem fails.
The reason is that the proof relies on the Intermediate Value Theorem, which requires continuity. Without it, a function can skip over its own average value. Note that the average value itself is still perfectly well defined; it is only the existence of the point that is lost.
Find a number such that the average value of on is equal to .
Answer
or .
Solution
Setting this equal to 3 gives
Both roots are positive, and , so there are two answers. (A quick check: at , .)
Let be continuous on and define . Show that the average value of on equals the average rate of change of on , and explain how this makes the Mean Value Theorem for Integrals a restatement of the Mean Value Theorem for derivatives.
Answer
Both equal .
Solution
By the Fundamental Theorem, . Dividing by ,
The left side is by definition the average rate of change of over .
Now the Mean Value Theorem for derivatives, applied to , says there is a in with
F'(c)=\frac{F(b)-F(a)}{b-a}.Since F'(c)=f(c) and the right-hand side is , this reads , which is exactly the Mean Value Theorem for Integrals. The two theorems are the same statement seen through the Fundamental Theorem: "the average of the rate" and "the rate at some instant" are connected in precisely the same way whether we phrase it in terms of or of .