American Journal of Computational Mathematics
Vol.10 No.01(2020), Article ID:98798,10 pages
10.4236/ajcm.2020.101006

On Solutions of Emden-Fowler Equation

Khalid A. A. Hossen

Department of Computer Science, Faculty of Information Technology, Al-Ahliyya Amman University, Amman, Jordan

Copyright © 2020 by author(s) and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: August 21, 2019; Accepted: March 8, 2020; Published: March 11, 2020

ABSTRACT

Finite Element Method (FEM), based on p and h versions approach, and the Adomians decomposition algorithm (ADM) are introduced for solving the Emden-Fowler Equation. A number of special cases of p and h versions of FEM are introduced. Several iterated forms of the ADM are considered also. To demonstrate the efficiency of both methods, the numerical solutions of different examples are compared for both methods with the analytical solutions. It is observed that the results obtained by FEM are quite satisfactory and more accurate than ADM. Moreover, the FEM method is applicable for a wide range of classes including the singularity cases with the given special treatments by the FEM. Comparing the results with the existing true solutions shows that the FEM approach is highly accurate and converges rapidly.

Keywords:

Finite Element Method, Adomians Decomposition Algorithm, Numerical, Error

1. Introduction

In this work, we present an alternate algorithm to solve the Emden-Fowler Equation [1] [2]. This equation has several interesting physical applications occurring in astrophysics in the form of the Fermi-Thomas equation [3]. The analysis is accompanied by examples that demonstrate the comparison and show the pertinent features of the modified technique. Two versions of FEM approaches have been used to obtain a numerical solution to this problem. The decomposition scheme representing the nonlinear problem is presented. Some references for such numerical solutions can be found in [4] [5] [6]. In particular, Scott [7] used an invariant imbedding method to solve Troesch’s problem, while Khuri [8] used a numerical method based on Laplace transformation and a modified decomposition technique to obtain an approximate solution of the same problem. Feng [9] solved this problem numerically using a modified homotopy perturbation technique. Chang and Chang [10] developed a new technique for calculating the one-dimensional differential transform of nonlinear functions; the algorithm was illustrated by studying several nonlinear ordinary differential equations, including Troesch’s problem. Chang [11] proposed a new algorithm based on the vibrational method and variable transformation to solve Troesch’s problem. The cubic B-spline finite-element method (see [12] [13] [14]) is often used for solving nonlinear problems that arise in engineering applications; cubic B-spline functions are utilized to develop a collocation method for solving Troesch’s problem.

Adomians decomposition algorithm has been recently employed to solve a wide range of problems (see [15] [16] [17]). We adapt the algorithm to solving the most general form of Emden-Fowler Equation given by

d d t ( q ( t ) d u d t ) + q ( t ) u n = 0 , t 0 (1)

with specified initial condition

u ( 0 ) = α (2)

d u d t = β

The balance of this paper is as follows. In Section 2.1, we give a brief description of Adomians method and then introduce a modified version of this algorithm. We apply the modified scheme to Equations (1), (2). While in Section 2.2, we seek a finite element solution for solving Emden-Fowler Equation. We consider the mesh point ui over the interval [0, 1], with x0 = 0 and xn = 1, noting that the mesh points distance = h.

In Section 3, several interesting examples that arise in applications are used to illustrate the algorithm with error estimates.

And tables are not prescribed, although the various table text styles are provided. The formatter will need to create these components, incorporating the applicable criteria that follow.

2. Analysis

2.1. Adomians Decomposition Method

In this section, we first describe algorithm of Adomians decomposition method as it applies to general nonlinear equation of the form

u N ( u ) = f (3)

where N is a nonlinear operator on a Hilbert space H and f is a known element of H. We assume that for a given f a unique solution u of Equation (3) exists. We then introduce a modified version of this algorithm to handle equations of the form Equation (1).

The Adomians algorithm assumes a series solution for u given by

u = n = 0 u n (4)

And the nonlinear operator N to be decomposed into

N ( u ) = n = 0 A n (5)

where An’s are Adomians polynomials of u 0 , u 1 , , u n given by

