** Applied Mathematics** Vol.5 No.4(2014), Article ID:43565,8 pages DOI:10.4236/am.2014.54056

Numerical Solutions for the Time-Dependent Emden-Fowler-Type Equations by B-Spline Method

Mohamed El-Gamel, W. El-bashbashy, Atallah El-Shenawy

Department of Mathematical Sciences, Faculty of Engineering, Mansoura University, Mansoura, Egypt

Email: gamel_eg@yahoo.com

Copyright © 2014 by authors and Scientific Research Publishing Inc.

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

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

Received 14 September 2013; revised 14 October 2013; accepted 24 October 2013

ABSTRACT

A numerical method based on B-spline is developed to solve the time-dependent Emden-Fowler-type equations. We also present a reliable new algorithm based on B-spline to overcome the difficulty of the singular point at. The error analysis of the method is described. Numerical results are given to illustrate the efficiency of the proposed method.

**Keywords:** B-Spline; Time-Dependent; Numerical Solutions; Emden-Fowler Type

1. Introduction

In recent years, a lot of attentions have been devoted to the study of B-spline method to investigate various scientific models. The efficiency of the method has been formally proved by many researchers [1] -[7] .

Spline functions have some attractive properties. Due to the being piecewise polynomial, they can be integrated and differentiated easily. Since they have compact support, numerical methods in which spline functions are used as a basis function lead to matrix systems including band matrices. Such systems have solution algorithms with low computational cost.

In this paper, we employ the B-spline method to solve the time dependent partial differential equations. For clarity, the method is presented for the heat equation

(1)

subject to the boundary conditions

(2)

and the initial condition

(3)

Some forms of the above equations model several phenomena in mathematical physics and astrophysics such as the diffusion of heat perpendicular to the surface of parallel planes, theory of stellar structure, the thermal behavior of a spherical cloud of gas, isothermal gas sphere and theory of thermionic currents [8] -[10] .

The solution of the time-dependent Emden-Fowler equation as well as a variety of linear and nonlinear singular IVPs in quantum mechanics and astrophysics is numerically challenging because of singularity behavior at the origin. The singularity behavior that occurs at the point is the main difficulty in the analysis of Equations (1)-(3).

The approximate analytical solutions to the Lane-Emden equations were presented by Shawagfeh [11] and Wazwaz [12] -[14] using the Adomian decomposition method (ADM). Very recently, Chowdhury and Hashim [15] applied the homotopy-perturbation method (HPM) and the variational iteration method (VIM) [16] to obtain approximate analytical solutions of the time-dependent Emden-Fowler-type equations.

The paper is organized as follows. In Section 2, we review some basic facts about the B-spline that are necessary for the formulation of the discrete linear and nonlinear system. In Section 3, the error analysis of the method is described. In Section 4, we formulate our B-spline collocation method to the solution of (1)-(3). In Section 5, numerical experiments are tested to demonstrate the viability of the proposed method.

2. Some Properties of B-Spline

B-splines are mathematically more sophisticated than other types of splines, so we start with a gentle introduction. We first use basic assumptions to derive the expressions for the cubic uniform B-splines directly and without mentioning knots. We then show how to extend the derivations to uniform B-splines of any order. Following this, we discuss a different, recursive formulation of the weight functions of the uniform B-splines.

The third-degree B-spline is used to construct numerical solutions to a given problem (1). A detailed description of third-degree B-spline functions can be found in [13] [17] . The third-degree B-splines are defined as

(4)

(5)

We can simply check that each of the function is twice continuously differentiable on the entire real line. Also,

(6)

Similarly, we can show that:

(7)

and

(8)

3. Error Analysis

3.1. Governing Equation

Since is singular point of Equation (1), we first modify Equation (1) at By L’Hospital rule, the boundary value problem (1) is transform into

(9)

where

Let, we consider the linear non-homogeneous Emden-Fowler differential Equation (9), difference schemes for this problem considered as following:

(10)

or

(11)

Suppose is the cubic B-spline interpolating at the time level then

(12)

Theorem 3.1. Let the collocation approximation to the solution of the boundary value problem (1) is (12) then the following relation is hold

(13)

3.2. Truncation Error of Time Dependent Emden-Fowler Equation

Theorem 3.2. By using the combination of the finite difference approximation and cubic B-spline method, the truncation error is.

Proof: Consider the Equation (10) when apply finite difference

apply taylor expansion for L.H.S

if

we can calculate the truncation error which is defined as as:

4. B-Spline Solutions for Time-Dependent Emden-Fowler

In this section, we shall introduce a reliable algorithm based on B-spline method to handle singular initial value problems (IVPs) in a realistic and efficient way considering Emden Fowler equation as a model problem.

4.1. Linear Time-Dependent Emden-Fowler

Let

(14)

be an approximate solution of Equation (1), where are unknown real coefficients and are thirddegree B-spline functions. Let be grid points in the interval so that

We can deduce the following

(15)

Theorem 4.1. If the assumed approximate solution of the problem (10) is (14), then the discrete collocation system for the determination of the unknown coefficients is given by

(16)

Proof: If we replace each term of (10) with its corresponding approximation given by (14) and (15) and substituting and applying the collocation to it.

The boundary conditions (3) can be written as

(17)

Then use them with the system of Equation (16), which can be written in the matrix form

(18)

where

Also the matrix can be written as

where

It is easily seen that the matrix is strictly diagonally dominant and hence nonsingular. Now we have a linear system of equations for the unknown coefficients, namely,. We can obtain the coefficient of the approximate solution by solving this linear system by Q-R method.

4.2. Non-Linear Time-Dependent Emden-Fowler

Let, we consider the nonlinear non-homogeneous Emden-Fowler differential equation

(19)

We can use finite difference method

(20)

Theorem 4.2. If the assumed approximate solution of the problem (20) is (14), then the discrete collocation system for the determination of the unknown coefficients is given by

(21)

Then the boundary condition (17) with the system of Equation (21). Now we have a nonlinear system of equations in the unknown coefficients. We can obtain the coefficients of the approximate solution by solving this nonlinear system by Newton’s method.

5. Examples and Comparisons

In this section, we will present three of our numerical results of time dependent problems using the method outlined in the previous section. The performance of the B-spline method is measured by the maximum absolute error which is defined as

Example 1: [18] Consider the problem

subject to boundary conditions

and the initial condition

whose exact solution is

The maximum absolute errors at different and different time with is given in Table 1.

Example 2: [18] Consider the linear problem

subject to boundary conditions

and the initial condition

whose exact solution is

Table 1. Maximum absolute errors for Example 1.

The maximum absolute errors at different and different time with is given in Table 2.

Example 3: [18] Now we turn to a singular nonlinear problem

subject to boundary conditions

and the initial condition

whose exact solution is

The maximum absolute errors at different and different time with is given in Table 3.

6. Conclusions

We have presented a B-spline collocation method for the solution of time-dependent Emden Fowler type Equations (1)-(3). This method produces a spline function which is useful to obtain the solution at any point of the interval, whereas the finite difference method gives the solution only at selected nodal points. The numerical results given in tables show that the present method approximates the exact solution very well.

This present analysis exhibits the reliable applicability of B-spline method to solve linear and nonlinear problems with singular feature. In this work, we demonstrate that this method can be well suited to attain solution to the type of examined equations, linear and nonlinear as well. The difficulty in this type of equations

Table 2. Maximum absolute errors for Example 2.

Table 3. Maximum absolute errors for Example 3.

due to the existence of singular point at is overcome here. Finally, we conclude that the B-spline method is a promising tool for both linear and nonlinear singular time-dependent Emden-Fowler-type equations.

References

