Average Value of a Function
You know how to average a list of numbers: add them up and divide by how many there are. But what is the average temperature over a whole day, when the temperature changes every instant? A definite integral does the “adding up” for infinitely many values, and dividing by the length of the interval finishes the job. That’s the average value of a function.
Key ideas
Section titled “Key ideas”The formula
Section titled “The formula”The average value of a continuous function on is
Compare it with averaging a list: the integral plays the role of the sum, and the length plays the role of “how many.”
The picture: a rectangle with the same area
Section titled “The picture: a rectangle with the same area”Multiply both sides by :
So is the height of the rectangle on that has exactly the same (signed) area as the region under the curve. The parts of the curve above the rectangle “fill in” the parts below it.
Where the function equals its average
Section titled “Where the function equals its average”If is continuous on , there is at least one in with
This is sometimes called the Mean Value Theorem for integrals. It makes sense from the picture: a continuous curve can’t stay entirely above or entirely below the rectangle, so it has to cross the line somewhere. To find , set equal to the average and solve.
The average value has the same units as , not the units of the integral. If is a temperature in °C and is in hours, then is in °C·hours, and dividing by the hours leaves °C.
Average value vs average rate of change
Section titled “Average value vs average rate of change”These sound alike but answer different questions:
| Formula | Meaning | |
|---|---|---|
| Average value of | the typical height of | |
| Average rate of change of | the slope of the secant line |
They connect nicely: the average value of on is , the average rate of change of .
On the AP exam, average value shows up in both calculator and no-calculator questions. When a calculator is allowed, write the setup (the integral with its ) before giving the number; graders award a point for the setup.
Worked examples
Section titled “Worked examples”Example 1: A polynomial
Section titled “Example 1: A polynomial”Find the average value of on , and find every in the interval where equals that average.
Solution.
Now solve : , so . Only is in .
Example 2: A trig function
Section titled “Example 2: A trig function”Find the average value of on . (Radians, as always in calculus.)
Solution.
That’s about , a little above . Sensible: the arch is wide near its top, so it spends more of the interval high than low.
Example 3: Average temperature
Section titled “Example 3: Average temperature”On a spring day, the temperature hours after 6 a.m. is modelled by degrees Celsius. Find the average temperature from 6 a.m. to 6 p.m.
Solution. The interval is .
The average temperature is °C. (The units are °C, the same as .)
Check: the antiderivative of is , and .
Example 4: Working backwards
Section titled “Example 4: Working backwards”The average value of on is . Find .
Solution.
Set , so and (since ).
Common mistakes
Section titled “Common mistakes”Forgetting to divide by b − a. The integral alone is the area (or total), not the average. In Example 1, , but the average value is .
Dividing by the wrong length. It’s , the length of the interval, not . On you divide by , not .
Mixing up average value and average rate of change. “Average value of ” uses an integral of . “Average rate of change of ” uses . Read the question carefully.
Giving the wrong units. The average value has the units of . The average of a velocity in m/s is in m/s, not metres.
Averaging just the endpoints. is the average of two numbers, not the average value of the function. For on it gives , not .
Keeping a c outside the interval. When you solve , throw away solutions outside .
Practice
Section titled “Practice”1. (Warm-up) Find the average value of on .
Solution
Check: is linear, so its average is the average of its endpoint values, . (This shortcut works only for linear functions.)
2. (Warm-up) You are told that . What is the average value of on ?
Solution
3. (Warm-up) Find the average value of on .
Solution
4. (Core) Find the average value of on . Give the exact value and a decimal to 3 places.
Solution
5. (Core) Find the average value of on .
Solution
(Remember .) So
6. (Core) Find the average value of on (radians).
Solution
7. (Core) A cyclist’s velocity is metres per second for seconds. Find her average velocity over these seconds, with units.
Solution
The average velocity is m/s.
8. (Challenge) Let . Find the average value of on , then find every in where equals that average.
Solution
So .
Solve : , so and or . Both are in , so both count.
9. (Challenge) The average value of a continuous function on is , and its average value on is . Find the average value of on .
Solution
Turn each average back into an integral by multiplying by the length:
So , and the average on is .
Notice you can’t just “subtract the averages”: the intervals have different lengths.
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site. H1. (Foundations) If , find the average value of . Explain why you divide by 6 rather than 8.
H2. (Foundations) Find the average value of for , using an integral and then an endpoint check.
H3. (Core) Find the average value of for and every input in that interval where it is attained.
H4. (Core) Find the average value of for . Show why averaging only the endpoint heights gives a different answer.
H5. (Core) Find the average value of for . All trigonometric inputs in this homework are in radians.
H6. (Core) A room’s temperature is modelled by °C for hours. Find its average temperature exactly. Explain the units of the integral and the average.
H7. (Challenge) The averages of a continuous function on and are 6 and 10, respectively. Find its average on . Explain why simply subtracting 10 from 6 fails.
H8. (Challenge) Find every such that the average value of on is 13. Check your answer and reject any inadmissible algebraic roots.
H9. (Challenge) For on , find its average value, average rate of change, and every input where it reaches its average value. Explain why the first two quantities differ.
H10. (Challenge) For m/s on seconds, find the average velocity and average speed. Find every time when each equals the corresponding instantaneous velocity or speed. Explain how direction changes affect the two averages.