Unit 8 · Topic 8.3

Accumulation in applications

Builds on the integral of a rate as net change, the Fundamental Theorem of Calculus and the Candidates Test. 14 minutes.

  1. Example 1Choose a rate and accumulation interval
  2. Example 2Combine inflow and outflow
  3. Example 3Recover an amount from a starting value
  4. Example 4Find when an accumulated amount is greatest or least
  5. Example 5Interpret the result in context

Many problems give the rates at which a quantity enters and leaves, such as water in a tank or swimmers at a pool. They ask how much there is at a given time, when the amount is greatest or least, and what a computed number means.

Suppose that a quantity \(Q\) changes at a rate \(Q'\) that is continuous on \([a,b]\). Then \(Q\) is an antiderivative of \(Q'\), so the Fundamental Theorem of Calculus, Part 2 (topic 6.7), gives

\[\int_a^b Q'(t)\,dt=Q(b)-Q(a)\]

The integral of a rate is the net change in the quantity, a result that topic 6.1 called the Net Change Theorem.

The amount from the rates in and out

Two rates over time, from a to b. A solid curve, the rate at which water flows into a tank, starts high, dips in the middle and rises again. A dashed curve, the rate at which water flows out, rises to a gentle hump and falls back, and the two curves cross twice. Between them, from a to an orange moving end x, the region is green where the solid curve is higher and red where the dashed curve is higher, and an orange segment at x spans the gap. Below, the amount of water in the tank rises, falls below its starting amount and rises to its greatest value at b. Buttons subtract the outflow from both curves, start with an empty tank, mark the ends and the two crossings, and shade the region under the solid curve.

Figure 1The solid curve is the rate in, \(E(t)\), and the dashed curve is the rate out, \(L(t)\). From \(a\) to \(x\), the region between them is green where the tank gains water and red where it loses water. The lower graph, teal, is the amount. Teal under the solid curve is the water that flowed in, and red dashes show the formula once the tank is empty.

In Figure 1, water flows into a tank at the rate \(E(t)\), the solid curve, and out at the rate \(L(t)\), the dashed curve. Both rates are in liters per minute, and \(t\) is in minutes. Let \(\cb{A(t)}\) be the number of liters in the tank. From a fixed time \(a\) to time \(t\), let \(V_{\text{in}}(t)\) be the liters that flow in and \(V_{\text{out}}(t)\) the liters that flow out. The tank holds what it held at \(a\), plus what came in, minus what went out:

\[\cb{A(t)}=\cb{A(a)}+V_{\text{in}}(t)-V_{\text{out}}(t)\]

The rates are the derivatives of these totals, \(V_{\text{in}}'=E\) and \(V_{\text{out}}'=L\), so the difference rule gives \(A'(t)=E(t)-L(t)\). This difference is the net rate, \(r(t)\).

The region between the curves runs from \(a\) to a moving end \(\cy{x}\), which the orange handle on the axis marks. It is green where \(E(t)>L(t)\), because the tank gains water there, and red where \(E(t)<L(t)\), because it loses water. The orange segment at \(x\) spans the gap between the curves, so its length is the size of \(\cy{r(x)}\).

If \(E\) and \(L\) are continuous on \([a,b]\), the Net Change Theorem applies to \(V_{\text{in}}\), \(V_{\text{out}}\) and \(A\). Both totals start at 0, so from \(a\) to \(b\), \(\int_a^b E(t)\,dt\) liters flow in and \(\int_a^b L(t)\,dt\) liters flow out. The amount changes by \(\int_a^b r(t)\,dt\). The integral of a difference is the difference of the integrals (topic 6.6), so you can integrate \(r\), or integrate each rate and subtract.

Press Subtract the outflow under Figure 1. Both curves move down by \(L(t)\). The dashed curve reaches the axis and fades, and the solid curve becomes the graph of \(r\). Each vertical strip of the region keeps its height, so the region becomes the region between \(r\) and the axis. Its signed area, the green area minus the red area, is the change in the amount from \(a\) to \(x\). Press Show both rates to return.

Each term of a Riemann sum (topic 6.3) is a rate in liters per minute times a width in minutes, so it is in liters. An integral, a limit of such sums, therefore has the units of its rate times the units of \(t\). Its bounds are values of \(t\), so write a clock time as a value of \(t\) first.

The lower graph plots the amount, teal up to \(x\) and faint after it, and its dashed line marks the starting amount \(\cb{A(a)}\). Beside the orange point at \(x\), the teal bracket measures the amount \(\cb{A(x)}\) from 0. The other bracket measures the change since \(a\), green while the amount is above the dashed line and red while it is below. The amount is the starting amount plus the change, \(\cb{A(x)}=\cb{A(a)}+\int_a^x r(t)\,dt\).

This formula applies only while water flows at the rates \(E\) and \(L\). Press Start with an empty tank. The point moves to \(b\), and the red dashed curve shows the formula with \(\cb{A(a)}=0\). It is the old lower graph moved down by the old starting amount, since the change does not depend on the start. The formula falls below 0, but a tank cannot hold a negative amount. Once the tank is empty, the outflow can remove only the water that enters. The red region therefore ends where the tank empties, and the amount stays at 0 while the outflow is larger. Later the tank fills from 0, above the formula. Compare every amount with what the context allows. Press Start with water in the tank to return.

When the amount is greatest or least

Because \(A'=r\), the slope of the orange tangent line at the point is \(\cy{r(x)}\). The amount therefore increases where \(r>0\) and decreases where \(r<0\) (topic 5.3).

A differentiable function is continuous, so by the Extreme Value Theorem, \(A\) has a greatest and a least value on \([a,b]\). By the Candidates Test (topic 5.5), each occurs at a candidate: \(a\), \(b\) or a critical point between them. Since \(A'=r\) exists at every time in \([a,b]\), the critical points are the zeros of \(r\). By the First Derivative Test (topic 5.4), the amount has a local maximum where \(r\) changes from positive to negative. It has a local minimum where \(r\) changes from negative to positive. If \(r\) has the same sign on both sides of a zero, the amount rises or falls through it. It is then neither greatest nor least there.

Press Mark the times to compare. Dots mark the amount at \(a\), at the two times where the curves cross, and at \(b\). The local maximum is lower than the amount at \(b\), so the greatest amount is at \(b\). The local minimum is below the starting amount, so the least amount is there. In general, find \(\cb{A(c)}=\cb{A(a)}+\int_a^c r(t)\,dt\) at each candidate \(c\) and compare.

Amount, net change and total flow

Three different numbers come from the same rates. The amount \(\cb{A(b)}\) is the number of liters in the tank at time \(b\), the height of the lower graph. The net change \(\int_a^b r(t)\,dt\) is how much the amount rose or fell from \(a\) to \(b\). It is negative for a loss, and it gives the amount only together with \(\cb{A(a)}\).

Press Shade the water that flowed in. The teal region under the solid curve has area \(\cb{\int_a^x E(t)\,dt}\), the liters that flow in from \(a\) to \(x\), whether they stay or not. The area under the dashed curve is the liters that flow out, and the net change is the difference of the two.

A value such as \(r(5)=-3\) is a rate at one instant: the amount falls at 3 liters per minute at \(t=5\). A statement about a result names which number it is, its interval and its units.

Example 1

Choose a rate and accumulation interval

Cars pass a toll booth at the rate \(P(t)=40-0.3t\) cars per minute, where \(t\) is the number of minutes after 7:00 a.m., for \(0\le t\le 120\). Write an integral expression for the number of cars that pass the booth from 8:00 a.m. to 8:30 a.m., and find its value. Indicate units of measure.

Solution

The rate \(P\) is a polynomial, so it is continuous. Because \(t\) counts minutes after 7:00 a.m., 8:00 a.m. is \(t=60\) and 8:30 a.m. is \(t=90\). The number of cars is the integral of the rate over this interval:

\[\begin{aligned}&\int_{60}^{90}(40-0.3t)\,dt\\&=\Big[40t-0.15t^2\Big]_{60}^{90}\\&=2385-1860=525\end{aligned}\]

The integral is in cars per minute times minutes, which is cars. From 8:00 a.m. to 8:30 a.m., 525 cars pass the booth.

Example 2

Combine inflow and outflow

Sand is added to a beach at the rate \(E(t)=22-t\) cubic yards per hour, and waves remove sand at the rate \(L(t)=t^2-3t+14\) cubic yards per hour, for \(0\le t\le 6\), where \(t\) is in hours. Find the net change in the amount of sand on the beach over this interval. Does the amount increase or decrease?

Solution

Both rates are polynomials, so they are continuous. Sand that the waves remove lowers the amount, so the net rate is the rate in minus the rate out:

\[\begin{aligned}r(t)&=(22-t)-\left(t^2-3t+14\right)\\&=-t^2+2t+8\\&=-(t-4)(t+2)\end{aligned}\]

The net change is the integral of the net rate:

\[\begin{aligned}&\int_0^6\left(-t^2+2t+8\right)dt\\&=\Big[-\frac{t^3}{3}+t^2+8t\Big]_0^6\\&=-72+36+48=12\end{aligned}\]

The integral counts the part after \(t=4\), where \(r(t)<0\), as negative, so no split is needed. The amount of sand increases by 12 cubic yards. As a check, \(\int_0^6 E(t)\,dt=114\) and \(\int_0^6 L(t)\,dt=102\), and \(114-102=12\).

Example 3

Recover an amount from a starting value

The tank of a generator holds 54 liters of fuel at \(t=0\). The generator burns fuel at the rate \(2t+3\) liters per hour, where \(t\) is in hours, until the tank is empty, and no fuel is added. How much fuel is in the tank at \(t=4\)? At \(t=8\)?

Solution

Nothing flows in, so the net rate is \(-(2t+3)\), which is continuous. While fuel remains, the amount at time \(x\) is the starting amount plus the net change:

\[\begin{aligned}\cb{A(x)}&=54-\int_0^x(2t+3)\,dt\\&=54-x^2-3x\end{aligned}\]

The net rate is negative, so this formula decreases. It reaches 0 where

\[x^2+3x-54=(x+9)(x-6)=0\]

The root \(-9\) is negative, so the tank is empty at \(t=6\), and the formula applies for \(0\le x\le 6\). At \(t=4\), the tank holds \(54-16-12=26\) liters. The generator stops at \(t=6\), and no fuel is added, so the tank holds 0 liters at \(t=8\).

Example 4

Find when an accumulated amount is greatest or least

Swimmers arrive at a public pool at the rate \(E(t)=3t^2-12t+44\) people per hour and leave at the rate \(L(t)=6t+29\) people per hour, for \(0\le t\le 6\), where \(t\) is the number of hours after noon. At noon, 60 people are at the pool. At what times are the most and the fewest people at the pool? Justify your answer.

Solution

The rates are polynomials, so the net rate is continuous:

\[\begin{aligned}r(t)&=E(t)-L(t)\\&=3t^2-18t+15\\&=3(t-1)(t-5)\end{aligned}\]

The number of people at time \(x\) is \(\cb{A(x)}=60+\int_0^x r(t)\,dt\), whose derivative \(r(x)\) is 0 only at \(x=1\) and \(x=5\). By the Candidates Test, the most and the fewest people occur at these zeros or at the ends 0 and 6. Since \(\int_0^x r(t)\,dt=x^3-9x^2+15x\),

\[\begin{aligned}\cb{A(0)}&=60, & \cb{A(1)}&=67,\\ \cb{A(5)}&=35, & \cb{A(6)}&=42\end{aligned}\]

The most people, 67, are at the pool at \(t=1\), or 1 p.m., and the fewest, 35, are there at \(t=5\), or 5 p.m.

Example 5

Interpret the result in context

Water flows into a reservoir at the rate \(E(t)\) and out at the rate \(L(t)\), in millions of gallons per day, where \(E\) and \(L\) are continuous and \(t\) is in days. The reservoir holds 800 million gallons at \(t=0\). Also, \(\int_0^{30}E(t)\,dt=450\) and \(\int_0^{30}L(t)\,dt=520\). Which of these statements are justified?
I. At \(t=30\), the reservoir holds 730 million gallons.
II. During the 30 days, 70 million gallons flowed out.
III. The amount of water decreased throughout the 30 days.

Solution

The net change is the water in minus the water out, \(450-520=-70\) million gallons, so at \(t=30\) the reservoir holds \(800-70=730\) million gallons. Statement I is justified.

The water that flowed out is \(\int_0^{30}L(t)\,dt=520\) million gallons, so statement II is not justified.

The integrals are totals for all 30 days and do not give the sign of \(E(t)-L(t)\) at each time. The reservoir may gain water on some days and lose more on others, so statement III is not justified.

Each example is one of the five skills of topic 8.3 in Which & Why: AP Calculus.