AP® Calculus AB & BC · Unit 8

How Do You Find the Average Value of a Function?

The average value of a continuous function ff on [a,b][a,b] is 1b−a∫abf(x) dx\dfrac{1}{b-a}\displaystyle\int_a^b f(x)\,dx — the integral divided by the length of the interval, not the integral alone. The Mean Value Theorem for Integrals guarantees that a continuous function actually equals its average value at some point cc strictly inside the interval, though there can be more than one such point.

Average value and the Mean Value Theorem for Integrals

Average value of ff on [a,b][a,b]: favg=1b−a∫abf(x) dxf_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx Mean Value Theorem for Integrals: if ff is continuous on [a,b][a,b], there exists at least one c∈(a,b)c \in (a,b) such that f(c)=favgf(c) = f_{\text{avg}}.

Step-by-Step Method

  1. Compute ∫abf(x) dx\displaystyle\int_a^b f(x)\,dx using any valid integration technique.
  2. Divide that integral by (b−a)(b-a), the length of the interval, to get the average value.
  3. If asked to find a guaranteed point cc, set f(c)f(c) equal to the average value you just found and solve for cc.
  4. Check that your solution for cc actually lies strictly inside the open interval (a,b)(a,b) — if it only solves the equation outside the interval, keep looking or reconsider the setup.
  5. Remember the theorem guarantees at least one such cc, not exactly one — a function can equal its average value at several points.

Worked Examples

Foundational — a polynomialFind the average value of f(x)=x2f(x)=x^2 on [0,3][0,3], and find a value of cc guaranteed by the Mean Value Theorem for Integrals.
  1. Average value: 13∫03x2 dx=13[x33]03=13(9)=3\dfrac{1}{3}\displaystyle\int_0^3 x^2\,dx = \dfrac13\left[\dfrac{x^3}{3}\right]_0^3 = \dfrac13(9) = 3.
  2. Find cc: set f(c)=c2=3f(c)=c^2=3, so c=3c=\sqrt3 (taking the positive root, since cc must lie in (0,3)(0,3)).
  3. Check: 3≈1.73\sqrt3 \approx 1.73, which is indeed strictly between 00 and 33, and f(3)=(3)2=3f(\sqrt3)=\left(\sqrt3\right)^2=3 matches the average exactly — both conditions the theorem requires are satisfied.
Harder — a trig function with two valid values of cFind the average value of f(x)=sin⁡xf(x)=\sin x on [0,π][0,\pi], and find all values of cc guaranteed by the Mean Value Theorem for Integrals.
  1. Average value: 1π∫0πsin⁡x dx=1π[−cos⁡x]0π=1π(1−(−1))=2π\dfrac{1}{\pi}\displaystyle\int_0^\pi \sin x\,dx = \dfrac1\pi\left[-\cos x\right]_0^\pi = \dfrac1\pi\left(1-(-1)\right) = \dfrac{2}{\pi}.
  2. Cross-check the integral using symmetry instead: sin⁡x\sin x on [0,π][0,\pi] is symmetric about x=π2x=\dfrac\pi2, so ∫0πsin⁡x dx=2∫0π/2sin⁡x dx=2[−cos⁡x]0π/2=2(1)=2\displaystyle\int_0^\pi \sin x\,dx = 2\int_0^{\pi/2}\sin x\,dx = 2\left[-\cos x\right]_0^{\pi/2} = 2(1) = 2 — matching the direct computation, since 2π⋅π=2\dfrac2\pi \cdot \pi = 2.
  3. Find cc: solve sin⁡c=2π≈0.6366\sin c = \dfrac2\pi \approx 0.6366. Because sin⁡x\sin x is symmetric about x=π2x=\dfrac\pi2 on this interval, there are two solutions: c1=arcsin⁡ ⁣(2π)≈0.690c_1 = \arcsin\!\left(\dfrac2\pi\right) \approx 0.690 and c2=π−c1≈2.452c_2 = \pi - c_1 \approx 2.452, both strictly inside (0,π)(0,\pi).

Common Mistakes on the AP Exam

How This Appears on the AP Exam

Try a timed AP-style question on this topic — free.

Start Free

Frequently Asked Questions

What is the formula for the average value of a function?

It is 1b−a∫abf(x) dx\dfrac{1}{b-a}\displaystyle\int_a^b f(x)\,dx — the definite integral divided by the length of the interval.

What does the Mean Value Theorem for Integrals say?

For a continuous function on [a,b][a,b], there is guaranteed to be at least one point cc strictly inside the interval where f(c)f(c) equals the function’s average value over that interval.

Can a function have more than one value of c that satisfies the Mean Value Theorem for Integrals?

Yes — the theorem only guarantees at least one such point exists, not that it is unique. A symmetric function like sin⁡x\sin x on [0,π][0,\pi] can equal its average value at two different points.

Is the average value of a function the same as its average rate of change?

No. Average value uses the function’s integral divided by the interval length, while average rate of change uses f(b)−f(a)b−a\dfrac{f(b)-f(a)}{b-a} — a completely different calculation based on the derivative, not the integral.

Do you need a calculator to find the average value of a function on the AP exam?

Only if the integral itself requires one to evaluate — the setup (dividing by b−ab-a) is always done symbolically, whether or not a calculator is used for the integral.

Related Topics

Keep going with timed tests & full mocks, study materials for every unit, DME Nova — your AI tutorthat won't make up an answer, and FRQ feedback scored against an exam-style rubric.

Start Free

Written by the DME AP Calculus team — 20+ years of AP & STEM teaching.

Last updated: 2026-10-08

AP® is a registered trademark of the College Board, which is not affiliated with, and does not endorse, this site.