Next Article in Journal
A New Set of 3D Shifted Fractional-Order Gegenbauer Descriptors for Volumetric Image Representation
Previous Article in Journal
Application of the ADMM Algorithm for a High-Dimensional Partially Linear Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Parameter Exponentially Fitted Taylor Method for Oscillatory/Periodic Problems

by
Ashiribo Senapon Wusu
1,†,
Olusola Aanu Olabanjo
2,*,† and
Manuel Mazzara
3,†
1
Department of Mathematics, Lagos State University, Lagos 102101, Nigeria
2
Department of Mathematics, Morgan State University, Baltimore, MD 21251, USA
3
Institute of Software Development and Engineering, Innopolis University, 420500 Innopolis, Russia
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2022, 10(24), 4768; https://doi.org/10.3390/math10244768
Submission received: 31 October 2022 / Revised: 7 December 2022 / Accepted: 13 December 2022 / Published: 15 December 2022

Abstract

:
This work presents the construction and implementation of a two-parameter exponentially fitted Taylor method suitable for solving ordinary differential equations that possess oscillatory or periodic behaviour. The methodology is based on a six-step algorithm discussed in the literature. We present the associated truncation error of the method and demonstrate its accuracy using two test cases. The method gave better results compared with its counterparts discussed in the literature.
MSC:
65L05; 65L06; 65L20

1. Introduction

One important and interesting class of initial value problems that often arise in practice consists of ordinary differential equations (ODEs), whose solutions are periodic or oscillate with known frequencies. Usually, classical numerical methods produce less accurate results when applied to such problems but they can be adapted to efficiently give better accuracy [1,2,3]. This adaptation is the core of the exponential fitting technique [3,4,5,6,7]. The adapted classical method is modified such that it is exact for the problem whose solution is a linear combination of
1 , t , , t K , exp ( ± ω t ) , t exp ( ± ω t ) , , t P exp ( ± ω t ) ,
where K and P are integers. The adaptation of several classical methods for problems with the fitting space (1) has gained popularity in recent times [5,7,8,9,10,11,12,13]. However, very little has been performed in the construction of exponentially fitted methods for fitting space with multiple frequencies [3,6,14]. Authors in Refs. [15,16,17] constructed a Runge–Kutta-type method for the fitting space
1 , t , , t K , exp ( ± ω t ) , exp ( ± 2 ω t ) , , exp ( ± ( P + 1 ) ω t ) .
In Ref. [6], a multiparameter exponentially fitted Numerov method for the space
1 , t , , t K , exp ( ± ω 0 t ) , exp ( ± ω 1 t ) , , exp ( ± ω p t ) ,
for solving periodic problems with more than one frequency was proposed. This work is related to Refs. [6,12,18] and shall provide extension by the construction of a two-parameter exponentially fitted Taylor method for the fitting space
1 , t , , t K , exp ( ± ω i t ) , t exp ( ± ω i t ) , , t P i exp ( ± ω i t ) , i = 1 , 2 .
This work is justified by the fact that there are many problems whose solution lies within the fitting space (4).

2. Construction of Method