A n = 1 n ! d n d λ n [ N i = 0 λ i u i ] λ = 0 , n = 0 , 1 , (6)

Substituting Equations (4) and (5) into the functional Equation (3) yields.

n = 0 u n n = 0 A n = f (7)

The convergence of the series in Equation (7) will yield

u 0 = f u 1 = A 0 u 2 = A 1 u n = A n 1 (8)

Thus, one can, recurrently determine every term of the series n = 0 u n the convergence of this series has been established (see [17] [18]).

To illustrate the scheme, let the nonlinear operator N(u) be a nonlinear function of u, say g(u) then the first four Adomians Polynomials are given by

A 0 = g ( u 0 ) A 1 = u 1 g ( u 0 ) A 2 = u 2 g ( u 0 ) + 1 2 ! u 1 2 g ( u 0 ) A 3 = u 3 g ( u 0 ) + u 1 u 2 g ( u 0 ) + 1 3 ! u 1 3 + g ( u 0 ) (9)

How do we interpret and solve Emden-Fowler Equation in this setting?

Following the Adomians decomposition analysis [4] defines the linear operator.

L t = t (10)

Equation (1) can be rewritten in terms of the linear operator

L t [ p ( t ) L t ( u ) ] + q ( t ) u n = 0 (11)

It was shown in [2] that Equation (1) with condition (2) possesses a unique solution.

Thus, the inverse operator of Lt, namely L t 1 exists and is the twofold indefinite integral; i.e.

[ L t 1 f ] ( t ) = 0 t d u 0 t d v f ( v ) (12)

Operating on both sides of (11) with L t 1 yields

L t 1 L t [ p ( t ) L t ( u ) ] + L t 1 [ q ( t ) u n ] = 0 (13)

From which it follows, upon using the initial conditions given in Equation (2).

u ( t ) = u ( 0 ) + L t 1 [ p ( 0 ) β p ( t ) ] L t 1 [ L t 1 ( q ( t ) u n ) P ( t ) ] (14)

The Adomians decomposition method yields the solution in the form given in (4) i.e. u ( t ) = u 0 + u 1 + u 2 + + u n ,then from Equation (14)

u 0 + u 1 + u 2 + = 1 + L t 1 [ p ( 0 ) β β ( t ) ] L t 1 [ L t 1 ( q ( t ) u n ) p ( t ) ] (15)

For later numerical computation, let the expression

ϕ n = i = 0 n 1 u i ( t ) (16)

can serve as a practical solution. We will show through several examples, that this Adomians decomposition method which converts the given equation to recurrences relation whose terms are computed using maple 15.

2.2. Finite Element Method (FEM)

We seek a finite element solution for solving Emden-Fowler Equation, we consider the mesh point ui over the interval [0, 1], with x0 = 0 and xn = 1, note that the mesh points distance = h, with x n = x 0 + i h . Given

u ( x ) = n = 0 n 1 α i φ i (17)

The finite element method minimizes the integral (17) over a class of Piecewise polynomials. The idea is to choose a finite number of trial functions φ i ,and among all their linear combinations n = 0 n 1 α i φ i to find the one, which is the minimum, the unknown α i determined by a system of N discrete algebraic equations, which the computer can handle. Therefore, the goal is to choose trial functions φ i ,which are convenient enough for the given integral (17) to be compute and minimized, and at the same time general enough to approximate closely the unknown u. The software TWEPEP starts by a subdivision of the given region into smaller pieces which are triangles with standard six-node with a quadratic basis function, and with one edge curved when adjacent to a curved boundary according to the isoperimetric method. It is also optional to use 10-piont cubic (3rd degree) or the 15-points quartic (4th degree) isoperimetric triangular elements for greater accuracy. Each time a triangle is partitioned, it is divided by a line from the midpoint of its longest side to the opposite vertex. If this side is not on the boundary, the triangle which shares that side must also be divided to avoid non-conforming elements with discontinuous basis functions. An initial triangulation with sufficient triangles to define the region is supplied by the user, then the refinement and grading of this triangulation is guided by a user supplied function D3EST which should be largest where the final triangulation is to be densest. The Cuthill-McKee algorithm ( [18] [19] [20]) used to initially number the nodes, and a special bandwidth reduction algorithm is used to decrease the bandwidth of the Jacobian matrix even further.

