Solving Delay Differential Equations (DDEs) using Nakashima s 2 Stages 4 th Order Pseudo-Runge-Kutta Method

Similar documents
Modified Milne Simpson Method for Solving Differential Equations

Fourth Order RK-Method

Applied Math for Engineers

Numerical Methods - Initial Value Problems for ODEs

multistep methods Last modified: November 28, 2017 Recall that we are interested in the numerical solution of the initial value problem (IVP):

Research Article Diagonally Implicit Block Backward Differentiation Formulas for Solving Ordinary Differential Equations

Consistency and Convergence

Solving Ordinary Differential equations

Ordinary Differential Equations

Initial value problems for ordinary differential equations

ORBIT 14 The propagator. A. Milani et al. Dipmat, Pisa, Italy

Applied Mathematics Letters. Nonlinear stability of discontinuous Galerkin methods for delay differential equations

Fifth-Order Improved Runge-Kutta Method With Reduced Number of Function Evaluations

Solving Ordinary Differential Equations

Ordinary Differential Equations

5.6 Multistep Methods

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

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

COSC 3361 Numerical Analysis I Ordinary Differential Equations (II) - Multistep methods

One-Step Hybrid Block Method with One Generalized Off-Step Points for Direct Solution of Second Order Ordinary Differential Equations

Math 128A Spring 2003 Week 12 Solutions

Euler s Method, cont d

Ordinary differential equations - Initial value problems

Lecture 4: Numerical solution of ordinary differential equations

On interval predictor-corrector methods

A CLASS OF CONTINUOUS HYBRID LINEAR MULTISTEP METHODS FOR STIFF IVPs IN ODEs

Numerical solution of ODEs

Scientific Computing with Case Studies SIAM Press, Lecture Notes for Unit V Solution of

Initial value problems for ordinary differential equations

CHAPTER 5: Linear Multistep Methods

Delay Differential Equations with Constant Lags

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

Numerical Methods for Differential Equations

Review Higher Order methods Multistep methods Summary HIGHER ORDER METHODS. P.V. Johnson. School of Mathematics. Semester

Section 7.4 Runge-Kutta Methods

Numerical Methods for Differential Equations

Math 225 Differential Equations Notes Chapter 1

arxiv: v1 [math.na] 31 Oct 2016

Numerical Differential Equations: IVP

1 Ordinary Differential Equations

Introduction to standard and non-standard Numerical Methods

Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations

Jim Lambers MAT 772 Fall Semester Lecture 21 Notes

Numerical solution of delay differential equations via operational matrices of hybrid of block-pulse functions and Bernstein polynomials

NUMERICAL SOLUTION OF DELAY DIFFERENTIAL EQUATIONS VIA HAAR WAVELETS

Ordinary Differential Equations

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations

Solving Delay Differential Equations By Elzaki Transform Method

Research Article Solving Delay Differential Equations of Small and Vanishing Lag Using Multistep Block Method

ODE Runge-Kutta methods

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

Module 4: Numerical Methods for ODE. Michael Bader. Winter 2007/2008

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

A Study on Linear and Nonlinear Stiff Problems. Using Single-Term Haar Wavelet Series Technique

Initial Value Problems for. Ordinary Differential Equations

Bindel, Fall 2011 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 18. HW 7 is posted, and will be due in class on 4/25.

Solving scalar IVP s : Runge-Kutta Methods

A Zero-Stable Block Method for the Solution of Third Order Ordinary Differential Equations.

2 Numerical Methods for Initial Value Problems

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

Multistep Methods for IVPs. t 0 < t < T

Quarter-Sweep Gauss-Seidel Method for Solving First Order Linear Fredholm Integro-differential Equations


8.1 Introduction. Consider the initial value problem (IVP):

Scientific Computing: An Introductory Survey

On linear and non-linear equations.(sect. 2.4).

NUMERICAL ANALYSIS 2 - FINAL EXAM Summer Term 2006 Matrikelnummer:

The Chebyshev Collection Method for Solving Fractional Order Klein-Gordon Equation

