Next Article in Journal
Invariant Means, Complementary Averages of Means, and a Characterization of the Beta-Type Means
Next Article in Special Issue
Implicit Three-Point Block Numerical Algorithm for Solving Third Order Initial Value Problem Directly with Applications
Previous Article in Journal
Stability Results for Two-Dimensional Systems of Fractional-Order Difference Equations
Previous Article in Special Issue
Analysis of Perturbed Volterra Integral Equations on Time Scales
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient k-Step Linear Block Methods to Solve Second Order Initial Value Problems Directly

by
Higinio Ramos
1,*,†,
Samuel N. Jator
2,† and
Mark I. Modebei
3,†
1
Department of Applied Mathematics, University of Salamanca, 37008 Salamanca, Spain
2
Department of Mathematics and Statistics, Austin Peay State University Clarksville, Clarksville, TN 37044, USA
3
Department of Mathematics Programme, National Mathematical Centre, Abuja 900211, Nigeria
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2020, 8(10), 1752; https://doi.org/10.3390/math8101752
Submission received: 14 September 2020 / Revised: 29 September 2020 / Accepted: 30 September 2020 / Published: 12 October 2020
(This article belongs to the Special Issue Numerical Methods for Solving Differential Problems)

Abstract

:
There are dozens of block methods in literature intended for solving second order initial-value problems. This article aimed at the analysis of the efficiency of k-step block methods for directly solving general second-order initial-value problems. Each of these methods consists of a set of 2 k multi-step formulas (although we will see that this number can be reduced to k + 1 in case of a special equation) that provides approximate solutions at k grid points at once. The usual way to obtain these formulas is by using collocation and interpolation at different points, which are not all necessarily in the mesh (it may also be considered intra-step or off-step points). An important issue is that for each k, all of them are essentially the same method, although they can adopt different formulations. Nevertheless, the performance of those formulations is not the same. The analysis of the methods presented give some clues as how to select the most appropriate ones in terms of computational efficiency. The numerical experiments show that using the proposed formulations, the computing time can be reduced to less than half.

1. Introduction

Let us consider a second-order initial value problem (IVP) of the form
y ( x ) = f ( x , y ( x ) , y ( x ) ) , y ( x 0 ) = y 0 , y ( x 0 ) = y 0 ,
on an interval [ x 0 , b ] R , for which we assume that there exist a unique solution.
There are many methods in the literature for directly approximating the solution of the problem in (1) such as the Runge-Kutta-Nyström methods, Störmer–Cowell methods, or Falkner methods, and also the so-called block methods (see [1,2,3,4] and references therein).
To the best of our knowledge, the first appearance of block methods was presented by Milne [5] for solving first order problems. They have some advantages concerning the cost of implementation, and the accuracy. These methods were designed with the aim of addressing some of the drawbacks of the methods in predictor–corrector modes [6,7,8,9]. Since the time of Milne, many of these types of methods have been published in the mathematical literature; an interesting monograph on the subject is that by Brugnano and Trigiante [10].
In this work, our goal was to analyze and classify block methods used for solving second order problems directly. Our analysis reveals that for each k 2 , k N , there are some specific formulations which are the most efficient ones in terms of computational time if standard routines based on the classical Newton’s method are used for solving the discrete problem. This work is an extension of the one developed in [11], where it was shown that, from the class of k-step linear block methods for solving first-order IVPs, there is only one formulation for each k which is the most efficient.
We present below a brief description of the different sections. In Section 2, we will analyze in detail the 2-step block methods. This analysis shows that many methods that have appeared in the literature actually correspond to the same method, although they present different formulations. We will show how to obtain the most efficient formulations in terms of computational time. In Section 3, the analysis of k-step block methods is considered. Section 4 deals with the study of the main characteristics of the methods. In Section 5, we will present some examples of the performance of the different formulations. Section 6 is devoted to presenting some conclusions. Finally, in Appendix A, we have included an algorithm to generate the methods. The formulas of the different k-step block methods can be easily obtained using a computer algebra system with the given algorithm.

2. Detailed Analysis of 2-Step Block Methods

We will consider here only methods that use information on the grid points; that is, we will not consider methods that use backward values or intra-step or future off-step points. This section is divided into two parts, accordingly with the type of differential equation considered, either of the general form y = f ( x , y , y ) , or of the special type y = f ( x , y ) , where the first derivative is absent. From now on, h will denote a fixed step size.

2.1. Two-Step Block Methods for y = f ( x , y , y ) :

