TOPIC 7.1 · STUDY
Modeling Situations with Differential Equations
A differential equation links a quantity to its rate of change. Modeling means turning a sentence into that equation, with units that match on both sides, as in dP/dt = kP or dT/dt = -k(T - 70).
FUN-7.A
Modeling Situations with Differential Equations
A differential equation ties a function to its derivative. Modeling is the translation step: a sentence about how a quantity changes becomes an equation, before any solving. If $y$ is a function of $x$, the sentence names $\frac{dy}{dx}$ and says what that rate equals.
The derivative is a rate, so it has units. If $Y$ is in meters and $x$ is in seconds, then $\frac{dY}{dx}$ is in meters per second. Both sides of the differential equation need the same units. A constant of proportionality often carries the units that make the two sides match.
The phrase proportional to means equal to a constant times. Suppose a population grows at a rate proportional to its size. Let $P$ be the number of bacteria and $t$ the time in hours. The rate $\frac{dP}{dt}$ is proportional to $P$, so $\frac{dP}{dt}=kP$ with $k>0$. Here $\frac{dP}{dt}$ is in bacteria per hour, and $k$ is in per hour ($1/\mathrm{h}$).
Example. At an instant when $P=400$ bacteria and $k=0.3$ per hour, $\frac{dP}{dt}=0.3\cdot 400=120$ bacteria per hour. Over a short time $dt$ hours, the change in the population is about $120\,dt$ bacteria. The rate is larger when the population is larger, because the rate equals $k$ times the current size. The constant $k$ itself does not change with $P$.
A second sentence uses a difference. The rate of change of temperature is proportional to the difference between the temperature and room temperature $70^\circ\mathrm{F}$. Let $T$ be the temperature in degrees Fahrenheit and $t$ the time in minutes. When the object is hotter than the room, $T-70$ is positive and the object should cool, so the rate is negative. That puts a minus sign in front of a positive constant $k$: $\frac{dT}{dt}=-k(T-70)$. The left side is in degrees per minute, so $k$ is in per minute.
Example. Suppose $k=0.2$ per minute and the object is at $T=90^\circ\mathrm{F}$. Then $\frac{dT}{dt}=-0.2(90-70)=-4$, so the temperature is falling at $4^\circ\mathrm{F}$ per minute at that instant. If instead $T=60^\circ\mathrm{F}$, then $\frac{dT}{dt}=-0.2(60-70)=2$, so the temperature is rising at $2^\circ\mathrm{F}$ per minute, toward the room. The same equation handles both sides of $70^\circ\mathrm{F}$.
Words that say decreases, cools, or decays tell you to include a minus sign when $k$ is taken to be positive. Words that say grows or increases, proportional to the present amount, give $\frac{dP}{dt}=kP$ with $k>0$. The work at this stage is the equation and the units. A later topic separates variables and solves the equation in general.
| Sentence | Differential equation | Units of the rate |
|---|---|---|
| The population grows at a rate proportional to its size. | $\frac{dP}{dt}=kP$ | bacteria per hour, if $P$ counts bacteria and $t$ is in hours |
| Temperature changes at a rate proportional to its difference from $70^\circ\mathrm{F}$. | $\frac{dT}{dt}=-k(T-70)$ | degrees per minute, if $T$ is in $^\circ\mathrm{F}$ and $t$ is in minutes |
| The rate of change of $y$ with respect to $x$ is twice $x$. | $\frac{dy}{dx}=2x$ | units of $y$ per unit of $x$ |
The figure shows one solution of the population model in the special case $k=1$ per hour and $P(0)=100$, namely $P=100e^{t}$. Differentiate to check: $\frac{d}{dt}(100e^{t})=100e^{t}=P$, and $P(0)=100$. The drawing uses base $2.718281828$ in place of $e$. The steeper climb at larger $P$ is the picture of a rate proportional to size. A different positive $k$ stretches the same shape along the time axis.
One solution of $\frac{dP}{dt}=P$ with $P(0)=100$. The curve is $P=100e^{t}$, drawn with base $2.718281828$. The slope at each time equals the population at that time, in bacteria per hour.
Key points
- Translate the sentence into an equation for the derivative. Solving can wait.
- $\frac{dY}{dx}$ has units of $Y$ per unit of $x$. Both sides of the equation use those units.
- Grows at a rate proportional to its size means $\frac{dP}{dt}=kP$ with $k>0$.
- The value $kP$ is the rate. In the example, $k=0.3$ per hour and $P=400$ give $120$ bacteria per hour.
- Cooling toward room temperature $70^\circ\mathrm{F}$ is $\frac{dT}{dt}=-k(T-70)$ with $k>0$.
- At $T=90$ and $k=0.2$ per minute, the object cools at $4^\circ\mathrm{F}$ per minute. At $T=60$ it warms at $2^\circ\mathrm{F}$ per minute.
A common mistake is to write $\frac{dP}{dt}=k$ when the sentence says the rate is proportional to the size. That equation would add the same number of bacteria every hour. The proportional model is $\frac{dP}{dt}=kP$. On the temperature model, dropping the minus sign makes a hot object get hotter.