Jump to content

List of Runge–Kutta methods

From Wikipedia, the free encyclopedia

Runge–Kutta methods are methods for the numerical solution of the ordinary differential equation

dydt=f(t,y).

Explicit Runge–Kutta methods take the form

yn+1=yn+h∑i=1sbikik1=f(tn,yn),k2=f(tn+c2h,yn+h(a21k1)),k3=f(tn+c3h,yn+h(a31k1+a32k2)),⋮ki=f(tn+cih,yn+h∑j=1i−1aijkj).

Stages for implicit methods of s stages take the more general form, with the solution to be found over all s

ki=f(tn+cih,yn+h∑j=1saijkj).

Each method listed on this page is defined by its Butcher tableau, which puts the coefficients of the method in a table as follows:

c1a11a12…a1sc2a21a22…a2s⋮⋮⋮⋱⋮csas1as2…assb1b2…bs

For adaptive and implicit methods, the Butcher tableau is extended to give values of bi∗, and the estimated error is then

en+1=h∑i=1s(bi−bi∗)ki.

Explicit methods

[edit]

The explicit methods are those where the matrix [aij] is lower triangular.

First-order methods

[edit]

Forward Euler

[edit]

The Euler method is first order. The lack of stability and accuracy limits its popularity mainly to use as a simple introductory example of a numeric solution method.

001

Second-order methods

[edit]

Generic second-order method

[edit]

Second-order methods can be generically written as follows:[1]

000αα01−12α12α

with α ≠ 0.

Explicit midpoint method

[edit]

The (explicit) midpoint method is a second-order method with two stages (see also the implicit midpoint method below):

0001/21/2001

Heun's method

[edit]

Heun's method is a second-order method with two stages. It is also known as the explicit trapezoid rule, improved Euler's method, or modified Euler's method:

0001101/21/2

Ralston's method

[edit]

Ralston's method is a second-order method[2] with two stages and a minimum local error bound:

0002/32/301/43/4

Third-order methods

[edit]

Generic third-order method

[edit]

Third-order methods can be generically written as follows:[1]

0000αα00ββαβ−3α(1−α)(3α−2)−βαβ−α(3α−2)01−3α+3β−26αβ3β−26α(β−α)2−3α6β(β−α)

with α ≠ 0, α ≠ 2⁄3, β ≠ 0, and α ≠ β.

Kutta's third-order method

[edit]
00001/21/2001−1201/62/31/6

Heun's third-order method

[edit]
00001/31/3002/302/301/403/4

Ralston's third-order method

[edit]

Ralston's third-order method[2] has a minimum local error bound and is used in the embedded Bogacki–Shampine method.

00001/21/2003/403/402/91/34/9

Van der Houwen's/Wray's third-order method

[edit]
00008/158/15002/31/45/1201/403/4

Third-order Strong Stability Preserving Runge-Kutta (SSPRK3)[3]

[edit]
000011001/21/41/401/61/62/3

Fourth-order methods

[edit]

Classic fourth-order method

[edit]

The "original" Runge–Kutta method.[4]

000001/21/20001/201/200100101/61/31/31/6

3/8-rule fourth-order method

[edit]

This method isn't as well known as the "classic" method, but is just as classic because it was proposed in the same paper (Kutta, 1901).[4]

000001/31/30002/3−1/310011−1101/83/83/81/8

Ralston's fourth-order method

[edit]

This fourth order method[2] has minimum truncation error.

00000252500014−3516−2889+1428510243785−162051024001−3365+209456040−975−304652552467040+20396852408450263+2451812125−1000538283426304+16619525592478730−45123

Fifth-order methods

[edit]

Nyström's fifth-order method

[edit]

This fifth-order method was a correction of the one proposed originally by Kutta's work.[5]

0000000131300000254256250000114−315400023227109−508188100452251225215875002319201251920−2764125192

Embedded methods

[edit]

The embedded methods are designed to produce an estimate of the local truncation error of a single Runge–Kutta step, and as result, allow to control the error with adaptive stepsize. This is done by having two methods in the tableau, one with order p and one with order p-1.

The lower-order step is given by