The derivation of the following 2-step block method by Adesanya et al. for solving this kind of problem, appeared in [12]
y n + 1 = y n + h y n + h 2 24 7 f n + 6 f n + 1 f n + 2 , y n + 2 = y n + 2 h y n + h 2 3 2 f n + 4 f n + 1 , y n + 1 = y n + h 12 5 f n + 8 f n + 1 f n + 2 , y n + 2 = y n + h 3 f n + 4 f n + 1 + f n + 2 ,
although in this reference there were some misprints that have been corrected here. Later, Adebile et al. in [13] presented the following 2-step block method
y n + 2 2 y n + 1 + y n = h 2 12 f n + 10 f n + 1 + f n + 2 , h y n y n + 1 + y n = h 2 24 7 f n 6 f n + 1 + f n + 2 , h y n + 1 y n + 1 + y n = h 2 24 3 f n + 10 f n + 1 f n + 2 , h y n + 2 y n + 1 + y n = h 2 24 f n + 26 f n + 1 + 9 f n + 2 ,
which may readily be rewritten as
y n + 2 = 2 y n + 1 y n + h 2 12 f n + 10 f n + 1 + f n + 2 , h y n = y n + 1 y n + h 2 24 7 f n 6 f n + 1 + f n + 2 , h y n + 1 = y n + 1 y n + h 2 24 3 f n + 10 f n + 1 f n + 2 , h y n + 2 = y n + 1 y n + h 2 24 f n + 26 f n + 1 + 9 f n + 2 .
On the other hand, Majid et al. presented in [14] the 2-step block method given by
y n + 1 = y n + h y n + h 2 24 7 f n + 6 f n + 1 f n + 2 , y n + 1 = y n + h 12 5 f n + 8 f n + 1 f n + 2 , y n + 2 = y n + 1 + h y n + 1 + h 2 24 f n + 10 f n + 1 + 3 f n + 2 , y n + 2 = y n + 1 + h 12 f n + 8 f n + 1 + 5 f n + 2 .
These are three of the different 2-step block methods that have appeared in literature. What do the above methods have in common? It is obvious that the unknowns are the values y n + 1 , y n + 2 , y n + 1 , y n + 2 , and that the terms f n + 1 , f n + 2 appear on the right hand side of all the equations. There is more to say, we are going to show that these methods are different formulations of the same underlying method. Now, let us see how to get the previous 2-step block methods and how among the different formulations there are some of them which are the most efficient.
Consider the grid points x n , x n + 1 = x n + h , x n + 2 = x n + 2 h . Now, in order to get approximate values of the solution of the problem in (1) on the interval [ x n , x n + 2 ] , we approximate the true solution y ( x ) by a polynomial p ( x )
y ( x ) p ( x ) = j = 0 4 a j x j ,
where the coefficients a j R will be determined after considering appropriate collocation conditions. These conditions are imposed to p ( x ) and its derivatives up to the second order, at the grid points x n , x n + 1 , x n + 2 . The notations y n + i , y n + i and f n + i correspond to approximations of the solution and the derivatives at the grid points, that is, y n + i y ( x n + i h ) , y n + i y ( x n + i h ) , f n + i y ( x n + i h ) = f ( x n + i h , y ( x n + i h ) , y ( x n + i h ) ) . Taking five equations of the set
E 2 = p ( x n + i h ) = y n + i , p ( x n + i h ) = y n + i , p ( x n + i h ) = f n + i , i = 0 , 1 , 2
we obtain a system where the unknowns are the coefficients a j , j = 0 , 1 , 2 , 3 , 4 . We solve this system and substitute the values of the coefficients a j in p ( x ) . The four remaining equations of the above set, once we have replaced the obtained a j s , result in a block method. The 2-step block methods in (2) and (4) may be obtained in this way.
The set E 2 may be expressed in matrix-vector notation as
B 2 y 2 = 0 ,
where
B 2 = 1 x n x n 2 x n 3 x n 4 1 x n + 1 x n + 1 2 x n + 1 3 x n + 1 4 1 x n + 2 x n + 2 2 x n + 2 3 x n + 2 4 0 1 2 x n 3 x n 2 4 x n 3 0 1 2 x n + 1 3 x n + 1 2 4 x n + 1 3 I 9 0 1 2 x n + 2 3 x n + 2 2 4 x n + 2 3 0 0 2 6 x n 12 x n 2 0 0 2 6 x n + 1 12 x n + 1 2 0 0 2 6 x n + 2 12 x n + 2 2 ,
I 9 is the identity matrix of order nine, and
y 2 = a 0 , a 1 , a 2 , a 3 , a 4 , y n , y n + 1 , y n + 2 , y n , y n + 1 , y n + 2 , f n , f n + 1 , f n + 2 T .
Matrix B 2 has rank nine, and thus the above system of nine equations has a unique solution which would be expressed in terms of some parameters. If we take any nine terms in y 2 as principal variables, the solution will be expressed in terms of these variables. Among these variables five of them must be fixed as the five parameters a j , j = 0 , 1 , 2 , 3 , 4 , which are the coefficients of p ( x ) , and the other remaining principal variables give rise to four formulas, which are the different 2-step block methods. Doing this we obtain a number of possibilities of 9 4 = 126 , which corresponds to different formulations of the 2-step block method, all of which are equivalent to each other.
Among the 126 different formulations of the 2-step block method, we will consider those that have the lowest number of occurrences of f. There are 7 2 = 21 of such formulations which are obtained by taking as principal variables in the algebraic system the a j , j = 0 , 1 , 2 , 3 , 4 , and f n + 1 , f n + 2 . The remaining two principal variables can be chosen arbitrarily. We choose these variables as y n + 1 , y n + 2 ; thus, one of the simplest formulations of the 2-step block methods is
y n + 1 = y n + h 48 29 y n + 20 y n + 1 y n + 2 + h 2 8 f n , y n + 2 = y n + h 3 y n + 4 y n + 1 + y n + 2 , 4 h f n + 1 = 2 h f n 5 y n + 4 y n + 1 + y n + 2 , h f n + 2 = h f n + 2 y n 4 y n + 1 + 2 y n + 2 .
If we solve the system in (8), we get approximate values on the interval [ x n , x n + 2 ] . The above system, which discretizes the problem on [ x n , x n + 2 ] , is usually solved by Newton’s method (or any of its variants). The y n , y n and f n in (8) are constants while the unknowns are y n + 1 , y n + 1 and y n + 2 , y n + 2 . We see that the non-linearity of f is reflected only twice in the system, through f n + 1 and f n + 2 . Nevertheless, for any of the methods in (2), (4), or (5), the number of occurrences of f is higher, which usually results in a more complicated system. In the numerical examples of Section 5, one can see clearly the importance of choosing one formulation or another. This importance becomes more marked the more complicated and nonlinear the function f is..
Remark 1.
We note that we can also develop formulations of the 2-step block method combining different formulas obtained with the above procedure. For example, the two first formulas in the method in (5) are obtained taking as principal variables the a j , j = 0 , , 4 , and y n + 1 , y n + 2 , y n + 1 , y n + 2 , while the two second formulas in (5) are obtained taking as principal variables the a j , j = 0 , , 4 , and y n , y n + 2 , y n , y n + 2 . It is a simple routine to see that after substituting the values of y n + 1 , y n + 1 given by the two first formulas, in the second ones, we obtain the method in (2).

2.2. Two-Step Block Methods for y = f ( x , y ) :

