CALCULUS 1 • APPLICATIONS OF INTEGRATION

Average Value of a Function — Finding the Average Value of a Function on an Interval

Use definite integrals to find the single height that perfectly represents a curving function over an interval.

Historical Context & Motivation

You already know how to average a list of numbers: add them up and divide by how many there are. But what happens when you have a quantity that changes continuously—like the temperature throughout a day or the speed of a car during a trip? You can't just add up infinitely many values the way you add quiz scores. Mathematicians wrestled with this question for centuries, and the solution they found ties directly to the definite integral.

~240 BC
Archimedes & Areas Under Curves
Archimedes used the method of exhaustion to approximate areas under parabolas, foreshadowing the idea of summing infinitely many thin slices—an essential ingredient of integration.
1660s
Newton & Leibniz Develop Calculus
Isaac Newton and Gottfried Leibniz independently created the foundations of calculus, including the Fundamental Theorem that connects derivatives and integrals and makes computing areas practical.
1700s
Euler Applies Integration to Physics
Leonhard Euler and other mathematicians began applying integrals to find average temperatures, pressures, and velocities—real-world quantities that vary continuously over time or space.
1823
Cauchy Formalizes the Definite Integral
Augustin-Louis Cauchy rigorously defined the definite integral using limits, giving the average-value formula the solid theoretical footing it has today.

The central question this lesson answers is: If a function f(x) takes on infinitely many values between x = a and x = b, what single number best represents all of those values? The answer turns out to be elegant, practical, and deeply connected to the area under a curve.

Core Principles & Definitions

Before diving into the formula, let's build up the idea from what you already know. The average value of a function on an interval [a, b] is the single output value that, if the function were constant at that height, would produce the same total area under the curve. Understanding this concept rests on four key ideas.

1

Finite Averages as a Starting Point

The average of n numbers is their sum divided by n. The average value of a function extends this same idea to infinitely many values by replacing the sum with an integral and n with the interval length.
2

The Definite Integral as a "Continuous Sum"

The definite integral ∫ from a to b of f(x) dx adds up all the infinitely thin slices of area under the curve. It plays the role of the 'sum of all values' in the averaging process.
3

Dividing by the Interval Length

Just as you divide by n when averaging n numbers, you divide the integral by (b − a), the width of the interval, to get the average height of the function.
4

Equal-Area Interpretation

The average value f_avg is the height of a rectangle with base (b − a) whose area equals the area under the curve. This geometric picture makes the formula intuitive.
KEY TAKEAWAY
Think of it like this: imagine pouring water into a curvy container shaped like the area under a curve. If you then poured that same water into a rectangular tank with the same base width, the water level in the rectangle would be the average value of the function. The integral measures the total 'water,' and dividing by the base gives you the uniform level.

Visual Explanation

Area Under the Curve Equals Area of the Rectangle

The diagram below shows a function f(x) on the interval [1, 5]. The shaded region under the curve represents the definite integral. The dashed horizontal line marks the average value favg. Notice how the rectangle formed by this dashed line and the base has the same area as the shaded region—some parts of the curve rise above the line, and other parts dip below it, and these differences cancel out exactly.

The cyan shaded area under the curve f(x) from a to b equals the area of the dashed amber rectangle whose height is favg. Portions of the curve above the dashed line perfectly compensate for portions below it.

This picture is the single most important idea in this lesson. The average value is the height you'd need to flatten the curve into a perfect rectangle while keeping the total area the same. Whenever you set up the formula, you're essentially asking: "What constant height times the base length gives me the same area as the integral?"

Mathematical Framework

Let's translate the geometric insight into algebra. We want the height favg such that the rectangle's area equals the integral's value. The rectangle has base (b − a) and height favg, so its area is favg × (b − a). Setting that equal to the integral and solving for favg gives us the formula.

EQUAL-AREA CONDITION
f_avg × (b − a) = ∫ₐᵇ f(x) dx
The area of a rectangle at height favg must equal the total signed area under the curve.
AVERAGE VALUE FORMULA
f_avg = (1 / (b − a)) × ∫ₐᵇ f(x) dx
f_avg = average value of f on [a, b]; a, b = endpoints of the interval; ∫ₐᵇ f(x) dx = definite integral (total signed area under the curve).

Notice how this mirrors the familiar average: the integral is the "sum" of all values, and (b − a) plays the role of "how many" values. In fact, you can derive this formula by starting with a Riemann sum of n equally spaced sample points and taking the limit as n → ∞.

RIEMANN SUM CONNECTION
f_avg = lim(n→∞) (1/n) × Σᵢ₌₁ⁿ f(xᵢ)
This shows the direct analogy: the average of n sampled values becomes the average of infinitely many values via the integral. The factor 1/n × Σ becomes 1/(b − a) × ∫.
⚠️ Important Note
The average value is a number, not a function. It tells you a single representative output value of f over the interval. Don't confuse it with the antiderivative or the integral itself—those are different objects.

Step-by-Step Process & Second Visual

How to Find the Average Value — Step by Step

  1. Step 1 — Identify the interval. Write down a and b from the problem.
  2. Step 2 — Compute the definite integral. Find ∫ₐᵇ f(x) dx using antiderivatives (or given information).
  3. Step 3 — Divide by (b − a). Multiply the integral by the factor 1/(b − a) to get f_avg.
  4. Step 4 — Interpret the result. State what the number means in context (average temperature, average speed, etc.).
For f(x) = x² on [0, 3], the integral equals 9 and the interval length is 3, so favg = 9 ÷ 3 = 3. The green dashed line at height 3 creates a rectangle with the same area as the violet shaded region.

