- Research
- Open Access
- Published:

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

*Advances in Difference Equations*
**volume 2012**, Article number: 174 (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

Singular initial value problems for Lane-Emden type equations occur in several models of mathematical physics and astrophysics [1–10] such as the theory of stellar structure, the thermal behavior of a spherical cloud of gas, isothermal gas spheres or theory of thermionic currents [11–13] which are modeled by means of the following Lane-Emden equation:

with the following initial conditions:

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.

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

where $y(x)$ is the original function and $Y(k)$ is the transformed function. Differential inverse transformation of $Y(k)$ 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,

Put

By differentiation $f(y(x))$ with respect to *x*, we get

From (6) and Theorem 1, we obtain

Comparing the terms with the same power of ${x}^{k}$, we have

From this, we get

Replacing $k+1$ by *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$.

From initial conditions and Theorem 1, we get

Multiplying equation (9) by *x* and using Theorem 1, we obtain

From here, we obtain the recurrence relation

Replacing $k-1$ by *k*, we get

Using (5), we can write recurrence relation (12) in the form

Since

then we can write relation (13) in the form

It is obvious that

Then recurrence relation (14) gives

Using the inverse transformation rule, we obtain an approximate solution of equation (6) in the form

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$.

Put

Multiplying equation (15) by *x* and using Theorem 1, we obtain the recurrence relation

Replacing $k-1$ by *k*, we get

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

From initial conditions and Theorem 2, we have

Relation (18) yields

Then

Following the same procedure, $Y(k)$, for $k\ge 4$ can be solved as follows:

Using the inverse transformation rule, we obtain the solution of equation (6) in the form

In the limit case $k\to \mathrm{\infty}$, we can observe that the series solution obtained by the differential transformation method converges to the series expansion of the closed form solution

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.

Equation (15) has been also investigated by Yiǧider *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

It is obvious that $G(0)=0$. Now, we use the following identity:

If we apply the inverse transformation, we obtain from (20) and Theorem 1

Comparing the terms with the same power of ${x}^{k}$, we have

From (22) we get

Replacing $i+1$ by *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$.

Multiplying equation (24) by *x* and using Theorem 1, we obtain

Thus,

From here it follows

Replacing $k-1$ by *k* relation (26) gives

and from here we get

Using (19) for $k\ge 1$, we can write relation (27) in the form

which in view of (28) implies

From initial conditions and relation (27), we get

Then recurrence relation (29) yields

Continuing in this way, we obtain

Hence, the solution of the equation has the following form:

If $k\to \mathrm{\infty}$, then the series solution converges to the series expansion of the closed form solution

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.

## References

- 1.
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.019 - 2.
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-9 - 3.
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-9 - 4.
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.046 - 5.
Malik M, Allali M: Characteristic equations of rectangular plates by differential transformation.

*J. Sound Vib.*2000, 233(2):359–366. 10.1006/jsvi.2000.2828 - 6.
Davis HT:

*Introduction to Nonlinear Differential and Integral Equations*. Dover, New York; 1962. - 7.
Zhou JK:

*Differential Transformation and Its Applications for Electrical Circuits (in Chinese)*. Huazhong University Press, Wuhan; 1986. - 8.
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:1022986311193 - 9.
Diblík J: The singular Cauchy-Nicoletti problem for system of two ordinary differential equations.

*Math. Bohem.*1992, 117(1):55–67. - 10.
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. - 11.
Richardson OU:

*The Emission of Electricity from Hot Bodies*. Longman, Green London; 1921. - 12.
Chandrasekhar S:

*Introduction to the Study of Stellar Structure*. Dover, New York; 1967. - 13.
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.024 - 14.
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.018 - 15.
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.012 - 16.
Momoniat E, Harley C: Approximate implicit solution of a Lane-Emden equation.

*New Astron.*2006, 11: 520–526. 10.1016/j.newast.2006.02.004 - 17.
Shawagfeh NT: Nonperturbative approximate solution for Lane-Emden equation.

*J. Math. Phys.*1993, 34(9):4364–4369. 10.1063/1.530005 - 18.
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.058 - 19.
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.048 - 20.
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.048 - 21.
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/316534 - 22.
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-2 - 23.
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.009 - 24.
Ertürk VS: Differential transformation method for solving differential equations of Lane-Emden type.

*Math. Comput. Appl.*2007, 12(3):135–139. - 25.
Arikoglu A, Özkol I: Inner-outer matching solution of Blasius equation by DTM.

*Aircr. Eng.*2005, 77: 298–301. 10.1108/00022660510606367 - 26.
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.013 - 27.
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-X - 28.
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. - 29.
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. - 30.
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. - 31.
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.018 - 32.
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.012 - 33.
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.017 - 34.
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/479396

## 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).

## Author information

### Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

### Authors’ contributions

YK proved the theorem which gives differential transformation formula for exponential nonlinearity. ZS illustrated obtained results with examples. ZS proved the theorem which gives differential transformation formula for logarithmic nonlinearity and wrote the first and corrected version of the paper. All authors read and approved the final manuscript.

## Rights and permissions

## About this article

### Cite this article

Khan, Y., Svoboda, Z. & Šmarda, Z. Solving certain classes of Lane-Emden type equations using the differential transformation method.
*Adv Differ Equ* **2012, **174 (2012). https://doi.org/10.1186/1687-1847-2012-174

Received:

Accepted:

Published:

### Keywords

- Series Solution
- Symbolic Calculation
- Homotopy Perturbation Method
- Variation Iteration Method
- Adomian Decomposition Method