






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







5.4 Runge-Kutta Methods
Motivation: Obtain high-order accuracy of Taylor method without
knowledge of derivatives of ๐๐(๐ก๐ก, ๐ฆ๐ฆ).
Theorem 5.13(Taylorโs Theorem in Two Variables) Suppose
๐๐(๐ก๐ก, ๐ฆ๐ฆ) and partial derivative up to order ๐๐ + 1 continuous on
๐ท๐ท = {(๐ก๐ก, ๐ฆ๐ฆ)|๐๐ โค ๐ก๐ก โค ๐๐, ๐๐ โค ๐ฆ๐ฆ โค ๐๐}, let (๐ก๐ก
0
0
) โ ๐ท๐ท. For (๐ก๐ก, ๐ฆ๐ฆ) โ
๐ท๐ท, there is ๐๐ โ
0
and ๐๐ โ
0
with
๐๐
๐๐
Here
๐๐
0
0
0
๐๐๐๐
๐๐๐๐
0
0
0
๐๐๐๐
๐๐๐๐
0
0
( ๐๐โ๐๐
0
)
2
2
๐๐
2
๐๐
๐๐๐๐
2
0
0
0
0
๐๐
2
๐๐
๐๐๐๐๐๐๐๐
0
0
( ๐๐โ๐๐
0
)
2
2
๐๐
2
๐๐
๐๐๐๐
2
0
0
1
๐๐!
0
๐๐โ๐๐
0
๐๐
๐๐
๐๐
๐๐
๐๐๐๐
๐๐โ๐๐
๐๐๐๐
๐๐
0
0
๐๐
๐๐=
Derivation of Runge-Kutta method of order two
Determine ๐๐
1
1
1
such that
1
1
1
โฒ
) with ๐๐
2
) error.
Notice ๐๐
โฒ
๐๐๐๐(๐๐,๐๐(๐๐))
๐๐๐๐
๐๐๐๐
๐๐๐๐
๐๐๐๐
๐๐๐๐
โฒ
๐๐๐๐
๐๐๐๐
๐๐๐๐
๐๐๐๐
Define:
( 2
)
1.Expand ๐๐
1
1
1
in 1
st
degree Taylor polynomial:
1
1
1
1
1
1
1
1
1
1
1
1
2.Match coefficients of equation (1) and (2) gives
1
1
1
1
1
with unique solution
1
1
1
Midpoint Method (one of Runge-Kutta methods of order two)
Consider to solve the IVP
โฒ
with step size โ =
๐๐โ๐๐
๐๐
0
๐๐+
๐๐
๐๐
๐๐
๐๐
๐๐
for each ๐๐ = 0, 1, 2, โฏ , ๐๐ โ 1.
Remark: Local truncation error of Midpoint method is ๐๐
2
Two stage formula of Runge-Kutta method of order two :
0
1
๐๐
๐๐
2
๐๐
๐๐
1
๐๐+
๐๐
2
for each ๐๐ = 0, 1, 2, โฏ , ๐๐ โ 1.
Example 2. Use the Midpoint method with ๐๐ = 10, โ = 0.2,
๐๐
= 0.2๐๐ and ๐ค๐ค
0
= 0.5 to solve the IVP
โฒ
2
Example. Use the Modified Euler method with ๐๐ = 10, โ = 0.2,
๐๐
= 0.2๐๐ and ๐ค๐ค
0
= 0.5 to solve the IVP
โฒ
2
Heunโs Method (Runge-Kutta Method of order three)
Idea: Approximate ๐๐
( 3 )
) with ๐๐
3
) error by ๐๐
1
1
2
0
๐๐+
๐๐
๐๐
๐๐
๐๐
๐๐
๐๐
๐๐
๐๐
๐๐
for each ๐๐ = 0, 1, 2, โฏ , ๐๐ โ 1.
Runge-Kutta Method of order four
0
1
๐๐
๐๐
2
๐๐
๐๐
1
3
๐๐
๐๐
2
4
๐๐+
๐๐
3
๐๐+
๐๐
1
2
3
4
for each ๐๐ = 0, 1, 2, โฏ , ๐๐ โ 1.
Example 3. Use the Runge-Kutta method of order 4 with ๐๐ =
๐๐
= 0.2๐๐ and ๐ค๐ค
0
= 0.5 to solve the IVP
โฒ
2