AP Calculus AB and BC
Average Value of a Function: Formula and Examples
The average value of a continuous function f on [a, b] is the integral of f from a to b divided by the interval length b - a. It is the height of the rectangle on [a, b] with the same area as the region under f. Average rate of change is a different quantity: (f(b) - f(a)) / (b - a), the slope of a secant line.
The formula and what it measures
The average value of a continuous function on the interval is the definite integral of divided by the length of the interval. This is Topic 8.1, Finding the Average Value of a Function on an Interval.
Multiply both sides by to see the geometry: . A rectangle with base and height has the same signed area as the region between the graph of and the -axis. The average value is the constant height that would produce the same integral.
The average value carries the same units as . If is a temperature in degrees, the average value is in degrees. The integral picks up the units of , and dividing by removes them again.
Where the formula comes from
To average a list of numbers, add them and divide by . A function on an interval has infinitely many values, so start with a sample. Split into equal pieces of width and pick one value from each piece. Since , the sample average is
The sum on the right is a Riemann sum. As grows, it approaches , and the sample average approaches the formula above. The average value is the limit of ordinary averages taken over more and more sample points.
Average value and average rate of change
These two phrases sound alike and use the same interval, so they are easy to swap by accident. They answer different questions and use different operations.
| Average value of | Average rate of change of | |
|---|---|---|
| Formula | ||
| Operation | integrate, then divide | subtract, then divide |
| Picture | height of an equal-area rectangle | slope of the secant line |
| Units | units of | units of per unit of |
| Uses | every value of on | only the two endpoint values |
The two ideas connect through the Fundamental Theorem of Calculus. When is continuous, the average value of on is , which is the average rate of change of . In motion terms, the average value of velocity over a time interval equals displacement divided by elapsed time. The average value vs average rate of change page puts the two side by side.
Read the question for the object
Ask which function you are averaging. 'Average velocity' when you are given is an average value: integrate and divide. 'Average velocity' when you are given position is an average rate of change of : subtract and divide. Both give the same number for the same motion.
Where the function equals its average
If is continuous on , then takes on its average value at least once in the interval. That is, there is at least one number in with
This result is the Mean Value Theorem for Integrals. To find such a , compute the average value first, set equal to it, solve, and keep only solutions that lie in the interval. Continuity matters: a function with a jump can skip over its own average.
Common mistakes
- Stopping after the integral. The integral is the total; the average value needs the division by .
- Dividing by , or by the number of subintervals, in place of the interval length .
- Computing when the question asks for average value. That is average rate of change.
- Averaging the two endpoint values, . That matches the average value for linear functions and is generally wrong otherwise.
- Wrong units. The average value of a rate in liters per hour is still in liters per hour.
When is given only by a table, estimate the integral with a Riemann or trapezoidal sum first, then divide by . The division step does not change.
Worked examples
Worked example
Average value of a polynomial
Find the average value of on .
- Identify the interval length: .
- Integrate: .
- Divide by the interval length: .
Worked example
Average temperature over twelve hours
The temperature in a greenhouse is modeled by degrees Fahrenheit, where is in hours and . Find the average temperature over the hours.
- Set up the average value: .
- Find an antiderivative. The constant integrates to . For the sine term, an antiderivative of is , so the full antiderivative is .
- Evaluate from to : at the value is , and at it is . The difference is .
- Divide by : .
The average temperature is degrees Fahrenheit.
Worked example
Average value, average rate of change, and the point c
For on , find (a) the average value of , (b) the average rate of change of , and (c) the value of in where equals the average value.
- Part (a). Integrate: . Divide by the length : .
- Part (b). Use the endpoint values only: .
- Compare. The average value is a typical height of the graph. The average rate of change is the slope of the secant line from to . They are different numbers with different meanings.
- Part (c). Set : , so . Since lies in , it is the required value.
(a) , (b) , (c)
Frequently asked questions
What is the difference between average value and average rate of change?
Average value is , a typical height of with the same units as . Average rate of change is , the slope between the endpoints, with units of per unit of . The first needs an integral and the second needs only two function values.
Is the average value just the average of and ?
Not in general. It always matches for linear functions, and for other functions it matches only by coincidence. The average value depends on every value of across the interval. For on the endpoint average is , while the average value is .
Can the average value of a function be negative?
Yes. The integral counts area below the -axis as negative, so if the function is below the axis for enough of the interval, the integral and the average value are both negative.