The general r-th-order Taylor scheme is given as
u j + 1 = u j + h u j + 1 2 h 2 u j + + 1 r ! h r u j ( r ) .
We set r = 4 in (5) to obtain the classical fourth-order Taylor method (6)
u j + 1 = u j + h u j + 1 2 h 2 u j + + 1 4 ! h 4 u j ( 4 ) ,
to be fitted exponentially in this work. Following the six-step algorithm proposed in Ref. [3], the base method (6) is first written in a more general form as
u j + 1 = α 0 u j + β 1 h u j + β 2 h 2 u j + β 3 h 3 u j ( 3 ) + β 4 h 4 u j ( 4 ) ,
and the associated linear difference operator L [ h , a ] is given as
L [ h , a ] u ( t ) = u ( t + h ) α 0 u ( t ) β 1 h u ( t ) β 2 h 2 u ( t ) β 3 h 3 u ( 3 ) ( t ) β 4 h 4 u ( 4 ) ( t ) ,
where a : = ( α 0 , β 1 , β 2 , β 3 , β 4 ) . Next, we determine the maximum value of M that makes the system
L m * ( a ) = h m L [ h , a ] t m | t = 0 = 0 | m = 0 , 1 , 2 , M 1
compatible. The system obtained from (8) is given as
L 0 * ( a ) = 1 α 0 = 0 ,
L 1 * ( a ) = 1 β 1 = 0 ,
L 2 * ( a ) = 1 2 β 2 = 0 ,
L 3 * ( a ) = 1 6 β 3 = 0 ,
L 4 * ( a ) = 1 24 β 4 = 0 ,
and is compatible with M = 5 . Solving (9) yields the coefficient of the well-known classical fourth-order Taylor method here referred to as S0. In order to fit (6) exponentially, a six-step algorithm requires that we obtain the expressions for G + ( Z i , a ) and G ( Z i , a ) , defined, respectively, as
G + ( Z i , a ) = 1 2 E 0 * ( z i , a ) + E 0 * ( z i , a ) ,
G ( Z i , a ) = 1 2 z i E 0 * ( z i , a ) E 0 * ( z i , a ) ,
where
E 0 * ( ± z i , a ) = e ω i t L [ h , a ] e ± ω i t
and
Z i = z i 2 , z i = ω h i = ω i h , i = 1 , 2 .
Now, the respective expressions for G + ( Z i , a ) and G ( Z i , a ) are obtained as
G + ( Z i , a ) = α 0 β 4 ω h i 4 β 2 ω h i 2 + cosh ω h i G ( Z i , a ) = β 1 β 3 ω h i 2 + sinh ω h i ω h i ,
where ω i , the frequencies of oscillation, are real or imaginary. Considering the general fitting space (4) with M = 5 , the algorithm gave rise to a two-parameter exponentially fitted variant of (6) referred to as EF2PT and characterized by:
E F 2 P T : ( K , P 1 , P 2 ) = ( 0 , 0 , 0 ) :
The two-parameter exponentially fitted case with the set
1 , exp ( ± ω 1 t ) , exp ( ± ω 2 t ) .
By solving the nonlinear algebraic system (16), the coefficients of the two-parameter exponentially fitted variant are given in (17)
1 α 0 = 0 α 0 β 4 ω h 1 4 β 2 ω h 1 2 + cosh ω h 1 = 0 β 1 β 3 ω h 1 2 + sinh ω h 1 ω h 1 = 0 α 0 β 4 ω h 2 4 β 2 ω h 2 2 + cosh ω h 2 = 0 β 1 β 3 ω h 2 2 + sinh ω h 2 ω h 2 = 0
α 0 = 1 β 1 = Z 1 3 / 2 sinh Z 2 Z 2 3 / 2 sinh Z 1 Z 1 3 / 2 Z 2 Z 2 3 / 2 Z 1 β 2 = Z 1 2 cosh Z 2 1 Z 2 2 cosh Z 1 1 Z 1 Z 1 Z 2 Z 2 β 3 = Z 2 sinh Z 1 Z 1 sinh Z 2 Z 1 3 / 2 Z 2 Z 2 3 / 2 Z 1 β 4 = Z 2 cosh Z 1 1 Z 1 cosh Z 2 1 Z 1 Z 1 Z 2 Z 2
As expected, the exponentially fitted variant reduced to the classical method as Z 0 .

3. Error Analysis: Local Truncation Error (LTE)

The leading term of the local truncation error (lte) for an exponentially fitted method with respect to the basis (4) is of the form
L T E ( t ) = ( 1 ) i = 1 I P i + I h M L K + 1 * ( a ( Z i ) ) ( K + 1 ) ! Z 1 P 1 + 1 Z I P I + 1 × i = 1 I ( D 2 ω i 2 ) P i + 1 , D m : = d m d t m
with K , P 1 , , P I and M satisfying the condition K + 2 ( P 1 + + P I ) = M 2 I 1 [14]. Using (18), the local truncation error in our exponentially fitted method is obtained as:
L T E = h 5 β 1 1 u ( 5 ) ( t ) ω 2 2 u ( 3 ) ( t ) + ω 1 2 ω 2 2 u ( t ) u ( 3 ) ( t ) Z 1 Z 2

4. Convergence and Stability Analysis

Theorem 1
(Dahlquist Theorem). The necessary and sufficient conditions for a linear multistep method to be convergent are that it be consistent and zero-stable [19].
For exponentially fitted algorithms, the Dahlquist Theorem (1) also holds true; however, the concepts of consistency and stability have to be adapted since their coefficients are no longer constants.
Definition 1.
An exponentially fitted method is said to be of exponential order q if q is the maximum value of M, such that the algebraic system L m * ( a ) = 0 | m = 0 , , M 1 is compatible [3].
Definition 2.
A linear multistep method is said to be consistent if it has order P 1 [1].
Since our proposed method, EF2PT, is of order M = 5 1 , the consistency requirement is satisfied. Hence, the constructed scheme is consistent.
Definition 3.
The method, EF2PT, is zero-stable if no root of the first characteristic polynomial has a modulus greater than one and if every root with modulus one is simple [20].
In order to establish the stability of EF2PT, we apply it to the test problems y = λ y and obtain the stability function R ( q ) of the class of methods as
y n + 1 y n = R ( q ) = α 0 + β 0 q + β 1 q 2 + β 3 q 3 + β 4 q 4 , with q = λ h .
Definition 4.
A region of absolute stability is a region in the complex plane, throughout which R ( q ) < 1 . Any closed curve defined by R ( q ) = 1 is an absolute stability boundary. In addition, any interval ( α , β ) of the real line is said to be the interval of absolute stability if the method is stable for all q ( α , β ) [1,19].
The absolute stability region for the method constructed in this work is given in Figure 1. It has an absolute stability interval of 2.79 , 0 .

