Course contentsShow
← Mathematics
Lesson 1575 of 3,12135. Antiderivatives and the IntegralFree lesson

Average Value of a Function

Computing the mean value of a continuous function over an interval using integrals.

Average Value of a Function

You'll learn how to find the mean value of a continuous function over an interval using integration.

The Core Idea

Imagine you're tracking the temperature throughout a day. At some moments it's hot, at others it's cool. What was the average temperature? Not just the average of a few readings, but the true average across every single moment.

This is what the average value of a function captures: the mean height of the function over an entire interval, accounting for every infinitesimal point along the way.

The Formula

For a continuous function f(x) on the interval [a, b], the average value is:

f_avg = (1/(b-a)) ∫[a to b] f(x) dx

Think of it this way: the definite integral ∫[a to b] f(x) dx gives you the "total accumulation" of function values (like area under the curve). Dividing by the interval width (b - a) spreads that total evenly across the interval, giving you the average height.

Why It Works

If you sampled the function at n equally-spaced points and averaged them, you'd get approximately:

(f(x₁) + f(x₂) + ... + f(xₙ))/n

As n → ∞, this becomes a Riemann sum divided by the interval length, which is exactly our integral formula.

Example

To find the average value of f(x) = x² on [0, 3]:

f_avg = (1/(3-0)) ∫[0 to 3] x² dx = (1/3)[x³/3]₀³ = (1/3)(9) = 3

Key Takeaway: The average value of a continuous function over [a, b] is the definite integral of the function divided by the interval length: f_avg = (1/(b-a)) ∫[a to b] f(x) dx.