Abstract

Generalized fractional operators are generalization of the Riemann-Liouville and Caputo fractional derivatives, which include Erdélyi-Kober and Hadamard operators as their special cases. Due to the complicated form of the kernel and weight function in the convolution, it is even harder to design high order numerical methods for differential equations with generalized fractional operators. In this paper, we first derive analytical formulas for order fractional derivative of Jacobi polynomials. Spectral approximation method is proposed for generalized fractional operators through a variable transform technique. Then, operational matrices for generalized fractional operators are derived and spectral collocation methods are proposed for differential and integral equations with different fractional operators. At last, the method is applied to generalized fractional ordinary differential equation and Hadamard-type integral equations, and exponential convergence of the method is confirmed. Further, based on the proposed method, a kind of generalized grey Brownian motion is simulated and properties of the model are analyzed.

1. Introduction

During the last decade, fractional calculus has emerged as a model for a broad range of nonclassical phenomena in the applied sciences and engineering [15]. Along with the expansion of numerous and even unexpected recent applications of the operators of the classical fractional calculus, the generalized fractional calculus is another powerful tool stimulating the development of this field [68]. The notion “generalized operator of fractional integration” appeared first in the papers of the jubilarian professor S. L. Kalla in the years 1969-1979 [9, 10]. A notable reference is the book by professor Kiryakova [11]. Later, generalized fractional operator was used successfully in papers of Mura and Mainardi [12] to model a class of self-similar stochastic processes with stationary increments, which provided models for both slow- and fast-anomalous diffusion. A brief review of generalized fractional calculus is surveyed in [8] and further generalizations of fractional integrals and derivatives are presented by Agrawal in [13]. In the definition of generalized fractional operator, more peculiar kernels are used, which include the classical power kernel function as a special case. Due to the special formulation, all known fractional integrals and derivatives and other generalized integration and differential operators, such as Hadamard operator and the Erdélyi-Kober operator, in various areas of analysis happened to fall in the framework of this generalized fractional calculus. It is shown in [13] that many integral equations can be written and solved in an elegant way using the generalized fractional operator.

Differential and integral equations with generalized fractional operators have been investigated by many authors from theoretical and application aspects [6, 11, 12, 1416]. In [12, 17, 18], analytical form solutions of some of these differential and integral equations are given based on transmutation method, Mittag-Leffler function, Mainardi function, and H Fox functions. However, the analytical form solutions are very complicated with infinity serials or integrations, which makes them not suitable for fast computing, while numerical methods are more practical for these equations in applications. In [19], Xu proposes a finite difference scheme for time-fractional advection-diffusion equations with generalized fractional derivative [19]. Later, a finite difference scheme and an analytical solution are studied for generalized time-fractional diffusion equation by Xu and Argrawal [20, 21]. These schemes are based on finite difference discretization for first order derivative, which converge with order no more than 2.

Numerical methods with high order convergence have also been developed for fractional differential equations, e.g., spectral method [22], discontinuous Galerkin method [23], and wavelet method [24]. However, they have not yet been applied to fractional differential equations with generalized fractional operator. Among these, spectral method has been confirmed to be efficient and of high accuracy for some fractional differential equations. To name a few, in [2527], Liu and his cooperators proposed a spectral approximation method to fractional derivatives and studied spectral methods for time-fractional Fokker-Planck equations, Riesz space fractional nonlinear reaction-diffusion equations. Li and Xu proposed a spectral method for time-space fractional diffusion equation [22]. Doha studied a spectral collocation method for multiterm fractional differential equations [28]. Zayernouri and Karniadakis proposed a spectral method for fractional ODEs based on polyfractonomials [29]. Zhao and Zhang studied the super-convergence property of spectral method for fractional differential equations [30]. Xu, Hesthaven, and Chen proposed multidomain spectral methods for space and time-fractional differential equations separately [23, 31]. Recently, efficient spectral-Galerkin algorithms are developed by Mao and Shen to solve multidimensional fractional elliptic equations with variable coefficients in conserved form as well as nonconserved form [32]. The classical fractional derivative of any power function can be expressed analytically. This indicates that fractional derivative of any function in polynomial spaces can be evaluated exactly. However, the definition of generalized fractional derivative is more complicated than classical fractional derivative. It is far more difficult to construct a direct spectral approximation to the generalized fractional derivative. In this paper, we firstly study fractional derivative of Jacobi polynomials and derive a general formula for fractional derivative of Jacobi polynomial of any order. Through a suitable variable transform technique, spectral approximation formulas are proposed for generalized fractional operators based on Jacobi polynomials. Then, operational matrices are constructed and efficient spectral collocation methods are proposed for the generalized fractional differential and integral equations appearing in the references and applications.

