Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
8.1 Average value of a function
8.2 Motion with integrals
8.3 Area between curves
8.4 Volume
9. Testing details tag
10. test
Wrapping up
Achievable logoAchievable logo
8.1 Average value of a function
Achievable AP Calculus AB
8. Applications of integrals
Our AP Calculus AB course is currently in development and is a work-in-progress.

Average value of a function

6 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • What it means to find the average value of a continuous function and how to calculate it
  • How to interpret it geometrically and in real-world contexts

To find the average of a set of numbers, we add them and divide by how many numbers there are. The average value of a continuous function on an interval works the same way, but instead of summing discrete values, we integrate over the interval for the total accumulated value and divide that “sum” by the length of the interval.

Average value of a function

The average value of a continuous function f over [a,b] is:

favg​=b−a1​∫ab​f(x)dx

The units are the same as those of f(x).

Geometric interpretation

Geometrically, the average value of a function f(x) on the interval [a,b] is the height of a rectangle with base length b−a that has the same area as the region under f(x) from a to b.

If you compute the area under f(x):

Area =∫ab​f(x)dx

And the average value is

favg​=b−a1​∫ab​f(x)dx

then the rectangle of height favg​ and width b−a has area:

width(b−a)​​×heightfavg​​​=∫ab​f(x)dx

This helps us visualize favg​ as the “flattened” version of the function that would accumulate the same total value.

Examples

1. Find the average value of f(x)=x2 on the interval [1,3].

favg​=3−11​∫13​x2dx

=21​∫13​x2dx

=21​⋅3x3​​13​

=633​−613​

≈4.333

2. A room’s temperature, in degrees Fahrenheit, is given by T(t)=t3−5t2+60, where time t=0 hours is midnight. Find the average temperature between 3 AM and 7 AM and when that value occurs.

Solution

(spoiler)

The average temperature over interval 3≤t≤7 is

Tavg​=7−31​∫37​(t3−5t2+60)dt

=41​∫37​(t3−5t2+60)dt

≈73.333

The average temperature over those 4 hours is 73.333°F.

The function reaches this value when

73.333=t3−5t2+60

Solving with a calculator,

t=5.449

which is roughly around 5:27 am.

3. Water flows into a tank at a rate of r(t) liters per minute for 0≤t≤30, where

r(t)=10+2cos(3πt​)

a) Find the total volume of water that flows into the tank over the 30-minute interval.

b) Find the average flow rate over that time period.

c) Let V(t)=∫0t​r(x)dx represent the total amount of water (in liters) that has flowed into the tank from time t=0 to time t. Is V(t) concave up, concave down, or neither on the interval 4<t<6?

Solutions

a) Total volume of water over 0≤t≤30

(spoiler)

The total/accumulated volume is

∫030​r(t)dt=∫030​(10+2cos(3πt​))dt

=300 liters​

b) Average flow rate

(spoiler)

The average flow rate is the average value of r(t) over [0,30]:

ravg​=30−01​∫030​(10+2cos(3πt​))dt

=301​(300)

=10 liters/min​

c) Concavity of V(t)

(spoiler)

V(t) is defined as an accumulation function

V(t)=∫0t​r(x)dx

By the Fundamental theorem of calculus,

V′(t)=r(t)

and

V′′(t)=r′(t)

If:

  • V′′(t)>0, then V(t) is concave up.
  • V′′(t)<0, then V(t) is concave down.

So we need to analyze the sign of r′(t). Differentiating r(t),

r′(t)=−32π​sin(3πt​)

To find the sign of r′(t), or whether the graph is above or below the x-axis, let’s find where it equals 0.

−32π​sin(3πt​)=0

3πt​=0,π,2π...

t=0,3,6,...

This means that r′(t) is either above or below the x-axis on the entire interval 4<t<6. Plug in a value to check:

r′(4)=−32π​sin(34π​)

=−32π​(−23​​)

=623​​

Since r′(t) is positive on the interval 4<t<6, R(t) is concave up.

4. The function

R(t)=20+5sin(6πt​)

models the rate, in customers per hour, at which people enter a bookstore, where t is the number of hours after opening. The store is open from 9 AM to 9 PM.

a) How many customers enter the store between 12 PM and 6 PM? Include units.

b) At what rate were customers entering the store, on average, between 12 PM and 6 PM? Include units.

c) Between 12 PM and 6 PM, how did the rate of customer flow change per hour, on average?

Solutions

a) Total customers

(spoiler)

Since t is the number of hours after the opening time of 9 AM, the time interval from 12 PM to 6 PM corresponds to t=3 to t=9. Integrating the rate function over this time interval, gives the accumulated value, or the total number of customers.

∫39​R(t)dt

=∫39​(20+5sin(6πt​))dt

=120 customers​

b) Average value

(spoiler)

This question asks for the average rate of customers entering, or the average value of the rate function over the 6 hours from t=3 to t=9, which is

Ravg​=9−31​∫39​R(t)dt

=61​⋅120

=20 customers per hour​

c) Average rate of change

(spoiler)

The difference in wording is subtle, but this question asks for how the inflow rate itself changed, or the average rate of change of the rate function over the 6 hours. The previous part was about typical inflow of customers, while this question is about how the inflow rate trends over time.

The average rate of change of the rate is

9−3R(9)−R(3)​

=−1.667

This value is negative, which means that overall the inflow rate at t=9 was lower than that at t=3, with a net decrease of about 1.67 customers per hour per hour on average.

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.