First-Order Differential Equations: Models and Solutions
A guided lesson on modeling change with first-order differential equations, solving common forms, and interpreting solutions in context.
From Rate Balance to an Initial-Value Problem
Build a model from a rate balance
To model a changing quantity, first define what the unknown represents and its units. Then identify processes that add to or remove from it. The balance principle is
For a well-mixed tank, let be the amount of dissolved substance. The amount entering per unit time is the inflow rate times the incoming concentration; the amount leaving is the outflow rate times the tank concentration. Since concentration is amount divided by volume, the tank’s volume—and any change in volume—must be included.
In the salt-tank example, the volume is constant at 100 L. Brine with concentration kg/L enters at L/min, while the well-mixed solution leaves at the same rate. Salt enters at kg/min. The tank concentration is kg/L, so salt leaves at kg/min. The balance therefore gives , with rates measured in kg/min.
Add the starting state
A gives the rule governing change. An initial condition specifies the value at a particular starting point. Together they form an IVP, often written
A solution must satisfy both statements: its derivative follows the rate rule, and its value at is . For the tank, says that the initial amount of salt is 10 kg. The equation describes how the amount changes; the initial condition identifies the solution that starts from the tank’s stated condition.
Separation, Growth, and Decay
Separate variables and use the initial value
A has the form . Before dividing by , check whether gives constant solutions; division could otherwise discard them. For other solutions, rearrange to
then integrate both sides. Use the initial condition to determine the integration constant. Finally, check the result in the original equation and at the initial value. The result may be an implicit relation rather than a formula with isolated.
Proportional change gives an exponential model
When a quantity’s rate is proportional to its current amount, write , with . For nonzero solutions, separate and integrate:
Applying the initial value yields . The constant solution also satisfies the differential equation and should not be lost by dividing by . When , the model describes growth; when , it describes decay. The continuous model assumes the proportional rate remains constant during the time interval considered.
For example, an amount that begins at 80 and decays with per hour is modeled by
Here the exponent is dimensionless because has units of inverse hours and is measured in hours.
Linear Equations and the Mixing Model
The integrating-factor method
A first-order linear equation has the form
Choose the . Multiplying the equation by makes the left side the derivative of a product:
This works because . Now integrate, solve for , and use any initial condition to find the constant.
Work the salt-tank model
For the tank, the balance and starting amount are
Put the equation in linear form: . Here , so an is . Multiply through:
Integrating gives
Use : , so . Thus
The exponent is dimensionless: has units of inverse minutes and is in minutes. This solution follows from the rate-balance model and its stated initial amount.
Checking and Interpreting Solutions
Verify the formula, then interpret it
A useful check has three parts: confirm the units are consistent, substitute the starting time to recover the initial value, and differentiate the formula to see whether it obeys the rate law. For the tank solution, kg. The units also fit: has units of inverse minutes, so is dimensionless when is in minutes. Thus the exponential term is dimensionless, and has units of kg/min, matching the rate and the inflow rate kg/min. Differentiating gives ; substituting the formula into the rate law gives , as required.
The solution starts at 10 kg and increases toward 30 kg, since the exponential term decreases toward zero as time increases. The (limiting) amount is 30 kg: at that amount, salt enters at 0.6 kg/min and leaves at kg/min, so the rates balance. This amount corresponds to a concentration of kg/L in the 100 L tank—the incoming brine’s concentration. Interpret this prediction in light of the assumptions: the tank is treated as instantly and uniformly mixed, and the flow rates are constant. A solution is only as trustworthy as those modeling assumptions are reasonable for the time interval of interest.
: A differential equation together with a specified value of the unknown function at a starting point.
: A model in which the rate of change is proportional to the quantity’s current amount.