Choosing the Quantity Before Integrating
Many applied integral problems include more than one quantity: a concentration and a flow rate, a density and a length, or a rate and a time interval. The main task is to decide what quantity the question asks for and which function describes that quantity.
An integral can represent a total accumulated amount, while an average value describes a typical function value over an interval. These are related, but they are not interchangeable. In particular, when two quantities vary together, the correct integrand may be their product rather than either function by itself.
Average Value and Total Accumulation
If \(f\) is integrable on an interval \([a,b]\), with \(a<b\), its average value on that interval is the integral divided by the interval length. The average has the same units as \(f\).
The integral \(\int_a^b f(x)\,dx\) and the average \(f_{\mathrm{avg}}\) answer different questions. If \(f\) is a rate per unit of \(x\), its integral gives a total amount, while its average gives the rate that, if held constant over the interval, would produce that same total.
For instance, if \(r(t)\) is a production rate in items per hour, then integrating \(r\) over time gives items produced. Dividing that total by the number of hours gives the average production rate, in items per hour. The division by \(b-a\) is essential: an accumulated amount is not itself an average rate.
Why the Average Formula Works
The definition reflects the ordinary average of equally spaced function values. Take \(n\) equal subintervals of \([a,b]\), and choose one sample point \(x_i\) from each subinterval. Each subinterval has width \(\Delta x=(b-a)/n\). The corresponding Riemann sum for the integral is \(\sum_{i=1}^{n} f(x_i)\Delta x\). Dividing by the interval length gives:
The expression on the right is the ordinary arithmetic mean of the sampled values. As the partition becomes finer, the Riemann sums approach the integral because \(f\) is integrable. Consequently, the mean of the sampled values approaches \(\frac{1}{b-a}\int_a^b f(x)\,dx\). This explains why the average value is the integral divided by the interval length.
Match the Integrand to the Requested Total
A rate is not always the rate of the quantity named in the question. For example, concentration measures amount per volume, while volumetric flow measures volume per time. Their product is amount per time, which is the solute delivery rate. This distinction determines the integrand.
Units provide a practical check on the setup. If the product of the units of the integrand and the integration variable gives the units requested, the integral has the right dimensional form. If not, a factor or a conversion may be missing.
Decide whether the problem asks for an average, a net change, or a total amount accumulated.
Use the function that directly describes the target rate or density. Multiply relevant quantities when their product gives the rate being accumulated.
Use the interval over which the process occurs, and check that the integrand times the variable of integration has the desired units.
For a signed rate, a positive or negative value indicates direction. Keep the signed rate for net change; use its absolute value when the question asks for gross amount moved.
Worked Example: Concentration with Variable Flow
Worked Example: Solute Delivered by a Changing Flow
A solution has concentration \(c(t)=1+\frac{t}{2}\) grams per liter, and flows at \(q(t)=2+t\) liters per minute for \(0\leq t\leq2\). Find the total solute delivered, the average concentration over time, and the concentration corresponding to total solute divided by total solution volume.
The solute delivery rate is concentration times volumetric flow:
Integrate this rate over the two-minute interval:
For the time-average concentration, average \(c(t)\) over the interval:
The total solution volume is the integral of \(q(t)\):
Thus the concentration calculated from total solute divided by total volume is \((28/3)/6=14/9\) grams per liter. It is not the same as the time-average concentration \(3/2\) grams per liter: the flow is faster at later times, when the solution is more concentrated. The units also check: grams per minute integrated over minutes gives grams, and grams divided by liters gives grams per liter.
Worked Example: Density, Total Mass, and Mean Density
Worked Example: Mass of a Rod with Variable Linear Density
A rod extends from \(x=0\) to \(x=5\) meters, and its linear density is \(\rho(x)=3+x\) kilograms per meter. Find its total mass and its average linear density.
A small segment of length \(dx\) has approximate mass \(\rho(x)\,dx\). Therefore, total mass is the integral of density along the rod:
The rod's length is \(5\) meters, so its average linear density is:
As a check, multiplying average density by length recovers the total mass:
The units agree: kilograms per meter integrated with respect to meters gives kilograms. This is the same relationship between average and total as in a rate problem, with length playing the role of the interval variable.
Worked Example: Signed Flow and Gross Throughput
Worked Example: Net Change and Total Volume Moved
A reservoir's signed flow rate is \(q(t)=3-t\) liters per minute for \(0\leq t\leq5\). Positive flow enters the reservoir; negative flow leaves it. Find the net volume change and the gross volume moved during the five minutes.
Net change uses the signed rate:
The rate changes sign at \(3-t=0\), so the gross amount is the incoming volume from \(0\) to \(3\), plus the outgoing volume from \(3\) to \(5\). Gross throughput counts both directions as positive amounts:
The incoming amount is \(9/2\) liters and the outgoing amount is \(2\) liters, so their difference is \(9/2-2=5/2\) liters, agreeing with the signed net change. The sum is \(9/2+2=13/2\) liters, the gross throughput. Both results have volume units because a rate in liters per minute is integrated over minutes.
A Common Mistake: Multiplying Unrelated Averages
In the concentration example, multiplying the time-average concentration by the total solution volume would give \((3/2)(6)=9\) grams. That is not the actual solute total, which is \(28/3\) grams. The calculation silently assumes that the average concentration is weighted in the same way as the flowing volume. It is a time average, however, and more volume flows during the later, more concentrated part of the interval.
The correction is to accumulate the solute delivery rate \(c(t)q(t)\), or equivalently to divide the actual total solute by the actual total volume when seeking the concentration associated with the whole batch. A product of averages need not equal the average of a product. Before combining averages and totals, check what each average weights and what units the proposed product would have.
Using These Connections
Average values and accumulated quantities provide complementary descriptions of a process. A total tells how much was produced, transferred, or stored over an interval. An average describes the constant level that would yield the same total across that interval. In practical problems, a variable rate or density is usually the starting point; the integral converts it into a total, and division by the interval length gives the corresponding average.
When multiple functions appear, their meanings determine whether they should be integrated separately or combined first. Concentration times volume flow gives a solute rate; density integrated over length gives mass; a signed flow rate gives net change. A gross amount moved instead counts both directions positively. Keeping the target quantity, units, interval, and sign interpretation explicit makes these calculations easier to set up correctly.
Check Your Understanding
For each question, identify the quantity represented by the integral before carrying out any computation.
- A rate \(r(t)\) is measured in kilograms per hour on \([1,4]\). What does \(\int_1^4 r(t)\,dt\) represent, and how would you find the average rate?
- A liquid has concentration \(c(t)\) in grams per liter and flow \(q(t)\) in liters per minute. What function should be integrated to find the amount of solute delivered?
- A rod has linear density \(\rho(x)\) in kilograms per meter on \([0,L]\). Give integral formulas for its mass and its average linear density.
- A signed flow rate is positive during inflow and negative during outflow. Which integral describes net change, and what should be accumulated to obtain gross volume moved?
- Why might the product of a time-average concentration and total volume fail to give the total solute delivered when the flow varies?