KS Maths
AA Topic 5.18 · Analysis and Approaches HL

First order differential equations

Four methods, and the thirty seconds that picks one

Separable, homogeneous, integrating factor and Euler, and how to recognise which equation is which.

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.
integrate
Find the area under a curve. The opposite of differentiating.Integrate 2x to get x squared plus c.
factor
A whole number that divides another number exactly.The factors of 6 are 1, 2, 3 and 6.
multiply
Add the same number many times. Find a product.3 multiplied by 4 is 12.
constant
A number that does not change.In 3x plus 5, the constant is 5.
function
A rule that gives exactly one output for each input.f(x) = x plus 2 is a function.
write down
Give the answer with little or no working.Write down the median.
estimate
Find an answer that is close, but not exact.Estimate 19 times 21 as 20 times 20.
approximately
Close to a value, but not exactly equal.Pi is approximately 3.14.

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.

  1. Find ∫ 3/y dy.
    Answer

    3 ln|y| + C. The integral of 1/y is ln|y|, with the modulus, and the 3 stays as a multiplier. This is the step that follows nearly every separation of variables.

  2. Solve ln y = 2x + 1 for y.
    Answer

    Take e to the power of both sides: y = e2x+1. Undoing a logarithm with an exponential is how a separated equation turns back into y = ... form.

  3. A step of an approximation is new y = old y + 0.2 × (old x + old y). Work out the new y when old x is 1.5 and old y is 2.5.
    Answer

    The gradient is 1.5 + 2.5 = 4, then 0.2 × 4 = 0.8, so the new y is 2.5 + 0.8 = 3.3. Evaluating the right-hand side first and multiplying by the step size second is the order that keeps Euler's method right.

  4. Differentiate xy with respect to x, where y depends on x.
    Answer

    y + x dy/dx, by the product rule. This is the pattern an integrating factor is built to create.

Words used in this lesson
differential equation
an equation that has a derivative in it. For example: dy/dx = 3y is a differential equation.
separable
able to be rearranged so that all the y terms are on one side and all the x terms on the other. For example: dy/dx = 2x y² is separable.
homogeneous
unchanged when x and y are both multiplied by the same number. For example: dy/dx = y/x is homogeneous.
integrating factor
a multiplier chosen so the left side becomes the derivative of a product. For example: multiplying by x turns y′ + y/x into (xy)′.
general solution
an answer that still has the constant C in it. For example: y = 4x² + C is a general solution.
particular solution
the answer after C has been found from a given point. For example: if y = 3 when x = 0, then C = 3 in y = x² + C.
initial condition
a known pair of values that fixes the constant. For example: y = 7 when x = 0 is an initial condition.
step size
the gap h between successive x-values in a numerical method. For example: with step size 0.5 the x-values are 0, 0.5, 1, 1.5.
estimate
an approximate value, not an exact one. For example: Euler's method gives an estimate of y.
hence
use the result you have just found. For example: “Find the general solution and hence the particular solution”.

Predict first. Before you choose any equation in the chooser, write a one-line rule for yourself: which feature of an equation would make you pick separable, homogeneous, integrating factor or Euler? Then, as you click through each equation, say which method you expect before the working appears.

Then check

Pick each equation in the chooser in turn. Before reading the method name, say it aloud. Count how many you got right, and for each miss, say which feature of the equation you looked at first.

Higher Level

Nearly all the difficulty here is choosing. Pick an equation and the method, the reason for it and the working appear together.

separable

The right-hand side is a function of x multiplied by a function of y, so the variables come apart.

(1/y) dy=x dx y on the left, x on the right∫(1/y) dy=∫x dxln|y|=x²/2 + cy=Aex²/2 the constant becomes a multipliery(0) = 1⇒y = ex²/2, so y(2) = e² ≈ 7.389

How to recognise each one

If it looks likeUse
dy/dx = (something in x) × (something in y)separable
dy/dx = a function of y⁄x onlyhomogeneous, substitute y = vx
dy/dx + P(x)y = Q(x)integrating factor
none of the above, or a numerical answer is wantedEuler

Test for homogeneous quickly: replace x with λx and y with λy. If every λ cancels, it is homogeneous and y = vx will work. That test takes ten seconds and saves you from attempting a separation that cannot happen.

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: AA 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.

AA HL Mock Exam Pack, $25BuyPlan $99