Advances in Mathematical Physics

Volume 2016, Article ID 5026504, 14 pages

http://dx.doi.org/10.1155/2016/5026504

## A Subdivision Based Iterative Collocation Algorithm for Nonlinear Third-Order Boundary Value Problems

Department of Mathematics, The Islamia University of Bahawalpur, Punjab 63100, Pakistan

Received 8 February 2016; Accepted 11 May 2016

Academic Editor: Xiao-Jun Yang

Copyright © 2016 Syeda Tehmina Ejaz and Ghulam Mustafa. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We construct an algorithm for the numerical solution of nonlinear third-order boundary value problems. This algorithm is based on eight-point binary subdivision scheme. Proposed algorithm is stable and convergent and gives more accurate results than fourth-degree B-spline algorithm.

#### 1. Introduction

Many problems in physics, chemistry, and engineering science are demonstrated mathematically by third-order boundary value problems. These boundary value problems can be found in different areas of applied mathematics and physics as, in the deflection of a curved beam having a constant or varying cross section, a three-layer beam, electromagnetic waves, or gravity driven flows. Third-order boundary value problems were discussed in many papers in recent years. Different types of techniques have been used to study such problems: finite difference method, spline method, Haar wavelets method, Adomian decomposition, modified Adomian decomposition method (MADM) shooting technique via Newton method, He’s homotopy perturbation method, and so forth. Haq et al. [1] studied the Haar wavelets method to solve the third-order boundary value problem. A modified form of Adomian decomposition method is applied to construct the numerical solution for solving third-order boundary value problems proposed by Duan and Rach [2] and Hasan [3]. Abdullah et al. [4] solved the third-order boundary value problem directly using the fourth-order two-point block method adapted with the shooting technique via Newton method. Caglar et al. [5] solved third-order linear and nonlinear boundary value problems by using fourth-degree B-splines. Their algorithm has first-order accuracy. A new algorithm for solving the general nonlinear third-order differential equation is developed by [6] using shifted Jacobi-Gauss collocation spectral method.

For finite differences methods, only discrete approximate values of the unknown can be obtained. We need further data processing techniques to get accurate fitted curve to data. For spline interpolation or approximation methods the unknown function is assumed to be piecewise polynomial which in turn requires at least piecewise higher order differentiability of the function .

To overcome the above disadvantages, Qu and Agarwal [7, 8] introduced the subdivision based algorithm for the solution of two-point second-order boundary value problems. Mustafa and Ejaz [9] solved linear third-order boundary value problems by using subdivision technique. Ejaz et al. [10] solved two-point fourth-order linear boundary value problem by subdivision based method. Higher order linear and nonlinear problems are not solved by subdivision techniques until now. This motivates us to solve nonlinear third-order boundary value problems by subdivision schemes based collocation iterative algorithms.

An outline of the paper is as follows. In Section 2, some results about existence and uniqueness of the solution of third-order boundary value problem are given. In Section 3, subdivision algorithm, basis function, and their derivatives are briefed. In Section 4, subdivision based iterative algorithm for the solution of nonlinear third-order BVPs using the derivatives of basis functions is formulated. Convergence of the proposed algorithm is also discussed in this section. Error analysis is given in Section 5. Numerical examples illustrating the usefulness of our proposed algorithm are given in Section 6.

#### 2. Existence and Uniqueness of the Solution

In this section, we present some results about the existence and uniqueness of the solution of third-order nonlinear boundary value problems. The details of these results can be found in [11].

The general third-order nonlinear boundary value problem can be prescribed aswith boundary conditions defined aswhere are constants.

Proposition 1. *If the function is continuous and satisfies the following uniform Lipschitz condition:where the constants , , and satisfyorthen the boundary value problem has one and only one solution:*

The existence and uniqueness of the differential equation (1) with boundary conditions at two or three points are presented in [11].

*Remark 2. *Throughout this paper the function satisfies Lipschitz conditions (3) along with condition (4)–(6). So the existence and uniqueness of the solutions of (1) are guaranteed.

