Study Guide

Average value of a function on an interval

AP Calculus ABΒ· AP Calculus AB CED β€” Applications of IntegrationΒ· 14 min read

1. What Is the Average Value of a Function?β˜…β˜…β˜†β˜†β˜†β± 3 min

Unlike the average of a finite set of numbers (calculated by summing values and dividing by the number of terms), the average value of a continuous function accounts for infinitely many output values across an entire closed interval. This is a core application of definite integration, worth approximately 2-3% of the total AP Calculus AB exam score, and it appears in both multiple-choice and free-response sections.

Intuitively, the average value is the constant height that, when multiplied by the width of the interval, gives the exact net area under the original function over the interval. It is directly tied to the Mean Value Theorem for Integrals, which guarantees that any continuous function actually equals its average value at least once in the open interval.

2. The Average Value Formulaβ˜…β˜…β˜†β˜†β˜†β± 4 min

πŸ”¬ Derivation
Goal:

Derive the average value formula for a continuous function on

Starting from:

The average of discrete points on

  1. 1

    The average of discrete points on is given by:

  2. 2
    Average=f(x1)+f(x2)+...+f(xn)n\text{Average} = \frac{f(x_1) + f(x_2) + ... + f(x_n)}{n}
  3. 3

    If we split into equal subintervals, , so . Substitute this into the discrete average:

  4. 4
    Average=1bβˆ’aβˆ‘i=1nf(xi)Ξ”x\text{Average} = \frac{1}{b-a} \sum_{i=1}^n f(x_i) \Delta x
  5. 5

    As , the Riemann sum on the right converges to the definite integral of from to .

Result:

The average value of any continuous function on the closed interval is:

favg=1bβˆ’a∫abf(x)dxf_{\text{avg}} = \frac{1}{b-a} \int_a^b f(x) dx
πŸ“˜ Definition

Average Value of a Continuous Function

favgf_{\text{avg}}

The constant height of a rectangle with width that has the same net area as over , calculated by dividing the definite integral of by the interval width.

Example:

For over ,

πŸ“ Worked Example

Find the average value of over the interval .

  1. 1

    Identify interval endpoints and width: , , so .

  2. 2

    Substitute into the average value formula:

  3. 3
    favg=12∫13(3x2+2x)dxf_{\text{avg}} = \frac{1}{2} \int_1^3 (3x^2 + 2x) dx
  4. 4

    Evaluate the definite integral using the Fundamental Theorem of Calculus: the antiderivative is , so:

  5. 5
    [x3+x2]13=(27+9)βˆ’(1+1)=34\left[x^3 + x^2\right]_1^3 = (27 + 9) - (1 + 1) = 34
  6. 6

    Multiply by to get the final result:

  7. 7
    favg=12(34)=17f_{\text{avg}} = \frac{1}{2}(34) = 17

Exam tip:

Always calculate first and confirm your endpoints are ordered correctlyβ€”AP problems sometimes give the interval in reverse order, and a negative width will flip the sign of your final answer.

3. The Mean Value Theorem for Integralsβ˜…β˜…β˜…β˜†β˜†β± 3 min

The Mean Value Theorem for Integrals (MVT for Integrals) is the theoretical result that underpins the average value concept, and it is frequently tested in conceptual multiple-choice questions and as a short free-response part. It is analogous to the Mean Value Theorem for derivatives, which applies to average rates of change.

πŸ“˜ Definition

Mean Value Theorem for Integrals

If is continuous on the closed interval , then there exists at least one point in the open interval such that .

Example:

For over , is the guaranteed point inside the interval.

To solve MVT for Integrals problems, you first calculate using the standard formula, then set and solve for , discarding any solutions that do not lie inside the open interval .

πŸ“ Worked Example

For over , find the value of guaranteed by the Mean Value Theorem for Integrals.

  1. 1

    From the previous example, we already calculated .

  2. 2

    Set per the MVT for Integrals:

  3. 3
    3c2+2c=173c^2 + 2c = 17
  4. 4

    Rearrange into standard quadratic form:

  5. 5
    3c2+2cβˆ’17=03c^2 + 2c - 17 = 0
  6. 6

    Solve with the quadratic formula:

  7. 7
    c=βˆ’2Β±22+4(3)(17)2(3)=βˆ’1Β±2133c = \frac{-2 \pm \sqrt{2^2 + 4(3)(17)}}{2(3)} = \frac{-1 \pm 2\sqrt{13}}{3}
  8. 8

    The negative solution lies outside , so we discard it. The positive solution lies inside , so it is our result.

