Average value of a function
The height of the rectangle on [a, b] with the same area as the region under the curve.
Calculator
The live calculator needs JavaScript. The worked example below shows the same steps it would.
See it move
- Integral from 0 to 3 ≈ 9 (shaded; parts below the axis count as negative).
- Average value 3 (dashed): that rectangle has the same area.
What the symbols mean
- the average value of f on the interval
- the coefficient of in f
- the coefficient of
- the coefficient of x
- the constant term
- the start of the interval
- the end of the interval (not equal to a)
When to use it
Use it for the average of something that varies continuously: average temperature over a day, average velocity from a velocity function, average power. It is the continuous version of adding values up and dividing by how many there are.
Worked example
Find the average value of f(x) = x² on [0, 3] (c₃ = 0, c₂ = 1, c₁ = 0, c₀ = 0, a = 0, b = 3).
The average value is the integral divided by the width of the interval:
The function is
Integrate term by term with the power rule (raise each power by one and divide by the new power):
Evaluate at the upper limit:
Evaluate at the lower limit:
Subtract: the integral is F(b) − F(a).
Numerical check: Simpson's rule with 200 strips gives , which agrees.
Divide by the width b − a:
A rectangle of height over the same interval has the same area as the region under the curve.
Answer The average value is 3
Why it works
Split [a, b] into n equal pieces and average f at one point in each: , because . As n grows the sum becomes the integral.
Common mistakes
- Averaging only the endpoint values: (0 + 9)/2 = 4.5 is wrong for x² on [0, 3].
- Forgetting to divide by .
- Confusing it with the average rate of change , which is the slope of a secant.