Abstract and Applied Analysis

Volume 2013, Article ID 139530, 6 pages

http://dx.doi.org/10.1155/2013/139530

## A Spectral Deferred Correction Method for Fractional Differential Equations

^{1}College of Mathematics, Qingdao University, Qingdao 266071, China^{2}National Laboratory for Scientific Computing, MCTI, Avenida Getulio Vargas 333, 25651-075 Petropolis, RJ, Brazil

Received 31 May 2013; Revised 7 August 2013; Accepted 19 September 2013

Academic Editor: Dumitru Baleanu

Copyright © 2013 Jia Xin et al. 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.

#### Abstract

A spectral deferred correction method is presented for the initial value problems of fractional differential equations (FDEs) with Caputo derivative. This method is constructed based on the residual function and the error equation deduced from Volterra integral equations equivalent to the FDEs. The proposed method allows that one can use a relatively few nodes to obtain the high accuracy numerical solutions of FDEs without the penalty of a huge computational cost due to the nonlocality of Caputo derivative. Finally, preliminary numerical experiments are given to verify the efficiency and accuracy of this method.

#### 1. Introduction

Fractional calculus, almost as old as the familiar integer-order calculus, has recently gained considerable popularity and importance due to its attractive applications in widespread fields of science and engineering (e.g., [1–6]), such as control theory [5], viscoelasticity [7], image processing [8], electromagnetism [9], anomalous diffusion [10, 11], and hydrology [12, 13]. The overwhelming advantage is that fractional calculus provides an excellent instrument for the description of memory and hereditary properties of various materials and processes. These applications greatly highlight distinct superiorities and unsubstitutability of fractional calculus.

Similar to the integer-order differential equations, it is usually difficult to obtain the analytical solution for fractional differential equations (FDEs) (e.g., [14, 15]), and one has to resort to numerical methods. Thus, there has been a growing interest to develop numerical approaches in solving FDEs, and many and varied methods have been considered, for example [15–24]. In 2000, Podlubny [16] suggested a matrix form representation of discrete analogues of various forms of fractional differentiation and fractional integration. Based on the so-called triangular strip matrices, an approach was presented to significant simplification of the numerical solution of fractional integral and differential equations. Diethelm et al. [17, 18] discussed an Adams-type predictor-corrector method for the numerical solution of FDEs and gave a detailed error analysis for this algorithm, including error bounds under various types of assumptions on the equation and asymptotic expansions for the error. This Adams-type method is convergent with order at least one if the analytical solution is twice continuously differentiable. In 2007, Lin and Liu [19] developed a kind of linear multistep methods for fractional initial value problems based on Lubich’s high-order approximations [20] to fractional derivatives and integrals. And they proved the consistence, convergence, and stability of these methods. In 2006, Kumar and Agrawal [21] utilized the equivalent Volterra integral equation and extended a block-by-block method to some kinds of FDEs. Numerical examples have shown the efficiency and stability of this scheme. However, it is a pity that the error estimate and convergence order analysis of this scheme was neglected. Thus Huang et al. [22] derived error estimate and precise convergence order of the block-by-block method under certain assumptions and tested the order via numerical experiments. It is shown that this block-by-block method is convergent with order at least 3 for any fractional order index . Li [23] derived a Chebyshev wavelet operational matrix of the fractional integration and used it to solve a nonlinear FDEs. In 2011, Scherer et al. [24] discussed finite difference schemes for the approximation of FDEs based on the Grünwald-Letnikov definition of fractional derivatives. Then, the asymptotic stability, the absolute stability, error representations, and estimates of the proposed explicit and implicit methods were obtained.

As for fractional partial differential equations (FPDEs), maybe the most famous model is the fractional diffusion equation used to describe the anomalous diffusion in porous medium. Further applications and numerical methods for fractional diffusion equation were discussed (e.g., [25–29] and references therein).

It is well known that the key difficulty in numerically solving FDEs or FPDEs is to discretize the nonlocal fractional operators, due to the requirement of using the values of the numerical solution for all the previous times at which the solution is calculated. This makes numerical methods slow and hugely memory demanding when the number of nodes is large. The problem is so acute that a great deal of effort has been devoted to overcoming it. In [30], Yuste and Quintana-Murillo presented an implicit finite difference method with nonuniform timesteps for discretizing Caputo derivative. This method allows one to build adaptive methods where the size of the timesteps is adjusted to the behavior of the solution. In this paper, a spectral deferred correction method for classical ordinary differential equations [31, 32] is extended and reconstructed to solve FDEs based on accelerating the convergence of lower-order schemes. For the new method, a relatively few Gauss-Legendre-Lobatto points are needed, and the high accuracy numerical solutions of FDEs can be easily obtained without a huge computational cost.

