HL AI · Calculus

Differential equations — first-order separable and Euler's method (IB Math AI HL)

Updated October 2026

Quick answer: A separable equation dy/dx = f(x)g(y) is solved by separating the variables, (1/g(y)) dy = f(x) dx, and integrating both sides with one constant. When it cannot be separated, Euler's method steps along the curve: yₙ₊₁ = yₙ + h·f(xₙ, yₙ) and xₙ₊₁ = xₙ + h. A smaller step h usually gives a better estimate.

HL AI's Paper 3 favourite. Separable DEs by algebra, non-separable by Euler's numerical method. Practise the CG50 keystrokes for Euler.

Practise Differential equations — first-order separable and Euler's method with AI marking

Open the full HL AI engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AI Calculus →

Key ideas

Worked example

dy/dx = x + y and y = 1 when x = 0. Use Euler's method with h = 0.1 to estimate y when x = 0.2.

  1. Step 1: y₁ = 1 + 0.1 × (0 + 1) = 1.1, at x₁ = 0.1.
  2. Step 2: y₂ = 1.1 + 0.1 × (0.1 + 1.1) = 1.1 + 0.12 = 1.22, at x₂ = 0.2.
  3. The exact solution is y = 2eˣ − x − 1, which gives y(0.2) = 1.2428 (4 d.p.), so Euler's estimate is a little low here.

Answer: y(0.2) ≈ 1.22.

Exam-style HL AI questions on this topic

Try it now

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

5 quick questions on separable differential equations. No sign-in needed.

\(\frac{dy}{dx} = 2xy\) and \(y = 3\) when \(x = 0\). Find \(y\) when \(x = 1\).
Choose your answer · keys 1–4

Maths IA ideas that use differential equations

Related in Calculus

Revise Differential equations for the exam

Stretch yourself: original calculus and functions problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S128. All 24 →

More on this topic

Sibling topic in other IB Maths courses

FAQ

Where can I practise differential equations questions?

On the Advanced Differentiation and Related Rates questions page: 40 exam-style HL AI questions with full mark schemes, plus free step-by-step worked examples.

Can I use my calculator for differential equations?

Yes: a GDC is allowed on every HL AI paper, so practise the calculator method as well as the working.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in