#### Abstract

We solve some higher-order boundary value problems by the optimal homotopy asymptotic method (OHAM). The proposed method is capable to handle a wide variety of linear and nonlinear problems effectively. The numerical results given by OHAM are compared with the exact solutions and the solutions obtained by Adomian decomposition (ADM), variational iteration (VIM), homotopy perturbation (HPM), and variational iteration decomposition method (VIDM). The results show that the proposed method is more effective and reliable.

#### 1. Introduction

In this paper, we consider a well-posed th-order problem of the form with boundary conditions: and , where is a nonnegative integer, and are real finite constants, and is a continuous function on .

Such types of problems have been investigated by many authors [1, 2] due to their mathematical importance and the potential for applications in hydrodynamic and hydromagnetic stability. Fifth-order boundary value problems arise in the mathematical modeling of viscoelastic flows. Sixth- and eighth-order differential equation govern physics of some hydrodynamic stability problems. When an infinite horizontal layer of fluid is heated from below and is subject to the action of rotation, instability sets in. When this instability is as ordinary convection, the ordinary differential equation is sixth order; when the instability sets in as overstability, it is modeled by an eighth-order ordinary differential equation. If an infinite horizontal layer of fluid is heated from below, with the supposition that a uniform magnetic field is also applied across the fluid in the same direction as gravity and the fluid is subject to the action of rotation, instability sets in. When instability sets in as ordinary convection, it is modeled by tenth-order boundary value problem.

So for the solution of these problems is concerned, many methods appeared in literature. The recent analytic methods are Adomian decomposition method (ADM) , variational iteration method (VIM) , homotopy perturbation method (HPM) , homotopy analysis method (HAM) [10, 11], differential transform method (DTM) , and so forth. Classical perturbation methods are based on the assumptions of small or large parameters, and they cannot produce a general form of an approximate solution. The nonperturbation methods like ADM and DTM can deal strongly with nonlinear problems, but the convergence region of their series solution is generally small. The HPM, which is an elegant combination of homotopy and perturbation technique, overcomes the restrictions of small or large parameters in the problems. It deals with a wide variety of nonlinear problems effectively. Recently, Marinca et al.  introduced OHAM for approximate solution of nonlinear problems of thin film flow of a fourth-grade fluid down a vertical cylinder. In their work, they have used this method to understand the behavior of nonlinear mechanical vibration of electrical machine. They also used the same method for the solution of nonlinear equations arising in the steady-state flow of a fourth-grade fluid past a porous plate and for the solution of nonlinear equation arising in heat transfer. This method is straight forward, reliable, and explicitly defined. It provides a convenient way to control the convergence of the series solution and allows adjustment of convergence region where it is needed.

Fifth- and sixth-order linear and nonlinear problems were solved by Wazwaz [18, 19], while using decomposition method. Noor et al.  investigated these type of problems using variational iteration method (VIM), homotopy perturbation method (HPM), and variational iteration decomposition method (VIDM). Modified variational iteration method (MVIM) and iterative method (ITM) were used by Mohyud-Din et al. [26, 27] for such type of problems. Kasi Viswanadham and Murali Krishna  used Quintic B-Spline Galerkin method for fifth-order boundary value problems. Siraj-ul-Islam et al. [29, 30] used numerical scheme for the solution of fifth- and sixth-order boundary value problems.

Recently, Ali et al. [31, 32] used OHAM for the solution of multipoint boundary value problems and twelfth-order boundary value problems. We use OHAM to find the approximate analytic solution of some higher-order BVPs. The results of OHAM are compared with those of exact solution, and the errors are compared with the existing results. This paper is organized as follows: Section 2 is devoted to the analysis of the proposed method. Some numerical examples are presented in Section 3. In Section  4, we concluded by discussing results of the numerical simulation using Mathematica.

#### 2. Method Analysis for Two-Point Boundary Value Problems

Consider the differential equation along with boundary conditions: where is linear, is a nonlinear, and is a boundary operator. is a known function which is continues for . According to OHAM, we can construct a homotopy defined by where is an embedding parameter, and is a nonzero auxiliary function for and . Equation (2.3) satisfies The solution, , of traces the solution curve of (2.1), continuously as approaches to 1, where is the solution of the zeroth-order problem, that will come in the next few lines.

