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.
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.
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
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.
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.
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.
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₀ |
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.
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.
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.
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 |
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 |
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.
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.
Lesson 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.