Exam tip:

Always verify that your value of falls inside the open interval β€”AP problems intentionally include extra roots outside the interval that you must discard to earn full credit.

4. Average Value from Graphs and Tablesβ˜…β˜…β˜…β˜†β˜†β± 3 min

A very common AP exam question asks for average value when you are not given an explicit function, but rather a graph of or a table of values over the interval. For graphs, you can calculate the definite integral by finding the net area under the curve (subtracting area below the x-axis from area above the x-axis) then divide by exactly as you would for an explicit function.

For tables with equally spaced x-values, you approximate the integral using the requested method (left Riemann sum, right Riemann sum, trapezoidal rule) then divide by to get the approximate average value. This tests your ability to apply the average value concept beyond just integrating a given function, aligned with AP CED learning objectives.

πŸ“ Worked Example

The velocity of a particle moving along the x-axis, in meters per second, is given in the table below for :

t (s)02468
v(t)25730

Use the trapezoidal rule with 4 equal-width subintervals to approximate the average value of over .

  1. 1

    Identify endpoints and width: , , so , .

  2. 2

    Set up the trapezoidal approximation for the integral:

  3. 3
    ∫08v(t)dtβ‰ˆΞ”t2[v(0)+2v(2)+2v(4)+2v(6)+v(8)]\int_0^8 v(t) dt \approx \frac{\Delta t}{2} \left[v(0) + 2v(2) + 2v(4) + 2v(6) + v(8)\right]
  4. 4

    Substitute the table values:

  5. 5
    ∫08v(t)dtβ‰ˆ22[2+2(5)+2(7)+2(3)+0]=32\int_0^8 v(t) dt \approx \frac{2}{2} \left[2 + 2(5) + 2(7) + 2(3) + 0\right] = 32
  6. 6

    Calculate approximate average value:

  7. 7
    vavg=18(32)=4 m/sv_{\text{avg}} = \frac{1}{8}(32) = 4 \text{ m/s}

Exam tip:

When approximating average value from a table, remember you still need to divide by after approximating the integralβ€”this is one of the most commonly missed steps on AP exams.

5. Additional AP-Style Worked Examplesβ˜…β˜…β˜…β˜…β˜†β± 4 min

πŸ“ Worked Example

What is the average value of over the interval ?

A. B. C. D.

  1. 1

    Identify , , so the interval width . Substitute into the average value formula:

  2. 2
    favg=1Ο€βˆ«0Ο€(2cos⁑x+ex)dxf_{\text{avg}} = \frac{1}{\pi} \int_0^\pi (2\cos x + e^x) dx
  3. 3

    The antiderivative of is . Evaluate from 0 to :

  4. 4
    (2sin⁑π+eΟ€)βˆ’(2sin⁑0+e0)=eΟ€βˆ’1(2\sin \pi + e^\pi) - (2\sin 0 + e^0) = e^\pi - 1
  5. 5

    Multiply by to get the final result. The correct answer is option C.

πŸ“ Worked Example

Let be the region bounded by and for . (a) Find the average value of over the interval . (b) Find the value of in guaranteed by the Mean Value Theorem for Integrals. (c) Explain what your result from part (a) means geometrically in terms of the area of region .

  1. 1

    Part (a): We have , , so . Set up the average value integral:

  2. 2
    favg=12∫02(4βˆ’x2)dxf_{\text{avg}} = \frac{1}{2} \int_0^2 (4 - x^2) dx
  3. 3

    The antiderivative is , so evaluating from 0 to 2 gives:

  4. 4
    (8βˆ’83)βˆ’0=163\left(8 - \frac{8}{3}\right) - 0 = \frac{16}{3}
  5. 5

    Multiply by :

  6. 6

    Part (b): Set :

  7. 7
    4βˆ’c2=83β€…β€ŠβŸΉβ€…β€Šc2=43β€…β€ŠβŸΉβ€…β€Šc=Β±2334 - c^2 = \frac{8}{3} \implies c^2 = \frac{4}{3} \implies c = \pm \frac{2\sqrt{3}}{3}
  8. 8

    The negative solution is outside , so the only valid solution is .

  9. 9

    Part (c): The average value is the constant height of a rectangle with width 2 (from to ) that has the same area as region . The area of this rectangle, , equals the exact area of region .

πŸ“ Worked Example

The temperature of a city over a 12-hour period from 6 AM to 6 PM is modeled by , where is the number of hours after 6 AM, and is measured in degrees Celsius. Find the average temperature of the city over this 12-hour period, and interpret your result in context.

  1. 1

    The interval is , so , , . Set up the average value formula:

  2. 2
    Tavg=112∫012(βˆ’0.05h2+0.8h+12)dhT_{\text{avg}} = \frac{1}{12} \int_0^{12} (-0.05h^2 + 0.8h + 12) dh
  3. 3

    The antiderivative is . Evaluating from 0 to 12 gives:

  4. 4
    βˆ’28.8+57.6+144=172.8-28.8 + 57.6 + 144 = 172.8
  5. 5

    Divide by 12: .

  6. 6

    Interpretation: Between 6 AM and 6 PM, the average temperature of the city is 14.4Β°C, meaning a constant temperature of 14.4Β°C over 12 hours would produce the same total temperature accumulation as the actual varying temperature over the day.

6. Common Pitfalls

Wrong move:

Calculating and stopping, forgetting to divide by .

Why:

Students confuse total net area under the curve with the average height (average value), since the integral is computed first.

Correct move:

After evaluating the definite integral, always explicitly write as a final step before moving on.

Wrong move:

Using (number of subintervals/number of table points) instead of when finding average value from a table.

Why:

Confusion between the discrete average of the points in the table and the average value of the continuous function over the entire interval.

Correct move:

Always use the full width of the entire interval () as the denominator, regardless of how many subintervals you use.

Wrong move:

Keeping a solution for that lies outside the open interval when applying the MVT for Integrals.

Why:

Students solve the equation and forget to check that the result satisfies the theorem's requirement that is inside the interval.

Correct move:

After solving , cross out any solutions that are less than or greater than , and only report solutions in .

Wrong move:

Swapping and , leading to a negative and a negative average value when it should be positive.

Why:

AP problems sometimes state "over the interval from to " to test attention to detail.

Correct move:

Always label as the lower endpoint and as the upper endpoint of the interval, so is always positive.

Wrong move:

Adding area below the x-axis instead of subtracting it when calculating the integral from a graph.

Why:

Students confuse total geometric area with net area, which is what the definite integral uses for average value.

Correct move:

For any region of the graph below the x-axis, count its area as negative when calculating the net integral before dividing by .

7. Quick Reference Cheatsheet

Category

Formula / Statement

Key Notes

Average Value of Continuous on

Requires continuous on ; is full interval width, not number of subintervals

Mean Value Theorem for Integrals

If continuous on , such that

Always discard solutions that fall outside

Average Value from Graph

Net Area = Area above x-axis minus Area below x-axis, not total geometric area

Average Value from Equally Spaced Table

Use the integration approximation method specified in the question

Average Velocity

Average velocity is not the same as average speed, which uses total distance instead of displacement

Geometric Interpretation

is the constant height of a rectangle with width that matches the net area under

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2022 Β· MCQ

    Average value from explicit function

  • 2023 Β· FRQ

    Average value from trapezoidal approximation

Going deeper

  • unit overviewUnit 8 Overview

What's Next

Mastering average value of a function is a critical prerequisite for the next core topics in Unit 8 of AP Calculus AB: volumes with known cross-sections, which directly extends the area-height relationship of average value to three dimensions by averaging cross-sectional area over an axis. It also underpins all applied problems involving accumulative change, such as average cost, average population growth, and average energy consumption, which are common topics on AP FRQs. Conceptually, average value bridges the gap between discrete averages you learned in algebra and the continuous summing that defines integration, reinforcing the core intuition of the definite integral as an infinite sum.