ANZIAM J. 46 (E) pp.C871–C887, 2005 C871
Error analysis of an explicit finite difference approximation for the space fractional
diffusion equation with insulated ends
S. Shen ∗ F. Liu ∗†
(Received 8 October 2004, revised 28 June 2005)
Abstract
The space fractional diffusion equation (sfde) is obtained from the classical diffusion equation by replacing the second space derivative by a fractional derivative of order α, 1 < α ≤ 2 . Numerical methods as- sociated with integer-order differential equation, have been extensively treated. On the other hand, studies of the numerical methods and er- ror estimates of fractional order differential equations are quite limited to date. Here, we propose an explicit finite difference approximation (efda) for sfde. An error analysis of the explicit numerical method
∗
School of Mathematical Sciences, Xiamen University, Xiamen 361005, China.
mailto:[email protected].
†
School of Mathematical Sciences, Queensland University of Technology, Queensland 4001, Australia. mailto:[email protected].
See http://anziamj.austms.org.au/V46/CTAC2004/Shen for this article, c Aus-
tral. Mathematical Soc. 2005. Published September 1, 2005. ISSN 1446-8735
ANZIAM J. 46 (E) pp.C871–C887, 2005 C872
for sfde with insulated ends is discussed. We derive the scaling re- striction of the stability and convergence of the explicit numerical method. Finally, some numerical results show the diffusion behaviour according to the order of space-fractional derivative and demonstrate that our efda is computationally simple for sfde.
Contents
1 Introduction C872
2 An explicit finite difference approximation for SFDE C874
3 Method of Lines for SFDE C875
4 Stability analysis of EFDA C876
5 Convergence analysis of EFDA C878
6 Numerical results C881
7 Conclusions C886
References C886
1 Introduction
Recently, fractional derivatives have found new applications in engineering,
physics, finance, and hydrology [10]. The theory of fractional calculus is a
useful mathematical tool for applied sciences. Nevertheless, it is somehow
hard to tackle and only in the last decades have researchers been motivated to
apply the associated concepts. Podlubny [11] introduced a simple geometric
1 Introduction C873
interpretation of several types of fractional-order integration and proposed a physical interpretation of fractional integration in terms of inhomogeneous and changing (non-static, dynamic) time scale. Machado [4] presented a probabilistic interpretation of the fractional-order derivative.
Space fractional diffusion equations have been investigated by West and Seshadri [12] and more recently by Gorenflo and Mainardi [2, 3]. But nu- merical methods and analysis of these fractional equations are very difficult tasks. Some different numerical methods for solving the fractional partial differential equations have been proposed. Liu et al. [5, 6, 7] transformed the partial differential equation into a system of ordinary differential equations (Method of Lines), which was then solved using backward differentiation for- mulas. Fix and Roop [1] developed a least squares finite element solution of a fractional order two-point boundary value problem. Meerschaert et al. [8]
proposed finite difference approximations for fractional advection-dispersion flow equations.
We consider the space fractional diffusion equation (sfde) with insulated ends:
∂u(x, t)
∂t = d(x) ∂
αu(x, t)
∂x
α, 0 < x < L , t ≥ 0 , 1 < α ≤ 2 , (1)
u(x, 0) = ψ(x) , 0 ≤ x ≤ L , (2)
∂u(0, t)
∂x = 0 , ∂u(L, t)
∂x = 0 , t ≥ 0 , (3)
where variable coefficient d(x) > 0 , ∂
αu(x, t)/∂x
αis Caputo’s fractional derivative
0D
αxu(x), which is defined as [10]
∂
αu
∂x
α=
0D
xαu(x) =
(
dmu(x)dxm
, α = m ∈ N ,
1 Γ(m−α)
R
x0
(x − ξ)
m−α−1 dmdξu(ξ)mdξ , m − 1 < α < m , (4) where Γ(·) is the gamma function.
In this paper, an explicit finite difference approximation for the sfde
is presented. The stability and convergence of the explicit finite difference
1 Introduction C874
approximation are analyzed, respectively. Finally, some results show that our numerical method is computationally simple and efficient.
2 An explicit finite difference approximation for SFDE
Suppose h = x/k , k is a positive integer. Using a second order difference approximation, we get
0
D
αxu(x, t)
= 1
Γ(2 − α) Z
x0
1 (x − ξ)
α−1∂
2u(ξ, t)
∂ξ
2dξ
= 1
Γ(2 − α)
k−1
X
j=0
Z
(j+1)h jhz
1−α∂
2u(x − z, t)
∂z
2dz
≈ 1
Γ(2 − α)
k−1
X
j=0
u(x − (j − 1)h, t) − 2u(x − jh, t) + u(x − (j + 1)h, t) h
2×
Z
(j+1)h jhz
1−αdz
= h
−αΓ(3 − α)
k−1
X
j=0
[u(x − (j − 1)h, t) − 2u(x − jh, t) + u(x − (j + 1)h, t)]
× [(j + 1)
2−α− j
2−α]. (5)
Let ∆t = τ > 0 be the grid step in time, t
n= nτ , 0 ≤ t
n≤ T , ∆x =
h > 0 be the grid step in space, x
j= jh , 0 ≤ x
j≤ L for j = 0, 1, . . . , K ,
K = L/h . Let u
n0= u(0, nτ ) , u
n1= u(h, nτ ) , . . ., u
nk−j= u((k − j)h, nτ ) ,
. . ., u
nj= u(jh, nτ ) ; d
j= d(x
j) ; ψ
j= ψ(x
j) .
2 An explicit finite difference approximation for SFDE C875
Now we approximate sfde ( 1) by using an explicit finite-difference ap- proximation (efda):
u
n+1k− u
nkτ = d
kh
−αΓ(3 − α)
k−1
X
j=0
[u
nk−j+1− 2u
nk−j+ u
nk−j−1][(j + 1)
2−α− j
2−α]. (6)
Equation (6) can be rewritten as u
n+1k= b
ku
nk+1+ (1 − 2b
k)u
nk+ b
ku
nk−1+ b
kk−1
X
j=1
g
j[u
nk−j+1− 2u
nk−j+ u
nk−j−1], (7) where b
k= τ d
k/[h
αΓ(3 − α)] , g
k= (k + 1)
2−α− k
2−α.
Equation (7), together with the boundary conditions (u
n0= u
n1, u
nK−1= u
nK), result in the following linear system of equations:
U
n+1= AU
n, (8)
where U
n= (u
n1, u
n2, . . . , u
nK−1)
T, and A = (a
ij) is a matrix of coefficients.
These coefficients, for i = 1, 2, . . . , K − 1 and j = 2, 3, . . . , K − 1 are
a
ij=
0 , when j ≥ i + 2 ,
b
i, when j = i + 1 ,
1 − b
i(2 − g
1) , when j = i = 2, 3, . . . , K − 2 , b
i(1 − 2g
1+ g
2) , when j = i − 1 ,
b
i(g
i−j−1− 2g
i−j+ g
i−j+1) , when j ≤ i − 2 ,
(9)
while a
11= 1 − b
1, a
21= b
2(1 − g
1) , a
i1= b
i(g
i−2− g
i−1) , for 3 ≤ i ≤ K − 1 , a
K−1,K−1= 1 − b
K−1(1 − g
1) .
3 Method of Lines for SFDE
In order to demonstrate the simplicity and efficiency of the efda, the method
of lines for sfde also is presented. This method of lines (mol) is firstly
3 Method of Lines for SFDE C876
introduced by Liu et al. [5, 6, 7] and has been used to solve fractional partial differential equations successfully. The method of lines for sfde can be written as the following form: for 1 < α < 2 , (k = 1, . . . , K − 1),
du
kdt = ¯ b
kk−1
X
j=0
g
j[u
k−j+1− 2u
k−j+ u
k−j−1], (10)
with ¯ b
k= b
k/τ , u
0= u
1, u
K= u
K−1and u
j= u(x
j, t) .
4 Stability analysis of EFDA
Lemma 1 Let A ∈ C
n×nand ρ(A) is the spectral radius of the matrix A, then for any given positive number ε, there exists a norm k · k
mof the matrix A such that kAk
m≤ ρ(A) + ε .
Proof: See [13]. ♠
Theorem 2 The explicit finite-difference scheme (6 ) for sfde ( 1)–(3) is conditionally stable.
Proof: Let λ be an eigenvalue of the matrix A to linear system of equa- tions (8), so that Ax = λx for some nonzero vector x. Choose i so that
|x
i| = max{|x
j| : j = 1, 2, . . . , K − 1}, then P
K−1j=1
a
ijx
j= λx
i, and therefore λ = a
ii+
K−1
X
j=1,j6=i
a
ijx
jx
i. (11)
Substituting the values of a
ijinto (11) we get
4 Stability analysis of EFDA C877
1. when i = 1 :
λ = 1 − b
1+ b
1x
2x
1≤ 1 and
λ = 1 − b
1+ b
1x
2x
1≥ 1 − 2b
1. If b
1≤ 1 , we have |λ| ≤ 1 .
2. when 2 ≤ i ≤ K − 2 :
λ = 1 − b
i(2 − g
1) + b
ix
i+1x
i+ b
ii−1
X
j=2
(g
i−j−1− 2g
i−j+ g
i−j+1) x
jx
i+ b
i(g
i−2− g
i−1) x
1x
i. (12)
We note that g
i> g
i+1> 0 , g
i−j−1− 2g
i−j+ g
i−j+1> 0 , for j = 1, 2, . . . , i − 1 , i = 0, 1, . . . , K − 1 , we have
i−1
X
j=2
(g
i−j−1− 2g
i−j+ g
i−j+1) x
jx
i≤ g
i−1− g
i−2+ g
0− g
1.
Since b
iare non-negative real numbers, from Equation (12), we can get λ ≤ 1 − b
i(2 − g
1) + b
i+ b
i(g
i−1− g
i−2+ g
0− g
1) + b
i(g
i−2− g
i−1) = 1 and
λ ≥ 1 − b
i(2 − g
1) − b
i− b
i(g
i−1− g
i−2+ g
0− g
1) − b
i(g
i−2− g
i−1)
= 1 − 2b
i(2 − g
1) .
If b
i(2 − g
1) ≤ 1 , then λ ≥ −1 . Hence |λ| ≤ 1 . 3. when i = K − 1 :
λ = 1 − b
K−1(1 − g
1) + b
K−1i−1
X
j=2
(g
i−j−1− 2g
i−j+ g
i−j+1) x
jx
i4 Stability analysis of EFDA C878
+ b
K−1(g
i−2− g
i−1) x
1x
i. (13)
Thus
λ ≤ 1 − b
K−1(1 − g
1) + b
K−1(g
i−1− g
i−2+ g
0− g
1) + b
K−1(g
i−2− g
i−1)
= 1 and
λ ≥ 1 − b
K−1(1 − g
1) − b
K−1(g
i−1− g
i−2+ g
0− g
1)
− b
K−1(g
i−2− g
i−1)
= 1 − 2b
K−1(1 − g
1) .
If b
K−1(1 − g
1) ≤ 1 , then λ ≥ −1 . Hence |λ| ≤ 1 .
Combining 1, 2 and 3, we have that if max
2≤i≤K−2{b
1, b
i(2 − g
1), b
K−1(1 − g
1)} ≤ 1 , the spectral radius ρ(A) of the matrix satisfies ρ(A) ≤ 1 . From Lemma 1, we get that if max
2≤i≤K−2{b
1, b
i(2 − g
1), b
K−1(1 − g
1)} ≤ 1 , there exists a positive number ε ≤ Cτ such that kAk
m≤ ρ(A) + Cτ ≤ 1 + O(τ ) . Therefore, efda ( 6) is conditionally stable.
♠
5 Convergence analysis of EFDA
Lemma 3 Let
0
D
αxu(x, t) = h
−αΓ(3 − α)
k−1
X
j=0
g
j[u
nk−j+1− 2u
nk−j+ u
nk−j−1] be a smooth function, then
0
D
xαu(x, t) =
0D
αxu(x, t) + O(h) . (14)
5 Convergence analysis of EFDA C879
Proof: In term of standard centered difference formula, we have
0
D
xαu(x, t) = h
2−αΓ(3 − α)
k−1
X
j=0
g
j∂
2u(x − jh, t)
∂z
2+ O(h
2)
= h
2−αΓ(3 − α)
k−1
X
j=0
g
j∂
2u(x − jh, t)
∂z
2+ h
2−αk
2−αΓ(3 − α) O(h
2)
= h
2−αΓ(3 − α)
k−1
X
j=0
g
j∂
2u(x − jh, t)
∂z
2+ x
2−αΓ(3 − α) O(h
2)
= h
2−αΓ(3 − α)
k−1
X
j=0
g
j∂
2u(x − jh, t)
∂z
2+ O(h
2) . By the integral mean value theorem, we have
0
D
αxu(x, t) = 1 Γ(2 − α)
k−1
X
j=0
Z
(j+1)h jhz
1−α∂
2u(x − z, t)
∂z
2dz
= h
2−αΓ(3 − α)
k−1
X
j=0
g
j∂
2u(x − ξ
j, t)
∂z
2,
where ξ
j∈ [jh, (j + 1)h] . Combining the above two formulae, we have
0D
xαu(x, t) −
0D
αxu(x, t)
=
h
2−αΓ(3 − α)
k−1
X
j=0
g
j∂
2u(x − jh, t)
∂z
2− ∂
2u(x − ξ
j, t)
∂z
2+ O(h
2)
=
h
2−αΓ(3 − α)
k−1
X
j=0
g
j· O(h) + O(h
2)
=
h
2−αk
2−αΓ(3 − α) · O(h) + O(h
2)
5 Convergence analysis of EFDA C880
= O(h) + O(h
2)
= O(h) .
♠
Remark 4 The explicit finite-difference scheme (6) has a local truncation error of e
r= O(τ + h) .
Theorem 5 if max
2≤i≤K−2{b
1, b
i(2−g
1), b
K−1(1−g
1)} ≤ 1 , then the explicit finite-difference scheme (6 ) for sfde ( 1)–(3) is convergent, and the order of convergence is O(τ + h) .
Proof: At the mesh points (x
k, t
n), y
kn= u
nk− e
nk. Substitution into (6) leads to
(u
n+1k− e
n+1k) − (u
nk− e
nk)
τ = d
kh
−αΓ(3 − α)
k−1
X
j=0
g
j[(u
nk−j+1− 2u
nk−j+ u
nk−j−1)
− (e
nk−j+1− 2e
nk−j+ e
nk−j+1)]. (15) Using the Taylor theorem and Lemma 3, we obtain
∂u
∂t
n k+ O(τ ) − e
n+1k− e
nkτ (16)
= d
k∂
αu
∂x
α+ O(h)
− d
kh
−αΓ(3 − α)
k−1
X
j=0
g
j(e
nk−j+1− 2e
nk−j+ e
nk−j−1). (17)
Thus, we have e
n+1k− e
nkτ = d
kh
−αΓ(3 − α)
k−1
X
j=0
g
j(e
nk−j+1− 2e
nk−j+ e
nk−j−1) + [O(τ + h)]. (18)
5 Convergence analysis of EFDA C881
Using the initial and boundary conditions e
0k= 0 , e
n+10= e
n+11, e
n+1K−1= e
n+1K, Equation (16) can be rewritten in matrix form:
E
n+1= AE
n+ M , E
0= 0 , (19)
where E
n= (e
n1, e
n2, . . . , e
nK−1)
Tand M = τ (O(τ + h))(1, 1, . . . , 1)
T. Hence we can get
E
n+1= (A
n+ A
n−1+ · · · + A
2+ A + I)M . (20) Thus
kE
n+1k
∞≤ (kA
nk
∞+ kA
n−1k
∞+ · · · + kAk
∞+ kIk
∞)kM k
∞. (21) Also
kAk
∞= max
1≤i≤K−1 K−1
X
j=1
|a
ij|
= max{|1 − b
1| + b
1, max
2≤i≤K−1
[|1 − b
i(2 − g
1)| + b
i(2 − g
1)],
|1 − b
K−1(1 − g
1)| + b
K−1(1 − g
1)}.
If max
2≤i≤K−2{b
1, b
i(2 − g
1), b
K−1(1 − g
1)} ≤ 1 , then kAk
∞≤ 1 . Thus we can get
kE
n+1k
∞≤ (n + 1)τ |O(τ + h)| .
Consequently, when τ → 0 , h → 0 , we have |e
n+1k| → 0 . This proves that y converges to u as τ and h tend to zero if max
2≤i≤K−2{b
1, b
i(2−g
1), b
K−1(1−
g
1)} ≤ 1 . ♠
6 Numerical results
In this section, the following space fractional diffusion equation (sfde) with insulated ends is considered:
∂u(x, t)
∂t = d ∂
αu(x, t)
∂x
α, 0 < x < π , t ≥ 0 , 1 < α ≤ 2 , (22)
6 Numerical results C882
u(x, 0) = ψ(x) = x
2, 0 ≤ x ≤ π , (23)
∂u(0, t)
∂x = 0 , ∂u(π, t)
∂x = 0 , t ≥ 0 . (24)
When α = 2 , d is a constant, the analytical solution of the heat equation with insulated ends [9] is
u(x, t) = 1 3 π
2+
∞
X
n=1