How to Model Salt Dissolving in a Well-Mixed Tank
At a glance
- 1. Define the amount
Let S(t) be the salt in the tank, and record the volume and flow rates.
- 2. Write the balance
Salt accumulation equals the salt entering per minute minus the salt leaving per minute.
- 3. Separate and solve
For constant volume and equal flow rates, separate the salt balance and apply the initial amount.
- 4. Check the result
Confirm the units, initial value, and long-term equilibrium concentration.
A salt-and-water tank problem is modeled by tracking how quickly salt enters and leaves. The key is to write a rate balance for the amount of salt, not for the concentration alone. Under the usual assumptions—constant tank volume and a well-mixed solution—the resulting differential equation is separable.
Set up the salt balance
Let be the amount of dissolved salt in the tank at time , measured, for example, in pounds. Suppose the tank holds a constant volume gallons. Brine flows in at gallons per minute with salt concentration pounds per gallon, and the same volume flows out at the same rate.
The rate of salt entering is
Because the tank is well mixed, the outflow has the same concentration as the tank, . Therefore, the rate of salt leaving is
Subtracting the outflow rate from the inflow rate gives the differential equation
This is the conservation-of-salt equation: the change in salt equals salt in minus salt out. Its terms have units of pounds per minute.
Separate variables and solve
For , separate the variables:
Integrating both sides gives
Equivalently, the difference between the salt amount and its equilibrium value decays exponentially. Applying the initial condition yields
Here, is the equilibrium salt amount: at that amount, the tank concentration equals the incoming concentration, so salt enters and leaves at the same rate. The time constant is minutes. After one time constant, the difference from equilibrium has been multiplied by .
Worked example
A 50-gallon tank initially contains 20 pounds of salt dissolved in water. Brine containing 2 pounds of salt per gallon flows in at 3 gallons per minute, while the well-mixed solution leaves at 3 gallons per minute. Find the salt amount after 25 minutes.
The volume is constant, and the salt inflow rate is
The tank concentration is pounds per gallon, so salt leaves at
Thus the initial-value problem is
The equilibrium amount is pounds. Substituting , , , and into the solution gives
At minutes,
The amount is moving toward 100 pounds, not away from it. The exponent is dimensionless because has units .
Special case: fresh water flows in
If the incoming liquid contains no salt, then . The model becomes
This is exponential washout: the salt amount approaches zero as fresh water replaces the solution. The tank concentration is when the volume stays constant.
Common mistakes
- Using concentration where the equation needs an amount. The variable is salt in pounds; the tank concentration is pounds per gallon.
- Forgetting the concentration of the outflow. Well mixed means the outflow concentration matches the tank concentration at that time, not the inlet concentration.
- Ignoring the volume assumption. Equal inflow and outflow rates keep constant. If the rates differ, then changes and the outflow term becomes ; the simple constant-volume solution no longer applies.
- Leaving out the initial condition. The differential equation describes a family of solutions. The value determines which one models the tank.
- Treating the equilibrium as the only possible solution. If , the amount stays at equilibrium. Otherwise, it approaches that value exponentially.
References
- Elementary Differential Equations and Boundary Value Problems, William E. Boyce, Richard C. DiPrima, and Douglas B. Meade
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.