Skip to main content

8.1 Finding the Average Value of a Function on an Interval

add to ChatGPT
Verified for the 2027 examUpdated September 2026Fiveable Content Team
Fiveable

♾️AP Calculus AB/BC Unit 8 Review

QR code for AP Calculus AB/BC practice questions

8.1 Finding the Average Value of a Function on an Interval

The average value of a continuous function ff on a closed interval [a,b][a,b] is 1b−a∫abf(x) dx\frac{1}{b-a}\int_a^b f(x)\,dx. You integrate the function over the interval, then divide by the interval width to get the average height of the curve. For AP Calculus, do not confuse average value with average rate of change; average value uses an integral, not a slope formula.

8.1 Average Value of a Function

In AP Calculus 8.1, the average value of a continuous function on [a,b][a,b] is 1b−a∫abf(x) dx\frac{1}{b-a}\int_a^b f(x)\,dx. You can think of it as the constant height that would give the same total area over the interval.

This is different from average rate of change. Average value uses an integral and returns a typical y-value of the function; average rate of change uses f(b)−f(a)b−a\frac{f(b)-f(a)}{b-a} and returns the slope between two points.

Average value lets you find average velocity, average temperature, or any average over time when you have a function instead of a list of data points. On the exam it is often paired with the Fundamental Theorem of Calculus.

Average Value Is an Integral Divided by Width

  • The formula is Average Value=1b−a∫abf(x) dx\text{Average Value} = \frac{1}{b-a}\int_a^b f(x)\,dx, and it requires ff to be continuous on [a,b][a,b].
  • Average value gives an average y-value (height), not a slope or rate of change.
  • The integral finds the accumulated area under the curve; dividing by b−ab-a spreads that area evenly across the interval.
  • Use the Fundamental Theorem of Calculus to evaluate the definite integral: find an antiderivative, then compute F(b)−F(a)F(b)-F(a).
  • Watch your units. If f(t)f(t) is velocity in meters per second, the average value is also in meters per second.
  • In applied problems, average value answers questions like average velocity: vavg=1b−a∫abv(t) dtv_{avg}=\frac{1}{b-a}\int_a^b v(t)\,dt.

Average Value of a Function

When a problem asks for the average of a function over an interval, you do not have a finite set of data points to add up and divide. Instead, integration handles infinitely many values across [a,b][a,b].

If ff is continuous on [a,b][a,b], then the average value of ff on [a,b][a,b] is:

Average Value=1b−a∫abf(x) dx\text{Average Value} = \frac{1}{b-a} \int_{a}^{b} f(x) \, dx

One way to picture this: the average value is the height of a rectangle that has the same width (b−a)(b-a) and the same area as the region under the curve. That is why favgf_{avg} can land below, at, or above the midpoint of the function's range, depending on the curve's shape.

Steps to Find Average Value

  1. Set up the definite integral of f(x)f(x) from aa to bb. This gives the accumulated area under the curve between the two limits.
  2. Multiply by the fraction 1b−a\frac{1}{b-a}, the reciprocal of the interval's width.
  3. Evaluate using the Fundamental Theorem of Calculus to get the average y-value of the function on [a,b][a,b].

Worked Example

Consider f(x)=2x2−3x+5f(x) = 2x^2 - 3x + 5 on the interval [1,4][1,4]. Find the average value of this function on the interval.

Here a=1a = 1 and b=4b = 4. Substitute these into the width term and the limits of integration.

Average Value=14−1∫14(2x2−3x+5) dx\text{Average Value} = \frac{1}{4-1} \int_{1}^{4} (2x^2 - 3x + 5) \, dx

Find an antiderivative of f(x)f(x).

=13[23x3−32x2+5x]14= \frac{1}{3} \left[ \frac{2}{3}x^3 - \frac{3}{2}x^2 + 5x \right]_{1}^{4}

Substitute the limits and evaluate.

13[(23(4)3−32(4)2+5(4))−(23(1)3−32(1)2+5(1))]=232 \frac{1}{3} \left[ \left( \frac{2}{3}(4)^3 - \frac{3}{2}(4)^2 + 5(4) \right) - \left( \frac{2}{3}(1)^3 - \frac{3}{2}(1)^2 + 5(1) \right) \right] =\boxed{\frac{23}{2}}

Setting Up and Reporting Average Value Problems

Problem Solving:

  • Identify aa, bb, and f(x)f(x) from the problem before plugging into the formula.
  • Write the full expression with the 1b−a\frac{1}{b-a} factor in front. Forgetting this factor is the most common error.
  • Evaluate the integral carefully. On a calculator-allowed section, you can compute the definite integral directly, but still show the correct setup.

Free Response:

  • Average value often appears as one part of a larger free-response problem. Present a correct expression using proper notation before computing.
  • When the function is given in context (like velocity or temperature over time), state the average value with its units and, when asked, interpret what it means.