The rest of the current paper is organized as follows: In Section 2, we introduce the definitions of different generalized fractional operators, and some of their properties are also given. In Section 3, a general formula for fractional derivative of Jacobi polynomial of any order is derived. A spectral approximation method for generalized fractional operators is proposed and operational matrices are constructed. In Section 4, collocation methods are proposed for several differential and integral equations. Numerical experiments are carried out to verify the accuracy and efficiency of the methods. Finally, we draw our conclusions in Section 5.

2. Notations and Definitions

We first introduce some definitions and properties of fractional operators.

Definition 1 (fractional integral [33]). The left fractional integral of order of a given function in is defined asThe right fractional integral of order of in is defined asHere denotes the Gamma function.

Based on the fractional integral, Riemann-Liouville and Caputo derivatives can be defined in the following way.

Definition 2 (Riemann-Liouville derivative [33]). The left Riemann-Liouville derivative of order of function in is defined asThe right Riemann-Liouville derivative of order of in is defined aswhere is an integer.

Definition 3 (Caputo derivative [33]). The left Caputo derivative of order of function in is given byThe right Caputo derivative of order function in is given bywhere is an integer.

In investigations of dual integral equations in some applications, the modifications of Riemann-Liouville fractional integrals and derivatives are widely used. The important cases include Hadamard fractional operators and Erdélyi-Kober fractional operators.

Riemann-Liouville fractional integro-differentiation is formally a fractional power of the differentiation operator and is invariant relative to translation if considered on the whole axis. Hadamard suggested a construction of fractional integro-differentiation which is a fractional power of the type . This construction is well suited to the case of the half-axis and invariant relative to dilation [7, §]. Thus Hadamard introduced fractional integrals of the following form.

Definition 4 (Hadamard fractional integral [34]). In 1993, Kilbas studied a weighted Hadamard fractional integral, also called Hadamard-type fractional integral, which extended the application of Hadamard operators.

Definition 5 (Hadamard-type fractional integral [34]). In investigation of Hankel transform, Erdélyi and Kober proposed the Erdélyi-Kober (E-K) operators. They are generalizations of the classical Riemann-Liouville fractional operators. The left-sided E-K fractional integral of order is defined by the following formula.

Definition 6 (Erdélyi-Kober fractional integral [35]). In order to introduce the definition of E-K fractional derivative and its properties, we define a special space of functions that was first introduced in [36].

Definition 7 (see [36]). The function space consists of all functions , that can be represented in the form with and .

The E-K fractional derivative of order is defined in the following form.

Definition 8 (Erdélyi-Kober fractional derivative [11, 37]). where is an integer.

For the functions from the space , the left-sided E-K fractional derivative is a left-inverse operator to the left-sided E-K fractional integral (9) [38]; then the relationholds true for every .

In order to unify these definitions, Agrawal [13] proposed a new definition which includes most of them as special cases.

Definition 9 (generalized fractional integral [13]). The left/forward weighted/scaled fractional integral of order of a function with respect to another function and weight is defined as

In this definition, if we set , it reduces to the classical Riemann-Liouville fractional integral. Similarly, setting , will lead to Hadamard integral and will lead to E-K fractional integral with a factor .

Definition 10 (see [13]). The left/forward weighted/scaled derivative of integer order of a function with respect to another function and weight is defined as

Definition 11 (generalized Riemann-Liouville derivative [13]). The left/forward weighted generalized Riemann-Liouville fractional derivative of order of a function with respect to another function and weight is defined as

Definition 12 (generalized Caputo derivative [13]). The left/forward weighted generalized Caputo fractional derivative of order of a function with respect to another function and weight is defined as

Remark 13. In the definitions of generalized fractional operators, more general kernels and weight functions are used. It generalized nearly all the existing fractional operators in one space dimension, such as the Riemann-Liouville derivative, the Grünwald-Letnikov derivative, the Caputo derivative, the Erdélyi-Kober-type fractional operator, and the Hadamard-type fractional operator.

3. Spectral Approximation of Generalized Fractional Operator

