01 / 21

Setting Up Differential Equations
from Word Problems

Learn to translate real-world scenarios into the language of \(\frac{dy}{dt}\), identifying quantities, rates, and relationships that become differential equations.

Differential Equations

What Is a Differential Equation?

A differential equation (DE) is any equation that contains one or more derivatives of an unknown function. Instead of solving for a number, you solve for a function.

In this lesson we focus on setting up the DE: translating English sentences into mathematical equations involving derivatives.

Why Word Problems Matter

★ Real Applications
Population growth, cooling coffee, draining tanks: DEs model the real world.
★ Translation Skill
The hardest step is converting words into symbols. Solving comes after.
★ Exam Staple
AP Calculus, university courses, and engineering exams all test this skill.

The Vocabulary of Rates

Word problems use everyday language to describe mathematical relationships. Here are the most common trigger phrases and what they translate to:

"rate of change"
\(\frac{dy}{dt}\) or \(\frac{dx}{dt}\)
"proportional to"
\(= k \cdot (\text{quantity})\)
"increases / decreases"
Positive or negative sign on \(\frac{dy}{dt}\)
"at a constant rate"
\(\frac{dy}{dt} = c\) (a constant)

The Core Translation Framework

Word Problem (English) Identify 1. Variables 2. Rates 3. Relationships Differential Equation "Population grows at a rate proportional to size" P = population rate = dP/dt, prop. to P
\(\frac{dP}{dt} = kP\)

Common DE Models in Word Problems

Scenario Phrase Equation
Exponential growth "proportional to itself" \(\frac{dy}{dt}=ky\)
Newton's cooling "proportional to difference" \(\frac{dT}{dt}=k(T-T_s)\)
Logistic growth "limited capacity" \(\frac{dP}{dt}=kP\!\left(1-\frac{P}{M}\right)\)
Mixing / tank "rate in minus rate out" \(\frac{dA}{dt}=R_{\text{in}}-R_{\text{out}}\)

Proportional vs. Constant Rates

Proportional Rate
"The rate of change of \(y\) is proportional to \(y\)."

\(\frac{dy}{dt} = ky\)

The rate depends on the current value. Larger \(y\) means faster change.
Constant Rate
"The quantity changes at a constant rate of 5 units per second."

\(\frac{dy}{dt} = 5\)

The rate is fixed regardless of the current value of \(y\).

How to Set Up a DE: 5 Steps

1
Define variables. Assign a letter to each changing quantity and the independent variable (usually time \(t\)).
2
Find the derivative. Identify which phrase describes a "rate of change" and write it as \(\frac{dy}{dt}\).
3
Translate the relationship. "Proportional to" becomes \(k \cdot (\ldots)\). "Difference from" becomes \((y - C)\).
4
Determine the sign. Increasing quantities get a positive rate; decreasing quantities get a negative rate (or negative \(k\)).
5
State initial conditions. Look for phrases like "initially," "at time \(t=0\)," or "starts at" to find \(y(0)\).

Example 1: Population Growth

1
Variables: Let \(P(t)\) = population at time \(t\).
2
Rate: "grows at a rate" → \(\frac{dP}{dt}\).
3
Relationship: "proportional to its current size" → \(= kP\).
4
Sign: "grows" → positive, so \(k > 0\).
5
IC: "initially 500" → \(P(0) = 500\).

Visualizing Exponential Growth

t P 0 500 small slope large slope P(0) = 500
As \(P\) grows, \(\frac{dP}{dt}\) grows too

Example 2: Newton's Law of Cooling

1
Variables: Let \(T(t)\) = temperature of coffee at time \(t\). Room temp \(T_s = 20\).
2
Rate: "cools at a rate" → \(\frac{dT}{dt}\).
3
Relationship: "proportional to the difference" → \(= k(T - 20)\).
4
Sign: "cools" → temperature decreases. The rate \(\frac{dT}{dt}\) must be negative. We ensure this by writing \(-k\) and defining the constant \(k > 0\).
5
IC: \(T(0) = 90\).

Example 3: Mixing Tank Problem

Tank: 100 L
\(A(t)\) grams of salt
IN 2 L/min 3 g/L = 6 g/min OUT 2 L/min
\(\frac{A}{100}\) g/L
\(= \frac{A}{50}\) g/min

Tank Problem: Breakdown

1
Variable: \(A(t)\) = grams of salt in tank at time \(t\).
2
Rate in: 2 L/min \(\times\) 3 g/L \(= 6\) g/min.
3
Concentration out: The tank is well-mixed, so concentration \(= \frac{A(t)}{100}\) g/L.
4
Rate out: 2 L/min \(\times\) \(\frac{A}{100}\) g/L \(= \frac{A}{50}\) g/min.
5
Balance: \(\frac{dA}{dt} = \text{rate in} - \text{rate out} = 6 - \frac{A}{50}\).

Example 4: Logistic Growth

1
Variables: \(P(t)\) = population, \(M = 10000\) (carrying capacity).
2
"Proportional to its size": involves factor \(P\).
3
"Fraction of capacity remaining": \(\left(1 - \frac{P}{M}\right) = \left(1 - \frac{P}{10000}\right)\).

Common Mistakes to Avoid

✕ Wrong Sign
Forgetting the negative sign for a cooling problem. If temperature decreases, \(\frac{dT}{dt}\) must be negative. Writing \(\frac{dT}{dt} = k(T-T_s)\) with \(k>0\) describes heating.
✕ Missing Variable
Writing \(\frac{dP}{dt} = k\) when the problem says "proportional to \(P\)." The right side must include \(P\): \(\frac{dP}{dt} = kP\).
✕ Forgetting Rate Out
In tank problems, writing \(\frac{dA}{dt} = R_{\text{in}}\) and ignoring the outflow. Always use \(R_{\text{in}} - R_{\text{out}}\).

Summary: Phrase → Equation Cheat Sheet

English Phrase Math Translation
"rate of change of \(y\)" \(\frac{dy}{dt}\)
"proportional to \(y\)" \(= ky\)
"proportional to the difference from \(C\)" \(= k(y - C)\)
"grows" / "increases" \(\frac{dy}{dt} > 0\)
"decays" / "decreases" / "cools" \(\frac{dy}{dt} < 0\)
"limited by capacity \(M\)" \(= k y\!\left(1 - \frac{y}{M}\right)\)
"rate in minus rate out" \(= R_{\text{in}} - R_{\text{out}}\)
"initially" / "at time 0" \(y(0) = \text{value}\)

Question 1 of 5

"A radioactive substance decays at a rate proportional to the amount present." Which DE models this?

Question 2 of 5

"A tank initially contains 50 g of salt in 200 L. Pure water flows in at 4 L/min and the well-mixed solution flows out at 4 L/min." What is \(\frac{dA}{dt}\)?

Question 3 of 5

"An object at \(150^\circ\text{F}\) is placed in a \(70^\circ\text{F}\) room. It cools at a rate proportional to the temperature difference." What is the correct initial-value problem?

Question 4 of 5

"A rumor spreads through a school of 800 students at a rate proportional to the product of those who have heard it and those who have not." If \(R(t)\) is the number who have heard the rumor, which DE is correct?

Question 5 of 5

Which phrase in a word problem tells you to write \(\frac{dy}{dt} = k(y - C)\) rather than \(\frac{dy}{dt} = ky\)?