Abstract

A new one-step block method with generalized three hybrid points for solving initial value problems of second-order ordinary differential equations directly is proposed. In deriving this method, a power series approximate function is interpolated at while its second and third derivatives are collocated at all points in the given interval. The proposed method is then tested on initial value problems of second-order ordinary differential equations solved by other methods previously. The numerical results confirm the superiority of the new method to the existing methods in terms of accuracy.

1. Introduction

Numerous problems such as chemical kinetics, orbital dynamics, circuit and control theory, and Newton’s second law applications involve second-order ordinary differential equations (ODEs). Normally, those equations have no analytical solutions. To approximate the solution of such problems several numerical methods were developed on the hands of many scholars such as [13].

Block methods for solving ODEs were first proposed by Milne ([4]). Later [5] adopted Milne’s methods to provide starting values for predictor-corrector scheme. However, the block methods have some drawbacks and this led to the introduction of hybrid methods. According to [6], hybrid methods were initially introduced to overcome zero-stability barrier that occurred in block methods in Dahlquists ([7]). Besides the ability to change step size, the other benefit of these methods is utilizing data off-step points which contribute to the accuracy of the methods.

To increase the accuracy of the numerical methods further, researchers such as [8, 9] proposed high method derivative to overcome stiffness in ODEs. The former presented another type of hybrid methods called second-derivative methods, while the later proposed a Simpson’s type second-derivative method for the solution of a stiff system of first-order IVPs. These scholars motivated us to develop a new generalized three-hybrid one-step third-derivative implicit method for solving second-order ODEs directly using the approach of interpolation and collocation for the general use to improve the efficiency of the approximate solution.

This article is organized as follows: in the coming section we demonstrate the derivation of the method, where we consider three off-step points through the approach of interpolation and collocation. The details of the analysis of the method are discussed in Section 3 which include zero stability, order, consistency, and convergence. In Section 4 some numerical problems are solved and the performance of the developed method is compared with other methods mentioned in literature. Finally, the conclusion is discussed in Section 5.

2. Development of the Method

An approximate power series basis function taking the formwhere and are the number of interpolation and collocation points, respectively, is considered to be a solution to the following ODE:On derivation of (1) twice and thrice we obtainInterpolating (1) at , and collocating (3) at all points , , where , a system of equations in matrix form is produced as below:whereUsing matrix manipulation to solve (4) for the unknown coefficients s and then substituting them back into (1) yieldwhere , is the constant step size for the partition of the interval which is given by , , , and are undetermined constants listed in Appendix  I in Supplementary Material available online at https://doi.org/10.1155/2017/8510948, , and whose first partial derivative isEvaluating (6) at the noninterpolating points and (7) at all points , , produces the following general equations in block form:where is an identity matrix andTheir entries are listed in Appendix  II in Supplementary Material, while the vectors are defined as follows:

3. Analysis of the Method

3.1. Zero Stability

Definition 1. The hybrid block method formula (8) is said to be zero stable if no root of the first characteristic equation has modulus greater than one; that is, and if then the multiplicity of must not exceed two.

To illustrate that the root of the first characteristic equation satisfies the prior definition we assume that and hence which imply that As a result, the developed method is zero stable.

3.2. Order of the Method

The linear operator associated with the hybrid block methods formula (8) is defined as Expanding the above equation in Taylor series and combining like terms we wind up withAccording to [6, 10] method (8) is said to be of order ifThe term is called the error constant and the local truncation error is given by Comparing like terms of and in (14) produces the coefficients with vector of error constants wherewhich conclude that the order of the developed method is .

3.3. Consistency

Definition 2. A block method is said to be consistent if its order is greater than one.

Consistency property is achieved for the hybrid block method from the above analysis since the order .

3.4. Convergence

Theorem 3 (see [16]). Consistency and zero stability are sufficient conditions for a linear multistep method to be convergent

The hybrid block method equation (8) is convergent since it fulfills both the consistency and zero-stability conditions.

4. Numerical Examples

In this section, the efficiency and the performance of the general three-hybrid one-step implicit hybrid block method (8) with order is investigated on five test problems. The first example is highly stiff linear IVP problem with step size , the second is nonlinear IVP with , the third is linear with , the fourth is a nonlinear system with , and finally the fifth is a nonlinear undamped Duffing equation with . It is worth mentioning that this method works even for large interval and different values of step size. The values mentioned in this article are chosen just for the sake of comparison with the existing methods only.

Problem 4. , , , .

Exact Solution. with

Source (see [11]). See Table 1.

Problem 5. , , , .

Exact Solution. with

Source (see [12]). See Table 2.

Problem 6. , , , .

Exact Solution. with

Source (see [13]). See Table 3.

Problem 7 (a system of nonlinear IVP). , , , .
, , , .

Exact Solutions. , , with , , ; see Tables 4 and 5.

Problem 8 (the nonlinear undamped Duffing equation). , , ,

Exact Solutions. , where , , , , , , , and . , , ; see Table 6.

5. Conclusion

A general three-hybrid one-step block method of order has been proposed for the direct solution of general second-order ODEs. The developed method is tested on five different problems. Numerical analysis shows that the developed method is consistent and zero stable which conclude its convergence. The computed results are then compared with the results of existing methods in terms of error by considering different values of , , and . The new method is found to have superiority over them as shown in Tables 16.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors thank Universiti Utara Malaysia for the financial support of the publication of this article.

Supplementary Materials

The undetermined constants of equation (6) and the entries of equation (9) are listed in Appendix  I and II which are located in the Supplementary Material.

  1. Supplementary Material