On A General Formula of Fourth Order Runge-Kutta Method

Similar documents
9.6 Predictor-Corrector Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods

2. A die is rolled 3 times, the probability of getting a number larger than the previous number each time is

446 CHAP. 8 NUMERICAL OPTIMIZATION. Newton's Search for a Minimum of f(x,y) Newton s Method

Numerical Solution of Differential Equations

Lecture Notes on Metric Spaces

Section 7.4 Runge-Kutta Methods

Ordinary Differential Equations

Selected Math 553 Homework Solutions

SEC POWER METHOD Power Method

Fourth Order RK-Method

Midterm 1 Solutions Thursday, February 26

9.2 Euler s Method. (1) t k = a + kh for k = 0, 1,..., M where h = b a. The value h is called the step size. We now proceed to solve approximately

Math 308 Week 8 Solutions

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

5.1 Least-Squares Line

LINEAR SYSTEMS AND MATRICES

Introduction to standard and non-standard Numerical Methods

1 Solutions to selected problems

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

Integration of Ordinary Differential Equations

ODE Runge-Kutta methods

Outline. Liouville s theorem Canonical coordinates Hamiltonian Symplecticity Symplectic integration Symplectification algorithm

Review of Integration Techniques

Ordinary Differential Equations (ODEs)

Module 2: First-Order Partial Differential Equations

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

Proofs. Chapter 2 P P Q Q

Math Applied Differential Equations

Solution of First Order Initial Value Problem by Sixth Order Predictor Corrector Method

9.8 Boundary Value Problems. Another type of differential equation has the form. (1) x = f (t, x, x ) for a t b, with the boundary conditions

Ordinary Differential Equations

Numerical and Statistical Methods

Numerical and Statistical Methods

+ h4. + h5. 6! f (5) i. (C.3) Since., it yields

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

7.3 Singular points and the method of Frobenius

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

SKMM 3023 Applied Numerical Methods

Mini project ODE, TANA22

Use of Differential Equations In Modeling and Simulation of CSTR

2.2 Separable Equations

Do not turn over until you are told to do so by the Invigilator.

Math 308 Discussion Problems #4 Chapter 4 (after 4.3)

كلية العلوم قسم الرياضيات المعادالت التفاضلية العادية

P(x) a. P(x) = a n (x x 1 ) (x x 2 ) _ (x x k ) _ (x x n ) Q(x) b n (x y 1 ) (x y 2 ) _ (x x k ) _ (x y n )

Homework 8 Solutions to Selected Problems

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

Ordinary Differential equations

Differential Equations

z x = f x (x, y, a, b), z y = f y (x, y, a, b). F(x, y, z, z x, z y ) = 0. This is a PDE for the unknown function of two independent variables.

Web Solutions for How to Read and Do Proofs

M.SC. PHYSICS - II YEAR

Math123 Lecture 1. Dr. Robert C. Busby. Lecturer: Office: Korman 266 Phone :

Applied Math for Engineers

Mahboubeh Molavi-Arabshahi. School of Mathematics, Iran University of Science and Technology (IUST), Narmak, Tehran, Iran.

Initial Value Problems

Series Solution of Linear Ordinary Differential Equations

NONLINEAR EQUATIONS AND TAYLOR S THEOREM

VANDERBILT UNIVERSITY. MATH 2610 ORDINARY DIFFERENTIAL EQUATIONS Practice for test 1 solutions

A = (a + 1) 2 = a 2 + 2a + 1

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

ACCELERATION OF RUNGE-KUTTA INTEGRATION SCHEMES

Second order weak Runge Kutta type methods for Itô equations

Ordinary Differential Equations (ODEs)

Math 113 Winter 2013 Prof. Church Midterm Solutions

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods.

Solutionbank Edexcel AS and A Level Modular Mathematics

SPM Add Math Form 4 Chapter 3 Quadratic Functions

DIFFERENTIAL EQUATIONS

Assignment. Name. Factor each completely. 1) a w a yk a k a yw 2) m z mnc m c mnz. 3) uv p u pv 4) w a w x k w a k w x

BME I5000: Biomedical Imaging

The Theory of Second Order Linear Differential Equations 1 Michael C. Sullivan Math Department Southern Illinois University

Solving Zhou Chaotic System Using Fourth-Order Runge-Kutta Method

Engg. Math. II (Unit-IV) Numerical Analysis

Essential Ordinary Differential Equations

Lecture 19: Solving linear ODEs + separable techniques for nonlinear ODE s

