01 / 21

Average Value
of a Function

Learn how to find the average height of a function over an interval using definite integrals: the bridge between area and a single representative value.

Calculus 2

What is the Average Value?

You already know how to average a list of numbers: add them up and divide by how many there are. But what if you have a continuous function instead of a list?

The average value of a function \( f(x) \) on the interval \( [a,b] \) answers the question: If the function were replaced by a single constant height, what constant would produce the same total area?

Visual Intuition

\(x\) \(y\) \(a\) \(b\) \( f_{\text{avg}} \) \( f(x) \)

Why Does This Matter?

Physics
Average velocity, average temperature, or average voltage over a time interval
Economics
Average cost, average revenue, or average price over a period
Engineering
Average power delivered by a signal, root-mean-square values

The Average Value Formula

1
\( \int_a^b f(x)\,dx \) computes the total signed area under \( f \) on \( [a,b] \).
2
\( \frac{1}{b-a} \) divides by the interval width: the continuous analog of dividing by \( n \).
3
\( f_{\text{avg}} \) is the single constant that produces an equivalent rectangle of the same area.

Where Does It Come From?

Start with the discrete average of \( n \) evenly spaced sample points on \( [a,b] \):

Since each subinterval has width \( \Delta x = \frac{b-a}{n} \), we can write \( \frac{1}{n} = \frac{\Delta x}{b-a} \). Substituting:

Average Value vs. Area Under the Curve

Average Value Definite Integral (Area)
Formula \( \frac{1}{b-a}\int_a^b f(x)\,dx \) \( \int_a^b f(x)\,dx \)
Result A single y-value A total area (in square units)
Units Same units as \( f(x) \) Units of \( f(x) \times x \)
Interpretation "Average height" "Total accumulation"

Mean Value Theorem for Integrals

\(x\) \(y\) \(a\) \(b\) \( f_{\text{avg}} \) \(c\) \( f(x) \)

The curve must actually equal its average value at some point \( c \) in the interval.

How to Apply the Formula

1
Identify the interval. Determine the values of \( a \) and \( b \).
2
Set up the integral. Write \( \int_a^b f(x)\,dx \).
3
Evaluate the integral. Find the antiderivative and apply the Fundamental Theorem of Calculus.
4
Multiply by \( \frac{1}{b-a} \). Divide the result by the length of the interval.
5
Interpret the result. This is the constant height of the equivalent rectangle.

Example 1: \( f(x) = x^2 \) on \( [0,3] \)

\(x\) \(y\) 1 2 3 0 3 6 9 \( f_{\text{avg}} = 3 \)

Example 2: \( f(x) = \sin x \) on \( [0, \pi] \)

\(x\) \(y\) 0 \( \frac{\pi}{2} \) \( \pi \) 1 \( \frac{2}{\pi} \)

Example 3: \( f(x) = e^{2x} \) on \( [0,1] \)

This example requires a u-substitution for the antiderivative.

Interval
\( [0, 1] \), so \( b - a = 1 \)
Antiderivative
\( \frac{e^{2x}}{2} \) via u-sub with \( u = 2x \)
Result
\( f_{\text{avg}} \approx 3.195 \): the function rises steeply, so the average is well above \( f(0) = 1 \)

Finding \( c \) Where \( f(c) = f_{\text{avg}} \)

Once you know \( f_{\text{avg}} \), you can find the specific point \( c \) guaranteed by the Mean Value Theorem for Integrals.

What About Negative Functions?

\(x\) \(y\) \(a\) \(b\) \( f_{\text{avg}} \) + −

Common Mistakes to Avoid

✕ Forgetting \( \frac{1}{b-a} \)
Computing \( \int_a^b f(x)\,dx \) alone gives the area, not the average value. Always divide by the interval length.
✕ Wrong Interval Length
Using \( b + a \) or \( a - b \) instead of \( b - a \). Double-check: the denominator is always \( b - a > 0 \).
✕ Averaging Endpoints
Computing \( \frac{f(a)+f(b)}{2} \) is the average of two values, not the average value of the function. These are different.

Summary Table

Concept Formula Result Type
Definite Integral \( \int_a^b f(x)\,dx \) Signed area (sq. units)
Average Value \( \frac{1}{b-a}\int_a^b f(x)\,dx \) A single y-value
MVT for Integrals \( f(c) = f_{\text{avg}} \) An x-value \( c \in [a,b] \)
Endpoint Average \( \frac{f(a)+f(b)}{2} \) Approximation only

Question 1 of 5

What is the average value of \( f(x) = 6x \) on the interval \( [0, 4] \)?

Question 2 of 5

The average value of \( f(x) = \cos x \) on \( [0, \frac{\pi}{2}] \) is:

Question 3 of 5

If \( \int_1^5 f(x)\,dx = 20 \), what is the average value of \( f \) on \( [1, 5] \)?

Question 4 of 5

For \( f(x) = x^2 \) on \( [0,3] \) with \( f_{\text{avg}} = 3 \), find the value of \( c \) guaranteed by the Mean Value Theorem for Integrals.

Question 5 of 5

What is the average value of \( f(x) = 3x^2 + 1 \) on \( [0, 2] \)?