In the diagram above, notice how the parabola f(x) = x² sits below the green dashed line for roughly the left part of the interval and above it for the right part. The deficit on the left exactly balances the surplus on the right, confirming that 3 is the correct average value.

Worked Example

Let's work through a complete example from start to finish. Find the average value of f(x) = 3x² + 2 on the interval [1, 4].

Average Value of f(x) = 3x² + 2 on [1, 4]
1
Step 1 — Identify the interval and formulaWe have a = 1 and b = 4, so b − a = 3. We will use favg = (1/(b − a)) × ∫ₐᵇ f(x) dx = (1/3) × ∫₁⁴ (3x² + 2) dx.
2
Step 2 — Find the antiderivativeThe antiderivative of 3x² is x³ (since the derivative of x³ is 3x²). The antiderivative of 2 is 2x. So the antiderivative of 3x² + 2 is F(x) = x³ + 2x.
F(x) = x³ + 2x
3
Step 3 — Evaluate the definite integral using the Fundamental Theorem∫₁⁴ (3x² + 2) dx = F(4) − F(1) = (4³ + 2×4) − (1³ + 2×1) = (64 + 8) − (1 + 2) = 72 − 3 = 69.
∫₁⁴ (3x² + 2) dx = 69
4
Step 4 — Divide by the interval lengthfavg = (1/3) × 69 = 23.
f_avg = 23
5
Step 5 — Interpret the resultThe average value of f(x) = 3x² + 2 on [1, 4] is 23. This means a horizontal line at y = 23 would create a rectangle with the same area (69 square units) as the region under the curve from x = 1 to x = 4.

Average Value vs. Other Averages

Students sometimes confuse the average value of a function with related but different ideas. The table below highlights the key distinctions so you can keep them straight.

Comparison of average-related concepts in calculus
ConceptWhat It MeasuresFormula / Process
Arithmetic Mean (finite)Average of a finite list of numbers(x₁ + x₂ + … + xₙ) / n
Average Value of f(x)Single representative output over a continuous interval(1/(b − a)) × ∫ₐᵇ f(x) dx
Average Rate of ChangeSlope of the secant line between two points(f(b) − f(a)) / (b − a)
Mean Value (of the derivative)Guaranteed slope matching the average rate (MVT)f′(c) = (f(b) − f(a)) / (b − a) for some c in (a, b)
KEY TAKEAWAY
The average value tells you the typical y-value of the function, while the average rate of change tells you the typical slope. Think of it this way: the average value is like the average altitude during a mountain hike, while the average rate of change is like the average steepness of the trail.

Connection to the Mean Value Theorem for Integrals

The average value formula leads directly to a powerful theorem in calculus. The Mean Value Theorem for Integrals states that if f is continuous on [a, b], then there exists at least one point c in (a, b) where f(c) actually equals the average value. In other words, the function must hit its own average somewhere in the interval.

MEAN VALUE THEOREM FOR INTEGRALS
f(c) = (1 / (b − a)) × ∫ₐᵇ f(x) dx for some c ∈ (a, b)
If f is continuous on [a, b], there is guaranteed to be at least one x-value c where the function's output equals the average value.
Average value formula vs. Mean Value Theorem for Integrals
FeatureAverage Value FormulaMean Value Theorem for Integrals
What it gives youA number: the average height of fA location: an x-value c where f reaches that average
Requirementf must be integrable on [a, b]f must be continuous on [a, b]
Result typeExact numerical answerExistence guarantee (may need algebra to find c)

This theorem is the integral cousin of the Mean Value Theorem you may encounter for derivatives. Both say that a continuous function must, at some point, actually achieve its average behavior. As you move into Calculus 2, you'll see these ideas extend to more complex scenarios like weighted averages and probability distributions, where the average-value formula serves as a foundation.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why the average value of a function on an interval is found by dividing the definite integral by the length of the interval. What does each part of the formula represent geometrically?
PROBLEM 2BASIC CALCULATION
Find the average value of f(x) = 4x on the interval [0, 6].
PROBLEM 3INTERMEDIATE
Find the average value of f(x) = sin(x) on the interval [0, π]. Then find the value c in (0, π) where f(c) equals the average value.
PROBLEM 4APPLIED
A drone's altitude in meters during the first 10 seconds of flight is modeled by h(t) = −0.3t² + 4t + 2, where t is in seconds. Find the drone's average altitude during the interval 0 ≤ t ≤ 10 seconds.
PROBLEM 5CRITICAL THINKING
Suppose f is a continuous function on [0, 10] and you know that ∫₀⁵ f(x) dx = 30 and ∫₀¹⁰ f(x) dx = 30. Compare the average value of f on [0, 5] with the average value of f on [5, 10]. What can you conclude about the function's behavior on these two halves?

Summary

The average value of a function on an interval [a, b] is computed with the formula favg = (1/(b − a)) × ∫ₐᵇ f(x) dx. The definite integral acts as the continuous version of "adding up all the values," and dividing by the interval length (b − a) gives you the single height that produces an equal-area rectangle.

To apply this concept: identify the interval, compute the definite integral using antiderivatives and the Fundamental Theorem of Calculus, then divide by (b − a). The Mean Value Theorem for Integrals guarantees that a continuous function actually achieves its average value at some point c in the interval. This formula appears throughout physics, engineering, and statistics whenever you need to summarize a continuously varying quantity with a single representative number.

Varsity Tutors • Calculus 1 • Average Value of a Function