In this section, we will first study fractional derivative/integral of Jacobi polynomials and then derive a spectral approximation for generalized fractional operators based on Agrawal’s definitions. Fractional derivatives/integrals of others type can be obtained as special cases.

3.1. Fractional Derivative of Orthogonal Polynomials

Denote by the -th order Jacobi polynomial with index defined on .

As a set of orthogonal polynomials, satisfies the following three-term-recurrence relation [39]:where the recursive coefficients are defined as

In order to derive fractional derivative of Jacobi polynomials, we introduce some useful lemmas first.

Lemma 14. For any , the following relation holds:

Proof. According to [39, ], Jacobi polynomials with parameters are defined byConsidering property of Jacobi polynomials,Jacobi polynomials can be rewritten in the following form:Define the following symbols: Through a series of calculation, we have The equality (19) is proved. Equality (18) can be proved similarly.

Lemma 15 (see [39, P.96]). For ,For ,

Lemma 16 (see [29, 40]). For ,

Lemma 17. ,

Proof. First, for the case , formulas (29) and (30) can be obtained by setting in formula (25), setting in formula (26), and applying Riemann-Liouville fractional derivative operator to both sides of them. We refer to [22] for detailed discussion.
For the case , the formulas cannot be obtained from Lemma 15 due to the constrains and in Lemma 15. Here we prove the lemma inductively.
For left Riemann-Liouville derivative, from case 1, equality (30) holds for . Assume the equality holds for , when , and let ; from the assumption, it holds thatWe apply to both sides of (31), and then Applying Lemma 14, we have Equality (30) is proved. Equality (29) can be proved similarly.

Through the relationship between Caputo derivative and Riemann-Liouville derivative, we immediately obtain the fractional derivative for Caputo derivative.

Lemma 18. For , where .

Given a function and polynomials space , the projection of in space , , satisfies the following relation: According properties of space and Jacobi polynomials, can be expressed as where , is the weight function.

Then, fractional derivative of can be approximated asAnd we have the following lemma.

Lemma 19 (see [41]). , is a spectral approximation to in polynomial space such that , and then there exists a constant such thatwhere .

Combining Lemmas 18 and 19 and (37), approximation method can be obtained immediately for Caputo derivative and we have the following corollary.

Corollary 20. , is a spectral approximation to in polynomial space such that , and then there exists a constant such that

Based on above lemmas, fractional integral and derivative of Jacobi polynomials in the standard interval can be expressed explicitly. Fractional integrals and derivatives in shifted interval can be obtained through proper variable transforms.

For any , we assume is defined in . Let ; then . Substituting into equation (27)-(28) and (29)-(30), we obtained

3.2. Spectral Approximation to Generalized Fractional Operators

We assume and are positive monotone functions and . Obviously, and are invertible. The following lemmas can be derived for generalized fractional operators.

Lemma 21. Let , ; then the generalized fractional integral operator is equivalent to the following classical fractional integral: Here .

Proof. From the definition of generalized fractional integral, we have Since is positive monotone function, then is invertible, and we have , Let ; then the generalized fractional integral of is converted to classical fractional integral of in the following form: Lemma is proved.

Lemma 22. Let ; then the generalized fractional derivative of order is equivalent to the following classical fractional derivative: Here .

Proof. Similar to the proof of Lemma 21, we have Let ; then the generalized fractional derivative of is expressed through the classical fractional derivative of , Lemma is proved.

Remark 23. These two lemmas establish important relation between classical and generalized fractional operators. With these lemmas, generalized fractional differential equations can be solved via classical fractional differential equations, and vice versa. Which kind of transform should be taken depends on characters of the problem to be solved.

In order to design a high order numerical approximation of the generalized fractional operator, we define a scaled space , such thatwhere is a polynomial space of up to order .

Define a inner product and norm for space , such thatDefine projection into space , such that for any function

Suppose , are a set of orthogonal basis functions in space satisfying Let ; then , form a space, and for any , the projection can be written asHere are expansion coefficients such that

The weight function plays an important role in the computational process and analysis of the method. Here, we choose a proper weight function to use properties of orthogonal polynomials and make the computation more efficient. Let , and note thatTake ; thenSince is polynomial of order , the computation can be carried out easily through properties of orthogonal polynomials.

Suppose is shifted Legendre polynomial defined on . Then, given any function with weight , we have

