- Research
- Open Access
- Published:

# Numerical solutions of higher order boundary value problems via wavelet approach

*Advances in Difference Equations*
**volume 2021**, Article number: 347 (2021)

## Abstract

This paper presents a numerical scheme based on Haar wavelet for the solutions of higher order linear and nonlinear boundary value problems. In nonlinear cases, quasilinearization has been applied to deal with nonlinearity. Then, through collocation approach computing solutions of boundary value problems reduces to solve a system of linear equations which are computationally easy. The performance of the proposed technique is portrayed on some linear and nonlinear test problems including tenth, twelfth, and thirteen orders. Further convergence of the proposed method is investigated via asymptotic expansion. Moreover, computed results have been matched with the existing results, which shows that our results are comparably better. It is observed from convergence theoretically and verified computationally that by increasing the resolution level the accuracy also increases.

## Introduction

Higher-order boundary value problems (HOBVPs) have widespread applications in diverse areas of science and engineering. Mostly, these problems arise in astronomy, fluid dynamics, astrophysics, hydrodynamics, beam theory, induction motors [1], and other branches of engineering sciences [2]. If an infinite smooth sheet of fluid is heated from below in the presence of a magnetic field in gravity direction, instability occurs. When this instability is ordinary convection, it is modeled through tenth order boundary value problems (BVPs). If instability sets are as over stability, it is modeled by twelfth order boundary value problem [3].

In generic cases, analytical solution of HOBVPs is a painstaking process, therefore researchers have turned their attention towards approximate solutions. For example, Syed et al. [4] applied modified variational iteration method (MVIM) for the solution of ninth and tenth order BVPs. Siddiqi et al. [5] solved eleventh order BVPs using variational iteration method. Mirmoradi et al. [6] implemented homotopy perturbation method (HPM) for twelfth order BVPs. Noor et al. [7] solved twelfth order BVPs via variational iteration method (VIM). Samaher [8] and his co-authors presented the solution of thirteenth order BVPs by modified Adomian decomposition method (MADM). Akram et al. [9, 10] applied homotopy analysis method and nonpolynomial splines technique for solving ninth order BVPs. Siddiqi et al. [11, 12] used spline technique for solving linear tenth and twelfth order BVPs.

For the past few decades, wavelet based numerical methods have gained great importance for solution of HOBVPs, because of their ease in implementation. In literature, there exist several wavelet families. Amongst different kinds, Haar wavelet (HW) deserves special attention. HW is based on Haar functions which were defined by the Hungarian mathematician Alfred Haar [13] in 1909. For the first time these wavelets were used for the problems of calculus in 1997. HW comprises rectangular functions which are discontinuous at the endpoints of the interval. Therefore, HW is not directly implementable for solution of differential equations. To remove this ambiguity, Cattani [14] used spline approach to regularize these wavelets. Another way is to approximate highest order derivative by HW series. This approach was investigated by Chen and Hsiao [15, 16]. Later on, this approach became popular and has been applied to different problems. In this direction, Lepik [17] presented the solution of a higher order differential equation by using HW. Fazal et al. [18, 19] and Reddy et al. [20] solved fourth, fifth, sixth, seventh, and ninth order boundary value problems using HW. Umer [20] implemented the HW technique for solving heat convection radiation problems. Agarwal et al. [21, 22] investigated some special functions in the analysis of differential equations and some existences and uniqueness results for fractional nonlocal thermistor problem. Chu [23] and his collaborators studied fractional multi-dimensional Navier–Stokes equation. Sunarto et al. [24] implemented iterative method for solving one-dimensional fractional mathematical physics model via quarter-sweep and PAOR. The authors in [25, 26] explored global exponential stability of Clifford-valued neural networks and new quantum boundaries for quantum Simpson’s and quantum Newton’s type inequalities for preinvex functions respectively. Rezapour et al. [27] used DGJIM and ADM methods for multi-term fractional BVP involving the generalized *ψ*-RL-operators.

The rest of the paper is organized in the following way. In Sect. 2, basic definitions of HW are described. Method description and convergence are given in Sects. 3 and 4 respectively. Test problems are presented in Sect. 5, while conclusion is addressed in Sect. 6.

### Motivation

The main motivation of this work is to develop HW based algorithm for solving HOBVPs. Also we will elaborate the scheme coupled with quasilinearization to tackle nonlinearity in tenth, twelfth, and thirteenth order BVPs. Convergence result will also be a part of this work.

