Question #79823

Write abstract of Runge Kutta Method and Runge Kutta Fehlberg Method.
1

Expert's answer

2018-08-17T09:42:09-0400

Answer on Question #79823 – Math – Quantitative Methods

Question

Write abstract of Runge Kutta Method and Runge Kutta Fehlberg Method.

Solution

The Runge-Kutta methods are a family of iterative methods, which include the well-known routine called the Euler Method, used in temporal discretization for the approximate solutions of ordinary differential equations. These methods were developed around 1900 by the German mathematicians C. Runge and M. W. Kutta.

The classical Runge-Kutta method

The classical Runge-Kutta method (or simply the Runge–Kutta method) is most widely known member of the Runge-Kutta family. It is generally referred to RK4 [Wolfram MathWorld, Wikipedia].

Let an initial value problem be specified as follows:


dydx=f(x,y),y(x0)=y0.\frac {d y}{d x} = f (x, y), \quad y \left(x _ {0}\right) = y _ {0}.


Then, for a chosen step hh the approximate solution of the problem is given by:


xn+1=xn+h,x _ {n + 1} = x _ {n} + h,yn+1=yn+16(k1+2k2+2k3+k4),y _ {n + 1} = y _ {n} + \frac {1}{6} \left(k _ {1} + 2 k _ {2} + 2 k _ {3} + k _ {4}\right),


where


k1=hf(xn,yn),k _ {1} = h f \left(x _ {n}, y _ {n}\right),k2=hf(xn+h2,yn+k12),k _ {2} = h f \left(x _ {n} + \frac {h}{2}, y _ {n} + \frac {k _ {1}}{2}\right),k3=hf(xn+h2,yn+k22),k _ {3} = h f \left(x _ {n} + \frac {h}{2}, y _ {n} + \frac {k _ {2}}{2}\right),k4=hf(xn+h,yn+k3).k _ {4} = h f \left(x _ {n} + h, y _ {n} + k _ {3}\right).


The RK4 method is a fourth-order method, meaning that the local truncation error is on the order of O(h5)O(h^5), while the total accumulated error is on the order of O(h4)O(h^4).

The Runge-Kutta-Fehlberg method

The Runge-Kutta-Fehlberg method was developed by the German mathematician Erwin Fehlberg and is based on the classical Runge–Kutta method. It is referred to RKF45. The idea of the Runge-Kutta-Fehlberg method is to solve the problem twice using step sizes hh and h/2h/2 and compare answers at the mesh points corresponding to the larger step size [Mathew&Fink, Wikipedia, ].

To approximate the solution of the problem (1), the following algorithm should be implemented:


xn+1=xn+h,x_{n+1} = x_n + h,yn+1[4]=yn+(25216k1+14082565k3+21974104k415k5),error of O(h4),y_{n+1}^{[4]} = y_n + \left(\frac{25}{216}k_1 + \frac{1408}{2565}k_3 + \frac{2197}{4104}k_4 - \frac{1}{5}k_5\right), \quad \text{error of } O(h^4),yn+1=yn+(16135k1+665612825k3+2856156430k4950k5+255k6),error of O(h5),y_{n+1} = y_n + \left(\frac{16}{135}k_1 + \frac{6656}{12825}k_3 + \frac{28561}{56430}k_4 - \frac{9}{50}k_5 + \frac{2}{55}k_6\right), \quad \text{error of } O(h^5),ε=yn+1[5]yn+1[4],\varepsilon = \left| y_{n+1}^{[5]} - y_{n+1}^{[4]} \right|,


where


k1=hf(xn,yn),k_1 = hf(x_n, y_n),k2=hf(xn+14h,yn+14k1),k_2 = hf\left(x_n + \frac{1}{4}h, y_n + \frac{1}{4}k_1\right),k3=hf(xn+38h,yn+332k1+932k2),k_3 = hf\left(x_n + \frac{3}{8}h, y_n + \frac{3}{32}k_1 + \frac{9}{32}k_2\right),k4=hf(xn+1213h,yn+19322197k172002197k2+72962197k3),k_4 = hf\left(x_n + \frac{12}{13}h, y_n + \frac{1932}{2197}k_1 - \frac{7200}{2197}k_2 + \frac{7296}{2197}k_3\right),k5=hf(xn+h,yn+439216k18k2+3680513k38454104k4),k_5 = hf\left(x_n + h, y_n + \frac{439}{216}k_1 - 8k_2 + \frac{3680}{513}k_3 - \frac{845}{4104}k_4\right),k6=hf(xn+12h,yn827k1+2k235442565k3+18594104k41140k5).k_6 = hf\left(x_n + \frac{1}{2}h, y_n - \frac{8}{27}k_1 + 2k_2 - \frac{3544}{2565}k_3 + \frac{1859}{4104}k_4 - \frac{11}{40}k_5\right).


Value ε\varepsilon gives an error estimate for yn+1y_{n+1} at xn+1x_{n+1}. If the error estimate exceeds the goal tolerance, the step hh should be decreased, and yn+1y_{n+1} should be recalculated at new xn+1x_{n+1}.

References:

1. Wolfram MathWorld. Runge-Kutta Method. [online] Available at: http://mathworld.wolfram.com/Runge-KuttaMethod.html [Accessed 15 Aug 2018].

2. Wikipedia. Runge-Kutta methods. [online] Available at: https://en.wikipedia.org/wiki/Runge-Kutta_methods [Accessed 15 Aug 2018].

3. Wikipedia. Runge-Kutta-Fehlberg method. [online] Available at: https://en.wikipedia.org/wiki/Runge-Kutta-Fehlberg_method [Accessed 15 Aug 2018].

4. John H. Mathews and Kurtis K. Fink. Numerical Methods Using Matlab, 4th Edition, 2004.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS