# Solving certain classes of Lane-Emden type equations using the differential transformation method

- Yasir Khan
^{1}, - Zdeněk Svoboda
^{2}and - Zdeněk Šmarda
^{2}Email author

**2012**:174

https://doi.org/10.1186/1687-1847-2012-174

© Khan et al.; licensee Springer 2012

**Received: **4 August 2012

**Accepted: **22 September 2012

**Published: **5 October 2012

## Abstract

In this paper, the differential transformation method (DTM) is applied to solve singular initial problems represented by certain classes of Lane-Emden type equations. Some new differential transformation formulas for certain exponential and logarithmic nonlinearities are derived. The approximate and exact solutions of these equations are calculated in the form of series with easily computable terms. The results obtained with the proposed methods are in good agreement with those obtained by other methods. The advantages of this technique are shown as well.

## Introduction

where *a*, *b* are constants, $f(x,y)$ is a continuous function and $g(x)\in C[0,1]$.

Many methods have been used to solve singular initial value problem (1), (2). For instance, Ramos [14] presented a series approach to the Lane-Emden equation and made comparisons with He’s homotopy perturbation method. Dehghan and Shakeri [15] were first to apply exponential transformation to the Lane-Emden equation in order to address the difficulty of a singular point at $x=0$ and solve the resulting nonsingular problem using the variational iteration method. Momoniat and Harley [16] obtained an approximate implicit solution by reducing the Lane-Emden equation to a first-order differential equation using Lie group analysis and determining a power series solution of the reduced equation. Approximate solutions of Lane-Emden type equations were presented by Shawagfeh [17] and Wazwaz [18–20] using the Adomian decomposition method which provides a convergent series solution. Recently Yang and Hou [21] proposed an approximation algorithm for the solution of a Lane-Emden type equation based on hybrid functions and the collocation method.

In this paper, the differential transformation method (DTM) is successfully applied to find an exact and approximate solution of Lane-Emden type equations with exponential and logarithmic nonlinearities. Some examples are given to demonstrate the validity and applicability of the presented method and a comparison with existing results is made.

## 1 Differential transformation method

The concept of differential transformation was first proposed by Zhou [7] in 1986 and it was applied to solve linear and non-linear initial value problems in electric circuit analysis. This method constructs a semi-analytical numerical technique that uses Taylor series for the solution of differential equations in the form of polynomials. It is different from the high-order Taylor series method which requires symbolic computation of the necessary derivatives of the data functions.

The method was used in a direct way without using linearization, perturbation or restrictive assumptions (see [1–5, 22–27]). Therefore, it is not affected by computation round-off errors and one is not faced with the necessities of large computer memory and time. This method, unlike most numerical techniques, provides an exact solution. A specific advantage of this method over any purely numerical method is that it offers a smooth, functional form of the solution over a time step.

*k*th derivative of a function $y(x)$ is defined as follows:

In fact, inverse transformation (4) implies that the concept of differential transformation is derived from Taylor series expansion. Although DTM is not able to evaluate the derivatives symbolically, relative derivatives can be calculated in an iterative way which is described by the transformed equations of the original function.

From definitions (3), (4), we can derive the following:

**Theorem 1**

*Assume that*$F(k)$, $G(k)$, $H(k)$

*and*${U}_{i}(k)$, $i=1,\dots ,n$,

*are the differential transformations of the functions*$f(x)$, $g(x)$, $h(x)$

*and*${u}_{i}(x)$, $i=1,\dots ,n$,

*respectively*,

*then*

The proof of Theorem 1 is available in [26].

## 2 Numerical applications

In this section, we will investigate Lane-Emden type equations with exponential and logarithmic nonlinearities which occur in the stellar structure theory (see [6, 11, 28–30]).

**Theorem 2**

*If*$f(y(x))={e}^{ay(x)}$, ${x}_{0}=0$, $a\in \mathbb{R}$

*and*$F(k)$

*is the differential transformation of the function*$f(y(x))$,

*then*

*where*

*Proof*From the definition of the transformation,

*x*, we get

*k*and $i+1$ by

*i*, it follows

The proof is complete. □

**Example 1**Consider the isothermal gas spheres equation in the case that the temperature remains constant (see [6, 12, 15, 31, 32]) which is described by the Lane-Emden type equation

with initial conditions $y(0)={y}^{\prime}(0)=0$.

*k*, we get

Batiha [30], Gupta [28], Rafig *et al.* [29], Yildirim *et al.* [32], Parand *et al.* [31] obtained the same result by the variation iteration method, the homotopy perturbation method and the Hermite functions collocation method but using symbolic calculations as integral iterative functionals and solving differential equations of the second order.

**Example 2**Now, we consider a more general type of equation (9)

with initial conditions $y(0)={y}^{\prime}(0)=0$.

*x*and using Theorem 1, we obtain the recurrence relation

*k*, we get

In the cases of a linear combination of several nonlinearities, it is better to solve such type of equations as follows.

Equation (15) with the coefficient $5/x$ instead of $2/x$ has been solved by Chowdhury and Hashim [33] using the homotopy perturbation method and Adomian [18, 19] using the Adomian decomposition method. They obtained a closed form solution as well but with the help of many symbolic calculations.

*et al.*[34] using the differential transformation method. They obtained only the series solution (not in the closed form)

because they came out only from linear approximations of exponential nonlinearities.

Now, we derive the differential transformation of the certain logarithmic nonlinearity of the Lane-Emden type equation which occurs in the stellar structure theory and the thermionic current theory (see [11, 13]).

**Theorem 3**

*If*$g(y(x))=y(x)lny(x)$, $y(0)=1$

*and*$G(k)$

*is the differential transformation of the function*$g(y(x))$,

*then*

*Proof*Put

*i*in the second sum on the right-hand side of identity (9) and considering the fact that $G(0)=0$, we obtain

The proof is complete. □

**Example 3**Consider the following Lane-Emden type equation:

with initial conditions $y(0)=1$, ${y}^{\prime}(0)=0$.

*k*relation (26) gives

as obtained by Chowdhury [33] by the homotopy perturbation method and by Wazwaz [19, 20] by the Adomian decomposition method. Disadvantage of both mentioned methods is solving many differential equations of the second order or complicated symbolic calculations of so-called Adomian polynomials.

Parand *et al.* [31] obtained a series solution of (24) (not in the closed form) using the Hermite functions collocation method.

## Conclusion

The differential transformation method (DTM) is a reliable method applied by providing new theorems to develop exact and approximate solutions of Lane-Emden type equations with exponential and logarithmic nonlinearities. The results obtained with the proposed methods are in good agreement with those obtained by other methods. The main advantage of this method is that it can be applied directly to differential equations without requiring linearization, discretization or perturbation. Another important advantage is that this method is capable of greatly reducing the size of computational work and, as well, the proposed method reduces the solution of a problem to the solution of a system of recurrence algebraic equations. It may be concluded that DTM is very powerful and efficient in finding analytical as well as numerical solutions for wide classes of differential equations.

## Declarations

### Acknowledgements

The second author is supported by the Grant FEKT-S-11-2-921 of the Faculty of Electrical Engineering and Communication, Brno University of Technology. The third author is supported by the Grant P201/11/0768 of the Czech Grant Agency (Prague).

## Authors’ Affiliations

## References

