AHL 5.16 — Euler’s Method & Numerical Solutions of Differential Equations

Concept Definition / Formula
Euler’s Method A numerical technique that approximates solutions to differential equations by repeatedly extending tangent lines over small intervals.
Step size (h) The horizontal increment used for each approximation step; smaller values improve accuracy but increase total computational effort.
Coupled system A system of multiple interdependent differential equations that must be updated simultaneously at each numerical step.
Numerical solution An approximate solution generated when an exact algebraic solution cannot be found using standard analytical techniques.

📌 Understanding Euler’s Method

  • Euler’s Method is used when differential equations are too complex to solve analytically, providing an approximate but structured numerical alternative.
  • The method constructs a solution by following tangent lines, assuming the derivative remains constant over each small step interval.
  • Each new approximation depends entirely on the slope calculated at the previous point, making the method inherently sequential.
  • Errors accumulate gradually with each step, so accuracy strongly depends on choosing an appropriately small step size.
  • Despite its simplicity, Euler’s Method forms the foundation for more advanced numerical solvers used in modern computation.

📐 IA Spotlight

  • Students can use Euler’s Method to numerically model realistic processes such as cooling, population recovery, or chemical concentration changes.
  • Comparing numerical approximations with known exact solutions allows discussion of accuracy, convergence, and sources of error.
  • Investigating how varying step size affects reliability demonstrates mathematical understanding and strengthens evaluation criteria.

📌 Example — Euler’s Method (Single ODE)

Given: dy/dx = x − y, with y(0) = 1 and step size h = 0.2

  • The differential equation defines the slope of the curve at every point, depending on both current x and y values.
  • At the starting point (0,1), the slope equals −1, indicating the solution is initially decreasing.
  • Euler’s update rule adds the product of step size and slope to the current y-value.
  • This produces y(0.2) ≈ 0.8, representing a linear approximation of the true curve over the interval.

🌍 Real-World Connection

  • Numerical methods allow scientists to model population growth when real environments prevent clean exponential or logistic solutions.
  • Engineering simulations rely on step-based approximations to predict system behaviour before constructing physical prototypes.
  • Epidemiological models such as SIR frameworks update disease spread in discrete time steps, mirroring Euler’s approach.

📌 Solving Coupled Systems Numerically

  • Coupled systems require updating multiple dependent variables simultaneously because each variable’s rate depends on the others.
  • Euler’s Method applies independently to each equation but must use values from the same step to remain consistent.
  • This approach is essential in modelling interacting systems such as predator–prey dynamics or competing chemical species.
  • Small step sizes are especially important here, as errors propagate through all variables together.

📱 GDC Tips — Euler’s Method

TI-Nspire CX II / CX II CAS

  • Open the Lists & Spreadsheet application and label columns clearly as xₙ, yₙ, and slope f(xₙ,yₙ) to show method structure.
  • Enter the initial x₀ and y₀ values in the first row, then compute the slope using the given differential equation exactly as stated.
  • Use a formula such as yₙ₊₁ = yₙ + h·f(xₙ,yₙ) and xₙ₊₁ = xₙ + h, copying it down to automate iteration.
  • Create a Data & Statistics page to plot (xₙ, yₙ), allowing visual inspection of convergence or divergence.
  • Repeat the process with a smaller step size h and compare tables to comment on improved accuracy, as expected in IB questions.

Casio fx-CG50 / fx-CG100

  • Enter TABLE mode or Spreadsheet mode and define columns for x, y, and f(x,y) to clearly track each Euler step.
  • Manually input the recurrence formula yₙ₊₁ = yₙ + h·f(xₙ,yₙ), ensuring the step size h matches the value given in the question.
  • Use the automatic fill or copy function to extend values down the table efficiently instead of recalculating each row.
  • Switch to GRAPH mode and plot the computed points to visualise the numerical approximation curve.
  • Reduce the step size and re-run the table to justify accuracy improvements, a key requirement in Paper 2 explanations.

🧠 Examiner Tip

  • Always write the Euler update formula explicitly before substituting values to secure method marks.
  • Clearly label each step in numerical tables so examiners can follow how approximations evolve.
  • Round only at the final step unless explicitly instructed otherwise to avoid unnecessary accuracy loss.

