Modeling with
Differential Equations
Learn to translate real-world scenarios into differential equations, the mathematical language that describes how things change.
What is a Differential Equation?
A differential equation is an equation that relates a function to one or more of its derivatives. It tells us how a quantity changes in terms of itself and other variables.
Why Model with Them?
Many real-world phenomena are described not by what something is, but by how it changes. Differential equations let us capture these dynamics mathematically.
Anatomy of a Differential Equation
The Modeling Process
Exponential Growth: \(\frac{dy}{dt} = ky\)
When a quantity grows at a rate proportional to its current value, we get the exponential growth model. The constant \(k > 0\) means growth; \(k < 0\) means decay.
Newton's Law of Cooling
A hot object cools at a rate proportional to the difference between its temperature and the ambient temperature \(T_a\):
Proportional vs. Constant Rate
| Constant Rate | Proportional Rate | |
|---|---|---|
| Equation | \(\frac{dy}{dt} = k\) | \(\frac{dy}{dt} = ky\) |
| Solution | \(y = kt + C\) | \(y = Ce^{kt}\) |
| Graph shape | Straight line | Exponential curve |
| Example | Dripping faucet fills a bucket at 2 L/min | Bacteria double every hour |
| Key phrase | "at a constant rate" | "proportional to" |
How to Set Up a DE
Example 1: Bacterial Growth
Problem: A colony of bacteria grows at a rate proportional to its current population. At time \(t = 0\), the population is 500. Write a differential equation and initial condition.
Example 2: Cooling Coffee
Problem: A cup of coffee at \(90^\circ\text{C}\) is placed in a room at \(22^\circ\text{C}\). The temperature decreases at a rate proportional to the difference between the coffee and room temperature. Write the DE.
Example 3: Tank Mixing
Problem: A tank holds \(100 \text{ L}\) of pure water. Brine containing \(3 \text{ g/L}\) of salt flows in at \(2 \text{ L/min}\). The well-mixed solution drains at the same rate. Let \(S(t)\) be grams of salt at time \(t\). Write the DE.
Beyond Exponential: Logistic Growth
Real populations can't grow forever. Logistic growth includes a carrying capacity \(M\) that limits growth as the population approaches it:
When \(P\) is small, \(\frac{P}{M} \approx 0\), so growth is nearly exponential. As \(P \to M\), the factor \(\left(1 - \frac{P}{M}\right) \to 0\) and growth slows to zero.
Translating Key Phrases
| English Phrase | Mathematical Translation |
|---|---|
| "rate of change of \(y\)" | \(\frac{dy}{dt}\) |
| "proportional to \(y\)" | \(= ky\) |
| "proportional to the difference" | \(= k(y - A)\) |
| "increases at a constant rate of 5" | \(\frac{dy}{dt} = 5\) |
| "decreases at a rate of 3% per year" | \(\frac{dy}{dt} = -0.03\,y\) |
| "rate in minus rate out" | \(\frac{dy}{dt} = R_{\text{in}} - R_{\text{out}}\) |
Common Mistakes
Question 1 of 5
A radioactive substance decays at a rate proportional to the amount present. If \(A(t)\) is the amount at time \(t\), which differential equation models this?
Question 2 of 5
A tank has \(200 \text{ L}\) of solution. Pure water flows in at \(4 \text{ L/min}\), and the mixed solution flows out at \(4 \text{ L/min}\). If \(S(t)\) is the grams of salt at time \(t\), what is \(\frac{dS}{dt}\)?
Question 3 of 5
Newton's Law of Cooling states that the rate of change of temperature is proportional to the difference between the object's temperature \(T\) and the ambient temperature \(T_a = 20\). The object is cooling. Which equation is correct?
Question 4 of 5
A population of fish grows logistically with carrying capacity \(M = 1000\) and growth rate \(k\). Which differential equation models this?
Question 5 of 5
A savings account earns interest at a continuous rate of \(5\%\) per year on its current balance \(B\). Which is the correct differential equation for \(B(t)\)?