For the special second order problem the procedure is similar as before. In this case, we get even a simpler system than in the previous case. Now, if we are not interested in the values of the first derivatives we can remove these values in the system (7). We must be careful, because we cannot remove all of them. Firstly, the y n is one of the initial-values of the second order problem on the block [ x n , x n + 1 ] , which is necessary to guarantee a unique solution. On the other hand, after solving the equations for the first block we need the values y n + 2 and y n + 2 , which will be taken as the initial values in the sequential iterative procedure to obtain the approximations on the next block. Therefore, the value y n + 2 cannot be removed either, and the 2-step block methods are given in this case by three formulas where the unknowns are y n + 1 , y n + 2 and y n + 2 . Now the set of equations is the previous E 2 after removing the equation corresponding to y n + 1 , that is, p ( x n + h ) = y n + 1 .
Proceeding similarly as before, fixing the principal variables a j , j = 0 , , 4 , there is a total of 8 3 = 56 possibilities to get the solutions, that is, this is a number of different formulations of the 2-step block method. To obtain the simplest, we also establish as principal variables the f n + 1 and f n + 2 , which results in 6 possibilities. Taking as the remaining principal variable y n + 2 , we get one of the simplest formulations of the two-step block method for numerically solving the special second-order problem, which is given by
h 2 f n + 1 = 4 5 h 2 f n + 3 10 h y n + 2 + 9 y n 3 10 8 y n 8 y n + 1 , h 2 f n + 2 = 11 5 h 2 f n + 3 5 h 13 y n + 3 y n + 2 + 48 5 y n y n + 1 , y n + 2 = 1 5 ( 11 y n + 16 y n + 1 ) 2 5 h 4 y n y n + 2 2 5 h 2 f n .
If we had taken as principal variables y n + 1 , y n + 2 and y n + 2 , or had solved the above equations in them, the method would be written as
y n + 1 = y n + h y n + 1 24 h 2 ( 7 f n + 6 f n + 1 f n + 2 ) , y n + 2 = y n + 2 h y n + 2 3 h 2 ( f n + 2 f n + 1 ) , y n + 2 = y n + 1 3 h ( f n + 4 f n + 1 + f n + 2 ) .
although it is not recommended, due to the higher number of occurrences of f.

3. Analysis of k -Step Block Methods

For values of k > 2 , there is a similar situation as before. The k-step block methods may be formulated in many different ways, but a few of them are the most efficient ones. We again consider two sections, one for the general second-order differential equation and another for the special second-order differential equation.

3.1. k-Step Block Methods for y = f ( x , y , y ) :

For k = 3 , the most common formulation of the block method for solving (1) is given by (see for example [15,16,17], although in the last one there is a misprint in the formula for y n + 3 ):
y n + 1 = y n + h y n + h 2 360 97 f n + 114 f n + 1 39 f n + 2 + 8 f n + 3 , y n + 2 = y n + 2 h y n + h 2 45 28 f n + 66 f n + 1 6 f n + 2 + 2 f n + 3 , y n + 3 = y n + 3 h y n + h 2 40 39 f n + 108 f n + 1 + 27 f n + 2 + 6 f n + 3 , y n + 1 = y n + h 24 9 f n + 19 f n + 1 5 f n + 2 + 3 f n + 3 , y n + 2 = y n + h 3 f n + 4 f n + 1 + f n + 2 , y n + 3 = y n + h 8 3 f n + 9 f n + 1 + 9 f n + 2 + 3 f n + 3 .
Other formulations for three-step block methods may be found in [18,19], or [20]. Nevertheless, one of the simplest formulations of the above three-step method is
y n + 1 = y n + h 1080 614 y n + 513 y n + 1 54 y n + 2 + 7 y n + 3 + 19 h 2 180 f n , y n + 2 = y n + h 135 56 y n + 162 y n + 1 + 54 y n + 2 2 y n + 3 + 2 h 2 45 f n , y n + 3 = y n + h 40 26 y n + 27 y n + 1 + 54 y n + 2 + 13 y n + 3 + 3 h 2 20 f n , h f n + 1 = h 3 f n 1 18 17 y n 9 y n + 1 9 y n + 2 + y n + 3 , h f n + 2 = h 3 f n + 1 9 7 y n 18 y n + 1 + 9 y n + 2 + 2 y n + 3 , h f n + 3 = h f n 1 6 13 y n 27 y n + 1 + 27 y n + 2 13 y n + 3 .
Concerning the 4-step block method, different formulations may be found in [21,22,23]. In [24,25,26,27] different formulations for the 5-step block method have appeared. For the 6-step block method one can see the references [28,29,30,31]. For k > 6 we have found only two references, both by the same author, one of them concerning the 7-step block method [32] and the other one on the 8-step block method [33]. Other k-step block methods can be found in [34,35,36,37,38,39,40,41,42,43], just to mention but a few. In all these articles, the methods are expressed in the usual form, of the same type as in (11).
In what follows, we will analyze the development and the best formulations of the block methods with k steps, with k N . For this, we use a similar strategy as in the previous case for k = 2 . Now we take the grid points x n , x n + 1 = x n + h , , x n + k = x n + k h . To get an approximate solution of the problem in (1) on the grid points on the interval [ x n , x n + k ] , we consider that the true solution y ( x ) is approximated by the polynomial p ( x )
y ( x ) p ( x ) = j = 0 k + 2 a j x j .
The a j R are unknown coefficients that will be determined after imposing collocation conditions to p ( x ) , p ( x ) , and p ( x ) at the grid points x n , x n + 1 , , x n + k . If we take k + 3 equations from the set
E k = p ( x n + i h ) = y n + i , p ( x n + i h ) = y n + i , p ( x n + i h ) = f n + i , i = 0 , 1 , , k
we obtain a system of k + 3 equations in k + 3 unknowns (these are the coefficients a j , j = 0 , 1 , , k + 2 ). After solving the system, the obtained values are substituted in p ( x ) . There are 2 k remaining equations of the total of 3 ( k + 1 ) equations, which result in a k-step block method.
The equations in E k may be reformulated in matrix-vector form as
B k y k = 0 ,
where
B k = 1 x n x n 2 x n k + 2 1 x n + 1 x n + 1 2 x n + 1 k + 2 1 x n + k x n + k 2 x n + k k + 2 0 1 2 x n ( k + 2 ) x n k + 1 0 1 2 x n + 1 ( k + 2 ) x n + 1 k + 1 I 3 ( k + 1 ) 0 1 2 x n + k ( k + 2 ) x n + k k + 1 0 0 2 ( k + 2 ) ( k + 1 ) x n k 0 0 2 ( k + 2 ) ( k + 1 ) x n + 1 k 0 1 2 ( k + 2 ) ( k + 1 ) x n + k k ,
I 3 ( k + 1 ) is the identity matrix of dimension 3 ( k + 1 ) , and
y k = a 0 , a 1 , , a k + 2 , y n , y n + 1 , , y n + k , y n , y n + 1 , , y n + k , f n , f n + 1 , , f n + k T .
It is clear that the above matrix has rank 3 ( k + 1 ) , and thus the system of 3 ( k + 1 ) equations has a unique solution given in terms of some parameters. If we choose any 3 ( k + 1 ) values of y k as principal variables, the solutions will be expressed in terms of these variables. Among those variables, k + 3 are taken as the parameters a j , j = 0 , 1 , , k + 2 , in order to get the polynomial p ( x ) . The other principal variables that have not been considered up to now, give the 2 k formulas that form the different k-step block methods. Doing this, the number of possibilities is 3 k + 3 2 k , which corresponds to a number of different formulations of the k-step block method. The important thing is that all these formulations are equivalent, and thus we can say that there is only one k-step block method, that present different formulations. It should be noted here that applying the different formulations of a selected method will not produce the same numerical results, but this is due to the different errors involved in the calculations. If the calculations were exact, without rounding errors, all methods would produce the same approximations.
Among the possible equivalent formulations of the k-step block methods, we will consider those in which the number of occurrences of f is the lowest. Taking the a j , j = 0 , 1 , , k + 2 , and f n + i , i = 1 , , k , as principal variables, there are 2 k + 3 k of such simplest methods. Among these, if we also take the y n + i , i = 1 , , k , as principal variables, then there is only one such method (as is the method in (12) for k = 3 ). For this choice, the possible non-linearity of f is reflected only k times in the equations of the block method.

