You are currently viewing a new version of our website. To view the old version click .
Computer Sciences & Mathematics Forum
  • Proceeding Paper
  • Open Access

28 April 2023

Trigonometrically Fitted Improved Hybrid Method for Oscillatory Problems †

,
and
Department of Mathematical Sciences, Faculty of Natural Sciences, Ibrahim Badamasi Babangida University, Lapai 911101, Nigeria
*
Author to whom correspondence should be addressed.
Presented at the 1st International Online Conference on Mathematics and Applications, 1–15 May 2023; Available online: https://iocma2023.sciforum.net/.
This article belongs to the Proceedings The 1st International Online Conference on Mathematics and Applications

Abstract

Presented in this paper is a trigonometrically fitted scheme based on a class of improved hybrid method for the numerical integration of oscillatory problems. The trigonometric conditions are constructed through which a third algebraic order scheme is derived. Numerical properties of the scheme are analysed. A numerical experiment is conducted to validate the scheme. Results obtained reveal the superiority of the scheme over its equals in the literatur.e

1. Introduction

Our interest in this paper is in the solution of a special class of second-order ordinary differential equations (ODEs) whose solution exhibits oscillatory behaviors. In short, the equation together with its boundary conditions (initial value problem (IVP)) takes the following form:
y ( x ) = f x , y ( x ) , y ( x 0 ) = y 0 , y ( x 0 ) = y 0 .
It is a special case of second ODEs because the right-hand-side of the main equation is independent of the y component. Over the years, researchers’ interest in this particular problem (1) has grown. This is largely due to its applicability in a number of areas in applied sciences including engineering, celestial mechanics, orbital mechanics, chemical kinetics, astrophysics, chemistry, physics and elsewhere [1,2,3,4,5,6,7,8,9,10,11,12]. Unfortunately, as important as the problems are (1), only a few of them could be solved analytically, hence the need for numerical schemes.
Traditional numerical schemes such as the Runge–Kutta methods, Runge–Kutta–Nyström methods, linear multistep method, etc., for solving second-order ODEs could solve (1) only with little accuracy and efficiency due to the behaviours of the solution. Research has shown that an adapted form of the traditional schemes could solve (1) with reduced error and better efficiency [5].
Recently, refs. [11,12] introduced in the literature a new numerical scheme that proved to be more promising in tackling (1). The methods are developed to be implemented in constant coefficient fashion. The method could perform better if adapted to specifically handle (1). This is the main motivation of this paper.
The remaining part of the paper is organized as follows: in Section 2, the proposed scheme is derived; results of numerical experiment are presented in Section 3; discussion of the results is presented in Section 4; and finally, the conclusion is given in Section 5.

2. The Scheme

The general form of the improved hybrid method is
y n + 1 = 3 2 y n 1 2 y n 2 + h 2 i = 1 s b i f ( x n + c i h , Y i ) , Y i = 1 2 ( 2 + c i ) y n 1 2 c i y n 2 + h 2 i = j s a i , j f ( x n + c j h , Y j ) ,
where y n + 1 and y n 2 are approximations for y ( x n + 1 ) and y ( x n 2 ) , respectively. a i , j ,   b i and c i are coefficients of the method and they are real numbers. i = 1 , . . . , s and i > j , because the method is explicit. The coefficients can be summarized as follows (Table 1):
Table 1. General coefficients of the scheme.

2.1. Order Condition of the Scheme

Algebraic order condition of a method or scheme is a set of equations that causes the successive terms in the Taylor series expansion of local truncation error of the method to vanish. The order conditions of the scheme as derived and presented in [11,12] can be seen in the Table 2 below: Note: Conditions are in terms of the general coefficients in Table 1.
Table 2. Order Conditions.

2.2. Trigonometric Conditions