yn+1∗=yn+h∑i=1sbi∗ki,

where the ki are the same as for the higher order method. Then the error is

en+1=yn+1−yn+1∗=h∑i=1s(bi−bi∗)ki,

which is O(hp). The Butcher Tableau for this kind of method is extended to give the values of bi∗

c1a11a12…a1sc2a21a22…a2s⋮⋮⋮⋱⋮csas1as2…assb1b2…bsb1∗b2∗…bs∗

Heun–Euler

[edit]

The simplest adaptive Runge–Kutta method involves combining Heun's method, which is order 2, with the Euler method, which is order 1. Its extended Butcher Tableau is:

0111/21/210

The error estimate is used to control the stepsize.

Fehlberg RK1(2)

[edit]

The Fehlberg method[6] has two methods of orders 1 and 2. Its extended Butcher Tableau is:

0
1/21/2
11/256255/256
1/512255/2561/512
1/256255/2560

The first row of b coefficients gives the second-order accurate solution, and the second row has order one.

Bogacki–Shampine

[edit]

The Bogacki–Shampine method has two methods of orders 2 and 3. Its extended Butcher Tableau is:

0
1/21/2
3/403/4
12/91/34/9
2/91/34/90
7/241/41/31/8

The first row of b coefficients gives the third-order accurate solution, and the second row has order two.

Fehlberg

[edit]

The Runge–Kutta–Fehlberg method has two methods of orders 5 and 4; it is sometimes called RKF45 . Its extended Butcher Tableau is:

01/41/43/83/329/3212/131932/2197−7200/21977296/21971439/216−83680/513−845/41041/2−8/272−3544/25651859/4104−11/4016/13506656/1282528561/56430−9/502/5525/21601408/25652197/4104−1/50

The first row of b coefficients gives the fifth-order accurate solution, and the second row has order four. The coefficients here allow for an adaptive stepsize to be determined automatically.

Cash-Karp

[edit]

Cash and Karp have modified Fehlberg's original idea. The extended tableau for the Cash–Karp method is

0
1/51/5
3/103/409/40
3/53/10−9/106/5
1−11/545/2−70/2735/27
7/81631/55296175/512575/1382444275/110592253/4096
37/3780250/621125/5940512/1771
2825/27648018575/4838413525/55296277/143361/4

The first row of b coefficients gives the fifth-order accurate solution, and the second row has order four.

Dormand–Prince

[edit]

The extended tableau for the Dormand–Prince method is

0
1/51/5
3/103/409/40
4/544/45−56/1532/9
8/919372/6561−25360/218764448/6561−212/729
19017/3168−355/3346732/524749/176−5103/18656
135/3840500/1113125/192−2187/678411/84
35/3840500/1113125/192−2187/678411/840
5179/5760007571/16695393/640−92097/339200187/21001/40

The first row of b coefficients gives the fifth-order accurate solution, and the second row gives the fourth-order accurate solution.

Implicit methods

[edit]

Backward Euler

[edit]

The backward Euler method is first order. Unconditionally stable and non-oscillatory for linear diffusion problems.

111

Implicit midpoint

[edit]

The implicit midpoint method is of second order. It is the simplest method in the class of collocation methods known as the Gauss-Legendre methods. It is a symplectic integrator.

1/21/21

Crank-Nicolson method

[edit]

The Crank–Nicolson method corresponds to the implicit trapezoidal rule and is a second-order accurate and A-stable method.

00011/21/21/21/2

Gauss–Legendre methods

[edit]

These methods are based on the points of Gauss–Legendre quadrature. The Gauss–Legendre method of order four has Butcher tableau:

12−361414−3612+3614+3614121212+3212−32

The Gauss–Legendre method of order six has Butcher tableau:

12−151053629−1515536−153012536+152429536−152412+1510536+153029+151553651849518−5683−56

Diagonally Implicit Runge–Kutta methods

[edit]

Diagonally Implicit Runge–Kutta (DIRK) formulae have been widely used for the numerical solution of stiff initial value problems; [7] the advantage of this approach is that here the solution may be found sequentially as opposed to simultaneously.

The simplest method from this class is the order 2 implicit midpoint method.

