Formulating Differential Equations

Translating rate of change descriptions into equations — “rate proportional to” → $\dfrac{\text{d}y}{\text{d}t} = k \cdot f(y)$
9709 Paper 3 · §3.8 Differential Equations · Week 9 Lesson 1
💡 Lead In: The Growing Bacteria

The Scenario

A biologist places 100 bacteria in a petri dish at 9 AM. She returns an hour later and counts 200. By 11 AM there are 400. The population has doubled in the first hour, then doubled again in the second hour.

The biologist observes: “The bacteria multiply faster when there are more of them — the growth rate depends on the current population.”

At 9 AM the population grew by 100 in one hour. At 10 AM it grew by 200 in one hour. More bacteria → faster growth. How do we capture this observation as a precise mathematical equation?

The Question

The biologist says: “The rate of increase of bacteria is proportional to the number of bacteria present.”

How do you write this observation as a mathematical equation?

Think about: What is changing? What is the rate? What is it proportional to?

💡 The Bridge (click to reveal)

Let $N$ = number of bacteria at time $t$.

“Rate of increase of bacteria” = $\dfrac{\text{d}N}{\text{d}t}$ (the derivative of $N$ with respect to $t$).

“Proportional to the number present” = $k \cdot N$ (where $k$ is a positive constant).

Combining: $\dfrac{\text{d}N}{\text{d}t} = kN$

This is a differential equation — an equation that relates a function to its derivative. Today we learn how to translate ANY such word description into a differential equation.

📖 Key Concepts: Formulating Differential Equations

A differential equation is an equation that relates a quantity to its rate of change. Today we focus on formulating them — translating a word description of a rate of change into a mathematical equation. We do NOT solve them yet (that is the next lesson).

The general pattern:

A word problem says: “The rate of change of $y$ is proportional to [something].” We translate this to:

$$\boxed{\;\dfrac{\text{d}y}{\text{d}t} = k \cdot f(y)\;}$$

where $k$ is the constant of proportionality and $f(y)$ is the function describing what $y$ is proportional to.

Key relation 1 — Translation: from words to a differential equation

Follow these five steps to translate any word description into a differential equation of the form $\dfrac{\text{d}y}{\text{d}t} = k \cdot f(y)$:

1. Name the quantity. Identify what is changing and give it a symbol (e.g. $y$, $N$, $P$, $m$, $h$, $e$).

2. Write the rate. Express the rate of change as a derivative with respect to the correct independent variable: $\dfrac{\text{d}y}{\text{d}t}$ (time) or $\dfrac{\text{d}y}{\text{d}x}$ / $\dfrac{\text{d}e}{\text{d}\theta}$ (another variable).

3. Translate the proportion. “proportional to $f$” $\rightarrow k \cdot f$; “inversely proportional to $f$” $\rightarrow \dfrac{k}{f}$.

4. Identify $f(y)$. Pick out the function the rate is proportional to: $y$, $y^2$, $\sqrt{y}$, $\dfrac{1}{y}$, $\ln(\cdots)$, etc.

5. Fix the sign. Increasing quantity $\rightarrow +k \cdot f(y)$; decreasing quantity $\rightarrow -k \cdot f(y)$. Always take $k > 0$.

Key relation 2 — Proportionality types: what can $f(y)$ be?

The phrase “proportional to” can describe different functions of $y$. Here are the five common types in this chapter:

Type Phrase Differential equation Behaviour
Direct “proportional to $y$” $\dfrac{\text{d}y}{\text{d}t} = ky$ rate grows linearly with $y$
Inverse “inversely proportional to $y$” $\dfrac{\text{d}y}{\text{d}t} = \dfrac{k}{y}$ as $y$ grows, rate shrinks
Square “proportional to $y^2$” $\dfrac{\text{d}y}{\text{d}t} = ky^2$ rate grows much faster than $y$
Square root “proportional to $\sqrt{y}$” $\dfrac{\text{d}y}{\text{d}t} = k\sqrt{y}$ rate grows, slower than $y$
Logarithm “proportional to $\ln(\cdots)$” $\dfrac{\text{d}y}{\text{d}t} = k\ln(H-y)$ rate slows as $y$ nears $H$

Variants like “inversely proportional to the square of $y$” give $\dfrac{\text{d}y}{\text{d}t} = \dfrac{k}{y^2}$ — the same inverse pattern, with $y^2$ in the denominator.

Key relation 3 — Sign considerations: increasing or decreasing?

The constant $k$ is always taken as positive; the direction of change is shown by a separate sign:

