Improved Euler’s method

Dr. Paul Pearson

2025-01-31

(Regular/old) Euler’s method

One Euler step (blue, dashed) is linear approximation, so it doesn’t approximate solutions (black) that curve very well.

One Euler step.
One Euler step.

(New) Improved Euler’s method

Taking two or more Euler steps will fit a curved solution better, but that’s not a new idea. But, taking two (dashed) Euler steps and using the midpoint (of the line segment connecting the starting and ending points) as the next approximation is a new idea, and this midpoint is usually a better approximation to solutions that curve than one (dashed) Euler step is. In essence, using the average slopes of two (dashed “phantom”) Euler steps does better at approximating solutions that curve than one Euler step does for one time step.

Two “phantom” Euler steps and their midpoint.
Two “phantom” Euler steps and their midpoint.

Improved Euler’s method: key pieces (without coordinates)

Suppose we know the time increment \(h\), and slopes \(m_1\), and \(m_2\). Find the vertical segments \(v_1\), \(v_2\), and find the slope \(m\). Show that \(m\) is the average of \(m_1\) and \(m_2\).

Improved Euler’s method: key pieces (with coordinates)

Suppose we’re given a first order differential equation \(u'(t) = f(t,u)\), and we choose a time increment \(h\). To do one step of the improved Euler method:

Check your work