CALCULUS JIA-MING (FRANK) LIOU

1 Solutions to selected problems

OBJECTIVE Find limits of functions, if they exist, using numerical or graphical methods.

Solutions to Exam 2, Math 10560

NORTH MAHARASHTRA UNIVERSITY JALGAON.

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 2

Linear Algebra 1 Exam 2 Solutions 7/14/3

Subbalakshmi Lakshmipathy College of Science. Department of Mathematics

NONLINEAR WAVE EQUATIONS ARISING IN MODELING OF SOME STRAIN-HARDENING STRUCTURES

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Math 246, Spring 2011, Professor David Levermore

SOLUTIONS Section (a) y' + 4 x+2 y = -6. (x+2) 2, P(x) = 4, P(x) dx = 4 applen(x+2) = applen(x+2)4. = (x+2) 4,

The eigenvalues are the roots of the characteristic polynomial, det(a λi). We can compute

Mathematics Qualifying Exam Study Material

Solving systems of ODEs with Matlab

Sophus Lie s Approach to Differential Equations

Chapter 11 ORDINARY DIFFERENTIAL EQUATIONS

Integration - Past Edexcel Exam Questions

is equal to = 3 2 x, if x < 0 f (0) = lim h = 0. Therefore f exists and is continuous at 0.

Legendre s Equation. PHYS Southern Illinois University. October 18, 2016

Using the binomial square thm. rewrite the following trinomial into an equivalent expression (The square of a binomial) 25c 2 70cd + 49d 2

18.01 Single Variable Calculus Fall 2006

Transcription:

