Abstract
A modified homotopy perturbation method for solving a class of nonlinear Lane–Emden equations with boundary conditions arising in various physical models is proposed. The proposed algorithm is based on the homotopy perturbation method and integral form of the Lane–Emden equation. The integral form of the problem overcomes the singular behavior at the origin. The accuracy and applicability of our algorithm is examined by solving two singular models: (i) the second kind Lane–Emden equation used to model a thermal explosion in an infinite cylinder or a sphere and (ii) the nonlinear singular problem with Neumann boundary conditions.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Nonlinear singular boundary value problems represent a significant class of boundary value problem and have a great application in several branches of science and engineering. For example, the oxygen diffusion [1, 2], the heat conduction [3], and the thermal explosion [4] are modeled by the singular boundary value problems. A lot of nonlinear singular problems depending on the boundary conditions usually given by Dirichlet boundary conditions, mixed boundary conditions and Neumann boundary conditions. The Neumann boundary conditions are usually the most physically reasonable choice [5].
We consider the following Lane–Emden equation with the Neumann-Robin and Neumann boundary conditions [6,7,8,9,10,11]
where \(a>0\), b and c are any finite real constants. The second kind Lane–Emden equation is used to model a thermal explosion in an infinite cylinder or a sphere [12]. Several methods are available for analytical [13,14,15,16,17] and numerical solutions [18, 19] to solve the Lane–Emden equation.
In this paper, we propose the homotopy perturbation method for the approximate solution of the Lane–Emden equation with boundary conditions. In the proposed method, the integral form of the Lane–Emden equations is considered before designing the recursion scheme for obtaining the approximations to solutions.
The Homotopy Perturbation Method
Recently, the idea of the HPM and its applicability to different types of differential and integral equations has been used in [20, 21]. Consider
To apply the HPM, we reconstitute (2) as
with solution \(u(x) =y(x)\). We construct the homotopy of (3), H(u, p)
where p is an embedding parameter, it is clear that for \(p=0\), then \(H(u, 0)=u-g=0\) or \(u_0=g\), and for \(p=1\), then \(H(u,1)=L(u)= 0\). As the parameter p increases monotonically from 0 to 1, the changing process of p from 0 to 1 is just that of u(x, p) from \(u_0\) to u.
According to the HPM, we can first view the embedding parameter p as a small parameter, and construct the solution as a power series in p, i.e.,
where the coefficients \(u_{k}\), \(k =0,1,2,...,\) are to be determined. The result, nonetheless, is valid for any p. Setting \(p=1\), we obtain the solution of Eq. (2) given by
The series (6) is a convergent series and the rate of convergence depends on the nature of Eq. (2), [22].
Lane–Emden Equation with Neumann-Robin Boundary Conditions
Integrating Eq. (1) twice and utilizing boundary conditions \(u'(0)=0,~~~au(1)+b u'(1)=c\), we obtain
The homotopy for (7) is constructed as
Substituting the series (5) into (8), we obtain
The nonlinear term in above expression is decomposed as
where \(H_n\) [21] is given by
Equation (9) can be written as
Collecting terms in powers of p and setting their coefficients to zero, we find
The nth-order approximate solution will be obtained as
Lane–Emden Equation with Neumann Boundary Conditions
According the approach given in [5], the domain of solution [0, 1] is dividing as \([0,1]=[0,\frac{1}{2}]\cup [\frac{1}{2},1]\). Then, we will solve two sub-problems below. Firstly, we consider the following Lane–Emden equations with Neumann and Dirichelt boundary conditions as
Integrating Eq. (14) twice first from 0 to x and then from x to \(\frac{1}{2}\), and applying the Neumann and Dirichelt boundary conditions \(u'(0)=0,~~u\big (\frac{1}{2}\big )=d\), we obtain
Constructing the homotopy for (16) and substituting the relation from (5) and (10), we obtain
Collecting terms in powers of p and setting their coefficients to zero, we find
Then, the n-terms approximate solution is defined by
Finally, we consider the following Lane–Emden equations with Dirichelt and Neumann as
Integrating (20) twice first from x to 1 and then \(\frac{1}{2}\) to x, applying BCs (21), we have
As we did before, we construct the homotopy for (22) and substitute the relation from (5) and (10) we have
Collecting terms in powers of p and setting their coefficients to zero, we find
Then, we denote the n-terms approximate of the series solution
Note that the approximations \(\psi ^{(I)}_n(x)\) and \(\psi ^{(II)}_n(x)\) depending on unknown parameter d. In order to determine unknown constant d, we will use the continuity condition for the flux [5] as
which leads to a sequence of algebraic equations in d. By solving these equations, we can find the values of d. After obtaining the value of d, the approximate solution of (1) is obtained as
where \(d_{n},~ n=1,2,\ldots \) are approximate values of d.
Numerical Results
In this section, we present the numerical results and discussion of the proposed method for solving two singular models. All the results are computed using the symbolic software Mathematica.
Problem-1
Consider the nonlinear Lane–Emden (1) and \(u'(0)=0,~au(1)+b u'(1)=c\) with \(f(u)=-\delta e^{\frac{u}{1+\epsilon u}}\) where \(\delta \) and \(\epsilon \) are physical parameters [23]. According to HPM (19) with \(a=1,b=0,c=0\), we obtain
Using (28), the 3rd-order approximations are obtained for two specific parameters \(\alpha =1\) and \(\alpha =2\) as follows:
To verify whether the our approximation converges or not, we define the residual error function as
We next fix the parameters \(\delta =1, \alpha =1 \) and consider the influence of the parameter \(\epsilon \) on the residual error \(R_n(x),~n=1,2,3,4\) in Fig. 1 (where \(\epsilon =1\)), Fig. 2 (where \(\epsilon =2\)), Fig. 3 (where \(\epsilon =3\)) and Fig. 4 (where \(\epsilon =5\)). Similarly, we fix \(\delta =1, \alpha =2\) and check the influence of \(\epsilon \) on the residual error in the Figs. 5, 6, 7 and 8. In each case, we see that the residual error increases with an increases in \(\epsilon \). From these plots, it can be observed that the \(R_n(x)\) converges to zero as n tends to infinity.
In Table 1 (with \(\alpha =1\)), Table 2 (with \(\alpha =2\)) and Table 3 (with \(\alpha =5\)), we list the numerical results of the 6-terms approximate series solution \(\psi _6\) obtained by proposed method. We fix \(\delta =1\) and consider the influence of \(\epsilon \) on the solution of the problem in Tables 1, 2, 3. From the same Tables, we observe that the solution decreases when \(\alpha \) increases from \(\alpha =1\) to \(\alpha =5\).
Problem-2
Consider the Lane–Emden model (1) with \(u'(0)=0,~~u'(1)=c\), \(f(x,u)=4 x^{2} e^{2u}-2(\alpha +1) e^{u}\) and \(c=-\frac{2}{5}\). Its analytical solution is \(u=\ln \frac{1}{4+x^{2}}\). According to HPM (19), we obtain
Using (30), the three terms approximation is obtained below.
According to the HPM (24), we have
Using (31), the two terms approximation is obtained below.
To find the unknown constant d, we use the continuity condition for the flux as
which leads to a sequence of algebraic equations in d. Using the Newton’s method, we obtain the approximate values of d, see Table 4.
After finding the numerical value of d, we obtain the approximate solution of the original problem as follows
To show the accuracy of the proposed method, we define the maximum absolute error as
where u is the exact solution and \(\psi _n\) is the approximate solution. The maximum absolute errors \(E_{\max }^{(n)},~ n=1,3,\ldots 5\), are computed and listed in Table 5. From these numerical results, it is observed that the maximum absolute errors \(E_{\max }^{(n)}\) converging to zero as n becomes very large. In Figure 9 we show that the curves of the exact solution u and the approximate solution \(\psi _n,~n=2,3\) for \(\alpha =1,2\), where \(\psi _3\) and the exact solution overlap.
Conclusion
We investigated the perturbed second kind Lane–Emden equation that models the steady state temperature distribution [12]. We have proposed a modified homotopy perturbation method, where the integral form of Lane–Emden equations was considered to derive the recursive relation that will handle the given boundary conditions. We also decomposed the domain into two subintervals to give a reliable treatment for the Lane–Emden equation with Neumann boundary conditions. The proposed methods provide the direct recursive schemes for computing approximation to solutions; and we also graphically showed that these approximations to solutions are almost identical to the analytical solutions. The advantage of the proposed schemes is that they do not require the computation of undetermined coefficients, whereas most of previous recursive schemes do require the computation of undetermined coefficients.
References
Lin, S.: Oxygen diffusion in a spherical cell with nonlinear oxygen uptake kinetics. J. Theor. Biol. 60(2), 449–457 (1976)
McElwain, D.: A re-examination of oxygen diffusion in a spherical cell with Michaelis–Menten oxygen uptake kinetics. J. Theor. Biol. 71, 255–263 (1978)
Flesch, U.: The distribution of heat sources in the human head: a theoretical consideration. J. Theor. Biol. 54(2), 285–287 (1975)
Van Gorder, R.A.: Exact first integrals for a Lane-Emden equation of the second kind modeling a thermal explosion in a rectangular slab. New Astron. 16(8), 492–497 (2011)
Singh, R., Wazwaz, A.M.: An efficient approach for solving second-order nonlinear differential equation with neumann boundary conditions. J. Math. Chem. 53(2), 767–790 (2015)
Singh, R., Kumar, J.: An efficient numerical technique for the solution of nonlinear singular boundary value problems. Comput. Phys. Commun. 185(4), 1282–1289 (2014)
Kaur, H., Mittal, R., Mishra, V.: Haar wavelet approximate solutions for the generalized Lane–Emden equations arising in astrophysics. Comput. Phys. Commun. 184(9), 2169–2177 (2013)
Ebaid, A.: A new analytical and numerical treatment for singular two-point boundary value problems via the Adomian decomposition method. J. Comput. Appl. Math. 235(8), 1914–1924 (2011)
Wazwaz, A.: The variational iteration method for solving nonlinear singular boundary value problems arising in various physical models. Commun. Nonlinear Sci. Numer. Simul. 16(10), 3881–3886 (2011)
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(8), 1330–1346 (2016)
Singh, R., Das, N., Kumar, J.: The optimal modified variational iteration method for the Lane–Emden equations with Neumann and Robin boundary conditions. Eur. Phys. J. Plus 132(6), 251 (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)
Khuri, S., Sayfy, A.: A novel approach for the solution of a class of singular boundary value problems arising in physiology. Math. Comput. Model. 52(3), 626–636 (2010)
Danish, M., Kumar, S., Kumar, S.: A note on the solution of singular boundary value problems arising in engineering and applied sciences: use of OHAM. Comput. Chem. Eng. 36, 57–67 (2012)
Singh, M., Verma, A.K.: An effective computational technique for a class of Lane–Emden equations. J. Math. Chem. 54(1), 231–251 (2016)
Kanth, A.R., Aruna, K.: He’s variational iteration method for treating nonlinear singular boundary value problems. Comput. Math. Appl. 60(3), 821–829 (2010)
Singh, R., Kumar, J., Nelakanti, G.: Numerical solution of singular boundary value problems using Green’s function and improved decomposition method. J. Appl. Math. Comput. 43(1–2), 409–425 (2013)
Çağlar, H., Çağlar, N., Özer, M.: B-spline solution of non-linear singular boundary value problems arising in physiology. Chaos Solitons Fractals 39(3), 1232–1237 (2009)
Kanth, A., Bhattacharya, V.: Cubic spline for a class of non-linear singular boundary value problems arising in physiology. Appl. Math. Comput. 174(1), 768–774 (2006)
He, J.H.: Homotopy perturbation method: a new nonlinear analytical technique. Appl. Math. Comput. 135(1), 73–79 (2003)
He, J.H.: Homotopy perturbation method for solving boundary value problems. Phys. Lett. A 350(1), 87–88 (2006)
He, J.H.: A coupling method of a homotopy technique and a perturbation technique for non-linear problems. Int. J. Non-Linear Mech. 35(1), 37–43 (2000)
Reger, K., Van Gorder, R.: Lane-Emden equations of second kind modelling thermal explosion in infinite cylinder and sphere. Appl. Math. Mech. 34(12), 1439–1452 (2013)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Singh, R. A Modified Homotopy Perturbation Method for Nonlinear Singular Lane–Emden Equations Arising in Various Physical Models. Int. J. Appl. Comput. Math 5, 64 (2019). https://doi.org/10.1007/s40819-019-0650-y
Published:
DOI: https://doi.org/10.1007/s40819-019-0650-y