5. Numerical Results

Here, we demonstrate the performance of our method, referred to as EF2PT, using three standard test problems. We implement our method on these test problems and compare the obtained results with those of the classical Taylor, Runge–Kutta, Stomer and Numerov methods, which are methods proposed by the authors in Ref. [21], hereby referred to as Hollevoet-1, Hollevoet-2 and Hollevoet-3. A comparison with the method proposed in Ref. [6] was also carried out.

5.1. Problem 1

Consider the initial value problem given as
u = 3 4 u exp ( t ) sin t 2 , u ( 0 ) = 1 , u ( 0 ) = 1
whose exact solution is
u ( t ) = exp ( t ) cos t 2
Problem (21) has two complex conjugate frequencies, which are ω 1 = 1 + 1 2 i and ω 2 = 1 1 2 i , and have been studied by Refs. [6,12,21]. Here, we solve this problem using a different steplength h on the interval [ 0 , π ] , and the maximum absolute error for each steplength is obtained and presented in Figure 2.
Our method performed better compared with the methods discussed in the literature, as seen in Figure 2.

5.2. Problem 2

Consider the equation
y = y + 2 exp ( t ) 8 exp ( 3 t ) , y ( 0 ) = 1 , y ( 1 ) = exp ( 1 ) exp ( 3 )
with exact solution
y ( t ) = t exp ( t ) exp ( 3 t ) .
This problem was also solved using different stepsizes on the interval [ 0 , 1 ] , although the solution lies outside the fitting space of our method; however, our method gave good results compared with its counterparts, as seen in Figure 3.

6. Conclusions

The two-parameter exponentially fitted Taylor method constructed in this work is of algebraic order four and is self-starting. Its local truncation error is of order five. Compared with its classical counterparts, the results obtained from the numerical example showed that the new method is suitable for solving periodic/oscillatory problems.

Author Contributions

