Modeling with
Differential Equations
Learn how to translate real-world situations into differential equations, the 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 relation to another variable.
Why Model with Differential Equations?
Most natural processes are described by their rates of change, not their position. Differential equations let us capture this directly.
The Modeling Process
The key step is translating words into math: identify what quantity is changing, what it depends on, and write that relationship using derivative notation.
Translating "Rate of Change"
The Major Models
| Model | Equation | Solution Form |
|---|---|---|
| Exponential Growth/Decay | \(\frac{dy}{dt} = ky\) | \(y = Ce^{kt}\) |
| Newton's Cooling | \(\frac{dT}{dt} = k(T - T_s)\) | \(T = T_s + Ce^{kt}\) |
| Logistic Growth | \(\frac{dP}{dt} = rP\!\left(1 - \frac{P}{K}\right)\) | \(P = \frac{K}{1 + Ae^{-rt}}\) |
| Mixing Problems | \(\frac{dA}{dt} = \text{rate in} - \text{rate out}\) | Varies by setup |
Exponential vs Logistic Growth
Newton's Law of Cooling
The temperature of an object changes at a rate proportional to the difference between its temperature and the surrounding temperature.
How to Set Up a DE Model
Example 1: Radioactive Decay
Problem: A radioactive substance decays at a rate proportional to the amount present. If 100 g remains initially and 80 g after 3 hours, write the differential equation and find the decay constant.
Example 2: Logistic Population
Problem: A fish population grows logistically in a lake with carrying capacity \(K = 5000\). The growth rate is \(r = 0.4\) per year and the initial population is 500. Write the differential equation.
Example 3: Mixing Problem
Problem: A 200-liter tank initially contains pure water. Brine with 3 g/L of salt flows in at 5 L/min. The well-mixed solution flows out at 5 L/min. Write the DE for the amount of salt.
Visualizing with Slope Fields
A slope field plots tiny line segments at grid points showing the slope \(\frac{dy}{dt}\) at each point. Solution curves follow these segments.
Equilibrium Solutions
An equilibrium solution is a constant value where \(\frac{dy}{dt} = 0\). The system stays at this value forever if it starts there.
Common Mistakes
Summary of Models
| Key Phrase | DE Form | Model Type |
|---|---|---|
| "Proportional to the amount" | \(\frac{dy}{dt} = ky\) | Exponential |
| "Proportional to the difference" | \(\frac{dy}{dt} = k(y - A)\) | Newton's Cooling |
| "Limited by capacity \(K\)" | \(\frac{dP}{dt} = rP\!\left(1 - \frac{P}{K}\right)\) | Logistic |
| "Rate in minus rate out" | \(\frac{dA}{dt} = R_{\text{in}} - R_{\text{out}}\) | Mixing |
| "Changes at a constant rate" | \(\frac{dy}{dt} = c\) | Linear |
Question 1 of 5
A population of bacteria doubles every 4 hours. Which differential equation models this growth?
Question 2 of 5
A cup of coffee at 90°C is placed in a room at 20°C. Which equation models the temperature?
Question 3 of 5
For the logistic equation \(\frac{dP}{dt} = 0.3P\!\left(1 - \frac{P}{1000}\right)\), what are the equilibrium solutions?
Question 4 of 5
A tank holds 500 L of water. Pure water enters at 10 L/min, and the well-mixed solution exits at 10 L/min. If there are initially 50 g of salt, what is \(\frac{dA}{dt}\)?
Question 5 of 5
A quantity \(y\) decreases at a rate proportional to the square of \(y\). Which differential equation models this?