J2 - Euler’s method
A differential equation tells you a curve’s gradient even when you do not have its equation. Euler’s method uses those gradients to build an approximate solution from an initial value. You will organise the updates, work backwards from a given estimate, and compare step sizes without confusing numerical precision with model accuracy.
Follow a tangent from an initial value
A curve passes through and satisfies . How can you estimate its height at without first solving the equation? At the starting point its gradient is . Moving horizontally along that tangent changes the height by .
A first-order differential equation of the form supplies the gradient at a point. An initial value selects a starting point. In Euler’s method, you follow the tangent for a short horizontal step, then use the new approximate point to obtain the next gradient. The line segments approximate the solution curve; they are not usually pieces of the exact curve.
[DIAGRAM: asset_name: Two tangent steps from an initial value; asset_slug: aqa7367-euler-tangents; caption: Euler follows the current tangent, then recalculates the gradient at the approximate point; description: A coordinate graph shows the exact solution y equals 2 e to the x minus x minus one, from x equals zero to 0.25, and a blue Euler polygon through (0,1), (0.1,1.1) and (0.2,1.22). Dashed vertical guides mark x equals 0.1 and 0.2. The first segment is labelled slope 1; the second slope 1.2. The exact curve is separately labelled for comparison.]

The tangent at has equation . Put to get the update.
Euler’s method
For ,
This recurrence is supplied on page 9 of the examination formula booklet. Use a nonzero step small enough to resolve the solution’s changes and evaluate only where it is defined. A positive steps right; a negative steps left.
The required number of equal steps from to is . Choose so that is a nonnegative integer when equal steps are required. Do not label an estimate at a nearby grid point as the value at .
Worked example 1: two forward steps
Question. For , , use Euler’s method with to estimate .
Plan. Take two steps; each gradient uses the current point before either coordinate is changed.
Answer. .
Check. The exact function satisfies both and . It gives , so the numerical estimate is plausible but not exact.
Keep the equation and starting point, changing only the direction of travel. A negative step reverses the horizontal move; it does not change the differential equation.
Worked example 2: two backward steps
Question. For the same initial-value problem, use to estimate .
Plan. Take two leftward tangent steps, retaining the signed value of .
Answer. .
Check. The verified exact function gives . The positive initial slope is consistent with a decrease in height when stepping left.
When depends only on , the rule reduces to . For positive steps, summing the changes gives a left-endpoint rectangle approximation to the integral of the derivative. Euler’s method therefore connects tangent geometry with numerical integration.
Watch out
Wrong: . A forward Euler step from uses the gradient at , not at the destination’s horizontal coordinate.
Practise stepping left with a fresh initial value.
Keep the update order consistent
The two coordinates in a gradient must come from the same row of the calculation.
A safe table has columns . First evaluate the gradient from that row. Then calculate both next coordinates from the stored row. Using the new with the old changes the algorithm, as does using an already updated height in the old gradient.
Do not round the height after every row unless the question requests it. Store extra digits and round the requested estimate at the end. The table’s displayed height can have fewer digits than the stored value, provided the subsequent calculation retains the latter.
Worked example 3: a gradient containing a quotient
Question. For , , use to estimate .
Plan. Take two steps and form each quotient from one complete row; the denominator must be nonzero.
| 0 | |||
| 1 | |||
| 2 | not needed |
Answer. .
Check. Separating variables gives on the positive branch selected by . It gives , close to the estimate. Every numerical denominator was positive.
The same stored-row rule lets you infer an unknown starting height. Keep the quotient equation and step size; change the starting height from a given value to an unknown.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account