## Haar wavelet and its integrals

Suppose \(w \in [c, d )\), where *c* and *d* are constants. We define \(\mathbb{M} =2^{\mathrm{J}}\), where J represents the maximal resolution level. Further subdivide \([ c, d )\) into \(2 \mathbb{M} \) subintervals with mesh size \(\Delta {w} = \frac{1}{2\mathbb{M} }{ ({d}-{c} )}\). Next define two parameters, namely dilation \(\jmath =0,1,2,3,\ldots,\mathrm{J}\), and translation parameter \(k=0,1,2,\ldots,m-1\). These parameters show the integer decomposition of wavelet number \(i=k+m+1\), where \(m=2^{j}\). Then *i*th Haar wavelet is defined as follows [17, 21]:

where \(\alpha _{s+1}(i)= c+ (2k+s )\eta \Delta w, s=0,1,2, \text{and} \eta =2^{J-j}\). Equation (1) is valid if \(i>2\). For \(i=1 \), the scaling function is defined as

For \(i=2\), the mother wavelet is given by

To solve *n*th order BVPs, one needs repeated integrals of the form

where \(i=1,2,3,\ldots, 2 \mathbb{M} \) and \(\mu =1,2,\ldots, n\). Using Eq. (1) and Eq. (2), the closed form expression of these integrals is given by [17]:

Equation (5) is valid for \(i \geq 2\), when \(i=1\) then

The proposed method is based on collocation approach, therefore the collocation points are

## Method description for linear problems

This section is devoted to describing the proposed methodology for solving HOBVPs. For this purpose consider the *n*th order ordinary differential equations

where \(\mathfrak{L}\) is a general differential operator and *g* is a known function. The corresponding initial and boundary conditions are

or

or

Here, we present the method only for initial conditions, boundary conditions will be treated later. Next we approximate the highest order derivative by truncated HW series as follows:

where \(b_{i}\) stands for unknown wavelet coefficients to be calculated. Integrating Eq. (12), \(n-\sigma \) times in the domain \([\mathcal{C},w]\), we have

Now inserting Eq. (7) and (12)–(13) in Eq. (8) leads to the system of \(2{\mathbb{M}}\) equations with \(2{\mathbb{M}}\) unknowns \(b_{i}\). After computing \(b_{i}\), the desired solution can be extracted from Eq. (13) by putting \(\sigma =0\). It is to be noted that the proposed method requires initial conditions of the form \(\Psi ^{(\sigma )}(\mathcal{C}), \sigma =0,1,2,\dots,n-1\). If conditions \(\Psi ^{(s)}(w_{r})=\Gamma _{r}\), where \(w_{r}\in [\mathcal{C},\mathcal{D}]\), and \(s< n\) is any nonnegative integer are known instead of \(\Psi ^{(s)}(\mathcal{C})\), we need to find \(\Psi ^{(s)}(\mathcal{C})\). By doing this one can write Eq. (13) as follows:

Equation (14) denotes the system of linear equations from which the rest of initial conditions can be computed.

### Nonlinear case and quasilinearization

Consider a nonlinear *n*th order differential equation of the form

with initial and boundary conditions

where \(\Psi ^{(\sigma )}\) represents *σ*th derivative of Ψ, \(\mu _{\sigma }\) are given constants. Using the quasilinearization procedure [28], Eq. (15) reduces to

In Eq. (17) *γ* stands for the number of iterations. It is clear from the above equation that the value of Ψ at the \((\gamma +1 )\)th iteration can be computed if it is known at the *γ*th iteration.

## Convergence analysis

In this section, we discuss the convergence of 10th order problem. For this purpose we consider the given problem

Assume that

Alternatively this series can be written as

where \(i= m+\ell +1\), \(j= 0,1,2,\ldots J \), \(\ell = 0,1,2,\ldots m-1\). Integrating Eq. (19) ten times the resultant is

where \({\mathbb{B}}(w)\) denotes boundary terms. To express the convergence as a theorem, we use the following lemma.

### Lemma 4.1

([29])

*If* \(\Psi (w)\in L^{2}(R)\) *with* \(|\Psi ^{\prime } (w) |\le \rho \) *for all* \(w\in (0,1)\) *and* \(\Psi (w)=\sum_{i=0}^{\infty } b_{i} \mathbb{H}_{i}(w)\), *then* \(\mid b_{i}\mid \le \frac{\rho }{2^{j +1}}\).

