How local slopes generate a numerical approximation and why step size controls error.
By Theory Commons Editors4 min readPublished Aug 22, 2026
Given y′=f(t,y) and y(t0)=y0, Euler’s method advances by
tn+1=tn+h,yn+1=yn+hf(tn,yn).
Local approximation
The update comes from y(t+h)≈y(t)+hy′(t). For smooth solutions, one step has error proportional to h2, while accumulated error over a fixed interval is typically proportional to h.
Step size
Smaller h usually improves accuracy but increases work. A solution that changes rapidly may require short steps. Some stable differential equations can produce unstable Euler approximations when h is too large.
Work the recurrence by hand
Approximate y′=y, y(0)=1, using h=0.25. Euler’s update is
yn+1=yn+0.25yn=1.25yn.
The first four approximations are 1, 1.25, 1.5625, 1.953125, and 2.44140625. At t=1, the exact value is e≈2.71828, so Euler underestimates the convex exponential.
Stability can be stricter than accuracy
Apply Euler to y′=λy. The update is yn+1=(1+hλ)yn. When λ<0, the true solution decays. The numerical solution decays only if
∣1+hλ∣<1.
For y′=−10y, this requires 0<h<0.2. A larger step makes a truly stable system oscillate or grow numerically.
Check your understanding
For y′=−4y with h=0.5, what does Euler predict, and why is it misleading?
Show the reasoning
The multiplier is 1−4(0.5)=−1, so the approximation alternates forever with constant magnitude. The exact solution y0e−4t decays. The step lies on the stability boundary.