Suppose we apply the scheme (2) to solve problem (1) whose solution is a linear combination of x j exp ( α x ) , x j exp ( α x ) , exactly, where α is real or complex. However, here, we are interested in the complex value. Assume the solution is exp ( i α x ) , where i is imaginary. Then, the trigonometric conditions are obtained as follows:
cos z 3 2 + 1 2 cos 2 z + z 2 k = 1 s b k cos c k z = 0 , sin z 1 2 sin 2 z + z 2 k = 1 s b k sin c k z = 0 , cos c i z 1 1 2 c i + 1 2 c i cos 2 z + z 2 j = 1 i 1 a i j cos c j z = 0 , sin c i z 1 2 c i sin z + z 2 j = 1 i 1 a i j sin c j z = 0 .
where z = α h .

2.3. Derivation of the Proposed Scheme

The proposed scheme is based on the “Three-step third-order hybrid method” presented in [11]:
Obviously, s = 3 from Table 3. Now, substitute same in the trig. conditions while holding all the internal coefficients ( c i and a i j ) constant, we obtain
cos z = 3 2 1 2 cos 2 z z 2 b 1 cos 2 z + b 2 + b 3 cos 3 z , sin z = 1 2 sin 2 z z 2 b 1 sin 2 z b 3 sin 3 z .
That is a system of two equations in three unknown parameters, implying one degree of freedom. The one free parameter could be taken from Table 3 below, but we do not want any of the update stage coefficients to be constant. Hence, we choose one additional equation from Table 2 to augment the number of equations to be solved. The variable coefficients are obtained as follows:
b 1 = 3 4 sin 3 z z 2 + 12 sin z cos z 12 sin z z 2 9 sin 2 z 4 sin 3 z , b 2 = 1 4 N 1 z 2 9 sin 2 z 4 sin 3 z , b 3 = 1 4 3 sin 2 z z 2 + 16 sin z cos z 16 sin z z 2 9 sin 2 z 4 sin 3 z ,
where
N 1 = 3 sin 2 z cos 3 z z 2 + 3 cos 2 z z 2 sin 3 z + 36 sin z cos z cos 2 z 16 sin z cos z cos 3 z 36 sin z cos 2 z + 16 sin z cos 3 z 36 sin 2 z cos z + 16 cos z sin 3 z 18 cos 2 z sin 2 z + 8 cos 2 z sin 3 z + 54 sin 2 z 24 sin 3 z .
Table 3. Coefficients of ThHM3.
However, observe that as z 0 , there would be heavy cancellations. So, Taylor expansion of the coefficients would be used. The corresponding values after the expansion are:
b 1 = 3 8 + 39 z 4 320 2627 z 6 16128 + O z 8 , b 2 = 29 24 + 3 z 4 320 + 26309 z 6 725760 + O z 8 , b 3 = 1 12 13 z 4 240 + 2627 z 6 36288 + O z 8 .

2.4. Confirmation of Order of Convergence

The order of the scheme can be confirmed by substituting the coefficients back to algebraic order conditions to check the conditions that are recovered.
b i = 3 2 + 37 z 4 480 243 z 6 4480 + O z 8 b i c i = 1 2 13 z 4 160 + 2627 z 6 24192 + O z 8 b i c i 2 = 3 4 + O z 14 b i a i , j = 1 8 13 z 4 160 + 2627 z 6 24192 + O z 8 .
It can be seen that the order conditions are recovered as z approaches zero. Hence, by the order of convergence stated in [11], the scheme is of order three.

3. Numerical Results

In this section, the proposed scheme is validated by solving a few examples of problems with known exact solutions. The problems are:
Problem 1 ( Inhomogeneous Problem ) d 2 y ( x ) d x 2 = y ( x ) + x , y ( 0 ) = 1 , y ( 0 ) = 2 . Exact solution : y ( x ) = sin ( x ) + cos ( x ) + x .
Source: [1,11,12]. x ∈ [0, 100]
Problem 2 (Duffing Problem)
y + y + y 3 = F cos ( v x ) , y ( 0 ) = 0.200426728067 , y ( 0 ) = 0 . where F = 0.002 and v = 1.01 . Exact solution : y ( x ) = i = 0 4 υ 2 i + 1 cos [ ( 2 i + 1 ) v x ] , where υ 1 = 0.200179477536 , υ 3 = 0.246946143 × 10 3 , υ 5 = 0.304014 × 10 6 , υ 7 = 0.374 × 10 9 , and υ 9 < 10 12 α = 1 .
Source: [11,12]. x ∈ [0, 100]

