Differential Equation Modeling: From Intuition to Precision
Imagine you're watching a cup of hot coffee cool down on your desk. It starts hot, then gradually loses heat to the room. But here's the key question: how fast does it cool at any given moment? The answer isn't a fixed number — it depends on how hot the coffee is right now. The hotter it is, the faster it cools. This is the core idea behind differential equation modeling: the rate of change of a quantity depends on the quantity itself.
The Intuition First
Suppose the room is at 20∘C and your coffee starts at 90∘C. Newton's Law of Cooling says the rate at which the coffee cools is proportional to the temperature difference between the coffee and the room. So when the coffee is 90∘C, the difference is 70∘C and it cools fast; when it's 40∘C, the difference is only 20∘C and it cools slowly. The rate changes as the temperature changes.
If we let T(t) be the temperature at time t, then "rate of change of temperature" is dtdT, and the statement above becomes:
dtdT=−k(T−20)
The minus sign is because the temperature is decreasing; the constant k depends on the cup, the liquid, etc. This is a differential equation — an equation that involves a function and its derivative.
The Precise Statement
A differential equation is any equation that contains an unknown function and one or more of its derivatives. The goal is to find the function itself (here, T(t)) that satisfies the equation.
dxdy=f(x,y)
This is the general form of a first-order ordinary differential equation. The unknown is y(x), and the equation tells you how y changes at every point based on x and y itself.
Modeling means taking a real-world situation and translating it into a differential equation:
- Identify the quantity you want to study (population, temperature, drug concentration, voltage).
- State the rate law in words: "The population grows at a rate proportional to its size."
- Translate into math: dtdP=kP.
- Add initial conditions: P(0)=P0 (the starting value).
Why This Matters
Without differential equations, you'd have to guess the whole future behavior of a system. With them, you get a precise rule that governs every instant of change. The solution to dtdP=kP is P(t)=P0ekt — exponential growth. The solution to the cooling equation is T(t)=20+70e−kt — exponential decay toward room temperature.
Most real-world models are not this simple. But every model starts the same way: observe how something changes, express that change in terms of the thing itself, and write it as a differential equation.
A Simple Example to Try
A bacteria culture doubles every hour. If you start with 100 bacteria:
Step 1: Quantity = population P(t). …