1. Introduction
In this paper, we will consider the following Riemann-Liouville time-fractional partial integro-differential equation with a weakly singular kernel:
where
,
and
.
and
are given smooth functions.
and
are defined in Definition 1. The existence and uniqueness of the solution for Equation (
1) have been considered in [
1].
Definition 1 ([
2,
3,
4])
. (1) The α-order fractional Riemann-Liouville derivatives of the function is defined as(2) The β-order fractional Riemann-Liouville integral of the function is defined aswhere is the Euler’s gamma function. At present, Riemann-Liouville and Caputo derivatives are commonly used in engineering and the sciences. The properties of the Riemann-Liouville derivative are different from those of the Caputo derivative. Furthermore, the Riemann-Liouville derivative is singular at zero, and its mathematical analysis is more sophisticated [
5]. The Riemann-Liouville derivative naturally arises in real-world phenomena in several diverse disciplines, such as viscoelastic materials [
6,
7], mathematical biology [
8] and electrochemistry [
9]. More application details can refer to [
10]. Indeed, the exact solutions of many fractional integral or differential equations cannot be found, so it is therefore necessity to find the numerical solutions. Due to this circumstance, we need to apply the appropriate methods to find numerical solutions of the fractional equations, for instance, finite difference methods [
11], finite element methods [
12], integral transform methods [
13] and radial basis function methods [
14,
15].
Up to now, the fractional integral or differential equations have abundant research results. For example, Fakhar-Izadi [
16] considered the spectral Galerkin method in time and space for solving 1D and 2D fourth-order time-fractional partial integro-differential equations. Wang and Zhu [
17] achieved the fractional integro-differential equations transformed into a system of algebraic equations using an operational matrix. Ghanbari and Kumar [
18] studied a fractional predator-prey pathogen model, and the stability and convergence results wer obtained. Zhang and Li [
19] proposed a numerical algorithm to solve a second-order-delay integro-differential equations based on the generalized Störmer-Cowell methods and compound quadrature rules.
In recent years, an increasing number of researchers have chosen to study high-order and highly dimensional numerical discrete schemes. It is well-known that the compact finite difference method is useful for constructing high-accuracy numerical schemes. The following articles contain the results of compact difference methods. In [
20], a generalized framework for deriving the approximation of an arbitrary-order derivative was proposed by Caban and Tyliszczak based on the compact difference method. Ding and Li [
21] constructed a novel high-order numerical algorithm by using the tempered Grünwald difference operator and fourth-order compact numerical differential formulas to solve 2D partial differential equation with the Riesz derivative. In [
22], Vong and Wang constructed a high-accuracy numerical algorithm for the time-fractional Fokker-Planck equations with variable convection. In [
23], Ding solved the 2D diffusion-wave equations, and the following convergence order was achieved:
. Zhai et al. [
24] solved a 3D time-fractional convection-diffusion equation using the ADI compact difference method and proved the higher-order algorithm is unconditionally stable. Xu et al. [
25] developed a higher-order finite difference method for the fourth-order time-fractional integro-differential equation with a Caputo derivative.
Concerning integro-difference equations with Riemann-Liouville derivatives, some results can be found as follows. Dehghan and Abbaszadeh [
26,
27] studied a numerical algorithm for fractional integro-differential equations with Riemann-Liouville and Riesz derivatives. In [
28], Diethelm et al. proposed a second-order method to approximate the integral term. Chen et al. [
29] studied the fractional evolution equation with a Riemann-Liouville integral term and obtained the convergence order
. Guo and Xu [
30] found that the Caputo derivative numerical scheme has the convergence order
. Up to now, there are the most results for integro-difference equations with Caputo derivatives and few results for Equation (
1). Inspired by the results of [
28,
29], we want to construct a fully discrete high-order difference scheme for Equation (
1). By using the second-order shifted and weighted Grünwald difference operator and fourth-order compact difference method, we construct a high order difference scheme for Equation (
1). Compared with the result in [
29], it can be found that the convergence order in the temporal direction can reach the second order, which is better than the result in [
29].
The structure of this article is as follows. In the next section, necessary notations are listed, and a numerical scheme based on a compact difference operator for Equation (
1) is studied. In
Section 3, the stability analysis and convergence of the established numerical scheme are carried out. In
Section 4, several experimental results are stated to support the efficiency of the established discrete scheme.
2. Numerical Scheme
Let M and N be two positive integers, and let and be the spatial step size and time step size, respectively. C is a constant, which may be different in different locations.
For
and
, the mesh point
is defined as
and
. Let
be the exact solution and
be the approximate solution at each mesh point
of Equation (
1). The following notations and lemmas will be used throughout this paper:
Using the shifted and weighted Grünwald difference method to approximation derivatives, we can obtain a discrete scheme with a second-order convergence rate in the temporal direction.
Lemma 1 ([
31])
. Suppose that , and letThe shifted and weighted Grünwald difference operator is defined as follows:where p is an integer according to Equation (4). Then, we obtain thatuniformly for R as . The coefficients are defined as follows: In addition, if , we stipulate and when .
Lemma 2 ([
32])
. Let , and its Fourier transform belong to , and define the shifted and weighted Grünwald difference operator as follows:Then, uniformly for as , we obtainwhere p and q are integers. Furthermore, we define
. A finite difference approximations to discrete derivative in time is as follows (see [
31]):
where
Combining the above equality, we obtain
Lemma 3 ([
31,
33,
34,
35])
. Let function and
; then, we get Lemma 4 ([
28,
36])
. Suppose that ; then, there exists a positive constant C which depends only on β such thatwhere Lemma 5. For any satisfying the definition of Equation (7), the sequence decreases monotonically depending on k.
Proof. By Equation (
7), we have
Let
, then
By the mean value theorem, we get
where
,
, therefore
. Then, the sequence
decreases monotonically in
. □
Lemma 6 ([
36])
. Let be defined as Equation (7)
, and for all β , we obtain (i)
(ii)
Assume that
and consider Equation (
1) on grid point
and apply compact difference operator
to both sides. We thus have
For the left term of Equation (
8), by Lemma 2, we get
For the first term on the right of Equation (
8), Lemma 3 and Lemma 4 imply that
Substituting Equation (
9) and Equation (
10) into Equation (
1), it follows that
where
Neglecting the small term
in Equation (
11), when
, the compact finite difference scheme for Equation (
1) is given as follows:
At each time level, the compact difference scheme Equation (
12) is a system of linear algebraic equations with a strictly diagonally dominant matrix as its coefficient matrix. We can obtain the following theorem.
Theorem 1 ([
30])
. The compact difference scheme Equation (12) permits a unique solution. 3. Stability and Convergence
In this section, we first give some notations and lemmas which will be used in the subsequent discussions. Then, the stability analysis and error estimates of the compact finite difference scheme for Equation (
12) are obtained.
Denote
as the space of grid functions, and
. For each
, the inner product and norm are denoted as follows:
Lemma 7 ([
31,
37])
. Let be defined as Equation (6)
; then, for each positive integer m and for any , we have Lemma 8 ([
36])
. Assume that ; then, Lemma 9 ([
38])
. If , then Lemma 10 ([
39])
. For all grid function , then Lemma 11 ([
36,
40])
. Define as a sequence of non-negative real numbers if it satisfies the following inequalitywhere is a nondecreasing sequence of non-negative numbers, and . It thus holds that Lemma 12 ([
41])
. If is a nonincreasing sequence and is a nondecreasing sequence, then we obtain Lemma 13. If , then
Proof. By definition of
, Equation (
3) and Lemma 8, we have
from which the desired result is obtained. □
Lemma 14. Let and be defined in Equation (7) and Equation (2), respectively; then,where = and . Proof. Let
and
. By Lemma 5 and Lemma 12, we get
For the left term of Equation (
13), by Lemma 6, we have
Since function
is continuous on Ω, it is bounded. Let
. We thus have
The proof is completed. □
Theorem 2. If is the approximation solution of Equation (12)
with the given initial and boundary conditions in the sense that for all ; if and , thenwhere C and are positive constants, and they depend on T. Proof. By Equation (
12), we obtain
Taking the inner product of Equation (
14) with
, then
By Equation (
7), Equation (
15) and Lemma 9, we have
By inequality (
16) and Lemma 13, we get that
By inequality (
17), we obtain
By inequality (
18) and summing the above expression from
n = 1 to
m and
, we get
By Lemma 6, Lemma 7, Lemma 14 and inequality (
19), we obtain
By inequality (
20) and
, we get
Let
. We can thus obtain that
is a positive nondecreasing sequence with respect to
n. Hence, by the above inequalities and Lemma 11, we have
Let
, the following inequality holds
which is the desired result. □
Define () as errors at each mesh point ; then, the error bound of our numerical scheme will be considered as follows. (To make the following expression succinct, the subscript j will be neglected.)
Theorem 3. Let be the exact solution of Equation (1)
and be the numerical solution of Equation (12)
, if and ; then, the error bound is as follows:where C is a positive constant, and it depends on T. Proof. By definition of
, then the error equation is as follows
Taking the inner product of inequality (
21) with
, we obtain
By Equation (
7), Lemma 9 and inequality (
22), we have
By inequality (
18), inequality (
23) and summing the above expression from
n = 1 to
m and
, we obtain
From Theorem 2, we get
By inequality (
25) and Lemma 10, then
where
C,
and
are the constants, and the desired result is obtained. □
4. Numerical Experiments
We will present several experiments which support the theoretical analysis in
Section 3. All numerical tests were performed on an AMD Ryzen 7 4700U with Radeon Graphics (2.00 GHz) and 16 Gb of RAM, using MATLAB (R2020b).
Let
N and
M be two constants, and define
and
to be temporal step size and spatial step size, respectively. Let
be the exact solution of Equation (
1) and
be numerical solution of Equation (
12). As in [
14,
25], we consider the
-norm errors and corresponding convergence rates in the following:
where
and
are errors correspond to grids with mesh sizes
and
, respectively. In addition, we have
where
and
are errors correspond to grids with mesh sizes
and
, respectively.
If we perform an
-order Riemann-Liouville fractional integral on both sides of Equation (
1), we can obtain new (
)-order partial integro-differential equations. In [
29], for
, the scheme is convergent with the order
when
is singular at
and
when
is smooth at
. According to the results of the following three examples, we find that our scheme is convergent with the order
.
Example 1. In the first example, we choose , and the force term as follows:where the corresponding initial term is and the exact solution is . Table 1,
Table 2,
Table 3,
Table 4,
Table 5 and
Table 6 show the numerical results of Example 1.
Table 1,
Table 2 and
Table 3 give the time convergence rates and the corresponding errors for a given
and different values of
N. For different
values, the experiment presents the error in the case of
, 0.5 and 0.75. This experiment shows that convergence order in the temporal direction can achieve the global second order.
Table 4,
Table 5 and
Table 6 show the convergence rates in space and the corresponding
norm errors for
and different values of
M. For different
values, this experiment shows the errors in the case of
, 0.5 and 0.75. The experiment demonstrates that convergence order in the spatial direction can be of the fourth order. One can see that they are in good agreement with the theoretical results.
Example 2. In this example, we choose and the force term as follows: For this test, the reference solution is under a very fine mesh ().
Table 7,
Table 8,
Table 9 and
Table 10 show the numerical results of Example 2.
Table 7 and
Table 8 show the time convergence rates and corresponding numerical errors for
and different values of
N.
Table 7 shows the results of
= 0.2 at
= 0.2, 0.5 and 0.8.
Table 8 shows the results of
= 0.5 at
= 0.2, 0.5 and 0.8.
Table 9 shows the space convergence rates and corresponding numerical errors for
N = 1000 and different values of
M, where
= 0.5 and
= 0.2, 0.5 and 0.8.
Table 10 shows the space convergence rates and corresponding numerical errors for
and different values of
M, where
= 0.8 and
= 0.2, 0.5 and 0.8.
The numerical results of this example show that the convergence order in the temporal and spatial directions can reach the second and fourth orders, respectively. The results of Example 2 show that the convergence orders match the theoretical ones.
Example 3. For the last test, we choose . The force term is the following:where the corresponding initial term is and the exact solution is . Let
and
. In
Figure 1, we display the exact solution and numerical solution and the corresponding absolute error and contour plot absolute error with
and
. Similarly, the exact solution, numerical solution and corresponding error are presented in
Figure 2 with
and
. One can obviously see that our method can achieve the desired accuracy.