Average Value of a Function
Quick Navigation
- Key Formula: the boxed formula you need to memorize
- Where This Comes From: derivation from Riemann sums
- Worked Example: complete solution walkthrough
- Practice Problems
- Levels 1-2: build confidence
- Levels 4-5: challenge problems
- Common Pitfalls: mistakes to avoid
- Conceptual Questions: test your understanding
Before You Start
๐ Prerequisite Check (2 minutes): Do this first!
Can you evaluate a definite integral?
Quick test: Compute $\displaystyle\int_1^3 (2x + 1)\,dx$
Check Your Answer
$$\int_1^3 (2x + 1)\,dx = \left[x^2 + x\right]_1^3 = (9 + 3) - (1 + 1) = 12 - 2 = 10$$
โ Got it? Youโre ready for this page!
โ Stuck on the antiderivative? Review Antiderivatives first (~10 min)
โ Stuck on the evaluation step? Review FTC Part 2 first (~15 min)
Do you remember what a Riemann sum represents?
A Riemann sum $\sum_{i=1}^n f(x_i^*)\Delta x$ approximates the area under a curve by adding up rectangles.
Need a refresher on Riemann sums?
Key idea: We divide $[a,b]$ into $n$ pieces of width $\Delta x = \frac{b-a}{n}$, pick sample points $x_i^*$ in each piece, and add up $f(x_i^*) \cdot \Delta x$ (height ร width of each rectangle).
As $n \to \infty$, this sum becomes the integral: $\displaystyle\lim_{n\to\infty} \sum_{i=1}^n f(x_i^*)\Delta x = \int_a^b f(x)\,dx$
If this feels unfamiliar, review Riemann Sums (~10 min)
From Discrete to Continuous Averaging
How do you find the โaverage temperatureโ over an entire day when temperature changes continuously? You canโt just add up infinitely many values and divide. Yet averaging is one of the most natural things we do with data. There must be a way to extend it to continuous functions.
The key insight: averaging finitely many values becomes an integral when we have infinitely many. This connection between sums and integrals is exactly what the definite integral was designed for.
Prerequisite Map
Legend: Yellow nodes = direct prerequisites you need. Green = this skill. Dashed arrows = helpful but not required.
Quick Reference
| Property | Value |
|---|---|
| Concept | Applications of Integration |
| Chapter | 5, Section 5 |
| Difficulty | Beginner |
| Time | ~15 minutes |
Key Concepts
The Average Value Formula
For a continuous function $f$ on the interval $[a, b]$, the average value is:
$$\boxed{f_{\text{avg}} = \frac{1}{b - a} \int_a^b f(x)\,dx}$$
Breaking this down:
- $\int_a^b f(x)\,dx$ = total โaccumulatedโ quantity
- $b - a$ = length of the interval
- $\frac{1}{b-a}$ = the โaveragingโ factor that spreads the total evenly
Where This Comes From
For $n$ discrete values $y_1, y_2, \ldots, y_n$, the average is:
$$y_{\text{avg}} = \frac{y_1 + y_2 + \cdots + y_n}{n}$$
For a function sampled at $n$ points with spacing $\Delta x = \frac{b-a}{n}$:
$$\frac{f(x_1^*) + f(x_2^*) + \cdots + f(x_n^*)}{n} = \frac{1}{b-a} \sum_{i=1}^n f(x_i^*)\Delta x$$
As $n \to \infty$, the Riemann sum becomes the integral:
$$f_{\text{avg}} = \frac{1}{b-a} \int_a^b f(x)\,dx$$
Visualization
y
โ โญโโโโฎ
โ โฑโ โโฒ
f_avgโโโโโโโผโโโโโโโโโโผโโโโโโ โ horizontal line at average height
โ โฑ โ โ โฒ
โ โฑ โ โ โฒ
โ โฑ โ โ โฒ
โโโโโโโโผโโโโโโโโโโผโโโโโโโ x
a b
Area under curve = Area of rectangle with height f_avg
The Rectangle Interpretation
Key insight: The average value $f_{\text{avg}}$ is the height of a rectangle with base $[a,b]$ that has the same area as the region under the curve.
$$\text{Area under curve} = \int_a^b f(x)\,dx = f_{\text{avg}} \cdot (b-a) = \text{Area of rectangle}$$
Physical Interpretation
The average value appears naturally in many contexts:
- Temperature: Average temperature over a day
- Velocity: Average speed over a trip (distance/time)
- Density: Average density of a non-uniform rod
- Power: Average power consumption over time
- Concentration: Average chemical concentration in a solution
๐ก Alternative Way to Think About It
The โRedistributionโ View: Imagine the area under the curve is made of water. The average value is what happens if you redistribute that water evenly across the interval: all the peaks fill in the valleys until you have a flat surface at height $f_{\text{avg}}$.
The โSamplingโ View: If you took a huge number of random samples from the function and averaged them, youโd get $f_{\text{avg}}$. The integral is doing this sampling โinfinitely densely.โ
Common Pitfalls
๐ก Donโt worry if you make these mistakes. Almost everyone does at first!
| Mistake | Why It Happens | How to Avoid It |
|---|---|---|
| Forgetting to divide by $(b-a)$ | You compute $\int_a^b f(x)\,dx$ and stop | Always write the full formula first: $f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx$ |
| Using $(b+a)$ instead of $(b-a)$ | Interval notation confusion | Remember: the length of $[a,b]$ is $b - a$ (subtraction!) |
| Getting the sign wrong when $a < 0$ | E.g., interval $[-2, 3]$ has length $3-(-2)=5$, not $1$ | Be extra careful: subtracting a negative adds |
| Confusing average value with average rate of change | Both use โaverageโ | Average value = $\frac{1}{b-a}\int f$. Average rate = $\frac{f(b)-f(a)}{b-a}$ |
| Thinking average value must be at the midpoint | Intuition from symmetric functions | Average value location depends on the functionโs shape, not just the interval |
๐ง Quick Self-Check
Before submitting any average value problem, verify:
If your answer is outside the range of $f$, something went wrong!
Worked Example
Problem: Find the average value of $f(x) = x^2 - 2x + 3$ on the interval $[1, 4]$.
๐ What's the game plan?
We need to:
- Identify the interval endpoints ($a$ and $b$)
- Set up the average value formula
- Compute the definite integral
- Divide by the interval length
Solution:
Step 1: Identify the interval.
- $a = 1$, $b = 4$
- Interval length: $b - a = 4 - 1 = 3$
Step 2: Write down the formula with our values plugged in: $$f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx = \frac{1}{3}\int_1^4 (x^2 - 2x + 3)\,dx$$
Step 3: Find the antiderivative: $$\int (x^2 - 2x + 3)\,dx = \frac{x^3}{3} - x^2 + 3x + C$$
How did we get this antiderivative?
Using the power rule for each term:
- $\int x^2\,dx = \frac{x^3}{3}$
- $\int (-2x)\,dx = -x^2$
- $\int 3\,dx = 3x$
Step 4: Evaluate at the bounds: $$\left[\frac{x^3}{3} - x^2 + 3x\right]_1^4 = \underbrace{\left(\frac{64}{3} - 16 + 12\right)}_{\text{at } x=4} - \underbrace{\left(\frac{1}{3} - 1 + 3\right)}_{\text{at } x=1}$$
$$= \left(\frac{64}{3} - 4\right) - \left(\frac{1}{3} + 2\right) = \frac{64}{3} - 4 - \frac{1}{3} - 2 = \frac{63}{3} - 6 = 21 - 6 = 15$$
Step 5: Apply the averaging factor: $$f_{\text{avg}} = \frac{1}{3} \cdot 15 = 5$$
โ Sanity Check
Check that this answer is reasonable:
- At $x = 1$: $f(1) = 1 - 2 + 3 = 2$
- At $x = 4$: $f(4) = 16 - 8 + 3 = 11$
- Our answer $f_{\text{avg}} = 5$ is between 2 and 11 โ
Since $f(x) = x^2 - 2x + 3 = (x-1)^2 + 2$ is an upward parabola with minimum value 2 at $x=1$, the function increases on $[1,4]$. The average of 5 lies between the minimum (2) and maximum (11), closer to the minimum: this makes sense because the function stays near its minimum for a while before climbing steeply near $x=4$.
๐ Still confused about average value?
If the formula doesnโt make sense: Go back to Where This Comes From and trace through the discrete-to-continuous derivation.
If youโre struggling with the integral: Review Definite Integrals and practice a few basic examples.
If the concept feels abstract: Think about averaging test scores. If you took tests continuously throughout a semester, the average value formula computes your โsemester average.โ
Practice Problems
How to use these problems:
- Levels 1-2: Build confidence with the basic formula
- Level 3: Add complexity (trig, substitution)
- Levels 4-5: Applications and proofs (exam-level difficulty)
Find the average value of $f(x) = 6x$ on the interval $[0, 3]$.
Find the average value of $g(x) = x^3 - x$ on $[-1, 2]$.
Find the average value of $h(x) = \sin(2x)$ on $[0, \pi/4]$.
A particle moves along a line with velocity $v(t) = t^2 - 4t + 3$ m/s for $0 \leq t \leq 5$ seconds.
- Find the average velocity over the interval $[0, 5]$.
- Is the average velocity the same as the average speed? Explain.
Let $f$ be a continuous function on $[a, b]$.
- Prove that if $f(x) \geq 0$ for all $x \in [a,b]$, then $f_{\text{avg}} \geq 0$.
- Prove that if $m \leq f(x) \leq M$ for all $x \in [a,b]$, then $m \leq f_{\text{avg}} \leq M$.
- Use part (b) to show that $\frac{1}{2} \leq \frac{1}{e-1}\int_1^e \frac{1}{x}\,dx \leq 1$.
CCI-Style Conceptual Questions
These questions test understanding, not computation. Theyโre the type that separate students who memorized from those who truly understand.
Question 1: If $\int_0^{10} f(x)\,dx = 50$, what is the average value of $f$ on $[0, 10]$?
Answer
$f_{\text{avg}} = \frac{50}{10} = 5$
Why this is useful: On exams, you might be given the integral value and asked for the average (or vice versa). Know how to go both directions!
Question 2: The average value of a function $f$ on $[2, 8]$ is 7. What is $\int_2^8 f(x)\,dx$?
Answer
Rearranging $f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx$:
$$\int_2^8 f(x)\,dx = f_{\text{avg}} \cdot (b-a) = 7 \cdot (8-2) = 42$$
Question 3: Can the average value of a function on an interval be larger than the maximum value of the function on that interval? Explain.
Answer
No. If $f(x) \leq M$ for all $x$ in $[a,b]$, then $f_{\text{avg}} \leq M$.
Proof sketch: $\displaystyle f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx \leq \frac{1}{b-a}\int_a^b M\,dx = \frac{M(b-a)}{b-a} = M$
Intuition: If no sample exceeds $M$, no average of samples can exceed $M$.
Question 4: True or False: If two different functions have the same average value on $[a, b]$, they must have the same integral on $[a, b]$.
Answer
True. If $f_{\text{avg}} = g_{\text{avg}}$ on $[a,b]$, then: $$\frac{1}{b-a}\int_a^b f(x)\,dx = \frac{1}{b-a}\int_a^b g(x)\,dx$$
Multiplying both sides by $(b-a)$: $$\int_a^b f(x)\,dx = \int_a^b g(x)\,dx$$
Question 5: A function $f$ is positive on $[0, 5]$ with $f_{\text{avg}} = 4$. Sketch a possible graph of $f$, and shade the rectangle with the same area as the region under $f$.
Answer
Any curve that:
- Stays above the $x$-axis on $[0, 5]$
- Has total area = $4 \times 5 = 20$
The rectangle has base $[0, 5]$ (width 5) and height 4.
y
โ โญโโโฎ
4 โโโโโโโผโโโผโโโโโ โ rectangle height
โ โฑโ โโฒ
โ โฑ โ โ โฒ
โ โฑ โ โ โฒ
โโโโโโโโโโโโโโโโ x
0 5
The shaded area under the curve equals the area of the rectangle (both = 20).
Common Misconceptions
the average value of a function on $[a, b]$ is the arithmetic mean of the endpoint values, $\frac{f(a) + f(b)}{2}$.
This is the average-rate-as-arithmetic-mean error. For a linear function the two formulas coincide, which reinforces the false belief that endpoints suffice. For $f(x) = x^2$ on $[0, 3]$, the endpoint average is $\frac{0 + 9}{2} = 4.5$, but the correct average value is $\frac{1}{3}\int_0^3 x^2\,dx = \frac{1}{3} \cdot 9 = 3$. Because $x^2$ is concave up, it spends more of the interval near the smaller values, pulling the true average below the midpoint of the endpoint values.
Mastery Checklist
Level 1-2: Novice โ Competent
Level 3: Competent โ Proficient
Level 4-5: Proficient โ Expert
Self-Assessment
If you can check all boxes in Levels 1-3, youโre ready for exams on this topic. Levels 4-5 prepare you for harder problems and future courses.
Mental Model
The โSmoothingโ Analogy:
Imagine pouring water into a container shaped like the region under a curve. The average value is the water level if the container had straight vertical walls: all the peaks and valleys have been โaveraged outโ to a single uniform height.
Key Takeaways
๐ What to remember for exams:
- The formula: $f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx$
- Geometric meaning: Height of equal-area rectangle
- Bounds: $\min(f) \leq f_{\text{avg}} \leq \max(f)$
- Common trap: Donโt forget to divide by $(b-a)$!
Connections
Looking back:
- Definite integrals provide the computational foundation
- This formula is just a Riemann sum interpretation applied differently
Looking ahead:
- Mean Value Theorem for Integrals guarantees the average is actually achieved
- Probability density functions use average value to define expected value
Real-world connections:
- In physics, average velocity = total displacement / time
- In statistics, expected value is the โaverageโ of a continuous distribution
| Previous | Up | Next |
|---|---|---|
| ยง5.4 Work | Chapter 5 | Mean Value Theorem for Integrals |
Last updated: 2026-01-23