📝 Paper Strategy

  • Paper 2 questions expect structured numerical working, not just final approximations.
  • Marks are awarded for correctly identifying step size, update rule, and intermediate values.

📌 Euler’s Method — Practice Questions

Multiple Choice Questions

MCQ 1
Euler’s method approximates the solution of a differential equation by:

  • A. fitting a polynomial through known points
  • B. following the tangent line step-by-step using local slopes
  • C. solving the equation symbolically using integration
  • D. averaging slopes over the entire interval
Answer & Explanation

Correct answer: B

Euler’s method uses the gradient at the current point to move forward along the tangent line.
Each step uses local information only, making it a numerical approximation rather than an exact solution.


MCQ 2
Which factor most directly improves the accuracy of Euler’s method?

  • A. Increasing the initial value
  • B. Decreasing the step size h
  • C. Increasing the interval length
  • D. Using more variables
Answer & Explanation

Correct answer: B

Smaller step sizes reduce truncation error by making each tangent-line approximation closer to the true curve.
However, smaller h also increases computation.


MCQ 3
In Euler’s method, the formula yₙ₊₁ = yₙ + h·f(xₙ,yₙ) represents:

  • A. the exact solution at the next point
  • B. a recursive numerical approximation step
  • C. a differential equation in implicit form
  • D. an average rate of change over the interval
Answer & Explanation

Correct answer: B

The formula updates the y-value using the current slope multiplied by the step size.
This recursive structure is central to numerical approximation methods.


Short Answer Questions

Short Question 1
Explain why errors in Euler’s method tend to accumulate as calculations progress.

Model Answer

Each Euler step uses the previously approximated value rather than the exact value.
Any small error introduced at one step is carried forward and magnified in later steps,
especially when the step size is large or the function is rapidly changing.


Short Question 2
State two limitations of Euler’s method when modelling real-world systems.

Model Answer

First, Euler’s method can be inaccurate for rapidly changing systems unless very small step sizes are used.
Second, numerical instability may occur, producing unrealistic results if the step size is poorly chosen.


Long Answer Questions (IB Style)

Long Question 1

The differential equation dy/dx = x − y models a process where the rate of change depends on both x and y.
The initial condition is y(0) = 1.

(a) Explain the principle behind Euler’s method in the context of this differential equation.
(b) Using a step size of h = 0.2, apply Euler’s method to estimate y(0.4).
(c) Explain how reducing the step size would affect the accuracy of the approximation.
(d) Comment on the reliability of Euler’s method for long-term prediction.

Full Worked Solution

(a)
Euler’s method approximates the solution by moving along tangent lines.
At each point, the derivative dy/dx = x − y provides the slope used to estimate the next value.

(b)
At x₀ = 0, y₀ = 1: slope = 0 − 1 = −1
y₁ = 1 + 0.2(−1) = 0.8 at x = 0.2

At x₁ = 0.2, y₁ = 0.8: slope = 0.2 − 0.8 = −0.6
y₂ = 0.8 + 0.2(−0.6) = 0.68

Therefore, y(0.4) ≈ 0.68.

(c)
Reducing the step size makes each tangent-line approximation closer to the actual curve,
thereby reducing local and cumulative numerical error.

(d)
Euler’s method becomes less reliable over long intervals because errors accumulate at each step.
More advanced numerical methods or smaller step sizes are required for accurate long-term predictions.


Long Question 2

A coupled system is defined by:

dx/dt = y − x
dy/dt = x

with initial conditions x(0) = 1 and y(0) = 0.

(a) Explain how Euler’s method is applied to coupled systems.
(b) Write the Euler update formulas for x and y using step size h.
(c) Perform one Euler step with h = 0.1.
(d) Explain one real-world situation where coupled numerical models are necessary.

Full Worked Solution

(a)
For coupled systems, Euler’s method updates all variables simultaneously,
using the current values of each variable to compute the next step.

(b)
xₙ₊₁ = xₙ + h(yₙ − xₙ)
yₙ₊₁ = yₙ + h(xₙ)

(c)
At t = 0: x = 1, y = 0
x₁ = 1 + 0.1(0 − 1) = 0.9
y₁ = 0 + 0.1(1) = 0.1

(d)
Coupled numerical models are used in predator-prey systems, climate modelling,
and epidemiology where multiple interacting variables evolve together over time.