Kraaijevanger and Spijker's two-stage Diagonally Implicit Runge–Kutta method:

1/21/203/2−1/22−1/23/2

Qin and Zhang's two-stage, 2nd order, symplectic Diagonally Implicit Runge–Kutta method:

1/41/403/41/21/41/21/2

Pareschi and Russo's two-stage 2nd order Diagonally Implicit Runge–Kutta method:

xx01−x1−2xx1212

This Diagonally Implicit Runge–Kutta method is A-stable if and only if x≥14. Moreover, this method is L-stable if and only if x equals one of the roots of the polynomial x2−2x+12, i.e. if x=1±22. Qin and Zhang's Diagonally Implicit Runge–Kutta method corresponds to Pareschi and Russo's Diagonally Implicit Runge–Kutta method with x=1/4.

Two-stage 2nd order Diagonally Implicit Runge–Kutta method:

xx011−xx1−xx

Again, this Diagonally Implicit Runge–Kutta method is A-stable if and only if x≥14. As the previous method, this method is again L-stable if and only if x equals one of the roots of the polynomial x2−2x+12, i.e. if x=1±22. This condition is also necessary for 2nd order accuracy.

Crouzeix's two-stage, 3rd order Diagonally Implicit Runge–Kutta method:

12+3612+36012−36−3312+361212

Crouzeix's three-stage, 4th order Diagonally Implicit Runge–Kutta method:

1+α21+α20012−α21+α201−α21+α−(1+2α)1+α216α21−13α216α2

with α=23cos⁡π18.

Three-stage, 3rd order, L-stable Diagonally Implicit Runge–Kutta method:

xx001+x21−x2x01−3x2/2+4x−1/43x2/2−5x+5/4x−3x2/2+4x−1/43x2/2−5x+5/4x

with x=0.4358665215

Nørsett's three-stage, 4th order Diagonally Implicit Runge–Kutta method has the following Butcher tableau:

xx001/21/2−xx01−x2x1−4xx16(1−2x)23(1−2x)2−13(1−2x)216(1−2x)2

with x one of the three roots of the cubic equation x3−3x2/2+x/2−1/24=0. The three roots of this cubic equation are approximately x1=12+13cos⁡π18=1.068579021301629, x2=0.1288864005157204, and x3=0.3025345781826508. The root x1 gives the best stability properties for initial value problems.

Four-stage, 3rd order, L-stable Diagonally Implicit Runge–Kutta method

1/21/20002/31/61/2001/2−1/21/21/2013/2−3/21/21/23/2−3/21/21/2

Lobatto methods

[edit]

There are three main families of Lobatto methods,[8] called IIIA, IIIB and IIIC (in classical mathematical literature, the symbols I and II are reserved for two types of Radau methods). These are named after Rehuel Lobatto[8] as a reference to the Lobatto quadrature rule, but were introduced by Byron L. Ehle in his thesis.[9] All are implicit methods, have order 2s − 2 and they all have c1 = 0 and cs = 1. Unlike any explicit method, it's possible for these methods to have the order greater than the number of stages. Lobatto lived before the classic fourth-order method was popularized by Runge and Kutta.

Lobatto IIIA methods

[edit]

The Lobatto IIIA methods are collocation methods. The second-order method is known as the trapezoidal rule:

00011/21/21/21/210

The fourth-order method is given by

00001/25/241/3−1/2411/62/31/61/62/31/6−122−12

These methods are A-stable, but neither L-stable nor B-stable.[8]

Lobatto IIIB methods

[edit]

The Lobatto IIIB methods are not collocation methods, but they can be viewed as discontinuous collocation methods (Hairer, Lubich & Wanner 2006, §II.1.4). The second-order method is given by

01/2011/201/21/210

The fourth-order method is given by

01/6−1/601/21/61/3011/65/601/62/31/6−122−12

Lobatto IIIB methods are A-stable, but neither L-stable nor B-stable.[8]

Lobatto IIIC methods

[edit]

The Lobatto IIIC methods also are discontinuous collocation methods. The second-order method is given by

01/2−1/211/21/21/21/210

The fourth-order method is given by