- Ali, A.H.A., Gardner, G.A. and Gardner, L.R.T. (1992) A Collocation Solution for Burgers? Equation Using Cubic B-Spline Finite Elements. Computer Methods in Applied Mechanics and Engineering, 100, 325-337. http://dx.doi.org/10.1016/0045-7825(92)90088-2
- Aziz, T., Khan, A. and Rashidinia, J. (2005) Spline Methods for the Solution of Fourth-Order Parabolic Partial Differential Equations. Applied Mathematics and Computation, 167, 153-166. http://dx.doi.org/10.1016/j.amc.2004.06.095
- Caglar, N. and Caglar, H. (2006) B-Spline Solution of Singular Boundary Value Problems. Applied Mathematics and Computation, 182, 1509-1513. http://dx.doi.org/10.1016/j.amc.2006.05.035
- Caglar, H., Ozer, M. and Caglar, N. (2008) The Numerical Solution of the One-Dimensional Heat Equation by Using Third Degree B-Spline Functions. Chaos, Solitons & Fractals, 38, 1197-1201. http://dx.doi.org/10.1016/j.chaos.2007.01.056
- Fazal-i-Haq, Siraj-ul-Islam and Tirmizi, I.A. (2010) A Numerical Technique for Solution of the MRLW Equation Using Quartic B-Splines. Applied Mathematical Modelling, 34, 4151-4160. http://dx.doi.org/10.1016/j.apm.2010.04.012
- Lakestani, M. and Dehghan, M. (2012) Numerical Solutions of the Generalized Kuramoto-Sivashinsky Equation Using B-Spline Functions. Applied Mathematical Modelling, 36, 605-617. http://dx.doi.org/10.1016/j.apm.2011.07.028
- Mittal, R.C. and Jain, R.K. (2011) B-Splines Methods with Redefined Basis Functions for Solving Fourth Order Parabolic Partial Differential Equations. Applied Mathematics and Computation, 217, 9741-9755. http://dx.doi.org/10.1016/j.amc.2011.04.061
- Chandrasekhar, S. (1967) Introduction to the Study of Stellar Structure. Dover, New York.
- Davis, H.T. (1962) Introduction to Nonlinear Differential and Integral Equations. Dover, New York.
- Richardson, O.U. (1921) The Emission of Electricity from Hot Bodies. Logmans Green, London.
- Shawagfeh, N.T. (1993) Nonperturbative Approximate Solution for Lane-Emden Equation. Journal of Mathematical Physics, 34, 4364-4369. http://dx.doi.org/10.1063/1.530005
- Wazwaz, A. (2005) Analytical Solution for the Time-Dependent Emden-Fowler Type of Equations by Adomian Decomposition Method. Applied Mathematics and Computation, 166, 638-665. http://dx.doi.org/10.1016/j.amc.2004.06.058
- Wazwaz, A.M. (2005) Adomian Decomposition Method for a Reliable Treatment of the Emden-Fowler Equation. Applied Mathematics and Computation, 161, 543-560. http://dx.doi.org/10.1016/j.amc.2003.12.048
- Wazwaz, A. (2001) A New Algorithm for Solving Differential Equations of Lane?—Emden Type. Applied Mathematics and Computation, 118, 287-310. http://dx.doi.org/10.1016/S0096-3003(99)00223-4
- Chowdhury, M.S.H. and Hashim, I. (2007) Solutions of Time-Dependent Emden? Fowler Type Equations by Homotopy-Perturbation Method. Physics Letters A, 368, 305-313. http://dx.doi.org/10.1016/j.physleta.2007.04.020
- Wazwaz, A. (2011) The Variational Iteration Method for Solving Nonlinear Singular Boundary Value Problems Arising in Various Physical Models. Communications in Nonlinear Science and Numerical Simulation, 16, 3881-3886. http://dx.doi.org/10.1016/j.cnsns.2011.02.026
- de Boor, C. (1978) A Practical Guide to Splines. Springer Verlag, New York. http://dx.doi.org/10.1007/978-1-4612-6333-3
- Matinfar, M. and Mahdavi, M. (2012) Approximate Analytical Solutions for the Time-Dependent Emden-Fowler-Type Equations by Variational Homotopy Perturbation Method. WJMS, 8, 58-65.