ODE Methods Euler & Runge-Kutta Reference Cheat Sheet
A printable reference covering Euler's method, improved Euler, RK4, local error, global error, and step-size control for college.
Related Tools
Related Worksheets
Related Infographics
This cheat sheet covers one-step numerical methods for initial value problems of the form with . Euler and Runge-Kutta methods approximate solutions when an exact formula is difficult or impossible to find. Students need these methods to compute solution values, compare accuracy, and understand how step size affects numerical error. The reference emphasizes formulas, update rules, and practical checks for college calculus and differential equations work. The main idea is to move from a known point to a new point using slopes from the differential equation. Euler's method uses one slope, improved Euler uses an average of two slopes, and classical fourth-order Runge-Kutta uses a weighted average of four slopes. The step size is , so smaller values of usually improve accuracy but require more computations. Error behavior is summarized by local truncation error and global error orders.
Key Facts
- An initial value problem has the form with , and a numerical method estimates values .
- The time grid is defined by , where is the step size and is a nonnegative integer.
- Euler's method updates by , using the slope at the beginning of the interval.
- Improved Euler's method uses , , and .
- The midpoint RK2 method uses , , and .
- Classical RK4 uses , , , , and .
- Euler's method has global error , RK2 methods have global error , and classical RK4 has global error under standard smoothness assumptions.
- Halving approximately halves Euler global error, divides RK2 global error by , and divides RK4 global error by when the asymptotic error model applies.
Vocabulary
- Initial value problem
- A differential equation with a starting condition, usually written as and .
- Step size
- The fixed or variable spacing between consecutive numerical time values.
- Euler's method
- A first-order one-step method that estimates the next value using .
- Runge-Kutta method
- A one-step method that combines several slope estimates from to produce a more accurate update.
- Local truncation error
- The error made in one step when the method starts from the exact value, often described as a power of .
- Global error
- The accumulated difference between the numerical value and the exact value after many steps.
Common Mistakes to Avoid
- Using instead of is wrong because the slope must be multiplied by the step size .
- Substituting into Euler's slope is wrong for standard Euler's method because the formula uses the beginning slope .
- Forgetting that , , and are slopes is wrong because the RK4 update multiplies their weighted average by .
- Mixing midpoint RK2 with improved Euler is wrong because midpoint uses , while improved Euler uses .
- Assuming a smaller always fixes every problem is wrong because stiffness, roundoff error, and discontinuities in can still cause inaccurate or unstable results.
Practice Questions
- 1 Use Euler's method with to estimate for , .
- 2 For , , compute one improved Euler step with .
- 3 For , , compute one classical RK4 step with and give the estimate for .
- 4 Explain why RK4 is usually more accurate than Euler's method for the same step size, even though both are one-step methods.