Abstract
Euler collocation method is developed to approximate the solutions of linear and nonlinear tenth and twelfth-order boundary-value problems. Properties of Euler polynomials and some operational matrices are first presented. These properties are then used to reduce the tenth and twelfth-order boundary-value problems into a system of either linear or nonlinear algebraic equations. Numerical examples illustrate the effectiveness of the method and its possibility of applications to a wide class of problems. The comparison with other method are made. It is shown that Euler collocation method gives better results.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Twelfth-order boundary-value problems arises in many scientific applications in various branches of science. For example, when heating an infinite horizontal layer of fluid from below along with a uniform magnetic field in the same direction across the fluid and with the fluid is subjected to the action of rotation then, instability will occur. When instability occurs as ordinary convection, it is modelled by tenth-order boundary-value problems or, when instability occurs as over stability, it is modelled by twelfth-order boundary-value problems [5, 6, 8, 9].
Agarwals book [2] contains a detailed theorems which discusses the exitance and uniqueness for solving general higher-order boundary-value problems.
Several numerical methods have been developed for solving higher-order boundary value problem such as non polynomial spline [26, 28], modified Adomian decomposition method [3, 31], Legendre operational matrix method [25], Quintic B-spline collocation method [30], iterative method [29], chebychev polynomial solution [10], differential transform technique [24] and variational iteration method [23]. Each of these methods has its essential advantages and disadvantages. An ongoing search for a more effective, general and accurate numerical techniques is a must.
In recent years, a lot of attention has been devoted to the study of Euler method to investigate various scientific models. The efficiency of the method has been formally proved by many researchers [4, 16, 18,19,20]. Euler methods for ordinary differential equations has many salient features due to the properties of the basis functions and the manner in which the problem is discretized. The approximating discrete system depends only on parameters of the differential equation.
The aim of this paper is to develop Euler-collocation method for the numerical solution of the following class of linear and non-linear higher-order boundary value problems:
subject to the boundary conditions
where \(\sigma (x,u)\), \(P_{m}(x)\) and u(x) are continuous functions in \(L^{2}(0,1)\).
The organization of the paper is as follows. In Sect. 2, Euler polynomials along with their relative properties that will be needed later is introduced. In Sect. 3, Euler method is developed for linear and nonlinear higher-order boundary value problems. Error analysis of the method is presented in Sect. 4. In Sect. 5, some numerical examples are presented. Finally, Sect. 6 provides conclusions of the study.
2 Preliminaries and fundamentals relations
2.1 Euler polynomials
The formulation of Euler numbers and polynomials was first introduced by Euler back in 1740 and like other polynomials they have substantial literature and applications in number theory [7, 27, 32]. They are well related to Bernoulli polynomials [13, 15] where the classical Euler polynomials \(E_{n}(x)\) can be defined by means of exponential generating functions as
which is also satisfies the following interesting properties
with \(E_0(x)=1\) and \(\left( {\begin{array}{c}n\\ k\end{array}}\right) \) is a binomial coefficient. Explicitly, the first few basic Euler polynomials can be expressed by
Figure 1 shows the behavior of the first few Euler polynomials on the interval \([-1,2]\).
Also, Euler polynomials \(E_{n}(x)\) are related to Bernoulli polynomials from the following formula
where \(B_{k}(x), k=0,1,\ldots \) are the Bernoulli polynomials of order k which satisfies the well known relations [1, 14, 22]
For the approximation of any unknown function, Euler basis \(E_{n}(x)\) has several advantages over other methods since they uses less number of basis functions compared to other methods and their implementations are simple and straightforward. Next, we will introduce the differentiation matrix of these polynomials that will be needed later.
2.2 Euler operational matrix of differentiation
Euler polynomials has a lot of interesting relations and properties as mentioned in Sect. 2.1 and the most important relation is the relations of their derivatives which is used for solving different type of boundary-value problem. We introduce a technique based on Euler approximation to the solution of Eqs. (1.1)–(1.2) expressed in the truncated Euler series form
where \(\left\{ c_n\right\} _{n=0}^N \) are the unknown Euler coefficients, N is any chosen positive integer such that \(N\ge 2r\), and \(E_n(x)\), \( n=0,1,\ldots ,N\) are the Euler polynomial of the first kind which are constructed according to Eq. (2.5) and it’s relations. Then, the Euler coefficient vector \(\mathbf c \) and the Euler vector \(\mathbf E (x)\) are given by
According to the expansion in Eq. (2.5) and it’s later properties we find
Since \(\mathbf B \) is a lower triangular matrix which has a nonzero diagonal elements , it is nonsingular and \(\mathbf B ^{-1}\) exists. Thus, Euler vector can be described directly from
note that \( \left[ \quad \right] ^t \) denotes transpose of the matrix [ ] where \(\mathbf E ^t(x)\) and \(\mathbf X ^t(x)\) be the \((N+1)\times 1\) and \(\mathbf B \) is the \((N+1)\times (N+1)\) operational matrix. Now, the matrix form of the solution
According to Eq. (2.8) the following formula is concluded evidently. Also, the relation between he matrix \(\mathbf X (x)\) and its derivative \(\mathbf X ^{(1)}(x)\) is
from which we conclude that
where \(\mathbf X ^{(i)}(x)\) is denoting the ith derivative of \(\mathbf X (x)\) then we have
Next, we will illustrate the use of these polynomials along with their operational matrix of derivative for solving Eq. (1.1).
3 Application of Euler matrix collocation method
We will illustrate our method based on Eq. (1.1) on two different cases
3.1 Linear high-order BVP
In this case we assign the source term \(\sigma (x,u)=f(x)\) into Eq. (1.1), then the equation becomes
Let us seek an approximation of (3.1) expressed in terms of Euler polynomials as
where the Euler coefficient vector \(\mathbf c \) and the Euler vector \(\mathbf E (x)\) are given
then the ith derivative of \(u_N(x)\) can be expressed in the matrix from by
To obtain the approximated solution, we first reduce the terms of Eq. (3.1) . The corresponding form of the nonhomogeneous term f(x) of Eq. (3.1), can be shown
where \(\mathbf F = [f_0, f_1, \ldots , f_N]^t\) and \(f_j,\) for \(j = 0, 1, . . .,N\) can be calculated from the a backward linear relation [17]
and
By replacing each term of (3.1) with it’s approximation defined in (2.8), (2.11) and (3.3) respectively, and substituting \( x = x_k\) collocation points defined by
we reach the following theorem.
Theorem 3.1
If the assumed approximate solution of the boundary-value problem (3.1), (1.2) is (2.5) then the discrete Euler system for the determination of the unknown coefficients \(\left\{ c_n\right\} _{n=0}^N\) is given by
Proof
If we replace each term of (3.1) with its corresponding approximation given by (2.5), (3.2) and (3.3) and substitute with the collocation points \( x = x_k\) which is mentioned in section 2.2 and applying the collocation to it. \(\square \)
Equation (3.6) can be written in matrix form
where
and
The matrix representation of the boundary conditions (1.2), can be written as
The simplification in conditions is done by writing (3.8) as
To obtain the solution of Eq. (3.1) with their conditions (1.2), we have to replace the row matrices (3.9) by the last 2r rows of the matrix (3.7) and acquire the new augmented matrix
Now, we have a linear system of \(N + 1\) equations of the \(N + 1\) unknown coefficients. Calculations of those coefficients can be done by solving this linear system. There are numerous method for solving the system (3.10) among which is the Q-R method that will be used in this paper. This solution produces the coefficients \(\mathbf c \) that is used for approximating Euler solution. The algorithm for the proposed method is listed below.
Algorithm
-
Input number of iterations N,
-
Enter \(x=x_{k}\) collocation points,
-
Formulate the system \(\Theta \,\mathbf c =\tilde{\mathbf{F }}\),
-
Solve the system using the Q-R method to find \(\mathbf c \),
-
End.
3.2 Nonlinear high-order BVP
In this case we assign the source term \(\sigma (x,u)=f(x)-\left[ u(x)\right] ^{n}\) in Eq. (1.1) then by substituting each term in Eq. (3.1) with the approximation defined in (2.8),(2.11) and (3.3) respectively the equation becomes
where \(\mathbf F = [f_0, f_1, \ldots , f_N]^\tau \) can be calculated also according to Eqs. (3.4)–(3.5). Then the residual term can be calculated
We need to first collocate Eq. (3.12) at \(N-2r+1\) points. For suitable collocation points we use the first \(N-2r+1\) Euler roots of \(E_{N+1}(x)\). These equations obtained from Eq. (3.12) along with the boundary conditions from (1.2) generates \(N+1\) nonlinear equations in \(N+1\) unknowns coefficients \(\mathbf c \) that can be solved using Newton’s iterative method [11]. Consequently, u(x) can be calculated according to Eq. (2.5).
Newton’s method
In order to solve the system of Eq. (3.12), we formulate it as
where \(\mathbf c \) is the column vector of the independent variables and \(\mathbf R \) is the column vector of the function \(\mathbf R _{i}\), with \(\mathbf R _{i}(\mathbf C )=\mathbf R _{i}(c_{0},c_{1},\ldots ,c_{N})\),\( 1\le i\le N+1\). The number of zero valued functions is equal to the numbers of the independent variables. Then a good approximation to the method for solving Eq. (3.13) is the Newton’s method [11].
Consider \(\mathbf c ^{(j)}\) be the initial guess at the iteration j of the solution. Also, let \(\mathbf R ^{(j)}\) indicate the value of \(\mathbf R \) at the jth iteration. Assuming that \(\Vert \mathbf R ^{(j)}\Vert \) is not too small, then we need to update vectors \(\Delta \mathbf c ^{(j)}\)
such that \(\mathbf R (\mathbf c ^{j+1})=0\). Using the multidimensional extension of Taylor’s theorem for the approximation of the variation of \(\mathbf R (\mathbf c )\) in the neighborhood of \(\mathbf c ^{j}\) gives
where \(\mathbf R ^{\prime }(\mathbf c ^{(j)})\) is the jacobian of the system of equations
Appointing \(\mathbf J ^{(j)}\) as the jacobian evaluated at \(\mathbf c ^{(j)}\) and neglect terms of higher-order then we can rearrange Eq. (3.15) as
Our goal of this method is to reach \(\mathbf R (\mathbf c ^{j}+\Delta \mathbf c ^{j})=0\), so assigning that term to zero in the last equation gives
Then, Eq. (3.18) is the system of \(N+1\) linear equation in the \(N+1\) unknown \(\Delta \mathbf c ^{(j)}\). Each Newton iteration step involves evaluating the vector \(\mathbf R ^{(j)}\), the matrix \(\mathbf J ^{(j)}\) and a solution to Eq. (3.18). Newton iteration is stopped whenever the distance between two iteration is less than a give tolerance, i.e., when \(\Vert c^{(j+1)}-c^{(j)}\Vert \le \varepsilon \). The algorithm for the above method is listed below.
Algorithm
-
Initialize \(\mathbf c =\mathbf c ^{(0)},\)
-
For \(i=0,1,2,\ldots , \mathbf R ^{(j)}\) from equation (3.12),
-
If \(\Vert \mathbf R ^{(j)}\Vert \) is small enough, stop,
-
Compute \(\mathbf J ^{(j)},\)
-
Solve \(\mathbf J ^{(j)}\Delta \mathbf c ^{(j)}=-\mathbf R (\mathbf c ^{(j)})\),
-
\(\mathbf c ^{(j+1)}=\mathbf c ^{(j)}+\Delta \mathbf c ^{(j)},\)
-
End.
4 Error analysis
In this section, we will analyze the error of the presented method, suppose that \(H=L^{2}[0,1]\),
f be an arbitrary element in H and \(\mathbf U \) is a finite dimensional vector space and f has the unique best approximation out of \(\mathbf U \) such that \(\bar{f}\in U\), that is
Since \(\bar{f} \in \mathbf U \) is the best \(L_{2}\) approximation of f in \(\mathbf U \), there exist a unique coefficients \(\{f_{0}, f_{1}, \ldots , f_{N}\}\) such that
where
Theorem 4.1
[21] Suppose that \(f(x)\in C^{\infty }[0,1]\) and F(x) is the approximated function using Euler polynomials. Then the upper bound for these polynomials would be calculated according to the following
where \(\mu \) is a positive number independent of N.
Theorem 4.2
Suppose that u(x) be an enough smooth function and \(u_N(x)\) be the truncated Euler series of u(x). Then,
where \(\mathbf G \) is a positive constant and the global error \(O \left( N! \pi ^{-(N+1)}\right) .\)
Proof
In an operator form, Eq. (1.1) can be written as
where the differential operator L is given by
The inverse operator \(L^{-1}\) is therefore considered a 2r-fold integral operator defined by
Operating with \(L^{-1}\) on (4.1) yields
By approximating the functions u(x) and F(x) by the Euler polynomials. Therefore,
thus, by subtracting the last two equations we find
where \(L_{G}\) is the Lipschitz constant of the function G(x, u(x)), then
Using Theorem 4.1 yields
where \(\mathbf G =\frac{\mu }{1-L_{G}}\). Thus the presented method supplies an approximate solution with global error \(O (N! \pi ^{-(N+1)})\) which completes the proof. \(\square \)
In the next section we will discuss the accuracy of the solution based on the residual function.
4.1 Accuracy of the solution based on residual function
We can easily check the accuracy of the suggested method as follows. Since the truncated Euler series in Eq. (2.6) is an approximate solution of Eq. (1.1), when the function \(u_{N}(x)\) and it’s derivatives are substituted in Eq. (1.1), the resulting equation must be approximately satisfied ; that is, for
or
where \(q_{k}\) is any positive integer. If max \(10^{-q_{k}}=10^{-q}\) (q is any positive integer) is prescribed, then the truncation limit N is increased until the difference \(\mathfrak {R}_{N}(x_{k})\) at each of the points become smaller than the prescribed \(10^{-q}\). Also, the error function can be estimated from
If \(E_{N}(x)\rightarrow 0\), as N has sufficiently enough value, then the error decreases.
5 Numerical examples
We present four numerical examples which will prove the accuracy, performance and effectiveness of the proposed techniques. We compare our results with the results that were collected from the open literature found in [12, 23, 24, 28,29,30]. The computations associated with these examples were performed using Matlab 2014 on a personal computer. The absolute error may be defined as
Example 5.1
[30] Let us consider The linear 10th order boundary value problem according to Eq. (1.1) with \(r=5\) in the form
subject to the boundary conditions
whose exact solution is
Maximum absolute error are tabulated in Table 1 at different values of N along with the CPU time. Table 2 exhibits a comparison between the errors obtained by using Euler matrix method with the analogous results of Viswanadham and Raju [30], for underlying B-spline method. Figure 2, illustrates the approximate and exact solution at \(N=14\) and the error history at the same values.
Example 5.2
[29, 30] Now, we consider a nonlinear 10th-order boundary value problem
subject to the boundary conditions
whose exact solution is
Table 3 exhibits the maximum absolute error for different values of N along with the CPU time. Table 4 exhibits a comparison between the errors obtained by using Euler matrix method with the analogous results of Rashidinia et al. [29], for underlying Iterative method and with the analogous results of Viswanadham, and Raju [30], for underlying B-spline method.
Example 5.3
[28] Now we turn to linear 12th-order boundary value problem
subject to the boundary conditions
whose exact solution is
Table 5 exhibits the maximum absolute error for different values of N along with the CPU time. Table 6 exhibits a comparison between the errors obtained by using Euler matrix method with the analogous results of Shahid [28], for underlying spline method.
Example 5.4
[10, 12, 23, 24, 29] Our final example is a nonlinear 12th-order boundary value problem
subject to the boundary conditions
whose exact solution is
Table 7 exhibits the maximum absolute error of the presented method at different values of N along with the CPU time. Also, Table 8 gives a comparison between the results obtained with the analogous results of Ullah et al. [29], for underlying Iterative method, with the analogous results of Opanuga et al. [24], for underlying differential transformation method, with the analogous results of Grover and Kumar [12] for underlying Homotopy perturbation method and with the analogous results of Noor and Mohyud-Din [23] for underlying variational method. Also, Fig. 3a introduces the maximum absolute error at different N and Fig. 3b exhibits the Euler solution and exact solutions.
6 Conclusion
This paper has discussed how Euler matrix collocation method can be applied for obtaining solutions of linear and nonlinear both tenth and twelfth-order boundary-value problems. The formulation and implementation of the scheme are illustrated. Our method is tested on four examples and comparisons with other methods are made. It is shown that Euler matrix method yields good results. Euler matrix method is a simple tool for providing high accurate numerical simulations to a large variety of model problems. So it is easily applied by researchers and engineers familiar with Euler matrix method.
References
Abramowitz, M., Stegun, I.: Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, National Bureau of Standards. Wiley, New York (1972)
Agarwal, R.: Boundary value problems for high ordinary differential equations. World Scientific, Singapore (1686)
Alhayani, W.: Adomian decomposition method with Greens function for solving twelfth-order boundary value problems. Appl. Math. Sice. 9, 353–368 (2015)
Bildik, N., Tosun, M., Deniz, S.: Euler matrix method for solving complex differential equations with variable coefficients in rectangular domains. Int. J. Appl. Phys. Math. 7, 69–78 (2017)
Bishop, R., Cannon, S., Miao, S.: On coupled bending and torsional vibration of uniform beams. J. Sound Vib. 131, 457–464 (1989)
Boutayeb, A., Twizell, E.: Finite-difference methods for the solution of special eighth-order boundary value problems. Int. J. Comput. Math. 48, 63–75 (1993)
Bretti, G., Ricci, P.: Euler polynomials and the related quadrature rule. Ga. Math. J. 8, 447–453 (2001)
Chandrasekhar, S.: Hydrodynamic and Hydromagnetics Stability. Dover, New York (1981)
Djidjeli, K., Twizell, E., Boutayeb, A.: Numerical methods for special nonlinear boundary value problems of order \(2m\). J. Comput. Math. Appl. 47, 35–45 (1993)
El-Gamel, M.: Chebyshev polynomial solutions of twelfth-order boundary-value problems. Br. J. Math. Comput. Sci. 6, 13–23 (2015)
El-Gamel, M., Zayed, A.: Sinc-Galerkin method for solving non-linear boundary value problems. Comput. Math. Appl. 48, 1285–1298 (2004)
Grover, M., Kumar, A.: A New approach to evaluate 12th order boundary value problems with HPM. Int. J. Comput. Math. Numer. Simul. 4, 99–112 (2011)
Hansen, E.: A Table of Series and Products. Eaglewood cliffs, Prentice hall (1975)
Lehmer, D.: A new approach to Bernoulli polynomials. Am. Math. Mon. 95, 905–911 (1988)
Magnus, W., Oberhettinger, F., Soni, R.: Formulas and Theorems for the Special Functions of Mathematical Physics. Springer, New York (1966)
Mirzaee, F., Bimesl, S.: An efficient numerical approach for solving systems of high-order linear Volterra integral equations. Sci. Iran. D 21, 2250–2263 (2014)
Mirzaee, F., Bimesl, S.: Solving systems of high-order linear differential difference equations via Euler matrix method. J. Egypt. Math. Soc. 23, 286–291 (2015)
Mirzaee, F., Bimesl, S.: Numerical solutions of systems of high-order Fredholm integro-differential equations using Euler polynomials. Appl. Math. Model. 39, 6767–6769 (2015)
Mirzaee, F., Bimesl, S., Tohidi, E.: A numerical framework for solving high-order pantograph delay Volterra integro-differential equations. Kuwait J. Sci. 43, 69–83 (2016)
Mirzaee, F., Hoseini, S.: A new collocation approach for solving systems of high-order linear Volterra integro-differential equations with variable coefficients. Appl. Math. Comput. 311, 272–282 (2017)
Mirzaee, F., Bimesl, S.: A uniformly convergent Euler matrix method for telegraph equations having constant coefficients. Mediterr. J. Math. 13, 469–515 (2014)
Natalin, P., Bernaridini, A.: A generalization of the Bernoulli polynomials. J. Appl. Math. 3, 155–163 (2003)
Noor, M., Mohyud-Din, S.: Solution of twelfth-order boundary value problems by variational iteration technique. J. Appl. Math. Comput. 28, 123–131 (2008)
Opanuga, A., Okagbue, H., Edeki, S., Agboola, O.: Differential transform technique for higher order boundary value problems. Mod. Appl. Sci. 9, 224–230 (2015)
Pandy, R., Kumar, N., Bhardwaj, A., Dutta, G.: Solution of Lane-Emden type equations using Legendre operational matrix of differentiation. App. Math. Comput. 218, 7629–7637 (2012)
Rashidinia, J., Jalilian, R., Farajeyan, K.: Non polynomial spline solutions for special linear tenth-order boundary value problems. World J. Model. Simul. 7, 40–51 (2011)
Roman, S.: The Umbral Calculus. Academic Press, New York (1984)
Shahid, S., Siddiqi, S., Akram, G.: Solutions of 12th order boundary value problems using non-polynomial spline technique. Appl. Math. Comput. 199, 559–571 (2008)
Ullah, I., Khan, H., Rahim, M.: Numerical solutions of higher order nonlinear boundary value problems by new iterative method. Appl. Math. Sci. 7, 2429–2439 (2013)
Viswanadham, K., Raju, Y.: Quintic B-spline collocation method for tenth order boundary value problems. Int. J. Comput. Appl. 51, 975–989 (2012)
Wazwaz, A.: The modified Adomian decomposition method for solving linear and nonlinear boundary value problems of tenth-order and twelfth-order. Int. J. Nonlinear Sci. Numer. Simul. 1, 17–24 (2000)
Young, P.: Congruences for Bernoulli, Euler and Stirling numbers. Int. J. Number Theory 78, 204–227 (1999)
Acknowledgements
The authors are grateful for the referees for their valuable comments and suggestions on the original manuscript.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
El-Gamel, M., Adel, W. Numerical investigation of the solution of higher-order boundary value problems via Euler matrix method. SeMA 75, 349–364 (2018). https://doi.org/10.1007/s40324-017-0136-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40324-017-0136-y