- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

ISRN Mathematical Physics

Volume 2013 (2013), Article ID 507145, 9 pages

http://dx.doi.org/10.1155/2013/507145

## Numerical Solution of Singular Lane-Emden Equation

Department of Applied Mathematics, School of Mathematical Sciences, University of Guilan, P.O. Box 1914, Rasht 41938, Iran

Received 24 June 2013; Accepted 13 July 2013

Academic Editors: N. E. Grandi and R. Schiappa

Copyright © 2013 Hossein Aminikhah and Sakineh Moradian. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

A new approach for solving the nonlinear Lane-Emden type equations has been proposed. The method is based on Legendre wavelets approximations. Illustrative examples have been discussed to demonstrate the validity and applicability of the technique, and the results have been compared with the exact solution.

#### 1. Introduction

The Lane-Emden type equations are nonlinear ordinary differential equations on semi-infinite domain. They are categorized as singular initial value problems. These equations describe the temperature variation of a spherical gas cloud under the mutual attraction of its molecules and subject to the laws of classical thermodynamics. The polytrophic theory of stars essentially follows out of thermodynamic considerations that deal with the issue of energy transport, through the transfer of material between different levels of the star. These equations are one of the basic equations in the theory of stellar structure and have been the focus of many studies. The general form of the Lane-Emden equations is the following form: with the following initial conditions: where is a continuous real-value function and is an analytical function. Equation (1) was used to model several phenomena in mathematical physics and astrophysics such as the theory of stellar structure, the thermal behavior of a spherical cloud of gas, isothermal gas sphere, and theory of thermionic currents [1, 2]. The solution of the Lane-Emden equation, as well as those of a variety of nonlinear problems in quantum mechanics and astrophysics such as the scattering length calculations in the variable phase approach, is numerically challenging because of the singular point at the origin. Bender et al. [3] proposed a new perturbation technique based on an artificial parameter ; the method is often called -method. El-Gebeily and O’Regan [4] used the quasilinearization approach to solve the standard Lane-Emden equation. This method approximates the solution of a nonlinear differential equation by treating the nonlinear terms as a perturbation about the linear ones, and unlike perturbation theories, it is not based on the existence of some small parameters. Approximate solutions to the above problems were presented by Shawagfeh [5] and Wazwaz [6, 7] by applying the Adomian method which provides a convergent series solution. Nouh [8] accelerated the convergence of a power series solution of the Lane-Emden equation by using an Euler-Abel transformation and Padé approximation. Mandelzweig and Tabakin [9] applied Bellman and Kalaba’s quasilinearization method, and Ramos [10] used a piecewise linearization technique based on the piecewise linearization of the Lane-Emden equation. Bozkhov and Gilli Martins [11] and later Momoniat and Harley [12] applied the Lie Group method successfully to generalized Lane-Emden equations of the first kind. Exact solutions of generalized Lane-Emden solutions of the first kind are investigated by Goenner and Havas [13]. Liao [14] solved Lane-Emden type equations by applying a homotopy analysis method. He [15] obtained an approximate analytical solution of the Lane-Emden equation by applying a variational approach which uses a semi-inverse method. Ramos [16] presented a series approach to the Lane-Emden equation and gave the comparison with homotopy perturbation method. Özis and Yildirim [17, 18] gave the solutions of a class of singular second-order IVPs of Lane-Emden type by using homotopy perturbation and variational iteration method. Parand et al. [19–22] presented three numerical techniques to solve higher ordinary differential equations such as Lane-Emden. Their approach was based on the rational Chebyshev, rational Legendre Tau, and Hermite functions collocation methods. In this paper, the new approximate analytical method will be introduced for exact solution of Lane-Emden equation.

This paper is arranged as follows.

In Section 2, the properties of Legendre wavelets and the way to construct the wavelet technique for this type of equation are described. In Section 3, the proposed method is applied to some types of Lane-Emden equations, and a comparison is made with the existing analytic or exact solutions that were reported in other published works in the literature. Finally, we give a brief conclusion in the last section.

#### 2. Legendre Wavelets Applied to Singular IVPs of Lane-Emden Type Equation

##### 2.1. Wavelets and Legendre Wavelets

Wavelets constitute a family of functions constructed from dilation and translation of single function called the mother wavelet. When the dilation parameter and the translation parameter vary continuously, we have the following family of continuous wavelets:

If we restrict the parameter and to discrete values as , and positive integers, we have the following family of discrete wavelets: where forms a wavelet basis for . In particular, when and then forms an orthonormal basis.

