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

ISRN Astronomy and Astrophysics

Volume 2011 (2011), Article ID 351747, 7 pages

http://dx.doi.org/10.5402/2011/351747

## Solution of the Lane-Emden Equation Using the Bernstein Operational Matrix of Integration

^{1}Department of Mathematics, PDPM Indian Institute of Information Technology, Design and Manufacturing Jabalpur, Airport Road, Madhya Pardish, Jabalpur 482005, India^{2}Department of Mathematics (DIPMAT), University of Salerno, Via Ponte Don Melillo, 84084 Fisciano, Italy

Received 28 November 2011; Accepted 22 December 2011

Academic Editors: M. Ding and J. Robertson

Copyright © 2011 Narayan Kumar et al. 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

Lane-Emden's equation has fundamental importance in the recent analysis of many problems in relativity and astrophysics including some models of density profiles for dark matter halos. An efficient numerical method is presented for linear and nonlinear Lane-Emden-type equations using the Bernstein polynomial operational matrix of integration. The proposed approach is different from other numerical techniques as it is based on the Bernstein polynomial integration matrix. Some illustrative examples are given to demonstrate the efficiency and validity of the proposed algorithm.

#### 1. Introduction

In recent years, the studies of singular initial value problems in some special second-order ordinary differential equations (ODEs) have attracted the attention of many mathematicians and physicists. One of the most intriguing equations is the Lane-Emden-type equations which models many phenomena in mathematical physics and astrophysics. It is a nonlinear ordinary differential equation which describes the equilibrium density distribution in self-gravitating sphere of polytrophic isothermal gas and has a singularity at the origin. This equation has fundamental importance in the field of radiative cooling and modeling of clusters of galaxies. It has also proven to be most versatile in the examination of a variety of situations, including the analysis of isothermal cores, convective stellar interiors, and fully degenerate stellar configurations. Moreover, it has been recently observed [1–3] that the density profiles of dark matter halos are often modeled by the isothermal Lane-Emden equation with suitable boundary conditions at the origin. Since the solution is often given by some numerical approximation, the chosen method would implies some consequences on the physical interpretation of the dark matter evolution. In the following we will give an efficient method for computing its numerical solution.

Lane-Emden’s equations [4, 5] are categorized as nonlinear ordinary differential equations with singular initial values. The more general Cauchy problem in this category is the following equation: with initial conditions (ICs) where primes denote differentiation with respect to , is constant, and is a nonlinear function of and .

It has been shown [6] that there exists an analytic solution of (1), (2) in the neighbourhood of the singular point .

In the special case, where , , and IC (2) holds, we have one of the most studied cases For instance, with and , we get which in the form subject to IC was originally given by Lane [4] and (later) Emden [5].

The parameter has physical significance only in the range . The solution for a given index is known as polytropic index . Equation (3) with IC (5) has well-known analytical solutions [7] for while, for other values of , numerical solutions are still sought. The series solution can be found by perturbation techniques and Adomian decomposition methods (ADM). However, these solutions are often convergent in restricted regions. Thus, some techniques such as the Padé method are required to enlarge the convergent regions [8, 9].

Similarly, by choosing and in (1′) and (2), isothermal gas spheres equation are modeled by with IC A number of methods have recently been proposed to solve (1′), (6). They are quasilinearization methods [10–12], a piecewise linearization technique [13], and the Lagrangian-based analytic solution [14]. The approximate solutions were also given by homotopy analysis method (HAM) [15, 16], variational iteration method [17], and variational approach method [18].

A numerical method based on conversion into integral equations solved by Legendre wavelets is given in [19]. Hybrid functions have also been used in [20] to find the numerical solutions of (1) for some particular nonlinear cases.

In [21] the transform to (1′) is given to get subject to the conditions where dots denote differentiations with respect to . Then, an approximate solution of (8) is obtained in by variational iteration method, for special cases when and .

Legendre’s spectral method for solving only singular IVPs is given in [22]. In [23], modified homotopy analysis methods (MHAMs) enable to obtain approximate solution and to show that MHAM solution contains the previous solutions obtained by ADM and HPM.

