Abstract
A 5(4) pair of embedded explicit trigonometrically-fitted Runge–Kutta–Nyström (EETFRKN) methods especially designed for the numerical integration of second order initial value problems with oscillatory solutions is presented in this paper. Algebraic order analysis and the interval of absolute stability for the new method are also discussed. The new method is capable of integrating the test equation . The new method is much more efficient than the other existing Runge–Kutta and Runge–Kutta–Nyström methods.
1. Introduction
In this study, our focus is on the numerical solution of the initial value problems (IVPs) of second-order differential equations; whose first derivative does not appear explicitly of the form :
whose solutions have a noticeable oscillatory character, where and are sufficiently differentiable. Such problems frequently occur in several areas of applied sciences such as: theoretical physics, celestial mechanics, nuclear chemistry, nuclear physics, electronics, molecular dynamics and elsewhere. Many numerical methods have been developed for the numerical integration of Equation (1), among them are Runge–Kutta–Nyström (RKN) methods. Exponentially/trigonometrically-fitted RKN methods have been studied by Simos in [1],Van de Vyver in [2], Kalogiratou and Simos in [3] and Shiwei Liu et al. in [4]. Franco in [5] proposed a 5(3) pair of explicit adapted Runge–Kutta–Nyström methods for the numerical integration of perturbed oscillators, Van de Vyver in [6,7] proposed a Runge–Kutta–Nyström pair for the numerical integration of perturbed oscillators, a 5(3) pair of explicit RKN methods for oscillatory problems. Senu et al. in [8] proposed an embedded explicit RKN method for solving oscillatory problems. Recently, Tsitouras in [9] proposed fitted modifications of RKN pairs, Franco et al. in [10] proposed two new embedded pair of explicit Runge-Kutta methods adapted to the numerical solution of oscillatory problems, and Anastassi and Kosti in [11] proposed a 6(4) optimized embedded Runge–Kutta–Nyström pair for the numerical solution of periodic problems.
In this paper, we develop a new efficient embedded explicit trigonometrically-fitted RKN method based on the technique proposed by Simos in [12] for Runge–Kutta (RK) methods. The constructed method can exactly integrate the test equation and the numerical results show the efficacy of the new method. The remaining part of this paper is arranged as follows: in Section 2, we give the basic theory of an explicit Runge–Kutta–Nyström pair, the basic definition of trigonometrically-fitted RKN method and the derivation of an explicit trigonometrically-fitted RKN method. Section 3 deals with the derivation of the proposed method. In Section 4, we analyze the algebraic order of the new pair from their local truncation errors and give the interval of absolute stability of the new pair. In Section 5, we present the numerical results. In Section 6, we give a brief discussion about the graphs and the last section deals with the conclusions.
2. Basic Theory
The general form of an explicit k-stage RKN method is given by:
where and represent the approximation of and , respectively, where or in Butcher Tableau as :
where A is a matrix , ,
An embedded pair of RKN methods is based on the method of order p and the other RKN method () of order q(). The higher order produces the solution (, ), while the lower order method produces the solution and , which is used for the estimation of local truncation error only. An embedded pair is characterized by the Butcher tableau below:
In this work, a variable step size algorithm using the embedded technique is used because it provides cheap local error estimation. Local error estimation at the point is determined by and
Let represent local error estimation to control the step size h. For the numerical integration of the oscillatory problems, we use the step-size control procedure given by Shiwei in [4]:
- if ,
- if
- if and repeat the step,
Definition 1.
Runge–Kutta–Nyström method (2)–(4) is said to be trigonometrically-fitted if it integrates exactly the function and or equivalently and with the principal frequency of the problem when applied to the test equation ; Leading to a system of equations as derived below:
When an explicit Runge–Kutta–Nyström method (2)–(4) is applied to the test equation , the method becomes:
where
Let . By computing the value of , and and substituting in the Equations (5)–(8) and by using and comparing the real and imaginary part, we obtain the following system of equations:
where
3. Derivation of the Proposed Method
In this section, we will construct a new efficient embedded explicit trigonometrically-fitted RKN method.
In this study, Embedded Runge–Kutta–Nyström 5(4)M pair (ERKN5(4)M) is used as given by Senu in [13]. The coefficients of the method are given in Table 1.
Table 1.
The Embedded Runge–Kutta–Nyström 5(4)M (ERKN5(4)M) Method in [13].
Solving the above system of Equations (9)–(12) using the coefficients of the lower order method (order 4) for , we obtain the solution as given in Equation (13).
The corresponding Taylor series expansion of the solution is given in Equation (14):
As the coefficients , , and of the lower order method reduces to the coefficients of the original method (lower order ). That is to say, , , and are identical to , , and of the lower order method in ERKN5(4)M.
In a similar way, solving the above system of Equations (9)–(12) using the coefficients of the higher order method (order 5) for , we obtain the solution as given in Equation (15):
The corresponding Taylor series expansion of the solution is given in Equation (16):
As the coefficients , , and of the higher order method reduces to the coefficients of the original method (higher order ). That is to say, , , and are identical to and of the higher order method in ERKN5(4)M.
The above two solutions found resulted in the new Embedded explicit trigonometrically-fitted Runge–Kutta–Nyström 5(4) pair (EETFRKN5(4)).
4. Algebraic Order and Error Analysis
In this section, we will find the local truncation error of the new methods and verify their algebraic order. We first find the Taylor series expansion of the actual solution , the first derivative of the actual solution , the approximate solution , and the first derivative of the approximate solution . The local truncation error (LTE) of y and its first derivative is given as:
The and of the lower order method (order 4) are:
From Equation , we can see that the algebraic order of the lower order method is 4 because all of the coefficients up to vanished. Similarly, the and of the higher order method (order 5) are :
From Equation , the higher order method has order 5 because all of the coeffients up to vanished.
Absolute Stability Analysis of the New Embedded Pair
The linear stability of the RKN method (2)–(4) is derived by applying it to the test equation . Setting , the numerical solution satisfies the following:
where , , , , , , , , . It is assumed that has complex conjugate eigenvalues for sufficiently small values of v [14]. With this assumption, a periodic numerical solution is obtained whose characteristic depends on the eigenvalues of , which is called the stability matrix and its characteristic equation can be written as
Definition 2.
An interval of the RKN method (2)–(4) is said to be absolutely stable if for all , , where are the roots of .
Hence, we obtain the approximate interval of absolute stability of the higher order method (order 5) of our new embedded pair as and the lower order method (order 4) has no interval of absolute stability.
5. Numerical Results
In order to show the efficiency of the new method, we use the following RK and RKN pairs for the numerical comparison:
- EETFRKN5(4)M: The new embedded explicit trigonometrically-fitted Runge–Kutta–Nyström pair (EETFRKN5(4)) derived in this paper,
- ERKN6(4)6ER: A 6(4) optimized embedded Runge–Kutta–Nyström pair derived by Anastassi and Kosti in [11],
- ERKN4(3): The embedded Runge–Kutta–Nyström method obtained by Van de Vyver in [6],
- ARKN5(3)S: A 5(3) pair of explicit adapted Runge–Kutta–Nyström method derived by Franco in [5],
- DOP5(4): A 5(4) Dormand and Prince embedded Runge–Kutta method given by Butcher in [15],
Problem 1.
(Almost Periodic Orbit Problem) Senu et al. in [8]
The exact solution is
Problem 2.
(Nonlinear System) Fang et al. in [16]
The exact solution is
Problem 3.
(Nonhomogeneous System) Senu et al. in [8]
The exact solution is
where , are parameters and .
Problem 4.
(Almost Periodic Problem) Van de Vyver in [6]
The exact solution is
where , and .
Table 2.
Numerical results for Problem 1.
Table 3.
Numerical results for Problem 2.
Table 4.
Numerical results for Problem 3.
Table 5.
Numerical results for Problem 4.
We further display the performance of these methods graphically in Figure 1, Figure 2, Figure 3 and Figure 4. The tolerances used for Problem 1 are: Tol = and that of Problems 2–4 are: Tol = , .
Figure 1.
Efficiency curves for Problem 1.
Figure 2.
Efficiency curves for Problem 2.
Figure 3.
Efficiency curves for Problem 3.
Figure 4.
Efficiency curves for Problem 4.
6. Discussion
For all of the problems tested and from Figure 1, Figure 2, Figure 3 and Figure 4, we can deduce that our new method has a lower number of function evaluations per step, which signifies that our new method has less computational costs than the other existing methods, and is therefore more suitable for solving second order ordinary differential equations with oscillatory solutions than the other existing methods in the literature.
7. Conclusions
In this study, we have derived a new efficient 5(4) embedded pair of explicit trigonometrically-fitted Runge–Kutta–Nyström methods for the solution of oscillatory initial value problems. The numerical results obtained indicate that the function evaluations per step of the new method are less when compared with the other existing embedded pairs. Hence, the new method has less computational costs than the other existing methods, and, therefore, the efficiency of the new method is higher than the other existing methods.
Acknowledgments
The authors are very grateful to the reviewers of this manuscript for their constructive comments and the Institute of Mathematical Research (INSPEM), Department of Mathematics, Universiti Putra Malaysia for the support and assistance given during the research work.
Author Contributions
M.A.D. and N.S. conceived and designed the experiments; M.A.D. performed the experiments; M.A.D. and N.S. analyzed the data; F.I. Supervised; M.A.D. wrote the paper.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Simos, T.E. Exponentially fitted modified Runge–Kutta–Nyström method for the numerical solution of initial-value problems with oscillating solutions. Appl. Math. Lett. 2002, 15, 217–225. [Google Scholar] [CrossRef]
- Van de Vyver, H. An embedded exponentially-fitted Runge–Kutta–Nyström method for the numerical solution of orbital problems. New Astron. 2006, 11, 577–587. [Google Scholar] [CrossRef]
- Kalogiratou, Z.; Simos, T.E. Construction of trigonometrically-fitted and exponentially-fitted Runge–Kutta–Nyström methods for the numerical solution of schrödinger equation and related problems-a method of 8th algebraic order. J. Math. Chem. 2002, 31, 211–232. [Google Scholar] [CrossRef]
- Liu, S.; Zheng, J.; Fang, Y. A new modified embedded 5(4) pair of explicit Runge-Kutta methods for the numerical solution of schrödinger equation. J. Math. Chem. 2002, 15, 217–225. [Google Scholar] [CrossRef]
- Franco, J. A 5(3) pair of explicit ARKN methods for the numerical integration of pertubed oscillators. J. Comput. Appl. Math. 2003, 161, 283–293. [Google Scholar] [CrossRef]
- Vande Vyver, H. A Runge–Kutta–Nyström pair for the numerical integration of pertubed oscillators. Comput. Phys. Commun. 2002, 15, 217–225. [Google Scholar]
- Vande Vyver, H. A 5(3) pair of explicit Runge–Kutta–Nyström methods for oscillatory problems. Comput. Phys. Commun. 2002, 15, 217–225. [Google Scholar] [CrossRef]
- Senu, N.; Suleiman, M.; Ismail, F. An embedded explicit Runge–Kutta–Nyström method for solving oscillatory problems. Phys. Scr. 2009, 80, 015005. [Google Scholar] [CrossRef]
- Tsitouras, C. On fitted modifications of Runge–Kutta–Nyström pairs. Appl. Math. Comput. 2014, 232, 416–423. [Google Scholar] [CrossRef]
- Franco, J.; Khiar, Y.; Randez, L. Two new embedded pairs of explicit Runge-Kutta methods adapted to the numerical solution of oscillatory problems. Appl. Math. Comput. 2014, 232, 416–423. [Google Scholar] [CrossRef]
- Anastassi, Z.; Kosti, A. A 6(4) optimized embedded Runge-Kutta Nyström pair for the numerical solution of periodic problems. J. Comput. Appl. Math. 2015, 275, 311–320. [Google Scholar] [CrossRef]
- Simos, T.E. An exponentially-fitted Runge-Kutta method for the numerical solution of initial-value problem with periodic or oscillating solutions. Comput. Phys. Commun. 1998, 115, 1–8. [Google Scholar] [CrossRef]
- Senu, N. Runge-Kutta Nyström Methods for Solving Oscillatory Problems. Ph.D. Thesis, Department of Mathematics, Faculty of Science, Serdang, Malaysia, 25th April 2009. [Google Scholar]
- Van der Houwen, P.; Sommeijer, B. Diagonaly implicit Runge-Kutta Nyström methods for oscillatory problems. SIAM J. Numer. Anal. 1989, 26, 414–429. [Google Scholar] [CrossRef]
- Butcher, J.C. Numerical Methods for Ordinary Differential Equations; Wiley & Sons LTD.: England, UK, 2008. [Google Scholar]
- Fang, Y.; You, X.; Ming, Q. Trigonometrically-fitted two derivative Runge-Kutta methods for solving oscillatory differential equations. Numer. Algorithms 2014, 65, 651–667. [Google Scholar] [CrossRef]
© 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC-BY) license (http://creativecommons.org/licenses/by/4.0/).