Constructing differential equations from rate laws
Introduced| English | Meaning |
|---|---|
| differential equation/ˌdɪfəˈrenʃl ɪˈkweɪʒn/ | An equation involving a function and one or more of its derivatives. |
An epidemic in equations, 1927
- In 1927, William Kermack and Anderson McKendrick in Edinburgh wrote the spread of a disease as rates: new infections at a rate proportional to the number of infected and susceptible people, and recovery at a rate proportional to the number infected. Their model, $\dfrac{dI}{dt} = \beta SI - \gamma I$, still guides public health planning. The hard step is the first one: turning words about rates into a differential equation 微分方程.
- This lesson is about forming the equation correctly; solving it is a separate skill.
Translating the words
- "The rate of change of $N$" is $\dfrac{dN}{dt}$. "Proportional to $N$" is $kN$; "inversely proportional to $N$" is $\dfrac{k}{N}$.
- "Decreasing" gives a minus sign, with $k > 0$: $\dfrac{dN}{dt} = -kN$.
The rate of decrease of a mass $m$ is proportional to $m$. Which equation fits?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
"Decrease" gives the minus sign.
The height $h$ of a plant grows at a rate inversely proportional to $\sqrt{h}$. Write the equation.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Inversely proportional to $\sqrt{h}$.
Combining processes
- Add a term for each process: growth, loss, inflow, outflow.
- Fish grow at a rate proportional to the population and 150 are caught each year: $\dfrac{dP}{dt} = kP - 150$.
Constructing differential equations from rate laws
Choose independent and dependent variables and convert the stated rate law into a derivative
Connect derivative calculations to their original point, domain and stated rate law.
A population grows at a rate proportional to its size, and 40 animals are removed each month. Write the equation.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Fixed removal is its own term.
Worked example: three rate laws
Write a differential equation for each, defining any constants.
- (a) A cup's temperature $\theta$ falls at a rate proportional to the difference from room temperature, $20°$C: $\dfrac{d\theta}{dt} = -k(\theta - 20)$, $k > 0$.
- (b) The volume $V$ of a melting snowball decreases at a rate proportional to its surface area, which is proportional to $V^{\frac{2}{3}}$: $\dfrac{dV}{dt} = -kV^{\frac{2}{3}}$.
- (c) A tank holds 200 litres; water flows in at 5 L/min and out at a rate of $0.02V$ L/min: $\dfrac{dV}{dt} = 5 - 0.02V$, with $V = 200$ when $t = 0$.
The radius $r$ of a spherical snowball decreases at a constant rate. Which is correct?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
A constant rate of change of $r$.
Initial conditions
- The initial value is a separate statement, not part of the rate: "$P = 2000$ when $t = 0$".
- It fixes the constant when the equation is later solved.
The initial condition "$P = 500$ when $t = 0$" is written inside the differential equation as $\dfrac{dP}{dt} = kP + 500$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
It is a separate condition.
Checking the model
- Long-term value: set the rate to 0. For (c), $5 - 0.02V = 0$ gives $V = 250$ litres.
- Signs: a quantity that should fall needs a negative rate.
For $\dfrac{dV}{dt} = 8 - 0.04V$, find the long-term volume.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$8 = 0.04V$.
Fixed amounts go in their own term, not inside the proportion. "150 fish are caught each year" is $-150$, not $-150P$ or $k(P - 150)$. Only the part that is "proportional to $P$" gets the constant $k$.
Write $\tfrac{dy}{dt}$ for "the rate of change of $y$", turn each process into one term with the right sign and constant, and state the initial condition separately. Check signs and the long-term value where the rate is zero.
A drug is given by a drip at 3 mg per hour, and the body removes it at a rate proportional to the amount $x$ mg present. At the start, there is none. Form the differential equation, and find the long-term amount if the removal rate is 0.6 mg/h when $x = 2$.
Forming and checking a model.