Project on Runge Kutta method

Chap. 20: Initial-Value Problems

The family of Runge Kutta methods with two intermediate evaluations is defined by

Ordinary Differential Equations II

Mathematics for chemical engineers. Numerical solution of ordinary differential equations

MB4018 Differential equations

Z. Omar. Department of Mathematics School of Quantitative Sciences College of Art and Sciences Univeristi Utara Malaysia, Malaysia. Ra ft.

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations

Ordinary Differential Equations

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

Research Article An Accurate Block Hybrid Collocation Method for Third Order Ordinary Differential Equations

Math 128A Spring 2003 Week 11 Solutions Burden & Faires 5.6: 1b, 3b, 7, 9, 12 Burden & Faires 5.7: 1b, 3b, 5 Burden & Faires 5.

Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the Solution of First Order Ordinary Differential Equations

Differential Equations

2.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS. differential equations with the initial values y(x 0. ; l.

ON THE NUMERICAL SOLUTION FOR THE FRACTIONAL WAVE EQUATION USING LEGENDRE PSEUDOSPECTRAL METHOD

Numerical Methods for the Solution of Differential Equations

On Nonlinear Methods for Stiff and Singular First Order Initial Value Problems

A Brief Introduction to Numerical Methods for Differential Equations

Delay Differential Equations Part II: Time and State dependent Lags

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

Improved Extended Runge-Kutta-like Method for Solving First Order IVPs

Multistage Methods I: Runge-Kutta Methods

MTH 452/552 Homework 3

CONVERGENCE PROPERTIES OF THE MODIFIED NUMEROV RELATED BLOCK METHODS

Continuous Block Hybrid-Predictor-Corrector method for the solution of y = f (x, y, y )

Method of Successive Approximations for Solving the Multi-Pantograph Delay Equations

Chapter 10 Skill biased technological change

DIRECTLY SOLVING SECOND ORDER LINEAR BOUNDARY VALUE PROBLEMS OF ORDINARY DIFFERENTIAL EQUATIONS. Ra ft Abdelrahim 1, Z. Omar 2

Numerical Solution of Hybrid Fuzzy Dierential Equation (IVP) by Improved Predictor-Corrector Method

A modification of Kaldor-Kalecki model and its analysis

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 20

Transcription:

World Applied Sciences Journal (Special Issue of Applied Math): 8-86, 3 ISSN 88-495; IDOSI Publications, 3 DOI:.589/idosi.wasj.3..am.43 Solving Delay Differential Equations (DDEs) using Naashima s Stages 4 th Order Pseudo-Runge-Kutta Method Nur Ain Ayunni Sabri and Mustafa bin Mamat Department of Business and Finance, Faculty of Entrepreneurship and Business, Universiti Malaysia Kelantan (UMK), 6 Kota Bharu, Kelantan Department of Mathematics, Faculty of Science and Technology, Universiti Malaysia Terengganu, 3 K. Terengganu, Malaysia Abstract: This paper is investigate numerically the problem on solving Delay Differential Equations (DDEs) using Naashima s Stages 4th Order Pseudo-Runge-Kutta Method and also developed the algorithm of Naashima s Stages 4th Order Pseudo-Runge-Kutta Method incorporates with Hermite Interpolation. Numerical result is applied to a real life problem which is Food-Limited Model. Mathematica 7 software and Microsoft Excel are used to develop the calculation. Key words: Delay Differential Equations (DDEs) Pseudo-Runge Kutta method Hermite interpolation INTRODUCTION Delay differential equations (DDEs) are used to describe many phenomena in physics, biology and chemistry [, 7]. Pseudo-Runge-Kutta (PRK) Method is also one of the Runge-Kutta (RK) Methods family. In this article, Stages 4th Order Pseudo-Runge-Kutta Method, which is a type of Pseudo Runge-Kutta (PRK) Methods will be discussed. According to F.Constabile (99), Pseudo-Runge Kutta (PRK) Methods require fewer evaluations than Runge-Kutta (RK) Method of the same order. Fourth Order Runge-Kutta (RK4) Method will be used to solve Initial Value Problems (IVPs) in order to get the first term. Many real life problem phenomena in physics, engineering, biology, medicine, economics etc can be modelled by an Initial Value Problem (IVP) or Cauchy problem for Ordinary Differential Equations (ODEs ) of the type ( ) y y' t gt,y t,t t yt (.) where the function y(t) called the state variable represents some physical quantity that evolves over the time []. ODEs are usually solved using the step-sie methods that. The method that commonly been used to solve ODEs are RK Method, Euler Method and any other step-sie methods. RK Method is the most In mathematics, DDEs are differential equations in which the derivative of the unnown function at certain time is given in terms of the values of the function at previous times. DDEs differ from ODEs in that the derivatives at any time depend on the solution (and in the case of neutral equations on the derivatives) at prior times. The simplest constant delay equation has the form ( ( τ) ( τ) ( τ) ) ' y t f t,y t,y t,yt,,yt (.) where the time delay (lags) τ j are positive constant. More generally, state dependent delays may depends on the solution, that is ττ i i( t,yt ). In more general models, the derivative y (t) may depend on y and y itself at some past value-τ. In this case, Equation (.) changes into the form ' ' φ y t f t,y t,y t τ,y t τ, t t yt t, t t popular method that been used to solve ODEs. Corresponding Author: Nur Ain Ayunni Sabri, Department of Business and Finance, Faculty of Entrepreneurship and Business, Universiti Malaysia Kelantan (UMK), 6 Kota Bharu, Kelantan 8 (.3) where the function φ(t) is assumed to be at least continuous. Equation (.3) is called a Delay Differential Equation of neutral type (NDDE). The methods that used to solve DDEs in this paper are RK Method and one of the step-sie methods, which is Hermite Interpolation. For the recent years, there are many papers have been written regarding on solving DDEs [5-5]. In this

World Appl. Sci. J., (Special Issue of Applied Math): 8-86, 3 research, we solve DDEs using Naashima.s Stages 4th Order Pseudo-Runge-Kutta Method and we used this method incorporates with Hermite Interpolation. PSEUDO-RUNGE-KUTTA AND HERMITE INTERPOLATION Pseudo-Runge-Kutta formulae that we are considering is Naashima s Stages 4 th Order Pseudo- Runge-Kutta [3]: 7 5 yn+ yn + h + + 74 74 74 ( ) f x,y n n f x,y n n x +.7h,.56y +.56y n n n f +.833h +.3h (.) Interpolation is to obtain an approximation solution for a specific value of x, it is possible to shorten the final step, if necessary, to complete the step exactly at the right place. It is usually more convenient to rely on step sie control mechanism that is independent of output requirements and to produce require output results by interpolation as the opportunity arises. The use of interpolation maes it also possible to produce output at multiple and arbitrary points [4]. Hermite Interpolation is a method of interpolating data points as a polynomial function, in the field of numerical analysis. The generated Hermite Polynomial is closely related to the Newton Polynomial in that both are derived from the calculation of Divided Differences. Hermite Interpolation matches data points in both value and first derivative. This means that n derivatives values ( x,y ),,( x,y ) must be given in addition n n to n data points ( x,y ),,( x,y ). n n NAKASHIMA S STAGES 4TH ORDER PSEUDO-RUNGE-KUTTA METHOD INCORPORATE WITH HERMITE INTERPOLATION AND THE ALGORITHM y n y + + n ( 3 4) forj,,,,m 6 + + + (3.) where hf t,y n n h hf t n+,yn + h 3 hf t n +,yn + hf t + h,y + 4 n n 3. From the Classical RK4 Method which is Equation (3.), the equations becomes y y + + 6 + + + n n 3 4 ( ) f t,y,y t τ n n n h h h f t n +,yn +,y tn + τ h h h f t,y,y t 3 + + + τ n n n ( ) f t + h,y + h,yt + h τ 4 n n 3 n (3.) where y is the delay argument which depends on the question and τ given in the question. 3. From the first step, we will get the delay argument that is not fix point. Therefore, here we need do some approximation using Hermite Interpolation. The mesh point,,, n that we going to choose must: a) Depends on the delay argument that we want to approximate and the value of h. For each point that we choose, that point is multiple becomes two points. b) Contain all the argument in the interval of mesh points. 4. Next, substitute the value of mesh point that already choose to find new argument of From the meaning of pseudo and RK Method, PRK Method is the method that is not actually RK Method but having the appearance of RK Method. It has been proof that PRK Method is one of the family members of RK Method. Algorithm. Runge-Kutta Method use the formula t + t +h and 8 [ ] y ( ) [ ] y ( ) y f f f y f n 5. Then, using divided difference to find the approximation. The finite difference formula that need to find are: n