Recalling Lemmas 21 and 22, the generalized fractional integral and derivative can be obtained in the form

From Lemma 19, the following corollary can be obtained immediately.

Corollary 24. is a monotone increasing function, . , is a projection into space . ; then there exists a constant such thatHere the weight function .

Remark 25. Unlike the convergence theory in classical polynomial space, the convergence order in space depends on regularity of the function with respect to . We will illustrate this through numerical examples.

Most of the time, it is more convenient to consider the problems in nodal form. We assume the given interpolation points are ; then the Lagrange basis functions can be defined as follows:

The function can be expressed using both Jacobi polynomials and Lagrange polynomials. The following relation is derived:

Considering the equivalence between Legendre basis and Lagrange basis, the following equality holds:where .

Then the nodal form expansion of is obtainedFrom (57) and (58), the corresponding nodal form of generalized fractional integral and derivative are obtained

Example 26. Now we give an example to show the effectiveness and accuracy of the method. Assuming , we consider generalized fractional derivative of on the interval with the following form: The exact generalized fractional derivative of is Numerical approximation to generalized fractional derivative of can be obtained using (58). We consider the maximum absolute error of the numerical derivative. Results for are shown in Figure 1.
For this example, it is easy to check that . From theory of spectral approximation, the error would decrease exponentially when and the numerical fractional derivative would be exact when . Our numerical result coincides with the theory exactly.

Example 27. In this example, we test the spectral approximation of Hadamard integral. Considering Hadamard-type fractional integral of on the interval , when and , the Hadamard integral of is Sine integral function, ; for more general and , the exact Hadamard-type integral of is unknown. Here we consider several pairs of and . Numerical Hadamard-type integral of would be computed using (57) with . To evaluate the approximation accuracy, for the case , the exact Hadamard fractional integral is computed using MATLAB built-in function ; for other cases, “exact” Hadamard fractional integral is computed using (57) with large (e.g., ), which is treated as reference solution. The results for numerical Hadamard integral and approximation error are shown in Figures 2 and 3.
For this example is not in the space for any . Maximum error of approximated fractional integral converges exponentially until reaching machine accuracy.

3.3. Fractional Integral/Differential Matrices

Suppose , are the interpolation points, and are the collocation points; we define the following symbols:

We define a generalized fractional differential/integral matrix , such that

In order to compute the fractional matrix more efficiently, we define a few more matrices. and are matrices such that , . is defined based on values of Legendre polynomials at interpolation points such that is defined as fractional derivative/integral of Legendre polynomials at collocation points :

and are the weight matrices defined as follows:

Theorem 28. For , vectors defined in (69)–(71), and matrices defined in (72)–(78), the following relation holds:

Proof. From the definition (69)–(71), (72)–(78), and (63)-(64), it is easy to obtain Next, we prove that .
From the definition of the interpolation function , Suppose , ; for , we have Evaluating the matrices multiplication for each element, the following relation is derived:The case can be proved similarly.

Remark 29. Collocation points and the interpolation points are not necessary the same. To obtain a good approximation, interpolation points of Gauss-type are usually used. At the same time, collocation points should be chosen properly to guarantee stability properties of the method. In the following numerical examples, for computation and stability aim, both interpolation and collocation points are chosen based on Gauss-type points with respect to .

4. Collocation Methods for Fractional Differential and Integral Equations

4.1. Fractional Ordinary Differential Equations

In this subsection, we consider collocation method for the generalized fractional ordinary differential equation of the formHere and is a monotone function in .

We assume is a numerical solution of the equation, are the chosen interpolation points, . The following discretized equation is obtained:Let (87) hold on collocation points ; the matrix form is obtained:Here is a diagonal matrix with , .

Considering the initial condition, we set with the first row replaced by , with its first element replaced by . Then the solution is obtained by solving the matrix equation .

Example 30. Consider the following example:Here , , is an arbitrary positive number.
The exact solution of the ordinary differential equation is . Maximum absolute errors of numerical solutions for and are shown in Figures 4 and 5.
When , the scaled polynomial space becomes For the error converges exponentially and reaches machine accuracy at . It is faster than any finite difference method, while for solution converges algebraically as increases; however, it still reaches machine accuracy at . The major reason for this is that and for any .

Remark 31. Since space is transformed from classical polynomial space with respect to , the convergence of spectral collocation method for ODEs with generalized fractional operators depends not only on the smoothness of the solution itself, but also on the scale function .

