For a given value of the polytropic index n, denote the solution to the Lane–Emden equation as \theta_n(\xi). In general, the Lane–Emden equation must be solved numerically to find \theta_n. There are exact, analytic solutions for certain values of n, in particular: n = 0,1,5. For n between 0 and 5, the solutions are continuous and finite in extent, with the radius of the star given by R = \alpha \xi_1 , where \theta_n(\xi_1) = 0. For a given solution \theta_n, the density profile is given by \rho = \rho_c \theta_n^n . The total mass M of the model star can be found by integrating the density over radius, from 0 to \xi_1. The pressure can be found using the polytropic equation of state, P = K \rho^{1+\frac{1}{n}} , i.e. P = K \rho_c^{1+\frac{1}{n}} \theta_n^{n+1} Finally, if the gas is
ideal, the equation of state is P = k_B\rho T/\mu, where k_B is the
Boltzmann constant and \mu the mean molecular weight. The temperature profile is then given by T = \frac{K\mu}{k_B} \rho_c^{1/n} \theta_n In spherically symmetric cases, the Lane–Emden equation is integrable for only three values of the polytropic index n. === For
n = 0 === If n = 0, the equation becomes \frac{1}{\xi^2} \frac{d}{d\xi} \left( \xi^2 \frac{d\theta}{d\xi} \right) + 1 = 0 Re-arranging and integrating once gives \xi^2\frac{d\theta}{d\xi} = C_1-\frac{1}{3}\xi^3 Dividing both sides by \xi^2 and integrating again gives \theta(\xi)=C_0-\frac{C_1}{\xi}-\frac{1}{6}\xi^2 The boundary conditions \theta(0)=1 and \theta'(0)=0 imply that the constants of integration are C_0 = 1 and C_1 = 0. Therefore, \theta(\xi) = 1 - \frac{1}{6}\xi^2 === For
n = 1 === When n = 1, the equation can be expanded in the form \frac{d^2\theta}{d\xi^2}+\frac{2}{\xi}\frac{d\theta}{d\xi} + \theta = 0 One assumes a power series solution: \theta(\xi) = \sum_{n=0}^\infty a_n \xi^n This leads to a recursive relationship for the expansion coefficients: a_{n+2} = -\frac{a_n}{(n+3)(n+2)} This relation can be solved leading to the general solution: \theta(\xi)=a_0 \frac{\sin\xi}{\xi} + a_1 \frac{\cos\xi}{\xi} The
boundary condition for a physical polytrope demands that \theta(\xi) \rightarrow 1 as \xi \rightarrow 0 . This requires that a_0 = 1, a_1 = 0 , thus leading to the solution: \theta(\xi)=\frac{\sin\xi}{\xi} === For
n = 2 === This exact solution was found by accident when searching for zero values of the related
TOV Equation. We consider a
series expansion around \theta=0 \theta = \sum\limits_{m=0}^\infty a_m \xi^m with initial values \theta|_{\xi=0}=\theta_0 and \left.\frac{d\theta}{d\xi}\right|_{\xi=0}=0. Plugging this into the Lane-Emden equation, we can show that all odd coefficients of the series vanish a_{2m+1}=0. Furthermore, we obtain a recursive relationship between the even coefficients b_m=a_{2m} of the series. b_{m+1} = - \frac{1}{(2m+2)(2m+3)}\sum\limits_{k=0}^m b_{m-k}b_k It was proven that this series converges at least for \xi\leq 1 but numerical results showed good agreement for much larger values. === For
n = 5 === We start from with the Lane–Emden equation: \frac1{\xi^2} {\frac{d}{d\xi}} \left(\xi^2\frac{d\theta}{d\xi}\right) + \theta^5 = 0 Rewriting for \frac{d\theta}{d\xi} produces: \frac{d\theta} {d\xi} = \frac1 2 \left(1+\frac{\xi^2}{3}\right)^{3/2} \frac{2\xi} 3 = \frac {\xi^3}{3 \left[ 1+\frac {\xi^2} 3 \right]^{3/2}} Differentiating with respect to leads to: \theta^5 =\frac{\xi^2}{\left[1+\frac{\xi^2}{3}\right]^{3/2}} + \frac{3\xi^2}{9\left[1+\frac{\xi^2}3\right]^{5/2}} = \frac 9 {9\left[1+\frac{\xi^2}3\right]^{5/2}} Reduced, we come by: \theta^5 = \frac 1 { \left[ 1+\frac{\xi^2}3 \right]^{5/2}} Therefore, the Lane–Emden equation has the solution \theta(\xi) = \frac 1 {\sqrt{1+\xi^2/3}} when n = 5. This solution is finite in mass but infinite in radial extent, and therefore the complete polytrope does not represent a physical solution. Chandrasekhar believed for a long time that finding other solution for n=5 "is complicated and involves elliptic integrals".
Srivastava's solution In 1962, Sambhunath Srivastava found an explicit solution when n=5. His solution is given by \theta = \frac{\sin(\ln \sqrt \xi)}{\sqrt{3\xi-2\xi \sin^2 (\ln \sqrt\xi)}}, and from this solution, a family of solutions \theta(\xi)\rightarrow \sqrt A\, \theta(A\xi) can be obtained using homology transformation. Since this solution does not satisfy the conditions at the origin (in fact, it is oscillatory with amplitudes growing indefinitely as the origin is approached), this solution can be used in composite stellar models. == Analytic solutions ==