World Appl. Sci. J., (Special Issue of Applied Math): 8-86, 3 [ ] y ( ) f[ ] f [ ] f, f[ ] f,,f, y 3 f, n n f f, y n n n n n n n 6. Continue the calculation for, f,, f,, 3 f,, n n n f, f, f, f, 3 3 f, f, n n n n n n Next, Until f,,, 3 f,,, 3 4 f,,, n 3 n n n [ ] f,,,, n f,, f,, 3 3 f,, f,, 3 4 3 4 f,, f,, n n n n 3 n n n n 3 [ ] [ ] f,,, f,,,, n n n 7. Finally, substitute into Hermite Interpolation formulae. ( ) [ ] [ ]( n ) [ ]( n )( n ) [ 3]( n )( n )( n ) [ ] f t,y,y t τ n n n f + f, t τ + f,, t τ t τ + f,,, t τ t τ t τ + + f,,,, t τ t τ t τ t τ n n n n n n (3.3) h h h f t n +,yn +,y tn + τ h h h f[ ] + f [,] tn + τ + f,, [ ] tn + τ tn + τ h h h + f,,, [ 3] tn + τ tn + τ tn + τ + + h h h h + f,,, [,n] tn + τ tn + τ tn + τ tn + τ n h h h 3 f t n +,yn +,y tn + τ h h h f[ ] + f [,] tn + τ + f,, [ ] tn + τ tn + τ h h h + f,,, [ 3] tn + τ tn + τ tn + τ + + h h h h + f,,, [,n] tn + τ tn + τ tn + τ tn + τ n ( ) [ ] [ ]( n ) [ ]( n )( n ) f,,, [ 3]( tn h )( tn h )( tn h ) [ ] f t + h,y + h,yt + h τ 4 n n 3 n f + f, t + h τ + f,, t + h τ t + h τ + + τ + τ + τ + + + f,,,, t + h τ t + h τ t + h τ t + h τ n n n n n n (3.4) (3.5) (3.6) 8. Substitute all the value of,, 3 and 4 into equation 83

