Abstract

We present two new analytic methods that are used for solving initial value problems that model polytropic and stellar structures in astrophysics and mathematical physics. The applicability, effectiveness, and reliability of the methods are assessed on the Lane-Emden equation which is described by a second-order nonlinear differential equation. The results obtained in this work are also compared with numerical results of Horedt (1986) which are widely used as a benchmark for testing new methods of solution. Good agreement is observed between the present results and the numerical results. Comparison is also made between the proposed new methods and existing analytical methods and it is found that the new methods are more efficient and have several advantages over some of the existing analytical methods.

1. Introduction

In this work we investigate the solution of nonlinear initial value problem that has applications in mathematical physics and astrophysics. We consider the Lane-Emden equation of the form with initial conditions where is a constant. This equation is very useful in astrophysics in the study of polytropic models and stellar structures [1, 2]. For the special case when exact analytical solutions were obtained by Chandrasekhar [1]. For all other values of approximate analytical methods and numerical methods are used to approximate the solution of the Lane-Emden or related equations. Analytical approaches that have recently been applied in solving the Lane-Emden equations include the Adomian decomposition method [3, 4], differential transformation method [5], homotopy perturbation method [6], He’s Energy Balance Method (HEBM) [7], homotopy analysis method [8, 9], power series expansions [1014], and variational iteration method [15, 16]. Generally, when all the above cited analytical approaches are used to solve Lane-Emden equation, a truncated power series solution of the true solution is obtained. This solution converges rapidly in a very small region . For convergence is very slow and the solutions are inaccurate even when using a large number of terms. Convergence acceleration methods such as Pad’e approximations may be used to improve the convergence of the resulting series or to enlarge their domains of convergence. The homotopy analysis method [9, 17] has a unique advantage over the other analytic approximation methods because it has a convergence controlling parameter that can be adjusted to improve the region of convergence of the resulting series. An important physical parameter associated with the Lane-Emden function is the location of its first positive real zero. The first zero of is defined as the smallest positive value for which . This value is important because it gives the radius of a polytropic star. The analytic approaches on their own are not very useful in solving for because their region of convergence is usually less than . Recently, there has been a surge in the number of numerical methods that have been proposed to find solutions of the Lane-Emden equations. Recent numerical methods that have been proposed include the Legendre Tau method [18] and the sinc-collocation method [19], the Lagrangian approach [20], and the successive linearization method [21]. Accurate results for the Lane-Emden function have previously been reported in [22] where the Runge-Kutta routine with self-adapting step was used to generate seven digit tables of Lane-Emden functions. These tables are now widely used as a benchmark for testing the accuracy of new methods of solving the Lane-Emden equations.

In this study, we propose two new analytic methods for solving the Lane-Emden equation of the form (1.1). The first method is a modification of the successive linearisation method (SLM) that has been recently reported and successfully utilized in solving boundary value problems [2330]. An attempt adapts the SLM in solving initial value problems such as Lane-Emden equation has recently been made in [21]. The SLM approach is based on transforming an ordinary nonlinear differential equation into an iterative scheme made up of linear equations which are then solved using numerical methods such as the Chebyshev spectral method. This method works very well in problems defined on finite domains. For initial value problems, the method may not be very useful. For instance, in applying the method in [21] the domain of the Lane-Emden equations solved was defined to be , where was conveniently chosen to be close to , the first zero of the Lane-Emden equation. That is, a rough estimate of had to be known before the SLM was applied in [21]. In this paper we propose a modification of the SLM approach and use it to solve the Lane-Emden equation (1.1). Unlike the SLM [21], the modified SLM, hereinafter referred to as the MSLM, results in reduced differential equations which are solved analytically to give series solutions which are highly convergent and can be used to find the first zero of the Lane-Emden equation. Excellent agreement is observed between the MSLM results and the numerical results of [22]. The second method proposed in this work is an innovative technique that blends the SLM method with the Adomian decomposition method (ADM) to result in a hybrid method, hereinafter referred to as the ADM-SLM, that is superior to both the ADM and SLM methods. The results of the ADM-SLM are also compared with the numerical results [22] and excellent agreement is observed. The performance between the three methods in terms of their total number iterations, run times of each algorithm, and rate of convergence is assessed. The main aim of the analysis presented in this paper is to introduce the two new analytic approaches which are presented as an alternative way of improving the convergence of the ADM without resorting to convergence accelerating techniques such as the Padé approach.

