SECTION 1
Historical Context & Motivation
Before there were computers, scientists and mathematicians needed a way to describe how things change over time. A population of bacteria grows faster when there are more bacteria. A hot cup of coffee cools down more quickly when it is much hotter than its surroundings. The language that captures these ideas is the differential equation — an equation that relates a quantity to its own rate of change. The ability to translate a word problem into a differential equation is the critical first step in using this powerful tool.
Throughout history, some of humanity's greatest breakthroughs came from recognizing that a physical process could be described by a rate equation. Isaac Newton modeled the cooling of objects. Thomas Malthus described population growth with rates. These pioneers showed that setting up the right equation is often harder — and more important — than solving it.
1687 • Newton's Laws of Motion
1701 • Newton's Law of Cooling
1798 • Malthusian Population Model
1838 • Logistic Growth Model
The central question this lesson addresses is: given a real-world scenario described in words, how do you identify the variables, the rates, and the relationships so that you can write the correct differential equation? Once you master this translation step, solving the equation becomes a separate (and often easier) task.
SECTION 2
Core Principles & Definitions
Setting up a differential equation from a word problem requires you to identify a few key ingredients. You need to know what quantity is changing, what it depends on, and how the rate of change is related to other quantities. Let's break these ideas into foundational principles you can rely on every time.
Identify the Dependent Variable
Identify the Independent Variable
Express the Rate of Change
Translate Proportionality
Include Initial Conditions
KEY TAKEAWAY
SECTION 3
Visual Explanation — From Words to Equations
The diagram below illustrates the step-by-step process of translating a word problem into a differential equation. Each colored stage represents one decision you make as you move from English to mathematics. Follow the flow from left to right, and notice how each piece of the word problem maps to a specific mathematical element.
Notice that the process is sequential. You first figure out what is changing (Step 1), then give it a variable name (Step 2), express its rate as a derivative (Step 3), match the words to the right-hand side of the equation (Step 4), and finally anchor the equation with any starting values given in the problem (Step 5). If you get stuck, return to the keyword table — it covers the vast majority of phrases you'll see in textbook problems.
SECTION 4
Mathematical Framework
A first-order ordinary differential equation (ODE) involves a function and its first derivative. In word problems, the function represents a real quantity — temperature, population, money — and its first derivative represents the rate at which that quantity changes. Here are the four most common equation templates you'll encounter.
EXPONENTIAL GROWTH / DECAY
y = quantity at time t; k = growth rate constant (positive for growth, negative for decay); t = time. Arises when the rate of change is proportional to the current amount.
NEWTON'S LAW OF COOLING
T = object temperature; Tₑ = environment (ambient) temperature; k > 0 is the cooling constant. The rate of temperature change is proportional to the difference between the object and its surroundings.
MIXING / TANK PROBLEMS
A = amount of substance in the tank at time t. "Rate in" is the concentration flowing in multiplied by the flow rate. "Rate out" depends on (A / volume) × outflow rate. This template captures any inflow-minus-outflow scenario.
LOGISTIC GROWTH
P = population; k = intrinsic growth rate; M = carrying capacity (maximum sustainable population). Growth slows as P approaches M because of limited resources.
Each of these templates is a translation of a specific type of word problem. When you see language about something growing or decaying "in proportion to itself," reach for the first template. When the problem mentions a temperature difference, use Newton's cooling law. When liquid flows in and out of a container, think mixing. When growth has a natural cap, think logistic. The key skill is pattern recognition: matching the story to the correct mathematical skeleton.
SECTION 5
Detailed Breakdown — Keyword-to-Equation Map
One of the trickiest parts of setting up a differential equation is decoding the English phrasing. Different textbooks and problems use different words, but they tend to fall into predictable patterns. The table below maps common phrases to their mathematical meaning, and the diagram that follows visualizes how multiple cues in a single problem combine to form one equation.
| Phrase in Word Problem | Mathematical Translation | Example Equation Piece |
|---|---|---|
| "rate of change of y" | The derivative dy/dt | dy/dt = … |
| "proportional to y" | Multiply by constant k | … = ky |
| "increases" / "grows" | Positive sign on the rate | dy/dt = +( … ) |
| "decreases" / "decays" | Negative sign on the rate | dy/dt = −( … ) |
| "at a constant rate of 5 per hour" | dy/dt equals a constant | dy/dt = 5 |
| "the difference between y and A" | Subtract: (y − A) or (A − y) | … = k(A − y) |
| "initially" / "at time zero" / "starts with" | Initial condition y(0) = value | y(0) = y₀ |
Common word-problem phrases and their mathematical translations
When you practice this approach on multiple problems, you'll start to see the same patterns everywhere. A word problem about radioactive decay uses the same structure as one about depreciation of a car's value. A mixing problem in chemistry looks just like a dilution problem in pharmacology. The specific numbers change, but the skeleton of the differential equation remains the same.
SECTION 6
Worked Example — Newton's Law of Cooling
Let's walk through a complete example. Read the problem carefully, and then follow each step as we translate the English description into a differential equation.
PROBLEM STATEMENT
Setting Up Newton's Law of Cooling
- 1
Step 1 — Identify the Changing Quantity
The coffee's temperature is changing over time. So the dependent variable is temperature. We'll call it T, and it depends on time t.Dependent variable: T(t) - 2
Step 2 — Identify Constants and Given Values
The room temperature is 22 °C and does not change, so it is a constant. We'll call it Tₑ = 22. The initial coffee temperature is 90 °C, so T(0) = 90. There is a proportionality constant k that we don't know numerically, but we include it in the equation.Tₑ = 22, T(0) = 90, k > 0 (unknown) - 3
Step 3 — Translate the Rate Statement
"The coffee cools at a rate" tells us dT/dt is on the left side. Since the coffee is cooling (temperature is decreasing), the derivative is negative. The phrase "proportional to the difference between its temperature and the room temperature" tells us the right side involves k × (T − Tₑ). We attach a negative sign because the temperature is decreasing.dT/dt = −k(T − Tₑ) - 4
Step 4 — Substitute Known Constants
Replace Tₑ with 22 to get the specific equation for this problem.dT/dt = −k(T − 22) - 5
Step 5 — State the Complete Initial Value Problem
Combine the differential equation with the initial condition to form the complete initial value problem (IVP).dT/dt = −k(T − 22), T(0) = 90
Notice that we were not asked to solve the equation — just to set it up. This is often the hardest part! If you were asked to solve it, you would use separation of variables, but that's a separate skill. The critical achievement here is going from a paragraph of English to a precise mathematical statement.
SECTION 7
Comparing Common First-Order ODE Models
Different word problems lead to different types of first-order differential equations. It's helpful to see the major models side by side so you can quickly identify which one fits a given scenario. The table below summarizes the four most common models, along with their strengths and limitations.
| Model | Equation | Best For | Limitation |
|---|---|---|---|
| Exponential Growth | dy/dt = ky | Population growth, compound interest, radioactive decay | Unrealistic for large populations (no cap on growth) |
| Newton's Cooling | dT/dt = −k(T − Tₑ) | Cooling/heating of objects in a constant-temperature environment | Assumes ambient temperature doesn't change |
| Mixing Problem | dA/dt = (rate in) − (rate out) | Salt in tanks, pollutant dilution, IV drip models | Assumes perfect and instant mixing |
| Logistic Growth | dP/dt = kP(1 − P/M) | Population with resource limits, market saturation | Single-species only; doesn't model predator-prey dynamics |
Four fundamental first-order ODE models and their applications
KEY TAKEAWAY
SECTION 8
Connection to Advanced Theory
The skills you develop here — reading a situation, identifying variables, and writing a rate equation — extend far beyond first-order ODEs. In more advanced courses, you'll encounter second-order equations (springs and circuits), systems of equations (predator-prey models), and partial differential equations (heat flow in a rod). The setup process remains fundamentally the same: translate the physics into math.
| Concept | First-Order (This Lesson) | Advanced Extension |
|---|---|---|
| Type of derivative | First derivative dy/dt only | Second derivative d²y/dt² (acceleration, spring systems) |
| Number of unknowns | One dependent variable | Multiple coupled variables (e.g., prey and predator populations) |
| Independent variable | Usually just time (t) | Time and space (x, t) for partial differential equations |
| Setup strategy | Identify rate, translate proportionality | Same strategy — just more variables and relationships to manage |
How first-order ODE setup skills extend to advanced topics
The takeaway is encouraging: if you master the art of setting up first-order equations from word problems, you have already learned the core reasoning pattern that applies to every level of differential equations. Future courses will introduce more complex equations, but the translation process — words to variables to derivatives to equations — stays the same.
SECTION 9
Practice Problems
Try these five problems on your own before checking the answers. For each one, your goal is to write the differential equation and initial condition — you do not need to solve the equation.
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
Setting up differential equations from word problems is the art of translating English descriptions into mathematical rate equations. The process follows a consistent pattern: identify the dependent variable (what is changing), define the independent variable (usually time), express the rate of change as a derivative, translate key phrases like "proportional to" into multiplication by a constant k, and attach any initial conditions provided in the problem.
The four major templates you should know are exponential growth/decay (dy/dt = ky), Newton's law of cooling (dT/dt = −k(T − Tₑ)), mixing problems (dA/dt = rate in − rate out), and logistic growth (dP/dt = kP(1 − P/M)). Recognizing which template matches a given scenario is the single most important skill. Once you write the equation correctly, solving it is a separate and often more straightforward step.