4.2. Hadamard-Type Integral Equations

We consider the following Hadamard-type boundary value problem:

In [42], Kilbas discussed the existence of the solution of (92). Explicit formulas for the solution were established in the following theorem.

Theorem 32 (see [42]). If , then the Hadamard-type integral equation (92) with is solvable in and its solution may be represented in the formHere is the set of absolutely continuous functions on and is space of those Lebesgue measurable functions on for which is absolutely integrable.

Solution of the Hadamard-type integral equation is exactly the same as generalized fractional derivative of Riemann-Liouville type with . The relationship between (93) and Caputo type generalized fractional derivative is

Suppose , are interpolation points; the discretized solution of equation (92) isRewriting (95) in matrix form, we havewhere is generalized fractional differential matrix; , . is a vector about the initial condition of the integral equation, defined by

Example 33. Assume . Solutions of (92) for are shown in Figure 6.

4.3. Erdélyi-Kober Fractional Diffusion Equation

In this subsection, we consider the following Erdélyi-Kober fractional diffusion equation [12]:

Erdélyi-Kober fractional diffusion equation, which is also called stretched time-fractional diffusion equation, is the master equation of a kind of generalized grey Brownian motion (ggBm). The ggBm is a parametric class of stochastic processes that provides models for both fast and slow anomalous diffusion. This class is made up of self-similar processes with stationary increments and it depends on two real parameters: and . It includes the fractional Brownian motion when and , the time-fractional diffusion stochastic processes when , and the standard Brownian motion when . About the relationship between stochastic process and stretched time-fractional diffusion equation, the following proposition is presented in [12].

Proposition 34. The marginal probability density function of the process , , is the fundamental solution of the stretched time-fractional diffusion equation:

Recalling the definition of generalized fractional integral and setting , the equation can be rewritten as

We use collocation method for both space and time discretization. We choose Legendre-Gauss-Lobatto (L-G-L) points as the space collocation points and choose , such that are L-G-L points, as the time collocation points.

Define space collocation matrix , such that , and generalized fractional integral matrix, . Matrix is computed through Theorem 28 and the space-time collocation matrices are obtained using Kronecker product . Suppose and are space-time collocation matrices with dimension for the second order derivative and fractional integral of order separately. Then

Suppose is the numerical solution of (98), defining , solution vector , and initial vector , such that where, in the definition of , each is repeated times.

The matrix form discretized equation of (98) is obtained as In the discretized equation, initial condition is explicitly involved. After boundary condition added properly, numerical solution can be obtained by solving the matrix equation.

Example 35. Assume , , , . Numerical solutions with are shown in Figures 710.

Erdélyi-Kober diffusion equation characterizes the marginal density function of the process . When , we recover the standard diffusion equation. When , we get the time-fractional diffusion equation of order . When and , we have the equation of the fractional Brownian motion marginal density.

As shown in Figures 7 and 8, when , the diffusion is fast, and the increments exhibit long-range dependence; when , the diffusion is slow, and the increments form a stationary process which does not exhibit long-range dependence. The results coincide with theoretical analysis in [12, 14].

5. Conclusion

In this paper, we propose a spectral collocation method for differential and integral equations with generalized fractional operators. To deal with the difficulty in designing spectral approximation scheme due to complexity of integral kernel and weight, a variable transform technique is applied to the generalized fractional operator, and a spectral approximation method is proposed for the generalized fractional operator. Operational matrices for generalized fractional operators are derived. Spectral collocation methods are designed for fractional ordinary differential equations, Hadamard-type integral equations, and Erdélyi-Kober diffusion equations separately. Numerical experiments are carried out to verify the accuracy and efficiency of the method and characteristics of the Erdélyi-Kober diffusion equation are analyzed based on numerical results.

Data Availability

(i) The programs used to support the findings of this study have been deposited in the GitHub repository (https://github.com/qinwuxu/SpectralGFPDE ). (ii) No data were used to support this study.

Disclosure

An earlier version of this work was presented at the “8th International Congress on Industrial and Applied Mathematics (ICIAM 2015)”.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The first author is supported by the National Key R&D Program of China (No. 2017YFC0209804), the National Science Foundation for Young Scientists of China (No. 11701273), and Youth Foundation of Jiangsu Province (No. BK20170628). The second author is supported by the National Key R&D Program of China (No. 2017YFB0305601).