KS Maths
Topic 5.14 · AI Higher Level

Differential equations and separation of variables

A differential equation has a family, not an answer

Turning a sentence into an equation, separating the variables, and letting one measurement pick the curve.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

equation
A statement that two things are equal. It has an equals sign.x plus 2 = 5 is an equation.
differential equation
An equation that links a function with its rate of change.A rate of change equal to twice y is a differential equation.
variable
A letter that stands for a number that can change.In y = 2x, x and y are variables.
proportion
A part compared with the whole, or two amounts that grow together.3 of 10 students is a proportion of 0.3.
constant
A number that does not change.In 3x plus 5, the constant is 5.
decimal place
A digit after the decimal point. We count places from the point.3.14 has two decimal places.
exponential
Growing or shrinking by multiplying by the same number again and again.Money in a bank grows exponentially.
write down
Give the answer with little or no working.Write down the median.
significant figure
A digit that matters for the size of a number. Counting starts at the first non-zero digit.0.0382 to 2 significant figures is 0.038.
multiply
Add the same number many times. Find a product.3 multiplied by 4 is 12.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. Find ∫ 6x² dx.
    Answer

    2x³ + c. Raise the power by one, divide by the new power, and do not forget + c: this lesson turns on what happens to that constant.

  2. Write ex + 2 as a number multiplied by ex. Give the number to 3 significant figures.
    Answer

    ex + 2 = e2 × ex ≈ 7.39ex. Adding in the exponent is multiplying outside it, which is how a “+ c” becomes a multiplier.

  3. Differentiate y = 5e0.3t, and write dy/dt in terms of y.
    Answer

    dy/dt = 1.5e0.3t = 0.3y. Differentiating an exponential gives the same curve times a constant, so the rate is proportional to y.

  4. Solve 80 = 20e2k for k, to 3 decimal places.
    Answer

    e2k = 4, so 2k = ln 4 and k = 0.693. The logarithm undoes the exponential, and then the 2 has to be divided out.

Words used in this lesson
differential equation
an equation that contains a derivative. For example: dy/dx = 3y is a differential equation.
proportional to
equal to a constant multiplied by. For example: “cost is proportional to weight” means cost = k × weight.
separate the variables
put every y term with dy and every x term with dx. For example: for dy/dx = x²y this gives (1/y) dy = x² dx.
general solution
the answer that still contains an unknown constant. For example: y = Ae3x is a general solution.
particular solution
the answer after the constant has been found. For example: y = 4e3x is one curve picked from the family.
initial condition
a value given at the start that fixes the constant. For example: “y = 4 when x = 0”.
exponential growth / decay
growth or shrinking at a rate proportional to the amount. For example: bacteria doubling is exponential growth.
constant of integration
the + c that appears when you integrate. For example: ∫ 2x dx = x² + c.
model
an equation used to describe a real situation. For example: a population model.
hence
use the result you have just found. For example: “solve, and hence find y when x = 1” means use your solution.

Predict first. Set k = 0.20 and keep it there. Several faint curves already show different starting values. As you move P(0) up and down, will the highlighted curve ever cross one of the faint curves? Decide, and say why, before you look.

Then check

Now move the P(0) slider slowly from one end to the other and watch the highlighted curve against the faint ones. Does it ever touch or cross one? If it does not, what does that say about how many solutions pass through a given point?

Higher Level

"The population grows at a rate proportional to its size" is dP/dt = kP. Every faint curve below satisfies it. Move the starting value and watch one of them get picked out.

every curve here solves dP/dt = kPP = P₀eᵏᵗ123456100200300400t(0, 100)
P = 100e0.20tthe solution
271.8P when t = 5

One equation, infinitely many curves. The measurement at t = 0 chooses one.

Reading the sentence

The wordsThe equation
grows at a rate proportional to its sizedP/dt = kP
cools at a rate proportional to the temperature differencedT/dt = −k(T − R)
the rate of decay is proportional to the amount leftdm/dt = −km

"Proportional to" means = k ×, and the k is unknown until the question gives you enough to find it. A decreasing quantity carries a minus sign, either in front or inside k, but say which.

The rest of this lesson is in the full course

Still to come in this lesson:

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AI HL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI HL Mock Exam Pack, $25BuyPlan $99