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.

A smooth function curve with a function symbol and rising tangent trend.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

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.

SECTION 2

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.

SECTION 3

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.

Average Value = Height of Equal-Area Rectanglexf(x)1245246f_avgRectangle area = curve areaabf(x)
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?"

SECTION 4

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

favg×(b−a)=∫abf(x)dxf_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

favg=(1/(b−a))×∫abf(x)dxf_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

favg=lim(n→∞)(1/n)×Σi=1nf(xi)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.

SECTION 5

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.).
Worked Example: f(x) = x² on [0, 3]xf(x) = x²0123147f_avg = 3Rectangle area = 3 × 3 = 9f(x) = x²above avgbelow avg∫₀³ x² dx = 9, f_avg = 9/3 = 3
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.

SECTION 6

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. 1

    Step 1 — Identify the interval and formula

    We 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. 2

    Step 2 — Find the antiderivative

    The 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. 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. 4

    Step 4 — Divide by the interval length

    favg = (1/3) × 69 = 23.
    f_avg = 23
  5. 5

    Step 5 — Interpret the result

    The 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.

SECTION 7

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.

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)

Comparison of average-related concepts in calculus

✦

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.

SECTION 8

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))×∫abf(x)dxforsomec∈(a,b)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.

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)

Average value formula vs. Mean Value Theorem for Integrals

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.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

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?
Show answer
The definite integral ∫ₐᵇ f(x) dx represents the total signed area between the curve and the x-axis on [a, b]. Dividing by (b − a) converts this total area into the height of a rectangle that has the same base width and the same area. Geometrically, the integral is the "total" and (b − a) is the "how many" — just as the arithmetic mean divides a sum by the count. The result, f_avg, is the single constant height that could replace the varying curve without changing the accumulated area.

Question 2: BASIC CALCULATION

Find the average value of f(x) = 4x on the interval [0, 6].
Show answer
First, compute the integral: ∫₀⁶ 4x dx. The antiderivative of 4x is 2x². Evaluating: 2(6²) − 2(0²) = 72 − 0 = 72. Then divide by the interval length: f_avg = 72 / (6 − 0) = 72 / 6 = 12. The average value of f(x) = 4x on [0, 6] is 12. You can verify this makes sense: f(0) = 0 and f(6) = 24, and the average of the endpoints for a linear function is (0 + 24)/2 = 12, which matches because f is linear.

Question 3: INTERMEDIATE

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.
Show answer
Compute the integral: ∫₀π sin(x) dx = [−cos(x)]₀π = −cos(π) − (−cos(0)) = −(−1) − (−1) = 1 + 1 = 2. The interval length is π − 0 = π. So f_avg = 2/π ≈ 0.6366. To find c, solve sin(c) = 2/π. Using the inverse sine: c = arcsin(2/π) ≈ arcsin(0.6366) ≈ 0.6901 radians. Since sin is also equal to 2/π at π − 0.6901 ≈ 2.4515, there are actually two values of c in (0, π) where f(c) equals the average value.

Question 4: APPLIED

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.
Show answer
Use the average value formula with a = 0 and b = 10: h_avg = (1/10) × ∫₀¹⁰ (−0.3t² + 4t + 2) dt. Find the antiderivative: H(t) = −0.1t³ + 2t² + 2t. Evaluate: H(10) = −0.1(1000) + 2(100) + 2(10) = −100 + 200 + 20 = 120. H(0) = 0. So the integral is 120 − 0 = 120. Then h_avg = 120/10 = 12 meters. The drone's average altitude over the first 10 seconds is 12 meters. This means a drone hovering at a constant 12 meters would accumulate the same total altitude-time as the actual flight path.

Question 5: CRITICAL 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?
Show answer
On [0, 5]: f_avg = 30/5 = 6. For [5, 10], first find ∫₅¹⁰ f(x) dx = ∫₀¹⁰ f(x) dx − ∫₀⁵ f(x) dx = 30 − 30 = 0. So f_avg on [5, 10] = 0/5 = 0. The average value on the first half is 6, but on the second half it is 0. This means the function's outputs in [5, 10] balance out to zero — either f is identically zero there, or its positive and negative values cancel. Meanwhile, the first half contributes all the integral's value. Even though the integral over the full interval equals the integral over just the first half, the average value over [0, 10] is 30/10 = 3, which is between the two half-interval averages, illustrating how a wider interval dilutes a concentrated accumulation.

SUMMARY

Summary

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