Dr. Paul Pearson
2025-01-31
One Euler step (blue, dashed) is linear approximation, so it doesn’t approximate solutions (black) that curve very well.
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.
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\).
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: