`Abstract and Applied AnalysisVolume 2012 (2012), Article ID 426514, 9 pageshttp://dx.doi.org/10.1155/2012/426514`
Research Article

## Solving Linear and Nonlinear Fractional Differential Equations Using Spline Functions

1Department of Mathematics and Statistics, Mutah University, P.O. Box 7, Al-Karak, Jordan
2Department of Mathematics and Statistics, University of Jordan, Amman 11942, Jordan
3Department of Mathematics, Faculty of Science, Minoufiya University, Shebeen El Koom, Minoufiya, Egypt

Received 29 November 2011; Revised 23 December 2011; Accepted 26 December 2011

#### Abstract

Suitable spline functions of polynomial form are derived and used to solve linear and nonlinear fractional differential equations. The proposed method is applicable for and , where denotes the order of the fractional derivative in the Caputo sense. The results obtained are in good agreement with the exact analytical solutions and the numerical results presented elsewhere. Results also show that the technique introduced here is robust and easy to apply.

#### 1. Introduction

Mathematical modelling of complex processes is a major challenge for contemporary scientists. In contrast to simple classical systems, where the theory of integer-order differential equations is sufficient to describe their dynamics, fractional derivatives provide an excellent instrument for the description of memory and hereditary properties of various complex materials and systems. Therefore, the number of scientific and engineering problems involving fractional derivatives is already very large and still growing and perhaps the fractional calculus (i.e., derivatives and integrals of any real or complex order) will be the calculus of the twenty-first century [16].

The analytic results on the existence and uniqueness of solutions to the fractional differential equations have been investigated by many authors (see, e.g., [7, 8]). During the last decades, several numerical and analytical methods have been proposed in the literature to solve fractional differential equations. The most commonly used ones are fractional difference method [9, 10], Adomian decomposition method [11], variational iteration method [12, 13], and Adams-Bashforth-Moulton method [1416]. Recently, Lagrange multiplier method and the homotopy perturbation method are used to numerically solve multiorder fractional differential equations, see [17].

In view of successful application of spline functions of polynomial form in system analysis [18], delay differential equations [19], and delay differential equations of fractional order [20], we hold that it should be applicable to solve linear and nonlinear fractional-order systems.

In the present paper, we intend to extend the application of the spline functions of polynomial form to solve the fractional differential equations: where denotes the order of the fractional derivative in the Caputo sense.

#### 2. The Spline Function Method of Polynomial Form

Recently, many studies were devoted to the problems of approximate solutions of system ordinary as well as delay differential equations by spline functions [1821]. Micula et al. [18] considered the following system: where . They assumed that the functions , and satisfy the Lipschitz condition of the form with constant for all . In their paper, they presented investigations to the extension of the spline functions form for approximating the solution of the system of initial value problems (2.1), with unique solutions and .

The spline functions and to approximate and , respectively, are defined in polynomial form as for .

Ramadan introduced in [19] the solution of the first-order delay differential equation of the form: using the spline functions of the polynomial form, defined as where , with .

Ramadan in [21] considered the system of the initial value problem where . The method in their work is based on polynomial splines, to approximate the solutions of the system.

Ramadan et al. [20] presented an extension and generalization of the polynomial spline functions used in the case of [19], to approximate the solution of the first delay differential equation and to investigate the solution of the fractional ordinary differential equation given by

The formulation of the method presented in [20] is based on the fractional generalization of Taylor’s theorem [22], which is presented in the following theorem

Theorem 2.1. Let , and . Then for all , where is the remainder.

Error estimation and convergence analysis of the proposed method was presented by Ramadan et al. [20]. In their work, they used and applied the method to solve two linear cases.

The present paper is a sequel to this work [20], and we extend the application of spline functions method of polynomial form to a more general case incorporating nonlinearities as well. And we show that this analysis is also applicable in the case , namely, Let be a uniform partition to the interval , defined by the nodes , where , and .