World Appl. Sci. J., (Special Issue of Applied Math): 8-86, 3 h y n y + + n ( 3 4) + + + to get y. 9. To calculate y, y 3,, we will use Naashima s Stages 4 th Order Pseudo-Runge-Kutta Method incorporate with Hermite Interpolation. From the formula of Naashima s Stages 4 th Order Pseudo-Runge-Kutta Method and Equation (.) becomes, 7 5 yn+ yn + h + + 74 74 74 (3.7) ( ( )) ( ) ( ) f t,y,yt τ n n n f t,y,y t τ n n n f t +.7h,.56y +.56y +.833h +.3h,y t +.7h τ n n n n. From this step, we will get the delay argument that is not fix point. Therefore, here we need do some approximation using Hermite Interpolation. The mesh point,,, n that we going to choose must : a) pends on the delay argument that we want to approximate and the value of h. For each point that we choose, that point is multiple becomes two points. b) Contain all the argument in the interval of mesh point. Repeat steps 4, 5 and 6 for calculations of finite difference.. Next, substitute the values that we get previously in Hermite Interpolation formula. ( ( )) [ ] [ ]( n ) [ ]( n )( n ) f,,, [ 3]( tn )( tn )( tn ) f,,,, [, ]( t )( t )( t ) ( t ) f t,y,yt τ n n n f + f, t τ + f,, t τ t τ + τ τ τ + + + τ τ τ τ 3 n n n n n n ( ) [ ] [ ]( n ) [ ]( n )( n ) f,,, [ 3]( tn )( tn )( tn ) [ ] f t,y,y t τ n n n f + f, t τ + f,, t τ t τ + τ τ τ + + + f,,,, 3,n tn τ tn τ tn τ tn τ n ( ) [ ] [ ]( n ) [ ]( n )( n ) f,,, [ 3]( tn.7h )( tn.7h )( tn.7h ) f,,,, [, ]( t.7h )( t + τ )( + τ ) ( + τ ) f t +.7h,.56y +.56y +.833h +.3h,y t +.7h τ n n n n f + f, t +.7h τ + f,, t +.7h τ t +.7h τ + + τ + τ + τ + + + + τ 3 n n n.7h t.7h t.7h n n n (3.8) (3.9) (3.). Finally, substitute all the values of, and into to find the next y. 7 5 yn+ yn + h + + 74 74 74 SOLVING DDE S USING NAKASHIMA S STAGES 4TH ORDER PSEUDO-RUNGE-KUTTA METHOD We have chosen a model in order to apply Naashima s Stages 4 th Order Pseudo-Runge-Kutta Methods. The model that we choose was Food Limited Model. We also mae a comparison with 4 th Order Runge-Kutta Method or also nown as Classical Runge-Kutta Method in order to see the accuracy between these two methods. 84

World Appl. Sci. J., (Special Issue of Applied Math): 8-86, 3 Table 4.: Results for application food limited model using RK4 method and Naashima s stages 4 th order Pseudo-Runge- Kutta method incorporate with Hermite interpolation Naashima s stages 4 th order t RK4 method Pseudo-Runge-Kutta method..5.5.5.485379688443358.485379688443358..46976675987.4695387583994.5.4595639757739.4595545567333538..4584739853478.488457358795.5.448639567355387.448638884793688 3..65698798553979.4465576434997583 3.5.44636588638993.4465355789 4..4474747396998.44748486389347 4.5.449496555755893.449538988363966 5..4589876567476.4598457558546 5.5.4569678858444.456553548596 6..463945495.46345798799595 6.5.4649854774744433.46539687659848 7..4699395375368987.47455557885 7.5.4757348795893.475767654575 8..4833698798746.484494439373 8.5.4855646437836.48573836844457497 9..49853847634847.499798986678464 9.5.495964864596935.49799863474969..54386874468.579469578535 Food limited model: Food-limited model is a model for population growth which is proposed by Smith in 963. This model is an alternative to the logistic equation for food-limited population dx K xt r( x ),t dt K + rcn t (4.) Here N, r and K are the mass of the population, the rate of increase with unlimited food and value of N at saturation respectively. The constant /c is the rate replacement of mass in the population at saturation (this includes both the replacement of metabolic loss and of dead organism) [6]. The delay Food-Limited is where ( τ) dx K x t rx( t) dt K+ rcx t τ r.5,k.,c and τ 8 for t [,] and x t e for t<. 85 h.5. The initial function.5t We see that the solution from both methods is almost same although have small error between both method, this shows that Naashima.s Stages 4th Order Pseudo-Runnge-Kutta Mehod also can be applied to real life problem of DDEs. By comparing both methods, we can see the validity of the new method in solving the real life problem of DDEs. We conclude that Naashima.s Stages 4th Order Pseudo-Runge- Kutta Method can be used to solve DDEs. We used to compare both methods because we want to find other method to solve real life problems of DDEs and we found that Naashima s Stages 4 th Order Pseudo-Runge-Kutta Method is one of the method that we can use to solve DDEs. CONCLUSIONS In this study, the method that been used to solve Delay Differential Equations (DDEs) is Naashima s Stages 4 th Order Pseudo-Runge-Kutta method incorporate with Hermite Interpolation. From numerical results, we have observed that PRK method perform a good result in solving DDEs of single delay because the answer is accurate as Runge- Kutta method. PRK method is accurate as RK method and it is also one step method. From here we can mae a conclusion that Naashima s Stages 4 th Order Pseudo-Runge-Kutta method is another method to solve DDEs problem. We also conclude that, the solution using Naashima s Stages 4 th Order Pseudo-Runge- Kutta method need less calculation than RK4 method. This is because, using Naashima s Stages 4 th Order Pseudo-Runge-Kutta method, we only need to calculate until, but using RK4 method we need to calculate until 4. Therefore, we note that Naashima s Stages 4 th Order Pseudo-Runge-Kutta method is also can be used to solve DDEs and this is another method to solve DDEs. REFERENCES. Sharma, J.N., 4. Numerical Methods for Engineers and Scientist. Deemed University: Alpha Science International Ltd. Pangbourne England.. Bellen, A. and M. Zennaro, 3. Numerical Methods for Delay Differential Equations. United States: Oxford Science Publications. 3. Masaharu Naashima, 98. On Pseudo-Runge- Kutta Methods with and 3 Stages. RIMS Publications, 8 (3): 895-99. 4. Butcher, J.C., 8. Numerical Methods for Ordinary Differential Equation. nd Edn. John Willey and Sons Ltd.

