- Research
- Open Access
- Published:

# A class of quasi-variable mesh methods based on off-step discretization for the solution of non-linear fourth order ordinary differential equations with Dirichlet and Neumann boundary conditions

*Advances in Difference Equations*
**volumeÂ 2016**, ArticleÂ number:Â 248 (2016)

## Abstract

We propose a class of second and third order techniques based on off-step discretizations for a general non-linear ordinary differential equation of order four, subject to the Dirichlet and Neumann boundary conditions. Our approach uses only three grid points and involves the construction of a quasi-variable mesh. This type of a mesh is framed using a mesh ratio parameter \(\eta>0\) whose value is chosen in accordance with the occurrence of boundary layer in the problem, and varies with the number of grid points taken. The third order technique reduces to a fourth order one when taken with \(\eta=1\). The stability and convergence analysis of the techniques are discussed over a model problem. Computational results obtained upon the application to seven linear as well as non-linear problems endorse the theoretically claimed accuracies. We also provide a comparison with the computational results using approaches of other authors, which shows that the proposed methods are better.

## 1 Introduction

Consider the following boundary value problem (BVP):

subject to the prescribed natural boundary conditions:

where \(A_{0} \), \(B_{0} \), \(A_{1} \), and \(B_{1} \) are real constants and \(-\infty< a \le x \le b < \infty\).

The equation (1.1) represents general form of a fourth order non-linear ordinary differential equation (ODE), prescribed along with the Dirichlet and Neumann boundary conditions viz. (1.2). These conditions are also referred to as the boundary conditions of the first kind. Fourth order BVPs represent various physical problems that are related to elastic stability theory. These appear in the modeling of viscoelastic inelastic flows [1], plate deflection theory [2], and deformation of beams, arches, load bearing members like street lights, and robotic arms in multi-purpose engineering systems where elastic members serve as key members for shedding and transmitting loads [3, 4].

Another example of physical importance is the following fourth order ODE:

subject to the conditions (1.2). This arises from the time-independent Navier-Stokes equations for the axisymmetric flow of an incompressible fluid contained between infinite disks which occupy planes \(z=-d\) and \(z=d\). The disks are porous and fluid is injected or extracted normally with velocity \(A_{0}\) at \(z=-d\) and \(A_{1}\) at \(z=d\). Here, *Î»* is the kinematic viscosity (Elcrat [5]).

Thus, due to the vast physical applications of fourth order BVPs, various techniques have been proposed by researchers to solve these problems. On one hand, equations of type (1.1) with boundary conditions of the second kind are transformable to coupled second order equations [6â€“12], such type of a reduction is not possible with first kind boundary conditions. Apart from these, a quartic non-polynomial spline approach has been proposed by researchers for the solution of the fourth [13] and sixth order [14] ODEs with second kind boundary conditions. In the past, several approaches have been sought for solving fourth order BVPs with first kind boundary conditions. These include multi-derivative methods proposed by Twizell and Tirmizi [15], collocation algorithms based on interpolating and approximating subdivision schemes by Ma and Silva [3], sinc collocation method by Nurmuhammad *et al.* [16], homotopy perturbation technique for a special fourth order BVP by Momani and Noor [17] and finite difference method by Usmani [18], and Chen and Li [19]. Some of the recently proposed approaches are the quintic spline by Akram and Amin [20], the septic spline by Akram and Naheed [21], the Adomian decomposition by Kelesoglu [22], and subdivision schemes based on collocation algorithms by Ejaz *et al.* [23]. However, all these techniques are applicable to only a linear counterpart of the problem (1.1)-(1.2). For the non-linear case, an iterative method was proposed by Agarwal and Chow [24] in 1984. In the year 2000, Mohanty [25] developed a fourth order finite difference technique for solving one-dimensional non-linear biharmonic problem of the first kind. Variational iteration and homotopy perturbation techniques were proposed by Noor and Mohyud-Din [26], Choobbasti *et al.* [4] and Mirmoradi *et al.* [27] in the years 2007, 2008 and 2009, respectively. In 2012, Talwar and Mohanty [28] framed a finite difference method for the solution of (1.1)-(1.2) using a uniform mesh size \(h>0\).

However, a uniform grid does not always result in stable solutions when applied to the singularly perturbed boundary value problems (SPBVPs) [21, 29]. Formation of sharp boundary layers in numerical methods when *Ïµ*, the coefficient of highest order derivative, approaches to zero creates trouble when used in conjunction with many classical techniques. During the past decades, many approximate methods have been developed and refined, including the method of averaging, methods of matched asymptotic expansion and multiple scales. In 2008, Tirmizi *et al.* [30] developed a non-polynomial spline technique for a second order self-adjoint SPBVP. In 2010, Jiaqi [31] proposed a boundary layer correction technique for the linear fourth order SPBVPs. The recently proposed spline techniques of Akram [20, 21] have also been successfully applied to linear problems with boundary layer. To the best of the authorsâ€™ knowledge, no quasi-variable mesh methods of order two and three for the solution of fourth order non-linear ODE with boundary conditions of the first kind have been discussed in the literature so far.

In this article, with three grid points, we have derived two new methods of order two and three for the solution of the BVP (1.1)-(1.2) using a quasi-variable mesh. We use step-size \(h_{k}=x_{k}-x_{k-1}>0\), where *k* refers to the grid point number, with subsequent step-size being \(h_{k+1}=\eta h_{k}\), where *Î·* is a positive constant whose value is chosen in accordance with the occurrence of boundary layer. This approach enables a denser grid in the boundary layer region *i.e.* when *Ïµ* is very small, and hence successfully applicable to SPBVPs. We use a combination of \(u(x)\) and its derivative \(u'(x)\) at each grid point, thereby obtaining the values of \(u'(x)\) as a by-product. Since we ultimately need to solve the coupled non-linear system of equations at each mesh point, the iterative methods pertaining to the complicated block structure so obtained are used. We have solved the linear systems using Gauss-Seidel and Gauss-Jacobi methods, and non-linear systems by the generalized Newton method ([32â€“34]). Our finite difference techniques also show highly accurate results when applied to coupled non-linear fourth order BVPs with boundary conditions of the first kind. The numerical illustrations for the same are given below in this article.

This paper is organized into five sections: In SectionÂ 2, we present and derive our second and third order quasi-variable mesh techniques, which are reducible to second and fourth order techniques, respectively, upon setting the parameter \(\eta=1\). In SectionÂ 3, we discuss the convergence and stability analysis of the fourth order technique applied to a model problem. SectionÂ 4 comprises the numerical illustrations of the methods when applied to seven fourth order BVPs of the type (1.1)-(1.2). All these problems are of physical interest, as also discussed in this section. In SectionÂ 5, we give some concluding remarks about this article.

## 2 Finite difference methods and derivation

For the sake of simplicity, let us take the domain of interest to be the closed interval \([0,1]\). We divide this interval into \(N+1 \) parts by introducing mesh points: \(0 = x_{0} < x_{1} < \cdots< x_{N+1} = 1 \), with \(h_{k+1} = x_{k+1} - x_{k} > 0, k=0(1)N\), being the step-size in the \((k+1)\)th interval, and a parameter \(\eta= \frac{h_{k+1}}{h_{k}}> 0, k = 1(1)N \).

Then

This yields \(h_{1} = 1/(1+\eta+\eta^{2}+\cdots+\eta^{N})\), which is the first step length, and the subsequent step lengths can be determined using \(h_{k+1}=\eta h_{k}\) for \(k=1(1)N\). Let the off-step grid points be given by \(x_{k+\frac{1}{2}}=x_{k}+\frac{\eta h_{k}}{2}\) for \(k=0(1)N\), and \(x_{k-\frac{1}{2}}=x_{k}-\frac{h_{k}}{2}\) for \(k=1(1)N+1\).

Let \(u_{k}=u(x_{k}), u'_{k}=u'(x_{k})\) for \(k=0(1)N+1\), and the corresponding notations hold true for higher order derivatives of *u* as well. Let \(f_{k}=f(x_{k},u_{k},u'_{k},u''_{k},u'''_{k})\) and \(f_{k\pm \frac{1}{2}}=f(x_{k\pm\frac{1}{2}},u_{k\pm\frac{1}{2}},u'_{k\pm\frac{1}{2}}, u''_{k\pm\frac{1}{2}},u'''_{k\pm\frac{1}{2}})\) for \(k=1(1)N\). Throughout the rest of this article, we vary \(k=1(1)N\), unless otherwise specified. Clearly, at each grid point \(x_{k}\), (1.1) can be written as