2. Outline of Methods of Solution

In this section, we describe the methods of solution that are used to solve the governing equation (1.1). Three methods, namely, the Adomian decomposition method (ADM), the modified successive linearization method (SLM), and a hybrid method that blends the ADM and the SLM, are used in this study. The modified successive linearization method, hereinafter reference to as the MSLM, is an alternative implementation of the SLM method that has been recently introduced in [2330] for finding solutions of various boundary value problems. In this work, the SLM is modified and adapted to be usable in initial value problems of the type (1.1). The blend between the ADM and SLM uses ideas of both the ADM and the SLM to yield a more powerful hybrid method which is referred to as the ADM-SLM in this paper.

2.1. Adomian Decomposition Method (ADM)

In this section we give a brief description of the implementation of the ADM in solving the governing equation (1.1). We begin by writing (1.1) in operator form as where is a linear operator described as This type of operator was suggested in [3, 4] and has been found to give results which converge much faster than the original ADM method of [31, 32]. The inverse operator is the twofold integral operator given as If we operate on (2.1) and apply the boundary conditions (1.2) we obtain The basic idea behind the ADM is the representation of the solution as an infinite series of the form and the nonlinear function by the following infinite series of polynomials: The components of the solution of are determined recurrently using the Adomian polynomials that can be calculated for various classes of nonlinearity according to algorithms set out by Adomian and Rach [3335] and more recently in [3, 4]. For a nonlinear function , the first few polynomials are given by By substituting (2.5) and (2.6) in (2.4) we obtain To find the components , the ADM suggests the use of the following recursive relationships: For numerical purposes, the solution of the governing equation (1.1) can be approximated by the -term approximate series given as If the series (2.10) converges, then

2.2. Modified Successive Linearization Method (MSLM)

The original SLM approach (see [2330] for details) assumes that the solution of the nonlinear equation (1.1) can be expanded as where are unknown functions whose solutions are obtained by recursively solving the linearised equation that results from the substitution of (2.12) into the governing equation (1.1). The SLM algorithm starts with an initial approximation which is chosen to satisfy the initial conditions (1.2) of the problem. Thus substituting equation (2.12) into the governing equation (1.1) and neglecting all nonlinear terms in gives subject to the initial conditions where and are known functions of at the th iteration and are defined as We note that in its current form, SLM equation (2.13) cannot be solved to give a closed form solution. In the original implementation of the SLM (see e.g., [2330]), the linearised equations, such as (2.13), are solved using numerical methods. Some Lane-Emden type equations are singular in nature and standard numerical methods may not be suitable for finding the solution of such equations. For this reason, we seek to find analytical approaches to solve (2.13). In this paper we introduce the modified successive linearisation method (MSLM) which is based on the implementation of the assumption that becomes increasingly smaller with an increase in the number of iterations. Thus, assuming that enough iterations are used in the algorithm, in addition to neglecting nonlinear terms in we also neglect all terms that are multiplied by (i.e., we set ) in (2.13). This reduces the equation into one whose closed form analytic solution can easily be found by integrating the resulting equation. The reduced equation is given as Since the right-hand side of (2.16) is known at each iteration, the equation can be solved exactly to obtain Starting from the initial approximation , the th-order approximate solution for is thus given by The initial approximation is obtained by solving the following equation: subject to the underlying initial conditions. If the series (2.18) converges, then

2.3. Hybrid Adomian Decomposition Method-Successive Linearisation Method (ADM-SLM)

The ADM-SLM is derived from by solving the SLM governing iteration scheme (2.13) using the ADM. We remark that the idea behind the application of the ADM is to ensure that the equation is solvable analytically. Rewriting (2.13) in operator form gives The approximate solution of (2.21) is found using the ADM. Thus, operating with on (2.21) we get Implementing the ideas of the ADM on (2.22) results in the following recurrence relations: The solution for , at the th term, can be approximated by Thus, starting from the initial approximation , the ADM-SLM approximate solution for is given by It can be observed that (2.23) is the same as (2.17). Thus, we remark that if , corresponding to the ADM step not being taken, (2.26) reduces to the MSLM solution. The ADM-SLM uses an initial approximation that is obtained using the MSLM as described in the previous section and implements the ADM on a new modified governing equation that has been linearised using the SLM approach. In essence, the ADM-SLM solution improves on the traditional ADM approach by implementing the ADM on the SLM-linearized governing equation. The ADM-SLM is essentially a two-dimensional recursive method that implements the SLM iteration in one direction and the ADM iteration in the other direction. In order to assess the difference in performance between the three methods, their accuracy, total number iterations, run time of each algorithm and rate of convergence must be considered. To compare the total number of iterations between the MSLM and ADM-SLM we note that, in approximating by in the ADM-SLM, there are iterations for each th iteration. Thus the total number of iterations of the ADM-SLM approach can be considered to be . If , meaning that the ADM component of the method is not implemented, the ADM-SLM method becomes equivalent to the MSLM.

3. Convergence Analysis

Solving the Lane-Emden type of equations discussed in this paper results in power series of the form The series of the type (3.1) has also been obtained by several other researchers using various analytical approximation methods (see e.g., [4, 10, 11, 13, 14]) in solving Lane-Emden type equations. According to the standard ratio test, a series of the form (3.1) converges for , where The quantity is known as the radius of convergence. The convergence analysis of the ADM has been discussed in [36] in terms of the fixed-point iteration. Recently, a simple method of establishing the convergence of the ADM was presented in [31] for the following functional equation: Just like the ADM, the implementation of the MSLM and the ADM-SLM is equivalent to determining the sequence by using the iterative scheme The above iterative scheme results from the associated functional equation For the purposes of comparing the convergence rates of the three methods presented in this paper the approach used in [31] has been used. In this paper, we only present the relevant theory and corollary associated with proving the convergence and obtaining the rate of convergence of sequences of the form (3.5). For details of the proof, interested readers may refer to [31].

Theorem 3.1. Let be an operator from a Hilbert space into and be the exact solution of (3.3). The sum, , which is obtained by (2.9) in the ADM, (2.17) in the MSLM, and (2.25) in the ADM-SLM, converges to when ,for all .

Definition 3.2. For every we define

Corollary 3.3. In Theorem 3.1, converges to exact solution , when ,

Corollary 3.4. If and are obtained by two different methods and their associated ratios ’s and ’s are both less than one, then if for all , it follows that the rate of convergence of to the exact solution is higher than .

We remark that the series solutions of type (3.1) obtained using the three methods presented in this study do not provide us with explicit expressions that would enable us to calculate the radius of convergence and convergence rates analytically. The convergence rates and radius of convergence discussed in this paper we computed numerically for different values of and their trend for large values of was noted.

4. Application on an Illustrative Example

In this section numerical experiments are performed on an illustrative example to show the difference between the methods described in the last section. The performance of the methods is measured in terms of rate of convergence, radius of convergence, accuracy, and efficiency.

Consider the nonlinear Lane-Emden equation of index 2 given as This equation is very useful in astrophysics in the study of polytropic models.

4.1. ADM Solution

