Learn Without Walls
← Module 7 Home Lesson 4 of 4 Practice Problems →

Lesson 4: Average Value of a Function

Estimated time: 30-40 minutes

Learning Objectives

By the end of this lesson, you will be able to:

Motivation: Averaging Continuously

The average of n numbers x1, x2, ..., xn is (x1 + x2 + ... + xn)/n. But how do we average a function that takes on infinitely many values over an interval?

The answer comes from recognizing that a Riemann sum of f over [a, b] with n equal subintervals is Δx · ∑ f(xi). Dividing the integral by the interval length (b − a) gives us the continuous analog of a discrete average.

The Average Value Formula

Average Value of a Function

If f is continuous on [a, b], the average value of f on [a, b] is:

favg = (1/(b − a)) ∫ab f(x) dx

Example 1: Average Value of a Quadratic

Find the average value of f(x) = x² on [0, 3].

Solution: favg = (1/(3 − 0)) ∫03 x² dx = (1/3) [x³/3]03 = (1/3)(9) = 3.

Example 2: Average Value of a Trig Function

Find the average value of f(x) = sin x on [0, π].

Solution: favg = (1/π) ∫0π sin x dx = (1/π) [−cos x]0π = (1/π)(1 + 1) = 2/π ≈ 0.637.

Geometric Interpretation

The average value favg is the height of the rectangle with base [a, b] whose area equals the area under the curve:

favg · (b − a) = ∫ab f(x) dx

In other words, a horizontal line at height favg creates a rectangle with exactly the same area as the region under f.

Mean Value Theorem for Integrals

Mean Value Theorem for Integrals (MVT-I)

If f is continuous on [a, b], then there exists a number c in [a, b] such that:

f(c) = (1/(b − a)) ∫ab f(x) dx = favg

That is, a continuous function actually attains its average value at some point.

Example 3: Finding c from MVT-I

For f(x) = x² on [0, 3], we found favg = 3. Find the value c where f(c) = 3.

Solution: c² = 3, so c = √3 ≈ 1.732. (We take the positive root since c must be in [0, 3].) The function attains its average value at x = √3.

Example 4: MVT-I with Exponential

Find the average value of f(x) = ex on [0, 2] and the value c where it is attained.

Solution: favg = (1/2) ∫02 ex dx = (1/2)(e² − 1) ≈ 3.195.

Find c: ec = (e² − 1)/2, so c = ln[(e² − 1)/2] ≈ 1.161.

Applications

Example 5: Average Temperature

The temperature in a city over 12 hours is modeled by T(t) = 60 + 15 sin(πt/12) (in degrees F). Find the average temperature from t = 0 to t = 12.

Solution: Tavg = (1/12) ∫012 [60 + 15 sin(πt/12)] dt

= (1/12) [60t − 15(12/π) cos(πt/12)]012

= (1/12) [(720 − (180/π)(−1)) − (0 − (180/π)(1))]

= (1/12) [720 + 360/π] = 60 + 30/π ≈ 69.55°F.

Example 6: Average Velocity

A particle moves with velocity v(t) = 3t² − 6t on [0, 4]. Find the average velocity.

Solution: vavg = (1/4) ∫04 (3t² − 6t) dt = (1/4)[t³ − 3t²]04 = (1/4)(64 − 48) = 4.

Note: average velocity = displacement / time = (s(4) − s(0)) / 4, consistent with the net change theorem.

Average Value vs. Average Rate of Change

Do not confuse:

These are conceptually different quantities. However, the average value of f' equals the average rate of change of f (by FTC).

Key Takeaways

Check Your Understanding

1. Find the average value of f(x) = 4x − x² on [0, 4].

Answer: favg = (1/4) ∫04 (4x − x²) dx = (1/4)[2x² − x³/3]04 = (1/4)(32 − 64/3) = (1/4)(32/3) = 8/3.

2. Find the average value of f(x) = cos x on [0, π/2].

Answer: favg = (2/π) ∫0π/2 cos x dx = (2/π)[sin x]0π/2 = (2/π)(1) = 2/π.

3. For f(x) = x² on [1, 3], find the value c guaranteed by MVT-I.

Answer: favg = (1/2)∫13 x² dx = (1/2)[x³/3]13 = (1/2)(26/3) = 13/3. Then c² = 13/3, c = √(13/3) ≈ 2.082.

4. True or false: The average value of a non-negative function on [a, b] is always non-negative.

Answer: True. If f(x) ≥ 0, then ∫ab f(x) dx ≥ 0, and dividing by (b − a) > 0 preserves the sign.

Ready for More?

Practice Problems

Test your skills with 10 problems covering all Module 7 topics.

Practice Problems

Module Home

You have completed all 4 lessons in Module 7!

Back to Module Home