Tutorials › Calculus I › Combining Averages Across Adjacent Intervals

Average Value and Accumulated Quantities · Tutorial 1282 of 1495

Combining Averages Across Adjacent Intervals

Learn to combine interval averages by weighting each one by the length of its interval, then verify the result using accumulated totals.

Intermediate 9 min read

What You'll Learn

  • State the conditions for combining averages over adjacent intervals.
  • Derive the combined-average formula from additivity of definite integrals.
  • Use interval lengths as weights to combine known average values.
  • Keep units consistent when averages describe rates over time.
  • Recognize when an unweighted mean is guaranteed to work and when it can still coincide by chance.
  • Check a combined average by recovering the total accumulated quantity.

Why Interval Lengths Matter

Suppose a quantity varies over time, and you know its average rate during several consecutive time intervals. To find its average rate over the entire period, you need to combine those interval averages.

The key point is that an average over a long interval represents more of the overall period than an average over a short interval. The appropriate combination therefore weights each interval average by the length of the interval. The result is a length-weighted average.

For example, if one rate applies on an interval lasting one hour and another rate applies on an interval lasting three hours, the second rate contributes for three times as long. Taking the ordinary mean of the two rates would treat those intervals as if they had equal lengths.

Definition and Setup

For an integrable function \(f\) on an interval \([a,b]\), where \(a<b\), its average value on that interval is

$$ f_{\mathrm{avg},[a,b]} = \frac{1}{b-a}\int_a^b f(x)\,dx. $$

The integral gives the accumulated signed quantity, and division by the interval length gives the average value per unit of the input variable. If \(f\) is a rate, for instance, its integral over time is a total amount, and its average value has the same units as the rate.

Now divide \([a,b]\) into adjacent intervals with endpoints \(x_0,x_1,\ldots,x_n\), where \(a=x_0<x_1<\cdots<x_n=b\). Write \(\Delta x_i=x_i-x_{i-1}\) for the positive length of the \(i\)th interval, and let \(A_i\) be the average of \(f\) on that interval.

Definition: The average on the \(i\)th subinterval is \(A_i=\dfrac{1}{\Delta x_i}\int_{x_{i-1}}^{x_i}f(x)\,dx\). The average over the whole interval is the average over all the adjacent subintervals taken together.

Each interval has a positive length, and all the intervals together cover \([a,b]\) without gaps or overlaps except at their shared endpoints. Those conditions let us add their accumulated quantities to obtain the total accumulated quantity.

The Length-Weighted Formula

The whole-interval average can be found directly from the subinterval averages and lengths:

Theorem: If \(f\) is integrable on \([a,b]\), and the adjacent subintervals have lengths \(\Delta x_i>0\) and averages \(A_i\), then
$$ f_{\mathrm{avg},[a,b]} = \frac{\Delta x_1A_1+\Delta x_2A_2+\cdots+\Delta x_nA_n} {\Delta x_1+\Delta x_2+\cdots+\Delta x_n}. $$

The formula has a useful interpretation. Each product \(\Delta x_iA_i\) is the accumulated quantity on its subinterval. Add those quantities to get the total, then divide by the total interval length.

Why the Formula Works

The derivation follows from the definition of average and the additivity of the definite integral across adjacent intervals. For each subinterval, rearranging the definition of \(A_i\) gives

$$ \int_{x_{i-1}}^{x_i}f(x)\,dx=\Delta x_iA_i. $$

The integral over the whole interval is the sum of the integrals over its subintervals. Also, the total length is the sum of the subinterval lengths. Substituting these facts into the definition of the whole-interval average gives a proof:

1
Add the subinterval totals.
For each \(i\), the accumulated quantity is \(\Delta x_iA_i\), so additivity gives \(\int_a^b f(x)\,dx=\sum_{i=1}^n\Delta x_iA_i\).
2
Add the subinterval lengths.
The adjacent intervals partition \([a,b]\), so \(b-a=\sum_{i=1}^n\Delta x_i\).
3
Divide total by total length.
By the definition of average, \(f_{\mathrm{avg},[a,b]}=\dfrac{\int_a^b f(x)\,dx}{b-a}=\dfrac{\sum_{i=1}^n\Delta x_iA_i}{\sum_{i=1}^n\Delta x_i}\).

This proves the result. It also explains why the weights are interval lengths: multiplying an average by the length recovers the accumulated quantity that belongs to that interval.

Worked Examples

Worked Example: Combining Average Production Rates

A factory produces items at an average rate of \(4\) items per hour during the first \(2\) hours, \(7\) items per hour during the next \(3\) hours, and \(10\) items per hour during the final hour. Find the average production rate over the full \(6\)-hour period.

