In this paper, a new spectral collocation method is applied to solve Lane–Emden equations on a semi-infinite domain. The method allows us to overcome difficulty in both the nonlinearity and the singularity inherent in such problems. This Jacobi rational–Gauss method, based on Jacobi rational functions and Gauss quadrature integration, is implemented for the nonlinear Lane–Emden equation. Once we have developed the method, numerical results are provided to demonstrate the method. Physically interesting examples include Lane–Emden equations of both first and second kind. In the examples given, by selecting relatively few Jacobi rational–Gauss collocation points, we are able to get very accurate approximations, and we are thus able to demonstrate the utility of our approach over other analytical or numerical methods. In this way, the numerical examples provided demonstrate the accuracy, efficiency, and versatility of the method.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Please read the Copyright Notice in Journal Policy.