In all cases, the algebraic system solved by Newton’s method. One iteration per time step is done for parabolic problems and one iteration is sufficient for linear elliptic problems. The linear system is solved directly by block Gaussian elimination, without row interchanges since pivoting is unnecessary when the matrix is positive definite. Symmetry also taken advantage of in the elimination process if it is present then the storage and computational work halved. If the Jacobian matrix is too large to keep in core, the frontal method is used efficiently organize its storage out of core.

3. Illustrations of the Methods

In this section, we shall consider three examples the first is the linearized Emden-Fowler Equation, and the other two are nonlinear. The out-come of modified Adomians decomposition method compared with and the finite element method the p, the h versions, and any known solution to the underlying Emden-Fowler Equation. Then solution obtained generalized by maple [21]. While the nonlinear system of equations given in (17) has been solved using the old version of the computer algebra system TWEPEP [22].

Example 1. Consider Emden-Fowler Equation of the form

1 t 2 d d t ( t 2 d d t ( u ) ) + t 2 u = 0

u ( 0 ) = 1 and d u ( 0 ) d t = 0 (18)

Substituting these values into the general formula Equation (13), we obtain

u 0 = 1 u 1 = L t 1 ( t 2 u 0 t 2 ) = 1 6 t 2 u 2 = L t 1 ( t 2 u 1 t 2 ) = 1 120 t 4 u 3 = L t 1 ( t 2 u 2 t 2 ) = 1 5040 t 6 (19)

The exact solution to Equation (18) given by u ( t ) = 1 t sin t .

Example 2. Consider the Emden Fowler of the form

1 t 2 ( d d t ( t 2 d d t u ) ) + u 5 = 0

u ( 0 ) = 1 , d u ( 0 ) d t = 0 (20)

Using Equation (13), the various ui are given by

u 0 = 1 u 1 = L t 1 ( t 2 A 0 t 2 ) = 1 6 t 2 u 2 = L t 1 ( t 2 A 1 t 2 ) = 1 24 t 4 u 3 = L t 1 ( t 2 A 2 t 2 ) = 5 432 t 6 (21)

where A 0 = f ( u 0 ) = 1

A 1 = u 1 f ( u 0 ) = 5 u 0 5 = 5 6 t 2

A 2 = u 2 f ( u 0 ) + 1 2 u 1 2 f ( u 0 ) = 5 u 0 4 u 2 + 10 u 0 3 u 1 2 = 35 71 t 4 (22)

A 3 = u 3 f ( u 0 ) + 1 2 ( 2 u 1 u 2 ) f ( u 0 ) + 1 3 ! ( u 0 u 1 3 ) f ( u 0 ) = 35 144 t 6

The exact solution of Equation (20) is given by

u ( t ) = 1 1 + 1 3 t

The exact solution compared with the numerical solution using Adomians method.

Example 3. Our final Example deals with Emden-Fowler Equation of the form

d d t ( 1 1 + t ( d d t ( u ) ) ) + 1 2 ( 1 + t ) 3 u 2 = 0 (23)

u ( 0 ) = 1 , d u ( 0 ) d t = 1 2 (24)

Using Equation (13) the various iterates are given by

u 0 = 1 + 1 2 L t 1 [ L t 1 [ 1 + t ] 1 / 2 ] = 2 3 + 1 3 ( 1 + t ) 3 / 2 u 1 = 1 2 L t 1 [ L t 1 ( A 0 ( 1 + t ) 3 ) ( 1 + t ) 1 / 2 ] u 2 = 1 2 L t 1 [ L t 1 ( A 1 ( 1 + t ) 3 ) ( 1 + t ) 1 / 2 ] u 3 = 1 2 L t 1 [ L t 1 ( A 2 ( 1 + t ) 3 ) ( 1 + t ) 1 / 2 ]

where

A 0 = f ( u 0 ) = u 0 2 = [ 2 3 + 1 3 ( 1 + t ) 3 / 2 ] 2 (25)