Let us now define

Expanding each of the equations (2.2a)-(2.2d) using a Taylor series expansion, we obtain the following:

### 2.1 Second order technique

To discretize the left hand side of (2.1), let us assume

where \(a_{1}, a_{2}, a_{3}, a_{4}\) are parameters to be suitably determined and \(T_{k}\) is the truncation error.

Substituting values from (2.2a)-(2.2d) in (2.4), and further equating to zero the coefficients of \(h_{k}^{2}, h_{k}^{3}, h_{k}^{4}\), and \(h_{k}^{5}\), so as to obtain \(T_{k}=O(h_{k}^{6})\), we get

Since \(f_{k}\) is a function of \(u''_{k}\) and \(u'''_{k}\), we need second order approximations for them. It can be seen from (2.3c) that \(\overline{\overline{u}}''_{k}\) of (2.2c) is a second order approximation to \(u''_{k}\). Further, eliminating the coefficient of \(h_{k}\) from (2.3b) and (2.3d), we obtain the second order approximation to \(u'''_{k}\) given by

Now, define

Thus, we obtain the discretization

where \(\overline{T}_{k}=O(h_{k}^{2})\).

Further, eliminating \(u'''_{k}\) from (2.3b) and (2.3d), and using (2.2b) and (2.2d), we obtain

Varying *k* over internal grid points 1 to *N*, equations (2.7a) and (2.7b) together form a system of 2*N* equations in 2*N* unknowns viz. \(u_{1}, u_{2},\dots,u_{N},u'_{1},u'_{2},\dots,u'_{N}\), and hence can be solved for a unique solution. We observe that for the uniform mesh case, *i.e.* when \(\eta=1\), the discretization (2.7a)-(2.7b) retains its order of accuracy.

### 2.2 Third order technique

To obtain the third order discretization to (1.1), let us consider for each *k*:

where \(\alpha, b_{1}, b_{2}, b_{3}\), and \(b_{4}\) are the parameters to be suitably determined, and \(T_{k}^{(1)}\) is the truncation error. Proceeding in a similar manner to the case of the second order technique, using equations (2.3a)-(2.3d), we obtain the following values of parameters consistent with \(T_{k}^{(1)}=O(h_{k}^{7})\):

Also, simply using the Taylor series expansions, it is easy to obtain

Using equations (2.9) and (2.10) in (2.8), we obtain

Now, eliminating \(u'''_{k}\) from equations (2.3b) and (2.3d), we obtain

Again, with the Taylor series expansions, it is easy to obtain

Using equation (2.13) in (2.12), we obtain the following:

Let us now define

Using Taylor series expansions, it can easily be observed that (2.15a)-(2.15d) are \(O(h_{k}^{3})\) approximations.