This paper is organized as follows. In Section 2, the equivalent Volterra integral equation is given; then a residual function and an error equation are defined. In Section 3, based on Gauss-Legendre-Lobatto points, a spectral approximation of the residual function is obtained. In Section 4, a fractional Adams method is used as a preconditioner to solve the error equation; then we describe the new spectral deferred correction method for FDEs. In Section 5, preliminary numerical experiments are given to verify the efficiency and accuracy of the proposed method.

#### 2. Residual Function and Error Equation

In this paper, we discuss the numerical solution of the following FDE initial value problem (IVP): where is fractional Caputo derivative of order and defined as Assume that the right-hand side function is continuous with respect to two variables and . Then, according to Lemma 1 of [33], IVP (1) is equivalent to the following Volterra integral equation of the second kind: Obviously, if , the kernel in the integral of (3) is singular, and if , then (3) becomes the classical Picard integral equation formulation.

Suppose now that an approximate solution to (3) has been obtained by a low-order method. A measure of the quality of the approximation is given by the residual function And the error can be defined by However, in (5), is the exact solution of IVP (1), and we often cannot know it beforehand. Next, a relation between the residual function and the error will be deduced.

Substituting (5) into (3), (3) can be rewritten as then after some algebraic manipulation, it becomes

In (7), once the residual function is fixed, then a low-order method, such as fractional Adams method presented in [18], will be used to solve (7). In the following, we specify how the values are actually computed. For this, some stable and high-order accurate methods for interpolation and integration are required.

#### 3. Spectral Approximation of the Residual Function

In this section, a spectral method is designed for obtaining high-order numerical approximation of the residual function.

Suppose that are the Gauss-Legendre-Lobatto nodes on , where and . Noticing that the interval of IVP (1) is , we can obtain Gauss nodes on through the following linear transformation:

Now, a low-order method is used to solve IVP (1) and get the initial approximation . Here, we take the following fractional explicit Euler method; namely, for , where is the approximations of solution function at nodes (), the weight coefficients are computed by

After obtaining the numerical solutions , using the nodes as the nodes of Lagrange interpolation for the initial approximation and the right-hand side function , we have where is the Lagrange interpolation polynomial of order , given as

In specific computations, the fractional Riemann-Liouville integral of Lagrange interpolation polynomial is needed. To this end, should be transformed into following expressions: where the coefficients can be computed by its matrix form, namely, here is the identity matrix of order .

By (11), the fractional integral of is calculated as

Substituting (11) and (12) into (4) and using (16), the residual function (4) is approximated as follows:

#### 4. Spectral Deferred Correction Method

Once the residual function is computed by (17), the error equation (7) can be numerically solved by the fractional Adams method [18]; that is, for where is the so-called predictor, and are defined as with

Let the initial approximation vector , the error vector ; then the initial approximation solution is updated with

Based on the new solution , we can continue to compute the new residual function and the new error. And this procedure can be repeated until the high-accuracy solution is obtained. The pseudocode for spectral deferred correction method is given by the following.

*Step 1 (initialization). *Set a small parameter . Use fractional explicit Euler method (9) to compute an initial solution at nodes on the interval .

*Step 2. *Based on the initial approximation , compute the approximate residual function () by using (17).

*Step 3. *Use fractional Adams method (18) to solve the error equation and obtain the approximation ().

*Step 4. *Update the approximate solution (). If , then stop, and the approximation is the solution we get finally. If , let , and go to Step 2.

It can be checked that each correction procedure in this algorithm can improve the accuracy of the method, as long as such improvement has not gone beyond the degree of the underlying interpolating polynomial and the quadrature rules.

#### 5. Numerical Examples

In this section, we verify the performance and high accuracy of the proposed method by following two examples. In these computations, the small parameter . All codes are written in Matlab 2010b and run on a personal computer with Intel(R) Core(TM)2 Duo CPU P7350 processor 2.00 GHz, 2 GB memory.

*Example 1. *Consider the following FDEs:
with initial condition . The exact solution of this problem is given as

In Table 1, we list the number of iterations denoted by “Iter.,” the CPU time in second “Time[s]” and the errors in the maximum norm for different nodes and fractional order index . It demonstrates that when the new spectral deferred correction method is used to solve Example 1, only a relatively few nodes are used, and the high-order accuracy numerical solution is obtained with small computation complexity and computing time. To illustrate this point, we use fractional block-by-block method [21] for comparison. To achieve the accuracy of 10^{−9}, fractional block-by-block method needs about 320 nodes and 20.031599 seconds. Figure 1 shows that the error fast converge to machine precision, and it almost shows an exponential decay with increasing .

