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.
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]
- Integrate. The antiderivative of
x²isx³/3, so∫₀³ x² dx = 3³/3 − 0 = 27/3 = 9. - Divide by the width. The interval
[0, 3]has width3 − 0 = 3, sof_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
- Find the average value of
f(x) = 6xon[0, 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 continuousf, there is also a point in the interval wherefequals its average: the mean value theorem for integrals. Forx²on[0, 3], that point isx = √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.
Sources
- OpenStax, "Calculus Volume 1, 5.2 The Definite Integral": average value of a function, the integral divided by the interval's length
- OpenStax, "Calculus Volume 1, 5.3 The Fundamental Theorem of Calculus": mean value theorem for integrals
- College Board, "AP Calculus AB and BC Course and Exam Description": Unit 8, Applications of Integration (finding the average value of a function on an interval)
- MIT OpenCourseWare, "18.01 Single Variable Calculus (Fall 2006)": lecture notes
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
- Calculus EP23Exponential growth and decay
- Calculus EP24Area between curves
- Calculus EP28Polar coordinates
- Calculus EP29Do infinite sums add up?