Bogacki–Shampine method

The Bogacki–Shampine method is a method for the numerical solution of ordinary differential equations, that was proposed by Przemysław Bogacki and Lawrence F. Shampine in 1989 {{harv|Bogacki|Shampine|1989}}. The Bogacki–Shampine method is a Runge–Kutta method of order three with four stages with the First Same As Last (FSAL) property, so that it uses approximately three function evaluations per step. It has an embedded second-order method which can be used to implement adaptive step size. The Bogacki–Shampine method is implemented in the ode3 for fixed step solver and ode23 for a variable step solver function in MATLAB {{harv|Shampine|Reichelt|1997}}.

Low-order methods are more suitable than higher-order methods like the Dormand–Prince method of order five, if only a crude approximation to the solution is required. Bogacki and Shampine argue that their method outperforms other third-order methods with an embedded method of order two.

The Butcher tableau for the Bogacki–Shampine method is:

cellpadding=3px cellspacing=0px

|width="20px"|

style="border-right:1px solid;" | 0
style="border-right:1px solid;" | 1/21/2
style="border-right:1px solid;" | 3/403/4
style="border-right:1px solid; border-bottom:1px solid;" | 1style="border-bottom:1px solid;" | 2/9style="border-bottom:1px solid;" | 1/3style="border-bottom:1px solid;" | 4/9style="border-bottom:1px solid;" |
style="border-right:1px solid;" |2/91/34/90
style="border-right:1px solid;" |7/241/41/31/8

Following the standard notation, the differential equation to be solved is y'=f(t,y). Furthermore, y_n denotes the numerical solution at time t_n and h_n is the step size, defined by h_n = t_{n+1}-t_n. Then, one step of the Bogacki–Shampine method is given by:

: \begin{align}

k_1 &= f(t_n, y_n) \\

k_2 &= f(t_n + \tfrac12 h_n, y_n + \tfrac12 h_n k_1) \\

k_3 &= f(t_n + \tfrac34 h_n, y_n + \tfrac34 h_n k_2) \\

y_{n+1} &= y_n + \tfrac29 h_n k_1 + \tfrac13 h_n k_2 + \tfrac49 h_n k_3 \\

k_4 &= f(t_n + h_n, y_{n+1}) \\

z_{n+1} &= z_n + \tfrac7{24} h_n k_1 + \tfrac14 h_n k_2 + \tfrac13 h_n k_3 + \tfrac18 h_n k_4.

\end{align}

Here, z_{n+1} is a second-order approximation to the exact solution. The method for calculating y_{n+1} is due to {{harvtxt|Ralston|1965}}. On the other hand, y_{n+1} is a third-order approximation, so the difference between y_{n+1} and z_{n+1} can be used to adapt the step size. The FSAL—first same as last—property is that the stage value k_4 in one step equals k_1 in the next step; thus, only three function evaluations are needed per step.

References

  • {{Citation | last1=Bogacki | first1=Przemysław | last2=Shampine | first2=Lawrence F. | title=A 3(2) pair of Runge–Kutta formulas | doi=10.1016/0893-9659(89)90079-7 | year=1989 | journal=Applied Mathematics Letters | issn=0893-9659 | volume=2 | issue=4 | pages=321–325| doi-access=free }}.
  • {{Citation | last1=Ralston | first1=Anthony | title=A First Course in Numerical Analysis | publisher=McGraw-Hill | location=New York | year=1965}}.
  • {{Citation | last1=Shampine | first1=Lawrence F. | last2=Reichelt | first2=Mark W. | title=The Matlab ODE Suite | doi=10.1137/S1064827594276424 | year=1997 | journal=SIAM Journal on Scientific Computing | issn=1064-8275 | volume=18 | issue=1 | pages=1–22| bibcode=1997SJSC...18....1S | s2cid=14004171 | url=https://hal.archives-ouvertes.fr/hal-01333731/file/Shampine.pdf }}.

{{DEFAULTSORT:Bogacki-Shampine method}}

Category:Runge–Kutta methods