Unit 8Average Value of a Function
Concept 4.137Built for May 2027 AP Exam

Average Value of a Function

Reviewed by ACEpath AP Math Editorial Team

Last Updated: September 2026

30-second summary

The average value of a continuous function on an interval is its integral divided by the width of that interval, written fˉ=1b−a∫abf(x) dx\bar{f} = \frac{1}{b - a}\int_a^b f(x)\,dx. The number that comes out is a height, and its units are the units of ff. Two ideas keep the formula honest. The integral accumulates the total, and the division by b−ab - a spreads that total evenly across the interval. A rate averaged over time is the same computation: gallons per hour averaged over hours, or fish per hour averaged over five hours. Do not confuse this with the average rate of change, which is a slope between two endpoints and carries units of output per input. The integral mean value theorem guarantees that a continuous function actually reaches its average somewhere inside the interval.

On the AP Exam

AP Calculus AB tests this skill through the representations and reasoning described below.

What you’ll see
A contextual part that gives a rate and asks for the average over a stated time interval, or a function and asks for its average height. Some years add a second step: find the input at which the function hits that average.
What you’ll do
Integrate over the stated interval, divide by its width, and attach units. If the question asks where the function equals its average, set f(x)=fˉf(x) = \bar{f} and solve, citing continuity.
Memory hook
Integrate, then divide. The integral is the total; the width is how many units you spread it over.
Use it on the exam
For MCQs: Check the width first. Dividing by bb instead of b−ab - a is the most common arithmetic slip, especially when a≠0a \neq 0. For FRQs: Write the setup as one line: 1b−a∫ab\frac{1}{b - a}\int_a^b with the limits shown. The setup usually earns a point before any antiderivative appears.

Concept Review

The Formula and What It Measures

Figure 1 — The average value is the horizontal level at which the area above the curve equals the area below it.

A function can take infinitely many values on an interval, so “the average” needs a definition. The definition that behaves like an average is the one that makes the rectangle of height fˉ\bar{f} have the same area as the region under the curve:

fˉ=1b−a∫abf(x) dx⟺∫abf(x) dx=fˉ (b−a)\bar{f} = \frac{1}{b - a}\int_a^b f(x)\,dx \qquad\Longleftrightarrow\qquad \int_a^b f(x)\,dx = \bar{f}\,(b - a)

Read the right-hand version: total area equals a rectangle of height fˉ\bar{f} and width b−ab - a. That is the whole idea. Everything else on this page is bookkeeping about which interval you are averaging over.

A curve above and below its average value, with the two areas marked as equal

Units Come From the Division

The integral carries units of ff times units of xx. Dividing by the width cancels the xx, so the average value carries the units of ff alone.

ContextIntegral givesDivide byAverage carries
ff is a height in feetfeet ⋅\cdot secondssecondsfeet
ff is a flow rate in gal/mingallonsminutesgallons per minute
ff is a density in mg/cm²milligramscentimetersmg per cm
ff is speed in m/smeterssecondsmeters per second

The last row deserves care. Average speed is the average value of speed, which is total distance over total time. Average velocity is the average value of velocity, which is displacement over time. Those two numbers differ whenever the particle reverses.

Average Value Versus Average Rate of Change

These two quantities look similar and answer different questions. One is a height; the other is a slope.

QuantityFormulaUnitsQuestion it answers
Average value of ff1b−a∫abf(x) dx\frac{1}{b - a}\int_a^b f(x)\,dxunits of ffhow high is ff on average
Average rate of change of fff(b)−f(a)b−a\frac{f(b) - f(a)}{b - a}units of ff per unit of xxhow fast does ff climb on average

A released item can put both in the same question. Read the noun: “average number of acres” is a value, while “average rate of change of the number of acres” is a slope. The second one is a Unit 5 idea, and it is scored there.

The Integral Mean Value Theorem

If ff is continuous on [a,b][a, b], then there is at least one cc in (a,b)(a, b) with

f(c)=1b−a∫abf(x) dxf(c) = \frac{1}{b - a}\int_a^b f(x)\,dx

