to illustrate how we can use systems of differential equations to model how substances flow back and forth between two or more compartments. Suppose that we have two tanks (
and
) between which a mixture of brine flows (
Figure 2.4.1). Tank
contains 300 liters of water in which 100 kilograms of salt has been dissolved and Tank
contains 300 liters of pure water. Fresh water is pumped into Tank
at the rate of 500 liters per hour, and brine is pumped into Tank
from Tank
at the rate of 500 liters per hour. Brine is also drained at a rate 500 liters of brine per hour from Tank
All brine mixtures are well-stirred. If we let
be the amount of salt in Tank
at time
and
be the amount of salt in Tank
at time
then we know that
We know that the salt concentrations in the two tanks are
kilograms per liter and
kilograms per liter. Thus, we can describe the rate of change in each tank with a differential equation,