1. Euler's method
Euler's method gives a numerical solution of dy/dx = f(x,y) from a known starting point (x₀, y₀). Choose a constant step h. Each step follows the gradient at the current point.
The x values go up by the step: xn₊₁ = xn + h. The y values use the gradient at (xn, yn). Use the old values xn and yn in f, not the new ones.
Write down each intermediate value. The markscheme gives the first accuracy mark for at least two correct intermediate values to 3 significant figures. Keep the full values in the calculation.
xn₊₁ = xn + h
yn₊₁ = yn + h f(xn, yn)
Worked example 13 marks
Consider the differential equation dy/dx = 2x/(x² + y). The solution curve passes through the point (1, 0).
Use Euler's method with a step value of 0.25 to estimate the value of y when x = 2.
- 1
attempt to use Euler's method with a step of 0.25: xn₊₁ = xn + 0.25 and yn₊₁ = yn + 0.25(2xn/(xn² + yn)), with x₀ = 1, y₀ = 0 (M1) [1]
- 2
y₁ = 0 + 0.25 × 2/1 = 0.5, then y₂ = 0.803, y₃ = 1.05 at x = 1.25, 1.5, 1.75: at least two correct intermediate values (A1) [1]
- 3
at x = 2: y = 1.26152… = 1.26 A1 [1]