#### 3. Subdivision Scheme and Basis Function

In this section, we define binary subdivision algorithm and their basis function that are used to construct the approximate solutions of (1).

##### 3.1. Interpolating Subdivision Scheme

We consider the following 8-point binary interpolating subdivision scheme introduced in [12, 13]where and are points at th and th iterative level. Scheme (7) is -continuous and support length with 8th-order approximation.

##### 3.2. Basis Function and Their Derivatives

The basis function is the limit function resulting from cardinal data, where all vertices of the polygon have value zero except for one. Let be the fundamental solution of (7) that satisfies the two-scale equation:

Proposition 3. *The fundamental solution is three times continuously differentiable over the interval . Its derivatives at integers are given by where and ’s for are defined below where and , , are defined in [9].*

Furthermore, the numeric values of first, second, and third derivatives of at areThe above derivative values are found by using the left eigenvectors of the subdivision process (7). The detailed description about these left eigenvectors , and derivatives can be found in [9].

#### 4. Subdivision Based Iterative Algorithm

In this section, we describe the algorithm for the numerical solution of nonlinear boundary value problem (1).

##### 4.1. The Collocation Algorithm

In this subsection, we construct the collocation method based on the interpolating subdivision scheme (7). Let be the assumed solution of (1):where , , , and are unknown to be determined for the solution of (1). The collocation algorithm together with the boundary conditions is defined as follows:with the following type of boundary conditions:by taking the third derivative of (16) we getusing (19) into (17), we getThis can be written asAs we know that , then above system of equations becomesNow we simplify the nonlinear system of (22) in the following theorems.

Theorem 4. *The nonlinear system of (22) for becomes*

*Proof. *By expanding (22) for , we getAs we know exists only for the interval for and outside the interval it will be zero. Then above equation can be written as This implies (23).

Theorem 5. *For , the nonlinear system of (22) becomes*

*Proof. *Substituting in (22), it becomes is nonzero only for the interval for and outside the interval it will be zero. Then the above equation becomesFor , (22) becomes This impliesSimilarly, we can find the expression for ; that is,Hence, by combining (28), (30), and (31) we get (26).

##### 4.2. Unstable Nonlinear System

The nonlinear system of (22) is equivalent to the following nonlinear system of equations with () unknowns :where is banded matrix of order , is the unknown vector of order , and is the vector of order that depends on . The matrix and vectors and are given explicitly bywhere and represent the row and column, respectively; that is, and , is defined in (13) and . System (32) is unstable and we need to make it stable to get unique solution. The detail for the stable system of nonlinear equations is given in next section.

##### 4.3. Stable Nonlinear System

For unique solution of nonlinear systems (32), we need twelve more conditions. Three conditions can be attained from given boundary conditions for nonlinear systems of equations and remaining nine conditions are attained by setting some extrapolation method. The details of the given boundary conditions and extrapolation method are given below.

###### 4.3.1. Approximated Boundary Condition

The given boundary conditions areWe see that first derivative is involved in the given boundary conditions, since approximation order of interpolating scheme (7) is eight, so we approximate derivative boundary conditions at end point with approximation order eight. The approximation of derivative conditions at end point is defined as

###### 4.3.2. Imposed Boundary Conditions

Remaining nine conditions for the nonlinear systems (32) to get stable systems for the solution of (1) are obtained by setting the following extrapolation method.

We define five conditions at left end points and four conditions at the right end points. Since subdivision scheme reproduces seven-degree polynomials, so we define boundary conditions of order eight for solution of (32). For simplicity only the left end points are discussed and the values of right end points can be treated similarly.

The values can be determined by the septic polynomial interpolating . Precisely, we have where Since by (16), for then by replacing by , we have Hence, the following boundary conditions can be employed at the left end:Similarly for the right end, we can define , , , , , and So we have the following boundary conditions at the right end:Finally, we get the following new system of linear equations with unknowns , in which equations are obtained from (22), three equations from boundary conditions (36), and nine from boundary conditions (41) and (43).