- Bert CV, Zeng H: Analysis of axial vibration of compound bars by differential transformation method.
*J. Sound Vib.*2004, 275: 641–647. 10.1016/j.jsv.2003.06.019View ArticleGoogle Scholar - Chen CK, Chen SS: Application of the differential transformation method to a non-linear conservative system.
*Appl. Math. Comput.*2004, 154: 431–441. 10.1016/S0096-3003(03)00723-9MathSciNetView ArticleGoogle Scholar - Kuo BL: Thermal boundary-layer problems in a semi-infinite flat plate by the differential transformation method.
*Appl. Math. Comput.*2004, 150: 303–320. 10.1016/S0096-3003(03)00233-9MathSciNetView ArticleGoogle Scholar - Kuo BL: Heat transfer analysis for the Falkner-Skan wedge flow by the differential transformation method.
*Int. J. Heat Mass Transf.*2005, 48: 5036–5046. 10.1016/j.ijheatmasstransfer.2003.10.046View ArticleGoogle Scholar - Malik M, Allali M: Characteristic equations of rectangular plates by differential transformation.
*J. Sound Vib.*2000, 233(2):359–366. 10.1006/jsvi.2000.2828View ArticleGoogle Scholar - Davis HT:
*Introduction to Nonlinear Differential and Integral Equations*. Dover, New York; 1962.Google Scholar - Zhou JK:
*Differential Transformation and Its Applications for Electrical Circuits (in Chinese)*. Huazhong University Press, Wuhan; 1986.Google Scholar - Diblík J: A multidimensional singular boundary value problem of the Cauchy-Nicoletti type.
*Georgian Math. J.*1997, 4(4):303–312. 10.1023/A:1022986311193MathSciNetView ArticleGoogle Scholar - Diblík J: The singular Cauchy-Nicoletti problem for system of two ordinary differential equations.
*Math. Bohem.*1992, 117(1):55–67.MathSciNetGoogle Scholar - Diblík J: The asymptotic behavior of solutions of a differential equation partially solved with respect to the derivative (in Russian).
*Sibirskij matěmatičeskij žurnal*1982, 23(5):80–91.Google Scholar - Richardson OU:
*The Emission of Electricity from Hot Bodies*. Longman, Green London; 1921.Google Scholar - Chandrasekhar S:
*Introduction to the Study of Stellar Structure*. Dover, New York; 1967.Google Scholar - Aslanov A: Determination of convergence intervals of the series solutions of Emden-Fowler equations using polytropes and isothermal spheres.
*Phys. Lett. A*2008, 372(20):3541–3740. 10.1016/j.physleta.2008.02.024MathSciNetView ArticleGoogle Scholar - Ramos JI: Series approach to the Lane-Emden equation and comparison with the homotopy perturbation method.
*Chaos Solitons Fractals*2008, 38(2):400–408. 10.1016/j.chaos.2006.11.018MathSciNetView ArticleGoogle Scholar - Dehghan M, Shakeri F: Approximate solution of a differential equation arising in astrophysics using the variational iteration method.
*New Astron.*2008, 13: 53–59. 10.1016/j.newast.2007.06.012View ArticleGoogle Scholar - Momoniat E, Harley C: Approximate implicit solution of a Lane-Emden equation.
*New Astron.*2006, 11: 520–526. 10.1016/j.newast.2006.02.004View ArticleGoogle Scholar - Shawagfeh NT: Nonperturbative approximate solution for Lane-Emden equation.
*J. Math. Phys.*1993, 34(9):4364–4369. 10.1063/1.530005MathSciNetView ArticleGoogle Scholar - Wazwaz AM: Adomian decomposition method for a reliable treatment of the Emden-Fowler equation.
*Appl. Math. Comput.*2005, 166: 638–651. 10.1016/j.amc.2004.06.058MathSciNetView ArticleGoogle Scholar - Wazwaz AM: Adomian decomposition method for a reliable treatment of the Emden-Fowler equation.
*Appl. Math. Comput.*2005, 161(2):543–560. 10.1016/j.amc.2003.12.048MathSciNetView ArticleGoogle Scholar - Wazwaz AM: The modified decomposition method for analytic treatment of differential equations.
*Appl. Math. Comput.*2006, 173(1):165–176. 10.1016/j.amc.2005.02.048MathSciNetView ArticleGoogle Scholar - Yang C, Hou J: A numerical method for Lane-Emden equations using hybrid functions and the collocation method.
*J. Appl. Math.*2012., 2012: Article ID 316534. doi:10.1155/2012/316534Google Scholar - Abdel IH, Hassan H: Differential transformation technique for solving higher-order initial value problems.
*Appl. Math. Comput.*2004, 154: 299–311. 10.1016/S0096-3003(03)00708-2MathSciNetView ArticleGoogle Scholar - Arikoglu A, Ozkol I: Solution of boundary value problems for integrodifferential equations by using differential transform method.
*Appl. Math. Comput.*2005, 168: 1145–1158. 10.1016/j.amc.2004.10.009MathSciNetView ArticleGoogle Scholar - Ertürk VS: Differential transformation method for solving differential equations of Lane-Emden type.
*Math. Comput. Appl.*2007, 12(3):135–139.MathSciNetGoogle Scholar - Arikoglu A, Özkol I: Inner-outer matching solution of Blasius equation by DTM.
*Aircr. Eng.*2005, 77: 298–301. 10.1108/00022660510606367View ArticleGoogle Scholar - Arikoglu A, Özkol I: Solution of difference equations by using differential transform method.
*Appl. Math. Comput.*2006, 174: 1216–1228. 10.1016/j.amc.2005.06.013MathSciNetView ArticleGoogle Scholar - Jang MJ, Chen CL, Liy YC: On solving the initial-value problems using the differential transformation method.
*Appl. Math. Comput.*2000, 115: 145–160. 10.1016/S0096-3003(99)00137-XMathSciNetView ArticleGoogle Scholar - Gupta VG, Sharma P: Solving singular initial value problems of Emden-Fowler and Lane-Emden type.
*Int. J. Appl. Math. Comput. Sci.*2009, 1(4):170–177.Google Scholar - Rafig A, Hussain S, Ahmed M: General homotopy method for Lane-Emden type differential equations.
*Int. J. Appl. Math. Mech.*2009, 5(3):75–83.Google Scholar - Rafig A, Hussain S, Ahmed M: A general approach to specific second order ordinary differential equations using homotopy perturbation method.
*Phys. Lett. A*2008, 327(30):4973–4976.View ArticleGoogle Scholar - Parand K, Dehghanb M, Rezaeia AR, Ghaderia SM: An approximation algorithm for the solution of the nonlinear Lane-Emden type equations arising in astrophysics using Hermite functions collocation method.
*Comput. Phys. Commun.*2010, 181: 1096–1108. 10.1016/j.cpc.2010.02.018View ArticleGoogle Scholar - Yildirim A, Özis T: Solutions of Singular IVPs of Lane-Emden type by the variational iteration method.
*Nonlinear Anal., Theory Methods Appl.*2009, 70: 2480–2484. 10.1016/j.na.2008.03.012View ArticleGoogle Scholar - Chowdhury MSH, Hashim I: Solutions of Emden-Fowler equations by homotopy perturbation method.
*Nonlinear Anal., Real World Appl.*2009, 10: 104–115. 10.1016/j.nonrwa.2007.08.017MathSciNetView ArticleGoogle Scholar - Yiǧider M, Tabatabaei K, Celik E: The numerical method for solving differential equations of Lane-Emden type by Padé approximation.
*Discrete Dyn. Nat. Soc.*2011., 2011: Article ID 479396. doi:10.1155/2011/479396Google Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.