---
title: "Finding the Average Value of a Function on an Interval | FiveStudy"
description: "Sum becomes an integral, count becomes the interval's length. That is the whole formula."
url: https://fivestudy.com/guides/ap-calculus-ab-8-1-finding-the-average-value-of-a-function
---

[AP Calculus AB](https://fivestudy.com/ap-calculus-ab) · Study guide

# Finding the Average Value of a Function on an Interval

[Figure: FiveStudy]

FiveStudy

AP® Calculus AB · Unit 8 · Applications of Integration

AP® Calculus AB · Unit 8 · Applications of Integration

# Average *Value*

The average of a few numbers is their sum divided by how many there are. The average of a function over an interval works the same way, with an integral as the sum. This guide shows the formula, what it means on a graph, and how it is used with rates and data.

1. The formula 2. Where the average is reached 3. Average of a rate 4. Signed averages 5. From data

The idea in one paragraph

The **average value** of \(f\) on \([a, b]\) is \(\dfrac{1}{b - a}\displaystyle\int_a^b f(x)\,dx\): the integral adds up \(f\) across the interval, and dividing by the length spreads that total evenly. On a graph, it is the height of the rectangle over \([a, b]\) with the same area as the region under \(f\). If \(f\) is continuous, it equals its average value at some point \(c\) in the interval.

## 1 The formula

\[ f_{\text{avg}} = \frac{1}{b - a}\int_a^b f(x)\,dx \]

Worked Example 1 Straight from the formula

### Average value of \(f(x) = x^2\) on \([0, 3]\)

1. 1

   \(\displaystyle\int_0^3 x^2\,dx = \frac{x^3}{3}\Big|_0^3 = 9\).

2. 2

   Divide by the length of the interval, \(3 - 0 = 3\): \(\frac{9}{3} = 3\).

**Answer:** \(f_{\text{avg}} = 3\)

**Figure 1.** The average value is the height of the rectangle with the same width and the same area as the region under the curve. The curve is below that height on the left and above it on the right; the two pieces of extra area balance.

Write it like this

“The average value of \(f\) on \([0, 3]\) is \(\dfrac{1}{3 - 0}\displaystyle\int_0^3 x^2\,dx = 3\).”

Common Mistake 1 · Dividing by the wrong number

Divide by the length of the interval, \(b - a\), not by \(b\), by the number of data points, or by 2. On \([2, 5]\) the divisor is 3.

## 2 Where the average is reached

Worked Example 2 Where the average is reached

### Find \(c\) in \([0, 3]\) with \(f(c) = 3\)

1. 1

   \(f\) is continuous on \([0, 3]\), so the Mean Value Theorem for integrals guarantees such a \(c\).

2. 2

   Solve \(c^2 = 3\): \(c = \sqrt3 \approx 1.73\) (the negative root is not in the interval).

**Answer:** \(c = \sqrt3\), as marked in Figure 1.

Common Mistake 2 · Averaging the highest and lowest values

The midpoint of the range of \(x^2\) on \([0, 3]\) is \(\frac{0 + 9}{2} = 4.5\), not 3. The curve spends more of the interval at low heights, so its average is lower.

## 3 Average of a rate

Worked Example 3 Average of a rate

### Water flowing into a tank

Water flows into a tank at \(r(t) = 40 - 2t\) liters per minute for \(0 \le t \le 10\). Find the average flow rate and explain what it means.

1. 1

   \(\displaystyle\frac{1}{10}\int_0^{10}(40 - 2t)\,dt = \frac{1}{10}\left(400 - 100\right) = 30\).

2. 2

   The integral, 300 liters, is the total water added. A steady flow of 30 liters per minute for 10 minutes would add the same amount.

**Answer:** 30 liters per minute.

Common Mistake 3 · Mixing up average value and average rate of change

The average *value* of \(f\) is \(\frac{1}{b - a}\int_a^b f(x)\,dx\). The average *rate of change* of \(f\) is \(\frac{f(b) - f(a)}{b - a}\), a slope. For a rate \(r\), its average value equals the average rate of change of the amount, which is why Worked Example 3 works.

## 4 Signed averages

Worked Example 4 A signed average

### \(\sin x\) on \([0, 2\pi]\) and on \([0, \pi]\)

1. 1

   \(\displaystyle\int_0^{2\pi}\sin x\,dx = 0\): the area above the axis cancels the area below. Average value 0.

2. 2

   \(\displaystyle\int_0^{\pi}\sin x\,dx = 2\), so the average on \([0, \pi]\) is \(\frac{2}{\pi} \approx 0.637\).

**Answer:** 0 on \([0, 2\pi]\); \(\frac{2}{\pi} \approx 0.637\) on \([0, \pi]\).

## 5 From data

Worked Example 5 From a table

### Average temperature

Temperatures (°F) are recorded every 2 hours:

| t (hours) | 0 | 2 | 4 | 6 | 8 |
| --- | --- | --- | --- | --- | --- |
| T(t) | 60 | 64 | 70 | 68 | 62 |

1. 1

   Estimate \(\int_0^8 T(t)\,dt\) with a trapezoidal sum: \(2\cdot\frac{60 + 64}{2} + 2\cdot\frac{64 + 70}{2} + 2\cdot\frac{70 + 68}{2} + 2\cdot\frac{68 + 62}{2} = 526\).

2. 2

   Divide by 8 hours: \(\frac{526}{8} = 65.75\).

**Answer:** The average temperature over the 8 hours is about 65.75 °F.

Common Mistake 4 · Leaving off the units

An average value is a height on the graph of \(f\), so it has the units of \(f\): liters per minute in Worked Example 3, °F in Worked Example 5. It is not an area.

### Quick reference

| Item | Rule |
| --- | --- |
| Average value | \(\frac{1}{b - a}\int_a^b f(x)\,dx\) |
| Where it is reached | Solve \(f(c) = f_{\text{avg}}\) (exists if f is continuous) |
| Units | Same as f |
| Average rate of change | \(\frac{f(b) - f(a)}{b - a}\): a different question |

FiveStudy AP® Calculus AB · Average value
