Research Article | Open Access
Muhammed Syam, Mohammed Al-Refai, "Solving Fractional Diffusion Equation via the Collocation Method Based on Fractional Legendre Functions", Journal of Computational Methods in Physics, vol. 2014, Article ID 381074, 10 pages, 2014. https://doi.org/10.1155/2014/381074
Solving Fractional Diffusion Equation via the Collocation Method Based on Fractional Legendre Functions
A formulation of the fractional Legendre functions is constructed to solve the generalized time-fractional diffusion equation. The fractional derivative is described in the Caputo sense. The method is based on the collection Legendre and path following methods. Analysis for the presented method is given and numerical results are presented.
We consider the generalized time-fractional diffusion equation of the form with initial and boundary conditions where , , , , , , and . For , the fractional diffusion equation is reduced to a conventional diffusion-reaction equation which is well studied, so we focus on . Some existence and uniqueness results of Problem (1)-(2) were established in . In recent years, great interests were devoted to the analytical and numerical treatments of fractional differential equations (FDEs). Usually, FDEs appear as generalizations to existing models with integer derivative and they also present new models for some physical problems [2, 3]. In general, FDEs do not possess exact solutions in closed forms, and, therefore, numerical methods such as the variational iteration (VIM) [4, 5], the homotopy analysis method (HAM) [6, 7], and the Adomian decomposition method (ADM) [8, 9] have been implemented for several types of FDEs. Also, the maximum principle and the method of lower and upper solutions have been extended to deal with FDEs and obtain analytical and numerical results [10, 11]. The Tau method, the pseudospectral method, and the wavelet method based on the Legendre polynomials have been implemented for several types of FDEs [12–14]. Kazem et al.  have constructed the Legendre functions of fractional order and discussed some of their properties. The resulting Legendre function operational and product matrices, together with the Tau method, have been implemented to solve linear and nonlinear fractional differential equations. The effectiveness of the approach has been examined through several examples. In , a fractional diffusion equation is considered, where the fractional derivative of order refers to the spatial variable . The Legendre pseudospectral method is implemented to solve the problem, where the solution is expanded with regular Legendre polynomials. As a result, a system of linear equation has been obtained and integrated using the finite difference method. However, in solving fractional differential equations of order using series expansions, it is common and more efficient to expand the solution with fractional functions of the form . Rawashdeh  has implemented the Legendre wavelets method for integrodifferential equations with fractional order.
The Legendre collocation method has been implemented for wide classes of differential equations and the effectiveness of the method is illustrated . In the recent work, we intend to apply the collocation method based on the shifted fractional Legendre functions to integrate the Problem (1)-(2). To the best of our knowledge, the method has not been developed to integrate fractional diffusion equations of the form (1)-(2). We organize this paper as follows. In Section 2, we present basic definitions and results of fractional derivative. In Section 3, we present the numerical technique for solving Problem (1)-(2). In Section 4, we present some numerical results to illustrate the efficiency of the presented method. Finally we conclude with some comments in Section 5.
In this section, we present the definition and some preliminary results of the Caputo fractional derivative, as well as the definition of the fractional-order Legendre functions and their properties.
Definition 1. A real function , , is said to be in the space , , if there exists a real number , such that , where , and it is said to be in the space if , .
Definition 2. The left Riemann-Liouville fractional integral of order , of a function , , is defined by
Definition 3. For , , , , and , the left Caputo fractional derivative is defined by where is the well-known Gamma function.
The Caputo derivative defined in (4) is related to the Riemann-Liouville fractional integral, , of order , by . The Caputo fractional derivative satisfies the following properties for , , and (see ):(1), (2), (3), where is constant,(4), (5), where are constants.
The basic concept of this paper is the Legendre polynomials. For this reason, we study some of their properties.
Definition 4. The Legendre polynomials are the eigenfunctions of the Sturm-Liouville problem:
Among the properties of the Legendre polynomials we list the following :(1), where ,(2), for ,(3).
In order to use these polynomials on the interval , we define the shifted Legendre polynomials by . Using the change of variable , has the following properties:(1), (2), for ,(3) and .
The analytic closed form of the shifted Legendre polynomials of degree is given by
One of the common and efficient methods for solving fractional differential equations of order is using series expansion of the form . For this reason, we define the fractional-order Legendre function by . Using the properties of the shifted Legendre polynomials, it is easy to verify that (1), ,(2), for ,(3) and ,(4) and .
In addition, are orthogonal functions with respect to the weight function on with
The closed form of is given by
Using properties (4) and (5) of the Caputo fractional derivative, we have
The following result is important, since it facilitates applying the collection method.
Theorem 5. Let and let be a piecewise continuous function on . Then,(i) can be represented by infinite series expansion as , where (ii) converges uniformly on to , where and , for and .
Proof. (i) Since and is a piecewise continuous function on , converges uniformly to on , where can be computed by the orthogonality relation of the Legendre polynomials; see . Since , defined by , is a bijection continuous function, the infinite series converges uniformly to on , where the value of follows from the orthogonality relation of with respect to the weight function on , which completes the proof.
(ii) Let for . From Part (i), converges uniformly to on . Since and is a piecewise continuous function on , and converges uniformly to on . Thus, converges uniformly to on which gives the result of the second part. The value of follows from the orthogonality relation of with respect to the weight function on .
3. Collocation Method
In this section, we use the fractional-order Legendre collocation method to discretize Problem (1)-(2). For simplicity, we assume that and . If , we use the change of variable to make the -domain (0,1). Expand the solution in terms of the fractional-order Legendre function as follows: Thus, where for . Therefore, for , the residual is given by
Orthogonalize the residual with respect to the Dirac delta function as follows: where are the collocation points. We choose the collocation points to be the roots of . Therefore, (15) leads to the elementwise equation: or Let
Using the orthogonality property of the Legendre polynomials, we get
Therefore, our initial fractional value problem becomes where
To solve the System (28)-(29), we use the fractional-order Legendre collocation method. Approximate the solution in terms of the fractional-order Legendre function as follows: Thus, where , and , for and . Therefore, for , the residual is given by
Orthogonalize the residual with respect to the Dirac delta function as follows: where are the collocation points. We choose the collocation points to be where are the roots of . Therefore, (34) leads to the elementwise equation: or Let
Thus, we can rewrite (37) in the matrix form as where
Since , it is easy to see that , whereand for and . Therefore, System (19) becomes
Now, we study the initial condition on the variable . From (29), one can see that which implies that where . From Systems (21) and (23), we obtain the following linear system: where Finally, we use Mathematica to solve the above linear system.
4. Numerical Results
In this section, we implement the proposed numerical technique for four examples.
Example 1. Consider the fractional diffusion equation: where is the Mittag-Leffler function. Since for , it is easy to see that the exact solution is The exact solution for is The approximate solutions generated by the proposed method are presented in Figure 1, for different values of and . Figure 2 depicts the exact solution (red) and the approximate solution (green) for , and . Define the error where is the approximate solution generated by the proposed method for . Table 1 presents the error for different values of .
Example 2. Consider the fractional diffusion equation:
where is the exact solution. The approximate solutions generated by the proposed method are presented in Figure 3 for different values of and . Figure 4 depicts the exact solution (red) and the approximate solution (green) for and .
Table 2 presents the error for different values of .
Example 3. Consider the fractional diffusion equation presented in : The exact solution is To apply the proposed method, we shall do the following change of variable . In this case, the -domain becomes . The approximate solutions generated by the proposed method and the exact solution are presented in Figure 5 for and at and . Table 3 presents a comparison between the error in our results and the ones obtained by the finite difference method (FDM)  for and .
Example 4. Consider the fractional diffusion equation presented in : The exact solution is To apply the proposed method, we will do the following change of variable . In this case, the -domain becomes . To make a comparison with the results of , assume that , , and are the errors in  using uniform mesh, quasiuniform mesh, and nonuniform mesh for . Let be the error in the proposed method for and . Results are presented in Table 4.
In this paper, we use series expansion based on the shifted fractional Legendre functions to solve fractional diffusions equations of Caputo’s type. We write the coefficients of the fractional derivative in terms of the shifted fractional Legendre functions as indicated in Theorem 5 and give explicit relationship between them. Then, we use the collocation method to compute these coefficients. To the best of our knowledge, the method has not been developed to integrate fractional diffusion equations of the form (1)-(2). We test the proposed technique for several examples and present four of them in this paper. These examples show the efficiency and the accuracy of the proposed method, where in few terms we achieved accuracy up to . In Examples 3 and 4, we compare our results with the ones obtained by FDM in [17, 18]. Both examples show that the proposed method works more efficiently and accurately than the methods in [17, 18].
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
The authors would like to express their sincere appreciation to United Arab Emirates University for the financial support of Grant no. 21S074.
- Y. Luchko, “Some uniqueness and existence results for the initial-boundary-value problems for the generalized time-fractional diffusion equation,” Computers & Mathematics with Applications, vol. 59, no. 5, pp. 1766–1772, 2010.
- J. He, “Some applications of nonlinear fractional differential equations and their approximations,” Bulletin of Science Technology & Society, vol. 15, pp. 86–90, 1999.
- K. Moaddy, S. Momani, and I. Hashim, “The non-standard finite difference scheme for linear fractional PDEs in fluid mechanics,” Computers & Mathematics with Applications, vol. 61, no. 4, pp. 1209–1216, 2011.
- M. Inc, “The approximate and exact solutions of the space- and time-fractional Burgers equations with initial conditions by variational iteration method,” Journal of Mathematical Analysis and Applications, vol. 345, no. 1, pp. 476–484, 2008.
- K. Al-Khaled and S. Momani, “An approximate solution for a fractional diffusion-wave equation using the decomposition method,” Applied Mathematics and Computation, vol. 165, no. 2, pp. 473–483, 2005.
- 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.
- L. Song and H. Zhang, “Application of homotopy analysis method to fractional KdV-Burgers-KURamoto equation,” Physics Letters A, vol. 367, no. 1-2, pp. 88–94, 2007.
- H. Jafari and V. Daftardar-Gejji, “Solving linear and nonlinear fractional diffusion and wave equations by Adomian decomposition,” Applied Mathematics and Computation, vol. 180, no. 2, pp. 488–497, 2006.
- C. Yang and J. Hou, “An approximate solution of nonlinear fractional differential equation by Laplace transform and Adomian polynomials,” Journal of Information and Computational Science, vol. 10, no. 1, pp. 213–222, 2013.
- M. Al-Refai and M. Ali Hajji, “Monotone iterative sequences for nonlinear boundary value problems of fractional order,” Nonlinear Analysis A: Theory, Methods and Applications, vol. 74, no. 11, pp. 3531–3539, 2011.
- M. Syam and M. Al-Refai, “Positive solutions and monotone iterative sequences for a class of higher order boundary value problems,” Journal of Fractional Calculus and Applications, vol. 4, no. 14, pp. 1–13, 2013.
- S. Kazem, S. Abbasbandy, and S. Kumar, “Fractional-order Legendre functions for solving fractional-order differential equations,” Applied Mathematical Modelling: Simulation and Computation for Engineering and Environmental Systems, vol. 37, no. 7, pp. 5498–5510, 2013.
- N. H. Sweilam, M. M. Khader, and A. M. S. Mahdy, “An efficient numerical method for solving the fractional diffusion equation,” Journal of Applied Mathematics and Bioinformatics, vol. 12, no. 1, pp. 1–12, 2011.
- E. A. Rawashdeh, “Legendre wavelets method for fractional integro-differential equations,” Applied Mathematical Sciences, vol. 5, no. 49–52, pp. 2467–2474, 2011.
- Q. M. Al-Mdallal, M. I. Syam, and M. N. Anwar, “A collocation-shooting method for solving fractional boundary value problems,” Communications in Nonlinear Science and Numerical Simulation, vol. 15, no. 12, pp. 3814–3822, 2010.
- I. Podlubny, Fractional Differential Equations, Academic Press, New York, NY, USA, 1999.
- Y. Zhang and H. Ding, “Finite difference method for solving the time fractional diffusion equation,” Communications in Computer and Information Science, vol. 325, no. 3, pp. 115–123, 2012.
- Y. Zhang, Z. Sun, and H. Liao, “Finite difference methods for the time fractional diffusion equation on non-uniform meshes,” Journal of Computational Physics, vol. 265, pp. 195–210, 2014.
- M. I. Syam and S. M. Al-Sharo, “Collocation-continuation technique for solving nonlinear ordinary boundary value problems,” Computers & Mathematics with Applications, vol. 37, no. 10, pp. 11–17, 1999.
- M. I. Syam, H. Siyyam, and I. Al-Subaihi, “Tau-Path following method for solving the Riccati equation with fractional order,” Journal of Computational Methods in Physics, vol. 2014, Article ID 207916, 6 pages, 2014.
Copyright © 2014 Muhammed Syam and Mohammed Al-Refai. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.