Situation Sign of $\dfrac{\text{d}y}{\text{d}t}$ Form
Increasing positive $\dfrac{\text{d}y}{\text{d}t} = +k \cdot f(y)$
Decreasing negative $\dfrac{\text{d}y}{\text{d}t} = -k \cdot f(y)$

Key words to watch for: “increases / grows” $\rightarrow +$; “decreases / decays / shrinks” $\rightarrow -$.

Group Activity 1: Match the Model — Scenario to Differential Equation

In pairs, link every scenario to the differential equation that models it. Click a scenario card, then click the equation you think it pairs with — a numbered line joins them. Link all six pairs, then press Check to score. Press Reset to shuffle and play again. Talk each link through before you click: which words give you the derivative, and which words give you $k \cdot f(y)$?

Linked: 0 / 6 Score: –

Reading tip: “rate of increase / decrease” → $\dfrac{\text{d}y}{\text{d}t}$; “proportional to $f$” → $k \cdot f$; “inversely proportional to $f$” → $\dfrac{k}{f}$; “decreases” → a minus sign.

Individual Activity 2: Proportionality Predictor — Build the Rate–Quantity Graph

Work on your own. Each mission describes a rate of change and shows a dotted target graph of $\dfrac{\text{d}y}{\text{d}t}$ against $y$. Choose the proportionality type, the direction and the value of $k$ so that your solid curve matches the target, then press Check model. Predict first, then adjust, then explain what each control does to the curve.

Mission: 1 / 3 Matched: 0 / 3 Attempts: 0

Proportional to
Direction
Rate constant: $k$ = 1.0

Dotted amber curve = the target given by the mission. Solid emerald curve = the model your controls are building right now.

Group · Guided Worked Example 1: Interpreting $\dfrac{\text{d}v}{\text{d}t} = 5v^2$ Exercise 9A Q1

The differential equation $\dfrac{\mathrm{d}v}{\mathrm{d}t} = 5v^2$ models the motion of a particle, where $v$ is the velocity of the particle in $\mathrm{m\,s^{-1}}$ and $t$ is the time in seconds. Explain the meaning of $\dfrac{\mathrm{d}v}{\mathrm{d}t}$ and what the differential equation tells you about the motion of the particle.

👁 Reveal Solution
Step 1: Meaning of $\dfrac{\text{d}v}{\text{d}t}$

$\dfrac{\text{d}v}{\text{d}t}$ is the rate of change of velocity with respect to time — this is the acceleration of the particle.

Its units are $\dfrac{\text{m/s}}{\text{s}} = \text{m/s}^2$.

Step 2: What the equation tells us — sign

The equation is $\dfrac{\text{d}v}{\text{d}t} = 5v^2$.

Since $v^2 \geq 0$ for all real $v$, and $5 > 0$, we have $\dfrac{\text{d}v}{\text{d}t} \geq 0$ always.

This means the velocity is always increasing (or zero) — the particle never decelerates.

Step 3: What the equation tells us — magnitude

The acceleration $= 5v^2$ is proportional to the square of the velocity.

When $v = 0$: acceleration $= 0$ (no change in velocity).

When $v = 1$: acceleration $= 5\,\text{m/s}^2$.

When $v = 2$: acceleration $= 20\,\text{m/s}^2$.

As the particle moves faster, its acceleration grows rapidly — the velocity increases without bound (in this model).

Final Answer

$\dfrac{\text{d}v}{\text{d}t}$ is the acceleration of the particle. The equation tells us that the acceleration equals $5v^2$, which is always non-negative and proportional to the square of the velocity. The particle's velocity always increases, and the rate of increase grows as the velocity grows.

Individual · Guided Worked Example 2: Chemical Reaction — Inverse Proportion Exercise 9A Q4

In a chemical reaction in which substance A is converted into substance B, the rate of increase of the mass of substance B is inversely proportional to the mass of substance B present. Find a differential equation to model this situation.

👁 Reveal Solution
Step 1: Define the variable

Let $m$ = mass of substance B present at time $t$ (in grams or kg).

Step 2: Translate “rate of increase”

“Rate of increase of the mass of B” = $\dfrac{\text{d}m}{\text{d}t}$.

The word “increase” tells us this rate is positive.

Step 3: Translate “inversely proportional to”

“Inversely proportional to the mass $m$” means $\dfrac{k}{m}$, where $k > 0$ is the constant of proportionality.

Note: “inversely proportional” ≠ “proportional”. Inverse means the variable goes in the denominator.

Step 4: Combine

$$\dfrac{\text{d}m}{\text{d}t} = \dfrac{k}{m}$$

where $k$ is a positive constant.

Check

The mass $m$ is increasing (the reaction produces B), so $\dfrac{\text{d}m}{\text{d}t} > 0$. Since $k > 0$ and $m > 0$, we have $\dfrac{k}{m} > 0$. ✓

As $m$ grows, $\dfrac{k}{m}$ shrinks, so the rate of increase slows down — this makes physical sense (less reactant A left to convert).

✏️ Concept Quiz
Score: 0 / 4
1. The rate of increase of a population $P$ is proportional to $P$. The differential equation is:
$\dfrac{\text{d}P}{\text{d}t} = \dfrac{k}{P}$
$\dfrac{\text{d}P}{\text{d}t} = kP$
$\dfrac{\text{d}P}{\text{d}t} = k + P$
$\dfrac{\text{d}P}{\text{d}t} = \dfrac{P}{k}$
“Rate of increase of $P$” = $\dfrac{\text{d}P}{\text{d}t}$. “Proportional to $P$” = $kP$. So $\dfrac{\text{d}P}{\text{d}t} = kP$. The trap $\dfrac{k}{P}$ is inverse proportion. The trap $k + P$ is not a proportionality. The trap $\dfrac{P}{k}$ divides by $k$ instead of multiplying.
2. A quantity $Q$ decreases at a rate inversely proportional to $Q$. The differential equation is:
$\dfrac{\text{d}Q}{\text{d}t} = kQ$
$\dfrac{\text{d}Q}{\text{d}t} = -\dfrac{k}{Q}$
$\dfrac{\text{d}Q}{\text{d}t} = \dfrac{k}{Q}$
$\dfrac{\text{d}Q}{\text{d}t} = -kQ$
“Decreases” means the rate is negative, so we need a minus sign. “Inversely proportional to $Q$” = $\dfrac{k}{Q}$. Combined: $\dfrac{\text{d}Q}{\text{d}t} = -\dfrac{k}{Q}$. The trap $\dfrac{k}{Q}$ (no minus) forgets that “decreases” means negative. The trap $-kQ$ uses direct proportion instead of inverse. The trap $kQ$ has both errors: wrong proportionality type and wrong sign.
3. In the differential equation $\dfrac{\text{d}v}{\text{d}t} = -3v$, what does $\dfrac{\text{d}v}{\text{d}t}$ represent, and what is happening to $v$?
$v$ is the acceleration; $v$ is increasing
$v$ is the velocity; $v$ is increasing
$\dfrac{\text{d}v}{\text{d}t}$ is the acceleration; $v$ is decreasing
$v$ is the distance; $v$ is constant
$\dfrac{\text{d}v}{\text{d}t}$ is the rate of change of velocity = acceleration. The right-hand side is $-3v$: since $k = 3 > 0$ and the sign is negative, $\dfrac{\text{d}v}{\text{d}t} < 0$ (assuming $v > 0$), so $v$ is decreasing. The minus sign is the key: it tells us the velocity is decreasing (the particle is slowing down).
4. The rate of increase of $y$ is proportional to $\sqrt{y}$. The differential equation is:
$\dfrac{\text{d}y}{\text{d}t} = k\,y^2$
$\dfrac{\text{d}y}{\text{d}t} = \dfrac{k}{\sqrt{y}}$
$\dfrac{\text{d}y}{\text{d}t} = k\sqrt{y}$
$\dfrac{\text{d}y}{\text{d}t} = -k\sqrt{y}$
“Rate of increase of $y$” = $\dfrac{\text{d}y}{\text{d}t}$ (positive, since increasing). “Proportional to $\sqrt{y}$” = $k\sqrt{y}$. So $\dfrac{\text{d}y}{\text{d}t} = k\sqrt{y}$. The trap $ky^2$ confuses “square root” with “square”. The trap $\dfrac{k}{\sqrt{y}}$ uses inverse proportion. The trap $-k\sqrt{y}$ has the wrong sign (increasing means positive).
🎉
You scored 0 / 4
📝 More Practice

Attempt each question on paper first, then click Reveal Solution to check your formulation. Questions are ordered from easiest to hardest.

Exercise 9A Q2 Standard

A spark from a firework is moving in a straight line at a speed which is inversely proportional to the square of the distance which the spark has travelled from the firework. Find an expression for the speed (i.e. the rate of change of distance travelled) of the spark.

💡 Hint

Let $x$ = distance travelled from the firework.

Speed = rate of change of distance = $\dfrac{\text{d}x}{\text{d}t}$.

“Inversely proportional to the square of the distance” = $\dfrac{k}{x^2}$.

👁 Reveal Solution
Step 1: Define the variable

Let $x$ = distance travelled by the spark from the firework (in metres), at time $t$.

Step 2: Identify the rate

Speed = rate of change of distance = $\dfrac{\text{d}x}{\text{d}t}$.

The question tells us this directly: “the rate of change of distance travelled”.

Step 3: Translate the proportionality

“Inversely proportional to the square of the distance” = $\dfrac{k}{x^2}$.

“Inverse” → denominator. “Square of the distance” → $x^2$.

Final Answer

$$\boxed{\dfrac{\text{d}x}{\text{d}t} = \dfrac{k}{x^2}}$$

where $k$ is a positive constant.

Exercise 9A Q3 Medium

The rate at which a sunflower increases in height is proportional to the natural logarithm of the difference between its final height $H$ and its height $h$ at a particular time. Find a differential equation to model this situation.

💡 Hint

The variable is $h$ (current height), and the final height $H$ is a constant.

“Rate of increase in height” = $\dfrac{\text{d}h}{\text{d}t}$.

“Natural logarithm of the difference” = $\ln(H - h)$.

Is the height increasing or decreasing? What sign should the rate have?

👁 Reveal Solution
Step 1: Define the variables

Let $h$ = height of the sunflower at time $t$.

$H$ = final height (a constant).

Step 2: Identify the rate

“Rate at which the sunflower increases in height” = $\dfrac{\text{d}h}{\text{d}t}$.

The word “increases” means this rate is positive.

Step 3: Translate the proportionality

“Proportional to the natural logarithm of the difference between $H$ and $h$”

Difference between $H$ and $h$: $H - h$ (positive, since $h < H$ while growing).

Natural logarithm: $\ln(H - h)$.

Proportional to: $k \cdot \ln(H - h)$.

Final Answer

$$\boxed{\dfrac{\text{d}h}{\text{d}t} = k\ln(H - h)}$$

where $k$ is a positive constant and $H$ is the final height.

Exercise 9A Q5 Medium

After a major advertising campaign, anngineering company finds that its profits are increasing at a rate proportional to the square root of the profits at any given time. Find an expression to model this situation.

💡 Hint

Let $P$ = profits at time $t$.

“Profits are increasing at a rate” → $\dfrac{\text{d}P}{\text{d}t}$ (positive).

“Proportional to the square root of the profits” → $k\sqrt{P}$.

👁 Reveal Solution
Step 1: Define the variable

Let $P$ = profits at time $t$.

Step 2: Identify the rate

“Profits are increasing at a rate” = $\dfrac{\text{d}P}{\text{d}t}$.

“Increasing” means the rate is positive.

Step 3: Translate the proportionality

“Proportional to the square root of the profits”

Square root of profits: $\sqrt{P}$.

Proportional to: $k\sqrt{P}$.

Final Answer

$$\boxed{\dfrac{\text{d}P}{\text{d}t} = k\sqrt{P}}$$

where $k$ is a positive constant.

Exercise 9A Q6 Challenging

The coefficient of restitution $e$ of a squash ball increases with respect to the ball's temperature $\theta$ at a rate proportional to the temperature, for typical playing temperatures. (The coefficient of restitution is a measure of how elastic, or bouncy, the ball is. Its value lies between zero and one, zero meaning that the ball is not at all elastic and one meaning that it is perfectly elastic.) Find a differential equation to model this situation.

💡 Hint

Here the variables are $e$ (coefficient of restitution) and $\theta$ (temperature).

The rate is with respect to $\theta$, not time. So the derivative is $\dfrac{\text{d}e}{\text{d}\theta}$.

“Increases” means positive rate. “Proportional to the temperature” = $k\theta$.

👁 Reveal Solution
Step 1: Define the variables

$e$ = coefficient of restitution (dimensionless, between 0 and 1).

$\theta$ = temperature of the ball.

Note: the independent variable here is $\theta$ (temperature), not time $t$.

Step 2: Identify the rate

“Increases with respect to the ball's temperature $\theta$”

The rate of change of $e$ with respect to $\theta$ is $\dfrac{\text{d}e}{\text{d}\theta}$.

“Increases” means this rate is positive.

Step 3: Translate the proportionality

“Proportional to the temperature” = $k\theta$.

Since the rate is positive (increasing) and $k > 0$, we need $\theta > 0$ for typical playing temperatures (which is physically reasonable).

Step 4: Combine

$$\dfrac{\text{d}e}{\text{d}\theta} = k\theta$$

where $k$ is a positive constant.

Check

For typical playing temperatures $\theta > 0$, so $k\theta > 0$ and $\dfrac{\text{d}e}{\text{d}\theta} > 0$ — the coefficient of restitution increases with temperature. &check;

This matches the physical observation: a warm squash ball is bouncier than a cold one.

🎫

Exit Ticket

Before you leave, tick the objectives you are confident you can achieve. Be honest — this guides next lesson's review.