Watch on Instagram

Math Bytes · Calculus · Episode 26 · Applications of integrals

Average value of a function

The average value of f on [a, b] is the integral divided by the interval's width, 1/(b − a) · ∫ₐᵇ f(x) dx. For f(x) = x² on [0, 3], that's 9 ÷ 3 = 3.

Posted · About a 1 minute watch, 2 minute read · Take the quiz

From a list to a curve

To average a list of numbers, add them up and divide by how many. For 2, 4, 3, 5, 1: the sum is 15, and 15 ÷ 5 = 3.

A curve has infinitely many heights, so you can't list them all. Instead, the integral adds up the heights (as area), and the interval's width b − a plays the role of "how many":

f_avg = 1/(b − a) · ∫ₐᵇ f(x) dx

Worked example: f(x) = x² on [0, 3]

  1. Integrate. The antiderivative of x² is x³/3, so ∫₀³ x² dx = 3³/3 − 0 = 27/3 = 9.
  2. Divide by the width. The interval [0, 3] has width 3 − 0 = 3, so f_avg = 9 ÷ 3 = 3.

The average height of x² from 0 to 3 is 3.

The rectangle picture

A rectangle of height 3 over the same interval has area 3 × 3 = 9, exactly the area under the curve. The part of the curve that sticks up above height 3 fills the gap below it. That's what the average value means: the one flat height that holds the same area over the same interval.

Try it yourself

  1. Find the average value of f(x) = 6x on [0, 2].
  2. Find the average value of f(x) = x² on [0, 6].

(Answers: 1. ∫₀² 6x dx = [3x²]₀² = 12, and 12 ÷ 2 = 6. 2. ∫₀⁶ x² dx = 6³/3 = 72, and 72 ÷ 6 = 12.)

Good to know

  • The average value of a function on an interval is in AP Calculus AB and BC (Unit 8, Applications of Integration: "Finding the Average Value of a Function on an Interval").
  • The "same area" rectangle works for any integrable f. For a continuous f, there is also a point in the interval where f equals its average: the mean value theorem for integrals. For x² on [0, 3], that point is x = √3 (left out of the video).
  • Area below the x-axis counts as negative in the integral, so it pulls the average down (left out of the video).

Answer to the comment question

What's the average value of f(x) = 3x² from x = 0 to x = 2? 4. The integral is ∫₀² 3x² dx = [x³]₀² = 2³ = 8, and the width is 2, so the average is 8 ÷ 2 = 4.

Test your knowledge

Quick quiz: Average value of a function

4 multiple-choice questions. Pick one answer for each, then check how you did.

1What does the average value formula divide the integral by?
2What is ∫₀³ x² dx?
3What is the average value of x² on [0, 3]?
4A rectangle of height f_avg over [a, b] has what area?

Sources

Video transcript

What's the average height of a whole curve?

To average a list of numbers, you add them up and divide by how many. A curve has infinitely many heights, so we integrate instead.

Average value equals one over b minus a, times the integral from a to b of f.

Try f of x equals x squared, from zero to three. The integral is three cubed over three, which is nine.

Divide by the width, three. The average height is three.

Picture it: a rectangle of height three over the same interval holds exactly the same area as the curve.

Your turn. What's the average value of three x squared, from zero to two? Comment your answer below!

That's your byte.

More from Calculus

All Calculus lessons