DP Math AI · HL · Calculus

AHL 5.16—Eulers method for 1st order DEs

Get started
Notes

What is Euler's Method?

Euler's Method: A numerical technique used to find approximate solutions to first-order ordinary differential equations (ODEs) given an initial condition. Rather than solving the ODE analytically, it uses the slope at each point to step forward to the next estimate.

Euler's method is named after the prolific Swiss mathematician Leonhard Euler. It is particularly valuable when an ODE has no neat closed-form solution , which happens more often in real-world modelling than you might think.

The core idea is beautifully simple: if you know where you are on the solution curve and you know the slope of the curve at that point, you can take a small step in the direction of that slope to estimate where the curve goes next. Repeat this process many times, and you trace out an approximate solution.

Analogy

Imagine hiking in fog with only a compass showing your current direction. You walk a short distance in that direction, then re-read the compass, then walk again. Each small segment is straight, but the overall path approximates a curve. Smaller steps → closer to the true winding trail.

The Core Formula

For a first-order ODE of the form:

dxdy​=f(x,y)

with an initial condition y(x0​)=y0​, Euler's method generates successive approximations using:

yn+1​=yn​+h⋅f(xn​,yn​)

and the x-values are updated simply by:

xn+1​=xn​+h

where:

  • yn​ is the current approximate y-value
  • xn​ is the current x-value
  • h is the step size (chosen by the user)
  • f(xn​,yn​) is the slope of the solution curve at (xn​,yn​)
Note

Each new y-value is the old y-value plus a correction equal to the step size multiplied by the current slope. This is essentially a tangent-line approximation at each step , linear extrapolation along the derivative.

Free preview

11 more sections in this topic

← Previous topicAHL 5.15—Slope fieldsNext topic →AHL 5.17—Phase portrait
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.