We now aim to find third order approximation for \(u'''_{k+\frac {1}{2}}\). For this purpose, let us consider

where \(c_{1}, c_{2}, c_{3}\), and \(c_{4}\) are parameters to be determined, and \(T_{k}^{(2)}\) is the truncation error. Substituting values from (2.3a)-(2.3d), the values of the parameters so obtained, such that \({T}_{k}^{(2)}=O(h_{k}^{3})\), are as follows:

Thus, we define the third order approximation:

In a similar manner to above, we find the following third order approximations:

Now, for finding third order approximation to \(u''_{k+\frac{1}{2}}\), let us consider

where \(d_{1}, d_{2}\), and \(d_{3}\) are the parameters to be determined, and \(T_{k}^{(3)}\) is the truncation error. Substituting values from (2.3a)-(2.3c) in (2.18), and comparing the coefficients of \(h_{k}\) and \(h_{k}^{2}\) so as to induce \(T_{k}^{(3)}=O(h_{k}^{3})\), we obtain

Thus, we define the \(O(h_{k}^{3})\) approximation to \(u''_{k+\frac{1}{2}}\) as follows:

With the same approach as above, we define the following third order approximations:

Now, define

Then we claim that the third order discretization to equation (1.1), subject to the conditions (1.2), is given by

where \({\overline{T}}_{k}^{(1)}=O(h_{k}^{3})\) and \({\overline {T}}_{k}^{(2)}=O(h_{k}^{3})\).

To verify this, we observe that by the Taylor series expansions in (2.20a)-(2.20c) and using equations (2.15a)-(2.15d), (2.17a)-(2.17c), and (2.19a)-(2.19c), we get

Substituting values from (2.22a)-(2.22c) in (2.21a), and further using (2.11), we obtain \({\overline{T}}_{k}^{(1)}=O(h_{k}^{3})\). Similarly, using equations (2.22a)-(2.22c) in (2.21b), from (2.14), we obtain \(\overline{T}_{k}^{(2)}=O(h_{k}^{3})\). It is easily observable that upon setting \(\eta=1\), the mesh becomes uniform, and the discretization (2.21a)-(2.21b) reduces to fourth order. Note that upon varying \(k=1(1)N\), equations (2.21a)-(2.21b) form a system of 2*N* equations in 2*N* unknowns viz. \(u_{1}, u_{2}, \dots, u_{N}, u'_{1}, u'_{2},\dots,u'_{N}\).

The system of 2*N* equations so obtained in both the second and the third order methods is easily solvable by numerical techniques, as discussed in SectionÂ 4.

## 3 Convergence and stability analysis

### 3.1 Convergence analysis

Let us consider a simple counterpart of the problem (1.1):

subject to the boundary conditions:

On setting the parameter \(\eta=1\), the discretization (2.21a)-(2.21b) reduces to fourth order finite difference scheme. Applying this scheme on the model problem (3.1)-(3.2), we obtain

where \(k=1(1)N\), *h* is the uniform step-size, and \(T_{k}^{(1)}\) and \(T_{k}^{(2)}\) are the truncation errors of \(O(h^{4})\).

Denote by \(\boldsymbol {P} =[1,0,1]\), \(\boldsymbol {L}=[1,1,1]\), and \(\boldsymbol {M} = [1,0,-1]\) the \(N \times N\) tridiagonal matrices. Then the system of equations (3.3a)-(3.3b) can be reformulated in matrix form:

where \(\boldsymbol {u} =[u_{1},u_{2},\dots,u_{N}]^{t} \) and \(\boldsymbol {u}' = [u'_{1},u'_{2},\dots,u'_{N}]^{t} \) are *N*-dimensional solution vectors, *d***1** and *d***2** are vectors with right side functions along with boundary conditions as components, \(\boldsymbol {T^{(1)}}\) and \(\boldsymbol {T^{(2)}}\) are the truncation error vectors and ** I** is the identity matrix. Assuming

**and \(\boldsymbol {U}'\) to be the approximate solution vectors corresponding to**

*U***and \(\boldsymbol {u'}\), respectively, the modified block successive over relaxation (BSOR) method for the scheme (3.3a)-(3.3b) is given by (see [32])**

*u*where \(n=0,1,2,3, \ldots\)â€‰, refers to the iteration number, and \(\omega _{1}\) and \(\omega_{2}\) are the relaxation parameters.

The associated SOR iteration matrix of (3.4a)-(3.4b) is given by

The associated Jacobi iteration matrix is given by

From the SOR theory [32], we know that if *Î¸* is an eigenvalue of ** J**, then

*Î»*is an eigenvalue of

**, where they are related by the following equation:**

*S* To evaluate the value of *Î¸*, we let \(\bigl [{\scriptsize\begin{matrix}{} \boldsymbol {v}_{1} \cr \boldsymbol {v}_{2} \end{matrix}} \bigr ]\) be a partitioned eigenvector of ** J**. Then we have

Eliminating \(\boldsymbol {v}_{2} \) from the above two equations, we get

The rate of convergence of the BSOR method is dependent on the eigenvalues of the Jacobi matrix ** J**, which in turn are given by

** Ï„** denoting the eigenvalues of \((\boldsymbol {L}-3\boldsymbol {I})^{-1}\boldsymbol {M}(\boldsymbol {L}+3\boldsymbol {I})^{-1}\boldsymbol {M} \).

Hence, we determine the optimal parameter \(\omega= \omega_{1} = \omega _{2} \) as

where \(\overline{\tau}=S((\boldsymbol {L}-3\boldsymbol {I})^{-1}\boldsymbol {M}(\boldsymbol {L}+3\boldsymbol {I})^{-1}\boldsymbol {M})\), â€˜*S*â€™ being the spectral radius.

The convergence factor is given by

For convergence, we must have \(\vert \bar{\lambda} \vert < 1 \), which gives the range \(0 < \bar{\boldsymbol {\tau}} < \frac{2}{3}\). Thus, we establish the following result.

### Theorem 1

*The iterative method of the form* (3.4a)-(3.4b) *for the solution of*
\(u^{(4)}(x) = f(x) \)
*converges if*
\(0 < \bar {\boldsymbol {\tau}} < \frac{2}{3} \), *where*
\(\bar{\boldsymbol {\tau}} = S((\boldsymbol {L}-3\boldsymbol {I})^{-1}\boldsymbol {M}(\boldsymbol {L}+3\boldsymbol {I})^{-1}\boldsymbol {M})\), *â€˜Sâ€™ being the spectral radius*, \(\boldsymbol {L} = [1,1,1] \), *and*
\(\boldsymbol {M} = [1,0,-1] \)
*being the*
\(N \times N \)
*tridiagonal matrices*, *and*
*I**being the*
\(N \times N\)
*identity matrix*.

### 3.2 Stability analysis

An iterative method for (3.3a)-(3.3b) can be written as

where \(\boldsymbol {U}^{(n)}\) and \(\boldsymbol {U}^{\prime(n)}\) are approximate solution vectors at the *n*th iteration and \(\boldsymbol {r}_{1} \) and \(\boldsymbol {r}_{2} \) are right hand side vectors consisting of the boundary conditions.

The above iterative method can be written in matrix form:

where

and

The eigenvalues of ** P** and

**are \(2 \cos (\frac{n\pi}{(N+1)}) \) and \(2 i \cos(\frac{n\pi}{(N+1)})\), respectively, where \(n=1,2,\ldots,N\). The characteristic equation of matrix**

*M***is given by**

*G* where *Î¶* are the eigenvalues of ** G** given by

The proposed iterative method (3.5a)-(3.5b) is stable, if maximum absolute eigenvalues of the iteration matrix are less than or equal to 1. It has been verified computationally that all the eigenvalues are less than 1. Hence, the scheme is stable.

## 4 Numerical illustrations

For the uniform mesh case, we know that the step size *h* is equal to \(\frac{1}{(N+1)}\), thereby giving \(O(h)=O(N^{-1})\). However, for the quasi-variable mesh case, we need to appropriately chose the parameter so as to retain the claimed order of convergence as the number of intervals are varied, taking also into account the region of boundary layer, if any. As discussed in SectionÂ 2, if \(h_{1}, h_{2}, \ldots, h_{N+1}\) are the step-sizes over the \(N+1\) sub-intervals of the domain \([0,1]\), then let

Let us choose, without loss of generality, \(\eta>1\). Then it is easy to observe the following:

Thus, if we fix \(C=\eta^{N}\) to be a constant, then we obtain \(H_{\max} < C/N\). Further, let \(\mathbf{h}= \lbrace h_{k} \rbrace _{k=1}^{N+1}\). Then

Hence, \(O(\mathbf{h})=O(N^{-1})\) in the maximum absolute norm. Similarly, in the sense of the root mean square norm, we have

where \(C=\eta^{N}\) is a constant.

In a similar manner to above, it can be verified that if \(\eta<1\), then \(\|\mathbf{h}\|_{\infty} \leq1/CN\) and \(\|\mathbf{h}\|_{2} \leq 1/CN\), where \(C=\eta^{N}\) is taken as a constant. Thus, upon defining *Î·* as a function ofÂ *N*, we are able to retain the order of accuracy upon varying *N*. It is to be noted that the choice of constant *C* needs to be compatible with the range of *Î·*, which in turn needs to be chosen so as to have a finer grid in the region of boundary layer. For \(\eta>1\), the mesh will be finer near \(x=0\), and coarser on the other side, while for \(\eta<1\), the mesh will be finer near \(x=1\), and coarser on the other side. If the boundary layer appears on both sides, the domain can be decomposed into two equal parts, and *Î·* be chosen less than 1 on first half, and greater than 1 on the second half of the domain. Then the method vice versa should be followed in the case an interior layer appears in the middle. In the case of a uniform mesh, \(C=\eta=1\).

We have tested our numerical methods on five linear and two non-linear problems. The right hand side functions and the boundary conditions can be determined from the exact solution. All the numerical computations are performed using double arithmetic. The iterations were stopped once the error tolerance â‰¤10^{âˆ’12} was achieved. The numerical results support the theoretical order of accuracy of our methods.

### Problem 1

Solve (see [17])

Here, *K* is a constant. The exact solution for this problem is given by

TablesÂ 1 and 2 illustrate the absolute errors so obtained using our second and fourth order methods, respectively, over a uniform mesh. We obtain successful results for value of *K* as large as 10^{6}. The tables also draw a comparison between the proposed results and the results of [17]. It is observed that on one hand, for large value of *K*, the accuracy of the numerical results of [17] deteriorates as the value of *x* increases from 0 to 1, our methods are unaffected by the same. The proposed results are clearly better than that of [17]. FigureÂ 1(a) and (b) provide the plots of absolute error vs. *x* and FigureÂ 1(c) depicts a comparison of the exact and numerical solutions so obtained with the fourth order technique.

### Problem 2

Solve

The exact solution is given by

The maximum absolute errors (MAEs) corresponding to different values of *Ïµ* with a uniform mesh are tabulated in TableÂ 3, along with a comparison drawn with the results of [21] and [20]. The tables clearly depict a better result with the proposed techniques. A plot of MAE vs. *N* and exact and numerical solutions vs. *x*, obtained with the fourth order method, are presented in FigureÂ 2(a) and (b), respectively.

### Problem 3

Solve

This is a reaction type equation, which arises in beam theory. The exact solution is given by

The MAEs obtained for a range of values of *Î»*, using the second order technique with a uniform mesh are given in TableÂ 4 and that with the fourth order technique are given in TableÂ 6. Using the second and third order quasi-variable mesh methods, the MAEs so obtained are depicted in TablesÂ 5 and 7, respectively. In the quasi-variable mesh case, we have chosen \(C=\sqrt {\lambda}\) for the first half of the domain and \(C=\frac{1}{\sqrt {\lambda}}\) for the rest half. It is observed that while uniform mesh methods fail for high values of *Î»*, the quasi-variable mesh methods are successful. Figure 3 provides the plots using the third order technique.

### Problem 4

Solve

This is a convection type equation. The exact solution is given by

The MAEs obtained with a uniform mesh are given in TableÂ 8 using the proposed second order method and in TableÂ 10 using the fourth order method. The MAEs obtained using second order quasi-variable mesh method are shown in TableÂ 9, and that using third order method in TableÂ 11. Here, we have chosen \(C={\lambda}\). It is observed that as *Î»* increases, quasi-variable mesh methods produce successful results while the uniform mesh methods fail. The plots of MAE vs. *N* and the exact and numerical solutions vs. *x* with the third order technique are presented in FigureÂ 4(a) and (b), respectively.

### Problem 5

Solve (see [5])

The exact solution is given by \(u(x) = (1-x^{2})\exp(x) \). The physical significance of this non-linear problem has been discussed in SectionÂ 1. The MAEs and the root mean square errors (RMSEs) are tabulated in TablesÂ 12 and 13 using second, and third and fourth order techniques, respectively. When used with a quasi-variable mesh, we have fixed \(C=0.6\) for the second, and \(C=0.7\) for the third order discretization. The tables clearly illustrate the accuracy of our methods. Figure 5 provides a comparative plot of the exact and numerical solutions.

### Problem 6

Solve

or, equivalently,

This is a fourth order singular problem in cylindrical polar coordinates. The exact solution is given by \(u(r) = r^{4} \sin(r) \). The MAEs and RMSEs so obtained are tabulated in TableÂ 14 using a uniform mesh and in TableÂ 15 using a quasi-variable mesh. In the case of quasi-variable mesh, we have taken \(C=0.5 \) for the second and \(C=0.6 \) for the third order techniques, respectively. The plots of the exact and numerical solutions and MAE vs. *N* with the third order method are presented in Figure 6.

### Problem 7

Solve

Theexact solution is given by \(u(r) = \cos(r) \), \(v(r) = \exp(r) \). These coupled non-linear equations represent amodel of equilibrium for a load symmetric about the center (see [35]). With a quasi-variable mesh, we haveused \(C=0.45 \) for the second and \(C=1.1 \) for the third order method. The MAEs and RMSEs obtained with the uniform mesh methods are tabulated in TableÂ 16 and that obtained with quasi-variable mesh methods in TableÂ 17. Comparative plots of the exact and numerical solutions obtained with the third order technique are presented in Figure 7.

## 5 Concluding remarks

In this article, we derived finite difference techniques (2.7a)-(2.7b) of second and (2.21a)-(2.21b) of third order accuracies for the fourth order BVPs of the type (1.1)-(1.2), using a quasi-variable mesh. While the second order method retained its accuracy, the third order method transformed into a fourth order technique, upon setting the parameter \(\eta=1\). Further, we conducted the convergence and stability analysis of the fourth order technique applied to a model problem. We solved seven physical problems, including a singular and a coupled non-linear BVP. The developed methods were directly applicable to problems in polar coordinates. As a by-product of our methods, we obtained the high order approximations to the values of \(u'\) as well, at each grid point. The numerical results confirmed that the proposed quasi-variable mesh schemes yield results of desired accuracies, as theoretically claimed. Also, we observed that while in some cases, for higher values of the perturbation parameter *Î»*, the uniform mesh techniques failed, the quasi-variable mesh techniques still yielded good results. A comparison of the proposed techniques with that of previously developed techniques clearly depicted the superiority of our methods.

## References

Momani, S: Some problems in non-Newtonian fluid mechanics. Ph.D thesis, Wabe university, United Kingdom (1991)

Agarwal, RP, Akrivis, G: Boundary value problems occurring in plate deflection theory. J. Comput. Appl. Math.

**8**(3), 145-154 (1982)Ma, TF, Silva, J: Iterative solution for a beam equation with non-linear boundary conditions of third order. Appl. Math. Comput.

**159**(1), 11-18 (2004)Choobbasti, AJ, Barari, A, Farrokhzad, F, Ganji, DD: Analytical investigation of a fourth order boundary value problem in deformation of beams and plate deflection theory. J. Appl. Sci.

**8**, 2148-2152 (2008)Elcrat, AR: On the radial flow of a viscous fluid between porous disks. Arch. Ration. Mech. Anal.

**61**(1), 91-96 (1976)Chawla, MM, Katti, CP: Finite difference methods for two-point boundary value problems involving higher order differential equations. BIT Numer. Math.

**19**, 27-33 (1979)Shanthi, V, Ramanujam, N: Asymptotic numerical methods for singularly perturbed fourth order ordinary differential equations of convection-diffusion type. Appl. Math. Comput.

**133**, 559-579 (2002)Shanthi, V, Ramanujam, N: A boundary value technique for boundary value problems for singularly perturbed fourth order ordinary differential equations. Comput. Math. Appl.

**47**, 1673-1688 (2004)Shanthi, V, Ramanujam, N: Asymptotic numerical method for boundary value problems for singularly perturbed fourth order ordinary differential equations with a weak interior layer. Appl. Math. Comput.

**172**, 252-266 (2006)Franco, D, Oâ€™Regan, D, PerÃ¡n, J: Fourth order problems with non-linear boundary conditions. J. Comput. Appl. Math.

**174**(2), 315-327 (2005)Wang, GY, Chen, ML: Second order accurate difference method for the singularly perturbed problem of fourth order ordinary differential equations. Appl. Math. Mech.

**23**, 271-274 (1990)Usmani, RA, Taylor, PJ: Finite difference methods for solving \([ p ( x ) y^{\prime\prime} ]^{\prime\prime}+q ( x ) y=r ( x )\). Int. J. Comput. Math.

**14**(3-4), 277-293 (1983)Siraj-ul-Islam, Tirmizi, IA, Fazal-i-Haq, Taseer, SK: A family of numerical methods based on non-polynomial splines for the solution of contact problems. Commun. Nonlinear Sci. Numer. Simul.

**13**(7), 1448-1460 (2008)Siraj-ul-Islam, Tirmizi, SIA, Fazal-i-Haq, Khan, MA: Non-polynomial splines approach to the solution of sixth-order boundary value problems. Appl. Math. Comput.

**195**(1), 270-284 (2008)Twizell, EH, Tirmizi, SIA: Multiderivative methods for linear fourth order boundary value problems. Tech. Rep. TR/06/84, Department of Mathematics and Statistics, Brunel University (1984)

Nurmuhammad, A, Muhammad, M, Mori, M, Sugihara, M: Double exponential transformation in the sinc-collocation method for a boundary value problem with fourth-order ordinary differential equation. J. Comput. Appl. Math.

**182**(1), 32-50 (2005)Momani, S, Noor, MA: Numerical comparison of methods for solving a special fourth-order boundary value problem. Appl. Math. Comput.

**191**(1), 218-224 (2007)Usmani, RA: Finite difference methods for computing eigen values of a fourth order linear boundary value problem. Int. J. Math. Math. Sci.

**10**(1), 137-143 (1984)Chen, J, Li, C: High accuracy finite difference schemes for linear fourth-order discrete boundary value problem and derivatives. Adv. Differ. Equ.

**2009**(1), 1-18 (2009)Akram, G, Amin, N: Solution of a fourth order singularly perturbed boundary value problem using quintic spline. Int. Math. Forum

**7**, 2179-2190 (2012)Akram, G, Naheed, A: Solution of fourth order singularly perturbed boundary value problem using septic spline. Middle-East J. Sci. Res.

**15**(2), 302-311 (2013)Kelesoglu, O: The solution of fourth order boundary value problem arising out of the beam-column theory using Adomian decomposition method. Math. Probl. Eng.

**2014**, Article ID 649471 (2014)Ejaz, ST, Mustafa, G, Khan, F: Subdivision schemes based collocation algorithms for solution of fourth order boundary value problems. Math. Probl. Eng.

**2015**, Article ID 240138 (2015)Agarwal, RP, Chow, YM: Iterative methods for a fourth order boundary value problem. J. Comput. Appl. Math.

**10**(2), 203-217 (1984)Mohanty, RK: A fourth order finite difference method for the general one-dimensional non-linear biharmonic problems of first kind. J. Comput. Appl. Math.

**114**(2), 275-290 (2000)Noor, MA, Mohyud-Din, ST: An efficient method for fourth order boundary value problems. Comput. Math. Appl.

**54**, 1101-1111 (2007)Mirmoradi, SH, Ghanbarpour, S, Hosseinpour, I, Barari, A: Application of homotopy perturbation method and variational iteration method to a non-linear fourth order boundary value problem. Int. J. Math. Anal.

**3**(23), 1111-1119 (2009)Talwar, J, Mohanty, RK: A class of numerical methods for the solution of fourth-order ordinary differential equations in polar coordinates. Adv. Numer. Anal.

**2012**, Article ID 626419 (2012)Sarakhsi, AR, Ashrafi, S, Jahanshahi, M, Sarakhsi, M: Investigation of boundary layers in some singular perturbation problems including fourth order ordinary differential equation. World Appl. Sci. J.

**22**(12), 1695-1701 (2013)Tirmizi, IA, Fazal-i-Haq, Siraj-ul-Islam: Non-polynomial spline solution of singularly perturbed boundary value problems. Appl. Math. Comput.

**196**(1), 6-16 (2008)Jiaqi, MO: Singularly perturbed solution of boundary value problem for non-linear equations of fourth order with two parameters. Adv. Math.

**39**(6), 736-740 (2010)Hageman, LA, Young, DM: Applied Iterative Methods. Dover, New York (2012)

Kelly, CT: Iterative Methods for Linear and Non-Linear Equations. SIAM, Philadelphia (1995)

Saad, Y: Iterative Methods for Sparse Linear Systems. SIAM, Philadelphia (2003)

Prescott, J: Applied Elasticity. Dover, New York (1946)

## Acknowledgements

The second author is supported by â€˜SAARC Silver Jubilee Scholarshipâ€™ under the scholarship grant no. SAU/(S/ship)/003/2013-14. The authors are thankful to the reviewers for their valuable suggestions, which greatly improved the standard of this paper.

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interest.

### Authorsâ€™ contributions

RKM discussed the quasi-variable mesh methods and the convergence analysis. HS partly discussed the derivation of the methods and partly carried out the computational work. HS also discussed the stability analysis. NS partly carried out the derivation of the methods and the computational work. All the authors read and approved the final manuscript.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Mohanty, R.K., Sarwer, M.H. & Setia, N. A class of quasi-variable mesh methods based on off-step discretization for the solution of non-linear fourth order ordinary differential equations with Dirichlet and Neumann boundary conditions.
*Adv Differ Equ* **2016**, 248 (2016). https://doi.org/10.1186/s13662-016-0973-5

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s13662-016-0973-5

### MSC

- 65L10
- 65L12
- 65L20
- 65L50
- 65F05

### Keywords

- ordinary fourth order boundary value problems
- quasi-variable mesh
- off-step discretization
- Navier-Stokes equation