Rate In, Rate Out: Accumulation in Context
AP Calculus AB · Unit 8 — Applications of Integration
The amount is the start plus the net accumulation
$$A(t)=A(0)+\int_0^t\big[R_{\text{in}}(s)-R_{\text{out}}(s)\big]\,ds$$Water in a tank, people in a queue, sand on a beach: whenever the problem gives rates, the amount at time $t$ is the start plus the integral of the net rate. On its own, $\displaystyle\int_a^b R_{\text{in}}(t)\,dt$ is "the total amount that entered between $t=a$ and $t=b$" — a standard interpretation question, units included.
Four questions, one derivative
Because $A'(t)=R_{\text{in}}(t)-R_{\text{out}}(t)$:
- Increasing at $t_0$? Yes if $R_{\text{in}}(t_0)\gt R_{\text{out}}(t_0)$.
- Greatest amount? Solve $R_{\text{in}}=R_{\text{out}}$, then argue $A'$ changes from positive to negative, or compare candidates including endpoints.
- Amount at $T$? The formula above; on the calculator section store intermediate values, round only the final answer to three decimals.
- Empty? Solve $A(t)=0$.
Worked example: a tank holds $50$ L at $t=0$; water enters at $R_{\text{in}}(t)=6$ L/min and leaves at $R_{\text{out}}(t)=\dfrac{t^2}{3}$ L/min for $0\le t\le6$. Amount at $t=6$: $50+\displaystyle\int_0^6\left(6-\frac{t^2}{3}\right)dt=50+\left[6t-\frac{t^3}{9}\right]_0^6=50+36-24=62$ L. Maximum: $6=\dfrac{t^2}{3}\Rightarrow t=\sqrt{18}\approx4.243$; $A'$ changes from positive to negative there, so the maximum is $A(\sqrt{18})=50+4\sqrt{18}\approx66.971$ L.
Worked example: pumping in, draining out, and the minimum amount
At $t=0$ a tank holds $30$ gallons. For $0\le t\le8$ hours, water is pumped in at a rate $P(t)=3t$ gallons per hour and drained out at a rate $D(t)=12$ gallons per hour. (a) Is the amount of water at $t=2$ increasing or decreasing? Explain. (b) Find the amount of water at $t=8$. (c) Find the time at which the amount of water is least on $[0,8]$, and that value. (d) Interpret $\displaystyle\int_0^8 D(t)\,dt=96$, including units.
Solution
(a) $A'(2)=P(2)-D(2)=6-12=-6\lt0$. Since the rate out exceeds the rate in at $t=2$, the amount is decreasing.
(b) $A(8)=30+\displaystyle\int_0^8(3t-12)\,dt=30+\left[\frac32t^2-12t\right]_0^8=30+96-96=30$ gallons.
(c) $A'(t)=3t-12=0$ at $t=4$. Since $A'$ changes from negative to positive at $t=4$, $A$ has a local minimum there. Candidates: $A(0)=30$, $A(4)=30+24-48=6$, $A(8)=30$ ⇒ the minimum is $6$ gallons at $t=4$ hours.
(d) $\displaystyle\int_0^8 D(t)\,dt=96$ is the total amount of water drained out of the tank during the first $8$ hours, in gallons — the integral of a rate is an amount.
Common mistake
One: being asked for “the amount of water at $t=8$” and answering with the net rate at $t=8$, or answering with the integral but forgetting to add the initial amount $A(0)$. Two: finding the maximum amount by solving $R_{\text{in}}=R_{\text{out}}$ and stopping there — leaving out the statement “$A'$ changes sign” or the comparison with the endpoints loses reasoning points; some problems have the true extremum at an endpoint. Three: units: a rate is in gallons per hour, and the integral of a rate is in gallons. Four: in the calculator part, rounding intermediate values and continuing the calculation, which gives an answer outside the accepted range — store values in variables and round only on the last line.
Key takeaway
Amount = initial amount + integral of (in − out). Increasing or decreasing: compare the two rates. Maximum/minimum: solve in = out, state clearly that $A'$ changes sign, and don't forget the endpoints. The integral of a rate is an amount, with the correct units.