Suppose that we have a large tank containing 1000 gallons of pure water and that water containing 0.5 pounds of salt per gallon flows into the tank at a rate of 10 gallons per minute. If the tank is also draining at a rate of 10 gallons per minute, the water level in the tank will remain constant. We will assume that the water in the tank is constantly stirred so that the mixture of salt and water is uniform in the tank.
We can model the amount of salt in the tank using differential equations. If
is the amount of salt in the tank at time
then the rate at which the salt is changing in the tank is the difference between the rate at which salt is flowing into the tank and the rate at which it is leaving the tank, or
Of course, the salt flows into the tank at the rate of
pounds of salt per minute. However, the rate at which the salt leaves the tank depends on
the amount salt in the tank at time
At time
there is
pounds of salt in one gallon. Therefore, salt flows out of the tank at a rate of
pounds per minute. Equation
(1.2.2) now becomes
This equation is separable,
Integrating both sides of the equation, we have
where
From our initial condition, we can quickly determine that
and
models the amount of salt in the tank at time
Notice that
as
as expected.