First calculate the accumulated production during each interval by multiplying its average rate by its duration:

$$ 2\text{ h}\cdot 4\frac{\text{items}}{\text{h}}=8\text{ items}, \qquad 3\text{ h}\cdot 7\frac{\text{items}}{\text{h}}=21\text{ items}, \qquad 1\text{ h}\cdot 10\frac{\text{items}}{\text{h}}=10\text{ items}. $$

The total production is \(8+21+10=39\) items. The total duration is \(2+3+1=6\) hours. Therefore,

$$ \text{average rate} = \frac{39\text{ items}}{6\text{ h}} = \frac{13}{2}\frac{\text{items}}{\text{h}} = 6.5\frac{\text{items}}{\text{h}}. $$

Check by recovering the total production: \(6\text{ h}\cdot 6.5\text{ items/h}=39\text{ items}\), which agrees with the sum of the three interval totals. The combined average is \(6.5\) items per hour.

Worked Example: Unequal Intervals and an Incorrect Unweighted Mean

A variable has average value \(3\) on an interval of length \(1\), and average value \(9\) on the adjacent interval of length \(3\). Find its average over the combined interval.

The two subinterval totals are \(1\cdot 3=3\) and \(3\cdot 9=27\). Thus the total accumulated quantity is \(3+27=30\), and the combined length is \(1+3=4\). The combined average is

$$ \frac{1\cdot 3+3\cdot 9}{1+3} = \frac{3+27}{4} = \frac{30}{4} = \frac{15}{2} = 7.5. $$

The check is \(4\cdot 7.5=30\), matching the accumulated quantity. By contrast, the unweighted mean \((3+9)/2=6\) would imply a total of \(4\cdot 6=24\), not \(30\). It is therefore incorrect for this data.

Worked Example: Finding an Unknown Subinterval Average

A function has average value \(6\) over an interval of length \(8\). On the first \(3\) units of that interval, its average value is \(4\). Find its average value on the remaining \(5\) units.

The total accumulated quantity over all \(8\) units is \(8\cdot 6=48\). The first subinterval contributes \(3\cdot 4=12\). Therefore the remaining interval must contribute \(48-12=36\). If its average is \(A\), its length-weighted total is \(5A\), so

$$ 5A=36, \qquad A=\frac{36}{5}=7.2. $$

Check by recombining: \((3\cdot 4+5\cdot 7.2)/8=(12+36)/8=48/8=6\), the stated average over the full interval. The unknown subinterval average is \(7.2\).

When the Ordinary Mean Works

If all \(n\) subintervals have the same positive length \(L\), the weighted formula becomes

$$ \frac{LA_1+LA_2+\cdots+LA_n}{nL} = \frac{A_1+A_2+\cdots+A_n}{n}. $$

Thus, equal lengths guarantee that the ordinary arithmetic mean of the subinterval averages gives the combined average. If lengths are unequal, the ordinary mean is not guaranteed to give the combined average for arbitrary subinterval averages. It can still agree in special cases—for example, if each subinterval average is \(3\), both the weighted and unweighted means are \(3\), regardless of the interval lengths. In general, use the length-weighted formula.

Common pitfall: Do not give every interval equal influence just because there is one average reported for each interval. The formula weights by interval length. An unweighted mean is guaranteed to work for arbitrary subinterval averages when the lengths are equal; with unequal lengths, it may coincide in particular cases but is not generally valid.

Units and a Practical Check

The interval lengths and averages must be interpreted consistently. If a function is a rate measured in items per hour and interval lengths are measured in hours, multiplying them gives items. Dividing the sum of those products by the total number of hours gives items per hour again.

A reliable check is to multiply the proposed combined average by the total interval length. The result should equal the sum of the subinterval totals, where each total is its interval length times its average. If those quantities do not agree, check the interval lengths, the arithmetic, and the units.

The formula applies when the intervals are adjacent and together make up the whole interval, and when the function is integrable there. It combines averages over intervals; it does not replace the need to know each interval’s average or length.

Check Your Understanding

Use interval lengths as weights in each calculation, and check your result by recovering the total accumulated quantity.

  1. A function has average \(5\) on an interval of length \(2\), and average \(11\) on an adjacent interval of length \(1\). What is the average on their union?
  2. Why does multiplying a subinterval average by its length give the accumulated quantity on that interval?
  3. Two adjacent intervals have equal length and averages \(4\) and \(10\). Find their combined average.
  4. Can the ordinary mean of two averages on unequal-length intervals ever equal the combined average? Explain briefly.
  5. A total interval of length \(6\) has average \(8\). Its first \(2\) units have average \(5\). What is the average on the remaining \(4\) units?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon