AP® Calculus AB · Unit 8 · Topic 8.3

Net Change and In-Out Rate Problems

When something flows in and out at different rates, subtract outflow from inflow to get a net rate, then integrate that net rate and add the starting amount to find the total at any time.

A tank with water flowing in and out has two separate rate functions working against each other, so one rate alone never tells you what's actually in the tank. The inflow rate tells you how fast water arrives; the outflow rate tells you how fast it leaves. Subtract the second from the first and you get the net rate, the true speed at which the water level is rising or falling at each instant. That net rate is a derivative, so to undo it and get back to an actual amount, you integrate it over time and add whatever was there at the start.

This gives a simple template: amount(t) = starting amount + integral from 0 to t of (inflow rate minus outflow rate) dt. Plug in a specific time to get the amount at that moment. To find when the tank is fullest, you do not maximize the inflow rate by itself. You look for where the net rate changes from positive to negative, since that's where the amount stops rising and starts falling. Net rate equals zero exactly when inflow equals outflow, so solve inflow(t) = outflow(t) and check the sign change around that time.

This topic is the accumulation idea from earlier integration work applied to a physical situation with two competing rates instead of one. It leans on the same logic as total distance from velocity, but now a maximum or minimum of the accumulated quantity depends on a sign change in a difference of two functions rather than in a single rate.

Key terms

net rate
Inflow rate minus outflow rate, giving the true rate of change of the quantity in the tank.
accumulation
The total change found by integrating a rate function over an interval of time.
sign change
The point where a rate switches from positive to negative or vice versa, marking a max or min of the accumulated amount.
initial amount
The quantity present at time zero, added to the integral of net rate to get amount at later times.

Watch it explained

  1. How it worksHow does subtracting the outflow rate from the inflow rate give a net rate?
  2. Worked exampleFind the water in a tank after 4 hours with inflow 8t and outflow 3t2, starting at 10 gallons.
  3. Worked exampleFind when a tank is fullest if water enters at 8t and leaves at 3t2 gallons per hour.
  4. Common mistakeWhy isn't a tank fullest at the moment the inflow rate is largest?

Check yourself

Your turn1 of 3
A tank starts with 19 gallons. Water flows in at 8t gallons per hour and flows out at 2t2 gallons per hour. Write the amount of water in the tank as a function of time t.

End of topic.