Legendre wavelets have four arguments, can assume any positive integer, is the order for Legendre polynomials, and they are defined on the interval as follows: where , . The coefficient is for orthonormality. Here, are the well-known Legendre polynomials of order which are defined on the interval and can be determined with the aid of the following recurrence formulae:

##### 2.2. Function Approximation

A function defined on the interval may be expanded by Legendre wavelet as where

In (8), denotes the inner product.

If the infinite series in (7) is truncated, then (7) can be written as where and are matrices given by

The integration of the product of two Legendre wavelets vector functions is obtained as where is an identity matrix.

##### 2.3. Legendre Wavelets Operational Matrix of Integration

The integration of the vectordefined in (11) can be obtained as where is the operational matrix of integration given by [23] as where, and are matrices given by

The following property of the product of two Legendre wavelet vector functions will also be used: where is a vector given in (10) and is a matrix, which is called the product operation of Legendre wavelet vector functions [23]. For and , the matrix is obtained:

##### 2.4. Solution of Lane-Emden Equations

We multiply both sides of (1) by , in order to use Legendre wavelets to approximate as

Integrating (19) with respect to twice from 0 to , we obtain where coefficients and are known and can be obtained from the initial conditions, and are defined similarly to (10) and (11), and is operational matrix for integration, defined in (14).

Also consider the following approximations: where and are column vectors with the entries of the vectors and coefficients of known.

Substitution of approximations (20) and (22) into (18) will be resulted to

Simplifying in (23), a nonlinear system in terms of will be obtained:

The element of vector functions can be computed by solving these systems.

#### 3. Numerical Examples

In this section, some examples of Lane-Emden equation are considered and will be solved by introduced method.

*Example 1. *Consider the following nonlinear Lane-Emden equation:

subject to the initial conditions
which has the following analytical solution:

We solve (25) by the method discussed in this paper with and .

We multiply both sides of (25) by ,

Let us consider the following approximations:

Substitution into (28) and simplifying will be resulted to:

By solving the system (30), we have

Therefore, the approximate solution of (25) will be obtained as follows:

Table 1 shows some values of the solutions and absolute errors at some , and plots of the exact and approximate solutions are shown in Figure 1.

*Example 2. *Consider the following nonlinear Lane-Emden equation:

subject to the initial conditions
where is constant. Substituting , and into (33) leads to the exact solution
respectively.

For , we solve (33) by the Legendre wavelet method with and . For this equation, we find

Therefore, we have which is the exact solution.

For , we solve (33) by the method discussed in this paper with and . We have

Therefore, the following solution will result:

Table 2 shows that the Legendre wavelet solution is very near to the exact solution. Figure 2(a) shows that Legendre wavelet solution coincides with the exact solution.

For solving (33) by Legendre wavelets with , and , we find

The approximate solution of is as follows:

Table 3 shows that the Legendre wavelet solution is very near to the exact solution. Figure 2(b) shows that Legendre wavelet solution coincides with the exact solution.

*Example 3. *Consider the following nonlinear Lane-Emden equation:

subject to the initial conditions
which has the following analytical solution:

Solving (42) by Legendre wavelets method with and , we have

Therefore, the solution of the Lane-Emden equation will be obtained as follows:

Table 4 shows that the Legendre wavelet solution is very near to the exact solution. Figure 3 shows that Legendre wavelet solution coincides with the exact solution.

*Example 4. *Consider the following nonlinear Lane-Emden equation:
subject to the initial conditions
which has the following analytical solution:

We solve (47) by the method discussed in this paper with and . We multiply both sides of (47) by ,

Let us consider the following approximations:

Substitution into (50) and simplifying will be resulted to

By solving the system (52), we have

The approximate solution of is as follows:

Table 5 shows some values of the solutions and absolute errors at some , and plots of the exact and approximate solutions are shown in Figure 4.

*Example 5. *Consider the following nonlinear Lane-Emden equation:

subject to the initial conditions
which has the following analytical solution:

We solve (55) by the method discussed in this paper with and . This implies that

The approximate solution of is as follows:

Table 6 shows that the Legendre wavelet solution is very near to the exact solution. Figure 5 shows that Legendre wavelet solution coincides with the exact solution.

#### 4. Conclusion

In this research, we have presented the Legendre wavelet method for solving nonlinear singular Lane-Emden equation. The Legendre wavelets operational matrix of integration is used to solve Lane-Emden equation. The present method reduces Lane-Emden equation into a set of algebraic equations. Illustrative examples have been discussed to demonstrate the validity and applicability of the technique, and the results have been compared with the exact solution.

#### References