A 1 = 2 u 0 u 1 A 2 = 2 u 0 u 1 + u 1 2 A 3 = 2 u 0 u 3 + 2 u 0 u 1 u 2

The exact solution of Equation (23) and (24) is given by

u ( t ) = 1 + t (26)

The exact solution compared with the numerical solution using Adomians method, shown in Table 3 errors obtained by approximation ϕ 4 , ϕ 5 and ϕ 6 as defined in Equation (16) respectively.

In the next section, we will give the numerical results arising from the implementation of this adaptive collocation approach over the Emden-Fowler problem.

In this section, the ADM collocation method used to solve the Emden-Fowler problem for different values of the ui using the computer algebra system Maple 15. In Tables 1-3, the numerical solutions obtained by the above method at the mesh points t = 0 , 0.01 , 0.02 , , 0.1 . Respectively, are compared with the given analytic solutions the resulting relative error is also compared with h version FEM numerical techniques, namely, 50, 100 and 150 elements.

In Tables 4-6, the numerical solution obtained by the FEM collocation at the mesh points t = 0 , 0.01 , 0.02 , , 0.1 ,is compared with the exact solutions given. A Fortran code called TWOPEP [22] used to solve to solve the problems.

Table 1. Error obtained using decomposition method for example 1.

Table 2. Error obtained using decomposition method for example 2.

Table 3. Error obtained using decomposition method with four five and six terms for example 3.

Table 4. Error obtained using finite element method example 1.

Table 5. Error obtained using finite element method example 2.

Table 6. Error obtained using finite element method example 3.

From Tables 4-6, we observe that the h and the p collocation FEM method yields a almost exact solution for elements in order = 50, 100, and 150, respectively [14] an investigate the effect of the choice of the number of elements around the singularity points over comes the failed of the traditional ADM on the numerical solution of Troesch’s problem. Tables 4-6 provide the relative error obtained by the h and the p shape-spline method,

We observe generally notable change in the numerical results when the number of elements and the degree increased, we can say almost exact.

From Tables 1-3, it is evident that the relative error for all given examples decreases as the number of terms of the ADM increase, convergence is rapid and the relative error is small.

Likewise, result in Tables 4-6 shows the F.E.M error as the number of elements is subdivided (the h version) also as the degree of the polynomial is increased (p version). With more dense elements near t = 0 has the upper hand results.

4. Conclusion

In this work, the Adomians decomposition method, and the finite element method p and the h versions have been successfully applied to find the solution of nonlinear Emden-Fowler Equation. For general cases, Adomians decomposition method usually fails to solve singular initial value problems of Emden-Fowler type, while an effective modification of FEM that only requires denser elements around the singularity point is introduced. We conclude that FEM is a powerful method for the solution of nonlinear Emden-Fowler Equation. However, the computations by the ADM are simpler and faster than FEM techniques. The FME offers great advantages of straightforward applicability, computational efficiency and high accuracy.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

Cite this paper

Hossen, K.A.A. (2020) On Solutions of Emden-Fowler Equation. American Journal of Computational Mathematics, 10, 90-99. https://doi.org/10.4236/ajcm.2020.101006

References

  1. 1. James, S. and Wong, W. (1975) On the Generalized Emden-Fowler Equation Society for Industrial and Applied Mathematics. SIAM Review, 17, 339-360. https://doi.org/10.1137/1017036

  2. 2. Adomians, G., Rach, R. and Shawagfeh, N.T. (1995) On the Analytic Solution of the Lane-Emden Equation. Physics Letters, 8, 161-181. https://doi.org/10.1007/BF02187585

  3. 3. Metropolis, N. and Reitz, J.R. (1951) Solutions of the Fermi-Thomas-Dirac Equation. The Journal of Chemical Physics, 19, 555. https://doi.org/10.1063/1.1748292

  4. 4. Adomians, G. (1990) A Review of the Decomposition Method and Some Recent Results for Nonlinear Equations. Mathematical and Computer Modelling, 13, 17-43. https://doi.org/10.1016/0895-7177(90)90125-7

  5. 5. Evans, D.J. and Hossen, K.A. (2000) Asymptotic Decomposition of Mildly Nonlinear Differential Equation. International Journal of Computer Mathematics, 78, 569-573. https://doi.org/10.1080/00207160108805132

  6. 6. Roberts, S.M. and Shipman, J.S. (1976) On the Closed form Solution of Troesch’s Problem. Journal of Computational Physics, 21, 291-304. https://doi.org/10.1016/0021-9991(76)90026-7

  7. 7. Scott, M.R. (1975) On the Conversion of Boundary-Value Problems into Stable Initial-Value Problems via Several Invariant Imbedding Algorithms. In: Aziz, A.K., Ed., Numerical Solutions of Boundary-Value Problems for Ordinary Differential Equations, Academic Press, New York, 89-146. https://doi.org/10.1016/B978-0-12-068660-5.50008-9

  8. 8. Khuri, S.A. (2003) A Numerical Algorithm for Solving the Troesch’s Problem. International Journal of Computer Mathematics, 80, 493-498. https://doi.org/10.1080/0020716022000009228

  9. 9. Feng, X., Mei, L. and He, G. (2007) An Efficient Algorithm for Solving Troesch’s Problem. Applied Mathematics and Computation, 189, 500-507. https://doi.org/10.1016/j.amc.2006.11.161

  10. 10. Chang, S.H. and Chang, I.L. (2008) A New Algorithm for Calculating the One-Dimensional Differential Transform of Nonlinear Functions. Applied Mathematics and Computation, 195, 799-808. https://doi.org/10.1016/j.amc.2007.05.026

  11. 11. Chang, S.-H. (2010) A Variational Iteration Method for Solving Troesch’s Problem. Journal of Computational and Applied Mathematics, 234, 3043-3047. https://doi.org/10.1016/j.cam.2010.04.018

  12. 12. Deeba, E.Y. and Khuri, S.A. (1996) A Decomposition Method for Solving the Nonlinear Klein-Gordon Equation. Journal of Computational Physics, 124, 442-448. https://doi.org/10.1006/jcph.1996.0071

  13. 13. Adomians, G. (1986) Nonlinear Stochastic Operator Equations. Academic Press, New York. https://doi.org/10.1016/B978-0-12-044375-8.50012-5

  14. 14. Hossen, K.A. (1984) Finite Element Solutions for Elliptic Partial Differential Equations. PhD Thesis, Loughborough University of Technology, Loughborough.

  15. 15. Hossein, J., Tayyebi, E., Sadeghi, S. and Khalique, C.M. (2014) New Modification of the Adomian Decomposition Method for Nonlinear Integral Equations. International Journal of Advances in Applied Mathematics and Mechanics, 1, 33-39.

  16. 16. Almazmumy, M., Hendi, F.A., Bakodah, H.O. and Alzumi, H. (2012) Recent Modifications of Adomian Decomposition Method for Initial Value Problem in Ordinary Differential Equations. American Journal of Computational Mathematics, 2, 228-234. https://doi.org/10.4236/ajcm.2012.23030

  17. 17. Seng, V. and Abbaoui, K.Y. (1996) Adomians for Nonlinear Operators. Mathematical and Computer Modelling, 24, 59-65. https://doi.org/10.1016/0895-7177(96)00080-5

  18. 18. Rosen, R. (1968) Matrix Bandwidth Minimization. Proceedings of 23rd National Conference, ACM, ACM Publication P-68, Brandon/Systems Press, Princeton, NJ, 585-595. https://doi.org/10.1145/800186.810622

  19. 19. Cuthill, E. and McKee, J. (1969) Reducing the Bandwidth of Sparse Symmetric Matrices. Proceedings 24th National Conference of ACM, August 1969, 157-172. https://doi.org/10.1145/800195.805928

  20. 20. Cheng, K.Y. (1973) Minimizing the Bandwidth of Sparse Symmetric Matrices. Computing, 11, 103-110.

  21. 21. Maplesoft User Case Studies. http://www.maplesoft.com/company/casestudies

  22. 22. Granville, S. (1981) TWODEPEP. International Mathematical and Statistical Libraries. IMSL Statistical Libraries, Inc., Houston.