*Example 2. *Let one consider the following equations:
subject to the initial condition . The exact solution is

For numerical experiments of Example 2, compared with the Example 1, the similar numerical results can be obtained. However, from Table 2 and Figure 2, one should notice that the error is larger than that of Example 1’s, and its convergence speed is also relatively slow. We think the reason is that the exact solution in Example 1 is smoother than the solution in Example 2, because it is well known that the results of any numerical method often depend on the smoothness of a given problem.

#### 6. Conclusion

In this paper, a spectral deferred correction method is presented for fractional differential equations with initial value condition. Numerical experiments show it can obtain the high-order accuracy numerical solutions of FDEs without a huge computational cost caused by the nonlocality of fractional derivative. However, more efforts are needed to further the study such as detailed theoretical analysis and improve the algorithm for long-time simulation.

#### Acknowledgments

W. Zhao’s work was supported partially by National Natural Science Foundation of China (no. 11072120 and no. 11002075), and J. Zhu’s work was supported partially by Brazilian National Council for Scientific and Technological Development (CNPq).

#### References

- K. B. Oldham and J. Spanier,
*The Fractional Calculus*, Academic Press, New York, NY, USA, 1974. View at MathSciNet - D. Baleanu, K. Diethelm, E. Scalas, and J. J. Trujillo,
*racrional Calculus Models and Numerical Methods*, World Scientific, Singapore, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - K. S. Miller and B. Ross,
*An Introduction to the Fractional Calculus and Fractional Differential Equations*, Wiley, New York, NY, USA, 1993. View at MathSciNet - S. G. Samko, A. A. Kilbas, and O. I. Marichev,
*The Fractional Integrals and Derivatives: Theory and Applications*, Gordon and Breach, Amsterdam, The Netherlands, 1993. View at MathSciNet - I. Podlubny,
*Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications*, Academic Press, San Diego, Calif, USA, 1999. View at MathSciNet - K. Diethelm,
*The Analysis of Fractional Differential Equations*, Springer, Berlin, Germany, 2010. View at Publisher · View at Google Scholar · View at MathSciNet - R. L. Bagley and R. A. Calico, “Fractional order state equations for the control of viscoelastically damped structures,”
*Journal of Guidance, Control, and Dynamics*, vol. 14, no. 2, pp. 304–311, 1991. View at Google Scholar · View at Scopus - J. Bai and X. C. Feng, “Fractional-order anisotropic diffusion for image denoising,”
*IEEE Transactions on Image Processing*, vol. 16, no. 10, pp. 2492–2502, 2007. View at Publisher · View at Google Scholar · View at MathSciNet - V. E. Tarasov, “Fractional vector calculus and fractional Maxwell's equations,”
*Annals of Physics*, vol. 323, no. 11, pp. 2756–2778, 2008. View at Publisher · View at Google Scholar · View at MathSciNet - D. A. Benson, S. W. Wheatcraft, and M. M. Meerschaert, “Application of a fractional advection-dispersion equation,”
*Water Resources Research*, vol. 36, no. 6, pp. 1403–1412, 2000. View at Publisher · View at Google Scholar · View at Scopus - R. Metzler and J. Klafter, “The random walk's guide to anomalous diffusion: a fractional dynamics approach,”
*Physics Reports*, vol. 339, no. 1, pp. 1–77, 2000. View at Publisher · View at Google Scholar · View at MathSciNet - B. Baeumer, M. M. Meerschaert, D. A. Benson, and S. W. Wheatcraft, “Subordinated advection-dispersion equation for contaminant transport,”
*Water Resources Research*, vol. 37, no. 6, pp. 1543–1550, 2001. View at Publisher · View at Google Scholar · View at Scopus - R. Schumer, D. A. Benson, M. M. Meerschaert, and B. Baeumer, “Multiscaling fractional advection-dispersion equations and their solutions,”
*Water Resources Research*, vol. 39, no. 1, pp. 1022–1032, 2003. View at Google Scholar · View at Scopus - S. B. Yuste and L. Acedo, “Some exact results for the trapping of subdiffusive particles in one dimension,”
*Physica A*, vol. 336, no. 3-4, pp. 334–346, 2004. View at Publisher · View at Google Scholar · View at Scopus - A. A. Kilbas, H. M. Srivastava, and J. J. Trujillo,
*Theory and Applications of Fractional Differential Equations*, Elsevier, Amsterdam, The Netherlands, 2006. View at MathSciNet - I. Podlubny, “Matrix approach to discrete fractional calculus,”
*Fractional Calculus & Applied Analysis*, vol. 3, no. 4, pp. 359–386, 2000. View at Google Scholar · View at MathSciNet - K. Diethelm, N. J. Ford, and A. D. Freed, “A predictor-corrector approach for the numerical solution of fractional differential equations,”
*Nonlinear Dynamics*, vol. 29, no. 1–4, pp. 3–22, 2002. View at Publisher · View at Google Scholar · View at MathSciNet - K. Diethelm, N. J. Ford, and A. D. Freed, “Detailed error analysis for a fractional Adams method,”
*Numerical Algorithms*, vol. 36, no. 1, pp. 31–52, 2004. View at Publisher · View at Google Scholar · View at MathSciNet - R. Lin and F. Liu, “Fractional high order methods for the nonlinear fractional ordinary differential equation,”
*Nonlinear Analysis: Theory, Methods & Applications*, vol. 66, no. 4, pp. 856–869, 2007. View at Publisher · View at Google Scholar · View at MathSciNet - Ch. Lubich, “Discretized fractional calculus,”
*SIAM Journal on Mathematical Analysis*, vol. 17, no. 3, pp. 704–719, 1986. View at Publisher · View at Google Scholar · View at MathSciNet - P. Kumar and O. P. Agrawal, “An approximate method for numerical solution of fractional differential equations,”
*Signal Processing*, vol. 86, no. 10, pp. 2602–2610, 2006. View at Publisher · View at Google Scholar · View at Scopus - J. F. Huang, Y. F. Tang, and L. Vázquez, “Convergence analysis of a block-by-block method for fractional differential equations,”
*Numerical Mathematics: Theory, Methods and Applications*, vol. 5, no. 2, pp. 229–241, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - Y. L. Li, “Solving a nonlinear fractional differential equation using Chebyshev wavelets,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 15, no. 9, pp. 2284–2292, 2010. View at Publisher · View at Google Scholar · View at MathSciNet - R. Scherer, S. L. Kalla, Y. F. Tang, and J. F. Huang, “The Grünwald-Letnikov method for fractional differential equations,”
*Computers & Mathematics with Applications*, vol. 62, no. 3, pp. 902–917, 2011. View at Publisher · View at Google Scholar · View at MathSciNet - Y. Ben Nakhi and S. L. Kalla, “Some boundary value problems of temperature fields in oil strata,”
*Applied Mathematics and Computation*, vol. 146, no. 1, pp. 105–119, 2003. View at Publisher · View at Google Scholar · View at MathSciNet - V. J. Ervin, N. Heuer, and J. P. Roop, “Numerical approximation of a time dependent, nonlinear, space-fractional diffusion equation,”
*SIAM Journal on Numerical Analysis*, vol. 45, no. 2, pp. 572–591, 2007. View at Publisher · View at Google Scholar · View at MathSciNet - F. Liu, P. Zhuang, and K. Burrage, “Numerical methods and analysis for a class of fractional advection-dispersion models,”
*Computers & Mathematics with Applications*, vol. 64, no. 10, pp. 2990–3007, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - C. Tadjeran, M. M. Meerschaert, and H. P. Scheffler, “A second-order accurate numerical approximation for the fractional diffusion equation,”
*Journal of Computational Physics*, vol. 213, no. 1, pp. 205–213, 2006. View at Publisher · View at Google Scholar · View at MathSciNet - T. S. Basu and H. Wang, “A fast second-order finite difference method for space-fractional diffusion equations,”
*International Journal of Numerical Analysis and Modeling*, vol. 9, no. 3, pp. 658–666, 2012. View at Google Scholar · View at MathSciNet - S. B. Yuste and J. Quintana-Murillo, “A finite difference method with non-uniform timesteps for fractional diffusion equations,”
*Computer Physics Communications*, vol. 183, no. 12, pp. 2594–2600, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - A. Dutt, L. Greengard, and V. Rokhlin, “Spectral deferred correction methods for ordinary differential equations,”
*BIT Numerical Mathematics*, vol. 40, no. 2, pp. 241–266, 2000. View at Publisher · View at Google Scholar · View at MathSciNet - J. Huang, J. Jia, and M. Minion, “Accelerating the convergence of spectral deferred correction methods,”
*Journal of Computational Physics*, vol. 214, no. 2, pp. 633–656, 2006. View at Publisher · View at Google Scholar · View at MathSciNet - K. Diethelm and N. J. Ford, “Analysis of fractional differential equations,”
*Journal of Mathematical Analysis and Applications*, vol. 265, no. 2, pp. 229–248, 2002. View at Publisher · View at Google Scholar · View at MathSciNet