Skip to content
LoveToCalc

Definition — what does that mean?

Euler's method: one step

Follow the tangent for one small step, then read off the new slope and do it again.

In Swedish: Eulers metod: ett steg

Euler's method: one step

The relation

yₙ₊₁=yₙ+hf(xₙ, yₙ)

Follow the tangent for one step: yₙ₊₁ = yₙ + h · f(xₙ, yₙ), where f(xₙ, yₙ) is the slope the differential equation gives at the present point.

Solve for

yₙ₊₁=1.2

yₙ₊₁ equals 1 plus (0.1 times 2), equals 1 plus 0.2, equals 1.2

Working3 steps

Practice questions

You are given

  • yₙ=3
  • h=0.2
  • f(xₙ, yₙ)=-5

The formula

The differential equation y′ = f(x, y) gives the slope at the present point. Work out f(xₙ, yₙ) from the equation, enter it with yₙ and the step h in the card above, and it returns the next value. The card does not know the equation, so it serves any first-order equation.

It is also called the forward Euler method.

Worked example: y′ = 3 + t − y, y(0) = 1, h = 0.1

The slope at (0, 1) is 3 + 0 − 1 = 2, so

At (0.1, 1.2) the slope is 3 + 0.1 − 1.2 = 1.9, so y₂ = 1.2 + 0.19 = 1.39. The exact solution y = t + 2 − e−t gives 1.1952 and 1.3813, so each step carries a small error that builds up.

A second example: y′ = y

With y(0) = 1 and h = 0.1: y₁ = 1.1, y₂ = 1.21, y₃ = 1.331. The exact solution et at t = 0.3 is 1.3499. Halving h halves the error at a fixed t.

Common mistakes

Frequently asked questions

Why does the error build up? Each step follows a tangent, which leaves the curve. The next step starts from the wrong value and follows the slope there, so the error carries forward.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
yₙ₊₁yₙ+hf(xₙ, yₙ)1+0.1·21.2
yₙyₙ₊₁−hf(xₙ, yₙ)1.2−0.1·21
hyₙ₊₁−yₙf(xₙ, yₙ)1.2−120.1
f(xₙ, yₙ)yₙ₊₁−yₙh1.2−10.12

Last reviewed October 11, 2026 ·How pages are reviewed

CalculusAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.