Methodology, A.S.W.; Software, M.M.; Investigation, A.S.W.; Data curation, A.S.W.; Writing—original draft, A.S.W. and O.A.O.; Writing—review and editing, O.A.O.; Visualization, M.M.; Funding acquisition, M.M. All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by Institute of Software Development and Engineering, Innopolis University, Innopolis 420500, Russia.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lambert, J.D. Computational Methods in ODEs; Wiley: New York, NY, USA, 1973. [Google Scholar]
  2. Simos, T.E. An exponentially-fitted Runge–Kutta method for the numerical integration of initial-value problems with periodic or oscillating solutions. Comput. Phys. Commun. 1998, 115, 1–8. [Google Scholar] [CrossRef]
  3. Ixaru, L.; Vanden Berghe, G. Exponential Fitting: Mathematics and Its Applications; Kluwer Academic Publishers: Dordrecht, The Netherland, 2004. [Google Scholar]
  4. Liniger, W.S.; Willoughby, R.A. Efficient Integration methods for Stiff System of ODEs. SIAM J. Numerical Anal. 1970, 7, 47–65. [Google Scholar] [CrossRef]
  5. Berghe, G.V.; Daele, M.V. Exponentially-Fitted Stormer/Verlet methods. J. Numer. Anal. Ind. Appl. Math. (JNAIAM) 2006, 1, 241–255. [Google Scholar]
  6. Daele, M.V.; Hollevoet, D.; Berghe, G.V. Multiparameter exponentially-fitted methods applied to second-order boundary value problems. In Proceedings of the Seventh International Conference of Numerical Analysis and Applied Mathematics, Rethymno, Crete, Greece, 18–22 September 2009. [Google Scholar]
  7. Wusu, A.; Olabanjo, O.; Mazzara, M. Exponentially-Fitted Fourth-Derivative Single-Step Obrechkoff Method for Oscillatory/Periodic Problems. Mathematics 2022, 10, 2392. [Google Scholar] [CrossRef]
  8. Franco, J. Exponentially fitted explicit Runge–Kutta-Nystrom methods. J. Comput. Appl. Math. 2004, 167, 1–19. [Google Scholar] [CrossRef] [Green Version]
  9. Franco, J.M. An embedded pair of exponentially fitted explicit Runge–Kutta methods. J. Comput. Appl. Math. 2002, 149, 407–414. [Google Scholar] [CrossRef] [Green Version]
  10. Avdelas, G.; Simos, T.E.; Vigo-Aguiar, J. An embedded exponentially-fitted Runge–Kutta method for the numerical solution of the Schrodinger equation and related periodic initial-value problems. Comput. Phys. Commun. 2000, 131, 52–67. [Google Scholar] [CrossRef]
  11. Van de Vyver, H. A Runge–Kutta-Nystrom pair for the numerical integration of perturbed oscillators. Comput. Phys. Commun 2005, 167, 129–142. [Google Scholar] [CrossRef]
  12. Wusu, A. A Two-parameter Family of Exponentially-fitted Obrechkoff Methods for Second-order Boundary Value Problems. J. Res. Rev. Sci. 2020, 7, 28–32. [Google Scholar] [CrossRef]
  13. Vanden Berghe, G.; Meyer, H.D.; Daele, M.V.; Hecke, T.V. Exponentially-fitted explicit Runge–Kutta methods. Comput. Phys. Commun. 1999, 123, 7–15. [Google Scholar] [CrossRef]
  14. Paternoster, B. Present state-of-the-art in exponential fitting. A contribution dedicated to Liviu Ixaru on their 70th birthday. Comput. Phys. Commun. 2012, 183, 2499–2512. [Google Scholar] [CrossRef]
  15. Calvo, M.; Franco, J.; Montijano, J.; Randez, L. Sixth–order symmetric and symplectic exponentially fitted modified runge-kutta methods of gauss type. Comput. Phys. Commun. 2008, 175, 732–744. [Google Scholar] [CrossRef]
  16. Calvo, M.; Franco, J.; Montijano, J.; Randez, L. Structure preservation of exponentially fitted runge-kutta methods. J. Comput. Appl. Math. 2008, 218, 421–434. [Google Scholar] [CrossRef] [Green Version]
  17. Calvo, M.; Franco, J.; Montijano, J.; Randez, L. Sixth-order symmetric and symplectic exponentially fitted runge–kutta methods of the gauss type. J. Comput. Appl. Math. 2009, 223, 387–398. [Google Scholar] [CrossRef] [Green Version]
  18. Vanden Berghe, G.; Van Daele, M. Exponentially-fitted numerov methods. J. Comput. Appl. Math. 2007, 200, 140–153. [Google Scholar] [CrossRef] [Green Version]
  19. Butcher, J. Numerical Methods for Ordinary Differential Equations; Wiley: New York, NY, USA, 2008. [Google Scholar]
  20. Lambert, J. Numerical Methods for Ordinary Differential Systems; Wiley: New York, NY, USA, 1991. [Google Scholar]
  21. Hollevoet, D.; Van Daele, M.; Vanden Berghe, G. The optimal exponentially-fitted Numerov method for solving two-point boundary value problems. J. Comput. Appl. Math. 2009, 230, 260–269. [Google Scholar] [CrossRef]
Figure 1. Region of absolute stability for the constructed methods.
Figure 1. Region of absolute stability for the constructed methods.
Mathematics 10 04768 g001
Figure 2. Maximum absolute errors for Problem 1 as a function of the stepsize h = 2 k π , k = 3 ( 1 ) 8 .
Figure 2. Maximum absolute errors for Problem 1 as a function of the stepsize h = 2 k π , k = 3 ( 1 ) 8 .
Mathematics 10 04768 g002
Figure 3. Maximum absolute errors for Problem 2 as a function of the stepsize h = 2 k , k = 2 ( 1 ) 9 .
Figure 3. Maximum absolute errors for Problem 2 as a function of the stepsize h = 2 k , k = 2 ( 1 ) 9 .
Mathematics 10 04768 g003
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wusu, A.S.; Olabanjo, O.A.; Mazzara, M. Two-Parameter Exponentially Fitted Taylor Method for Oscillatory/Periodic Problems. Mathematics 2022, 10, 4768. https://doi.org/10.3390/math10244768

AMA Style

Wusu AS, Olabanjo OA, Mazzara M. Two-Parameter Exponentially Fitted Taylor Method for Oscillatory/Periodic Problems. Mathematics. 2022; 10(24):4768. https://doi.org/10.3390/math10244768

Chicago/Turabian Style

Wusu, Ashiribo Senapon, Olusola Aanu Olabanjo, and Manuel Mazzara. 2022. "Two-Parameter Exponentially Fitted Taylor Method for Oscillatory/Periodic Problems" Mathematics 10, no. 24: 4768. https://doi.org/10.3390/math10244768

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop