Abstract
A functionally-fitted Numerov-type method is developed for the numerical solution of second-order initial-value problems with oscillatory solutions. The basis functions are considered among trigonometric and hyperbolic ones. The characteristics of the method are studied, particularly, it is shown that it has a third order of convergence for the general second-order ordinary differential equation, \(y''=f \left( x,y,y' \right) \), it is a fourth order convergent method for the special second-order ordinary differential equation, \(y''=f \left( x,y\right) \). Comparison with other methods in the literature, even of higher order, shows the good performance of the proposed method.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Conventionally, second-order differential equations (DEs) whether solving analytically or numerically, can be reduced into an equivalent system of first-order equations to leverage on methods constructed for first-order systems (see Enright [7], Lambert [28], Brugnano et al. [5] and Fatunla [12] for a numerical point of view). According to Onumanyi et al. [31] and Awoyemi [4], the approach of reducing a second-order differential equation to a system of first-order differential equations is marred by a large human effort and a more demanding storage memory during implementation. It is even more complex when writing a computer code for the method, particularly the subroutine needed to supply starting values required for such method, due to the large dimension of the resulting first-order system. Twizell and Khaliq [42], Coleman and Duxbury [6], Hairer and his collaborators [18, 19], and Lambert and Watson [29], established that solving second-order Differential Equations directly saves about half of the storage space. Hence, the direct solution of second-order DEs is more preferable.
In what follows we will consider a Functionally-Fitted Block Numerov’s Method (FFBNM) for the integration of second-order Initial-Value Problem (IVP) systems of the form
whose solution is assumed to be oscillatory or periodic, and the frequency is approximately known in advance, with \(f\mathrm {:\,} \mathbb {R}\times {\mathbb {R}}^m {\times {\mathbb {R}}^m}\rightarrow {\mathbb {R}}^m\) a smooth function that satisfies a Lipschitz condition, being m the dimension of the system.
As noticed before, solving the problem in (1.1) directly is preferable, since about half of the storage space can be saved, especially, if the dimension of the system is large (see Coleman and Duxbury [6]).
Many prominent authors including Simos [39], Coleman and Duxbury [6], Achar [3], Franco [14,15,16,17], Wang et al. [46], Van Daele et al. [43], Wang et al. [47, 48], Fang et al. [8,9,10,11, 49], Tsitouras [41], Li et al. [30], Jator et al. [21,22,23,24,25,26,27], Ramos et al. [32,33,34,35,36,37,38, 40], among others, have presented numerical methods for directly solving the equation in (1.1) without transforming it into an equivalent system of first-order ODEs. However, the above contributions did not consider that the approximate interpolating function was a linear combination of monomial, trigonometric terms and hyperbolic terms. We emphasize that we will introduce a method which approximates the solution of the IVP in (1.1) considering that the method is exact when the solution is in the space generated by \(\sigma \left( x\right) {=}\left\{ 1,{\mathrm {sin} (\omega x)},{\mathrm {cos} (\omega x)},{\mathrm {sinh} (\omega x)},{\mathrm {cosh} (\omega x)}\right\} \). This functional basis is motivated by its easiness to analyze and its expectations to provide improved approximations for second-order initial-value problems with periodic or oscillatory solutions.
The rest of the paper is organized as follows: the theoretical and basic elements of the FFBNM are discussed in Sect. 2. The basic properties of the FFBNM are studied in Sect. 3. Some numerical examples are considered in Sect. 4 to illustrate the performance of the method, and finally, Sect. 5 puts and end to the paper with some conclusions.
2 Development of the FFBNM
In this section, we develop a Continuous Block Method of Numerov type (CBNM) on the interval \(\left[ x_n,x_{n+2}\right] \) to produce a discrete Block Numerov Method. To do this we consider \(m=1\), that is, the scalar case, although, as can be seen in the numerical section, the method can be applied in a component-wise formulation for solving differential systems. Three complementary formulas as a by-product via the CBNM formula to approximate the first derivatives are generated too, to form the Block Numerov Method. The CBNM has the general form
where \( u=\omega h\ \), and \({\alpha }_j, {\beta }_j\) are coefficients to be determined uniquely, that depend on the parameter frequency \(\omega \) and the step size h. As usual, \(y_{n+j},y'_{n+j}\) are numerical approximations to the exact values \(y\left( x_{n+j}\right) , y'(x_{n+j})\), and \(f_{n+j}=f\left( x_{n+j}, y_{n+j}, y'_{n+j}\right) \).
We consider that the true solution y(x) is locally approximated on the block interval \(\left[ x_n,x_{n+2}\right] \ \) by a solution \(\tau (x)\) of the form
where the coefficients \(a_i\) will be obtained demanding that the following system of equations is satisfied
Now we state the main result that aids the construction of the CBNMs as follows:
Theorem 2.1
Let \(\tau (x)\) be the function given in (2.2) which satisfies the system in (2.3). The continuous approximation that will be used to obtain the FFBNM is given by
where \(\varsigma \) and \({\Omega }\) are \(5\times 5\) non-singular lower and upper triangular matrices given by
\(\sigma \mathrm {(}x\mathrm {)}\) and \({\Theta }\) are vectors defined by \(\sigma \left( x\right) {=}{\left( {\sigma }_0\left( x\right) ,{\sigma }_{\mathrm {1}}\left( x\right) \mathrm {,}{\sigma }_{\mathrm {2}}\left( x\right) \mathrm {,}{\sigma }_{\mathrm {3}}\left( x\right) ,{\sigma }_{\mathrm {4}}\left( x\right) \right) }^T\), with \(\left\{ {\sigma }_j\left( x\right) \right\} _{j=0}^4{=}\left\{ 1,{\mathrm {sin} (\omega x)},{\mathrm {cos} (\omega x)},{\mathrm {sinh} (\omega x)},{\mathrm {cosh} (\omega x)}\right\} \) and \({\Theta }{=}{\left( y_n\mathrm {,}y_{n\mathrm {+1}}\mathrm {,}f_n\mathrm {, }f_{n\mathrm {+1}}\mathrm {,}f_{n\mathrm {+2}}\right) }^T\), respectively (the superscript T denotes the transpose).
Proof
Define the following non-singular matrix as the matrix containing the evaluation of the basis functions at the grid points,
To solve the system of equations in (2.3), we require that the coefficients in (2.1) are expressed in terms of the assumed basis functions as follows
Substituting equations (2.5) and (2.6) into the equation (2.1) yields
Letting
equation (2.7) becomes
where \({\Delta }={\left( {{\Delta }}_0,{{\Delta }}_1,{{\Delta }}_2,{{\Delta }}_3,{{\Delta }}_4\right) }^T\) is a vector of undetermined coefficients.
Imposing the conditions in equation (2.3) on equation (2.8), a system of five equations expressed as \(V {\Delta }{=}{\Theta }\) is obtained, being the undetermined coefficients ascertained simultaneously through the LU decomposition method. Factorizing V into a product of a non-singular lower matrix, \(\varsigma \), and a non-singular upper triangular one, \({\Omega }\), and using the LU decomposition method we obtain
It follows from (2.8) that
which is the desired result in (2.4). \(\square \)
Remark 2.2
The specific form of matrices \(\varsigma \), \({\Omega }\) and V is provided in the Appendix.
Remark 2.3
We emphasize that equation (2.4) is of the form presented in equation (2.1), which together with its first derivative provide the main formula and three complementary formulas of the Functionally-Fitted Block Numerov Method (FFBNM).
2.1 Specification of FFBNM
The main formula and the three complementary formulas that form the block method FFBNM are obtained by evaluating the equation in (2.4) at \(x=x_{n+2}\), and its first derivative at the set of points \({\left\{ x_{n},x_{n+1},x_{n+2}\right\} }\). The resulting formulas are given by
The coefficients of these formulas are as follow:
with
with
Remark 2.4
We note that the two coefficients \(\beta _{{0}}\) and \(\beta _{{2}}\) of the main formula of the FFBNM are the same, and thus it is a symmetric formula. The plots of these coefficients are shown in Fig. 1.
For small values of u, the coefficients of the FFBNM may be subject to heavy cancellations. In that case the Taylor series expansion of the coefficients must be used (see Lambert [28]). The series expansion of each of the coefficients, up to the twelfth order of approximation, is as follows
It is worth to note here that as \(u\rightarrow 0\) in the power series expansion of the coefficients (or in the coefficients themselves), the fourth order Numerov method given by
is recovered from the main method of the FFBNM.
3 Basic Properties of the FFBNM
This section discuses the basic properties of the FFBNM which include the Local Truncation Error, Order, Error Constant, Zero-Stability, Convergence, Linear Stability and Region of Stability.
3.1 Local Truncation Error, Order and Consistency of the FFBNM
Theorem 3.1
The local truncation error of the main formula in the FFBNM method has the form
where \(C_6\) is the so called error constant.
Proof
For the main formula, with the assumption that \(y\left( x\right) \) is a sufficiently differentiable function, we consider the Taylor series expansions of \(y\left( x_n+jh\right) \), \(j=0,1, \) and \(y''\left( x_n+jh\right) ,\ j=0,1,2\). We replace in the formula the approximate values for the exact ones, that is, \(y_{n+j}\rightarrow y\left( x_{n}+jh\right) , f_{n+j}\rightarrow y''\left( x_{n}+jh\right) \) and substitute the coefficients \({\beta }_0\left( u\right) ,{\beta }_1\left( u\right) \) and \({\beta }_2\left( u\right) \) given in (2.13) into the last formula in (2.9). After simplifying, we obtain
Following this procedure, the local truncation error is obtained for each of the formulas in (2.9). These errors are given by
which indicates that the order of the main formula is \(p=4\) and the order of each complimentary formula is \(p=3\). The order of convergence of the FFBNM will be analyzed below. \(\square \)
Theorem 3.2
The local truncation error of the main formula of the FFBNM preserves its basis functions, that is, when the solution of the problem in (1.1) is a linear combination of the basis functions \(\left\{ \sigma _i\right\} _{i=0}^4\) the local truncation error vanishes.
Proof
Solving the differential equation \(y^{\left( 6\right) }\left( x\right) -{\omega }^4y''\left( x\right) =0\) results in the following fundamental set of solutions \(\left\{ 1,x,{\mathrm {sin} (\omega x)},{\mathrm {cos} (\omega x)},{\mathrm {sinh} (\omega x)},{\mathrm {cosh} (\omega x)}\right\} \), which contains the basis functions of the FFBNM, from which the statement follows immediately. \(\square \)
Remark 3.3
Following the definition by Lambert [28], a numerical approach for solving (1.1) is said to be consistent if it has an order greater than one. We thus have that the FFBNM is consistent.
3.2 Analysis of Convergence of the FFBNM
The analysis of convergence of the FFBNM is done following the guidelines by Jain and Aziz [20], Jator and Li [24] and Abdulganiy et al. [1].
Theorem 3.4
Let \(\ \overline{\mathrm {Y}}\) be a vector that approximates the true solution vector Y, where \(\ \overline{\mathrm {Y}}\) is the solution of the system obtained from the FFBNM given by the equations in (2.9) on the successive block intervals \([x_0, x_2]\), \([x_2, x_4], \dots ,[x_{N-2}, x_N]\), with N even.
If we denote by \({E=(e_1,\dots ,e_N,he'_1,\dots ,he'_N)^T}\) the error vector, where \(e_j=y\left( x_j\right) -y_j\) and \(he'_j=hy'\left( x_j\right) -hy'_j,\ j=1,2,\dots ,N\), assuming that the exact solution is sufficiently differentiable on \([x_0,x_N]\), then, for sufficiently small h the FFBNM is a third-order convergent method, that is,
Proof
Let the (\(2N\times N\))-matrices of coefficients obtained from the FFBNM method be defined as follows:
and the 2N-vector containing the known values given by
Let consider the vectors of exact values
the vectors of approximate values
and the vector of local truncation errors \(L(h)=(L_1,\dots ,L_{2N})\).
Remark 3.5
Note that to form the global method the formulas in (2.9) are considered for \(n=0,2,4,\dots ,N-2\), so we have a total of 2N formulas and 2N unknowns. Thus, we have a total of 2N truncation errors provided by the formulas in (3.1), which form the vector L(h).
Taking the \((2N\times 2N)\)-matrix \(P=(P_1|P_2)\), the exact form of the system formed by the formulas in (2.9) along the two-step block intervals on \([x_0,x_N]\) is
On the other hand, the system may be written as
Subtracting equation (3.3) from equation (3.2) we obtain
and having in mind that \({E=(e_1,\dots ,e_N,he'_1,\dots ,he'_N)^T}\), the above equation becomes
Applying the Mean-Value Theorem, we obtain that \({F-{\bar{F}}}=JE\), where J is the \((N\times 2N)\)-matrix given as
and the partial derivatives are applied at intermediate points \(\left\{ \xi _i\right\} _{i=1}^N\), which are on each corresponding line joining \(\left( x_i,y(x_i),y'(x_i)\right) \) to \(\left( x_i,y_i,y'_i\right) \). In view of this, the equation in (3.5) can be written as
Let M denote the matrix \(M = -QJ\). Then, we have that
For sufficiently small h, the matrix \(P+M\) is invertible (see [20, 24]). Therefore, if we denote by
and consider the maximum norm, we can obtain after expanding in Taylor series the terms in D that \(\Vert D\Vert =O(h^{-2})\). Finally, we have that
Therefore, the FFBNM is a third-order convergent method. \(\square \)
Remark 3.6
In case of a special second-order equation, that is, \(y''=f(x,y)\), where the first derivative is absent, we can proceed similarly. Nevertheless, in view of the form of the vector L(h) we see that, assuming sufficient smoothness, we obtain a higher order of convergence:
3.3 Stability of the FFBNM
Following Fatunla [13], the FFBNM can be represented in the following block matrix form
where \(\ Y_{\mu +1}={\left( y_{n+1}, y_{n+2},hy'_{n+1},hy'_{n+2}\right) }^T,Y_{\mu }={\left( y_{n-1},y_{n} hy'_{n-1},hy'_n\right) }^T\), \(F_{\mu +1}={\left( f_{n+1},f_{n+2}, hf'_{n+1}, hf'_{n+2}\right) }^T\), \(F_{\mu }={\left( f_{n-1},f_{n},hf'_{n-1}, h f'_n\right) }^T\), I is the identity matrix of dimension four, \(\otimes \) denotes the Kronecker product of matrices, and \(A^{(0)},A^{(1)},B^{(0)},B^{(1)}\) are \(4\times 4\) matrices obtained from the coefficients of the method, and given by
3.3.1 Zero Stability of the FFBNM
Definition 3.7
A block method is zero-stable if the roots of its first characteristic polynomial, \(\rho (R)=\det (RA^{(1)}-A^{(0)})\), are of modulus less than or equal to one, and for those which modulus one the multiplicity is not greater than two (see Fatunla [12]).
Proposition 3.8
The FFBNM is zero-stable.
Proof
From the normalized first characteristic polynomial of the FFBNM, we have that
so that the characteristic equation is \(\rho (R)=\det (RA^{(1)}-A^{(0)})=0\), that is, \(\ -\eta {R}^{2} \left( R-1 \right) ^{2} =0\), with \(\eta =\alpha _{{0,1}}\). Consequently, according to the above definition the method is zero-stable. \(\square \)
3.3.2 Linear Stability of the FFBNM
Applying the FFBNM specified by the formulas in (2.9) to the test equation \(y''={\lambda }^2y\) and letting \(z=\lambda h\) yields
where
is the so-called stability matrix or amplification matrix, which determines the stability of the FFBNM. The amplification matrix M(z, u) for FFBNM has eigenvalues given by\(\ \left( {\varphi }_1,{\varphi }_2,{\varphi }_3,{\varphi }_4\right) =(0,0,0,{\varphi }_4)\), where \({\varphi }_4\left( z,u\right) =\frac{p_4\left( z,u\right) }{q_4\left( z,u\right) }\) is the stability function.
Definition 3.9
The region of linear stability of the method is the domain in the \(z-u\) plane in which the spectral radius of the amplification matrix, \(\rho \left( M\left( z,u\right) \right) \), verifies \(\ \left| \rho \left( M\left( z,u\right) \right) \right| \le 1\) (see Jator [27]).
The \(z-u\) stability region constructed for the FFBNM is plotted in Fig. 2.
4 Implementation of the FFBNM
The FFBNM is implemented in a block-by-block fashion for solving the problem in (1.1) on \([x_0,x_N]\). We use the formulas in (2.9) to obtain the approximations \(y_{n+1},y_{n+2}\), and \({y'}_{n+1},{y'}_{n+2}\), simultaneously over the sequence of non overlapping intervals \(\left[ x_0,x_2\right] \), \(\left[ x_2,x_4\right] , \ldots ,\left[ x_{N-2},x_N\right] \), with N even. When the method is applied on \(\left[ x_0,x_2\right] \) the approximate values \(\left\{ y_1,y_2,{y'}_1,{y'}_2\right\} \) are obtained simultaneously, assuming that \(y_0\) and \({y'}_0\) are known from the IVP in (1.1); on the next interval \(\left[ x_2,x_4\right] \) we obtain the values \(\left\{ y_3,y_4,{y'}_3,{y'}_4\right\} \) simultaneously, since \(y_2\) and \({y'}_2\) are known from the previous block. This process continues until we obtain the numerical solution of equation (1) on the entire interval of integration. We emphasizes that this procedure makes the FFBNM a self-starting method which does not suffer the disadvantage of predictor-corrector modes. We also note that the computations were carried out using a written code in Maple 2016.2 on a Laptop with
-
1.
64 bit Windows 10 Pro Operating System,
-
2.
Intel (R) Celeron CPU N3060 @ 1.60GHz processor, and
-
3.
4.00GB RAM memory.
For non-linear problems, the code was enhanced by the feature fsolve in Maple 2016.2.
4.1 Numerical Examples
This subsection examines the effectiveness of the FFBNM. Seven well-known numerical examples with oscillating solutions that have appeared in the literature are considered. In the numerical investigations, we used two criteria: accuracy and efficiency. A measure of accuracy is investigated using the maximum error of the approximate solution defined as \(\mathrm{ErrMax}={\mathrm {max} {\left\| y\left( x_n\right) -y_n\right\| }_{\infty }\ }\), where \(y(x_n)\) is the exact solution and \(y_n\) is the numerical solution obtained using the FFBNM. The computational efficiency criterion is specified at each of the considered examples.
4.2 Example 1
Consider the nonlinear Duffing equation given by
whose exact solution is unknown. Its approximate theoretical solution obtained by Van Dooren [44] is given by \( y \left( x \right) =C_{1}\cos \left( \Omega x \right) +C_{2}\cos \left( 3 \Omega x \right) +C_{3}\cos \left( 5 \Omega x \right) +C_{4}\cos \left( 7 \Omega x \right) \) and the suitable initial conditions are \( y \left( 0 \right) =C_{0}, y' \left( 0 \right) =0 \), where \( \Omega =1.01, B=0.002, C_{0}=0.200426728069, C_{1}=0.200179477536, C_{2}=0.246946143 \times 10^{-3}, C_{3}=0.304016 \times 10^{-6}, C_{4}=0.374 \times 10^{-9} \). This problem has been considered by Tsitouras [41], Jator [21] and Jator et al. [27] in the interval \( \left[ {0,}\frac{20.5 \pi }{1.01} \right] \), with \( \omega =1.01 \) using an explicit eighth order method (EM8), a seventh order hybrid method (HLMM), and two third derivative block methods of orders eighth and tenth (BTDF8 and BTDF10), respectively. Table 1 shows the maximum norm of the global error for the y-component of FFBNM given in the form \(10^{-CD}\), where CD denotes the number of decimal digits in comparison with the aforementioned methods.
The accuracy of FFBNM together with its efficiency, measured by \( \log _{10} \left( Err Max \right) \), against the logarithm of the number of function evaluations, \( \log _{10} \left( NFE \right) \), are presented be means of the efficiency curves in Fig. 3.
As is evident from the results in Table 1 and the efficiency curves in Figure 3, the FFBNM is a more efficient integrator for the considered non-linear Duffing equation than the other methods used for comparison, even for the higher order method BTDF10 in Jator et al. [27].
4.3 Example 2
Consider the nonlinear perturbed system on the range \( \left[ \text {0, 10} \right] \) with \( \epsilon =10^{-3} \)
where
The solution in closed form is given by \( y_{1} \left( x \right) =\cos \left( 5x \right) + \epsilon \sin \left( x^{2} \right) ,~ y_{2} \left( x \right) =\sin \left( 5x \right) + \epsilon \cos \left( x^{2} \right) \), which represents a periodic motion of constant frequency with a small perturbation of variable frequency. This problem was selected to show the performance of the FFBNM on a nonlinear perturbed system. Thus, we choose \( \omega =5 \) as the fitting frequency. The errors of the FFBNM were compared with a fifth order Trigonometrically-Fitted Runge–Kutta–Nyström (TFARKN) method by Fang et al. [9], a fifth order trigonometrically-fitted explicit method (TRI5) by Fang and Wu [8], and a sixth order hybrid method with dissipation order seven (DIS6) in [17], as presented in Table 2.
Details of the results given in Table 2 and the efficiency curves plotting the \( \log _{10} \left( \mathrm{Err Max} \right) \) versus the \( \log _{10} \left( \mathrm{NFE} \right) \) in Fig. 4, reveal that the FFBNM is an efficient integrator for the nonlinear perturbed system.
4.4 Example 3
Consider the periodically forced nonlinear IVP
with \( \epsilon =10^{-10} \) and whose analytic solution \( y \left( t \right) =\cos \left( t \right) + \epsilon \sin \left( 10t \right) \) describes a periodic motion of low frequency with a small perturbation of high frequency. For this problem, \( \omega =1 \) is selected. The results of FFBNM in comparison to the TFARKN by Fang et al. [9], the EFRK by Franco [14] and the EFRKN by Franco [15] are displayed in Table 3. The accuracy of the FFBNM with the exact solution and its efficiency in terms of number of function evaluation as compared with the aforementioned methods are displayed in Fig. 5.
It is apparent from the data in Table 3 and the plots in Fig. 5 that the FFBNM is an efficient numerical integrator for this problem when compared with the TFARKN, EFRK and EFRKN methods.
4.5 Example 4
As a fourth test problem, we consider the Duffing equation
whose solution in closed form is given by \( y \left( t \right) =sn \left( \omega t;\frac{k}{ \omega } \right) \) and represents a periodic motion in terms of the Jacobian elliptic function sn . In our experiment, we take \( \kappa =0.03 \), and \( \omega =5 \) as the fitting parameter. This Problem was solved in the interval [0,100] with step sizes \( h=\frac{1}{2^{i}} \) for ETFFSH6S, a six stage explicit trigonometrically method of order seven by Li et al. [30], ARK4 and ARK3/8, both adapted RK methods of fourth order and four stages by Franco [15], and the RK6, the Butcher’s sixth-order method given in Hairer et al. [19]. Table 4 shows the \(-\log _{10} \left( \mathrm{MaxErr} \right) \) of the numerical results. The accuracy of FFBNM in comparison with the exact results and the numerical results for \( h=\frac{1}{2^{i}},i=2,3,4,5 \) with the above mentioned methods are presented in Fig. 6.
4.6 Example 5
We consider the following perturbed two-body problem
with \( r=\root \of {y_{1}^{2}+y_{2}^{2}} \), whose exact solution is given by \( y_{1}=\cos \left( x+ \epsilon x \right) , y_{2}=\sin \left( x+ \epsilon x \right) \).
This system represents a motion on a perturbed circular orbit in the complex plane which occurs in classical mechanics and flexible body dynamics. The numerical results of the FFBNM on this problem with \( \omega =1.01 \) are compared with the Trigonometric Fourier Collocation (TFC) method by Wang [47] and the method BNM developed by Jator and Oladejo [23] on \(\left[ 0,~1000 \right] \). The results given in Table 5 and the graphical representations in Fig. 7 taking \( \epsilon =10^{-3} \), show that FFBNM is an accurate method for this perturbed Kepler’s equation.
4.7 Example 6
As our sixth experiment, we investigate the prevalent non-linear scalar Van der Pol equation given by
with initial values
In our computations, we took the parameter \(\delta \) as \(\delta =10^{-3}\) and the fitting frequency as \( \omega =1 \). The integration of the problem was carried out in the interval \(\left[ 0,100 \right] \). For the comparison of the error of different methods, we use step lengths \(h=\frac{1}{2^{i}} , i=1, 2, 3, 4\). Since the analytic solution of this problem does not exists, we used a reference numerical solution which was obtained by Anderson and Geer [2] and Verhulst [45]. The Maximum global error, \( -\log _{10} \left( \Vert y \left( x \right) -y_{n} \Vert _{\infty } \right) \), of the FFBNM compared with the Gauss methods studied in [49] are displayed in Table 6, while the efficiency curves are shown in Fig. 8, respectively. Whereas from the Table 6 and Fig. 8 it is evident that the FFBNM outperformed the ExtGauss2 of the same order and Gauss3 of order six, it competes favourably well with the ExtGauss3 of order six. In fact, the efficiency in terms of computational time of the FFBNM is almost half the computational time of the ExtGauss3.
4.8 Example 7
As our last example, we investigate the linear periodic problem studied in [10, 16]
whose solution in closed form \(y(x)=\cos (x^{2})+\sin (\omega x)\) represents a periodic motion that involves a constant frequency and a variable frequency.
For this problem, we integrate in the interval \( \left[ 0,5 \right] \), taking the principal frequency as \( \omega =50 \). The numerical results stated in the Table 7 and Fig. 9 have been computed with the step lengths \( h=\frac{0.1}{2^{i}} , i=1, 2, 3, 4. \) As can be seen in Table 7 and Fig. 9, the BNM, which is the limit method of the FFBNM, is not as accurate as the other fourth order methods AZONNEVELD4(3), AMERSON4(3)and MAMERSON4(3) (abbreviated AZD, AME and MAM respectively, for easy readability) presented in [16] but uses fewer number of function evaluations. However, the FFBNM performs better than its limiting method and some of the existing methods in the literature.
5 Conclusions
The numerical solution of oscillatory problems finds its best performance in the use of adapted methods. This article has developed a trigonometrically adapted method of Numerov type. Their characteristics have been studied, and some numerical examples have been presented, comparing the results of the proposed method with other methods appeared in the literature. These results allow us to conclude that the proposed method is competitive to solve problems whose solutions are oscillatory.
Availability of data and material
Not applicable.
Code availability
Not applicable.
References
Abdulganiy, R.I., Akinfenwa, O.A., Okunuga, S.A.: Maximal order block trigonometrically fitted scheme for the numerical treatment of second order initial value problem with oscillating solutions. Int. J. Math. Anal. Optim. 2017, 168–186 (2018)
Andersen, C.M., Geer, J.F.: Power series expansions for the frequency and period of the limit cycle of the Van Der Pol equation. SIAM J. Appl. Math. 42(3), 678–693 (1982)
Archar, S.D.: Symmetric multistep Obrechkoff methods with zero phase-lag for periodic initial value problems of second order differential equations. J. Appl. Math. Comput. 218, 2237–2248 (2011)
Awoyemi, D.O.: A P-stable linear multistep method for solving general third order ordinary differential equations. Int. J. Comput. Math. 80(8), 987–993 (2003)
Brugnano, L., Trigiante, D.: Solving Differential Problems by Multistep Initial and Boundary Value Methods. Gordan and Breach, Amsterdam (1998)
Coleman, J.P., Duxbury, S.C.: Mixed collocation methods for \(y^{\prime \prime }=f(x, y)\). J. Comput. Appl. Math. 126, 47–75 (2000)
Enright, W.H.: Second derivative multistep method for stiff ODEs. SIAM J. Numer. Anal. 11(2), 321–331 (1974)
Fang, Y., Wu, X.: A trigonometrically fitted explicit Numerov-type method for second order initial value problems with oscillating solutions. Appl. Numer. Math. 58, 341–351 (2008)
Fang, Y., Song, Y., Wu, X.: A robust trigonometrically fitted embedded pair for perturbed oscillators. J. Comput. Appl. Math. 225, 347–355 (2009)
Fang, Y.L., Yang, Y.P., You, X.: Revised trigonometrically fitted two step hybrid methods with equation dependent coefficients for highly oscillatory problems. J. Comput. Appl. Math. 318, 266–278 (2017)
Fang, Y.L., Liu, C.Y., Wang, B.: Efficient energy-preserving methods for general nonlinear oscillatory hamiltonian system. Act. Math. Sin. 34, 1863–1878 (2018)
Fatunla, S.O.: Numerical Methods for Initial Value Problems in Ordinary Differential Equations. Academic Press Inc., Cambridge (1988)
Fatunla, S.O.: Block methods for second order ODEs. Int. J. Comput. Math. 41, 55–63 (1991)
Franco, J.M.: An embedded pair of Exponentially-Fitted explicit Runge–Kutta methods. J. Comput. Appl. Math. 149, 407–414 (2002)
Franco, J.M.: Runge–Kutta–methods adapted to the numerical integration of oscillatory problems. Appl. Numer. Math. 50, 427–443 (2004)
Franco, J.M.: Runge–Kutta methods adapted to the numerical integration of oscillatory problems. Appl. Numer. Math. 50, 427–443 (2004)
Franco, J.M.: A class of explicit two-step hybrid methods for second-order IVPs. J. Comput. Appl. Math. 187, 41–57 (2006)
Hairer, E., Wanner, G.: A theory for Nyström methods. Numerische Mathematik 25, 383–400 (1976)
Hairer, E., Nörsett, S.P., Wanner, G.: Solving Ordinary Differential Equations I. Nonstiff Problems. Springer, Berlin (1993)
Jain, M.K., Aziz, T.: Cubic spline solution of two-point boundary value problems with significant first derivatives. Comput. Methods Appl. Mech. Eng. 39, 83–91 (1983)
Jator, S.N.: Solving second order initial value problems by a hybrid multistep method without predictors. Appl. Math. Comput. 277, 4036–4046 (2010)
Jator, S.N.: Implicit third derivative Runge–Kutta–Nyström method with trigonometric coefficients. Numer. Algorithms 70(1), 133–150 (2015). https://doi.org/10.1007/s11075-014-9938-5
Jator, S.N.: Block third derivative method based on trigonometric polynomials for periodic initial-value problems. Afrika Matematika 27, 365–377 (2016)
Jator, S.N., Li, J.: A self-starting linear multistep method for a direct solution of the general second order initial value problem Intern. J. Comput. Math. 86, 827–836 (2009)
Jator, S.N., Oladejo, H.B.: Block Nyström method for singular differential equations of the Lane–Emdem Type and problems with highly oscillatory solutions. Int. J. Appl. Comput. Math. 3, 1385–1402 (2017). https://doi.org/10.1007/s40819-017-0425-2
Jator, S.N., Swindle, S., French, R.: Trigonometrically fitted block Numerov type method for \(y^{\prime \prime }= f(x, y, y^{\prime })\). Numer. Algorithms 62, 13–26 (2013)
Jator, S.N., Akinfenwa, A.O., Okunuga, S.A., Sofoluwe, A.B.: High-order continuous third derivative formulas with block extension for \(y^{\prime \prime }=f(x, y, y^{\prime })\). Int. J. Comput. Math. 90(9), 1899–1914 (2013)
Lambert, J.D.: Computational Methods in Ordinary Differential System, The Initial Value Problem. Wiley, New York (1973)
Lambert, J.D., Watson, I.A.: Symmetric multistep methods for periodic initial value problems. J. Inst. Math. Appl. 18, 189–202 (1976)
Li, J., Lu, M., Qi, X.: Trigonometrically fitted multi-step hybrid methods for oscillatory special second-order initial value problems. Int. J. Comput. Math. 95, 979–997 (2018). https://doi.org/10.1080/00207160.2017.1303138
Onumanyi, P., Awoyemi, D.O., Jator, S.N., Sirisena, U.W.: New linear mutlistep methods with continuous coefficients for first order initial value problems. J. Nig. Math. Soc. 13, 37–51 (1994)
Ramos, H., Lorenzo, C.: Review of explicit Falkner methods and its modifications for solving special second-order I.V.P.s. Comput. Phys. Commun. 181(11), 1833–1841 (2010)
Ramos, H., Patricio, M.F.: Some new implicit two-step multiderivative methods for solving special second-order IVP’s. Appl. Math. Comput. 239, 227–241 (2014)
Ramos, H., Rufai, M.A.: Third derivative modification of \(k\)-step block Falkner methods for the numerical solution of second order initial-value problems. Appl. Math. Comput. 333, 231–245 (2018)
Ramos, H., Vigo-Aguiar, J.: Variable-stepsize Chebyshev-type methods for the integration of second-order I.V.P.’s. J. Comput. Appl. Math. 204(1), 102–113 (2007)
Ramos, H., Vigo-Aguiar, J.: A trigonometrically-fitted method with two frequencies, one for the solution and another one for the derivative. Comput. Phys. Commun. 185, 1230–1236 (2014)
Ramos, H., Singh, G., Kanwar, V., Bhatia, S.: An efficient variable step-size rational Falkner-type method for solving the special second-order IVP. Appl. Math. Comput. 291, 39–51 (2016)
Ramos, H., Mehta, S., Vigo-Aguiar, J.: A unified approach for the development of \(k\)-step block Falkner-type methods for solving general second-order initial-value problems in ODEs. J. Comput. Appl. Math. 318, 550–564 (2017)
Simos, T.E.: A P-stable complete in Phase Obrechkoff trigonometrically fitted method for periodic initial value problems. Proc. R. Soc. 441, 283–289 (1993)
Singh, G., Ramos, H.: An optimized two-step hybrid block method formulated in variable step-size mode for integrating \(y^{\prime \prime } = f(x, y, y^{\prime })\) numerically. Numer. Math. Theor. Meth. Appl. 12, 640–660 (2019)
Tsitouras, Ch.: Explicit eight order two step methods with nine stages for integrating oscillatory problems. Int. J. Mod. Phys. 17, 861–876 (2006)
Twizel, E.H., Khaliq, A.Q.M.: Multiderivative methods for periodic IVPs SIAM. J. Numer. Anal. 21, 111–121 (1984)
van Daele, M., Vanden Berghe, G.: P-stable exponentially fitted Obrechkoff methods of arbitrary order for second order differential equations. Numer. Algor. 46, 333–350 (2007)
van Dooren, R.: Stabilization of Cowell’s classical finite difference methods for numerical integration. J. Comput. Physi. 16, 186–192 (1974)
Verhulst, F.: Nonlinear Differential Equations and Dynamical Systems. Springer, Berlin (1990)
Wang, Z., Zhao, D., Dai, Y., Wu, D.: An improved trigonometrically fitted p-stable Obrechkoff method for periodic initial value problems. Proc. R. Soc. 461, 1639–1658 (2005)
Wang, B., Iserles, A., Wu, X.: Arbitrary-order trigonometric fourier collocation methods for multi-frequency oscillatory systems. Found. Computat. Math. 16(1), 151–181 (2015). https://doi.org/10.1007/s10208-014-9241-9
Wu, X., You, X., Wang, B.: Structure-Preserving Algorithms for Oscillatory Differential Equations. Springer, Berlin (2013)
You, X., Zhang, R., Huang, T., Fang, Y.: Symmetric collocation ERKN methods for general second-order oscillators. Calcolo 52, 122 (2019)
Acknowledgements
The authors would like to thank the anonymous reviewers for their constructive comments that greatly contributed to improve the article.
Funding
Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: Specification of entries of The Lower Triangular Matrix \(\varsigma \), The Upper Triangular Matrix \(\Omega \), and Matrix V
Appendix: Specification of entries of The Lower Triangular Matrix \(\varsigma \), The Upper Triangular Matrix \(\Omega \), and Matrix V
with
with
where
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Abdulganiy, R.I., Ramos, H., Akinfenwa, O.A. et al. A Functionally-Fitted Block Numerov Method for Solving Second-Order Initial-Value Problems with Oscillatory Solutions. Mediterr. J. Math. 18, 259 (2021). https://doi.org/10.1007/s00009-021-01879-2
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00009-021-01879-2
Keywords
- Block method
- convergence analysis
- functionally-fitted approach
- numerov-type method
- trigonometric functions
- hyperbolic functions