Euler's method

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus AB (AP-aligned) › Differential equations

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Euler's method

Differential equations.

Discover

y′=yy' = y and y(0)=1y(0) = 1. Without solving, how could you estimate y(0.1)y(0.1)?

  1. Follow the slope for a short step: 1+0.1×11 + 0.1 \times 1
  2. You cannot: you must solve the equation first

Key idea

Euler's method.

For y′=f(x,y)y' = f(x, y), step by step with step size hh:

yn+1=yn+h f(xn,yn)y_{n+1} = y_n + h\,f(x_n, y_n), xn+1=xn+h\quad x_{n+1} = x_n + h.

Worked example

y′=yy' = y, y(0)=1y(0) = 1, two steps of h=0.1h = 0.1:

y1=1+0.1×1=1.1y_1 = 1 + 0.1 \times 1 = 1.1
First step.
y2=1.1+0.1×1.1=1.21y_2 = 1.1 + 0.1 \times 1.1 = 1.21
Second step.

Your turn, guided

Your turn: one step of h=0.1h = 0.1 for y′=yy' = y, y(0)=5y(0) = 5.

5.55.5
5+0.1×55 + 0.1 \times 5.

Practice ★

  1. y′=yy' = y and y(0)=14y(0) = 14. Estimate y(0.1)y(0.1) with one step of Euler's method.
  2. y′=yy' = y and y(0)=6y(0) = 6. Estimate y(0.1)y(0.1) with one step of Euler's method.
  3. y′=yy' = y and y(0)=1y(0) = 1. Estimate y(0.1)y(0.1) with one step of Euler's method.

Practice ★★

  1. y′=2yy' = 2y and y(0)=2y(0) = 2. Estimate y(0.2)y(0.2) with two steps of h=0.1h = 0.1.
  2. y′=2yy' = 2y and y(0)=17y(0) = 17. Estimate y(0.2)y(0.2) with two steps of h=0.1h = 0.1.

Exit ticket

Two questions to check.

  1. y′=yy' = y and y(0)=14y(0) = 14. Estimate y(0.1)y(0.1) with one step of Euler's method.
  2. y′=yy' = y and y(0)=6y(0) = 6. Estimate y(0.1)y(0.1) with one step of Euler's method.

Summary card

Euler's method

  • Next value = current value + step × slope.
  • Smaller steps, better estimates.

Weather and climate models solve differential equations step by step, with much finer methods.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits