1.
Introduction
In this paper we consider the numerical approximations of the following problem
where κ≥0 is given constant, φ(x),α1(t),α2(t),β1(t),β2(t) and f(x,t) are given sufficiently smooth functions satisfying φ(0)=α1(0),φ(L)=α2(0),φ″(0)=β1(0) and φ″(L)=β2(0), C0Dαtu(x,t) denotes Caputo fractional derivative defined by
And we suppose that there exist two constants C1 and C2 such that 0<C1≤ω(x)≤C2 for 0≤x≤L.
More and more attention has been paid to the fractional differential equations (FDEs) due to its application foreground in chemistry, physics, finance and hydrology in the past twenty years [1,2,3,4]. As we know, the analytic solutions of FDEs are very difficult to obtain, some efficient numerical methods should be considered, especially fast algorithms with high order accuracy. Some essential definitions and properties of fractional derivatives can refer to monograph [5].
This target problem in Eq (1.1) is frequently employed to simulate some phenomena in physics, such as wave propagation in beams, brain warping, ice formation and designing special curves on surfaces and so on, e.g., [6,7,8,9,10,11] and their references.
Up to now considerable works have been done from theoretical and numerical point of view for fourth-order fractional diffusion equations. For instance, Hu and Zhang successively presented a finite difference scheme for the fourth-order fractional diffusion-wave and sub-diffusion equations, and a compact difference scheme for the former, see [12,13]. Ji et al.[14] constructed a compact difference scheme for the fourth-order fractional sub-diffusion equation under the fist Dirichlet boundary conditions. Zhang and Pu [15] presented a compact difference scheme for such equation by L2−1σ formula [16]. Ran and Zhang [17] presented a new compact difference schemes for the such equation of the distributed order.
However, most of the work focus on the constant coefficient case. Recently, Zhao and Xu [18] presented a compact difference scheme for the time fractional sub-diffusion equation with the variable coefficient under the Dirichlet boundary conditions. Subsequently, based on the subtle decomposition of the coefficient matrices, Vong, Lyu and Wang [19] presented a compact difference scheme to solve the equations under Neumann boundary conditions. But the above works has only accuracy of order 2−α in time.
In this paper, our attention will be paid on the higher order difference scheme for solving the variable coefficient equations under the second Dirichlet boundary conditions For this purpose, we use the L2−1σ formula to approximate the Caputo fractional derivative. Unlike the integer order case, the time fractional derivative requires all history information. In order to reduce the computational complexity, we also construct a fast difference scheme. The stability and convergence of both schemes are proved in detail.
The structure of this paper is as follows: In Section 2, some necessary notations and lemmas are first introduced and a second-order difference scheme for the target problem (1.1)–(1.4) is constructed. In Section 3, an important priori estimate is first proved, and the unconditional stability and convergence of scheme are obtained. In Section 4, a fast second-order difference scheme is presented, and the corresponding unconditional stability and convergence are also strictly proved.
In Section 5, a difference scheme based on nonuniform time grids is first presented, and some numerical examples are provided to verify the theoretical results. A brief conclusion is given finally.
2.
Derivation of the L2−1σ scheme
Let h=L/M and τ=T/N, where M, N are two positive integers. Denote xi=ih,0≤i≤M,tn=nτ,0≤n≤N, Ωh={xi∣0≤i≤M},Ωτ={tn∣0≤n≤N}. Let Vh={v∣v=(v0,v1,⋯,vM)} be grid function space on Ωh, and ˚Vh={v∣v∈Vh,v0=vM=0}. Also we denote σ=1−α2,tn+σ=(n+σ)τ and ω(xi)=ωi.
For u∈Vh, we define
For any u,v∈˚Vh, we define the inner products
and norms
In [16], Alikhanov developed a new second order difference formula (called L2−1σ formula) for the Caputo fractional derivative, which can be expressed in the following lemma.
Lemma 2.1 ([16]). Suppose α∈(0,1),σ=1−α2 and u(t)∈C3[0,T]. It holds
where
in which C(n)0=a0=σ1−α for n=1, and
for n≥2, where aj=(j+σ)1−α−(j−1+σ)1−α and bj=12−α[(j+σ)2−α−(j−1+σ)2−α]−12[(j+σ)1−α+(j−1+σ)1−α] for all j≥1.
Let v(x,t)=∂2u∂x2. Then the problem Eqs (1.1)–(1.4) can be written in the equivalent system
Suppose u(x,t)∈C(6,3)x,t([0,L]×[0,T]). Define
Considering the Eqs.(2.1)–(2.2) at the point (xi,tn−1+σ), we obtain
Using Taylor expansion
where Un−1+σi=σUni+(1−σ)Un−1i. Then we obtain
and
Using Lemma 2.1, it follows from Eq (2.5), Eq (2.6) that
and there exists a constant Cr such that
Omitting the small terms (R1)ni and (R2)ni in Eq (2.7) and Eq (2.8), we present the difference scheme (called L2−1σ scheme) for the equivalent system (2.1)–(2.4) as follows
where the initial-boundary conditions Eq (2.3), Eq (2.4) have been used.
Theorem 2.2. The above difference scheme (2.10)–(2.13) is equivalent to
Proof. Since
It follows from Eq (2.11) and Eq (2.13) that
This together with Eq (2.10), we get Eq (2.14) and Eq (2.16). Eq (2.15) can be obtained by substituting Eq (2.11) into Eq (2.10). This proof is completed.
The above equivalent form Eqs (2.14)–(2.18) will be used only in calculation.
3.
Solvability, stability and convergence of the L2−1σ scheme
We first introduce the following essential lemmas.
Lemma 3.1 ([16]). Suppose α∈(0,1) and C(n)k is defined in Lemma 2.1. It holds that
Lemma 3.2 ([16]). Suppose u={un∣0≤n≤N} is a grid function defined on Ωτ. It holds that
Lemma 3.3 ([20,21]). For any u∈˚Vh, it holds that
The following Lemma will be used in the analysis of the difference scheme.
Lemma 3.4. For any u∈˚Vh, it holds that
Proof. The proof is straightforward from the definition of ||⋅|| and ||⋅||ω.
We next show the priori estimate of the scheme (2.10)–(2.13).
Theorem 3.5. Suppose {wni∣0≤i≤M,0≤n≤N} and {zni∣0≤i≤M,0≤n≤N} satisfy the following difference scheme
Then, it holds that
Proof. Taking the inner product of Eq (3.1) by wn−1+σ, we get
Taking the inner product of Eq (3.2) by ωzn−1+σ, we get
From Eq (3.6) and Eq (3.7), it yields that
Applying the discrete Green formula gives that
Substituting Eq (3.9) into Eq (3.8), we obtain
From Eq (3.2), we have
Multiplying Eq (3.11) by hωi and summing up for i from 1 to M−1, we get
Substituting Eq (3.12) into Eq (3.10), we obtain
Using Cauchy-Schwarz inequality, we have
and
From Eq (3.14), Eq (3.15) and Eq (3.13), we obtain
Based on Lemma 3.3 and Lemma 3.4, we have
Applying Cauchy inequality, we get
Substituting Eq (3.18) into Eq (3.16) yields that
where Lemma 3.2 has been used. That is,
where μ=Γ(2−α)τα. According to Lemma 3.1, we have
and
Substituting Eq (3.20) into Eq (3.19) gives that
Denote
Now, we prove by the mathematical induction method that
It holds obviously when n=0. Assuming Eq (3.21) is valid for n=1,2,⋯,m−1, then we have
This proof is completed.
Applying the Theorem 3.5, we can immediately obtain the stability result.
Theorem 3.6 (Stability). The difference scheme (2.10)–(2.13) is unconditionally stable with respect to the initial value φ and the source term f.
Similarly, from Theorem 3.5, we can easily prove the solvability of the proposed scheme.
Theorem 3.7 (Solvability). The difference scheme (2.10)–(2.13) is uniquely solvable.
Proof. It suffices to prove the homogeneous linear system
has only a trivial solution. Applying Theorem 3.1, we have ||un||2≤||u0||2=0. So uni≡0 for 0≤i≤M, which completes the proof.
Next, we focus on the convergence of the difference scheme (2.10)–(2.13). Denote
Theorem 3.8 (Convergence). Assume that u(x,t)∈C6,3x,t([0,L]×[0,T]) and {uni} are solution of the problem (1.1)–(1.4) and the difference scheme Eqs (2.10)–(2.13) respectively. Then there exists a positive constant C such that
Proof. From Eq (2.7), Eq (2.8) and Eqs (2.10)–(2.13), we have the error equations as
Applying Theorem 3.5, we get
Noticing Eq (2.9), we get
which shows that Eq (3.22) is valid with
This proof is completed.
4.
The FL2−1σ scheme
Although the L2−1σ scheme (2.10)–(2.13) has accuracy of second order in time, it is not conducive to calculation due to it needs all history data to get the solution at current time point. Also, here we present a fast scheme by applying the sum-of-exponentials approximation to the kernel function t−α.
The sum-of-exponentials approximation reads as:
Lemma 4.1 ([22]). For the given α∈(0,1), tolerance error ε, cut-off time step size ˜τ and final time T, there are one positive integer Nexp, positive points sj and corresponding positive weights wj(j=1,2,⋯,Nexp) satisfying
and the number of exponentials needed is of the order
The fast evaluation of Caputo derivative, FL2−1σ formula, is given as follows:
where λ=τ−αΓ(2−α), ˜wj=1Γ(1−α)wj, and ˜Vnj can be got form the following recursive relation
with ˜V0j=0,(j=1,2,⋯,Nexp) and
The recursive relation (4.2) shows that the FL2−1σ formula reduces significantly the computational complexity. Noticing that Eq (4.2) can be equivalently rewritten as the following summation form
thus we have
in which Fg(1,α)0=λa0, and for n≥1,
The equivalent expression (4.3) is more applicable in stability and convergence analysis.
With respect to the FL2−1σ formula, we have the following some results.
Lemma 4.2 ([22]). For any α∈(0,1), and u(t)∈C3[0,T], it holds that
Lemma 4.3 ([22]). Suppose α∈(0,1),Fg(n+1,α)k is defined by Eq (4.4), then it holds that
Lemma 4.4 ([22]). Suppose u={un∣0≤n≤N−1} is a grid function defined on Ωτ, then it holds that
Similar to the derivation of the L2−1σ scheme (2.10)–(2.13), it follows from Eq (2.1), Eq (2.2) we have
and there exists a constant FCr such that
Omitting the small terms F(R1)ni and F(R2)ni in Eq (4.5) and Eq (4.6), from the boundary and initial conditions (2.3)–(2.4), we obtain the FL2−1σ scheme for the problem (2.1)–(2.4) as follows
Next, we focus on the solvability, stability and convergence of the FL2−1σ scheme.
Before the discussion, we first prove the following priori estimate.
Theorem 4.5. Suppose {wni,zni∣0≤i≤M,0≤n≤N} satisfy the difference scheme
Then, we have
Proof. Similar to the proof of the Theorem 3.5, we can obtain from Eq (4.12) and Eq (4.13) that
Noticing that
we get
From Lemma 4.4, we can further obtain
Denote
Now, we prove by the mathematical induction that
It holds obviously when n=0. Assuming Eq (4.19) is valid for n=1,2,⋯,m−1, then we have
This proof is completed.
Based on Theorem 4.5, we can obtain the following stability theorems.
Theorem 4.6 (Stability). The FL2−1σ scheme Eqs (4.8)–(4.11) is uniquely solvable, and unconditionally stable with respect to the initial value φ and the source term f.
Theorem 4.7 (Convergence). Assume that u(x,t)∈C6,3x,t([0,L]×[0,T]) and {uni} are solutions of the problem (1.1)–(1.4) and the FL2−1σ scheme (4.8)–(4.11), respectively. Then there exists a positive constant C such that
Proof. From Eq (2.7), Eq (2.8) and Eqs (4.8)–(4.11), we have the error equations as
Applying Theorem 4.5, we get
Noticing Eq (4.7), we get
which shows that Eq (4.20) is valid with C=FC√1FC(L418C1+2C2).
5.
Numerical experiments
5.1. The nonuniform L1 approximation
It should be pointed out that the proposed difference schemes are based on assumptions that the solution of problem is sufficiently smooth. But the singularity of the time fractional derivative may lead to weak singularity near the initial time which may influence the accuracy of numerical method. Thus, in order to overcome the possible singularity of the solution near t=0, some related techniques have been developed, such as the initial correction techniques, non-uniform discretization and so on [23,24,25,26]. Because of this, a analogously scheme for the problem (1.1)–(1.4) based on the uniform mesh in space and graded mesh in time is first given as follows:
where
and
with xi=ih,tn=(n/N)rT,τn=tn−tn−1, where the constant mesh grading exponent r≥1. It should be noted that the graded mesh will be simplified to a uniform grid when r=1.
5.2. Numerical results
In this subsection, we rely on two numerical examples to verify the availability of the proposed methods.
Let
Example 5.1. First, we consider the following problem
where ω(x)=x2+1 and f(x,t)=cos(πx)Γ(4+α)6t3+(t3+α+1)[cos(πx)−2π2cos(πx)+4xπ3sin(πx)+(x2+1)π4cos(πx)].
It is not difficult to verify that the exact solutions of the problems 5.1 is u(x,t)=cos(πx)(t3+α+1), which satisfies the smoothness requirement in Theorems 3.8 and 4.7.
The numerical accuracy of both schemes are tested with respect to α=0.25,0.5,0.75, respectively. In calculation, we take ε=10−13, which is much less than τ2. The errors and convergence orders of the suggested two schemes are showed in Table 1. We can observe that the values of Ord are always close to 2, which means that the L2−1σ scheme and the FL2−1σ scheme have second order accuracy both in space and time for different α∈(0,1). Table 2 lists the convergence orders of both schemes when τ=h and CPU time with α = 0.5. Obviously, the FL2−1σ scheme is faster than the L2−1σ scheme, especially for small τ.
From the Tables 1, 2, we can see that these numerical results are consistent with the previous theoretical results. It shows the L2−1σ scheme (2.10)–(2.13) and the FL2−1σ scheme (4.8)–(4.11) are convergent with second order accuracy in space and time, and the FL2−1σ scheme is more practical.
Example 5.2. Now, we consider the following problem
where κ=0,ω(x)=ex and
The exact solution of the example 5.2 is u(x,t)=(tα+t3)sinx.
The error and numerical accuracy of scheme (5.1)–(5.6) are listed in Tables 3–5 with respect to α=0.4,0.6,0.8 and some values of grading exponent r, respectively. We keep M=2N in calculation. These results show that the scheme (5.1)–(5.6) has accuracy of order α when r=1, and accuracy of order 2−α when r≥rc=(2−α)/α. The reason for this result is that the smoothness requirement of the solution in Theorems 3.8 and 4.7 is not satisfied.
Example 5.3. Finally, we consider the following space-time variable coefficient problem
where
The exact solution of above problem is also u(x,t)=cos(πx)(t3+α+1), while the variable coefficient function ω(x,t)=(xt)2+1 which depends on the variables x and t.
Similar to the spatially variable coefficient problem, we apply the L2−1σ scheme and the FL2−1σ scheme to solve the problem in Example 5.3. Table 6 presents the numerical results. In calculation, we take ε=10−11. It is shown that the L2−1σ scheme and the FL2−1σ scheme are convergent with second order accuracy in space and time.
6.
Conclusion
In this paper, we propose two second order difference schemes in both space and time for solving the variable coefficient fourth-order fractional sub-diffusion equation subject to the second Dirichlet boundary conditions. The L2−1σ formula and FL2−1σ formula are applied to approximation the time Caputo fractional derivative. Compared with L2−1σ scheme, the FL2−1σ scheme shows the better computational efficiency. The unconditional stability, solvability and convergence of the two schemes are strictly proved by the discrete energy method. The nonuniform L1 approximation for the such problem is also given. Numerical examples are given to verify the effectiveness of both schemes. It should be pointed out that the results in this paper can be directly extended to time-space variable coefficient problems if we constrain the coefficient function ω(w,t) satisfying that 0<C1≤ω(w,t)≤C2.
Acknowledgments
This work described in this paper was supported by the Sichuan Science and Technology Program (Grant No. 2020YJ0110, Grant No. 2022JDTD0019), the National Natural Science Foundation of China (Grant No. 11801389) and the Laurent Mathematics Center of Sichuan Normal University and National-Local Joint Engineering Laboratory of System Credibility Automatic Verification (Grant No. ZD20220105).
Conflict of interest
The authors declare there is no conflict of interest.