Abstract
The main contribution in this paper is to construct an implicit fixed coefficient Block Backward Differentiation Formulas denoted as -BBDF with equal intervals for solving stiff ordinary differential equations (ODEs). To avoid calculating the differentiation coefficients at each step of the integration, the coefficients of the formulas will be stored, with the intention of optimizing the performance in terms of precision and computational time. The plots of their stability region are provided, and the order of the method is also verified. The necessary conditions for convergence, such as the consistency and zero stability of the method, are also discussed. The numerical results clearly showed the efficiency of the method in terms of accuracy and execution time as compared to other existing methods in the scientific literature.
1. Introduction
Ordinary Differential Equations (ODEs) are frequently used in much mathematical modelling of real-world problems. Many of the applications, notably in chemical engineering and control theory, exhibit a phenomenon known as stiffness (see [1]). As stated by [2], stiff systems are found in the description of atmospheric phenomena, chemical reactions occurring in living species, chemical kinetics (e.g., explosions), engineering control systems, electronic circuits, lasers, mechanics and molecular dynamics. Many factors, such as stability, step size selection, precision, and computer time, should be taken into account when developing a numerical method for stiff ODEs. The requirement on A-stability puts a severe limitation on the choice of suitable methods for the solution of stiff ODEs (see [3,4]). Therefore, a great deal of effort focuses on the development of numerical methods with a larger stability region with the property of A-stability, so as to cope with the ‘stiffness’ of the differential equations. The concept of A-stability for initial value problems in ODEs was introduced by [5]. Dahlquist proved that the trapezoidal method has the highest order (=2) of the global discretization error term and has the smallest error constant of all linear A-stable multistep methods.
In this paper, we consider general first order ordinary differential equations of the following form:
where is a real valued function in the interval which satisfies the Lipschitz conditions that assured the existence and uniqueness of the solution to Equation (1). The phenomenon of stiffness is not precisely defined in the literature. It is most common to define stiffness in terms of the eigenvalues of the Jacobian matrix. Equation (1) is said to be stiff if the eigenvalues of the Jacobian matrix satisfy the following conditions:
The development of multistep block methods for solving Equation (1) has been studied by many researchers (see [3,5,6,7,8,9,10,11]). Recently, numerous works have focused on the modification of various types of multistep block methods to improve the efficiency in terms of the accuracy of the approximate solution and the computational time, (see [3,5,6,7,8,9,10,11]). Although many block multistep methods have been introduced in the past, most of these methods are based on Adams formulas for solving the ODEs, and the focus is specifically on the solution of non-stiff systems of ODEs. For the solution of stiff ODEs, the challenge is to develop a suitable implicit method with A-stability properties. It is important to develop an accurate algorithm with good stability properties since it is well known that stability appears to be the most serious limitation of block methods [12].
Backward Differentiation Formulas (BDFs) have been widely used due to their good stability properties. Many block methods based on the classical BDFs have been proposed for stiff ODEs. Among the most popular block methods based on Backward Differentiation Formulas (BDFs) are the Block Backward Differentiation Formulas (BBDFs) (see [8,11,12]). They proposed an r-point Block Backward Differentiation Formula (r-BBDF), which was later extended by [13,14,15]. It was reported that the block method based on BDF can be very effective in solving stiff ODEs in terms of reducing the computational time and improving the accuracy of the approximate solution [6,7,8,9,10,11,13,14,15]. Motivated by the fact that the work that was conducted based on BDF is efficient in solving stiff ODEs, our aim is to construct and perform some modifications to the existing block BDF by extending the method to produce three approximate solutions at a single iteration.
The paper is organized as follows; in Section 2, we present the derivation of the method, followed by a discussion on the stability of the method in Section 3. The implementation of the method will be discussed in Section 4, followed by the numerical results for the new methods in Section 5. Finally, the conclusions will be presented in Section 6.
2. Derivation of the Method
In this section, the new implicit fixed coefficient Block Backward Differentiation Formulas, denoted as -BBDF, are constructed with equal intervals. These block methods will generate three approximate solutions simultaneously at a single iteration from the values generated in the last block, as described by [7]. [16] took a similar approach in adjusting the BBDF given in [7] by introducing future points and the extra parameter . The major setback of the method by [16] is choosing the best value for the parameter when developing the coefficients of the correctors. Thus, the coefficient for the new formulas will be computed by choosing a better value for the parameter in order to improve the stability intervals and also the accuracy of the approximate solution. Moreover, the value of is chosen from the given interval . A detailed description of the parameter for the solution of Equation (1) can be found in many publications [16,17].
Assuming that the solution values and , specified as back values, are available, the new three-point -BBDF method which defines the next block of approximations and will be derived. First, we consider the following k-step linear multistep method (LMM) as defined in [18]:
where and are unknown constants which must be determined, and k is the step number of the method employed, and also assuming that and that and are not both equal to zero. The method in Equation (2) is explicit when and implicit otherwise. We have followed the LMM as defined in Equation (2) by specifying the following conditions, which include the free parameter . The general form of an implicit method with k equally spaced points for solving Equation (1) can be expressed as:
so that the coefficients to be defined in Equation (3) satisfy the condition of A-stability. In Equation (3), and are the coefficient matrixes of and that must be computed, and is a free parameter chosen in the interval as specified in [16]. From our numerical experiments, is chosen since it gives good stability properties required for solving stiff ODEs. The value was successfully substituted into Equation (3). Specifying the linear difference operator , associated with the linear multistep method, is given as follows:
Now, we expand Equation (4) to obtain:
where Expanding by the Taylor series about , we obtain the following:
Then, collecting the terms in and its derivatives, we obtain the following equation:
where
with
The coefficients of and are determined by substituting into Equation (6) for The resulting equations will be solved simultaneously, and the results are tabulated in Table 1.
Table 1.
Coefficients of the -BBDF.
All the values in Table 1 are substituted into Equation (5). Hence, the corresponding formulas for -BBDF take the following form:
2.1. Order of the Method
In Section 2.1, the order of the proposed method will be verified. We illustrate the definitions of the order for the Linear Multistep Method (LMM) as given in [18], using the following LMM Equation (2) and the associated difference operator L, defined by:
are said to be of the order p if The general form for the constant is defined as:
Since the derived method is a block method, we extend the definition given in Equation (9) in the following form:
where Aj and Bj are r by r matrices. Note that the constant Cq can be rewritten as:
It is easily shown that:
The term represents the error constant of the method. Since we conclude that the order of the developed method is five.
3. Stability Analysis
In this section, we will investigate the linear stability analysis for the derived method. This will lead to the location of the roots of the associated stability polynomial with respect to the unit circle in the complex plane.
3.1. Zero Stability
The standard definition of zero stability for block methods assumes the following definition introduced by Fatunla [19].
Definition 1.
The block method is zero stable provided the roots of the first characteristic polynomial
satisfy , and that for those roots with , the multiplicity must not exceed 1. The principal root of is denoted by are r by r matrices.
We start by considering the following test equation:
where is a complex number with a negative real part. We substitute Equation (11) into Equation (8) to obtain the matrix coefficients specified as:
with We have the stability polynomial of the method by computing The stability polynomial is given as follows:
Substituting in Equation (12), we solve the following equation to determine the roots of the stability polynomial:
Thus, we have the roots and . Since we conclude that the method is zero stable.
3.2. Stability Region
The region of absolute stability is the set of points for which the method produces a solution that never increases in magnitude, i.e., (see [20]). The chosen step size h should lie within the region of absolute stability of the numerical method.
Definition 2.
A numerical method is A-stable if its region of absolute stability contains the whole left-hand half-plane , as illustrated in Figure 1. The stability region is denoted by the shaded areas.
Figure 1.
The region of absolute stability for an A-stable method.
Unfortunately for LMM, the A-stable methods cannot have an order greater than 2, as stated in [20]. Furthermore, an explicit LMM cannot be A stable (see [20]). The weakening of this property leads to the following definition (see [20]).
Definition 3.
A method is stiffly stable with a stiffness abscissa D if the stability region includes all complex numbers z such that
Definition 4.
A method is stable if the stability region includes all complex numbers such that .
Definition 5.
is illustrated in Figure 2 by using a Backward Differentiation Formula of order 4, (BDF4), as an example. For BDF4, and .
Figure 2.
and stiff stability as presented in [19].
The boundary of the stability region is given by the set of points determined by , , for which Thus, the stability region of -BBDF, with and , is shown in Figure 2. The region of absolute stability lies outside the boundary.
It can clearly be seen in Figure 3 that our new method in Equation (8) is stable, as defined in [20]. Next, we discuss the convergence associated with the method in Equation (2).
Figure 3.
The region of absolute stability for -BBDF method.
3.3. Convergence of the Method
The necessary conditions for the convergence of the new method are determined using a theorem taken from [18], which states that a linear multistep method is convergent if and only if it is zero stable and consistent. The LMM given in Equation (2) is consistent if it satisfies these two conditions:
Based on these conditions, we determined the consistency of the formulas given in Equation (2). We obtained:
We have shown that the conditions given in [18] are satisfied. Therefore, we have verified that the -BBDF in Equation (8) converged.
4. Implementation
For the implementation of the method, the code developed for the -BBDF method would perform the scheme referred to as the PECE mode (Predict, Evaluate, Correct, Evaluate). The following illustrates how the derived method is implemented to solve Equation (1).
- Step 1.
- Predict: are developed explicitly.
- Step 2.
- Evaluate:
- Step 3.
- Correct: by
- Step 4.
- Evaluate:
The major drawback in the implementation of the -BBDF in general is that they are not self starting. In this case, the Euler method is used for the computation of the backvalues. Hence, Equation (8) can be solved using Newton’s iteration, and we restrict the number of iterations to two, i.e.,
where
and are the backvalues, given as follows:
The notation i is introduced to specify the iteration. Thus, will denote the iterative value of , and will denote the differences between the and iterative values of Similarly will denote the iterative value of , and will denote the iterative value of . Thus,
The following computations, written in matrix form, are carried out to obtain the approximations:
5. Numerical Results
In order to show the performance of the -BBDF method, the code was tested on several problems, three of which are presented in this paper. It seems appropriate to compare the new method with the existing method of the same order. We consider numerical solutions using the following three methods:
Table 2, Table 3 and Table 4 shows the numerical results for Problems 1 to 3. We use the following abbreviations:
Table 2.
Numerical comparison for Problem 1 for -BBDF method.
Table 3.
Numerical comparison for Problem 2 for the -BBDF method.
Table 4.
Numerical comparison for Problem 3 for the -BBDF method.
| BBDF(5) | : | Fifth order Block Backward Differentiation Formula in [12] |
| 3SBBDF | : | 3-point Superclass of Block Backward Differentiation Formula in [14] |
| -BBDF | : | New 3-point BBDF |
| NS | : | Number of steps |
| : | Step size | |
| T | : | Computing time in seconds |
| MAXE | : | Maximum error |
The maximum error is defined as
where is the exact solution, and is the computed solution.
The following figures show the relation between the maximum error and computational time for Problems 1 to 3 at various step sizes.
Figure 4, Figure 5 and Figure 6 show the variations of the step size with different errors in the -BBDF method. It can be seen that, when using -BBDF, a lower computational time is needed to achieve the same degree of accuracy when compared to BBDF(5) and 3SBBDF.
Figure 4.
Efficiency curves when solving Problem 1.
Figure 5.
Efficiency curves when solving Problem 2.
Figure 6.
Efficiency curves when solving Problem 3.
6. Discussion and Conclusions
In this paper, we construct the implicit -BBDF of order five to solve first order ODEs. The method is based on the classical BDF but differs in terms of the numbers of approximate solutions produced at each step of the integration. In our case, three approximate solutions are produced simultaneously at each step of the integration. These will facilitate a parallel implementation in the future. The numerical results support the efficiency of the new -BBDF method in terms of increasing the degree of accuracy with less computational time. Therefore, the derived method can be a suitable alternative for solving stiff ODEs.
Author Contributions
Conceptualization, Z.B.I.; Methodology, Z.B.I., N.M.N.; Investigation, N.M.N.; resources, K.I.O.; Writing—original draft preparation, Z.B.I.; N.M.N.; Writing—review and editing, Z.B.I., K.I.O.; Visualization, N.M.N.; supervision, Z.B.I.; project administration, Z.B.I.; Funding acquisition, UPM.
Funding
This research was funded by Institute for Mathematical Research, Universiti Putra Malaysia, under Project Code GP-IPS/2017/9518700.
Acknowledgments
The authors are thankful to the referees for their valuable comments.
Conflicts of Interest
The authors declare that there is no conflict of interests regarding the publication of this paper.
References
- Bui, T.D. Solving stiff differential equations in the simulation of physical systems. Simulation 1981, 37, 37–46. [Google Scholar] [CrossRef]
- Aiken, J.C. Stiff Review. In Proceedings of the International Conference on Stiff Computation, Park City, UT, USA, 12–14 April 1982. [Google Scholar]
- 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]
- Aceto, L.; Trigiante, D. On the A-stable methods in the GBDF class. Nonlinear Anal. Real World Appl. 2002, 3, 9–23. [Google Scholar] [CrossRef]
- Dahlquist, G. A Special Stability Problem for Linear Multistep Methods. BIT 1963, 3, 27–43. [Google Scholar] [CrossRef]
- Majid, Z.A.; Suleiman, M.B.; 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]
- Ibrahim, Z.B.; Othman, K.I.; Suleiman, M. Implicit r-point block backward differentiation formula for solving first-order stiff ODEs. Appl. Math. Comput. 2007, 186, 558–565. [Google Scholar] [CrossRef]
- Majid, Z.A.; Suleiman, M.; Omar, Z. 3-Point Implicit Block Method for solving ordinary differential equations. Bull. Malays. Math. Sci. Soc. Second Ser. 2006, 29, 29–31. [Google Scholar]
- Ismail, F.; Ken, Y.L.; Othman, M. Explicit and implicit 3-point block methods for solving special second order ordinary differential equations directly. Int. J. Math. Anal. 2009, 3, 239–254. [Google Scholar]
- Ibrahim, Z.B.; Othman, K.I.; Suleiman, M. 2-point block predictor-corrector of backward differentiation formulas for solving second order ordinary differential equations directly. Chiang Mai J. Sci. 2012, 39, 502–510. [Google Scholar]
- Ibrahim, Z.B.; Othman, K.I.; Suleiman, M. Derivation of diagonally implicit block backward differentiation formulas for solving stiff initial value problems. Math. Probl. Eng. 2015, 2015, 179231. [Google Scholar] [CrossRef]
- Shampine, L.F.; Watts, H.A. Block implicit one-step methods. Math. Comp. 1969, 23, 731–740. [Google Scholar] [CrossRef]
- Nasir, N.A.A.; Ibrahim, Z.B.; Othman, K.I.; Suleiman, M.B. Numerical Solution of First Order Ordinary Differential Equations Using Fifth Order Block Backward Differentiation Formulas. Sains Malays. 2012, 41, 489–492. [Google Scholar]
- Asnor, A.I.; Yatim, S.A.M.; Ibrahim, Z.B. Formulation of Modified Variable Step Block Backward Differentiation Formulae for Solving Stiff Ordinary Differential Equations. Indian J. Sci. Technol. 2017, 10, 1–7. [Google Scholar] [CrossRef][Green Version]
- Iskandar Shah, M.Z.; Ibrahim, Z.B. Convergence Properties of pth Order Diagonally Implicit Block Backward Differentiation Formulas. Chiang Mai J. Sci. 2018, 45, 601–606. [Google Scholar]
- Musa, H.; Suleiman, M.B.; Senu, N. Fully Implicit 3-point Block Extended Backward Differentiation Formulas for Stiff Initial value Problems. Appl. Math. Sci. 2012, 6, 4211–4228. [Google Scholar]
- Babaginda, B.; Musa, H.; Ibrahim, L.K. A New Numerical Method For Solving Stiff Initial Value Problems. Fluid Mech. Open Access 2016, 3, 1–5. [Google Scholar]
- Lambert, J.D. Computational Methods in Ordinary Differential Equations, 3rd ed.; John Wiley and Sons: New York, NY, USA, 1973; pp. 154–196. [Google Scholar]
- Fatunla, S.O. Block methods for second order ODEs. Int. J. Comput. Math. 1991, 41, 55–63. [Google Scholar] [CrossRef]
- Butcher, J.C. Forty-Five Years of A-stability. J. Numer. Anal. Ind. Appl. Math. 2009, 4, 1–9. [Google Scholar]
- Burden, R.L.; Faires, J.D. Numerical Analysis, 7th ed.; Brooks/Cole: Belmont, CA, USA, 2001. [Google Scholar]
- Alvarez, J.; Rojo, J. An improved class of generalized Runge- Kutta methods for stiff problems. I. The scalar case. Appl. Math. Comput. 2002, 130, 537–560. [Google Scholar] [CrossRef]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).