What is the average value of a function?

The average value of a continuous function over an interval is a single number representing its typical height. You calculate it by taking the definite integral of the function over the interval and dividing by the interval's length.

Think of a glass of water that was just bumped. The surface is wavy, with high spots and low spots. If you wait for the water to settle, the surface becomes perfectly flat. That flat, settled water line is the average value of the original wavy surface.

The Formula

To find the average value of a function f(x)f(x) on the interval [a,b][a, b], you use the formula: favg=1baabf(x)dxf_{avg} = \frac{1}{b-a} \int_{a}^{b} f(x) dx. The integral part, abf(x)dx\int_{a}^{b} f(x) dx, calculates the total net area under the curve. Dividing by (ba)(b-a), which is the width of the interval, essentially 'levels out' that area into a rectangle. The height of that resulting rectangle is the average value.

Why it Works

If you want to find the average of five test scores, you add them all up and divide by five. A continuous function has an infinite number of points, so we cannot simply add them up and divide by infinity. Instead, the definite integral acts as our continuous version of 'adding everything up'. Dividing by the length of the interval, bab-a, is the continuous version of dividing by the number of items.

Where Students Slip

The most common mistake is forgetting to multiply by the fraction 1ba\frac{1}{b-a} in front of the integral. Students will often correctly set up and evaluate the integral, finding the total area, but forget to divide by the width to find the average height. Another common trap is confusing 'average value' with 'average rate of change'. The average rate of change uses the algebra slope formula, while the average value uses an integral.

Worked through

Find the average value of f(x)=x2f(x) = x^2 on the interval [0,3][0, 3].

First, identify a=0a = 0, b=3b = 3, and f(x)=x2f(x) = x^2. The width of our interval is ba=30=3b - a = 3 - 0 = 3.

Set up the average value formula: favg=13003x2dxf_{avg} = \frac{1}{3-0} \int_{0}^{3} x^2 dx.

Next, find the antiderivative of x2x^2, which is x33\frac{x^3}{3}.

Now, evaluate the definite integral from 0 to 3: 03x2dx=333033=2730=9\int_{0}^{3} x^2 dx = \frac{3^3}{3} - \frac{0^3}{3} = \frac{27}{3} - 0 = 9.

Finally, multiply by the 13\frac{1}{3} out front: favg=13(9)=3f_{avg} = \frac{1}{3} (9) = 3.

The average value of f(x)=x2f(x) = x^2 on [0,3][0, 3] is 3.

Questions students ask

Ask about this topic

Where this comes from: OpenStax Calculus Volume 1, Chapter 1: Applications of Integration · Stewart Calculus, Chapter 6: Applications of Integration

See also