4. Discussion

The proposed scheme is applied on two test problems alongside its base method. The problems are linear nonhomogeneous and nonlinear homogeneous, respectively. The methods maintained a remarkable level of accuracy in solving the problems. It is also obvious that as h approaches zero, the max. error decreases, which indicates convergence. That is to say, the fitted scheme converges faster, as its error decreases more than that of the base method, especially on Problem 2. See Table 4 and Table 5.
Table 4. Maximum Error for Problem 1.
Table 5. Maximum Error for Problem 2.

5. Conclusions

A fitted numerical scheme for numerical integration of oscillatory problems is proposed and derived. The scheme is validated using test problems whose analytical solutions are known. From the results obtained, it can be concluded that the fitted form of the improved hybrid method can be more promising in tackling oscillatory problems, especially nonlinear ones.

Author Contributions

Conceptualization, Y.D.J.; methodology/Derivation, Y.D.J. and A.I.M.; software, A.I.M.; validation, A.I.M. and Y.D.J.; formal analysis, Y.D.J.; investigation, Y.D.J.; writing—original draft preparation, Y.D.J.; writing—review and editing, I.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ThHMThe three-step two-stage improved hybrid method derived in [11]
TThHMThe proposed scheme presented in this paper

References

  1. Al-Khasawneh, R.A.; Ismail, F.; Suleiman, M. Embedded diagonally implicit Runge–Kutta–Nyström 4 (3) pair for solving special second-order IVPs. Appl. Math. Comput. 2007, 190, 1803–1814. [Google Scholar] [CrossRef]
  2. Alolyan, I.; Simos, T.E. A family of eight-step methods with vanished phase-lag and its derivatives for the numerical integration of the schrödinger equation. J. Math. Chem. 2011, 49, 711–764. [Google Scholar] [CrossRef]
  3. Bettis, D.G. A Runge-Kutta Nyström algorithm. Celest. Mech. 1973, 8, 229–233. [Google Scholar] [CrossRef]
  4. Fang, Y.; Wu, X. A New pair of explicit ARKN methods for the numerical integration of general perturbed oscillators. Appl. Numer. Math. 2007, 57, 166–175. [Google Scholar] [CrossRef]
  5. Van der Houwen, P.J.; Sommeijer, B.P. Explicit Runge-Kutta-Nyström methods with reduced phase errors for computing oscillating solutions. SIAM J. Numer. Anal. 1987, 24, 595–617. [Google Scholar] [CrossRef]
  6. Franco, J.M. Exponentially fitted explicit Runge–Kutta–Nyström methods. J. Comput. Appl. Math. 2004, 167, 1–19. [Google Scholar] [CrossRef]
  7. Van de Vyver, H. A 5(3) pair of explicit Runge–Kutta–Nyström methods for oscillatory problems. Math. Comput. Model. 2007, 45, 708–716. [Google Scholar] [CrossRef]
  8. 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]
  9. Simos, T.E. Exponentially-fitted 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]
  10. Kalogiratou, Z.; Simos, T.E. Construction of trigonometrically and exponentially fitted Runge–Kutta–Nyström methods for the numerical solution of the schrödinger equation and related problems–a method of 8th algebraic order. J. Math. Chem. 2002, 31, 211–232. [Google Scholar] [CrossRef]
  11. Yahaya, B.A.; Yusuf, D.J.; Aliyu, I.M.; Abdulkadir, A.; Ismail, M.; Amina, M.T. Two-stage improved hybrid methods for integrating special second ordinary differential equations directly. Caliphate J. Sci. Technol. (CaJoST) 2020, 2, 120–124. [Google Scholar]
  12. Yusuf, D.J.; Musa, I.; Badeggi, A.Y.; Ma’ali, A.I.; Tako, A.M. Order conditions of a class of three-step hybrid methods for y=f(x;y). Int. J. Math. Sci. Optim. Theory Appl. 2022, 7, 148–160. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.