Explicit solver methods take information up to the current solution in order to directly predict the next step .
Runge-Kutta Methods¶
The Runge-Kutta methods are a class of time-stepping techniques where the next time step is calculated from the current time step and an estimate of its slope (rate of change). Increased accuracy is achieved through approximating higher-order derivatives to improve our time step. Since we don’t generally have analytical higher derivatives, we sample the rate function at different positions across the step to approximate them.
Since we are time stepping, our independent variable is , and discretizing in time generates discrete times and their corresponding solutions .
For first-order (in time) equations, which include parabolic PDEs:
Consider the Taylor expansion:
where the last line is the general form of the Runge-Kutta methods. The weights are constants and are the slope function evaluated at different positions in the interval . The goal is to match:
as closely as possible with a series truncated in terms (called stages). Let’s build up to the general form step by step.