Abstract
In this paper, we have applied an iterative method to the singular and nonlinear fractional partial differential of Emden–Fowler equations types. Haar wavelets operational matrix of fractional integration will be used to solve the problem with the Picard technique. The singular equations turn to Sylvester equations that will be solved so that numerically solvable is very cost- effective. Moreover, the proposed technique is reliable enough to overcome the difficulty of the singular point at \(x = 0\). Numerical examples are providing to illustrate the efficiency and accuracy of the technique.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Most phenomena are modeled using differential equations in most fields of science such as chemistry, biology, and technology. Meantime, many real phenomena are modeled by nonlinear and singular differential equations. Recently, differential equations have attracted the attention of many researchers in science and engineering due to their vast applications in most branches of science (see for more details [4, 6, 10, 11, 16, 17]). The Emden–Fowler equation is a differential equation which arises in mathematical physics and astrophysics. Due to the singularity behavior at the point (\(x=0\)), it is numerically challenging to solve the Emden–Fowler problem, as well as other various linear and nonlinear singular initial value problems in quantum mechanics and astrophysics. This paper deals with the numerical solution for the singular and nonlinear fractional partial differential Emden–Fowler equation using the Haar wavelet collocation method. Various methods for solving these equations are cited in [1,2,3, 5, 7, 13, 18, 24]. Wavelets are widely used in approximation theory and have been used repeatedly for solving differential equations over recent years. Wavelet-based, numerical methods are used for solving the system of equations with faster convergence and low computational cost. In the last two decades, wavelets have been used for the solution of partial differential equations. The wavelet algorithms for solving PDE (partial differential equation) are based on the Galerkin technique or the collocation method. Among them, the Haar wavelets consist of piecewise constant functions, and therefore, they are the simplest orthonormal wavelets with compact support [17, 20].
In this work, we have proposed a collocation method by the Haar wavelet for solving nonlinear and singular fractional time-dependent Emden–Fowler equations [8, 19, 21]. The existence of a singularity at the point \(x = 0\), as well as a nonlinear part, makes find the approximate solution of these categories of equations difficult.
The model is of the form:
with initial and boundary conditions:
where \(g_{1}(x), Y_{1}(t)\) and \(Y_{2}(t)\) are known functions. \(\frac{\partial ^{\alpha } u}{\partial t^{\alpha }}\) donate the Caputo fractional derivative to time t. Here, u is the temperature, \( f ( x , t ) F ( u ) + h ( x , t ) \) is the nonlinear heat source, and t is the time variable. If \( h ( x , t ) = 0\), this equation is the Emden–Fowler equation [8] which has been given by:
for \(f ( x ) = 1\) and \(F ( u ) = u^{n}\), this equation is known as the first kind, while the second kind is obtained when \(F ( u ) = e^{u}\). These equations are solved by methods such as Adomian decomposition method (ADM) [15, 22, 23], modified homotopy perturbation method (MHPM) [12, 19], and homotopy perturbation method (HPM) [3]. See the details for more information about recent works on Lane–Emden equations [8, 9].
It is necessary to note that the Emden–Fowler singular partial fractional differential equation is the first one to be solved by the Haar wavelets collocation method and the Picard technique. There are no similar works with this method for these equations. The key idea in this paper is to convert the nonlinear equation using the Picard technique to a system of linear equations and then using the Haar wavelet collocation method for finding the approximate solutions of such equations.
Haar wavelet, fractional integral and derivative
Fractional integral and derivative
In this section, we first review some basic definitions of fractional calculus, which are required for establishing our results [14].
Definition 2.1
The Riemann–Liouville fractional integral operator of order \(\alpha \ge 0\) of function u(t) is defined as:
The properties of the operator \(J^{\alpha }\) are given as follows:
Definition 2.2
The fractional derivative of u(t) in the Caputo sense is defined as:
Haar wavelets
The Haar functions contain just one wavelet during some subinterval of time and remain zero elsewhere and orthogonal. The \(l\hbox {th}\) Haar wavelet \(h_{l}(x),\quad x\in [0,1)\) is defined as:
where \(a(l)=\frac{k}{m}, b(l)=\frac{k+0.5}{m}, c(l)=\frac{k+1}{m}, l=2^{j} +k+1, j=0,1,2,3,\ldots ,J\) are dilation parameters, \(m=2^{j}\) and \(k=0,1,2,\ldots 2^{j} -1\) are translation parameters. When \(k=0\) , \(j=0\), we have \(l=2\) , which is the minimal value of l and the maximal value of l is 2M where \(M=2^{j}\), J is maximal level of resolution. For the Haar wavelets, the wavelet collocation method is applied. The collocation points for the Haar wavelets are usually taken as \(x_{j} =\frac{j-0.5}{2M}, j=1,2,3,\ldots , 2M.\) For convenience, 2M is equal to m. For instance \(J=2\), then \(m=8\).
Fractional integral of the Haar wavelets
The Riemann–Liouville fractional integral of the Haar scaling function and the Haar wavelets are given as:
Equations (4) and (5) imply that:
and
Any function \(y\in L_{2} [0,1]\) can be represented in terms of the Haar series as:
where \(b_{l}\) are the Haar wavelet coefficients given by \(b_{l}= \int _{0}^{1} y(x) h_{l} (x) \hbox {d}x.\) The function y(x) can be approximated by the truncated Haar wavelets series as:
In order to find the numerical approximation of a function, we put the Haar into a discrete form. So, we utilized the collocation method. The collocation points for the Haar wavelets are taken as \(x_{c} (i) =\frac{i-0.5}{m}\), where \( i=1,2,\ldots , m\).
Any function of two variables \(u(x,t)\in L_{2}( [a,b]\times [a,b])\) can be approximated as:
where C is \(m\times m\) coefficient matrix which can be determined by the inner product \(c_{l,i} =\langle h_{l} (x) ,\langle u(x,t), h_{i} (t) \rangle \rangle .\)
Taking the collocation points as \(x(i)=\frac{i-0.5}{m}\), where \(i=1, 2, \ldots , m\), we define the Haar matrix as:
For instance, for \( J=2\) , we get \(m=8\) and the Haar matrix is given by:
The Haar coefficients \(b_{l}\) can be determined by matrix inversion
where \(H^{-1}\) is the inverse of H. Equation (11) gives the Haar coefficients \(b_{l}\) which are used in (9) to get the solution y(x).
Similarly, we can obtain the fractional order integration matrix P of the Haar function by substituting the collocation points in Eqs. (6) and (7), \(P(l,i)=p_{\alpha ,l} (x_{c} (i))),\) as:
For instance, with \(\alpha = 0.25, J=2 (m=8)\), we get the Haar wavelet operational matrix of fractional integration as:
We derive another operational matrix of fractional integration to solve the fractional boundary value problems. Let \(\zeta >0\) and \(z:[0,\zeta ]\rightarrow R\) be a continuous function and assume that the Haar function has \([0,\zeta ]\) as compact support, we have:
and
For instance, \(\zeta =1,z(x)= x, \alpha =1.25, m=8\), we have:
Method of solution
In this section, we describe the procedure of implementing the method for singular and nonlinear fractional Emden–Fowler equations. First, we convert the singular fractional partial differential equation into discrete fractional PDE (partial differential equations) by the Picard technique. Then, we solve it to obtain the approximate solution of the singular and nonlinear fractional partial differential equation by the Haar wavelet collocation method.
Consider the following singular and nonlinear fractional time-dependent Emden–Fowler partial differential equation:
with initial and boundary conditions:
and applying the Picard technique to Eq. (15), we get:
with the initial and boundary conditions:
where \(m(x,t,u_{r}):=af(x,t)F(u)+h(x,t)\). Applying the Haar wavelet method to Eq. (17), we approximate the higher order term by the Haar wavelet series as:
Applying the fractional integral operator \(I^{2}_{x}\) on Eq. (19) gives:
where p(t) and q(t) are functions of t. Using the boundary conditions and Eqs. (5), (6), we get
Equation (20) can be written as:
take derivative with respect to x of order 1 to Eq. (22)
For simplicity, let
where \(m_{lp}=\langle h_{l} (x) ,\langle S(x,t), h_{p} (t) \rangle \rangle \). By substituting Eqs. (24), (19) and (23) in Eq. (15), we obtain:
Apply fractional integral operator \(I^{\alpha }_{t}\) to (25) and use the initial conditions to obtain:
Let \(K(x,t)=-g_{1} (x) +x(Y_{2} (t)-Y_{1} (t))+\frac{\zeta }{x} I_{t}^{\alpha }(Y_{2} (t)-Y_{1}(t))\). From Eqs. (26), (22),
In discrete form, Eq. (27) and using the collocation points, we have matrix form:
where H is \(m\times m\) the Haar matrix, \(V^{2 ,1, f(x)} =f(x) I^{2}_{1} H^\mathrm{T} \) is \(m\times m\) is the fractional integration matrix for boundary value problems, and \(P^{2}_{x} = I^{2}_{x} H^\mathrm{T}, P^{\alpha }_{t} = I^{\alpha }_{t} H\) are \(m\times m\) matrices of fractional integration of the Haar functions. \(M'\) is \(m\times m\) the coefficient matrix determined by inner products \(m'_{lp}=\langle h_{l} (x) ,\langle S(x,t), h_{p} (t) \rangle \rangle \), and \(f(x)=x\).
Let \(L:=(H^\mathrm{T}+A((P^{1})^\mathrm{T}-(V^{1,1,f(x)})^\mathrm{T})^{-1}\) is \(m\times m\) matrix, where A is a diagonal matrix and is given by:
So Eq. (28) can be written as:
which is Sylvester equation \((AX+XB=C)\). Solving Eq. (29) for \(C^{r+1}\) and substituting in Eq. (20) or Eq. (26), we get the solution \(u_{r+1}\) at the collocation points. In particular, given an initial approximation \(u_{0} (x,t)\), we get a linear fractional singular problem in \(u_{1} (x,t)\) by substituting \(r=0\) in Eq. (20), which is solved by mentioned procedure to get \(u_{1} (x,t)\) at the collocation points.
Numerical results and examples
In this section, we have used the above technique for solving the singular and nonlinear fractional time-dependent Emden–Fowler equation. In these examples, exact solutions are being and comparison between Haar–Picard technique approximate solution and the exact solution do to show the efficiency of our method to solve such equations.
Example 4.1
We consider the singular and nonlinear fractional time-dependent Emden–Fowler heat-type equation [19, 22]:
where \(\zeta =5\), with initial and boundary conditions:
Exact solution for \(\alpha =1\) is \(u(x,t)= -2 \ln (1+tx^{2})\).
We use \(u_{0}=0\) as an initial approximation and apply our method, we get the approximate solution of this singular equation. We see in Table 1 the different values of \(\alpha \) when it goes to \(\alpha =1\); the absolute errors show that the solution of method converges to exact solution. We also compare our results on the absolute error by the method introduced in [19, 22]. In Fig. 1, absolute errors show that increasing the number of iterations, approximate solutions to the present method approach the exact solution, and also we plotted absolute errors of approximate solutions in different values m for \(\alpha =1\) in Fig. 2, as can be seen, by increasing the resolution m approximate solutions approach the exact solution.
Example 4.2
Consider the singular and nonlinear fractional time-dependent Emden–Fowler heat-type equation [19]:
with initial and boundary conditions
where \(\zeta \) and \(\theta \) are constants and exact solution for \(\alpha =1\) is \(u(x,t)=-\ln (3+(tx)^{\theta })\).
We use \(u_{0}(x,t)=-\ln (3)\) as an initial approximation and apply our technique, we get approximate solution of this singular problem. In Table 2, we set \(\zeta =1, \theta =1\). In Table 2, we see the different values of \(\alpha \) when it goes to \(\alpha =1\); the absolute error shows the solution of method converges to the exact solution. We have got a comparison with the numerical results in [19], and our solution by present method is in Table 2. Another case of Example 4.2 is that \(\zeta =2, \theta =2\). In Table 3, we see the different values of \(\alpha \) when it goes to \(\alpha =1\). Absolute error shows the solution of method converges to exact solution. We have got a comparison with numerical results in [19], and our solution by present method is in Table 3. We note that the methods in [19, 22] are modified homotopy perturbation method, and the Adomian decomposition method (ADM) that solve Examples 4.1 and 4.2 in integer derivative with respect to t that means \(\alpha =1\). For two cases of values of \(\zeta , \theta \), we plotted in Figs. 3, 4 absolute errors of different iterations for \(m=64\), \(\alpha =1\), as can be seen, increasing the iterations approximate solutions approach the exact solutions, also Figs. 5, 6 show that increasing the resolution m, absolute errors becomes less each time.
Example 4.3
Consider the following singular and nonlinear fractional time-dependent in homogeneous Emden–Fowler equation:
where \(h(x,t)=\frac{((-x^{4}-x^{2}+20)t-5x^{2}-5) \sqrt{tx^{2}+5}+(tx^{2}+5)^{2}}{(t x^{2}+5)^{\frac{5}{2}}}\), with initial and boundary condition:
where \(\zeta \) is constant and \(\zeta =1\), and exact solution for \(\alpha =1\) is \(u(x,t)=-\ln (5+tx^{2}).\)
We use \(u_{0}=-\ln (5)\) as an initial approximation and apply our technique, we get the approximate solution of this singular problem. We see in Fig. 7 increasing the iterations at each stage, the absolute errors show that the solution of the method converges to the exact solution. In Table 4, we list the absolute errors for different values of \(\alpha \), as can be seen, when \(\alpha \) tends to 1, absolute errors also decrease and the approximate solution approaches the exact solution.
Conclusion
We have proposed the Haar wavelet collocation–Picard method for solving the singular and nonlinear time-dependent Emden–Fowler-type equations with initial and boundary conditions of the fractional order. Indeed, we combined the Haar wavelet and the Picard technique to solve singular and nonlinear fractional partial differential equations such as Examples 4.1, 4.2, and 4.3. The main advantage of this method is that the singular and nonlinear fractional partial differential equation can be converted into an algebraic system of linear equations. We note that the use of the Haar wavelets and the Picard technique for solving these singular and nonlinear fractional equations is the first one to occur. We clearly realized that the method is more accurate on computing the approximate solutions and the results showed the efficiency of the method. Tables 1 and 3 show that our results are more accurate as compared to modified homotopy perturbation method introduced in [19] and Adomian decomposition method [22]. The method proposed in this paper is easy to implement for this type of singular and nonlinear fractional partial differential equations and does not require complex computations.
References
Aminikhah, H., Kazemi, S.: On the numerical solution of singular Lane-Emden type equations using cubic B-spline approximation. Int. J. Appl. Comput. Math. 3, 703–712 (2017)
Aydinlik, S., kiris, A.: A high-order numerical method for solving nonlinear Lane–Emden type equations arising in astrophysics. Astrophys. Space Sci. 363, 264 (2018)
Bataineh, A.S., Noorani, M.S.M., Hashim, I.: Solutions of time-dependent Emden–Fowler type equations by homotopy analysis method. Phys. Lett. 371, 72–82 (2007)
Chen, Y.M., Wu, Y.B., et al.: Wavelet method for a class of fractional convection–diffusion equation with variable coefficients. J. Comput. Sci. 1, 146–149 (2010)
Deniz, S., Bildik, N.: A new analytical technique for solving Lane–Emden type equations arising in astrophysics. Bull. Belg. Math. Soc. Simon Stevin 24, 305–320 (2017)
El-Wakil, S.A., Elhanbaly, A., Abdou, M.: Adomian decomposition method for solving fractional nonlinear differential equations. Appl. Math. Comput 182, 313–324 (2006)
Ghorbani, A., Bakherad, M.: A variational iteration method for solving nonlinear Lane–Emden problems. New Astron. 54, 1 (2017)
Harley, C., Momoniat, E.: First integrals and bifurcations of a Lane–Emden equation of the second kind. J. Math. Anal. Appl. 344(2), 757–764 (2008)
Hashim, I., Abdulaziz, O., Momani, S.: Homotopy analysis method for fractional ivps. Commun. Nonlinear Sci. Numer. Simul 14, 674–684 (2009)
He, J.H.: Some applications of nonlinear fractional differential equations and their approximations. Bull. Sci. Technol. 15(2), 86–90 (1999)
Heydari, M.H., Hooshmandasl, M.R., Maalek Ghaini, F.M., Fereidouni, F.: Two-dimensional Legendre wavelets for solving fractional Poisson equation with dirichlet boundary conditions. Eng. Anal. Bound. Elem. 37, 1331–1338 (2013)
Nazari-Golshan, A., Nourazar, S., Ghafoori-Fard, H., Yildirim, A., Campo, A.: A modified homotopy perturbation method coupled with the fourier transform for nonlinear and singular Lane–Emden equations. Appl. Math. Lett. 26(10), 1018–1025 (2013)
Parand, K., Delkhosh, M.: An effective numerical method for solving the nonlinear singular Lane–Emden type equations of various orders. J. Teknol. 79, 25–36 (2017)
Podlubny, I.: Fractional Differential Equations. Academic Press, New York, NY (1999)
Rach, R.C., Duan, J.S., Wazwaz, A.M.: Solving coupled Lane–Emden boundary value problems in catalytic diffusion reactions by the Adomian decomposition method. J. Math. Chem. 52(1), 255–267 (2014)
Saeed, U., Rahman, M.: Haar wavelet Picard method for fractional nonlinear partial differential equations. Appl. Math. Comput. 264, 310–322 (2015)
Saha Ray, S., Patra, A.: Haar wavelet operational methods for the numerical solutions of fractional order nonlinear oscillatory Van der Pol system. Appl. Math. Comput. 220, 659–667 (2013)
Singh, R., Wazwaz, A.M., Kumar, J.: An efficient semi-numerical technique for solving nonlinear singular boundary value problems arising in various physical models. Int. J. Comput. Math. 93, 1330–1346 (2015)
Singh, R., Singh, S., Wazwaz, A.M.: A modified homotopy perturbation method for singular time dependent Emden–Fowler equations with boundary conditions. J. Math. Chem. 54, 918–931 (2016)
Singh, R., Garg, H., Guleria, V.: Haar wavelet collocation method for Lane–Emden equations with Dirichlet, Neumann and Neumann-Robin boundary conditions. Comput. Appl. Math. 346, 150–161 (2019)
Wazwaz, A.M.: A new algorithm for solving differential equations of Lane–Emden type. Appl. Math. Comput. 118(2), 287–310 (2001)
Wazwaz, A.M.: Analytical solution for the time-dependent Emden–Fowler type of equations by Adomian decomposition method. Appl. Math. Comput. 166, 638–651 (2005)
Wazwaz, A.M.: A reliable iterative method for solving the time-dependent singular Emden–Fowler equations. Open Eng. 3(1), 99–105 (2013)
Wong, J.S.: On the generalized Emden–Fowler equation. SIAM Rev. 17(2), 339–360 (1975)
Author information
Authors and Affiliations
Corresponding authors
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
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
Mohammadi, A., Aghazadeh, N. & Rezapour, S. Haar wavelet collocation method for solving singular and nonlinear fractional time-dependent Emden–Fowler equations with initial and boundary conditions. Math Sci 13, 255–265 (2019). https://doi.org/10.1007/s40096-019-00295-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40096-019-00295-8