Using (2.9), the ADM iterates are obtained from where the first few Adomian polynomials are given as Thus, the first three solutions are given by Thus, the approximate solution for obtained using the (i.e., ) is given by We note that this ADM solution is exactly the same as the power series solution whose relation, according to [14], is The radius of convergence for the Lane-Emden equation (4.1) with series approximation (4.6) [10, 11, 13] is about . The first zero of is defined as the smallest positive value for which . This value is important because it gives the radius of a polytropic star. The first zero for the Lane-Emden equation (4.1) has been calculated [12, 22, 37] to be 4.3528745959. Since the radius of convergence of the ADM is less than the first zero it follows that the ADM on its own can not be used to determine .

Table 1 gives a comparison between the ADM results, which have been computed up to 60th order, and the numerical results of [22] for selected values of . The run times for the algorithm are also given in the table. We see from Table 1 that the run times the ADM algorithm are a fraction of a second even when using many iterations. Table 2 gives the absolute errors between the ADM and the seven-digit accurate numerical results of [22]. It can be seen from the tables that the ADM results are accurate for small values of . Accuracy of the ADM results generally increases when the number of iterations is increased. But this is true for less than the convergence region of the method. Since the ADM solution of 36 is equivalent to the series solution reported in [14], the convergence radius is about 3.9646 [10, 11, 13]. Tables 1 and 2 also indicate that the convergence of the method becomes very slow when approaches and that above the method diverges.

In Figure 1 we plot the ADM solution of Example of (4.1) for orders up to . We see that, as we increase the order of the ADM, the interval of convergence increases rapidly when is small then increases slowly when is closer to , the radius of convergence, even when a large number of iterations are used. The ADM solution diverges and does not converge to the numerical results in the region near .

4.2. MSLM Solution

Using (2.17), the MSLM iterates are given by Equation (4.7) gives the iteration scheme for obtaining the solutions for starting from the initial approximation which is in this example is chosen to be . The first four solutions for are given as Thus, the approximate solution for obtained using the first 3 terms is By obtaining the first few terms of it is found that in general can be expressed as The coefficients can be determined by substituting (4.10) in (4.7) and equating powers of . The following recursive formula is obtained: where where the subscript represents the function where rounds the elements of to the nearest integers greater than or equal to . The MSLM approximate solution for is therefore given by We remark that when (4.13) is expanded we get the series form which has the same form as (4.6) but with . Comparing (4.5) and (4.9) we note that only the first three terms of the ADM coincide with the MSLM solution. The MSLM iteration results in more terms than the ADM and the number of terms increases exponentially with an increase in the number of iterations. In Table 3 we present values of the first zero at different orders of the MSLM which are compared with the numerical results of Horedt [22] which are widely used as a benchmark for testing the accuracy of new methods of solution. It can be seen from Table 3 that the MSLM method approximates the first zero of with great accuracy after only a few iterations. Seven-digit accuracy is achieved after ten iterations. Compared with the ADM and and power series approach we see that the MSLM is more useful as it can be used to estimate and the ADM diverges before reaches . We remark that the original SLM solution of the Lane-Emden equation (4.36) reported in [21], which was a numerical approach, gave results which converged to 4.35287458 even after increasing the number of iterations. The small error of the SLM is presumably due to the inherent errors of the numerical methods such as those that result from discretization of the domain or stability issues. Being an analytical approach, the MSLM does not suffer from the shortfalls associated with its numerical relative (SLM).

Tables 4 and 5 give the MSLM results for the values of at selected values of and their corresponding errors when compared with the numerical results of [22]. It can be seen from these tables that the MSLM results rapidly converge to the numerical results. Unlike the ADM results, the MSLM results will converge to the numerical results even when is close to the first zero .

In Figure 2 we show the MSLM solution at different orders plotted against the numerical solution of [22]. It be seen from the figure that the MSLM rapidly converges to the numerical solution. After only eight iterations the MSLM matches with the numerical results.

4.3. ADM-SLM Solution