A collocation method based on Chebyshev’s polynomials is proposed in [24]. In [25–27], three different methods are presented, to solve (1), based on the Hermite function collocation method, the Lagrangian method, and radial basis function approximation, respectively. The Jacobi-Gauss collocation method is given in [28]. In [29] the optimal homotopy asymptotic method is applied to obtain the analytic solution of singular Lane-Emden-type equation. The perturbation technique and delta-expansion method are presented in [30, 31], respectively.

The aim of the present paper is to apply the Bernstein polynomial operational matrix of integration for the first time, to propose a reliable numerical technique for solving linear and nonlinear Lane-Emden’s equations. Some special cases of the problem are solved to show its validity and efficiency in comparison with other existing numerical methods. The approximate solution, obtained by the proposed method, shows its superiority on the other existing numerical solution.

#### 2. Bernstein’s Polynomials

A Bernstein polynomial [32] is a polynomial in the Bernstein form that is a linear combination of the Bernstein basis polynomials. The Bernstein basis polynomials of degree are defined by
There are th degree Bernstein basis polynomials forming a basis for the linear space consisting of all polynomials of degree less than or equal to in **R **[]-the ring of polynomials over the field** R**. For mathematical convenience, we usually set if or . Any polynomial in may be written as
Then is called a polynomial in the Bernstein form or the Bernstein polynomial of degree . The coefficients are called Bernstein’s or Bezier’s coefficients. Often, the Bernstein basis polynomials are called the Bernstein polynomials. We will follow this convention as well. A function may be written as
where and is the standard inner product on .

If (3) is truncated at , then we have where and are matrices given by For taking the collocation points, let be any point near to zero and other point as follows: Let us use the notation, for defining the Bernstein operational matrix as follows: For example, when , the Bernstein operational matrix is expressed as

#### 3. Block Pulse Function and Operational Matrix of Integration

a set of block pulse functions (BPFs) is defined on as The functions are disjoint and orthogonal, that is, The block pulse operational matrix of the integration is defined [33] as following: where with In general the operational matrix of integration of the vector can be obtained as where is the operational matrix for integration.

The Bernstein polynomial can also be expanded and approximated into an -term block pulse function (BPF) as Let us consider that the matrix is the Bernstein polynomial operational matrix of the integration, then we have Now, we have From (25) and (18) we get Then, the Bernstein polynomial operational matrix of the integration is given by

#### 4. Outline of the Method

In this section, the method presented in Section 3 is applied to solve the linear and nonlinear Lane-Emden equations. Letting (1′) can be written as where .

Since exact solutions for the case are known, we solve them first by the proposed algorithm developed in Section 3.

Let where is unknown, We have Assume Substituting (31)–(34) in (30), we get Solution of (35) yields the value of .

#### 5. Numerical Results and Discussions

In this section some special cases of (1′) have been considered to illustrate the efficiency of the method.

##### 5.1. Standard Lane-Emden Equation

Consider the standard Lane-Emden equation: with initial condition and , which has the exact solution for the case , 1, and 5 are known. Equation (36) with the initial conditions has been solved with the proposed method, and obtained results are presented in Figure 1 along with Table 1.

Here we can see that the function basically follows the same form as that for an index , with a few minor differences; however, the polytrope of index also terminates at a finite radius just as is observed in the relation for a polytrope of index . Though these two solutions for and share many characteristics, the solution for the polytrope of index contains some radically different and unexpected characteristics. In this case the behavior of the function is markedly different than that of its predecessors. Here the density of the star initially decreases rapidly as radius increases but slows rapidly once a -value of around three is reached. At this point the decrease slows continually. Though it may not be apparent on the graphic provided, the function never reaches 0. It is, therefore, evident that a polytropic star of index has an infinite radius, and in reality cannot exist.

##### 5.2. Isothermal Gas Spheres Equation

Letting with , (1) can be written as with IC , . The isothermal gas spheres are modeled in [6]. Equation (38) is solved with the presented method, and the obtained solution is compared with the existing solutions. The plot of proposed and exact solution is given in Figure 2 and comparison has been done in Table 2.