Hence, the stable nonlinear system of equations is defined aswhere the matrix is given byand the matrix is defined in (33). The matrix is constructed by taking first five rows from (41), sixth row from (37), and the last row from (36). Hence, The matrix is constructed by taking first row from (36) and last five rows are obtained from (43). Hence, The column vector is defined in (35) and is defined aswhere is defined by (34).

###### 4.3.3. Nonsingularity of a Matrix

The nonsingularity of coefficient matrix , which is defined in (45), can be checked by different methods.

Since the determinant of matrix is nonzero for then the nonlinear system of equations give solution for .

It is also observed that all the eigenvalues are nonzero for . Hence, by [14] matrix is nonsingular. For large the matrix may or may not be nonsingular.

The coefficient matrix is neither symmetric nor diagonally dominant. Though it can be proved that is nonsingular/invertible, the matrix is almost symmetric except the first and last few rows and columns due to its boundary treatment for large value of . Therefore, we first consider the symmetric part of it, that is, the square band matrix of order defined as Kılıç and Stanica [15] presented a method to find the inverse of banded matrix of order by using the LU factorization of the banded matrix. As is a band matrix of order so by LU factorization method its inverse exists.

##### 4.4. Iterative Algorithm and Its Convergence

In this section, we propose an iterative algorithm and discuss its convergence.

###### 4.4.1. Iterative Algorithm Based on Basis Function

The iterative algorithm is based on basis function of the subdivision scheme (7) as defined in the following three steps.

*First Step* (initial approximation). Initial approximation is important because numerical solution depends on the initial approximation. We define the process for finding the initial approximation as follows.

Let initial approximate solution be the solution of the following linear system:where is the initial linear approximation of the nonlinear vector . By solving the linear system of (50) we get initial approximate solution.

*Second Step* (numerical solution). The numerical solutions of the nonlinear system are obtained by using simple iterative scheme:

*Third Step* (stopping condition). The above iterative processes will terminate when the following condition is satisfiedwhere tol is supposed value; that is, . The convergence of the above iterative algorithm is guaranteed by the following propositions. The solutions of linear system of (50) and (52) are obtained by Gaussian eliminations method.

Proposition 6. *The successive solutions for the nonlinear system (44) generated by the iterative algorithm (52) linearly converge to the solution provided that and are Lipschitz constants and step size is small. That is,*

*Proof. *Let and be the solutions of the nonlinear system (44) then by definition, for small , we have Let the error vector be defined as at th iteration which satisfies For , by using the mean value theorem, which is stated as “if a function is continuously differentiable in an open set of containing points and and the line segment connecting them, then an equation is valid for the interior point of the segment.” We have The above equation can be written as (by using mean value theorem) and by using the definition of error vector, we have where and are the derivative difference operators defined as This implies Since , therefore, we have This can be written as By taking norm on both sides, we get By using the definition of Lipschitz condition, we getThis implies which is equivalent to The results follow immediately from this inequality and the following fact: A simple approximation of condition by omitting the cubic term is This completes the proof.

Proposition 7. *If satisfies the Lipschitz condition (3) and Lipschitz constants , , and and mesh size are small enough then nonlinear system (32) has a unique solution . A sufficient condition for the existence of a solution is given by (54).*

*Proof. *From the proof of previous proposition, we observe that if (54) holds, then an inequality similar to that of (67) holds, which implies that the sequence is contracting and hence converges. The limit of (52) also satisfies (44) due to the continuity of the right hand side function .

*Remark 8. *The numerical complexity for the solution of the linear system (52), where the matrix is almost band matrix with half band , using Gaussian elimination method is about multiplications. The number of complexities depends upon the efficient boundary treatment. If more efficient boundary treatment is constructed then number of complexities will be reduced.

#### 5. Error Analysis

From the approximation properties of the basis function , it is shown that the collocation method (16) with nonic precision treatments at end points has at least the power of approximation . Here we present our main results for error estimation. Proof of these results is similar to the proof of Proposition in [9].

Proposition 9. *Suppose the exact solution and are obtained by (67) then absolute error by interpolating collocation algorithm is where denotes the order of derivative.*

