This document summarizes and compares several numerical methods for solving ordinary differential equations (ODEs):
- Euler's method approximates the tangent line at each step to find successive y-values. While simple, it has local truncation errors that accumulate.
- Improved Euler's method takes the average slope between the current and next steps to give a more accurate approximation.
- Runge-Kutta methods such as the fourth-order method provide much greater accuracy than Euler or improved Euler by using multiple slope estimates within each step.
An example applies each method to the ODE dy/dx = x + y to compare their results in solving for successive y-values out to x = 0.3.