Abstract

In this article, modification of the residual power series method (RPSM) is proposed for higher order boundary value problems (BVPs). The proposed algorithm is tested against various linear and nonlinear BVPs of orders nine up to thirteen. For the efficiency check of RPSM, obtained series solutions are compared with other available results in the literature. Analysis indicates that RPSM is better in terms of accuracy as compared to other mentioned schemes. As RPSM is applicable to BVPs without linearization, discretization, and perturbation, hence practically it is the best suitable solution tool for more complex BVPs in science and engineering.

1. Introduction

Higher order BVPs can be seen in different fields of engineering. Mostly they appear in fluid dynamics with rotations and instabilities. When the instability is set as ordinary (normal), it provides ninth, tenth, and eleventh-order models. On the other hand, if the instability is set as overstable, it leads to twelfth and thirteen-order models [1, 2]. Moreover, ninth and tenth-order BVPs also arise in astrophysics and hydrodynamics [3].

Solution of initial and boundary value problems for large-scale nonlinear equations is often required in engineering and scientific applications. These problems can be seen in elasticity, cosmology, material science, and engineering [4]. For the analysis and predictions of these problems, obtaining an accurate solution is the major focus of the scientific community [5]. As it is difficult to compute analytical solutions of higher order and nonlinear BVPs, there is a need for approximation techniques.

In the past few decades, various numerical techniques have been developed by many researchers for higher order BVPs. In 1992, Liao proposed the homotopy analysis method for BVPs [6]. After that, the authors proposed a combination of homotopy with perturbation for the solutions of BVPs in [7]. Wazwaz proposed a modified decomposition for higher order BVPs [8, 9]. Qayyum et al. proposed an extension of homotopy perturbation with Laplace transformation for BVPs in [10]. Siddiqi and Zulfiqar [11] applied the variational iteration method (VIM) to eleventh-order BVPs in [11]. In 2008, Noor and Mohyud-Din [12] also used VIM with polynomials to higher order BVPs [12]. Boutayeb and Twizell used the finite difference method for twelfth-order BVPs in [13]. Iftikhar et al. used the differential transform method (DTM) for thirteenth-order problems in [14]. Anderson et al. also attempted thirteenth-order BVPs using VIM in [15]. Ali et al. solved higher order BVPs using the optimal homotopy asymptotic method (OHAM) in [16]. Other scholars who tried different methodologies for the solution of higher order BVPs can be seen in [1722].

Numerical methods have different limitations, that may include linearization, discretization, or perturbation. To overcome these restrictions, Abu Arqub et al. proposed the residual power series method (RPSM) for initial value problems (IVPs) in 2013 [23]. Since its introduction, RPSM has been applied by various researchers in different fields of science and engineering for IVPs [24, 25]. Kumar used RPSM to fractional Burgers’ equations [26]. Mahmood and Yousif [27] applied RPSM to Boussinesq–Burgers equations [27]. Kumar and Yan extended RPSM to fractional diffusion equations [28]. Arqub applied RPSM to fuzzy differential equations [29]. Besides the above-mentioned studies, other scholars have also used RPSM in different scenarios [3032]. In this discourse, modification of the residual power series method (RPSM) is proposed for ordinary differential equations with boundary conditions in the present manuscript. The proposed extension is tested extensively against different linear and nonlinear BVPs of higher order (nine up to thirteen) without linearization, discretization, and perturbation. This proposed modification is free from round-off errors and has less computational cost. For the rest of the manuscript, a basic idea of the proposed methodology is presented in Section 2, and a numerical illustration of RPSM is given in Section 3, while Section 4 contains the conclusion.

2. Basic Idea of the Modified Residual Power Series Method for BVPs

In this section, RPSM is explained for order BVPs. This method comprises the power series expansion about the initial point . In the case of BVPs, dummy initial conditions need to be taken for initializing the solution process.with,

Now, assuming the following truncated power series as a solution for the given problem, we getwhere are computed using (3) along with initial conditions, and hence, Equation (3) becomeswhere

Rewriting (5) in the following form:

and using (4) in (5) gives the following residual function:

To obtain for , we use (7) in the following equation [29]:

In the case of BVP, the series solution will contain dummy constants introduced at the start of the solution process. Optimal values of dummy constants can be obtained using the right boundary conditions. Higher accuracy can be achieved by increasing the order of the solution.

3. Numerical Illustration of MRPSM

Test Problem 1. Consider the following ninth-order linear ODE [8]:with boundary conditionsThe exact solution is as follows:After using RPSM, we obtainand hence, the RPS solution becomesResults related to Test Problem 1 are shown in Table 1 and Figure 1.

Test Problem 2. Consider the following ninth-order nonlinear ODE [34]:with boundary conditionsThe exact solution to this problem is as follows:Using RPSM, optimal values of dummies are as follows:and hence, up-to-ten term solution is as follows:Results related to Test Problem 2 are shown in Table 2 and Figure 2.

Test Problem 3. Consider the following ninth-order nonlinear ODE [34]:with boundary conditionsThe exact solution to the problem is as follows:and we obtainand hence, ten term RPS solution is as follows:Results related to Test Problem 3 are shown in Table 3 and Figure 3.

Test Problem 4. Consider the following tenth-order linear ODE [2]:with boundary conditionsThe exact solution is as follows:and we obtainand hence, up to twelve term RPS solution is as follows:Results related to Test Problem 4 are shown in Table 4 and Figure 4.

Test Problem 5. Consider the following tenth-order nonlinear ODE [8]:with boundary conditionsThe exact solution is as follows:Here, we obtainand hence, up to twelve term RPS solution is as follows:Results related to Test Problem 5 are shown in Table 5 and Figure 5.