The auxiliary function is chosen in the form (it is a commonly used form) where are the convergence controlling constants which are to be determined. We will use this function unless otherwise stated. The auxiliary function can be chosen in a variety of ways, as reported by Marinca et al. . We will use some other forms of as well.

To get an approximate solution, we expand in Taylor’s series about in the following manner: Substituting (2.5) and (2.6) into (2.3) and equating the coefficient of like powers of , we obtain the following linear equations which can be integrated directly.

Zeroth-order problem:

First-order problem:

Second-order problem: Though we can construct higher-order problems easily, solutions upto the second-order problems are enough to produce excellent results.

If the series (2.6) is convergent at , then the approximate solution in our case is, By substituting (2.10) into (2.1), the resulting residual is If , will be the exact solution. Otherwise, we minimize over domain of the problem. To find the optimal values of which minimizes , many methods can be applied . We follow two methods: the method of least squares and the Galerekin’s method. According to the method of least squares, we first construct the functional and then minimizing it, we have According to the Galerekin’s method, we solve the following system for and: Knowing and , the approximate solution is well determined.

#### 3. Some Numerical Examples

Example 3.1 (fifth-order linear). Consider the following problem: with boundary conditions The exact solution of this problem is .
We choose the auxiliary function as . Plugging in this value in (2.3) of Section 2, we obtain the following linear problems which can be integrated directly.
Zeroth-order problem:
First-order problem:
Second-order problem: Adding up the solutions of these problems, the second-order approximate solution, is determined by knowing the optimal values of the auxiliary constants, and . Using Galerkin’s method, we obtain , .
By considering these values, (3.6) becomes Numerical results of the solution (3.7) are displayed in Table 1.

Example 3.2 (another fifth-order linear). Consider the following problem: with boundary conditions Exact solution of this problem is .
Considering the second-order solution , we use the method of least squares to obtain , .
Having these values, our solution in this case is Numerical results of the solution (3.10) are displayed in Table 2.

Example 3.3 ( fifth-order nonlinear). Consider the following problem: with boundary conditions The exact solution for this problem is .
We consider the second-order solution, .
Using Galerkin’s procedure in Section 2, we obtain the following values: The second-order approximate solution is Numerical results of the solution (3.14) are displayed in Table 3.

Example 3.4 (sixth-order nonlinear). Consider the following problem: with boundary conditions The exact solution is .
For this problem, we take the auxiliary function , Using Galerkin’s method, we obtain , .
OHAM solution in this case is Numerical results of the solution (3.18) are displayed in Table 4.

Example 3.5 (eighth-order nonlinear). Consider the following problem: with boundary conditions Considering the second-order solution , the following values of the convergence controlling constants are obtained by using Galerkin’s method: The approximate solution in this case is If the method of least squares is used to determine ’s, we have then The approximate solution in this case is Let us use the auxiliary function and consider the second-order solution Using Galerkin’s method, we obtain , .
The OHAM solution in this case is Numerical results of the solutions (3.22), (3.24), and (3.26) are displayed in Table 5.

Example 3.6 (nineth-order linear). Consider the following problem: with boundary conditions Exact solution is .
For this linear problem, we take , and according to the rest of the procedure of OHAM, the second-order solution, , is determined by the values of . Following the Galerkin’s method, we obtain , , for and .
The second-order approximate solution is Numerical results of the solution (3.29) are displayed in Table 6.

Example 3.7 (tenth-order nonlinear). Consider the following problem: We consider the second-order solution .
To find the values of , we apply the Galarkin’s method. So solving the system we have , .
In this case, the approximate solution is Numerical results of the solution (3.32) are displayed in Table 7.

#### 4. Conclusions

In this paper, we have used OHAM to find the approximate analytic solution to higher-order two-point boundary value problems in finite domain. It is observed that the method is explicit, effective, and reliable. It works well for higher-order problems and represents the fastest convergence as well as a remarkable low error. The OHAM also provides us with a very simple way to control and adjust the convergence of the series solution using the auxiliary constants ’s which are optimally determined. Furthermore, by using different forms of the auxiliary function, more accuracy can be obtained. It has been also observed that for determining the optimal values of ’s, the performance of both the least squares and the Galerkin’s method is problem dependent. One can select one of these two which best suits the problem solution.