World Appl. Sci. J., (Special Issue of Applied Math): 8-86, 3 5. Al-Mutib, A.N., 984. One-Step Implicit Methods for Solving Delay Differential Equations. International Journal of Computer Mathematics, 6: 57-68. 6. Isha, F., M.B. Suleiman and Z. Omar, 8. Two-Point Predictor-Corrector Bloc Methods for Solving Delay Differential Equations. Matematia, 4 (): 3-4. 7. Lwin, A.S., 4. Solving Delay Differential Equations Using Explicit Runge-Kutta Methods. Master Thesis. Universiti Putra Malaysia. 8. Wong, W.S., Y. Zhang and S. Li, 9. Stability of Continuous Runge-Kutta Methods for Non Linear Neutral Delay Differential Equations. Applied Mathematical Modeling, 33: 339-339. 9. Ismail, F. and M. Suleiman,. Solving Delay Differential Equations Using Intervalwise Partitioning by Runge-Kutta Method. Applied Mathematics and Computation, : 37-53.. Ismail, F., R.A. Al-Khasawneh, S.L. Aung and M. Suleiman,. Numerical Treatment of Delay Differential Equations by Runge-Kutta Method using Hermite Interpolation. Matematia, 8 (): 79-9.. Huang, C., S. Li, H. Fu and G. Chen,. D-Convergence of General Linear Methods for Stiff Delay Differential Equations. Computers and Mathematics with Applications, 4: 67-639.. Verheyden, K., T. Luyanina and D. Roose, 8. Efficient Computation of Characteristic Roots of Delay Differential Equations Using Linear Multistep Method. Journal of Computational and Applied Mathematics, 4: 9-6. 3. Zhang, C. and G. Sun, 4. Nonlinear Stability of Runge-Kutta Methods Applied to Infinite Delay Differential Equations. Mathematical and Computer Modeling, 39: 495-53. 4. Hout, K.J., 996. On The Stability of Adaptations of Runge-Kutta Methods to System of Delay Differential Equations. Applied Numerical Mathematics, : 37-5. 5. Bartosewsi, Z. and Z. Jaciewic,. Stability Analysis of Two-Step Runge-Kutta Method for Delay Differential Equations. Computers and Mathematics with Application, 44: 83-93. 6. Arino, O., M.L. Hbid and E.A. Dads, 6. Delay Differential Equations and Applications. Berlin:Springer. pp: 477-57. 7. Hafshejani, M.S., S.K. Vanani and J.S. Hafshejani,. Numerical Solution of Delay Differential equations Using Legendre Wavelet Method. World Applied Sciences Journal, 3 (Special Issue of Applied Maths): 7-33. 86