Understanding Runge-Kutta

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration shows the steps involved in computing the Runge–Kutta method of integrating a differential equation and how the approximations behave. in the graphic, drag the locator (from which the calculations start), change the step length , and move through the steps in the calculation.

Contributed by: Gerrard Liddell (March 2011)
Open content licensed under CC BY-NC-SA



Moving the initial point and varying the step size shows how, by sampling from points that contain the expected trajectory, the Runge–Kutta method improves on the Euler and related methods. Larger step sizes show how the method can err, while decreasing the step size shows the rapid convergence to the actual trajectory.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.