Define the form of fractional spline function of polynomial form approximating the exact solution by where , with , for .

Definition 2.2. Let . The operator , defined on by for , is called the Riemann-Lioville fractional integral operator of order .
For , we set , the identity operator.

Definition 2.3. The Caputo fractional derivative of , of order with , is defined as for .

The Riemann-Liouville fractional operators may be extended to hold for large values of , so we denote , where is the integer part of , and , thus we give the following definition.

Definition 2.4. If and , then we define thus for any , where . If, on the other hand, , then the definition becomes

#### 3. Numerical Examples

To demonstrate the effectiveness of this scheme, we consider two kinds of systems: one is linear and the other is nonlinear. These examples are considered because closed form solutions are available for them, or they have also been solved using other numerical schemes. This allows one to compare the results obtained using this scheme with the analytical solution or the solutions obtained using other schemes.

Example 3.1. Consider the fractional differential equation with initial condition .

The exact solution is The numerical results obtained, for different values of , and for , are shown in Table 1 and Table 2, together with absolute errors, to illustrate the accuracy of the spline method of polynomial form. Figure 1(a) for , Figure 1(b) for , Figure 1(c) for , and Figure 1(d) for show the approximate solutions compared to the exact solution, to better illustrate the accuracy of the method.

Table 1: Solution of Example 3.1 using and .
Table 2: Solution of Example 3.1 using , and .
Figure 1: Approximate solutions for Example 3.1.

Example 3.2. Consider the following fractional Riccati equation: subject to the initial condition .

The exact solution, when , is The numerical results obtained, for different values of , and for , are shown in Table 3; the approximate solution for is compared to the exact solution, to illustrate the accuracy of the spline method of polynomial form.

Table 3: Solution of Example 3.2 using , , and .

Example 3.3. Consider the following nonlinear fractional ordinary differential equation: subject to the initial condition , where is a real constant.

This equation describes the cooling of a semi-infinite body by radiation, and the initial value problem has been solved numerically using the fractional difference method and Adomian decomposition method in [23].

The exact solution, when , and , is

In this paper, we use the spline function method of polynomial form, to solve the fractional differential equation (3.5), together with and . Table 4 shows the approximate solutions for (3.5) obtained for different values of using the spline method of polynomial form. From the numerical results in Table 4, it is clear that the approximate solutions are in high agreement with the exact solutions, when , and with those obtained in [23] using the fractional difference method and Adomian decomposition method.

Table 4: Solution of Example 3.3 using , , and .

#### 4. Conclusions

In this paper, we investigated the possibility of extending and generalizing the spline functions of polynomial fractional form given in Ramadan et al. [20] to be applicable for as well as the case . The method is tested by considering three test problems for three fractional ordinary differential equations. Two examples are of fractional order , (Example 3.1 and 3), while Example 3.2 is of fractional order where . The obtained numerical results are in good agreement with the exact analytical solutions.

#### References

1. J. S. Leszczynski, An Itorduction to Fractional Mechanics, Czestochowa University of Technology, Częstochowa, Poland, 2011.
2. K. S. Miller and B. Ross, An Introduction to the Fractional Calculus and Fractional Differential Equations, John Wiley & Sons Inc., New York, NY, USA, 1993.
3. A. Oustaloup, La Derivation Non Entiere, Hermes, Paris, France, 1995.
4. J. A. T. Machado, “Analysis and design of fractional-order digital control systems,” Systems Analysis Modelling Simulation, vol. 27, no. 2-3, pp. 107–122, 1997.
5. A. A. Kilbas, H. M. Srivastava, and J. J. Trujillo, Theory and Applications of Fractional Differential Equations, vol. 204, Elsevier Science B.V., Amsterdam, The Netherlands, 2006.
6. J. T. Machado, V. Kiryakova, and F. Mainardi, “Recent history of fractional calculus,” Communications in Nonlinear Science and Numerical Simulation, vol. 16, no. 3, pp. 1140–1153, 2011.
7. K. Deithelm, N. J. Ford, et al., “Analysis of fractional differential equation,” Numerical Analysis Report 377, The University of Manchester, 2003.
8. R. W. Ibrahim and S. Momani, “On the existence and uniqueness of solutions of a class of fractional differential equations,” Journal of Mathematical Analysis and Applications, vol. 334, no. 1, pp. 1–10, 2007.
9. I. Podlubny, Fractional Differential Equations, vol. 198, Academic Press Inc., San Diego, Calif, USA, 1999.
10. K. B. Oldham and J. Spanier, The Fractional Calculus, Academic Press, New York. NY, USA, 1974.
11. S. Momani, “Analytical approximate solution for fractional heat-like and wave-like equations with variable coefficients using the decomposition method,” Applied Mathematics and Computation, vol. 165, no. 2, pp. 459–472, 2005.
12. S. Momani, Z. Odibat, and A. Alawneh, “Variational iteration method for solving the space- and time-fractional KdV equation,” Numerical Methods for Partial Differential Equations, vol. 24, no. 1, pp. 262–271, 2008.
13. Z. Odibat and S. Momani, “The variational iteration method: an efficient scheme for handling fractional partial differential equations in fluid mechanics,” Computers & Mathematics with Applications. An International Journal, vol. 58, no. 11-12, pp. 2199–2208, 2009.
14. K. Deithelm and A. D. Freed, “The FracPECE subroutine for the numerical solution of differential equations of fractions order,” in Forschung und Wiessenschaftliches Rechnen 1998, S. Heinzel and T. Plesser, Eds., no. 52, pp. 57–71, GWDG-Bericht, Gesellschaftfur Wiessenschaftliches Datenverabeitung, Göttingen, Germany, 1999.
15. K. Deithelm and A. D. Freed, “On the of solution of nonlinear differential equations used in the modeling of viscoplasticity,” in Scientific Computing in chemical Engineering—II. Computational Fluid Dynamics Reaction Engineering, and Molecular Properties, F. Keil, W. Mackens, H. Vob, and J. Werther, Eds., pp. 217–224, Springer, Heidelberg, Gemany, 1999.
16. K. Diethelm, “An algorithm for the numerical solution of differential equations of fractional order,” Electronic Transactions on Numerical Analysis, vol. 5, pp. 1–6, 1997.
17. N. H. Sweilam, M. M. Khader, and R. F. Al-Bar, “Numerical studies for a multi-order fractional differential equation,” Physics Letters A, vol. 371, no. 1-2, pp. 26–33, 2007.
18. G. Micula, T. Fawzy, and Z. Ramadan, “A polynomial spline approximation method for solving system of ordinary differential equations,” Babes-Bolyai Cluj-Napoca. Mathematica, vol. 32, no. 4, pp. 55–60, 1987.
19. M. A. Ramadan, “Spline solutions of first order delay differential equations,” Journal of the Egyptian Mathematical Society, vol. 13, no. 1, pp. 7–18, 2005.
20. M. A. Ramadan, T. S. El-Danaf, and M. N. Sherif, “Numerical solution of fractional differential eqautions using polynomial spline functions,” submitted.
21. Z. Ramadan, “On the numerical solution of a system of third order ordinary differential equations by spline functions,” Annales Universitatis Scientiarum Budapestinensis de Rolando Eötvös Nominatae, vol. 19, pp. 155–167, 2000.
22. J. Munkhammar, “Riemann-Liouville fractional derivatives and the Taylor-Riemann series,” U.U.D.M. Project Report 7, Department of Mathematics, Uppsala University, 2004.
23. S. Momani, O. K. Jaradat, and R. Ibrahim, “Numerical approximations of a dynamic system containing fractional derivatives,” Journal of Applied Sciences, vol. 8, no. 6, pp. 1079–1084, 2008.