01/6−1/31/61/21/65/12−1/1211/62/31/61/62/31/6−122−12

They are L-stable. They are also algebraically stable and thus B-stable, which makes them suitable for stiff problems.

Lobatto IIIC* methods

[edit]

The Lobatto IIIC* methods are also known as Lobatto III methods (Butcher, 2008), Butcher's Lobatto methods (Hairer et al., 1993), and Lobatto IIIC methods (Sun, 2000) in the literature.[8] The second-order method is given by

0001101/21/2

Butcher's three-stage, fourth-order method is given by

00001/21/41/4010101/62/31/6

These methods are not A-stable, B-stable or L-stable. The Lobatto IIIC* method for s=2 is sometimes called the explicit trapezoidal rule.

Generalized Lobatto methods

[edit]

One can consider a very general family of methods with three real parameters (αA,αB,αC) by considering Lobatto coefficients of the form

ai,j(αA,αB,αC)=αAai,jA+αBai,jB+αCai,jC+αC∗ai,jC∗,

where

αC∗=1−αA−αB−αC.

For example, Lobatto IIID family introduced in (Nørsett and Wanner, 1981), also called Lobatto IIINW, are given by

01/21/21−1/21/21/21/2

and

01/60−1/61/21/125/12011/21/31/61/62/31/6

These methods correspond to αA=2, αB=2, αC=−1, and αC∗=−2. The methods are L-stable. They are algebraically stable and thus B-stable.

Radau methods

[edit]

Radau methods are fully implicit methods (matrix A of such methods can have any structure). Radau methods attain order 2s − 1 for s stages. Radau methods are A-stable, but expensive to implement. Also they can suffer from order reduction.

Radau IA methods

[edit]

The first order method is similar to the backward Euler method and given by

011

The third-order method is given by

01/4−1/42/31/45/121/43/4

The fifth-order method is given by

019−1−618−1+61835−610191145+763601145−43636035+610191145+4363601145−763601949+63649−636

Radau IIA methods

[edit]

The ci of this method are zeros of

ds−1dxs−1(xs−1(x−1)s).

The first-order method is equivalent to the backward Euler method.

The third-order method is given by

1/35/12−1/1213/41/43/41/4

The fifth-order method is given by

25−6101145−7636037225−16961800−2225+67525+61037225+169618001145+76360−2225−675149−63649+6361949−63649+63619

Notes

[edit]
  1. 1 2 Butcher, John C. (2003). Numerical Methods for Ordinary Differential Equations. John Wiley. ISBN 978-0-471-96758-3.
  2. 1 2 3 Ralston, Anthony (1962). "Runge-Kutta Methods with Minimum Error Bounds". Math. Comput. 16 (80): 431–437. doi:10.1090/S0025-5718-1962-0150954-0.
  3. ↑ Shu, Chi-Wang; Osher, Stanley (1988-08-01). "Efficient implementation of essentially non-oscillatory shock-capturing schemes". Journal of Computational Physics. 77 (2): 439–471. doi:10.1016/0021-9991(88)90177-5. hdl:2060/19870013797. ISSN 0021-9991.
  4. 1 2 Kutta, Martin (1901). "Beitrag zur näherungsweisen Integration totaler Differentialgleichungen". Zeitschrift für Mathematik und Physik. 46: 435–453.
  5. ↑ Butcher, J. C. (1996-03-01). "A history of Runge-Kutta methods". Applied Numerical Mathematics. 20 (3): 247–260. doi:10.1016/0168-9274(95)00108-5. ISSN 0168-9274.
  6. ↑ Fehlberg, E. (July 1969). Low-order classical Runge-Kutta formulas with stepsize control and their application to some heat transfer problems (NASA Technical Report R-315).
  7. ↑ For discussion see: Christopher A. Kennedy; Mark H. Carpenter (2016). "Diagonally Implicit Runge-Kutta Methods for Ordinary Differential Equations. A Review". Technical Memorandum, NASA STI Program.
  8. 1 2 3 4 5 See Laurent O. Jay (N.D.). "Lobatto methods". University of Iowa
  9. ↑ Ehle (1969)

References

[edit]