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
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, you add them and divide by how many numbers there are. The average value of a continuous function on an interval works the same way. The difference is that, instead of adding up a list of separate values, you use an integral to accumulate values continuously across the interval, then divide by the interval length.

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.

The area under f(x) from a to b is:

Area =∫ab​f(x)dx

The average value is:

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

So a rectangle with width b−a and height favg​ has area:

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

This is why you can think of favg​ as a “flattened” height that would produce the same total accumulated area over the interval.

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

  1. 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 the interval 3≤t≤7 is

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

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

≈73.333

So the average temperature over those 4 hours is 73.333°F.

To find when the temperature equals this average value, set T(t) equal to Tavg​:

73.333=t3−5t2+60

Solving with a calculator gives

t=5.449

That is about 5:27 AM.

  1. 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 an accumulation function:

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

By the Fundamental theorem of calculus,

V′(t)=r(t)

and

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

Use the second derivative test for concavity:

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

So we need the sign of r′(t). Differentiate r(t):

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

To see where the sign could change, find where r′(t)=0:

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

sin(3πt​)=0

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

t=0,3,6,...

On the interval 4<t<6, there are no zeros of r′(t), so the sign stays consistent throughout that interval. Check a convenient point, such as t=4:

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

=−32π​(−23​​)

=623​​

Since r′(t)>0 on 4<t<6, we have V′′(t)>0 there, so V(t) is concave up on that interval.

  1. 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 measures hours after opening at 9 AM, the interval from 12 PM to 6 PM corresponds to t=3 to t=9. Integrating the rate over this time interval gives the accumulated number of customers.

∫39​R(t)dt

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

=120 customers​

b) Average value

(spoiler)

This asks for the average rate of customers entering the store, which is the average value of R(t) over [3,9]:

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

=61​⋅120

=20 customers per hour​

c) Average rate of change

(spoiler)

Here you’re not averaging the rate itself; you’re averaging how the rate changes over time. That’s the average rate of change of R(t) on [3,9]:

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

=−1.667

The negative sign means the entry rate decreased overall from t=3 to t=9, by about 1.67 customers per hour per hour on average.

Average value of a function

  • Formula: favg​=b−a1​∫ab​f(x)dx
  • Units match those of f(x)
  • Concept: continuous analog of arithmetic mean

Geometric interpretation

  • favg​ = height of rectangle with base b−a and same area as under f(x) on [a,b]
  • Area under f(x): ∫ab​f(x)dx
  • Rectangle area: (b−a)⋅favg​

Example calculations

  • Use definite integral to accumulate values
  • Divide by interval length for average
  • Example: f(x)=x2 on [1,3] yields favg​≈4.333

Applications & real-world contexts

  • Average temperature: integrate T(t) over time, divide by interval length
    • Example: Tavg​≈73.333∘F between 3 AM and 7 AM
    • Set T(t)=Tavg​ to find when this value occurs

Total accumulation and average rate (flow problems)

  • Total amount: ∫ab​r(t)dt
    • Example: ∫030​r(t)dt=300 liters
  • Average rate: b−a1​∫ab​r(t)dt
    • Example: ravg​=10 liters/min

Concavity of accumulation functions

  • V(t)=∫0t​r(x)dx
    • V′(t)=r(t), V′′(t)=r′(t)
  • Concave up if r′(t)>0; concave down if r′(t)<0
    • Example: V(t) is concave up on 4<t<6

Interpreting rate functions (customers per hour)

  • Total customers: integrate rate over time interval
    • Example: ∫39​R(t)dt=120 customers
  • Average rate: average value of R(t) over interval
    • Example: Ravg​=20 customers/hour
  • Average rate of change: b−aR(b)−R(a)​
    • Example: −1.67 customers/hour² (rate decreasing)

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

All rights reserved ©2016 - 2026 Achievable, Inc.

Average value of a function

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, you add them and divide by how many numbers there are. The average value of a continuous function on an interval works the same way. The difference is that, instead of adding up a list of separate values, you use an integral to accumulate values continuously across the interval, then divide by the interval length.

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.

The area under f(x) from a to b is:

Area =∫ab​f(x)dx

The average value is:

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

So a rectangle with width b−a and height favg​ has area:

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

This is why you can think of favg​ as a “flattened” height that would produce the same total accumulated area over the interval.

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

  1. 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 the interval 3≤t≤7 is

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

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

≈73.333

So the average temperature over those 4 hours is 73.333°F.

To find when the temperature equals this average value, set T(t) equal to Tavg​:

73.333=t3−5t2+60

Solving with a calculator gives

t=5.449

That is about 5:27 AM.

  1. 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 an accumulation function:

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

By the Fundamental theorem of calculus,

V′(t)=r(t)

and

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

Use the second derivative test for concavity:

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

So we need the sign of r′(t). Differentiate r(t):

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

To see where the sign could change, find where r′(t)=0:

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

sin(3πt​)=0

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

t=0,3,6,...

On the interval 4<t<6, there are no zeros of r′(t), so the sign stays consistent throughout that interval. Check a convenient point, such as t=4:

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

=−32π​(−23​​)

=623​​

Since r′(t)>0 on 4<t<6, we have V′′(t)>0 there, so V(t) is concave up on that interval.

  1. 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 measures hours after opening at 9 AM, the interval from 12 PM to 6 PM corresponds to t=3 to t=9. Integrating the rate over this time interval gives the accumulated number of customers.

∫39​R(t)dt

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

=120 customers​

b) Average value

(spoiler)

This asks for the average rate of customers entering the store, which is the average value of R(t) over [3,9]:

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

=61​⋅120

=20 customers per hour​

c) Average rate of change

(spoiler)

Here you’re not averaging the rate itself; you’re averaging how the rate changes over time. That’s the average rate of change of R(t) on [3,9]:

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

=−1.667

The negative sign means the entry rate decreased overall from t=3 to t=9, by about 1.67 customers per hour per hour on average.

Key points

Average value of a function

  • Formula: favg​=b−a1​∫ab​f(x)dx
  • Units match those of f(x)
  • Concept: continuous analog of arithmetic mean

Geometric interpretation

  • favg​ = height of rectangle with base b−a and same area as under f(x) on [a,b]
  • Area under f(x): ∫ab​f(x)dx
  • Rectangle area: (b−a)⋅favg​

Example calculations

  • Use definite integral to accumulate values
  • Divide by interval length for average
  • Example: f(x)=x2 on [1,3] yields favg​≈4.333

Applications & real-world contexts

  • Average temperature: integrate T(t) over time, divide by interval length
    • Example: Tavg​≈73.333∘F between 3 AM and 7 AM
    • Set T(t)=Tavg​ to find when this value occurs

Total accumulation and average rate (flow problems)

  • Total amount: ∫ab​r(t)dt
    • Example: ∫030​r(t)dt=300 liters
  • Average rate: b−a1​∫ab​r(t)dt
    • Example: ravg​=10 liters/min

Concavity of accumulation functions

  • V(t)=∫0t​r(x)dx
    • V′(t)=r(t), V′′(t)=r′(t)
  • Concave up if r′(t)>0; concave down if r′(t)<0
    • Example: V(t) is concave up on 4<t<6

Interpreting rate functions (customers per hour)

  • Total customers: integrate rate over time interval
    • Example: ∫39​R(t)dt=120 customers
  • Average rate: average value of R(t) over interval
    • Example: Ravg​=20 customers/hour
  • Average rate of change: b−aR(b)−R(a)​
    • Example: −1.67 customers/hour² (rate decreasing)