3.1.1. L1, L2, and L2C Methods
The well-known L1 method was originally introduced in Ref. [
62] to evaluate Riemann–Liouville derivative with
, which equivalently reads as
Note that the second term on the right-hand side happens to be Caputo derivative with . That is the reason why we introduce the L1 method when considering numerical approximations to the Caputo derivative.
Let
. On the setting of uniform grids
, utilizing the constant
to approximate
on each interval
yields the following L1 method on uniform grids for Caputo derivative [
62]
Here the coefficients are given by
Normally, the L1 method can lead to unconditionally stable algorithms [
63,
64,
65,
66,
67,
68,
69]. Therefore, it is frequently used in the discretization of time fractional differential equations. Since the proof for this scheme available is not very direct or a little cryptic, it is necessary to present clear proof of its truncated error for reference as it is mostly used.
Theorem 2. Letand. Denote by Then it holds thatwhere C is a positive constant given by Proof. Then it immediately follows that
Using the Taylor expansion with integral remainder, we have for
,
which yields
Exchanging the order of integration gives
In the following, we show that when
,
for
, and
Denote
. Then it holds for any
that
with certain
. As a result, inequality (
81) holds. For the inequality (
82), one has
and
The above two equalities yield that Equation (
82) holds.
Combining the above analysis, one has
Inserting the above estimate into Equation (
80) gives
All this ends the proof. □
Remark 4. The idea of proving Theorem 2 is borrowed from Ref. [70] where the case withwas considered. Such an estimate was also considered in [71]. Let
be any division of
with
. Then the classical L1 method is generalized into the L1 method on nonuniform grids for Caputo derivative [
72]
provided that
with
C being a positive constant. Here
,
, and the coefficients are given by
In the special case of nonuniform grids with
,
,
, scheme (
88) is reduced to
Here the coefficients are given by
Replacing
with
yields the following modified L1 method for Caputo derivative [
38]
Remark 5. (I)
The modified L1 method (92) is useful to obtain the Crank–Nicolson scheme for the time-fractional subdiffusion equation [73,74], which can be regarded as a natural extension of the classical Crank–Nicolson scheme [75].(II)
The (weak) singularity makes it difficult to evaluate fractional derivatives. In this case, approximations such as Equations (88) and (92) on nonuniform meshes or graded meshes can be utilized. One can refer to [72,76,77] for more details in this respect. For the case with
and the lower terminal
, there holds
Suppose that
. Utilizing the central difference scheme
to approximate
on each interval
, we have the following L2 method for Caputo derivative [
62]
in which
In Ref. [
78], the integral
was evaluated in a more symmetric form. For
, if we replace
with the difference
then the L2C method for Caputo derivative
is obtained. Here the coefficients are given by
Note that in the above two schemes the value of is needed. We can set when the condition is met. For the case with lower terminal , we can utilize affine transformation before applying the L2 and L2C methods.
Remark 6. The L2 and L2C methods reduce to the backward difference method and the central difference method for the first order derivative, respectively, when. If, the L2 method reduces to the central difference method for the second order derivative and the L2C method reduces towith the first order accuracy. As a matter of fact, the error bound for the L2 method is. Numerical experiments indicate that the L2 method is more accurate than the L2C method for, while the opposite result appears when. And these two methods behave in almost the same way near[78]. 3.1.2. Numerical Methods Based on Polynomial Interpolation
It is evident that the higher-order accuracy can be achieved by utilizing the higher-order interpolation, provided that is suitably smooth. In the following, we introduce numerical approximations in this respect.
(I) -th order approximations
Let
. For
and
, it follows from Taylor expansions of
,
, and
at
x that
In this case, we have the following
-th order approximation [
79],
where
,
denotes the truncated error, and the coefficients are given by
with
and
.
Since the above -th order method is also widely used, we estimate its truncated error in detail.
Theorem 3. ([
80])
Let and
. For the truncated error of approximation (102), it holds that with c being a positive constant and in Equation (102) being used. Proof. It is clear that the truncated error is given by
Interchanging the order of integrations yields
For
, denote
and
where the expression of
can be derived from Equations (
106) and (
107) so is left out due to lengthiness.
Let
. The affine transformation
with
yields
It is evident that
, and for
,
Thus, it holds for
that
As a result,
with
being a constant.
Note that
contains all the terms in Equation (
106) with the form of integrals over
. Then the affine transformation
and
yield
Rewrite
in the form
with
For
, we have
for arbitrary
. To see this, recall that
When
, there hold
and
One has
, and there exits
such that
since
. Therefore,
Since
it holds that
for arbitrary
when
. As a result,
As a result, it holds that
with
being a constant. Consequently, the truncated error has the bound
Note that the derivative with is needed in the above inequality. In this case, with can be utilized to approximate when and then is bounded on . Consequently, the desired estimate is obtained. □
Remark 7. In formula (
102),
is defined outside of . In numerical calculation, we can approximate based on the relation . When , then , and we have . When and , then , and . If , then . Example 3. ([
79])
Consider the function . Evaluate its Caputo derivative at by formula (102). Absolute error (AE) and convergence order (CO) are shown in Table 3. It is obvious that the convergence order is , which is in line with the theoretical analysis. In Ref. [
81], another
-th order approximation was proposed. Denote
Let
and
. We utilize the linear interpolation
on the first interval
, and the quadratic interpolation
on the remaining intervals
to approximate
. Denote
. We obtain the following L1-2 formula [
81]
with the truncated errors
and
. The coefficient
when
. For
, the coefficients are give by
with
and
Numerical results in Ref. [
81] imply that the computational errors given by the L1-2 formula are obviously much smaller than those of the L1 formula.
Modifying the above L1-2 formula, Alikhanov proposed an overall
-th order approximation. Let
with
, then the Caputo derivative of
at
with
can be expressed by
Applying the quadratic interpolation
which is different from the one defined in Equation (
129) to approximating
, and utilizing the expression
on the interval
, we obtain the L2-1
formula [
82]
with
. Here
when
, and for
,
with
and
given by
and
The comparison between the L2-1
and L1-2 methods in Ref. [
82] shows that the L2-1
formula refines the accuracy indeed.
Remark 8. ([
80])
The L2-1 formula for the right-sided Caputo derivative can be derived in a similar manner. In this case, the parameter should be chosen as , . The corresponding approximation is given by with . Here the coefficients are given by if , and for , where and For other
-th order approximations to Caputo derivative based on interpolation, one may refer to Refs. [
83,
84].
(II) -th order approximation
Let
and
. A linear interpolation of
on the first subinterval
yields
with
. On the second subinterval
, we similarly obtain
through the quadratic interpolation, where
For the remaining subintervals, we use the cubic interpolation function
to approximate
. Consequently, it holds that
where the coefficients are given by
In view of the above analysis, we obtain the numerical approximation [
85]
The coefficients
have different values for different
j. When
,
When
,
If
and
, the truncated error
in Equation (
150) satisfies
Numerical examples in Ref. [
85] verify the above theoretical results.
Example 4. Suppose thatand. Evaluate the α-th order Caputo derivative ofatby Equation (150). Maximum errors (ME) and convergence order (CO) are presented in Table 4. Example 5. Let. We evaluate Caputo derivative ofatby utilizing Equation (150). The maximum errors (ME) and convergence order (CO) are shown in Table 5. (III) -th order approximation
Generalizing the above
-th order approximation, an
-th order approximation was proposed in Ref. [
86] by virtue of the Lagrange polynomials of degree
r. Let
and
. On the subintervals
, we utilize the Lagrange polynomial
to approximate
. Denote
To compute the coefficients
, we denote by
and
Here
and
are the sums of products of all different combinations of
k elements in the sets
, and
, respectively. Then
On the subinterval
, there are no enough nodes to obtain an
r-th degree Lagrange polynomial. In this case, we use
to approximate the integral
. In summary, we obtain the following approximation [
86]
with
being the truncated error. It has been proved that when
, the truncation error satisfies
- (1)
- (2)
- (3)
If , then ;
- (4)
Provided that
for
, then
- (5)
Provided that
for
, then
Numerical examples in Ref. [
86] verify the above theoretical results.
Example 6. Suppose, and let,. Use scheme (164) to compute Caputo derivative ofatwith different stepsizes. Table 6 lists the computational errors and convergence orders atwith different values for α, and. It can be observed that the numerical convergence order of the utilized scheme is. Example 7. Suppose, and consider the function,. Table 7 lists the numerical results with different values for α, and. It is evident that scheme (164) can reach-th order accuracy. Remark 9. The-th,-th, and-th order numerical schemes established in Refs. [79,85,86] are of unconditional stability in the practical sense when solving fractional differential equations. In other words, numerical schemes for fractional differential equations based on these approximations are stable only if α lies in their respective subsets of the interval. On the other hand, there are some other interesting methods in this respect. See [87,88] for more details. (IV) Spectral approximations
Let
and
with
. Now we introduce spectral approximations to Caputo derivative [
42,
44]. Here we take the Jacobi approximation as a representative example since the others such as Chebyshev approximation are special cases of the Jacobi one. Let the polynomial
be an approximation of
based on the Jacobi polynomials. Recall that
It holds that
where
and
are defined by Equations (
32) and (
36). Denote
with
for
. Then it holds that
The affine transformation
with
yields
For the corresponding differential matrix, see Ref. [
44] for more details.
The following numerical examples verify the efficiency of the spectral approximation.
Example 8. ([
42])
Let ,. We use formula (170) to compute . Table 8 shows the absolute maximum errors at the Jacobi-Gauss-Lobatto points. The spectral accuracy is obtained. Example 9. ([
42])
Let , . We utilized Equation (170) to evaluate . Table 9 presents the absolute maximum errors for the cases of and . The expected results can be observed. (V) Radial basis function discretization
Being a natural generalization of univariate polynomial splines to a multivariate setting, radial basis functions work for arbitrary geometry with high dimensions and it does not require a mesh at all [
89]. Numerically solving fractional differential equations based on radial basis functions has attracted sustained attention in engineering and science community. See [
90,
91,
92,
93] and references cited therein. In [
94], radial basis functions are utilized to evaluate fractional differential operators. In the following, we introduce the basic idea of this method.
Take the one-dimensional case as an example. Let
be the collocation points in the interval
. An radial basis function interpolant of a given function
is defined in the form
In order to take the values
, the expansion coefficients
are required to satisfy the matrix form
with
,
, and
. Here
is the radial basis function. Some popular choices of radial basis function are cubic (
), multiquadrics (
), and Gaussian (
), where the free parameter
c is called the shape parameter for the radial basis function. The smooth radial functions (such as multiquadrics and Gaussian) give rise to spectrally accurate function representation while the piecewise smooth radial functions (such as cubic) only produce algebraically accurate representations [
94]. Applying the Caputo differentiation operator to (
171) yields
which can be written in the matrix form
with
and
. Here
is the value of
at the point
. Note that the collocation matrix
is unconditionally nonsingular [
94]. Combing equations (
172) and (
174) gives
Therefore, the differential matrix yields an radial basis function discretiazation of the operator .
Remark 10. (I) The above procedure of deriving differential matrix based radial basis functions is applicable for other fractional differentiation operators as well.
(II) Finding a closed form analytical expression for the fractional derivative of a given function may be challenging. In practice, one has to represent the radial basis function in the form of Taylor series before applying fractional differentiation operator term by term. Then the infinite sum can be truncated once the terms are smaller in magnitude than machine precision.
(III)
The standard radial basis function methods may result in ill-conditioning which often impairs the convergence. To offset this deficiency, the so-called RBF-QR method can be utilized instead of the standard one. See Ref. [94] for more details.