Abstract
This paper reports new orthogonal functions on the half line based on the definition of the classical Jacobi polynomials. We derive an operational matrix representation for the differentiation of exponential Jacobi functions which is used to create a new exponential Jacobi pseudospectral method based on the operational matrix of exponential Jacobi functions. This exponential Jacobi pseudospectral method is implemented to approximate solutions to high-order ordinary differential equations (ODEs) on semi-infinite intervals. The advantages of using the exponential Jacobi pseudospectral method over other techniques are discussed. Several numerical examples are presented to confirm the validity and applicability of the proposed method. Moreover, the obtained results are compared with those obtained using other techniques.
Similar content being viewed by others
1 Introduction
Consider the initial value problem
with initial conditions
where the functions \(a_{0}(x),a_{1}(x), \ldots, a_{m-1}(x)\) are continuous on the half line \([0,\infty[\) and \(\alpha_{0},\alpha_{1},\ldots, \alpha_{m-1}\) are constants. Eq. (1) was investigated to a wide class of deterministic and stochastic problems. This problem describes several phenomena in engineering, physics and chemical reaction, and so on. Many numerical methods are applied by many authors to study high-order differential equations. Some of more recent methods are collocation method [1–3], multiple iterative splitting method [4], modified Adomian decomposition method [5–7], spectral-Galerkin method [8–11], wavelets method [12, 13], homotopy method [14, 15], variational iteration method [16, 17], elegant harmonic numbers operational matrix of derivatives [18] and others [19–24].
In this article, we derive the operational matrix of differentiation of exponential Jacobi functions, and then we implement a new exponential Jacobi pseudospectral method in conjunction with the operational matrix of differentiation of exponential Jacobi functions to obtain numerical solutions of high-order ordinary differential equations on a semi-infinite interval. Spectral methods (see, for instance, [25–29]), based on using operational matrices, have been implemented in various problems such as fractional differential equations [30, 31], fractional optimal control problems [32], Lane-Emden equation [33, 34], and various integral equations [35]. This equation is collocated at the exponential Jacobi-Gauss quadrature nodes. Doing so, we find that we can obtain very accurate results with minimal computation. Hence, the method is rather computationally efficient compared with other numerical or analytical approaches. Finally, numerical experiments of high-order ODEs are implemented to demonstrate the validity and efficiency of the proposed algorithm. In particular, in Section 2 we design the exponential Jacobi pseudospectral method technique for solving high-order ODEs. In Section 3, several numerical examples are presented to demonstrate the efficiency of present numerical algorithm. Finally, in Section 4, a few concluding remarks and future work are included.
2 Exponential Jacobi pseudospectral method
This section presents technical details of the new exponential Jacobi functions and the exponential Jacobi pseudospectral method (EJPM). First, we outline some useful mathematical properties that we shall make use of. Then, the derivative operational matrix of exponential Jacobi functions is derived and proved. Finally, we derive the EJPM.
2.1 Mathematical preliminaries
Here we list some useful mathematical relations and identities useful in the construction of the exponential Jacobi operational matrix (EJOM). Consider the classical Jacobi polynomials \(J^{(\theta,\vartheta)}_{k}(z)\) on the interval \([-1,1]\) with the weight function \(\omega^{(\theta,\vartheta)}(x)=(1-x)^{\theta}(1+x)^{\vartheta}\), \(\theta ,\vartheta>-1\),
the set \(\{J^{(\theta,\vartheta)}_{k}(z):k=0,1,\ldots\}\) forms a complete orthogonal system in the weighted Hilbert space \(L_{\omega^{\theta,\vartheta}(x)}^{2}[-1,1]\) with the inner product
and the norm
Let us define the exponential Jacobi functions by replacing z by \(1-2 \exp(-x/L)\). Denoting the exponential Jacobi functions \(J^{(\theta ,\vartheta)}_{i} (1-2 \exp(-x/L))\) by \(EJ^{(\theta,\vartheta)}_{i}(x)\), \(x\in[0,\infty)\). Therefore, \(EJ^{(\theta,\vartheta)}_{i}(x)\) may be created by the following recurrence relation:
where
and
The exponential Jacobi functions \(EJ^{(\theta,\vartheta)}_{i}(x)\) of degree i can be written as
where
Let \(\chi_{R}^{(\theta,\vartheta)}(x) =1/L \exp(-x(\theta+1)/L) (1-\exp(-x/L))^{\vartheta}\), \(\theta, \vartheta> -1\). The orthogonality condition of exponential Jacobi functions is
where
Any function \(u(x)\in L_{\chi_{R}^{(\theta,\vartheta)}(x)}^{2}[0,\infty)\) can be expanded in terms of exponential Jacobi functions as
where the coefficients \(c_{j}\) are given by
Here, we outline the exponential Jacobi-Gauss quadrature. Assume that \(x^{(\theta,\vartheta)}_{N,j}\), \(0\leqslant j\leqslant N\), are the zeros of the Jacobi-Gauss interpolation on the interval \((-1, 1)\) and \(\varpi^{(\theta,\vartheta)}_{N,j}\), \(0\leqslant j\leqslant N\), are the corresponding weights of this interpolation. The nodes of the exponential Jacobi-Gauss interpolation on the interval \((0,\infty)\) are the zeros of \(EJ_{N+1}^{(\theta, \vartheta)}(x)\), which are denoted by \(x^{(\theta,\vartheta)}_{R,N,j}\), \(0\leqslant j\leqslant N\). Clearly \(x^{(\theta,\vartheta)}_{R,N,j} =-L \ln(\frac{1-x^{(\theta,\vartheta)}_{N,j}}{2})\), and weights are \(\varpi^{(\theta,\vartheta)}_{R,N,j} =\frac{1}{2^{\theta+\vartheta+1}} \varpi^{(\theta,\vartheta)}_{N,j}\), \(0\leqslant j\leqslant N\). Let \(S_{N}(0,\infty)\) be the set of all polynomials of degree at most N.
Let N be any positive integer, and
Then, for any \(\phi\in S_{2N+1}(0,\infty)\), we obtain
Now, approximating \(u(x)\) by \(N+1\) terms of exponential Jacobi functions yields
where C and \(\phi(x)\) are the unknown coefficients vector and the exponential Jacobi function vector, respectively, and they are given by:
2.2 The derivative operational matrix of exponential Jacobi function
Here we shall give the derivation of a new operational matrix of derivative of the exponential Jacobi functions, which is essential to our numerical method.
Theorem 2.1
Let \(\phi(x)\) be the exponential Jacobi vector defined in (11). The derivative of the vector \(\phi(x)\) can be expressed by
where D is the \((N+1)\times(N+ 1)\) operational matrix of the derivative. Then the nonzero elements \(d_{ij}\) for \(0\leq i,j\leq N\) are given as follows:
It is noticed that D is a lower-Heisenberg matrix.
Proof
By differentiation with respect to x in (3) we get
According to
the elements \(d_{ij}\) of the matrix D may be achieved from
A combination of Eqs. (14), (15) and (16) leads to the desired result. □
The main advantages of studying the general class of exponential Jacobi functions is that the exponential Legendre functions, exponential Chebyshev functions of all kinds, and the exponential Gegenbauer functions can be obtained as immediately special cases of the exponential Jacobi functions. Accordingly, in this article we cover all the previous mentioned functions. More specifically, exponential Legendre, exponential Chebyshev and exponential Gegenbauer operational matrices can be obtained as special cases from the derived exponential Jacobi functions. These cases are summarized in the following corollaries.
Corollary 2.2
If \(\theta= \vartheta= 0\), we obtain the exponential Legendre functions, then the nonzero elements of the operational matrix of the exponential Legendre functions \(d_{ij}\) for \(0\leq i,j\leq N\) are given as follows:
Corollary 2.3
If \(\theta= \vartheta=- \frac{1}{2}\), we have the exponential Chebyshev functions of the first kind, then the nonzero elements of the operational matrix of the exponential Chebyshev functions of the first kind \(d_{ij}\) for \(0\leq i,j\leq N\) are given as follows:
Corollary 2.4
If \(\theta= \vartheta= \frac{1}{2}\), we have the exponential Chebyshev functions of the second kind, then the nonzero elements of the operational matrix of the exponential Chebyshev functions of the second kind \(d_{ij}\) for \(0\leq i,j\leq N\) are given as follows:
Corollary 2.5
If \(\theta= -\frac{1}{2}\), \(\vartheta= \frac{1}{2}\), we have the exponential Chebyshev functions of the third kind, then the nonzero elements \(d_{ij}\) for \(0\leq i,j\leq N\) are given as follows:
Corollary 2.6
If \(\theta= \frac{1}{2}\), \(\vartheta=- \frac{1}{2}\), we have the exponential Chebyshev functions of the fourth kind, then the nonzero elements \(d_{ij}\) for \(0\leq i,j\leq N\) are given as follows:
Remark 2.7
The operational matrix for the nth derivative can be derived as
where \(n \in N\) and the superscript in \({\mathbf{D}}^{(1)}\) denotes matrix powers. Thus
2.3 Derivation of the pseudospectral method
The purpose of this section is to derive a numerical algorithm for the exponential Jacobi spectral collocation method based on the operational matrix of derivative of exponential Jacobi function to solve high-order ordinary differential equations on the half line. Let us consider the high-order ordinary differential equations of the form
with initial conditions
We give some needed properties of exponential Jacobi functions in the preceding subsections, along with the derivation of the operational matrix of derivatives of exponential Jacobi functions.
We will obtain a system of \(N+1\) algebraic equations from: (i) applying the operational matrix of an exponential Jacobi function; (ii) collocation of the high-order ordinary differential equations at \((N -m- 1)\) exponential Jacobi-Gauss points; (iii) imposition of m initial conditions.
In order to use the exponential Jacobi operator matrix for this problem, we first approximate \(u(x)\), \(u^{(i)}(x)\) and \(u^{(m)}(x)\) by the exponential Jacobi functions as
and
By substituting Eqs. (21), (22) and (23) in Eq. (19), we get
Now, we satisfy (24) exactly at the collocation points of Jacobi rational Gauss quadrature. In other words, we have to collocate this operational matrix relation at the \((N -m-1)\) exponential Jacobi roots; \(x^{(\theta,\vartheta )}_{R,N-m,k}\), \(k=0,1,\ldots,N-m\),
Furthermore, for imposing of m initial conditions, substituting Eq. (21) in Eq. (20) gives
Finally, the relations (25)-(26) constitute a system of \((N +1)\) algebraic equations, which can be solved using any iterative technique. Consequently, the approximate solution \(u_{N}(x)\) can be obtained (for more details, see [3, 36, 37]).
3 Numerical results
This section presents several numerical examples to demonstrate the high accuracy and applicability of the present method, and all of them were performed on the computer using a program written in Mathematica 8.0. The absolute errors in the given tables are the values of \(|u(x)-u_{N}(x)|\) at selected points. Moreover, the obtained results are compared with those obtained using other techniques. We consider the following examples.
Example 1
Consider the nonlinear Emden-Fowler equation
subject to
The analytical solution is \(u(x)=e^{-x^{2}}\).
In this example, ten node points in \([0,1]\) and six corresponding weights with respect to first six exponential Jacobi functions are considered. Table 1 shows the analytical and approximation solutions of \(u(x)\) obtained by Chebyshev neural network (ChNN) [38] and exponential Jacobi operational matrix (EJOM) with \(\theta=\vartheta= -\frac{1}{2}\) (first kind exponential Chebyshev functions), \(\theta=\vartheta= 0\) (exponential Legendre functions) and \(\theta=\vartheta= \frac{1}{2}\) (second kind exponential Chebyshev functions), respectively. Absolute errors obtained by EJOM with \(\theta= \frac{1}{2}\), \(\vartheta=-\frac{1}{2}\), \(N=20\) and \(L=1\) for Example 1 are plotted in Figure 1. The graph of analytical solution and approximate solution for \(\theta= \frac{1}{2}\), \(\vartheta=-\frac{1}{2}\), \(N=20\) and \(L=1\) is displayed in Figure 2 to make it easer to compare with analytical solution. Moreover the resulting graph of Eq. (27) for the presented method and the analytic solution are shown in Figure 3.
Example 2
Consider the second-order nonlinear differential equation
subject to
The analytical solution is \(u(x)=\frac{2}{\sqrt{\pi}}\int_{0}^{x}e^{-t^{2}}\,dt\).
In Table 2, we introduce the absolute errors with different values of θ, ϑ, \(N = 24\) and \(L=1\). In Figure 4, we plot the absolute errors obtained by EJOM with \(\theta=- \frac{1}{2}\), \(\vartheta=\frac{1}{2}\), \(N=24\) and \(L=1\), while Figure 5 presents the analytic solution with the approximate solution with \(\theta=- \frac{1}{2}\), \(\vartheta=\frac{1}{2}\), \(N=24\) and \(L=1\).
Example 3
Consider the linear third-order problem
subject to the conditions
and the analytical solution \(u(x)=\ln(x+1)\). We apply the proposed exponential Jacobi operational matrix (EJOM) with three choices of θ and ϑ; \(\theta= \vartheta= -1/2\) (first kind exponential Chebyshev functions), \(\theta= \vartheta = 0\) (exponential Legendre functions), \(\theta= \vartheta = 1/2\) (second kind exponential Chebyshev functions) and the numerical results are tabulated in Table 3. In this table we compare our results with those obtained by the rational Chebyshev collocation (RCC) method [36]. Numerical results of this problem show that (EJOM) is more accurate than the presented method in [36]. The graph of analytical solution and approximate solution for \(\theta= \frac{1}{2}\), \(\vartheta=-\frac{1}{2}\) at \(N=16\) and \(L=10\) is displayed in Figure 6 to make it easer to compare with analytical solution. Figure 7 shows the absolute residual error functions for \(\theta= \frac{1}{2}\), \(\vartheta=-\frac{1}{2}\) at \(N=20\) and \(L=10\).
Example 4
Consider the linear fourth-order problem
subject to the conditions
where f is selected such that exact solution is \(u(x)=e^{-x} \sin x\). In Table 4, we list the absolute errors obtained by EJOM with different values of θ, ϑ at \(N = 24\) and \(L=24\). Figure 8 is plotted to compare the analytic solution with the approximate solution with \(\theta=\vartheta=-\frac {1}{2}\) at \(N=24\) and \(L=6\).
4 Conclusions
In this paper, we derived the operational matrix of derivative of exponential Jacobi functions. This operational matrix in conjunction with the exponential Jacobi spectral collocation method is utilized for reducing the solution of high-order ordinary differential equations on the semi-infinite interval to that of a system of algebraic equations, which may then be solved much more easily. The operational matrices of derivatives of exponential Legendre and exponential Chebyshev functions of the first and second kinds, which often appear in conjunction with such spectral methods in the literature, may be obtained as special cases of the operational matrix of exponential Jacobi functions by taking the corresponding spacial cases of the exponential Jacobi functions parameters θ and ϑ.
Illustrative numerical examples with the satisfactory approximate solutions are achieved to demonstrate the applicability and high accuracy of the present technique. The obtained approximations of the exact solutions for the test problems make this technique very attractive and contributed to the good agreement between approximate and exact values in the numerical example. In addition, the present method could prove fruitful for those investigating not only high-order ordinary differential equations, but more broadly equations with (i) strong nonlinearity and (ii) singularities.
It can be expected that the new exponential Jacobi pseudospectral scheme coupled with a spectral element method will be an effective tool for the numerical solution of time-dependent differential equations [39]. It also may be extended to solve nonlocal boundary value problems with more complicated conditions, meanwhile its extension to the two-dimensional problems is straightforward. We assert that the proposed technique can be applied to a much larger class of fixed-order and variable-order fractional differential equations (see, for instance, [40, 41]).
References
Mai-Duy, N: An effective spectral collocation method for the direct solution of high-order ODEs. Commun. Numer. Methods Eng. 22, 627-642 (2006)
Shi, Z, Li, F: Numerical solution of high-order differential equations by using periodized Shannon wavelets. Appl. Math. Model. 38, 2235-2248 (2014)
Costabile, FA, Napoli, A: Collocation for high order differential equations with two-points Hermite boundary conditions. Appl. Numer. Math. 87, 157-167 (2015)
Geiser, J: A multiple iterative splitting method for higher order differential equations. J. Math. Anal. Appl. 424, 1447-1470 (2015)
Hasan, YQ, Zhu, LM: Solving singular boundary value problems of higher-order ordinary differential equations by modified Adomian decomposition method. Commun. Nonlinear Sci. Numer. Simul. 14, 2592-2596 (2009)
Lin, Y, Chen, C-K: Modified Adomian decomposition method for double singular boundary value problems. Rom. J. Phys. 59(5-6), 443-453 (2014)
Cristescu, IA: Decomposition method for neutron transport equation. Rom. J. Phys. 60(1-2), 179-189 (2015)
Doha, EH, Bhrawy, AH: A Jacobi spectral Galerkin method for the integrated forms of fourth-order elliptic differential equations. Numer. Methods Partial Differ. Equ. 25, 712-739 (2009)
Doha, EH, Bhrawy, AH, Abd-Elhameed, WM: Jacobi spectral Galerkin method for elliptic Neumann problems. Numer. Algorithms 50, 67-91 (2009)
Doha, EH, Bhrawy, AH, Saker, MA: On the derivatives of Bernstein polynomials: an application for the solution of high even-order differential equations. Bound. Value Probl. 2012, Article ID 829543 (2012). doi:10.1155/2011/829543
Abd-Elhameed, WM: New formulae for the high-order derivatives of some Jacobi polynomials: an application to some high-order boundary value problems. Sci. World J. 2014, Article ID 456501 (2014)
Fazal-i-Haq, Ali, A: Numerical solution of fourth order boundary value problems using Haar wavelets. Appl. Math. Sci. 5, 3131-3146 (2011)
Abd-Elhameed, WM, Doha, EH, Youssri, YH: New spectral second kind Chebyshev wavelets algorithm for solving linear and nonlinear second-order differential equations involving singular and Bratu type equations. Abstr. Appl. Anal. 2013, Article ID 715756 (2013)
Noshad, H, Bahador, SS: Numerical solution of Fokker-Planck equation for energy straggling of protons. Rom. Rep. Phys. 66, 99-108 (2014)
Jafarian, A, Ghaderi, P, Golmankhaneh, AK: Construction of soliton solution to the Kadomtsev-Petviashvili-II equation using homotopy analysis method. Rom. Rep. Phys. 65, 76-83 (2013)
Liu, B, Wen, Y, Zhou, X: The variational problem of fractional-order control systems. Adv. Differ. Equ. 2015, Article ID 110 (2015)
Marinca, V, Ene, R-D, Marinca, B: Approximate analytic solutions of a nonlinear elastic wave equations with the anharmonic correction. Proc. Rom. Acad., Ser. A: Math. Phys. Tech. Sci. Inf. Sci. 16, 80-86 (2015)
Abd-Elhameed, WM: On solving linear and nonlinear sixth-order two point boundary value problems via an elegant harmonic numbers operational matrix of derivatives. Comput. Model. Eng. Sci. 101, 159-185 (2014)
Kumar, D, Singh, J, Sushila: Application of homotopy analysis transform method to fractional biological population model. Rom. Rep. Phys. 65, 63-75 (2013)
Noshad, H, Bahador, SS: Numerical solution of Fokker-Planck equation for energy straggling of protons. Rom. Rep. Phys. 66, 99-108 (2014)
Lakhdari, A, Boussetila, N: An iterative regularization method for an abstract ill-posed biparabolic problem. Bound. Value Probl. 2015, Article ID 55 (2015)
El-Raheem, ZFA, Salama, FA: The inverse scattering problem of some Schrodinger type equation with turning point. Bound. Value Probl. 2015, Article ID 57 (2015)
Al-Khaled, K: Numerical solution of time-fractional partial differential equations using Sumudu decomposition method. Rom. J. Phys. 60, 99-110 (2015)
Wang, GW, Xu, TZ: The improved fractional sub-equation method and its applications to nonlinear fractional partial differential equations. Rom. Rep. Phys. 66, 595-602 (2014)
Karimi Vanani, S, Soleymani, F: Tau approximate solution of weakly singular Volterra integral equations. Math. Comput. Model. 57, 494-502 (2013)
Abdelkawy, MA, Ahmed, EA, Sanchez, P: A method based on Legendre pseudo-spectral approximations for solving inverse problems of parabolic types equations. Math. Sci. Lett. 4, 81-90 (2015)
Abd-Elhameed, WM, Youssri, YH: New ultraspherical wavelets spectral solutions for fractional Riccati differential equations. Abstr. Appl. Anal. 2014, Article ID 626275 (2014)
Gurbuz, B, Sezer, M: Laguerre polynomial approach for solving Lane-Emden type functional differential equations. Appl. Math. Comput. 242, 255-264 (2014)
Akyuz-Dascioglu, A, Sezer, M: Bernoulli collocation method for high-order generalized pantograph equations. New Trends Math. Sci. 3, 96-109 (2015)
Bhrawy, AH, Abdelkawy, MA: A fully spectral collocation approximation for multi-dimensional fractional Schrödinger equations. J. Comput. Phys. 294, 462-483 (2015)
Bhrawy, AH, Doha, EH, Ezz-Eldien, SS, Abdelkawy, MA: A numerical technique based on the shifted Legendre polynomials for solving the time-fractional coupled KdV equation. Calcolo (2015). doi:10.1007/s10092-014-0132-x
Bhrawy, AH, Doha, EH, Baleanu, D, Ezz-Eldien, SS, Abdelkawy, MA: An accurate numerical technique for solving fractional optimal control problems. Proc. Rom. Acad., Ser. A: Math. Phys. Tech. Sci. Inf. Sci. 16, 47-54 (2015)
Doha, EH, Bhrawy, AH, Hafez, RM, Van Gorder, RA: A Jacobi rational pseudospectral method for Lane-Emden initial value problems arising in astrophysics on a semi-infinite interval. Comput. Appl. Math. 33, 607-619 (2014)
Doha, EH, Abd-Elhameed, WM, Bassuony, MA: On using third and fourth kinds Chebyshev operational matrices for solving Lane-Emden type equations. Rom. J. Phys. 60, 281-292 (2015)
Bhrawy, AH, Zaky, MA, Baleanu, D: New numerical approximations for space-time fractional Burgers’ equations via a Legendre spectral-collocation method. Rom. Rep. Phys. 67, 2 (2015)
Sezer, M, Gulsu, M, Tanay, B: Rational Chebyshev collocation method for solving higher-order linear ordinary differential equations. Numer. Methods Partial Differ. Equ. 27, 1130-1142 (2011)
Doha, EH, Bhrawy, AH, Hafez, RM: On shifted Jacobi spectral method for high-order multi-point boundary value problems. Commun. Nonlinear Sci. Numer. Simul. 17, 3802-3810 (2012)
Mall, S, Chakraverty, S: Numerical solution of nonlinear singular initial value problems of Emden-Fowler type using Chebyshev neural network method. Neurocomputing 149, 975-982 (2015)
Bhrawy, AH: An efficient Jacobi pseudospectral approximation for nonlinear complex generalized Zakharov system. Appl. Math. Comput. 247, 30-46 (2014)
Bhrawy, AH, Zaky, MA: A method based on the Jacobi tau approximation for solving multi-term time-space fractional partial differential equations. J. Comput. Phys. 281, 876-895 (2015)
Bhrawy, AH, Zaky, MA: Numerical simulation for two-dimensional variable-order fractional nonlinear cable equation. Nonlinear Dyn. 80(1), 101-116 (2015)
Acknowledgements
This article was funded by the Deanship of Scientific Research DSR, King Abdulaziz University, Jeddah. The authors, therefore, acknowledge with thanks DSR technical and financial support.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
The authors have equal contributions to each part of this paper. 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
Bhrawy, A.H., Hafez, R.M. & Alzaidy, J.F. A new exponential Jacobi pseudospectral method for solving high-order ordinary differential equations. Adv Differ Equ 2015, 152 (2015). https://doi.org/10.1186/s13662-015-0491-x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13662-015-0491-x