3.2.k-Step Block Methods for y = f ( x , y ) :

Now, for the special second order equation the procedure is similar as we did for k = 2 . If we are not interested in the values of the first derivatives, we can remove almost all the equations corresponding to these values in the system (14) being careful not to remove the one corresponding to the initial value value y n and the one for y n + k (this value will be needed in the iterative procedure to approximate the solution in the next block). The k-step block methods will consist of a set of k + 1 formulas where the k + 1 unknowns are y n + 1 , , y n + k and y n + k . In the system in (14) we have to remove the equations p ( x n + i h ) = y n + i , i = 1 , , k 1 .
The resulting system can be also arranged in matrix form and the corresponding matrix, similar to the B k in the previous case, now has a rank 2 ( k + 1 ) + 2 . Proceeding as before, fixing as principal variables the a j , j = 0 , , k + 2 , there is a total of 2 k + 4 k + 1 possibilities to get the solutions, that is, a number of different formulations of the k-step block method. To obtain the simplest, we also set as principal variables the f n + 1 , f n + 2 , , f n + k , resulting in k + 4 1 = k + 4 possibilities. Among these k + 4 possibilities, if we take as the remaining principal variable y n + k , we get one of the simplest formulations of the k-step block method. This formulation is unique, as is the method in (9) for k = 2 . Again, for these formulations, the non-linearity of f is reflected only k times in the formulas of the block method.
We note that in the simplified formulation of the method for the special equation y = f ( x , y ) , the variables y n + 1 , , y n + ( k 1 ) are not involved. Therefore, it is not possible to use this simplified method when the equation is of the form y = f ( x , y , y ) .

4. Characteristics of the Methods

Order and Local Truncation Error: The k-step block methods constructed in Section 3 for solving (1) can be expressed as
A 1 Y τ + 1 = A 0 Y τ + h 2 ( B 0 F τ + B 1 F τ + 1 )
where
Y τ + 1 = ( y n + 1 , , y n + k , h y n + 1 , , h y n + k ) ,
Y τ = ( y n k + 1 , , y n 1 , y n , h y n k + 1 , , h y n 1 , h y n ) ,
F τ + 1 = ( f n + 1 , , f n + k , h f n + 1 , , h f n + k ) ,
F τ = ( f n k + 1 , , f n 1 , f n , h f n k + 1 , , h f n 1 , h f n ) ,
τ = 0 , , λ , n = 0 , k , 2 k , , N = λ k , being λ the number of blocks in the interval [ x 0 , b ] , and A 0 , A 1 , B 0 , and B 1 square matrices of dimension 2 k whose elements are the corresponding coefficients of the k-step block method considered. These matrices have a special structure, in particular if we adopt to normalize B 1 , then A 1 and B 1 are formed by square submatrices of dimensions k as follows (I, identity matrix; O, null matrix)
A 1 = I k A 1 , 2 O k × k A 2 , 2 , B 1 = O k × k O k × k I k O k × k .
The local truncation error (LTE) of (15) is defined as
L [ Z τ + 1 ; h ] = A 1 Z τ + 1 ( A 0 Z τ + h 2 ( B 0 F ¯ τ + B 1 F ¯ τ + 1 ) ) ,
where
Z τ + 1 = ( z ( x n + 1 ) , , z ( x n + k ) , h z ( x n + 1 ) , , h z ( x n + k ) ) ,
Z τ = ( z ( x n k + 1 ) , , z ( x n ) , h z ( x n k + 1 ) , , h z ( x n ) ) ,
F ¯ τ + 1 = ( f ( x n + 1 , z ( x n + 1 ) , z ( x n + 1 ) ) , , f ( x n + k , z ( x n + k ) , z ( x n + k ) ) ,
h f ( x n + 1 , z ( x n + 1 ) , z ( x n + 1 ) ) , , h f ( x n + k , z ( x n + k ) , z ( x n + k ) ) ,
F ¯ τ = ( f ( x n k + 1 , z ( x n k + 1 ) , z ( x n k + 1 ) ) , , f ( x n , z ( x n ) , z ( x n ) ) ,
h f ( x n k + 1 , z ( x n k + 1 ) , z ( x n k + 1 ) ) , , h f ( x n , z ( x n ) , z ( x n ) ) ) .
Assuming that z ( x ) is a sufficiently differentiable function, the terms in (16) can be expanded by Taylor series about the point x n to obtain the expression of the LTE as
L [ Z τ + 1 ; h ] = C 0 z ( x n ) + C 1 h z ( x n ) + + C q h q z ( q ) ( x n ) +
where the constant coefficients C q , q = 0 , 1 , are column vectors of size 2 k (see [44]), since the entries of the matrices A 0 , A 1 , B 0 , and B 1 are given by the coefficients of the methods in Section 3. For instance, for k = 3 the specific matrices for the method in (12) are given by
A 1 = 1 0 0 19 40 1 20 7 1080 0 1 0 6 5 2 5 2 135 0 0 1 27 40 27 20 13 40 0 0 0 1 2 1 2 1 18 0 0 0 2 1 2 9 0 0 0 9 2 9 2 13 6 , A 0 = 0 0 1 0 0 307 540 0 0 1 0 0 56 135 0 0 1 0 0 13 20 0 0 0 0 0 17 18 0 0 0 0 0 7 9 0 0 0 0 0 13 6 ,
B 1 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 , B 0 = 0 0 19 180 0 0 0 0 0 2 45 0 0 0 0 0 3 20 0 0 0 0 0 1 3 0 0 0 0 0 1 3 0 0 0 0 0 1 0 0 0 .
Definition 1.
We say that the method in (15) has order p 1 if C 0 = C 1 = = C p = C p + 1 = 0 and C p + 2 0 . In this case, the LTE satisfies
L [ Z τ + 1 ; h ] = C p + 2 h p + 2 + O ( h p + 3 ) .
Definition 2.
If the block method in (15) has order p 1 , it is said to be consistent.
Zero-stability: Zero-stability is concerned with the stability of the first characteristic polynomial ρ ¯ ( R ) in the limit as h tends to zero. Thus, as h 0 , the block method (15) tends to the difference system A 1 Y τ + 1 A 0 Y τ = 0 . It can be shown that ρ ¯ ( R ) for the methods given in Section 3 can be expressed as
ρ ¯ ( R ) = det ( R A 1 A 0 ) = א R 2 ( k 1 ) ( R 1 ) 2 ,
א is a constant and k is the number of steps in the block. For instance, for k = 2 , א = 3 2 ,
A 1 = 1 0 5 / 12 1 / 48 0 1 4 / 3 1 / 3 0 0 1 1 / 4 0 0 4 2 , A 0 = 0 1 0 29 / 48 0 1 0 1 / 3 0 0 0 5 / 4 0 0 0 2 ,
ρ ¯ ( R ) = det ( R A 1 A 0 ) = 3 2 R 2 ( R 1 ) 2 .
We note that the roots R j of ρ ¯ ( R ) = 0 , satisfy | R j | 1 , j = 1 , 2 , and for those roots with | R j | = 1 , the multiplicity does not exceed 2.
Definition 3.
The block method (15) is zero stable provided the roots R j , j = 1 , , 2 k , of its first characteristic polynomial satisfy | R j | 1 , j = 1 , , 2 k , and for those roots with | R j | = 1 , the multiplicity does not exceed 2.
Definition 4.
The block method (15) is said to be convergent if it is consistent and zero-stable.
Linear stability: In order to study the linear stability of (15) we apply the method to the test equation y = λ 2 y δ y , where λ is the frequency and δ is the damping (see [45]). Letting θ = λ h and σ = δ h , it can be easily shown that the application of (15) to the test equation yields
Y τ + 1 = M ( θ , σ ) Y τ : = ( A 1 B 1 ( θ , σ ) ) 1 ( ( A 0 + B 0 ( θ , σ ) ) Y τ ,
where the eigenvalues of the amplification matrix M ( θ , σ ) determine the stability of the method.
Definition 5.
The region of stability of the method in (15) is the region in the θ , σ -plane in which the spectral radius verifies ρ ( M ( θ , σ ) ) < 1 (see [45]).
Remark 2.
We note that when δ = 0 ( σ = 0 ) the stability interval associated with test linear model y = λ y is obtained. Specifically, for ρ ( M ( θ 2 ) ) = 1 , we obtain the so-called interval of periodicity which is an interval throughout which the spectral radius is less or equal to unity (see [46]).
For example, in Figure 1 and Figure 2 the stability regions and periodicity intervals for the 2-step and 3-step methods are shown.

5. Numerical Experiments

The performances of the different formulations of the block methods derived in this work are presented in this section considering some numerical experiments. Our goal was to compare the performance of the usual formulations with the simplest formulations proposed in this paper. We will consider the usual k-step block methods named as B k , which are obtained taking as principal variables in the system in Section 3 the a j , j = 0 , 1 , , k , the y n + 1 , , y n + k , and the y n + 1 , , y n + k , and one of the simplest k-step block methods, named as B k S (which are obtained taking as principal variables in the system in Section 3 the a j , j = 0 , 1 , , k the f n + 1 , , f n + k ) and the y n + 1 , , y n + k . For problems of the form y = f ( x , y ) the proposed methods in Section 3.2 will be named B k S ¯ . We have chosen values of k = 4 , 6 , 8 , 10 and have expressed the results considering the efficiency curves where we have plotted the logarithms of the maximum absolute errors, log 10 E r r , over the integration interval versus the CPU times. We can see clearly in the plots that the B k S (or B k S ¯ ) formulations outperform greatly those of the B k .
Example 1.
Consider the IVP given by
y = y y y 3 + cos 3 ( x ) sin ( x ) , x [ 0 , 20 ] y ( 0 ) = 1 , y ( 0 ) = 0 ,
whose exact solution is given by y ( x ) = cos ( x ) . We have taken fixed stepsizes h = 20 10 k , 20 20 k , 20 40 k , 20 80 k , with k = 4 , 6 , 8 , and 10. The efficiency curves are shown in Figure 3.
Example 2 (source: [45]).
Consider the IVP given by
y ( x ) + 13 12 12 13 y ( x ) = 12 ε 5 3 2 2 3 y ( x ) + ε 2 f 1 ( x ) f 2 ( x ) , x [ 0 , 20 ] , y ( 0 ) = ε ε , y ( 0 ) = 4 6 ;
with y = ( y 1 ( x ) , y 2 ( x ) ) T , f 1 ( x ) = 36 5 sin ( x ) + 24 sin ( 5 x ) , f 2 ( x ) = 24 5 sin ( x ) 36 sin ( 5 x ) , whose exact solution is given by y ( x ) = sin ( x ) sin ( 5 x ) + ε cos ( x ) sin ( x ) + sin ( 5 x ) + ε cos ( 5 x ) . Again, we have taken fixed stepsizes h = 20 10 k , 20 20 k , 20 40 k , 20 80 k , with k = 4 , 6 , 8 , and 10. The efficiency curves are shown in Figure 4 for ε = 10 3 .
Example 3 (source: [44]).
Consider the autonomous system of second order IVP
y 1 = y 1 y 1 2 + y 2 2 ; y 1 ( 0 ) = 1 e , y 2 ( 0 ) = 0 , y 2 = y 2 y 1 2 + y 2 2 ; y 2 ( 0 ) = 0 , y 2 ( 0 ) = 1 + e 1 e , x [ 0 , 15 π ] ,
whose exact solution is y 1 = cos ( x ) , y 2 = sin ( x ) . We have taken stepsizes h = 15 π 10 k , 15 π 20 k , 15 π 40 k , 15 π 80 k with k = 4 , 6 , 8 , and 10. The good performance of the simplified formulations may be seen in the efficiency plots in Figure 5.
Example 4 (source: [47]).
Finally, we consider the system of second order equations given by
y = y + 1 y 2 + z 2 1 u 2 + w 2 y ( 0 ) = 1 , y ( 0 ) = 0 z = z + 1 y 2 + z 2 1 u 2 + w 2 z ( 0 ) = 0 , z ( 0 ) = 1 u = 4 u + 1 y 2 + z 2 1 u 2 + w 2 u ( 0 ) = 1 , u ( 0 ) = 0 w = 4 w + 1 y 2 + z 2 1 u 2 + w 2 w ( 0 ) = 0 , w ( 0 ) = 2
on the interval [ 0 , 2 ] , whose exact solution is given by
y = cos ( x ) , z = sin ( x ) , u = cos ( 2 x ) , w = sin ( 2 x ) .
We have taken step sizes h = 2 10 k , 2 20 k , 2 40 k , 2 80 k with k = 4 , 6 , 8 , and 10. The efficiency curves are shown in Figure 6.

6. Conclusions

This paper aimed at analyzing the linear k-step block methods for directly solving second-order IVPs. We have presented an extensive bibliography that includes the state of the art up to this moment. For a fixed number of steps, the different methods that appear in the literature are actually different formulations of the same method. Not only this, but among the many formulations of a method there are a few of them that are the most efficient from the point of view of computational cost. Some examples have been presented to show the performance of the methods considered. We claim that among the different formulations of the methods considered, the simplest ones in terms of number of occurrences of the function f are the most efficient ones if standard routines based on the classical Newton’s method are used for solving the discrete problem. This claim is supported by the numerical experiments, where the proposed formulations use half the time or less than the formulations that usually appear in the literature. Nevertheless, different conclusions might be possible if more efficient ad-hoc procedures based on a suitable diagonalization of the coefficient matrices or on suitable nonlinear splittings are employed.

Author Contributions

Conceptualization, H.R.; methodology, H.R. and S.N.J.; software, H.R., S.N.J., and M.I.M.; validation, H.R., S.N.J., and M.I.M.; formal analysis, H.R., S.N.J., and M.I.M.; writing—review and editing, H.R., S.N.J., and M.I.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Algorithm 1: Algorithm to get the Formulas of the Proposed k-Step Block Methods.
Mathematics 08 01752 i001

References

  1. 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. 2016, 291, 39–51. [Google Scholar] [CrossRef]
  2. 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. 2018, 333, 231–245. [Google Scholar] [CrossRef]
  3. Ramos, H.; Rufai, M.A. A third-derivative two-step block Falkner-type method for solving general second-order boundary-value systems. Math. Comput. Simul. 2019, 165, 139–155. [Google Scholar] [CrossRef]
  4. Singh, G.; Ramos, H. An optimized two-step hybrid block method formulated in variable step-size mode for integrating y′′=f(x,y,y) numerically. Numer. Math. Theor. Meth. Appl. 2019, 12, 640–660. [Google Scholar]
  5. Milne, W.E. Numerical Solution of Differential Equations; John Wiley & Sons: New York, NY, USA, 1953. [Google Scholar]
  6. Chu, M.T.; Hamilton, H. Parallel Solution of ODE’s by Multi-Block Methods. SIAM J. Sci. Stat. Comput. 1987, 8, 342–353. [Google Scholar] [CrossRef]
  7. Fatunla, S.O. Block methods for second order odes. Int. J. Comput. Math. 1991, 41, 55–63. [Google Scholar] [CrossRef]
  8. Ibrahim, Z.B. Block Multistep Methods for Solving Ordinary Differential Equations. Ph.D. Thesis, Universiti Putra Malysia, Seri Kembangan, Malaysia, 2006. [Google Scholar]
  9. Shampine, L.F.; Watts, H.A. Block implicit one-step methods. Math. Comp. 1969, 23, 731–740. [Google Scholar] [CrossRef]
  10. Brugnano, L.; Trigiante, D. Solving Differential Problems by Multistep Initial and Boundary Value Methods; Gordon and Breach Science Publishers: Amsterdam, The Netherlands, 1998. [Google Scholar]
  11. Ramos, H.; Popescu, P. How many k-step linear block methods exist and which of them is the most efficient and simplest one? Appl. Math. Comput. 2018, 316, 296–309. [Google Scholar] [CrossRef]
  12. Adesanya, A.O.; Anake, T.A.; Bishop, S.A.; Osilagun, J.A. Two steps block method for the solution of general second order initial value problems of ordinary differential equation. J. Natural Sci. Eng. Technol. 2009, 8, 25–33. [Google Scholar]
  13. Adebile, E.A.; Anake, T.A.; Adesanya, A.O.; Ogbonyon, G. Numerov’s method for the solution of second order initial value problems of ordinary differential equation using modified block method. Niger. J. Educ. 2011, 9, 45–53. [Google Scholar]
  14. Majid, Z.A.; Mokhtar, N.Z.; Suleiman, M. Direct Two-Point Block One-Step Method for Solving General Second-Order Ordinary Differential Equations. Math. Probl. Eng. 2012, 9, 45–53. [Google Scholar] [CrossRef] [Green Version]
  15. Awoyemi, D.O.; Adebile, E.A.; Adesanya, A.O.; Anake, T.A. Modified block method for the direct solution of second order ordinary differential equations. Int. J. Appl. Math. Comput. 2011, 3, 181–188. [Google Scholar]
  16. Adesanya, A.O.; Odekunle, M.R.; Alkali, M.A. Three Steps Block Predictor-Block Corrector Method For The Solution Of General Second Order Ordinary Differential Equations. Int. J. Eng. Res. Appl. 2012, 2, 2297–2301. [Google Scholar]
  17. Adeyefa, E.O.; Joseph, F.L.; Ogwumu, O.D. Three-step implicit block method for second order ODEs. Int. J. Eng. Sci. Invent. 2014, 3, 34–38. [Google Scholar]
  18. Mukhtar, N.Z.; Majid, Z.A.; Ismail, F.; Suleiman, M. Solutions of general second order odes using direct block method of Runge-Kutta type. J. Qua. Meas. Anal. 2011, 7, 145–154. [Google Scholar]
  19. Adesanya, A.O.; Anake, T.A.; Oghoyon, G.J. Continuous implicit method for tbe solution of general second order ordinary differential equations. J. Niger. Assoc. Math. Phys. 2009, 15, 71–78. [Google Scholar]
  20. Yahaya, Y.A.; Tijjani, A.A. Formulation of corrector methods from 3-step hybrid Adams type methods for the solution of first order ordinary differential equation. In Proceedings of the 32nd The IIER International Conference, Dubai, UAE, 8 August 2015. [Google Scholar]
  21. Jator, S.N.; Li, J. A self-starting linear multistep method for a direct solution of the general second-order initial value problem. Int. J. Comput. Math. 2009, 86, 827–836. [Google Scholar] [CrossRef]
  22. Osilagun, J.A.; Adesanya, A.; Anake, T.A.; Oghoyon, G.J. Four steps implicit method for the solution of general second order ordinary differential equations. J. Natural Sci. Eng. Technol. 2009, 8, 52–61. [Google Scholar]
  23. Yahaya, Y.A.; Adegboye, Z.A. Construction and Implementation of a 4-Step Implicit Collocation Method for Solution of First and Second Order ODEs. Pac. J. Sci. Technol. 2012, 13, 159–165. [Google Scholar]
  24. Badmus, A.M.; Yahaya, Y. An Accurate Uniform Order 6 Block Method for Direct Solution of General Second Order Ordinary Differential Equations. Pac. J. Sci. Technol. 2009, 10, 248–254. [Google Scholar]
  25. Jator, S.N. A sixth order linear multistep method for the direct solution of y′′=f(x,y,y). Int. J. Pure Appl. Math. 2007, 10, 457–472. [Google Scholar]
  26. Kuboye, J.O.; Omar, Z. Multistep Collocation Block Method for Direct Solution of Second Order Ordinary Differential Equations. Am. J. Appl. Sci. 2015, 12, 663–668. [Google Scholar] [CrossRef] [Green Version]
  27. Omar, Z.; Kuboye, J.O. A New Implicit Block Method for Solving Second Order Ordinary Differential Equations Directly. Gazi Univ. J. Sci. 2015, 28, 689–694. [Google Scholar]
  28. Awari, Y.S. Derivation and Application of Six-Point Linear Multistep Numerical Method for Solution of Second Order Initial Value Problems. IOSR J. Math. 2013, 7, 23–29. [Google Scholar]
  29. Jator, S.N.; Lee, L. Implementing a seventh-order linear multistep method in a predictor-corrector mode or block mode: Which is more efficient for the general second order initial value problem. SpringerPlus 2014, 3. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Kuboye, J.O.; Omar, Z. Derivation of a six-step block method for direct solution of second order ordinary differential equations. Math. Comput. Appl. 2015, 20, 151–159. [Google Scholar]
  31. Mohammed, U.; Jiya, M.; Mohammed, A.A. A Class of Six Step Block Method for Solution of General Second Order Ordinary Differential Equations. Pac. J. Sci. Technol. 2010, 11, 273–277. [Google Scholar]
  32. Awari, Y.S.; Abada, A.A. A Class of Seven Point Zero Stable Continuous Block Method for Solution of Second Order Ordinary Differential Equation. Int. J. Math. Stat. Invent. 2014, 2, 47–54. [Google Scholar]
  33. Awari, Y.S. On the Derivation of High Order Formulae with Interpolants for Solution of Eight-Point Second Order Ordinary Differential Equations. IOSR J. Math. 2013, 7, 30–37. [Google Scholar]
  34. Kuboye, J.O.; Omar, Z. Developing New Block Method for Direct Solution of Second-Order Ordinary Differential Equations. In Proceedings of the International Conference on Computing, Mathematics and Statistics, Langkawi Island, Malaysia, 4–5 November 2015. [Google Scholar]
  35. Ramos, H.; Kalogiratou, Z.; Monovasilis, T.; Simos, T.E. An optimized two-step hybrid block method for solving general second order initial-value problems. Numer. Algor. 2016, 4, 1089–1102. [Google Scholar] [CrossRef]
  36. Majid, Z.A.; Suleiman, M.; Ismail, F.; Othman, M. 2-Point Implicit Block One-Step Method Half Gauss-Seidel For Solving First Order Ordinary Differential Equations. Matematika 2003, 19, 91–100. [Google Scholar]
  37. Okechukwu, U.C. Reformulation of Adams-Moulton Block Methods as a Sub-Class of Two Step Runge-Kutta Method. J. Basic Appl. Sci. 2014, 10, 20–27. [Google Scholar] [CrossRef] [Green Version]
  38. Hongjiong, T.; Bailin, C. Block methods for linear Hamiltonian systems. J. Shanghai Normal Univ. 2014, 43, 9–21. [Google Scholar]
  39. Majid, Z.A.; Suleiman, M.B.; Omar, Z. 3-Point Implicit Block Method for Solving Ordinary Differential Equations. J. Basic Appl. Sci. 2006, 29, 23–31. [Google Scholar]
  40. Akinfenwa, O.A.; Yao, N.M.; Jator, S.N. A Self Starting Block Adams Methods for solving stiff Ordinary Differential Equation. In Proceedings of the 14th International Conference on Computational Science and Engineering, Dalian, China, 24–26 August 2011. [Google Scholar] [CrossRef]
  41. Odekunle, M.R.; Adesanya, A.O.; Sunday, J. A New Block Integrator for the Solution of Initial Value Problems of First-Order Ordinary Differential Equations. Int. J. Pure Appl. Sci. Technol. 2012, 11, 92–100. [Google Scholar]
  42. Sunday, J.; Skwame, Y.; Odekunle, M.R. A Continuous Block Integrator for the Solution of Stiff and Oscillatory Differential Equations. IOSR J. Math. 2013, 8, 75–80. [Google Scholar]
  43. Akinfenwa, O.A.; Jator, S.N.; Yao, N.M. Continuous block backward differentiation formula for solving stiff ordinary differential equations. Comput. Math. Appl. 2013, 65, 996–1005. [Google Scholar] [CrossRef]
  44. 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. Comp. Appl. Math. 2017, 318, 550–564. [Google Scholar] [CrossRef]
  45. Liu, K.; Wu, X. Multidimensional ARKN methods for general oscillatory second-order initial value problems. Comput. Phys. Commun. 2014, 185, 1999–2007. [Google Scholar] [CrossRef]
  46. Ramos, H.; Lorenzo, C. Review of explicit Falkner methods and its modifications for solving special second-order I.V.P.s. Comput. Phys. Commun. 2010, 181, 1833–1841. [Google Scholar] [CrossRef]
  47. Hussain, K.; Ismail, F.; Senu, N. Runge-kutta type methods for directly solving special fourth-order ordinary differential equations. Math. Probl. Eng. 2015. [Google Scholar] [CrossRef] [Green Version]
Figure 1. (a) The stability region for the simplest 2-step block method plotted in the ( θ , σ ) -plane and (b) the periodicity interval for the simplest 2-step block method plotted in the ( θ 2 , ρ ( M ( θ 2 ) ) ) -plane when δ = 0 ( σ = 0 ).
Figure 1. (a) The stability region for the simplest 2-step block method plotted in the ( θ , σ ) -plane and (b) the periodicity interval for the simplest 2-step block method plotted in the ( θ 2 , ρ ( M ( θ 2 ) ) ) -plane when δ = 0 ( σ = 0 ).
Mathematics 08 01752 g001
Figure 2. (a) The stability region for the simplest 3-step block method plotted in the ( θ , σ ) -plane and (b) the periodicity interval for the simplest 3-step block method plotted in the ( θ 2 , ρ ( M ( θ 2 ) ) ) -plane when δ = 0 ( σ = 0 ).
Figure 2. (a) The stability region for the simplest 3-step block method plotted in the ( θ , σ ) -plane and (b) the periodicity interval for the simplest 3-step block method plotted in the ( θ 2 , ρ ( M ( θ 2 ) ) ) -plane when δ = 0 ( σ = 0 ).
Mathematics 08 01752 g002
Figure 3. Efficiency curves for Example 1 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Figure 3. Efficiency curves for Example 1 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Mathematics 08 01752 g003
Figure 4. Efficiency curves for Example 2 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Figure 4. Efficiency curves for Example 2 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Mathematics 08 01752 g004
Figure 5. Efficiency curves for Example 3 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Figure 5. Efficiency curves for Example 3 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Mathematics 08 01752 g005
Figure 6. Efficiency curves for Example 4 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Figure 6. Efficiency curves for Example 4 comparing performances of usual formulations ( B 4 , B 6 , B 8 , B 10 ) and proposed ones ( B 4 S , B 6 S , B 8 S , B 10 S ).
Mathematics 08 01752 g006

Share and Cite

MDPI and ACS Style

Ramos, H.; Jator, S.N.; Modebei, M.I. Efficient k-Step Linear Block Methods to Solve Second Order Initial Value Problems Directly. Mathematics 2020, 8, 1752. https://doi.org/10.3390/math8101752

AMA Style

Ramos H, Jator SN, Modebei MI. Efficient k-Step Linear Block Methods to Solve Second Order Initial Value Problems Directly. Mathematics. 2020; 8(10):1752. https://doi.org/10.3390/math8101752

Chicago/Turabian Style

Ramos, Higinio, Samuel N. Jator, and Mark I. Modebei. 2020. "Efficient k-Step Linear Block Methods to Solve Second Order Initial Value Problems Directly" Mathematics 8, no. 10: 1752. https://doi.org/10.3390/math8101752

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