Test Problem 6. Consider the following eleventh-order linear ODE [11]:with boundary conditionsThe exact solution is as follows:After applying RPSM and using the right boundary conditions, optimal values of are as follows:and hence the series solution is as follows:Results related to Test Problem 6 are shown in Table 6 and Figure 6.

Test Problem 7. Consider the following twelfth-order linear ODE [35]:with boundary conditionsThe exact solution is as follows:Using RPSM, optimal values of are as follows:and hence, we obtain the following solution:Results related to Test Problem 7 are shown in Table 7 and Figure 7.

Test Problem 8. Consider the following twelfth-order nonlinear ODE [36]:withThe exact solution isAfter using RPSM, we obtainand hence, we obtain the following solution:Results related to Test Problem 8 are shown in Table 8 and Figure 8.

Test Problem 9. Consider the following thirteenth-order linear ODE [15]:with boundary conditionsThe exact solution isUsing the RPSM procedure, we obtaintand hence, we obtain the following solution:Results related to Test Problem 9 are shown in Table 9 and Figure 9.

Test Problem 10. Consider the following thirteenth-order nonlinear ODE [15]:with boundary conditionsThe exact solution isAfter using RPSM, we obtainand hence, we obtain the following solution:Results related to Test Problem 10 are shown in Table 10 and Figure 10.

4. Results and Discussion

In this article, modification of the residual power series method (RPSM) is tested for higher orders BVPs, and obtained series solutions are compared with other available results in the literature in a tabular form. First, RPSM is applied to ninth-order linear BVP, and the results are numerically compared with HPM, MVIM, and MDM in Table 1. The analysis of the table shows that RPSM is better than the rest of the mentioned schemes. A graphical analysis of Test Problem 1 is presented in Figure 1. The exact and RPS solutions are illustrated in Figure 1(a), and this plot shows the validity of approximate solutions. Besides this, the absolute error in Test Problem 1 using RPSM is given in Figure 1(b). The error plot indicates that the error is bounded between .

Results related to ninth-order nonlinear BVPs (Test Problems 2 and 3) are shown in Table [2, 3] and Figure [2, 3]. A numerical comparison of RPSM with B-spline results is presented in Tables 2 and 3. These tables clearly show the supremacy of RPSM in terms of accuracy. Error bounds in Test Problems 2 and 3 are between and , respectively. Figures 2(a) and 3(a) present the comparison of exact and RPS solutions, while Figures 2(b) and 3(b) show the absolute error in RPSM solution.

Results related to Test Problem 4 (tenth-order linear BVP) are shown in Table 4 and Figure 4. A numerical comparison of RPSM with HPM and MVIM is presented in Table 4, which clearly indicates that RPSM has better accuracy. Error bounds in this problem are . Figure 4(a) presents the comparison of exact and RPS solutions, while Figure 4(b) shows the absolute error in Test Problem 4.

The numerical results of tenth-order nonlinear BVP (Test Problem 5) are shown in Table 5 and Figure 5. A numerical comparison of RPSM with HPM, MVIM, and MDM is in Table 5. Error bounds in this problem are . Figure 5(a) presents the comparison of exact and RPS solutions, while Figure 5(b) shows the absolute error in Test Problem 5.

A numerical analysis of eleventh-order linear BVP (Test Problem 6) is shown in Table 6 and Figure 6. Results of RPSM are compared with VIM numerically in Table 6. Error bounds in this problem are . Figure 6(a) shows the comparison of exact and RPS solutions, while Figure 6(b) presents the absolute error in Test Problem 6.

Numerical analysis of twelfth-order linear BVP (Test Problem 7) is shown in Table 7 and Figure 7. RPSM results are compared with VIM numerically in Table 7. Error bounds in this problem are . Figure 7(a) shows the comparison of exact and RPS solutions and hence confirms the validity of RPS solution. Figure 7(b) presents the absolute error in Test Problem 7.

Analysis of twelfth-order nonlinear BVP (Test Problem 8) is shown in Table 8 and Figure 8. Here, RPSM and VIM results are compared numerically in Table 8. Error bounds in this case are . Figure 8(a) shows the comparison of exact and RPS solutions and hence confirms the validity of the obtained approximate solution. Figure 8(b) illustrates the absolute error in Test Problem 8.

Results related to Test Problem 9 (thirteenth-order linear BVP) are shown in Table 9 and Figure 9. A numerical comparison of RPSM with DTM and VIM is presented in Table 9. Analysis of the table shows the dominance of RPSM over the other mentioned schemes. Error bounds in this problem are . Figure 9(a) presents the comparison of exact and RPS solutions, while Figure 9(b) shows the absolute error in Test Problem 9.

Analysis of thirteenth-order nonlinear BVP (Test Problem 10) is shown in Table 10 and Figure 10. Here, RPSM results are compared with DTM and VIM numerically in Table 10. Error bounds in this case are . Figure 10(a) shows the comparison of exact and RPS solutions and hence confirms the validity of obtained approximate solutions. Figure 10(b) illustrates the absolute error in Test Problem 10.

Numerical and graphical analyses indicate that RPSM is better in terms of accuracy than other mentioned techniques. Hence, RPSM is applicable to different classes of BVPs without linearization, discretization, and perturbation in practical situations.

5. Conclusion

In this article, an extension of RPSM is proposed for BVPs. This algorithm is directly applied to different linear and nonlinear standard problems without linearization, discretization, and perturbation. Numerical and graphical analyses reveal that RPSM is an efficient and effective technique as compared to other mentioned schemes (HPM, VIM, DTM, MVIM, MDM, and B-spline). Also, RPSM provides fast convergent series solutions without being affected by round-off errors and hence can be utilized for more complex problems in different areas of science and engineering.

Data Availability

All the data are available in the manuscript.

Conflicts of Interest

The authors declare that they have no conflicts of interest.