Modelling with first-order equations
Translating proportional change, relaxation and conservation laws into first-order ODE models.
This page turns verbal rate laws into first-order equations. Each model follows the same steps: translate the law into an equation, solve it with first-order methods, use data to fix the constants and interpret the solution on the interval where the assumptions hold.
Translating rate laws into models
Translate a rate law
Build a first-order model by translating the verbal rate law:
- proportional change gives ;
- relaxation towards a target gives , with for decay toward the target;
- conservation gives
Use initial or measured data to determine the constants, then interpret the resulting solution on the physical interval where the model is valid.
The differential equation describes the local rate, while the data and parameters describe the particular system. Proportional growth is exponential, while relaxation approaches its target. Depending on the law, the translation can lead to a separable equation, a first-order linear equation or a logistic equation below.
Relaxation towards equilibrium
For an autonomous model , an equilibrium is a constant solution , so it must satisfy .
When the rate is proportional to the difference from a fixed target, the model is linear and the difference decays exponentially. The target is an equilibrium and the solution approaches it without crossing it on the usual positive-time branch.
Newton's law of cooling
If is a constant ambient temperature, the rate of change of the temperature difference is proportional to that difference:
Equivalently,
If is measured in hours, then has units of ; the same inverse-time units apply to any first-order rate constant.
Separation or the linear method gives
The difference keeps its sign and decays exponentially. A hotter object cools monotonically, a colder object warms monotonically and
As a forensic application, a body's temperature is measured at 11:30 am and again an hour later. Let be 11:30 am. The data are
Using the first measurement,
The second measurement gives
If death occurred hours before 11:30 am, the body was at normal temperature at :
Therefore
The estimated time of death is about 12:28 am. This estimate assumes a constant ambient temperature and cooling coefficient over the whole period; the ODE alone cannot verify those assumptions.
[exam]
Conservation of a changing quantity
Conservation models track an amount rather than a concentration. The outflow concentration depends on the current amount divided by the current volume, which is why a changing-volume tank produces a first-order linear equation with a variable coefficient.
A salt solution
Let be the amount of salt in grams and the volume in litres. For a well-stirred tank,
and
Suppose , , the inflow is litres per minute at grams per litre and the outflow is litres per minute. Assuming the tank remains well mixed and no salt is created or removed except by the streams, the volume is
and conservation gives
The equation is linear:
An integrating factor is , so
Integrating gives . At , . Thus
The concentration tends to grams per litre as increases, which matches the inflow concentration.
The volume grows because inflow exceeds outflow. The physical domain is (so ); extending the formula to earlier times would need a separate physical justification.
[exam]
Proportional and limited growth
Proportional growth gives the exponential model and has no finite carrying capacity. Adding a factor that reduces per-capita growth as the population approaches produces the logistic model.
Exponential population growth
If the rate is proportional to the population,
If is measured in hours and , then . The time needed to reach satisfies
[routine]
Logistic model
The logistic model combines proportional growth with a reduction in the per-capita growth rate as the population approaches a carrying capacity :
Here , and ; if is measured in a time unit, has inverse-time units. The equilibria are and . For , the population grows; for , it decreases. Its separated solution has the form
This expression is interpreted only on intervals where its denominator is nonzero; for a physical population one usually takes the forward-time branch with ; the zero equilibrium is listed separately below.
To see where the formula comes from, separate on a branch with and . Since
integration gives . Solving this ratio for gives the displayed expression, with when . The zero equilibrium is not obtained from a finite and must be included separately; corresponds to . The bounded relaxation model also approaches a target, but logistic growth is proportional to both the current population and the remaining fraction of carrying capacity.
A city with a carrying capacity
Suppose the carrying capacity is million, with million and million. The logistic solution is
because . Using ,
Thus, with population measured in millions,
[exam]