Using (2.23) and (2.24) the ADM-SLM iterates for solving Example of (4.1) are given by We observe that (4.15) is exactly the same as (4.7) for the MSLM iterations. This indicates that the ADM-SLM approach uses the MSLM solution as an initial guess and improves on it by implementing the ADM approach to the resulting linearised equation. Thus, starting from the initial approximation , (4.15) is used to find the initial approximation to be used in the ADM-SLM iterative scheme (4.16). The approximate solution for is then obtained using (2.26). The first few solutions for are obtained as Thus, the approximate solution for obtained using 2 iterations in the SLM direction and 1 iteration in the ADM direction, that is, , is Comparing the ADM solution (4.5) and the MSLM solution (4.9) with the ADM-SLM solution (4.19) for the first few terms, it can be seen that the three solutions are different.

In Figure 3 we plot the approximate solution of Example of (4.1) for the first four iterations of the ADM-SLM. The approximate results are compared against the numerical results of [22]. It can be seen from Figure 3 that with each additional iteration, the radius of convergence of the ADM-SLM rapidly increases. Unlike in the case of the ADM, as can be seen in Figure 1, the ADM-SLM solution converges to the numerical solutions after only iterations, that is a total of eight iterations like in the MSLM case.

In Table 6 we present values of the first zero at different orders of the ADM-SLM. The results are compared with the seven-digit accurate numerical results of Horedt [22] and ten-digit numerical results reported in [12, 37]. It can be seen from Table 6 that the MSLM method approximates the first zero of with great accuracy after only a few iterations. It can be seen from Table 6 that the ADM-SLM results are accurate to seven digits after iterations (total of 10 iterations) and accurate to nine digits after iterations. This illustrates that this approach converges much more rapidly to the numerical solutions than the MSLM in which seven-digit accuracy was achieved after 10 iterations.

Tables 7 and 8 give the ADM-SLM results for the values of at selected values of and their corresponding errors when compared with the numerical results of [22]. These tables indicate that the ADM-SLM results converge rapidly to the numerical results.

Comparing the run times between the MSLM and ADM-SLM, for the number of iterations that give seven-digit accuracy, from Tables 4 and 7, respectively, it can be seen that seven-digit accuracy in the range is achieved after only 0.891 seconds and iterations (total of 10 iterations) in the ADM-SLM compared to 18.61 seconds and 10 iterations in the case of MSLM. This result shows that the ADM-SLM is much more computationally efficient than the MSLM.

In Table 9 we give a comparison between the rates of convergence of the three methods. It can be seen from the table that the ADM with the largest converges the slowest among the three methods and the ADM-SLM converges the fastest.

5. Conclusion

In this work, we presented two new reliable algorithms for solving Lane-Emden type equations that model polytropic stars. The methods considered are the modified successive linearisation method (MSLM) and a hybrid method (ADM-SLM) that blends the Adomian decomposition method (ADM) and the successive linearization method (SLM). The applicability of these methods was illustrated by solving the Lane-Emden equation of index two. The Lane-Emden equation of index two was used as an example to illustrate the applicability of the methods of solution and assess their performance in terms of accuracy, convergence, effectiveness, and validity. When considering the convergence rates it was found that the ADM-SLM converged faster than the MSLM which in turn converged faster than then ADM. Both the ADM-SLM and the MSLM were found to be effective in finding the first zero of equation governing the polytropic model. On the other hand, the region of convergence of the ADM was found to be less than which means the ADM on its own cannot be used to estimate . The MSLM and ADM-SLM were compared with previously published numerical results and they were found to quickly converge to the numerical results. Unlike the ADM, the ADM-SLM and MSLM were found to converge to the true solution for all not just small . This verifies the validity and reliability of the methods in giving accurate results. In terms of computational efficiency, the ADM-MSLM was found to be better than the MSLM because the implementation of its algorithm took much less time than the MSLM algorithm. We conclude that both the MSLM and ADM-SLM are promising tools for solving both linear and nonlinear initial value problems of the Lane-Emden type.