A-level Mathematics

7.10 Constructing differential equations — Learn

Prerequisites: the derivative as a rate of change from Section 7.1; differentiating standard functions from Section 7.3; reading a word problem and choosing a letter for each quantity.

By the end of this section you can: turn a description of a rate into a differential equation; use proportionality and a sign to model growth, decay, cooling, motion, price and demand; and eliminate a constant from a family of curves to form a differential equation.

1. From words to an equation

A differential equation is an equation that links a derivative to the quantities it describes. To build one, follow three steps.

  1. Name the quantity and its rate. For a quantity PP that changes with time tt, the rate is dPdt\dfrac{dP}{dt}.
  2. Read the relationship. "Proportional to" introduces a positive constant kk.
  3. Get the sign right. "Grows" and "increases" need a positive term; "falls", "cools" and "decays" need a minus sign.

Example 1. A population of bacteria grows at a rate proportional to the population. Write a differential equation for the population PP after tt hours.

The rate is dPdt\dfrac{dP}{dt}. It is proportional to PP, with a positive constant:

dPdt=kP,k>0.\frac{dP}{dt} = kP, \qquad k > 0.

Example 2. A cup of tea cools. The rate at which its temperature falls is proportional to the difference between the temperature and the room temperature, 20∘20^\circC. Write a differential equation for the temperature θ\theta after tt minutes.

The rate is dθdt\dfrac{d\theta}{dt}. The temperature difference is θ−20\theta - 20. The temperature falls, so the rate is negative:

dθdt=−k(θ−20),k>0.\frac{d\theta}{dt} = -k(\theta - 20), \qquad k > 0.

The minus sign is the important part: the tea cools only while it is warmer than the room.

Example 3. A stone falls under gravity. Its velocity vv increases at a rate proportional to the constant gg, directed downwards. Write a differential equation for vv after tt seconds.

The rate of change of velocity is acceleration. The velocity increases downwards, so with downwards taken as positive,

dvdt=g.\frac{dv}{dt} = g.

If the stone also meets air resistance proportional to its speed, the equation becomes

dvdt=g−kv,k>0.\frac{dv}{dt} = g - kv, \qquad k > 0.

Example 4. The price PP of a product falls at a rate proportional to the amount by which the price exceeds 1010. Write a differential equation for PP.

The price falls, so the rate is negative, and it is proportional to P−10P - 10:

dPdt=−k(P−10),k>0.\frac{dP}{dt} = -k(P - 10), \qquad k > 0.

2. Forming a differential equation from a family of curves

A differential equation also describes a whole family of curves. Differentiate the family and eliminate any constant.

Example 5. The curve y=Ae2xy = Ae^{2x} has a constant AA. Form a differential equation that does not contain AA.

Differentiate:

dydx=2Ae2x.\frac{dy}{dx} = 2Ae^{2x}.

But Ae2xAe^{2x} is yy, so

dydx=2y.\frac{dy}{dx} = 2y.

The differential equation describes every curve in the family, whatever the value of AA.

Example 6. The curve y=x3+Cy = x^3 + C has a constant CC. Form a differential equation that does not contain CC.

Differentiate once:

dydx=3x2.\frac{dy}{dx} = 3x^2.

The constant CC has vanished, so dydx=3x2\dfrac{dy}{dx} = 3x^2 is the differential equation. Every curve in the family has the same gradient at a given xx.

Watch out. Three mistakes are common when forming differential equations.

Forgetting the minus sign for a decrease. "Cools" and "decays" mean the rate is negative. In Example 2 the equation dθdt=k(θ−20)\dfrac{d\theta}{dt} = k(\theta - 20) would make the tea hotter, which is the wrong model.

Writing "proportional to" as an equals sign without the constant. The phrase introduces an unknown constant kk. Write kPkP, not PP.

Keeping the wrong variable in the rate. The rate of change of PP with respect to tt is dPdt\dfrac{dP}{dt}. Do not write dtdP\dfrac{dt}{dP}, which is the reciprocal. Re-check: after you write the equation, read it back in words and confirm that the sign and the rate match the sentence.

You should now be able to

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.