On A General Formula of Fourth Order Runge-Kutta Method Delin Tan Zheng Chen Abstract In this paper we obtain a general formula of Runge-Kutta method in order with a free parameter t By picking the value of t it can generate many RK methods in order including some known results Numerical calculation shows that those new formulas have the same accuracy as the classical RK has I Introduction and Main Results The Runge-Kutta algorithm is used for solving the numerical solution of the ordinary differential equation y ( x f ( x y with initial condition y( x0 w In 0 about 900 Runge and Kutta developed the following classical fourth order Runge-Kutta iterative method ( K K K K h ( K f ( xk K f ( xk h w k K h K f ( xk h w ( k K h K f x k h K h which has the accumulative error in order of O(h Since then many mathematicians have tried to develop more Runge-Kutta like methods in a variety of directions In 99 R England [] developed another fourth order Runge-Kutta method (See the book of L F Shampine R C Allen and S Pruess [] ( K K K h ( K f ( xk K f ( xk h w k K h K f ( xk h w ( k K h K h K f x k h K h K h Although the higher order of Runge-Kutta methods can increase the error accuracy but it would need to pay the cost of calculation complexity Therefore the most mathematicians think that the fourth order Runge-Kutta method is the most efficient method to solve numerical solution for IVP It is naturally to ask: Do there exist other fourth order Runge-Kutta methods? If yes then what are they look like? In this paper we obtain a general formula fourth order Runge- Kutta method with a free parameter as the following Journal of Mathematical Sciences & Mathematics Education Vol 7 No

K ( t K tk Kh K f ( xk ( K f ( xk h w k K h K f ( xk h w k ( Kh Kh t t t t K f ( xk h ( Kh K h where t is a free parameter Remark : Pick t then ( becomes the classical Runge-Kutta method ( Remark : Pick t then ( becomes England s Runge-Kutta method ( Remark : Pick t we get a new formula for Runge-Kutta method ( K K K K h K f ( xk ( K f ( xk h w k K h ( k k ( k k K f x h w Kh Kh K f x h w Kh Kh Remark : Pick t we get the second new formula for Runge-Kutta method ( K K K K h K f ( xk (5 K f ( xk h w k K h K f ( xk h w k K h K h K f ( xk h K h K h Remark 5: Pick t 5 we get the third new formula for Runge-Kutta method ( K K 5 K K h K f ( xk ( K f ( xk h w k K h K f ( xk h w k K 0 h K 5 h 5 K f ( xk h K h K h Journal of Mathematical Sciences & Mathematics Education Vol 7 No

II Numerical Computing Tests With the same step value of h we use the different fourth order Runge-Kutta methods including the classical one to calculate the numerical solution for several differential equations with initial value condition at x 0 Then comparing to the real analytic solutions to estimate the relative error at x Our first example is to calculate the numerical solution for y y x (0 x with y(0 and h 0 Comparing to the analytic solution y e x x x at x we obtain the following results: RK methods Classical R England Formula ( Formula (5 Formula ( Relative errors at x 0009% 0009% 0009% 0009% 0009% Our second example is to calculate the numerical solution for y xy x (0 x with y(0 and h 0 / x Comparing to the analytic solution y e x we obtain the following results: RK methods Classical R England Formula ( Formula (5 Formula ( Relative errors at x 0005% 0005% 0005% 0005% 0005% Our last example is to calculate the numerical solution for the second order differential equation y y sin x (0 x with y(0 y (0 0 and h 0 y Define vector variabley y and apply the different fourth order Runge- Kutta methods to the following vector differential equation dy f ( x Y with initial condition Y (0 dx 0 0 0 where f ( x Y Y 0 sin x x After comparing to the analytic solution y e sin x we get the following results RK methods Classical R England Formula ( Formula (5 Formula ( Relative errors at x 0005% 0005% 0005% 0005% 0005% The above calculating results show that the new fourth order Runge-Kutta methods formulas ( (5 and ( have the exactly same error accuracy as the classical method ( does Journal of Mathematical Sciences & Mathematics Education Vol 7 No

III Lemma To derive the above general formula ( we need the following lemma: Lemma: Suppose that a b c d p p p q q a q b q a and q b are real numbers and function f(x y is continues in a neighborhood of a point (x 0 y 0 Let y y(x be a solution of differential equation y ( x f ( x y with initial condition y( x0 y Define 0 K f ( x y (7 K f ( x ph y qkh K f ( x ph y qakh qbkh K f ( x ph y qak h qbkh For small h > 0 if 5 (8 y( x h y( x ( ak bk ck dk h O( h is true for any continuous function f(x y in the domain of (x y then a b c d p q p qa qa p qa qb (9 ( bp cp dp ( bp cp dp ( bp cp dp ( cpq b dpq a dpqb dpq bqb ( p p dp pqa dp pqb dp p p 5 Proof: First pick y(x x then f(x y y'(x and K K K K Plug them into (8 we get 5 x h x ( a b c d h O( h Therefore we obtain ( a b c d y Still consider but setup f ( x y y ( x Then x y y qkh x qh K K x K x q K h q K h x q K h q K h K a b a b x ph x ph To make the point ( xk on the solution line y x K should be equal one Therefore the only possible relation between p and q is ( p q Journal of Mathematical Sciences & Mathematics Education Vol 7 No

x q q h K x ph For the same arguments on K we obtain ( p qa q b Then ( a b ( a b Then x q q h K x ph Similarly we obtain ( p qa q b If pick y(x x and setup f(x y y'(x x then K x K ( x ph K ( x ph K ( x ph Plug into (8 5 ( x h x h ax b( c( d( O( h [ ] ( 5 x ( a b c d xh bp cp dp h O( h Then we get bp cp dp (5 ( Next pick y(x x and setup f(x y y'(x x then K x K ( x ph K ( x ph K ( x ph Plug into (8 5 ( x h x h ax b( x ph c( x ph d( x ph O( h Then we get ( 5 x x h xh bp cp dp h O( h ( ( bp cp dp If pick y(x x and setup f(x y y'(x x then K x K ( x ph K ( x ph K ( x ph Plug into (8 5 ( x h x h ax b( x ph c( x ph d( x ph O( h Then we get ( 5 x x h x h xh bp cp dp h O( h (7 ( bp cp dp Again pick y( x x but setup y f ( x y y ( x Then K x and x Journal of Mathematical Sciences & Mathematics Education Vol 7 No 5

K ( y q K h ( x px h x p h x p h ( x pxh ph O( h ( y qakh qbkh K K ( x q ax h q bx h p q bxh O( h ( x p x h p q bxh O( h ( x pxh ph pq bh O( h ( y qakh qbkh ( x q ax h p q axh q bx h p q bxh O( h ( x px h pq a pqb xh O( h ( ( x pxh x ph pq a pqb h O( h Plug into (8 ( x h x ax h bx pxh ( ph h ( cx pxh ph pq bh h ( ( dx pxh x ph pq a pqb h h O( h ( x ( a b c d x h bp cp dp xh ( ( a b b Then we get ( bp cp dp ( dpq a dpqb cpq b From (7 8 dp q dp q cp q bp cp dp Therefore bp cp dp dp q dp q cp q h O( h ( a b b ( (8 ( cp q dp q dp q b a b Journal of Mathematical Sciences & Mathematics Education Vol 7 No

Still consider K y( x ( y qkh K x and setup ( y q K h q K h a b y f ( x y y ( x then K x ( ( x qax h qb x px h ph x h O h x px h pq bx h p qbxh O( h ( ( ( x p h x p h x p h ( pq bxh p pqbh p qbh O( h Because y q K h q K h Then K a b ( ( x q a x ph x ph xh O( h ( ( q b x ph x ph x pq bxh h O( h x q x h p q x h p q xh q x h a a p q x h p q xh 8 p q q xh O( h b b b b x p x h p q p q a ( b ( a b 8 pq bqb xh O( h ( y q K h q K h a b x h p q p q xh ( ( x and x px h pq a pq b x h p qa pqb xh 8pq bqb xh O( h ( ( ( ( ( ( x ph x ph x ph pq a pq b xh pq a pqb ph Plug into (8 p qa pq b h 8pq bqbh O( h Journal of Mathematical Sciences & Mathematics Education Vol 7 No 7

( ( ( ( ( ( x h x ax h bx px h ph x ph h cx ph x ph x ph pq bxh p pqbh p qbh h ( ( ( ( dx ph x ph x ph pq a pqb xh h ( a b ( a b 5 d pq pq ph p q pq h 8pq bq bh h O( h ( x a b c d x h ( bp cp dp x h ( ( b a b bp cp dp cp q dp q dp q xh bp cp dp h ( b a b ( b a b [ 5 dp pq a dp pqb dp p p 8 dp pqb ] h O( h ( [ dp p q dp p q dp p p dp q q ] h 5 O h p cp q dp q dp q p cp q dp q dp q h x x h x h xh h h p p h 8 ( a b b b Therefore p p dp p q dp p q dp p q 8dp q q ( a a b b b We obtain (8 p p dp p q dp p q dp p p dp q q ( a b b b Thus we have obtained all equations in (9 of the lemma Remark : Equations in lemma are the necessary conditions to make the RK constants a b c d p p p q q a q b q a and q b They might not be enough make (8 to be true for some f(xy Remark : Equations in (9 plus the following equations dpq bqb ( ( cpq b dpq a dpqb 8( cp pqb dp pqa dp pqb would be enough to make (8 to be true for all f(xy See the book of J H Mathews and K D Fink [] IV Derivation the General RK formulas The total number of questions in systems (9 and ( is The number of all unknown constants is also Therefore it could have only one solution for constants a b c d p p p q q a q b q a and q b theoretically How if we set up p p or p p or p p then the rank of the following equation system Journal of Mathematical Sciences & Mathematics Education Vol 7 No 8

( bp cp dp ( bp cp dp ( bp cp dp Would be reduced to two then we would get a free parameter By a tedious analyzing we have found that the only possible case is p p The further calculation reveals that this common value is only possibly to be / or / If p p / we can calculate to get p If p p / we can calculate to get p 5/ However the second choice p p / p 5/ is contradiction to equation system ( We omit the detail calculation here Now we choose p p and p to get b c d cp q dp q dp q becomes b c b c d a d b c d Then the equation ( b a b ( cq b qa qb Because q q p we get a b ( cq b cq b Set q b and t as a free parameter We obtain t t c and b c ( t From the equation we get Therefore ( p p dp p q dp p q dp p p dp q q a b b b ( q a q b q t b 5 ( b q t q t t b and q a Then we obtain the general RK formula with a parameter t Journal of Mathematical Sciences & Mathematics Education Vol 7 No 9

K ( t K tk Kh K f ( xk K f ( xk h w k K h K f ( xk h w k ( Kh Kh t t t t K f ( xk h ( Kh K h Moreover we can check that all constants in this formula satisfy conditions of ( for any constant t That proves that is a general Runge-Kutta method in order of Actually there is no other Runge-Kutta method in order of under the formation (7 Delin Tan PhD Southern University at New Orleans USA Zheng Chen PhD Southern University at New Orleans USA References [] R England Error estimate for Runge-Kutta type solutions of ordinary differential equation Computer Journal (99-70 [] L F Shampine R C Allen and S Pruess Fundamentals of Numerical Computing (997 John Wiley & Sons [] J H Mathews and K D Fink Numerical Methods: Using Matlab Fourth Edition (00 Prentice-Hall Pub Inc Journal of Mathematical Sciences & Mathematics Education Vol 7 No 0