##### 5.3. Nonlinear Homogeneous Lane-Emden Equation

Let with , (1) be written as with IC and , where the exact solution is . We solve the above problem, by applying the technique described in Section 4 with 32, 128 and 256 and plotted in Figures 3 and 4, and comparison has been done in Table 3.

#### 6. Conclusions

The Bernstein polynomial operational matrix of integrations has been applied for solving one of the most popular and intriguing differential equations, that is, the Lane-Emden equations. These results are useful in a few respects and deal with some actual state equation for stars. Though these two solutions for and share many characteristics, the solution for the polytrope of index contains some radically different and unexpected characteristics. In this case the behavior of the function is markedly different than that of its predecessors. Here the density of the star , where represents the central density of the star and that of a related dimensionless quantity, initially decreases rapidly as radius increases but slows rapidly once a -value of around three is reached. At this point the decrease slows continually. Though it may not be apparent on the graphic provided, the function never reaches 0. It is, therefore, evident that a polytropic star of index has an infinite radius and in reality cannot exist. Despite this fact, such a model provides important theoretical perspective concerning the theory, as one may view this as the border between polytropic one that are physically feasible. It is also of interest to note that such a stellar model has, in spite of the infinite radius, a finite mass. Additionally, other stellar models, which are created in a “layered” fashion where each layer consists of a polytrope of a different index, may also utilize this function for a portion of the star, in which case a finite radius would be possible. In addition to these relations, there are also a number of other conclusions that one can draw from the polytropic model of stars. For relations of this type, there exists a relation between the polytropic index, mass of a star, and the radius. It is perhaps evident in the discussion of the analytic solutions of the polytropic index that one could possibly infer a relation between the polytropic index of the star and the radius that one would calculate from that star. In the attempt to find a relation, the most immediate result is obtained from the simple equations of stellar state.

#### References