The proof is one line from the picture. The average sits between the minimum and the maximum of ff, and a continuous function takes every intermediate value. So the graph crosses the level fˉ\bar{f} somewhere.

Two consequences matter for scoring. First, existence is guaranteed for continuous functions and for nothing weaker. Second, the theorem promises a cc without telling you where it is; you find it by solving f(c)=fˉf(c) = \bar{f}, and a question that asks “for what value of kk” is doing exactly that.

When the Interval Is Not $[0, b]$

Most errors on this topic come from the width. If the interval is [1,4][1, 4], the divisor is 33, not 44. The same trap appears when the interval is given in a table as the first and last input.

A quick check catches it. The average value must lie between the smallest and largest values of ff on the interval. If your answer falls outside that band, you divided by the wrong width or integrated over the wrong limits.

Common Misconception Check

  • Myth 1: “The average value is the average of the endpoints.” Truth: That is the trapezoid approximation, and it is exact only for linear functions.
  • Myth 2: “Average value and average rate of change are two names for the same thing.” Truth: One is a height, the other a slope, and their units differ.
  • Myth 3: “The function must reach its average value at one of the endpoints.” Truth: The theorem places cc strictly inside the interval, and the endpoints are excluded.

Topic-Specific Study Method

Read the Noun Before You Integrate

Borrowed idea: An average value is a height, not a total. The integral collects the total, and the interval width spreads it evenly. Divide by the width. Never divide by the upper limit alone, especially when the interval does not start at zero. Units decide which of the two averages a question is asking for. A height keeps the units of the function itself. A slope adds one unit of input underneath the output. When a question asks where the function equals its average, solve for that input. Continuity is what guarantees the solution exists.

Exam disguiseWhat you see on the pageWhat your brain must translateRequired execution
“average number of fish per hour”a rate and a time spanaverage value of the rateintegrate, then divide by the span
“average height of the tree”a height function and datesaverage value of the heightsame, with units of feet
“average rate of change of CC”a slope questionnot this pageuse C(b)−C(a)b−a\frac{C(b) - C(a)}{b - a}
“for what kk is g(k)g(k) equal to the average”an equation in kksolve g(k)=gˉg(k) = \bar{g}compute gˉ\bar{g} first, then solve
“average velocity over 6≤t≤126 \le t \le 12”a velocity and a windowdisplacement divided by widthintegrate vv, divide by 66

① Write the divisor before the antiderivative, so the width cannot be forgotten under time pressure.

② State units on the answer, because a correct number with wrong units scores as a wrong answer in context parts.

③ For the “where does it equal the average” variant, compute the average first and set it aside as a number. Then solve a separate equation.

Training & Error Diagnosis

Core Archetype (Simplest Form): Find the average value of f(x)=4−x2f(x) = 4 - x^{2} on [0,2][0, 2].

Standard Execution:

  1. Width. b−a=2b - a = 2.
  2. Integral. ∫02(4−x2)dx=[4x−x33]02=8−83=163\int_0^2 \left(4 - x^{2}\right)dx = \left[4x - \frac{x^{3}}{3}\right]_0^2 = 8 - \frac{8}{3} = \frac{16}{3}.
  3. Divide. fˉ=12⋅163=83\bar{f} = \frac{1}{2} \cdot \frac{16}{3} = \frac{8}{3}.
  4. Check. The function runs from 44 down to 00 on this interval, and 83≈2.67\frac{8}{3} \approx 2.67 lies inside that band.

Exam Variation (Context / Parameter Shift): Water enters a tank at a rate of R(t)=3+2sin⁡(t2)R(t) = 3 + 2\sin\left(\frac{t}{2}\right) gallons per hour, for 0≤t≤40 \le t \le 4 hours. Find the average rate of flow over the interval, and find the time at which the actual rate equals that average.

Solution: The average is 14∫04(3+2sin⁡t2)dt=14[3t−4cos⁡t2]04=14(16−4cos⁡2)=4−cos⁡2≈4.416\frac{1}{4}\int_0^4\left(3 + 2\sin\frac{t}{2}\right)dt = \frac{1}{4}\left[3t - 4\cos\frac{t}{2}\right]_0^4 = \frac{1}{4}\left(16 - 4\cos 2\right) = 4 - \cos 2 \approx 4.416 gallons per hour. Setting R(t)=4−cos⁡2R(t) = 4 - \cos 2 gives 2sin⁡t2=1−cos⁡22\sin\frac{t}{2} = 1 - \cos 2, so sin⁡t2≈0.7081\sin\frac{t}{2} \approx 0.7081 and t=2arcsin⁡(0.7081)≈1.573t = 2\arcsin(0.7081) \approx 1.573 hours. The rate is continuous, so the integral mean value theorem guarantees such a time exists; the computation finds it.

Common Traps & Failure Signals:

  1. Width wrong (Signal: dividing by bb on an interval that starts at 11): the divisor is always b−ab - a.
  2. Endpoint average (Signal: f(a)+f(b)2\frac{f(a) + f(b)}{2} used for a curved graph): that is exact only for a line.
  3. Average confused with slope (Signal: units of feet per second on an “average height” answer): the noun in the question decides.

6D Cognitive Error Diagnosis (Where Your Thinking Broke):

  • Width Missed: You divided by the upper limit.
    • Curve Ignored: You averaged the two endpoints, which treats every graph as if it were a straight line and quietly assumes the area under a curve is a trapezoid.
    • Noun Skipped: You computed the average rate of change when the question asked for the average value, and the two answers differ by a factor with units.

Past 10-Year AP Exam Appearance

Testing Frequency
Nearly Every Year
Seven of the nine released exams since 2017 ask for an average value, and all seven phrase it in context, either as an average rate per unit time or as an average amount over a span
10-Year Total Count
7 of 9 Exams · 7 FRQ Parts
Every one of the seven appears as a single part worth one or two points, and none of them asks for a symbolic average with no context attached
FRQ Years Appeared
2018 (Q4c), 2019 (Q1b), 2021 (Q1d), 2022 (Q1b), 2023 (Q1c), 2025 (Q1A), 2026 (Q5D)

Practice Examples

MCQ 1

Average Value From Scratch

The average value of f(x)=x2f(x) = x^{2} on the interval [0,3][0, 3] is

MCQ 2

Averaging a Rate

A pump moves water at a rate of r(t)=6−tr(t) = 6 - t gallons per minute for 0≤t≤40 \le t \le 4 minutes. The average rate of flow over this interval is

MCQ 3

What the Theorem Guarantees

If ff is continuous on [a,b][a, b], which statement is guaranteed by the integral mean value theorem?

FRQ 4

A Height, a Rate, and a Theorem

(a) Find the average value of f(x)=4−x2f(x) = 4 - x^{2} on the interval [0,2][0, 2].

(b) Water enters a tank at a rate of R(t)=3+2sin⁡(t2)R(t) = 3 + 2\sin\left(\frac{t}{2}\right) gallons per hour for 0≤t≤40 \le t \le 4 hours. Find the average rate of flow over this interval and state its units.

(c) Explain why the average value of a function on [a,b][a, b] need not equal f(a)+f(b)2\frac{f(a) + f(b)}{2}, and state precisely what continuity guarantees about the level fˉ\bar{f}.

Cheatsheet

Core Reference

ActionFailure if skipped
1identify the interval and compute b−ab - athe divisor is wrong and every later line inherits it
2integrate the function over that intervalthe total is missing
3divide the integral by b−ab - athe answer is a total, not an average
4attach the units of ffcontext points are lost
5check the answer lies between the min and max of ffan arithmetic error passes unnoticed
6for the “where” variant, solve f(c)=fˉf(c) = \bar{f} and cite continuitythe justification point is lost

Sentences That Score

TOPIC REVIEW • NEXT STEP IN YOUR LEARNING LOOP

Ready to check your understanding?

Strengthen this topic with AP-style practice, or continue to next topic.