### Theorem 4.2

*If* Ψ *and* \(\Psi _{2\mathbb{M}}\) *are the exact and approximate solutions of Eq*. (18), *then the error norm at* *J* *resolution level is given by*

### Proof

From Eqs. (19) and (21) we have

Using the definition of error norm, one can write

Using the fact that Haar wavelet integrals are monotonically increasing functions [29] coupled with Lemma 4.1, the resultant is

which can be written as follows:

Hence

From (27) it is obvious that the error norm is inversely proportional to the resolution level. By increasing the resolution level the error norm should decrease. The same criteria can be applied for the convergence of other HOBVPs. □

## Numerical examples and discussion

In this section, the proposed method is applied to solve 10th, 12th, and 13th order BVPs. To check the performance and reliability of the method, the computed solutions are matched with the exact ones and those presented before.

### Example

Consider the 10th order linear boundary value problem [30]

with initial and boundary conditions

The analytic solution of this problem is given by

Using the method discussed earlier, we have

Integrating Eq. (31) ten times, we get

In Eq. (29) five initial conditions are given, we compute the remaining five initial conditions using Eq. (29) in Eq. (32) as follows:

Using collocation points \(w_{p}\) (see Eq. (7)) and initial conditions, we obtain

where

Equation (33) represents \(2\mathbb{M}\) equations and \(2\mathbb{M}\) unknowns (wavelets coefficients). After calculating the unknowns, approximate solution can be obtained from Eq. (32) when \(\sigma =0\). In Table 1, we matched computed solutions with the exact solution and those presented in [30]. The same table also addresses absolute errors. It is obvious from the table that the proposed method gives better results than [30], which shows betterment of the proposed method. Solution profiles of exact and approximate solutions together with absolute error are shown in Fig. 1. From the figure it can be seen that exact and approximate solutions are in good agreement.

### Example

Consider the 10th order nonlinear boundary value problem [30]

subject to the following conditions:

The exact solution is

Applying quasilinearization, Eq. (34) and Eq. (35) take the form

Approximating the highest order derivative in Eq. (37), we have

Integrating Eq. (40) ten times leads to

Using Eq. (7) and Eq. (41), we get

where

Equation (42) contains a total of \(2\mathbb{M}\) equations in \(2\mathbb{M}\) unknowns. The system has been solved for unknowns with initial approximation \(\Psi _{0}(w)=1\). After calculation of \(b_{i}\), approximate solutions have been calculated from Eq. (38) for \(\sigma =0\). In Table 2 the computed solutions are compared with the exact solution and the results given in [30]. In the same table we also recorded the absolute error. From the table one can see that the proposed method has comparatively good results. In Fig. 2 the plots of exact, approximate solutions and absolute errors are presented. The figure shows that exact and approximate solutions premise well.

### Example

Consider the 12th order linear boundary value problem [31]

subject to the following conditions:

The exact solution of this problem is

The approximate and exact solutions together with absolute error have been addressed in Table 3. The same table also shows the comparison of our results with those obtained via the homotopy perturbation method addressed in [31]. It has been observed that our results are better. Solution profiles of exact versus approximate solutions coupled with absolute error are shown in Fig. 3. From the figure it is clear that both solutions are in good agreement.

### Example

Consider the 12th order nonlinear boundary value problem [32]

with boundary conditions

The exact solution is

The problem is nonlinear which has been linearized using quasilinearization. Computed solutions have been matched with the existing results [32] in Table 4. The same table contains the absolute error. From the table, it is obvious that the computed results are comparatively better. In Fig. 4, the plots of approximate, exact solutions and error are shown, which shows that the approximate and exact solution are close to each other.

### Example

Consider the 13th order linear boundary value problem [33]

with boundary conditions

The exact solution is

In Table 5 we recorded the comparison of exact and calculated solutions with absolute error. The same table contains the results computed by the variational iteration method in [33]. One can see from the table that errors of present solutions are smaller. Graphical solution and absolute error are also plotted in Fig. 5, which indicates that the scheme works well for higher order problems.

### Example

Consider the 13th order nonlinear boundary value problem [33]

with given boundary conditions

The exact solution is

The computed and exact solution and absolute error are displayed in Table 6. From the table it is proved that the proposed method has good results in case of nonlinear BVPs. The plot of exact, approximate solutions and error are shown in Fig. 6. From the figure one can observe the coincidence of exact and approximate solutions.

## Conclusion

In this study, the Haar wavelets collocation has been applied for the numerical solution of HBVPs. The quasilinearization technique has been applied to tackle nonlinearity. Several examples have been solved using the proposed method which confirmed the efficiency and reliability. The computed results have been compared with the exact solution and those available in literature. From tabulated data and graphical solutions it has been observed that the proposed method gives better results than quintic B-splines, homotopy perturbation method, optimal homotopy asymptotic method, and variational iteration method. In the future we will focus on extending the method for higher order partial and time fractional partial differential equations.

## Availability of data and materials

Not applicable.

## References

- 1.
Iftikhar, M., Rehman, H.U., Younis, M.: Solution of thirteenth order boundary value problems by differential transformation method. Asian J. Math. Appl.

**2014**, Article ID ama0114 (2013) - 2.
Noor, M.A., Al-Said, E., Mohyud-Din, S.T.: A reliable algorithm for solving tenth-order boundary value problems. Appl. Math.

**6**(1), 103–107 (2012) - 3.
Chandrasekhar, S.: Hydrodynamic and Hydromagnetic Stability, vol. 1, 1–354 (2013)

- 4.
Mohyud-Din, S.T., Yildirim, A.: Solutions of tenth and ninth-order boundary value problems by modified variational iteration method. Appl. Appl. Math.

**5**(1), 11–25 (2010) - 5.
Siddiqi, S.S., Akram, G., Zulfiqar, I.: Solution of eleventh order boundary value problems using variational iteration technique. Eur. J. Sci. Res.

**30**(4), 505–525 (2009) - 6.
Mirmoradi, H., Mazaheripour, H., Ghanbarpour, S., Barari, A.: Homotopy perturbation method for solving twelfth order boundary value problems. Int. J. Res. Rev. Appl. Sci.

**1**(2), 163–173 (2009) - 7.
Noor, M.A., Mohyud-Din, S.T.: Solution of twelfth-order boundary value problems by variational iteration technique. J. Appl. Math. Comput.

**28**(1), 123–131 (2008) - 8.
Smaher, M.Y.: Efficient modification method of Adomian decomposition method for solving thirteenth order problems. Int. J. Phys. Sci.

**7**(43), 121–132 (2015) - 9.
Akram, G., Sadaf, M.: Application of homotopy analysis method to the solution of ninth order boundary value problems in AFTI-F16 fighters. J. Assoc. Arab Univ. Basic Appl. Sci.

**24**, 149–155 (2017) - 10.
Akram, G., Nadeem, Z.: Nonpolynomial spline technique for the solution of ninth order boundary value problems. Turk. J. Math.

**41**(2), 312–325 (2017) - 11.
Siddiqi, S.S., Twizell, E.H.: Spline solutions of linear tenth-order boundary-value problems. Int. J. Comput. Math.

**68**(3–4), 345–362 (1998) - 12.
Siddiqi, S.S., Twizell, E.: Spline solutions of linear twelfth-order boundary-value problems. J. Comput. Appl. Math.

**78**(2), 371–390 (1997) - 13.
Lepik, Ü., Hein, H.: Haar wavelets. In: Haar Wavelets, pp. 7–20. Springer, Berlin (2014)

- 14.
Cattani, C.: Haar wavelet splines. J. Interdiscip. Math.

**4**(1), 35–47 (2001) - 15.
Chen, C., Hsiao, C.: Haar wavelet method for solving lumped and distributed-parameter systems. IEE Proc., Control Theory Appl.

**144**(1), 87–94 (1997) - 16.
Hsiao, C.-H.: State analysis of linear time delayed systems via Haar wavelets. Math. Comput. Simul.

**44**(5), 457–470 (1997) - 17.
Lepik, U.: Haar wavelet method for solving higher order differential equations. Int. J. Math. Comput.

**1**(8), 84–94 (2008) - 18.
Ali, A., Hussain, I., et al.: Solution of sixth-order boundary-value problems by collocation method using Haar wavelets. Int. J. Phys. Sci.

**7**(43), 5729–5735 (2012) - 19.
Ali, A.: Numerical solution of fourth order boundary-value problems using Haar wavelets. Appl. Math. Sci.

**5**(63), 3131–3146 (2011) - 20.
Saeed, U., et al.: Assessment of Haar wavelet-quasilinearization technique in heat convection-radiation equations. Appl. Comput. Intell. Soft Comput.

**2014**, Article ID 454231 (2014) - 21.
Agarwal, P., Agarwal, R.P., Ruzhansky, M.: Special Functions and Analysis of Differential Equations, vol. 1, pp. 1–371 (2020)

- 22.
Agarwal, P., Ammi, M.S., Asad, J.: Existence and uniqueness results on time scales for fractional nonlocal thermistor problem in the conformable sense. Adv. Differ. Equ.

**2021**(1), 1 (2021) - 23.
Chu, Y.-M., Shah, N.A., Agarwal, P., Chung, J.D.: Analysis of fractional multi-dimensional Navier–Stokes equation. Adv. Differ. Equ.

**2021**(1), 1 (2021) - 24.
Sunarto, A., Agarwal, P., Sulaiman, J., Chew, J.V.L., Aruchunan, E.: Iterative method for solving one-dimensional fractional mathematical physics model via quarter-sweep and PAOR. Adv. Differ. Equ.

**2021**(1), 1 (2021) - 25.
Rajchakit, G., Sriraman, R., Boonsatit, N., Hammachukiattikul, P., Lim, C., Agarwal, P.: Global exponential stability of Clifford-valued neural networks with time-varying delays and impulsive effects. Adv. Differ. Equ.

**2021**(1), 1 (2021) - 26.
Ali, M.A., Abbas, M., Budak, H., Agarwal, P., Murtaza, G., Chu, Y.-M.: New quantum boundaries for quantum Simpson’s and quantum Newton’s type inequalities for preinvex functions. Adv. Differ. Equ.

**2021**(1), 1 (2021) - 27.
Rezapour, S., Etemad, S., Tellab, B., Agarwal, P., Garcia Guirao, J.L.: Numerical solutions caused by DGJIM and ADM methods for multi-term fractional BVP involving the generalized

*ψ*-RL-operators. Symmetry**13**(4), 532 (2021) - 28.
Bellman, R.E., Quasilinearization, R.K.: Nonlinear Boundary-Value Problems. Elsevier, New York (1965)

- 29.
Majak, J., Shvartsman, B., Kirs, M., Pohlak, M., Herranen, H.: Convergence theorem for the Haar wavelet based discretization method. Compos. Struct.

**126**, 227–232 (2015) - 30.
Kasi, K., Raju, Y.S.: Quintic b-spline collocation method for tenth order boundary value problems. Int. J. Comput. Appl.

**51**(15), 7–13 (2012) - 31.
Grover, M., Tomer, A.: A new approach to evaluate 12th order boundary value problems with HPM. Int. J. Comput. Math. Numer. Simul.

**4**(1), 99–112 (2011) - 32.
Ali, J., Islam, S., Rahim, M.T., Zaman, G.: The solution of special twelfth order boundary value problems by the optimal homotopy asymptotic method. World Appl. Sci. J.

**11**(3), 371–378 (2010) - 33.
Adeosun, T.A., Fenuga, O.J., Adelana, S.O., John, A.M., Olalekan, O., Alao, K.B.: Variational iteration method solutions for certain thirteenth order ordinary differential equations (2013)

## Acknowledgements

The authors are thankful to the anonymous reviewers for their valuable comments which improved the quality of the manuscript.

## Funding

This research work is supported by the Center of Excellence in Theoretical and Computational Science (TaCS-CoE), KMUTT.

## Author information

### Affiliations

### Contributions

Conceptualization, AG and SH; Methodology, SA; Software, SA; Validation, AG and AU; Formal Analysis, SA; Investigation, SH; Resources, PK; Writing-Original Draft Preparation, SA; Writing-Review and Editing, AG and AU; Visualization, PK and PC; Supervision, SH; Project Administration, PK and PC; Funding Acquisition, PK and PC. All authors read and approved the final manuscript.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare that they have no competing interests.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Arifeen, S.U., Haq, S., Ghafoor, A. *et al.* Numerical solutions of higher order boundary value problems via wavelet approach.
*Adv Differ Equ* **2021, **347 (2021). https://doi.org/10.1186/s13662-021-03495-6

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s13662-021-03495-6

### Keywords

- Haar wavelet
- Higher order boundary value problem
- Quasilinearization