- N. Riazi and M. R. Bordbar, “Generalized Lane-Emden equation and the structure of galactic dark matter,”
*International Journal of Theoretical Physics*, vol. 45, no. 3, pp. 495–510, 2006. View at Publisher · View at Google Scholar - H. J. de Vega and N. G. Sanchez, “Model-independent analysis of dark matter points to a particle mass at the keV scale,”
*Monthly Notices of the Royal Astronomical Society*, vol. 404, no. 2, pp. 885–894, 2010. View at Publisher · View at Google Scholar - G. E. Marsh, “Dark matter and charged exotic dust,” In press, http://arxiv.org/abs/1107.0315.
- J. H. Lane, “On theoretical temperature of the sun under the hypothesis of a gaseous mass maintaining its internal heat and depending on the laws of gases known to terrestrial experiment,”
*The American Journal of Science and Arts*, vol. 50, pp. 57–74, 1870. View at Google Scholar - R. Emden,
*Gaskugeln: Anwendungen der Mechanischen Wärmetheorie auf Kosmologische und Meteorologische Probleme*, Teubner, Berlin, Germany, 1907. - H. T. Davis,
*Introduction to Nonlinear Differential and Integral Equations*, Dover, New York, NY, USA, 1962. - S. Chandrasekhar,
*Introduction to Study of Stellar Structure*, Dover, New York, NY, USA, 1967. - N. T. Shawagfeh, “Nonperturbative approximate solution for Lane-Emden equation,”
*Journal of Mathematical Physics*, vol. 34, no. 9, pp. 4364–4369, 1993. View at Google Scholar - 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 - 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 - R. Krivec and V. B. Mandelzweig, “Numerical investigation of quasilinearization method in quantum mechanics,”
*Computer Physics Communications*, vol. 138, no. 1, pp. 69–79, 2001. View at Publisher · View at Google Scholar - R. Krivec and V. B. Mandelzweig, “Quasilinearization approach to computations with singular potentials,”
*Computer Physics Communications*, vol. 179, no. 12, pp. 865–867, 2008. View at Publisher · View at Google Scholar - 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 MathSciNet - C. M. Khalique and P. Ntsime, “Exact solutions of the Lane-Emden-type equation,”
*New Astronomy*, vol. 13, no. 7, pp. 476–480, 2008. View at Publisher · View at Google Scholar - S. J. 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 - R. A. Van Gorder and K. Vajravelu, “Analytic and numerical solutions to the Lane-Emden equation,”
*Physics Letters, Section A*, vol. 372, no. 39, pp. 6060–6065, 2008. View at Publisher · View at Google Scholar - A. Yildirim and T. Öziş, “Solutions of singular IVPs of Lane-Emden type by the variational iteration method,”
*Nonlinear Analysis, Theory, Methods and Applications*, vol. 70, no. 6, pp. 2480–2484, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - 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 - S. A. Yousefi, “Legendre wavelets method for solving differential equations of Lane-Emden type,”
*Applied Mathematics and Computation*, vol. 181, no. 2, pp. 1417–1422, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. R. Marzban, H. R. Tabrizidooz, and M. Razzaghi, “Hybrid functions for nonlinear initial-value problems with applications to Lane-Emden type equations,”
*Physics Letters, Section A*, vol. 372, no. 37, pp. 5883–5886, 2008. View at Publisher · View at Google Scholar - M. Dehghan and F. Shakeri, “Approximate solution of a differential equation arising in astrophysics using the variational iteration method,”
*New Astronomy*, vol. 13, no. 1, pp. 53–59, 2008. View at Publisher · View at Google Scholar - H. Adibi and A. M. Rismani, “On using a modified Legendre-spectral method for solving singular IVPs of Lane-Emden type,”
*Computers and Mathematics with Applications*, vol. 60, no. 7, pp. 2126–2130, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - O. P. Singh, R. K. Pandey, and V. K. Singh, “An analytic algorithm of Lane-Emden type equations arising in astrophysics using modified Homotopy analysis method,”
*Computer Physics Communications*, vol. 180, no. 7, pp. 1116–1124, 2009. View at Publisher · View at Google Scholar - C. Yang and J. Hou, “A Numerical Method for Lane-Emden Equations Using Chebyshev Polynomials and the Collocation Method,” in
*Proceedings of the IEEE International Conference on Computational and Information Sciences*, pp. 97–100, 2010. - 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 - K. Parand, A. R. Rezaei, and A. Taghavi, “Lagrangian method for solving LaneEmden type equation arising in astrophysics on semi-infinite domains,”
*Acta Astronautica*, vol. 67, no. 7-8, pp. 673–680, 2010. View at Publisher · View at Google Scholar - K. Parand, S. Abbasbandy, S. Kazem, and A. R. Rezaei, “An improved numerical method for a class of astrophysics problems based on radial basis functions,”
*Physica Scripta*, vol. 83, no. 1, article 015011, 2011. View at Publisher · View at Google Scholar - A. H. Bhrawy and A. S. Alofi, “A Jacobi-Gauss collocation method for solving nonlinear Lane-Emden type equations,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 17, no. 1, pp. 62–70, 2012. View at Publisher · View at Google Scholar - S. Iqbal and A. Javed, “Application of optimal homotopy asymptotic method for the analytic solution of singular Lane-Emden type equation,”
*Applied Mathematics and Computation*, vol. 217, no. 19, pp. 7753–7761, 2011. View at Publisher · View at Google Scholar - R. A. Van Gorder, “Exact first integrals for a Lane-Emden equation of the second kind modeling a thermal explosion in a rectangular slab,”
*Celestial Mechanics and Dynamical Astronomy*, vol. 109, pp. 137–145, 2011. View at Google Scholar - R. A. Van Gorder, “An elegant perturbation solution for the Lane-Emden equation of the second kind,”
*New Astronomy*, vol. 16, no. 2, pp. 65–67, 2011. View at Publisher · View at Google Scholar - S. Bernstein, “Démonstration du théorème de Weierstrass fondée sur le calcul des probabilities,”
*Communications of the Kharkov Mathematical Society*, vol. 13, pp. 1–2, 1912. View at Google Scholar - A. Kilicman and Z. A. A. Al Zhour, “Kronecker operational matrices for fractional calculus and some applications,”
*Applied Mathematics and Computation*, vol. 187, no. 1, pp. 250–265, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet