Fourth Order Runge-Kutta

The fourth-order Runge-Kutta method (RK4) is the most widely used Runge-Kutta method, achieving fourth-order accuracy with four gradient evaluations per step.

Stages

Update

The weights give a weighted average of gradients at the start, two midpoints, and the end of the step. The midpoint evaluations are double-weighted.

Order

Fourth-order: Global truncation error , Local truncation error .

RK4 is conditionally stable (see Stability of a method), but the stability region is much larger than for lower-order explicit methods, making it practical for most non-stiff problems.

Runge-Kutta methods | Midpoint method | Ralston method | Order of a method | Stability of a method | Global truncation error