Solution to ordinary differential equation

monty37
Messages
225
Reaction score
1
why is the 4th order Runge -Kutta method widely used than the 2nd or 3rd,for
solving ordinary differential equations?
 
Physics news on Phys.org
Cost-effectiveness.

Although 2. and 3.order Runge-Kutta are quicker than 4th order, they are much less exact.

For orders higher than 4, those take too long time to compute.

On another note:

Although I won't vouch for at which order this will become significant, the upper limit of an approximate scheme in terms of exactness will be when the finite arithmetic of the computer starts messing with the answers we want.
 
so even if the involved differential equations contains different complex functions,
due to greater accuracy ,the 4th order(RK) method is chosen.
 
arildno said:
Cost-effectiveness.

Although 2. and 3.order Runge-Kutta are quicker than 4th order, they are much less exact.

For orders higher than 4, those take too long time to compute.

On another note:

Although I won't vouch for at which order this will become significant, the upper limit of an approximate scheme in terms of exactness will be when the finite arithmetic of the computer starts messing with the answers we want.

I agree with you. Just that I never see RK3 formula in the literatures :wink:. Why is that so?
 
matematikawan said:
I agree with you. Just that I never see RK3 formula in the literatures :wink:. Why is that so?

Probably because R-K increases by two steps of accuracy each time.
It's been a long time since I had a glancing look at the procedure, and have forgotten if 3.order r-k is even possible. :smile:
What I remember is that r-k approximates changes due to the values of the derivatives by clever weighting of function values, using a nesting principle.
 
Last edited:
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top