- S. Chandrasekhar,
*An Introduction to the Study of Stellar Structure*, Dover Publications, New York, NY, USA, 1967. View at Zentralblatt MATH · View at MathSciNet - O. U. Richardson,
*The Emission of Electricity From Hot Bodies*, Longmans Green and Company, London, UK, 1921. - C. M. Bender, K. A. Milton, S. S. Pinsky, and L. M. Simmons, Jr., “A new perturbative approach to nonlinear problems,”
*Journal of Mathematical Physics*, vol. 30, no. 7, pp. 1447–1455, 1989. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. El-Gebeily and D. O’Regan, “A quasilinearization method for a class of second order singular nonlinear differential equations with nonlinear boundary conditions,”
*Nonlinear Analysis: Real World Applications*, vol. 8, pp. 174–186, 2007. - N. T. Shawagfeh, “Non-perturbative approximate solution for Lane-Emden equation,”
*Journal of Mathematical Physics*, vol. 34, no. 9, pp. 4364–4369, 1993. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A.-M. Wazwaz, “A new algorithm for solving differential equations of Lane-Emden type,”
*Applied Mathematics and Computation*, vol. 118, no. 2-3, pp. 287–310, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A.-M. Wazwaz, “A new method for solving singular initial value problems in the second-order ordinary differential equations,”
*Applied Mathematics and Computation*, vol. 128, no. 1, pp. 45–57, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. I. Nouh, “Accelerated power series solution of polytropic and isothermal gas spheres,”
*New Astronomy*, vol. 9, no. 6, pp. 467–473, 2004. - V. B. Mandelzweig and F. Tabakin, “Quasilinearization approach to nonlinear problems in physics with application to nonlinear ODEs,”
*Computer Physics Communications*, vol. 141, no. 2, pp. 268–281, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. I. Ramos, “Linearization methods in classical and quantum mechanics,”
*Computer Physics Communications*, vol. 153, no. 2, pp. 199–208, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Y. Bozhkov and A. C. Gilli Martins, “Lie point symmetries and exact solutions of quasilinear differential equations with critical exponents,”
*Nonlinear Analysis: Theory, Methods & Applications*, vol. 57, no. 5-6, pp. 773–793, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. Momoniat and C. Harley, “Approximate implicit solution of a Lane-Emden equation,”
*New Astronomy*, vol. 11, pp. 520–526, 2006. - H. Goenner and P. Havas, “Exact solutions of the generalized Lane-Emden equation,”
*Journal of Mathematical Physics*, vol. 41, no. 10, pp. 7029–7042, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Liao, “A new analytic algorithm of Lane-Emden type equations,”
*Applied Mathematics and Computation*, vol. 142, no. 1, pp. 1–16, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J.-H. He, “Variational approach to the Lane-Emden equation,”
*Applied Mathematics and Computation*, vol. 143, no. 2-3, pp. 539–541, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. I. Ramos, “Series approach to the Lane-Emden equation and comparison with the homotopy perturbation method,”
*Chaos, Solitons and Fractals*, vol. 38, no. 2, pp. 400–408, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. Özis and A. Yildirim, “Solutions of singular IVP’s of Lane-Emden type by homotopy pertutbation method,”
*Physics Letters A*, vol. 369, pp. 70–76, 2007. - T. Özis and A. Yildirim, “Solutions of singular IVPs of Lane-Emden type by the variational iteration method,”
*Nonlinear Analysis: Theory, Methods & Applications*, vol. 70, no. 6, pp. 2480–2484, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - K. Parand and M. Razzaghi, “Rational Chebyshev tau method for solving higher-order ordinary differential equations,”
*International Journal of Computer Mathematics*, vol. 81, no. 1, pp. 73–80, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - K. Parand and M. Razzaghi, “Rational Legendre approximation for solving some physical problems on semi-infinite intervals,”
*Physica Scripta*, vol. 69, pp. 353–357, 2004. - K. Parand, M. Shahini, and M. Dehghan, “Rational Legendre pseudospectral approach for solving nonlinear differential equations of Lane-Emden type,”
*Journal of Computational Physics*, vol. 228, no. 23, pp. 8830–8840, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - K. Parand, M. Dehghan, A. R. Rezaei, and S. M. Ghaderi, “An approximation algorithm for the solution of the nonlinear Lane-Emden type equations arising in astrophysics using Hermite functions collocation method,”
*Computer Physics Communications*, vol. 181, no. 6, pp. 1096–1108, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Razzaghi and S. Yousefi, “The Legendre wavelets operational matrix of integration,”
*International Journal of Systems Science*, vol. 32, no. 4, pp. 495–502, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet