Backward Runge-Kutta Method (4th Order)

To find this method, you can use the same steps as the forwards method, but use negative values for H in the equations.
  • #1
wolfandraven
3
0

Homework Statement



Hi,

As part of a computing project I'm doing, I need to use a shooting method, to solve a set of differential equations. I have some trial boundary conditions at either end of the equations, and am going to be integrating from each end and varying some parameters until the solutions meet in the middle.

I'd like to use the 4th order Runge-Kutta method to do this integration, but I only know the forwards Runge-Kutta method, and not the backwards one, so I'd just like to ask a few questions:

Firstly, is there a backwards version?

Second, what is it? Please could you state it, give me a link to it, or try and explain how I'd find it (as I'm having difficulty working it out).

Thanks!

Homework Equations



The 4th Order Forwards Runge-Kutta method is:

for dy/dx = F(X,Y)

Yn+1 = Yn + 1/6H(K1 + 2K2 + 2K3 + K4)

where

K1 = F(X,Y)*H

K2 = F(X+H/2,Y+H/2*K1)

K3 = F(X+H/2, Y+H/2*K2)

K4 = F(X+H, Y+H*K3)

The Attempt at a Solution

 
Physics news on Phys.org
  • #2
Yes, there is a backwards version of the 4th order Runge-Kutta method. The equation for the backwards Runge-Kutta method is: Yn-1 = Yn - 1/6H(K1 + 2K2 + 2K3 + K4)whereK1 = F(X,Y)*HK2 = F(X-H/2,Y-H/2*K1)K3 = F(X-H/2, Y-H/2*K2)K4 = F(X-H, Y-H*K3)
 

FAQ: Backward Runge-Kutta Method (4th Order)

What is the Backward Runge-Kutta Method (4th Order)?

The Backward Runge-Kutta Method (4th Order) is a numerical method used for solving ordinary differential equations (ODEs). It is a variation of the classic Runge-Kutta method but with the advantage of being more stable and accurate for stiff ODEs.

How does the Backward Runge-Kutta Method (4th Order) work?

The Backward Runge-Kutta Method (4th Order) works by approximating the solution of an ODE at a given point by using a weighted average of the slopes at several nearby points. It uses a backward step to find the intermediate points, which makes it more stable for stiff ODEs.

What are the advantages of using the Backward Runge-Kutta Method (4th Order)?

The Backward Runge-Kutta Method (4th Order) has several advantages over other numerical methods. It is more stable and accurate for stiff ODEs, requires fewer function evaluations, and can handle non-linear and non-autonomous systems. It also has a larger stability region compared to other methods, making it more robust.

What are the limitations of the Backward Runge-Kutta Method (4th Order)?

While the Backward Runge-Kutta Method (4th Order) has many advantages, it also has some limitations. It can be computationally expensive for large systems, and it may not be suitable for solving highly oscillatory or discontinuous ODEs. It also requires a good initial guess for the solution.

How is the accuracy of the Backward Runge-Kutta Method (4th Order) determined?

The accuracy of the Backward Runge-Kutta Method (4th Order) is determined by the order of the method, which is 4 in this case. This means that the error in the solution is proportional to the step size raised to the power of 4. Therefore, decreasing the step size will result in a more accurate solution.

Back
Top