Research Article | Open Access

# Solving Oscillatory Delay Differential Equations Using Block Hybrid Methods

**Academic Editor:**Muhammad Ozair

#### Abstract

A set of order condition for block explicit hybrid method up to order five is presented and, based on the order conditions, two-point block explicit hybrid method of order five for the approximation of special second order delay differential equations is derived. The method is then trigonometrically fitted and used to integrate second-order delay differential equations with oscillatory solutions. The efficiency curves based on the log of maximum errors versus the CPU time taken to do the integration are plotted, which clearly demonstrated the superiority of the trigonometrically fitted block hybrid method.

#### 1. Introduction

Differential equations with a time delay are used to model the process which does not only depend on the current state of a system but also the past states. This type of equation is called delay differential equations (DDEs) in which the derivative at any time depends on the solution at prior times. The special second order DDE can be written in the form ofwhere is the delay term and the first derivative does not appear explicitly. It is a more realistic model which includes some of the past history of the system to determine the future behavior. DDEs have become an important criteria to investigate the complexities of the real-world problems concerning infectious diseases, biotic population, neuronal networks, and population dynamics.

Methods such as Runge-Kutta (RK), Runge-Kutta Nyström (RKN), hybrid, and multistep are widely used for solving DDEs. Ismail et al. [1] used RK method and Hermite interpolation to solve first-order DDEs. Taiwo and Odetunde [2] worked on decomposition method as an integrator for delay differential equations. Some authors also derived block linear multistep method (LMM) to solve DDEs; and such work can be seen in [3–6]. Hoo et al. [7] constructed Adams-Moulton Method for directly solving second-order DDEs. Mechee et al. [8] in their paper has adapted RKN for directly solving second-order DDEs.

However, all the studies previously mentioned have not been applied for solving DDE problems with oscillatory properties. Hence, in this paper we derived order condition for block explicit hybrid method up to order five using computer algebra system as proposed in Gander and Gruntz [9]. The reason to derive block hybrid method is that a faster numerical solutions can be obtained since the method approximates the solution at more than one point per step. From the order conditions we constructed a two-point three-stage fifth-order block explicit hybrid method which is then trigonometrically fitted so that it is suitable for solving second-order DDEs which are oscillatory in nature. Finally, we tested the new methods using DDEs test problems to indicate that it is superior and more efficient for solving oscillatory second order DDEs.

#### 2. Derivation of Order Condition for Block Explicit Hybrid Method

The general formula of two-step explicit hybrid method for solving the special second-order ordinary differential equations is given aswhere , and . The method coefficients of , , and can be represented in Butcher tableau as follows:where , , and .

In this section, we derived the order condition for block explicit hybrid method (BEHM). The Taylor series expansion for and is as follows:where is step sizes and is the number of step forward. Adding (5) and (6), we obtainorwhich can be expressed asThe increment function isThen, consider the general formula for block explicit hybrid method in the form ofEquation (11) can be simplified assuch that the Taylor series increment may be written aswhere the first few elementary differential are , , .

The local truncation errors of the solution is obtain by subtracting (12) from (9). This gives usTherefore, from (14), we obtain the order condition for block explicit hybrid method up to order 5 as follows:For the first point (, the order condition is the same as the order conditions for explicit hybrid method given in Coleman [10], while, for the second point (, the order conditions are given as follows: The general formula for block explicit hybrid method (BEHM) for can be written as

#### 3. Construction of Trigonometrically Fitted Block Explicit Hybrid Method

In order to derive the two-point BEHM, we used the algebraic coefficients of the original three-stage explicit hybrid method in Franco [11] as the first point (). The block method can be written as follows:First and second point of the BEHM share the same values of and . By solving (16)-(19) simultaneously, we obtain a unique solution of By checking the fifth-order conditions for the first point, we noticed that the method at the first point ( satisfies , , .

Hence, the method in Franco [11] is order five.

And by checking fifth-order conditions for the second point, we noticed that the method at the second point satisfies Hence, the block explicit hybrid method that we have derived is three-stage and order five, denoted as BEHM3.

To trigonometrically fit the method, we require (23), (24), and (25) to integrate exactly the linear combination of the functions for . Hence, the following equations are obtained:where , is step size, and is the fitted frequency of the problem ( depends on the problems).

By solving (29), (30) with , , and , we obtain the remaining values in terms of as follows:To find values, we solve (31), (32) with choice of coefficients , , and , we obtained the following:Then, for the values, we solve (33), (34) with choice of coefficients and letting and , we obtained in terms of asHence, we denote the new method as three-stage fifth-order trigonometrically fitted block explicit hybrid method (TF-BEHM3). The method is shown as follows:The coefficients can be written in Taylor expansion, to avoid heavy cancellation in the implementation of the method.

#### 4. Problems Tested and Numerical Results

In this section, the new methods, BEHM3 and TF-BEHM3, are used to solve oscillatory delay differential equations problems. The delay terms are evaluated using Newton divided different interpolation. A measure of the accuracy is examined using absolute error which is defined by where is the exact solution and is the computed solution.

The test problems are listed as follows.

*Problem 1 (source: Schmidt [12]). *

*Problem 2 (source: Schmidt [12]). *

*Problem 3 (source: Ladas and Stavroulakis [13]). *

*Problem 4 (source: Bhagat Singh[14]). *

The following notations are used in Figures 1–4: **TF-BEHM3(****5)**: A three-stage fifth-order trigonometrically fitted block explicit hybrid method derived in this paper. **BEHM3(****5)**: A three-stage fifth-order new block explicit hybrid method derived in this paper. **SIHM4(****5)**: A four-stage fifth-order semi-implicit hybrid method in Ahmad et al.[15] **MPAFRKN4(****4)**: A modified phase-fitted and amplification-fitted RKN method of four-stage fourth-order by Papadopoulos et al. [16]. **PFRKN4(****4)**: A phase-fitted RKN method of four-stage fourth-order by Papadopoulos et al. [17]. **DIRKN4(****4)**: A four-stage fourth-order diagonally implicit RKN method by Senu et al. [18]. **EHM4(****5)**: A four-stage fifth-order phase-fitted hybrid method by Franco [11].

#### 5. Discussion and Conclusion

Figures 1–4 show the efficiency curves: the logarithm of the maximum global error versus the CPU time taken in second. From our observation, for all the problems TF-BEHM3 required lesser time to do the computation. In Problems 1, 3, and 4, TF-BEHM3 has better accuracy compared to all the methods in comparison. However, for Problem 2, efficiency of TF-BEHM3 is comparable to EHM4 and has better performance compared to the other methods. For Problems 2, 3, and 4 too BEHM3 is comparable to the other existing methods in comparison.

The existing methods, MPAFRKN4 and PFRKN4, were derived using specific fitting techniques. SIHM4, EHM4, and DIRKN4 were derived with higher order of dispersion and dissipation and all the methods purposely derived for solving oscillatory problems.

In this paper, we derived the order conditions of the block hybrid method up to order five, based on the order conditions we derived a two-point three-stage fifth-order block explicit hybrid method (BEHM3) and then the method is trigonometrically fitted. Both the fitted and nonfitted methods evaluate the solution of the problem at two points for each time step; hence lesser time is needed to do the computation, making them faster and cheaper compared to the other methods. From the numerical results we can conclude that BEHM3 is a good method for directly solving second-order DDEs; however, trigonometrically fitting the block method does improve the efficiency of the method tremendously. It can be said that TF-BEHM3 is a promising tool for solving special second-order DDEs with oscillatory solutions.

#### Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

The authors would like to acknowledge Universiti Putra Malaysia for funding the research through Putra Research Grant vote number 9543500.

#### References

- F. Ismail, R. A. Al-Khasawneh, A. S. Lwin, and M. Suleiman, “Numerical Treatment of Delay Differential Equations By Runge-Kutta Method Using Hermite Interpolation,”
*Matematika*, vol. 18, no. 2, pp. 79–90, 2002. View at: Google Scholar - O. A. Taiwo and O. S. Odetunde, “On the numerical approximation of delay differential equations by a decomposition method,”
*Asian Journal of Mathematics & Statistics*, vol. 3, no. 4, pp. 237–243, 2010. View at: Publisher Site | Google Scholar | MathSciNet - F. Ishak, M. B. Suleiman, and Z. Omar, “Two-point predictorcorrectorblock method for solving delay differential equations,”
*Matematika*, vol. 24, no. 2, pp. 131–140, 2008. View at: Google Scholar - H. C. San, Z. A. Majid, and M. Othman, “Solving delay differential equations using coupled block method,” in
*Proceedings of the 4th International Conference on Modeling, Simulation and Applied Optimization (ICMSAO '11)*, pp. 1–4, Kuala Lumpur, Malaysia, April 2011. View at: Publisher Site | Google Scholar - H. M. Radzi, Z. A. Majid, F. Ismail, and M. Suleiman, “Two and three point one-step block methods for solving delay differential equations,”
*Journal of Quality Measurement and Analysis*, vol. 82, no. 1, pp. 29–41, 1823. View at: Google Scholar - L. K. Yap and F. Ismail, “Block Hybrid-like Method for Solving Delay Differential Equations,” in
*Proceedings of the AIP Conference Proceeding of International Conference on Mathematics, Engineering Industrial Applications (IComedia*, vol. 1660, pp. 28–30, 2014. View at: Google Scholar - Hoo Yann Seong, Zanariah Abdul Majid, and Fudziah Ismail, “Solving Second-Order Delay Differential Equations by Direct Adams-Moulton Method,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 261240, 7 pages, 2013. View at: Publisher Site | Google Scholar | MathSciNet - M. Mechee, F. Ismail, N. Senu, and Z. Siri, “Directly Solving Special Second Order Delay Differential Equations Using Runge-Kutta-Nyström Method,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 830317, 7 pages, 2013. View at: Publisher Site | Google Scholar | MathSciNet - W. Gander and D. Gruntz, “Derivation of numerical methods using computer algebra,”
*SIAM Review*, vol. 41, no. 3, pp. 577–593, 1999. View at: Publisher Site | Google Scholar | MathSciNet - J. P. Coleman, “Order conditions for a class of two-step methods for ,”
*IMA Journal of Numerical Analysis (IMAJNA)*, vol. 23, no. 2, pp. 197–220, 2003. View at: Publisher Site | Google Scholar | MathSciNet - J. M. Franco, “A class of explicit two-step hybrid methods for second-order IVPs,”
*Journal of Computational and Applied Mathematics*, vol. 187, no. 1, pp. 41–57, 2006. View at: Publisher Site | Google Scholar | MathSciNet - K. Schmitt, “Comparison theorems for second order delay differential equations,”
*Rocky Mountain Journal of Mathematics*, vol. 1, no. 3, pp. 459–467, 1971. View at: Publisher Site | Google Scholar | MathSciNet - G. Ladas and I. P. Stavroulakis, “On delay differential inequalities of first order,”
*Fako de l'Funkcialaj Ekvacioj Japana Matematika Societo. Funkcialaj Ekvaciog. Serio Internacia*, vol. 25, no. 1, pp. 105–113, 1982. View at: Google Scholar | MathSciNet - B. Singh, “Asymptotic nature on non-oscillatory solutions of
*n*th order retarded differential equations,”*SIAM Journal on Mathematical Analysis*, vol. 6, no. 5, pp. 784–795, 1975. View at: Publisher Site | Google Scholar | MathSciNet - S. Z. Ahmad, F. Ismail, N. Senu, and M. Suleiman, “Semi Implicit Hybrid Methods with Higher Order Dispersion for Solving Oscillatory Problems,”
*Abstract and Applied Analysis*, vol. 2013, Article ID 136961, 10 pages, 2013. View at: Publisher Site | Google Scholar | MathSciNet - D. F. Papadopoulos, Z. A. Anastassi, and T. E. Simos, “A modified phase-fitted and amplification-fitted Runge-Kutta-Nyström method for the numerical solution of the radial Schrödinger equation,”
*Journal of Molecular Modeling*, vol. 16, no. 8, pp. 1339–1346, 2010. View at: Publisher Site | Google Scholar - D. F. Papadopoulos, Z. A. Anastassi, and T. E. Simos, “A phase-fitted Runge-Kutta Nyström method for the numerical solution of initial value problems with oscillating solutions,”
*Computer Physics Communications*, vol. 180, no. 10, pp. 1839–1846, 2009. View at: Publisher Site | Google Scholar | MathSciNet - N. Senu, M. Suleiman, F. Ismail, and M. Othman, “A Singly Diagonally Implicit Runge-Kutta Nyström Method for Solving Oscillatory Problems,”
*IAENG International Journal of Applied Mathematics*, vol. 41, no. 2, pp. 155–161, 2011. View at: Google Scholar | MathSciNet

#### Copyright

Copyright © 2018 Sufia Zulfa Ahmad et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.