Common Trap:

  • Do not confuse average value with average rate of change. Average value uses an integral; average rate of change uses f(b)−f(a)b−a\frac{f(b)-f(a)}{b-a}.

Average Value of a Function Practice Problems

Give each of these problems a try before you move on to the solutions.

  1. What is the average value of 5x2+45x^2+4 on the interval 0≤x≤60\le x\le 6?
  2. What is the average value of x3−x2x^3-x^2 on the interval 2≤x≤52\le x\le 5?
  3. What is the average value of sin⁡(x)+cos⁡(x)\sin(x)+\cos(x) on the interval 0≤x≤π0\le x\le \pi?

Solutions

Question 1 Solution

Average Value=16−0∫06(5x2+4) dx\text{Average Value} = \frac{1}{6-0} \int_{0}^{6} (5x^2+4) \, dx =16[53x3+4x]06= \frac{1}{6} \left[ \frac{5}{3}x^3 +4x \right]_{0}^{6} 16[(53(6)3+4(6))−(53(0)3+4(0))]=64 \frac{1}{6} \left[ \left( \frac{5}{3}(6)^3 + 4(6) \right) - \left( \frac{5}{3}(0)^3 + 4(0) \right) \right] =\boxed{64}

Question 2 Solution

Average Value=15−2∫25(x3−x2) dx\text{Average Value} = \frac{1}{5-2} \int_{2}^{5} (x^3-x^2) \, dx =13[14x4−13x3]25= \frac{1}{3} \left[ \frac{1}{4}x^4 - \frac{1}{3} x^3 \right]_{2}^{5} 13[(14(5)4−13(5)3)−(14(2)4−13(2)3)]=1514 \frac{1}{3} \left[ \left( \frac{1}{4}(5)^4 - \frac{1}{3}(5)^3 \right) - \left( \frac{1}{4}(2)^4 - \frac{1}{3}(2)^3 \right) \right] =\boxed{\frac{151}{4}}

Question 3 Solution

Average Value=1π−0∫0πsin⁡(x)+cos⁡(x) dx\text{Average Value} = \frac{1}{\pi-0} \int_{0}^{\pi} \sin(x)+\cos(x) \, dx =1π[−cos⁡(x)+sin⁡(x)]0π= \frac{1}{\pi} \left[ -\cos(x)+\sin(x)\right]_{0}^{\pi} 1π[(−cos⁡(π)+sin⁡(π))−(−cos⁡(0)+sin⁡(0))]=2π \frac{1}{\pi} \left[ \left( -\cos(\pi) + \sin(\pi) \right) - \left( -\cos(0) + \sin(0) \right) \right] =\boxed{\frac{2}{\pi}}

Common Misconceptions

  • Misconception: Average value is average rate of change.
    Actually: Average value is not average rate of change. Average value averages the function's height using an integral. Average rate of change is the slope f(b)−f(a)b−a\frac{f(b)-f(a)}{b-a} between two points. Problems often test whether you can tell them apart.
  • Misconception: The definite integral alone gives the average.
    Actually: Do not forget the 1b−a\frac{1}{b-a} factor. The definite integral alone gives accumulated area, not the average. You must divide by the width of the interval.
  • Misconception: The average value is an x-value.
    Actually: The average value is a y-value, not an x-value. It tells you the typical height of the function, not where that height occurs.
  • Misconception: The function does not need to be continuous on [a,b][a,b].
    Actually: The function should be continuous on [a,b][a,b]. The formula is stated for a continuous function over a closed interval, so check that before applying it.
  • Misconception: The average value carries the units of area.
    Actually: Match the units to the function. If ff has units (like meters per second), the average value carries those same units, not the units of area.

Practice Questions for 8.1

1 of 10

A city's electricity demand throughout a 24-hour day is modeled by d(t)=800+200cos⁡(πt12)d(t) = 800 + 200\cos\left(\frac{\pi t}{12}\right) megawatts, where tt is hours after midnight. The average electricity demand over the full 24-hour period is calculated to be 800 megawatts. What does this average demand value represent for the city's power grid?

A.

The maximum electricity demand the city experiences during the 24-hour period

B.

The constant power level equivalent to total energy consumption over 24 hours

C.

The rate at which electricity demand is increasing or decreasing at midnight

D.

The electricity demand at noon, representing the middle of the day's peak usage

Vocabulary

The following words are mentioned explicitly in the AP® course framework for this topic.

Term

Definition

average value of a function

The mean value of a function over a specified interval, calculated using the formula (1/(b-a)) ∫[a to b] f(x) dx.

continuous

A function that has no breaks, jumps, or holes in its graph over a given interval.

definite integral

The integral of a function over a specific interval [a, b], representing the net signed area between the curve and the x-axis.

interval

A connected set of real numbers, typically expressed as a range between two endpoints.

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google