*Proof. *Since the order of approximation of subdivision scheme (2) is ten so by direct calculation (third left eigenvector), we can find derivative of smooth function as This can be written asSimilarly, we haveIf we define error function and error vectors at the nodes by or equivalently , then this implies By subtracting (75) from (74), we getThis impliesFrom (1), (16), and (79) and by assuming the eighth order boundary treatments at the end points, we havewhere , Using the results (79) and it can be concluded that relation (80) is equivalent to where .

Hence, for small , the coefficient matrix will be invertible; thus using the standard result from algebra and effect of , we have the following estimate: This completes the result.

#### 6. Examples, Comparison, and Conclusion

In this section, we use subdivision based collocation algorithm to find the solution of some nonlinear third-order boundary value problems. We present numerical results in table format along with their graphical representations. We also give comparison of the results obtained by our algorithm and the results computed by existing algorithms. We end this section with precise conclusion.

##### 6.1. Numerical Examples

We find the approximate solutions of the following nonlinear problems to check the accuracy and convergence of subdivision based iterative collocation algorithm.

*Example 1. *The nonlinear boundary value problem iswith boundary conditions

*Example 2. *The nonlinear boundary value problem issubject to the boundary conditions:

*Example 3. *The nonlinear boundary value problem issubject to the boundary conditions: The exact solutions of problems (85), (87), and (89) are , , and , respectively.

*Example 4. *We consider the third-order ordinary differential equation:where is constant. The initial conditions imposed by Tanner [16] areThe problem is closed by the boundary condition:and the problem becomes singular at . The boundary condition is imposed [17] aswhere is a constant satisfying . The analytical solution of (91) by [17]

*Case 1 (see [17]). *For problem (91) takes the formWe solve (96) along with conditions (92) and (94) by letting ; then and we obtain the results which also support our algorithm. That is, the numerical results have the order of approximation . The numerical results are tabulated in Table 4 and graphical representation of these results is shown in Figure 4. These results are obtained after first iteration level. The maximum absolute error is .

*Case 2 (see [17]). *For problem (91) takes the formwith the boundary conditions , , and . The numerical solution of (97) is obtained by using the proposed numerical algorithm. The solution after third iteration level is presented in Table 5 and their graphical representation is presented in Figure 5. The maximum absolute error for this problem is .

*Case 3 (see [17, 18]). *In this case, we numerically solve problem (91) for ; that is,together with the boundary conditions , , and . Its exact solution is given in (95). The numerical solution of (98) with given and imposed condition at node points is tabulated in Table 6 and graphical representation is given in Figure 6. The maximum absolute error for this problem is .

##### 6.2. Comparison and Discussion

For Examples 1, 2, and 3, we use the iterative collocation algorithm described in Section 4, for (i.e., for ) and along with eighth-order boundary treatment at end points, to get solutions of nonlinear boundary value problems. The numerical results are obtained after third iteration with condition (53).(i)The numerical solutions of problems (85), (87), and (89) are presented in Tables 1, 2, and 3, respectively.(ii)Caglar et al. [5] solved problem (85) by fourth-degree B-spline algorithm. The maximum absolute errors obtained by the proposed algorithm and by [5] are and , respectively. The graphical comparison between exact and approximate solutions is shown in Figure 1. We observe that numerical results obtained by proposed algorithm are better than the results of [5].(iii)Hasan [3] solved problem (87) by modified Adomian decomposition method (MADM). We also solve this problem by subdivision based collocation algorithm. Here we observe that the order of approximation by proposed and MADM algorithms is the same (i.e., ). The graphical comparison between exact and approximate solutions is shown in Figure 2.(iv)The comparison between exact and approximate solutions of problem (89) is given in Figure 3.In Example 4, we consider the problem related to thin film flows. We solve (91) by assuming different values of and we observer from the numerical results tabulated in Tables 4, 5, and 6 that accuracy of the approximate solution is . The numerical results are obtained after first and third iterations for and with condition (53), respectively.