EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Spectral methods for fractional differential equations using generalized Jacobi functions.pdf

article Jie Shen and Changtao Sheng Spectral methods for fractional differential equations using generalized Jacobi functions Abstract: We present essential properties of the generalized Jacobi functions (GJFs) and their application to construct efficient and accurate spectral methods for a class of fractional differential equations. In particular, it is shown that GJFs allow us to effortlessly compute the stiffness matrices, and resolve the leading singular term for a general class of fractional differential equations. Keywords: fractional differential equations; generalized Jacobi functions; spectral method; Petrov-Galerkin method AMS: 65N35, 65E05, 65M70, 41A05, 41A10 1 Introduction Fractional differential equations (FDEs) have attracted considerable attention in recent years due to their ability to model certain processes which can not be adequately described by usual partial differential equations. Two main difficulties for dealing with FDEs are (i) fractional derivatives are non-local operators; (ii) fractional derivatives involve singular kernel/weight functions, and the solutions of FDEs are usually weakly singular near the boundaries and at initial time. Hence, a straightforward extension of usual polynomial based numerical methods for FDEs are not effective as it usually involves dense matrices even for the simplest FDEs and suffers from low convergence rate due to the weak singularity. Thus, one needs to develop non-standard and non-polynomial based numerical methods to effectively deal with the difficulties associated with FDEs. Jie Shen, Department of Mathematics, Purdue University; School of Mathematical Sciences and Fujian Provincial Key Laboratory on Mathematical Modeling & High Performance Scientific Computing, Xiamen University. This work is supported in part by AFOSR FA9550- 16-1-0102 and NSF DMS-1620262, DMS-1720442. Changtao Sheng, School of Mathematical Sciences and Fujian Provincial Key Laboratory on Mathematical Modeling & High Performance Scientific Computing, Xiamen University. 2 J. Shen and C. Sheng In this paper, we shall focus on some recently developed spectral methods using the generalized Jacobi functions (GJFs) for solving FDEs. Some pioneer work on using spectral methods for solving FDEs are carried out [17, 18]. However, the methods in these papers use the usual polynomial approximations which do not particularly address the two difficulties mentioned above. A breakthrough is made in [32] in which the authors introduced the so called poly-fractonomials, which are eigenfunctions of some fractional Sturm-Liouville operator. So using them as basis functions greatly simplifies the computation of fractional derivatives and leads to sparse matrices for some simple model equations. Furthermore, one can choose suitable parameters in poly-fractonomials so that its leading term is in fact the leading singular term of the corresponding FDE. Thus, the spectral method using poly-fractonomials can also resolve the leading singularity in a FDE. It turns out that the poly-fractonomials introduced in [32] coincide, within certain parameter range, with the generalized Jacobi functions introduced in [10]. In [5], the authors reexamined the generalized Jacobi functions in the context of FDEs and derived optimal approximation results with norms suitable for fractional derivatives. In particular, it is shown in [5] that well constructed spectral methods using GJFs for some typical FDEs can lead to exponential convergence despite the fact that their solutions are weakly singular. Thankstotheaforementionedremarkablepropertiesofthepoly-fractonomials/GJFs with regards to fractional derivatives and fractional differential equations, there is now a significant number of recent work on using the poly-fractonomials/GJFs for different kind of FDEs and singular integral equations, including, for examples, spectral-Galerkin or spectral Petrov-Galerkin methods [31, 11, 36, 23, 21, 28, 15]; spectral collocation methods [35, 36, 15, 12, 14, 34, 13]; DG spectral-element methods [33, 16]. The aim of this paper is not to provide an exhaustive review of all developments with regards to spectral methods for FDEs, rather, it aims to present essential properties of the GJFs, including relations to the fractional derivatives and their approximation results in properly weighted Sobolev spaces, and how one can use them to construct efficient and accurate spectral methods for FDEs. In order to illustrate the idea and advantage of spectral methods using GJFs, we shall consider the following FDE:    γCDα t u(x, t) − pRD β xu(x, t) − (1 − p) RxD β u(x, t) = f(x, t), u(x, t)|∂Λ = 0, ∀t ∈ I := (0, T), u(x, 0) = u0(x), ∀x ∈ Λ = (a, b), (1.1) where 0 < α < 1, 1 < β < 2, p ∈ [0, 1]; CDα t , RD β x and RxD β are the Caputo, left- and right- Riemann Liouville fractional derivative operator, respectively. More spectral methods for FDEs 3 precisely, we shall consider, successively, the following four cases: (i)γ = 0, p = 1: an initial-value problem and a boundary-value problem with one-sided fractional derivative; (ii) γ = 0, p = 1/2: Riesz FDE; (iii)γ = 0, p ̸= 0, 1/2, 1: a boundary- value problem with general two-sided fractional derivatives; and (iv)γ ̸= 0 and p = 1/2: a space-time fractional diffusion equation. The rest of the paper is organized as follows. In the next section, we introduce the GJFs corresponding to the one-sided fractional derivative, Riesz derivative and two-sided fractional derivatives with different coefficients, summarize their special properties, particularly with regards to fractional derivatives, and present approximation results using these GJFs. In Section 3, we construct successively efficient spectral methods using GJFs for the four cases above, and derive their error estimates. We provide some concluding remarks in the last section. Due to the space constraint, we shall not present numerical results in this paper. However, theoretical results presented in this paper have been validated by ample numerical experiments in the correspondingly cited papers. 2 Generalized Jacobi functions and their approximation properties In this section, we collect some basic relations and approximation properties of GJFs with respect to fractional derivatives from [21, 23, 22]. These results will play essential roles in developing efficient algorithms for FDEs and in deriving the corresponding error estimates in the next section. 2.1 Fractional integrals/derivatives We inotrduce below the definitions of fractional integrals/derivatives. Leta < b and denote Λ = (a, b). Definition 2.1(One-sided fractional integrals and derivatives [24, 7]). For ρ ∈ R+, the left and right fractional integrals are respectively defined as I ρ xv(x) = 1 Γ(ρ) xZ a v(y) (x − y)1−ρ dy, x ∈ Λ, xI ρv(x) = 1 Γ(ρ) bZ x v(y) (y − x)1−ρ dy, x ∈ Λ, (2.1) 4 J. Shen and C. Sheng where Γ(·) is the usual Gamma function. For s ∈ [k − 1, k) with k ∈ N, the left-sided Riemann-Liouville fractional derivative of orders is defined by RDs x v(x) = 1 Γ(k − s) dk dxk xZ a v(y) (x − y)s−k+1 dy, x ∈ Λ, (2.2) and the right-sided Riemann-Liouville fractional derivative of orders is defined by R xDsv(x) = (−1)k Γ(k − s) dk dxk bZ x v(y) (y − x)s−k+1 dy, x ∈ Λ. (2.3) For s ∈ [k − 1, k) with k ∈ N, the left-sided Caputo fractional derivatives of order s is defined by CDs x v(x) := 1 Γ(k − s) xZ a v(k)(y) (x − y)s−k+1 dy, x ∈ Λ, (2.4) and the right-sided Caputo fractional derivatives of orders is defined by C xDsv(x) := (−1)k Γ(k − s) bZ x v(k)(y) (y − x)s−k+1 dy, x ∈ Λ. (2.5) According to [7, Thm. 2.14], we have that for any absolutely integrable function v, and reals ≥ 0; RDs x I s xv(x) = v(x), R xDsxI sv(x) = v(x), a.e. in Λ. (2.6) The following lemma shows the relationship between the Riemann-Liouville and Caputo fractional derivatives (see, e.g., [7, 24]). Lemma 2.1. For s ∈ [k − 1, k) with k ∈ N, we have RDs t u(t) = CDs t u(t) + k−1X j=0 u(j)(a) Γ(1 + j − s)(t − a)j−s. (2.7) Definition 2.2. (Riesz fractional integrals and derivatives [25]) Forρ ∈ [0, 1), the Riesz fractional integral of orderρ is defined as I ρv(x) := 1 2 cos(πρ/2)(I ρ x + xI ρ)v(x), x ∈ Λ. (2.8) For ρ ∈ [2k − 1, 2k) with k ∈ N, the Riesz fractional derivative (RFD) of order ρ is defined by: Dρv(x) := D2kI2k−ρv(x). (2.9) spectral methods for FDEs 5 The following results [8, 17] play fundamental roles in the analysis of FDEs. Lemma 2.2. For all 0 < α < 2 and α ̸= 1, we have (RDα t v, w)Λ = RD α 2 t v, R t D α 2 w  Λ, ∀v, w ∈ H α/2 0 (Λ); (2.10) Lemma 2.3. For all α > 0 and that α − 1/2 is not an integer, we have RD α 2 t v, R t D α 2 v  Λ ∼= ∥v∥2 H α/2 0 (Λ), ∀v ∈ H α/2 0 (Λ). (2.11) In the sequel, we usec to denote a generic constant. 2.2 GJFs for one-sided fractional derivatives We start by considering the one-sided fractional derivatives. Unless otherwise specified, we setΛ = (−1, 1). 2.2.1 Jacobi polynomials and Bateman’s fractional integral formula According to [30, (4.21.2)], the classical Jacobi polynomials with parametersα, β ∈ R can be defined by P (α,β) n (x) = (α + 1)n n! 2F1  − n, n + α + β + 1; α + 1; 1 − x 2  (2.12) where 2F1(a, b; c; x) is the hypergeometric function, and the rising factorial in the Pochhammer symbol, fora ∈ R and j ∈ N0, is defined by (a)0 = 1; ( a)j := a(a + 1) · · ·(a + j − 1) = Γ(a + j) Γ(a) , for j ≥ 1. (2.13) For α, β > −1, the classical Jacobi polynomials are orthogonal with respect to the Jacobi weight function:ω(α,β)(x) = (1 − x)α(1 + x)β, namely, 1Z −1 P (α,β) n (x)P (α,β) n′ (x)ω(α,β)(x)dx = γ(α,β) n δnn′ , (2.14) where δnn′ is the Dirac Delta symbol, and the normalization constant is given by γ(α,β) n = 2α+β+1Γ(n + α + 1)Γ(n + β + 1) (2n + α + β + 1)n!Γ(n + α + β + 1). (2.15) 6 J. Shen and C. Sheng The following fractional integral formula of hypergeometric functions due to Bateman [3] (also see [2, P. 313]) plays an important role in the computation of fractional integrals/derivatives: for realc, ρ ≥ 0, 2F1(a, b; c + ρ; x) = Γ(c + ρ) Γ(c)Γ(ρ) x1−(c+ρ) xZ 0 tc−1(x − t)ρ−1 2F1(a, b; c; t) dt, |x| < 1. (2.16) One derives easily from (2.12) and (2.16) the following results (cf. [30, P. 96]): Lemma 2.4. Let ρ ∈ R+, n ∈ N0 and x ∈ Λ. (i) For α > −1 and β ∈ R, (1 − x)α+ρ P (α+ρ,β−ρ) n (x) P (α+ρ,β−ρ) n (1) = Γ(α + ρ + 1) Γ(α + 1)Γ(ρ) 1Z x (1 − y)α (y − x)1−ρ P (α,β) n (y) P (α,β) n (1) dy. (2.17) (ii) For α ∈ R and β > −1, (1 + x)β+ρ P (α−ρ,β+ρ) n (x) P (β+ρ,α−ρ) n (1) = Γ(β + ρ + 1) Γ(β + 1)Γ(ρ) xZ −1 (1 + y)β (x − y)1−ρ P (α,β) n (y) P (β,α) n (1) dy. (2.18) Using the notation in Definition 2.1, we can rewrite the formulas in Lemma 2.4 as follows. Lemma 2.5. Let ρ ∈ R+, n ∈ N0 and x ∈ Λ. – For α > −1 and β ∈ R, xI ρ (1 − x)αP (α,β) n (x) = Γ(n + α + 1) Γ(n + α + ρ + 1)(1 − x)α+ρP (α+ρ,β−ρ) n (x). (2.19) – For α ∈ R and β > −1, I ρ x  (1 +x)βP (α,β) n (x) = Γ(n + β + 1) Γ(n + β + ρ + 1)(1 +x)β+ρP (α−ρ,β+ρ) n (x). (2.20) Thanks to(2.6), we obtain from Lemma 2.5 the following useful “inverse” rules. Lemma 2.6. Let s ∈ R+, n ∈ N0 and x ∈ Λ. – For α > −1 and β ∈ R, R xDs (1 − x)α+sP (α+s,β−s) n (x) = Γ(n + α + s + 1) Γ(n + α + 1) (1 − x)αP (α,β) n (x). (2.21) spectral methods for FDEs 7 – For α ∈ R and β > −1, RDs x  (1 + x)β+sP (α−s,β+s) n (x) = Γ(n + β + s + 1) Γ(n + β + 1) (1 + x)βP (α,β) n (x). (2.22) Theabovelemmasareremarkableinthesensethatfractionalintegrals/derivatives of functions in the form of(1 ± x)αP (α,β) n can be expressed in the same form with a set of different parameters(α, β). In other words, theglobal fractional integral/derivative operators becomelocal operators in suitable "spectral" spaces. In particular, if α = 0 in (2.21), the fractional derivative operator RxDs takes (1 − x)sP (s,β−s) n (x) to the polynomial P (0,β) n (x); conversely, if α + s = k ∈ N0, RxDs takes the polynomial (1 − x)kP (k,β−s) n (x) to (1 − x)k−sP (k−s,β) n (x). Such remarkable properties are essential for constructing efficient spectral algorithms for FDEs. Definition 2.3(One-sided generalized Jacobi functions [5]). Define +J(−α,β) n (x) := (1 − x)αP (α,β) n (x), for α > −1, β ∈ R, (2.23) and −J(α,−β) n (x) := (1 + x)βP (α,β) n (x), for α ∈ R, β > −1, (2.24) for all x ∈ Λ and n ∈ N0. 2.2.2 Some important properties of GJFs It follows straightforwardly from (2.14) and Definition 2.3 that forα, β > −1, 1Z −1 +J(−α,β) n (x)+J(−α,β) n′ (x) ω(−α,β)(x) dx = 1Z −1 −J(α,−β) n (x)−J(α,−β) n′ (x) ω(α,−β)(x) dx = γ(α,β) n δnn′ , (2.25) Similarly, we have that forα > −1 and k ∈ N, and n, n′ ≥ k,, 1Z −1 +J(−α,−k) n (x) +J(−α,−k) n′ (x) ω(−α,−k)(x) dx = 1Z −1 −J(−k,−α) n (x) −J(−k,−α) n′ (x) ω(−k,−α)(x) dx = γ(α,−k) n δnn′ , (2.26) 8 J. Shen and C. Sheng where γ(α,β) n and γ(α,−k) n are some constants which can be found in [5]. With the above definitions, we can rewrite Lemma 2.6 as Theorem 2.1. Let s ∈ R+, n ∈ N0 and x ∈ Λ. – For α > s − 1 and β ∈ R, R xDs+J(−α,β) n (x) = Γ(n + α + 1) Γ(n + α − s + 1) +J(−α+s,β+s) n (x). (2.27) – For α ∈ R and β > s − 1, RDs x −J(α,−β) n (x) = Γ(n + β + 1) Γ(n + β − s + 1) −J(α+s,−β+s) n (x). (2.28) The analysis of GJFs essentially relies on the orthogonality of fractional derivatives of GJFs. Recall the derivative formula of the classical Jacobi polynomials (see, e.g., [29, P. 72]): forα, β > −1 and n ≥ l, DlP (α,β) n (x) = κ(α,β) n,l P (α+l,β+l) n−l (x), (2.29) where κ(α,β) n,l is some constant. Noting thatRxDs+l = (−1)lDlRxDs and RDs+lx = DlRDsx for s ∈ R+ and l ∈ N, we derive from(2.14) and (2.27)-(2.29) the following orthogonality relations: – For α > 0, α + β > −1, and n, n′ ≥ l ≥ 0, 1Z −1 R xDα+l +J(−α,β) n (x) R xDα+l +J(−α,β) n′ (x) ω(l,α+β+l)(x) dx = h(α,β) n,l δnn′ , (2.30) where hα,β n,l := 2α+β+1Γ2(n + α + 1)Γ(n + α + β + l + 1) (2n + α + β + 1)n!(n − l)!Γ(n + α + β + 1). (2.31) – For α + β > −1, β > 0, and n, n′ ≥ l ≥ 0, 1Z −1 RDβ+l x −J(α,−β) n (x) RDβ+l x −J(α,−β) n′ (x) ω(α+β+l,l)(x) dx = h(β,α) n,l δnn′ . (2.32) 2.2.3 Approximation by the one-sided GJFs We show below that approximation by GJFs can lead to truly spectral convergence for functions in properly weighted Sobolev spaces involving fractional derivatives. spectral methods for FDEs 9 For simplicity of presentation, we only provide the results −J(α,−β) n . Similar results can be established for +J(−α,β) n [5]. Let PN be the set of all algebraic (real-valued) polynomials of degree at most N. Let ϖ(x) > 0, x ∈ Λ, be a generic weight function. The weighted spaceL2ϖ(Λ) is defined as in Adams [1] with the inner product and norm (u, v)ϖ = Z Λ u(x)v(x)ϖ(x)dx, ∥u∥ϖ = (u, u)1/2 ϖ . If ϖ ≡ 1, we omit the weight function in the notation. We define the finite-dimensional fractional-polynomial space: −F(α,−β) N (Λ) = {ϕ = (1 + x)βψ : ψ ∈ P N } = span{−J(α,−β) n : 0 ≤ n ≤ N }, By the orthogonality (2.25), we can expand anyu ∈ L2 ω(α,−β)as u(x) = ∞X n=0 ˆu(α,−β) n −J(α,−β) n (x), (2.33) where ˆu(α,−β) n = 1 γ(α,β) n 1Z −1 u−J(α,−β) n ω(α,−β)dx, and there holds the Parseval identity: ∥u∥2 ω(α,−β) = ∞X n=0 γ(α,β) n |ˆu(α,−β) n |2. (2.34) Consider the L2 ω(α,−β)-orthogonal projection onto−F(α,−β) N (Λ):  −π(α,−β) N u − u, vN  ω(α,−β) = 0, ∀vN ∈ −F(α,−β) N (Λ). (2.35) Then, it is easy to derive from (2.28) that for anyl ∈ N0, we have  RDβ+l x (−π(α,−β) N u − u), DlwN  ω(α+β+l,l) = 0, ∀wN ∈ P N(Λ). (2.36) To describe the projection error, we define −Bm α,β(Λ) :=  u ∈ L2 ω(α,−β)(Λ) : RDβ+l x u ∈ L2 ω(α+β+l,l)(Λ) for 0 ≤ l ≤ m . (2.37) By (2.32) and (2.33), we have that for(α, β) ∈ −Σα,β :=  (α, β) : β > 0, α > −1 and l ∈ N0 ∥RDβ+l x u∥2 ω(α+β+l,l) = ∞X n=l h(β,α) n,l |ˆu(α,−β) n |2. (2.38) 10 J. Shen and C. Sheng Theorem 2.2. Let (α, β) ∈ −Σα,β, and u ∈ −Bm α,β(Λ). – For 0 ≤ l ≤ m, we have RDβ+l x (−π(α,−β) N u − u) ω(α+β+l,l) ≤ cN l−m RDβ+m x u ω(α+β+m,m) . (2.39) – For 0 ≤ m, we also have theL2 ω(α,−β)-estimate: −π(α,−β) N u − u ω(α,−β) ≤ cN −(β+m) RDβ+m x u ω(α+β+m,m) . (2.40) Proof. By (2.33), (2.35) and (2.38), we have RDβ+l x (−π(α,−β) N u − u) 2 ω(α+β+l,l) = ∞X n=N+1 h(β,α) n,l |ˆu(α,−β) n |2 = ∞X n=N+1 h(β,α) n,l h(β,α) n,m h(β,α) n,m |ˆu(α,−β) n |2 ≤ h(β,α) N+1,l h(β,α) N+1,m RDβ+m x u 2 ω(α+β+m,m) . (2.41) We now estimate the constant factor. By (2.13), (2.31) and a direct calculation, we find that for0 ≤ l ≤ m ≤ N, h(β,α) N+1,l h(β,α) N+1,m = Γ(N + α + β + l + 2)(N − m + 1)! Γ(N + α + β + m + 2)(N − l + 1)! = 1 (N + α + β + 2 + l) · · ·(N + α + β + 1 + m) (N − m + 1)! (N − l + 1)! ≤ N l−m (N − m + 1)! (N − l + 1)! , (2.42) where we used the fact:α + β > −1. Thus, we obtain (2.39) from (2.41), (2.42) and the property of the Gamma function. The L2 ω(α,−β)-estimates can be obtained by using the same argument. We sketch the derivation below. By (2.34) and (2.38), −π(α,−β) N u − u 2 ω(α,−β) = ∞X n=N+1 γ(α,β) n |ˆu(α,−β) n |2 = ∞X n=N+1 γ(α,β) n h(β,α) n,m h(β,α) n,m |ˆu(α,−β) n |2 ≤ γ(α,β) N+1 h(β,α) N+1,m RDβ+m x u 2 ω(α+β+m,m) . (2.43) Working out the constants by (2.15) and (2.31), we use the property of the Gamma function again to get that γ(α,β) N+1 h(β,α) N+1,m = Γ(N + α + 2)Γ(N + m + 2)(N − m + 1)! Γ(N + β + 2)Γ(N + α + β + m + 2)(N + m + 1)! ≤ cN −2(β+m). (2.44) spectral methods for FDEs 11 Remark 2.1. Note that the error estimates, in the above theorem and in subse- quent theorems, depend on the smoothness of fractional derivatives of the function, instead of the usual smoothness. To better understand the above results, we consider a typical solution of a one-sided fractional differential equation u(x) = (1 − x)βg(x), β ∈ R+, x ∈ Λ, (2.45) where g is a smooth function, and compare the GJF approximation with the Legendre approximation. Recall the bestL2-approximation of u by its orthogonal projection πL N u (see, e.g., [29, Ch. 3]): ∥πL N u − u∥ ≤ cN1−m∥Dmu∥ω(m,m) . If β is not an integer, a direct calculation shows that the righthand side is only bounded for m < 1 + 2β − ϵ. On the other hand, using the explicit formulas for fractional integral/derivative of(1 + x)β and the Leibniz’ formula (see [7, Ch. 2]), we find thatRDβ+m x u is integrable for anym ∈ N0, so the convergence by GJF approximation is faster than any algebraic rate. Remark 2.2. The results in Theorem 2.2 can be extended to some other(α, β) /∈ −Σα,β, we refer to [5] for more detail. 2.3 GJFs for Riesz derivatives The Riesz derivatives include both the left- and right-sided fractional derivatives so the one-sided GJFs defined above are not suitable. Instead, we define a new class of GJFs: J −µ,−ν n (x) = (1 − x)µ(1 + x)ν P (µ,ν) n (x), µ, ν > −1. (2.46) It can be derived from(2.14) that the general Jacobi functionsJ −µ,−ν n (x) are mutually orthogonal: 1Z −1 J −µ,−ν n (x)J −µ,−ν m (x)ω(−µ,−ν)(x) = γ(µ,ν) n δmn, (2.47) and F−µ,−ν N (Λ) :=  J −µ,−ν n (x) : n = 0, 1, · · · , N . (2.48) For Riesz derivatives, we shall useJ −α,−α n (x) which satisfied the following: Theorem 2.3. If s ∈ (2k − 1, 2k) with k ∈ N, then I2k−sJ − s 2 ,− s 2 m (x) = (−1)k Γ(m + s + 1 − 2k) 2−2km! P ( s 2 −2k, s 2 −2k) m+2k (x), (2.49) 12 J. Shen and C. Sheng and for j = 0, 1, · · · , 2k − 1, Ds−j J − s 2 ,− s 2 m (x) = 2j(−1)k Γ(m − j + 1 + s) m! P ( s 2 −j, s 2 −j) m+j (x). (2.50) We point out in particular that withj = 0 in (2.50), we have Corollary 2.1. If s ∈ (2k − 1, 2k) with k ∈ N, then DsJ − s 2 ,− s 2 m (x) = (−1)k Γ(m + 1 + s) m! P ( s 2 , s 2 ) m (x). (2.51) Let s ∈ (2k − 1, 2k) with k ∈ N, and l ∈ N0, we denote for anym ∈ N0 Bm s (Λ) := {u ∈ L2 ω(− s 2 ,− s 2 )(Λ) : Ds−k+lu ∈ L2 ω( s 2 −k+l, s 2 −k+l)(Λ), for 0 ≤ l ≤ m}. (2.52) By the orthogonality (2.47), we can expand anyu ∈ L2 ω(−α,−α)(Λ) as u(x) = ∞X n=0 ˆu(−α,−α) n J −α,−α n (x), (2.53) and there holds the Parseval identity: ∥u∥2 ω(−α,−α) = ∞X n=0 γ(α,α) n |ˆu(−α,−α) n |2. (2.54) Moreover, for any 2α ∈ (2k − 1, 2k) with k ∈ N, we have ∥D2α−k+lu∥2 ω(α−k+l,α−k+l) = ∞X n=l h(α,α) n,l |ˆu(−α,−α) n |2. (2.55) Theorem 2.4. Assume 2α ∈ (2k − 1, 2k) and k ∈ N. Let u ∈ B m 2α(Λ). We have ∥D2α−k+l(π(−α,−α) N u−u)∥ω(α−k+l,α−k+l) ≤ cN l−m∥D2α−k+mu∥ω(α−k+m,α−k+m) , (2.56) and ∥π(−α,−α) N u − u∥ω(−α,−α) ≤ cN k−(2α+m)∥D2α−k+mu∥ω(α−k+m,α−k+m) . (2.57) Proof. By (2.68) (withµ = ν = α) and (2.55), we have D2α−k+l(π(−α,−α) N u − u) 2 ω(α−k+l,α−k+l) = ∞X n=N+1 h(α,α) n,l |ˆu(−α,−α) n |2 = ∞X n=N+1 h(α,α) n,l h(α,α) n,m h(α,α) n,m |ˆu(−α,−α) n |2 ≤ h(α,α) N+1,l h(α,α) N+1,m D2α−k+mu ω(α−k+m,α−k+m) . (2.58) spectral methods for FDEs 13 We now estimate the constant factor. Similar to the proof in Theorem 2.2, we find that for 0 ≤ l ≤ m ≤ N, h(α,α) N+1,l h(α,α) N+1,m ≤ N l−m (N + k − m + 1)! (N + k − l + 1)! . (2.59) Thus, we obtain (2.56) from (2.58), (2.59) and the property of the Gamma function. The L2 ω(−α,−α)-estimates can be obtained by using the same argument. We sketch the derivation below. By (2.54) and (2.55), π(−α,−α) N u − u 2 ω(−α,−α) = ∞X n=N+1 γ(α,α) n |ˆu(−α,−α) n |2 = ∞X n=N+1 γ(α,α) n h(α,α) n,m h(α,α) n,m |ˆu(α,α) n |2 ≤ γ(α,α) N+1 h(α,α) N+1,m D2α−k+mu ω(α−k+m,α−k+m) . Similarly, by (2.15) and (2.31), we obtain that γ(α,α) N+1 h(α,α) N+1,m = (N + 1)!(N + k + m + 1)!(N + k − m + 1)! Γ(N + 2α + 2)Γ(N + 2α − k + m + 2)(N + k + m + 1)! ≤ N2k−(4α+2m). This completes the proof. 2.4 GJFs for two-sided fractional derivatives with different coefficients For 1 < β < 2, 0 < µ, ν < β, µ + ν = β, 0 ≤ p ≤ 1 and p ̸= 1/2, we define the two-sided fractional integral operator Iµ,ν,ρ p := Cβ,p(pI ρ x + (1 − p)xI ρ), (2.60) where Cβ,p := C(β, µ, ν) = sin(πµ) + sin(πν) sin(πβ) . Then for s ∈ (k − 1, k), we define the two-sided fractional derivative operator Dµ,ν,s p := dk dxk Iµ,ν,k−s p . (2.61) It turns out that suitable basis functions for dealing with two-sided FDEs with different coefficients are of the formJ −µ,−ν n (x) where (µ, ν) are determined as follows ([9, 22]): 14 J. Shen and C. Sheng Theorem 2.5. Given (p, β) such that 0 ≤ p ≤ 1 and 1 < β < 2, let (µ, ν) be determined from µ + ν = β, p sin(πµ) = (1 − p) sin(πν), (2.62) then for n = 0, 1, 2, · · ·, it holds that Iµ,ν,2−β p J −µ,−ν n (x) = 4Γ(n + β − 1) n! P (ν−2,µ−2) n+2 (x), (2.63) and for k = 1, 2, · · · , n + 2, Dµ,ν,k+β−2 p J −µ,−ν n (x) = Γ(n + k + β − 1) 2k−2n! P (ν−2+k,µ−2+k) n+2−k (x). (2.64) In particular, fork = 2, Dµ,ν,β p J −µ,−ν n (x) = Γ(n + β + 1) n! P (ν,µ) n (x). (2.65) For the sake of simplicity, we shall denote Iµ,ν,ρ p and Dµ,ν,ρ p by Iρ p and Dρ p, respectively. By virtue of(2.14), a consequent result of equation(2.64) is the orthogonality of Dβ+l p for l = −1, 0, 1, · · · , min{m, n}. If (µ, ν) and (p, β) satisfy the conditions of Theorem 2.5, then 1Z −1 Dβ+l p J −µ,−ν m (x)Dβ+l p J −µ,−ν n (x)ω(ν+l,µ+l)(x)dx = 0, ∀n ̸= m, (2.66) 1Z −1 Dβ+l 1−pJ −µ,−ν m (x)Dβ+l 1−pJ −µ,−ν n (x)ω(ν+l,µ+l)(x)dx = 0, ∀n ̸= m. (2.67) We define  π(−µ,−ν) N u − u, vN  ω(−µ,−ν) = 0, ∀vN ∈ F−µ,−ν N (Λ), (2.68) and for µ, ν satisfying (2.62), we denote ˜Bm β,p(Λ) := {u ∈ L2 ω(−µ,−ν)(Λ) : Dβ+l p u ∈ L2 ω(ν+l,µ+l)(Λ), for − 1 ≤ l ≤ m}. (2.69) Then, we have the approximation results for the projection errors. spectral methods for FDEs 15 Theorem 2.6. Assume 1 < β < 2 and let u ∈ ˜Bm β,p(Λ) with m ∈ N. Then for a given p, 0 ≤ p ≤ 1, if 0 < µ, ν < β , and µ, ν satisfying (2.62), we have that, for −1 ≤ l ≤ m ≤ N, ∥Dβ+l p (π(−µ,−ν) N u − u)∥ω(ν+l,µ+l) ≤ cN l−m∥Dβ+m p u∥ω(ν+m,µ+m) , (2.70) and ∥π(−µ,−ν) N u − u∥ω(−µ,−ν) ≤ cN −(β+m)∥Dβ+m p u∥ω(ν+m,µ+m) . (2.71) Proof. The proof is similar to that of Theorem 2.4. 3 Spectral methods for FDEs based on generalized Jacobi functions In this section, we present spectral methods using the GJFs defined in the last section to solve several typical fractional differential equations. 3.1 Fractional differential equations with one-sided fractional derivative We consider first a fractional initial value problem, followed by a fractional boundary value problem with one-sided fractional derivative. 3.1.1 A fractional initial value problem (FIVP) As the first example, we consider the fractional initial value problem of order s ∈ (0, 1): CDs t u(t) = f(t), t ∈ I := (0, T); u(0) = u0. (3.1) For the non-homogeneous initial conditionsu(0) = u0, we first decompose the solution u(t) into two parts as u(t) = uh(t) + u0, (3.2) with uh(0) = 0. By definition, CDs t u0 = 0, we then derive from (2.7) that the equation (3.1) is equivalent to the following equation with Riemann-Liouville fractional derivative: RDs t uh(t) = f(t), t ∈ I := (0, T); uh(0) = 0. (3.3) 16 J. Shen and C. Sheng A Petrov-Galerkin scheme for(3.3) is: find uh N ∈ −F(−s,−s) N (I) (defined in (2.2.3)) such that (RDs t uh N , vN) = (f, vN), ∀ vN ∈ P N(I). (3.4) We expandf(t) as f(t) = ∞X n=0 ˜fn ˜Pn(t), (3.5) where ˜Pn(t) := P (0,0) n (x(t)), x(t) = (2t − T )/T is the shifted Legendre polynomial of degree n on I, and write uh N(t) = NX n=0 ˜u(s) n −˜J(−s,−s) n (t) ∈ −F(−s,−s) N (I). (3.6) Taking vN = ˜Pl(t) in (3.4), we obtain from(2.28) and the orthogonality of Legendre polynomials that ˜u(s) n = n! Γ(n + s + 1) ˜fn, 0 ≤ n ≤ N. (3.7) Therefore, we obtain the numerical solutionuh N without solving any algebraic equation. Hence, the method is very efficient. As for the error estimate, we have the following result [5]: Theorem 3.7. Let uh and uh N be the solution of (3.3) and (3.4), respectively. Then ∥RDs t (uh − uh N)∥ ≤ cN −m∥f(m)∥ω(m−1,m−1) . (3.8) Proof. Let −π(−s,−s) N uh be as defined in (2.35) for0 < s < 1. By (2.28), we have RDs t (−π(−s,−s) N uh − uh), ψ  = 0, ∀ ψ ∈ P N . Then by (3.3), f − RDs t −π(−s,−s) N uh, ψ  = RDs t uh − RDs t −π(−s,−s) N uh, ψ  = 0, ∀ ψ ∈ P N . Let πN f be the L2-orthogonal projection off upon PN . We infer from the above that RDs t −π(−s,−s) N uh = πN f = RDs t uh N. Therefore, ∥RDs t (uh − uh N)∥ = RDs t (uh − −π(−s,−s) N uh) ≤ RDs t (uh − −π(−s,−s) N uh) + ∥πN f − f ∥. (3.9) It follows from Theorem 2.2 (withα = −β = s and 0 < s < 1), and the Legendre approximation results (see, e.g., [29, Ch. 3]) that ∥RDs t (uh − uh N)∥ ≤ cN −m ∥RDs+m t uh ω(m,m) + ∥f(m)∥ω(m−1,m−1)  . (3.10) spectral methods for FDEs 17 We deduce from (3.1) that RDs+m t uh ω(m,m) ≤ c f(m) ω(m−1,m−1) . 3.1.2 One sided fractional boundary value problems Now we consider an one-sided fractional boundary value problem R xDν u(x) = f(x), x ∈ Λ = (−1, 1); u(±1) = 0, (3.11) where ν ∈ (1, 2). Let s = ν − 1 and introduce the solution and test function spaces: U :=  u ∈ L2 ω(−s,−1)(Λ) : R xDs u ∈ L2 ω(0,s−1)(Λ) ; V :=  v ∈ L2 ω(−1,−s)(Λ) : Dv ∈ L2 ω(0,1−s)(Λ) , (3.12) equipped with the norms ∥u∥U = ∥u∥2 ω(−s,−1) + ∥R xDsu∥2 ω(0,s−1) 1/2; ∥v∥V = ∥v∥2 ω(−1,−s) + ∥Dv∥2 ω(0,1−s) 1/2. (3.13) For u ∈ U and v ∈ V, we write u(x) = ∞X n=1 ˆun+J(−s,−1) n (x) = (1 − x)s(1 + x) ∞X n=1 ˜unP (s,1) n−1 (x), v(x) = ∞X n=1 ˆvn−J(−1,−s) n (x) = (1 − x)(1 + x)s ∞X n=1 ˜vnP (1,s) n−1 (x). (3.14) With the above setup, we can build in the homogenous boundary conditions and also perform fractional integration by parts. Hence, a weak form of(3.11) is to find u ∈ U such that a(u, v) := (R xDsu, Dv ) = (f, v), ∀ v ∈ V. (3.15) Let +F(−s,−1) N (Λ)and −F(−1,−s) N (Λ)be the finite-dimensional spaces as defined in the previous section. Then the GJF-Petrov-Galerkin scheme for(3.15) is to find uN ∈ +F(−s,−1) N (Λ) such that a(uN , vN) = (R xDsuN , Dv N) = (f, vN), ∀ vN ∈ −F(−1,−s) N (Λ). (3.16) 18 J. Shen and C. Sheng We derive from (2.27) andRD1x = d dx that a(+J(−s,−1) n (x), −J(−1,−s) m (x)) = Cs n,m(+J(0,s−1) n (x), −J(0,1−s) m (x)) = 0 ∀n ̸= m. (3.17) Hence, we can obtainuN directly without solving any algebraic equation. To characterise the regularity ofu, we define for anym ∈ N0, +Bm α,β(Λ) :=  u ∈ L2 ω(−α,β)(Λ) : R xDα+lu ∈ L2 ω(l,α+β+l)(Λ) for 0 ≤ l ≤ m . (3.18) Theorem 3.8. Let s ∈ (0, 1), and let u and uN be the solutions of (3.15) and (3.16), respectively. Ifu ∈ U ∩ +Bm s,−1(Λ) with 0 ≤ m ≤ N, then we have the error estimates: ∥u − uN ∥U ≤ cN −m R xDs+mu ω(m,s−1+m) . (3.19) In particular, iff(m−1) ∈ L2 ω(m,s−1+m)(Λ) for m ≥ 1, we have ∥u − uN ∥U ≤ cN −m f(m−1) ω(m,s−1+m) . (3.20) Here, c is a positive constant independentu, N and m. Proof. We derive from (3.15) and (3.16) that a(u − uN , vN) = 0 ∀ vN ∈ −F(−1,−s) N (Λ), which, along with(3.17), implies immediately thatuN = +π(−s,−1) N u. Hence, the desiredresultsfollowfromTheorem4.1in[ 5]andthefact RxDν u = RxDs+1u = f. 3.2 Fractional boundary value problems with Riesz derivatives We consider first the so called Riesz fractional differential equations, followed by a more general case with a zeroth-order term. 3.2.1 Riesz fractional differential equations We consider the Riesz fractional equation of order2α ∈ (2k − 1, 2k) with k ∈ N: (−1)kD2αu(x) =f(x), x ∈ Λ, u(l)(±1) =0, l = 0, 1, · · · , k − 1. (3.21) spectral methods for FDEs 19 A Petrov-Galerkin spectral method for(3.21) is: Find uN ∈ F−α,−α N such that (−1)k(D2αuN , vN)ω(α,α) = (f, vN)ω(α,α) , ∀vN ∈ PN . (3.22) The solution to this discrete problem can be found directly as follows. Given f(x) = ∞X m=0 fmP (α,α) m (x), (3.23) and write uN(x) = NX n=0 ˆunJ −α,−α n (x). (3.24) Plugging the above in(3.22), using(2.51) and the orthogonality of{P (α,α) m } in L2 ω(α,α)(Λ), we find ˆun = fn . 2 cos(πα)Γ(n + 1 + 2α) n!  , ∀ 0 ≤ n ≤ N. (3.25) As for the error estimate, we have Theorem 3.9. Assuming f(j) ∈ L2 ωα+j,α+j (Λ) for 0 ≤ j ≤ m, we have ∥u − uN ∥ω(−α,−α) ≤ cN −2α−m∥f(m)∥ω(α+m,α+m) . (3.26) ∥D2α(u − uN)∥ω(α,α) ≤ cN −m∥f(m)∥ω(α+m,α+m) . (3.27) Proof. It is clear from (3.25) thatuN = π(−α,−α) N u. Hence, by (2.57), we have ∥u−uN ∥ω(−α,−α) = ∥u−π(−α,−α) N u∥ω(−α,−α) ≤ cN −2α−m∥D2α+mu∥ω(α+m,α+m) . On the other hand, we derive from (2.56) withk = l = 0 that ∥D2αu−uN ∥ω(α,α) = ∥D2α(u−π(−α,−α) N u)∥ω(α,α) ≤ cN −m∥D2α+mu∥ω(α+m,α+m) . Since D2α+mu = f(m),weobtainthedesiredresultsfromtheabovetwoinequalities. 3.2.2 A more general case In the previous examples, we have developed optimal spectral methods using GJFs in the sense that (i) the numerical solution can be determined directly without solving any algebraic equation; and (ii) the error converges faster than any algebraic 20 J. Shen and C. Sheng rate as long as the righthand side functionf is smooth, despite the fact that the solution is weakly singular at the endpoint(s). However, it is not possible to construct such optimal spectral methods for more general FDEs. Nevertheless, using proper GJFs still allows us to (i) deal with fractional derivatives efficiently, and (ii) resolve the leading singular term in the solution. Consider for example ρu(x) − D2αu(x) = f, x ∈ Λ = (−1, 1), u(±1) = 0, (3.28) where ρ > 0 and 2α ∈ (1, 2). A GJF spectral Galerkin approximation to (3.28) is: find uN ∈ F−α,−α N (Λ) such that a(uN , vN) := ρ(uN , vN) − (D2αuN , vN) = (f, vN), ∀vN ∈ F−α,−α N (Λ). (3.29) Setting uN(x) = NX n=0 ˜unJ −α,−α n (x). (3.30) Setting uN(x) = NX n=0 ˜unJ −α,−α n (x), U = (˜u0, ˜u1, · · · , ˜uN), mjk = (J −α,−α k (x), J −α,−α j (x)), s jk = −(D2αJ −α,−α k (x), J −α,−α j (x)), M = (mjk), S = (sjk), ˜fj = (f, J −α,−α j (x)), F = ( ˜f0, ˜f1, · · · , ˜fN)T . (3.31) Then, (3.29) reduces to the following matrix system: (ρM + S)U = F. We recall from (2.50), (2.14) thatS is a diagonal matrix sjk = 22α+1Γ(k + α + 1)2 (k!)2(2k + 2α + 1) δjk . (3.32) The mass matrixM is full but its entries can be evaluated exactly (cf. [4]): mjk = 1Z −1 (1 − x2)αP (α,α) j (x)(1 − x2)αP (α,α) k (x)dx = (−1) j−k 2 (j + k)! 2j+kj!k! (−j − α) j+k 2 (−k − α) j+k 2 (2α + 3 2) j+k 2 j+k 2 ! √πΓ(2α + 1) Γ(2α + 3 2) , (3.33) where the Pochhammer symbol(a)ν = Γ(a+ν) Γ(a) . spectral methods for FDEs 21 Lemma 3.7. For all u ∈ {u ∈ L2 ω−α,−α(Λ) : D2αu ∈ L2(Λ)}, we have ∥u∥2 ω(−α,−α) ≤ −(D2αu, u). (3.34) Proof. We writeu =P∞ i=0 ˜uiJ −α,−α i (x), so that ∥u∥2 ω(−α,−α) = ∞X i=0 ˜u2 i γ(α,α) i . By Theorem 2.3 and (2.14), we have −(D2αu, u) = (− ∞X i=0 ˜uiD2αJ −α,−α i , ∞X j=0 ˜uj J −α,−α j ) = ( ∞X i=0 ˜ui Γ(i + 2α + 1) i! P (α,α) i , ∞X j=0 ˜uj P (α,α) j )ω(α,α) = ∞X i=0 Γ(i + 2α + 1) i! ˜u2 i γ(α,α) i . We can easily to get the desired result (3.34) by comparing the above results. We define the energy norm associated with (3.28) by ∥u∥2 Bα = ρ(u, u) − (D2αu, u). (3.35) Theorem 3.10. Assume 2α ∈ (1, 2). Let u and uN be the solution of(3.28) and (3.29), then we have ∥u − uN ∥Bα ≤ N1−m∥D2α−1+mu∥ω(α−1+m,α−1+m) . (3.36) Proof. Let us denoteeuN := π(−α,−α) N u and eN :=euN − uN. We derive from (3.28) and (3.29) that a(eN , vN) = ρ(eN , vN) − (D2αeN , vN) = ρ(euN − u, vN) − (D2α(euN − u), vN), ∀v ∈ F−α,−α N (Λ). Taking vN = eN in the above, we derive from (3.35) and Cauchy-Schwarz inequality that ∥eN ∥2 Bα := ρ(eN , eN) − (D2αeN , eN) ≤ ρ∥π(−α,−α) N u − u∥ω(α,α) ∥eN ∥ω(−α,−α) + ∥D2α(π(−α,−α) N u − u)∥ω(α,α) ∥eN ∥ω(−α,−α) . The above and Lemma 3.7 lead to ∥eN ∥Bα ≤ ρ∥π(−α,−α) N u − u∥ω(−α,−α) + ∥D2α(π(−α,−α) N u − u)∥ω(α,α) . 22 J. Shen and C. Sheng Then, by Theorem 2.4, the right hand side terms of (3.39) can be estimate as ∥π(−α,−α) N u − u∥ω(−α,−α) ≤ cN1−(2α+m)∥D2α−1+mu∥ω(α−1+m,α−1+m) , (3.37) and ∥D2α(π(−α,−α) N u − u)∥ω(α,α) ≤ cN1−m∥D2α−1+mu∥ω(α−1+m,α−1+m) , (3.38) which implied that ∥eN ∥Bα ≤ cN1−m∥D2α−1+mu∥ω(α−1+m,α−1+m) . (3.39) On the other hand, − (D2α(u − π(−α,−α) N u), u − π(−α,−α) N u) ≤ ∥D2α(π(−α,−α) N u − u)∥ω(α,α) ∥u − π(−α,−α) N u∥ω(−α,−α) . Since ∥u − π(−α,−α) N u∥ ≤ ∥ u − π(−α,−α) N u∥ω(−α,−α) . We find from the above that ∥u − π(−α,−α)u∥Bα ≤ ρ∥u − π(−α,−α) N u∥ω(−α,−α) + ∥D2α(π(−α,−α) N u − u)∥ω(α,α) . Finally, sinceu − uN = u − ˜uN + eN, combining the above with(3.39), (3.37) and (3.38), we obtain the desired result. Remark 3.1. We emphasize that unlike in previous examples, here we can not easily bound the errors in terms off. In particular, the smoothness off does not imply that the righthand side of(3.45) is bounded for anym. Hence, only an algebraic convergence rate can be achieved in this case. 3.3 Two-sided fractional differential equations with different coefficients We consider the two-sided fractional differential equation Dβ p u(x) := Cβ,p(pRDβ x u(x) + (1 − p)R xDβu(x)) = f(x), x ∈ Λ, u(±1) = 0, (3.40) where 1 < β < 2, 0 ≤ p ≤ 1, C β,p defined in (2.4), andf(x) is a given function. spectral methods for FDEs 23 Let µ, ν satisfy (2.62) and 0 < µ, ν < β . A Petrov-Galerkin spectral method for (3.40) is: FinduN ∈ F−µ,−ν N such that (Dβ p uN , vN)ω(ν,µ) = (f, vN)ω(ν,µ) , ∀vN ∈ P N . (3.41) The solution to this discrete problem can be found directly as follows. We expand f(x) as f(x) = ∞X m=0 fmP (ν,µ) m (x), (3.42) and write uN(x) = NX n=0 ˆunJ −µ,−ν n (x). (3.43) Plugging (3.43) and (3.42) in (3.41), using(2.65) and the orthogonality of{P (ν,µ) m } in L2 ω(ν,µ)(Λ), we find ˆun = fn .Γ(n + 1 + β) n!  , ∀ 0 ≤ n ≤ N. (3.44) As for the error estimate, we have Theorem 3.11. Assuming f(j) ∈ L2 ω(ν+j,µ+j)(Λ) for 0 ≤ j ≤ m, let u and uN be the solution of (3.40) and (3.41), then we have ∥u − uN ∥ω(−µ,−ν) ≤ cN −β−m∥f(m)∥ω(ν+m,µ+m) . (3.45) ∥Dβ p (u − uN)∥ω(ν,µ) ≤ cN −m∥f(m)∥ω(ν+m,µ+m) . (3.46) Proof. It is clear from (3.44) thatuN = π(−µ,−ν) N u. Hence, by (2.71), we have ∥u − uN ∥ω(−µ,−ν) = ∥u − π(−µ,−ν) N u∥ω(−µ,−ν) ≤ cN −β−m∥Dβ+m p u∥ω(ν+m,µ+m) . On the other hand, we derive from (2.70) withl = 0 that ∥Dβ p (u − uN)∥ω(ν,µ) = ∥Dβ p (u − π(−µ,−ν) N u)∥ω(ν,µ) ≤ cN −m∥Dβ+m p u∥ω(ν+m,µ+m) . Since Dβ+m p u = f(m), we obtain the desired results from the above. 3.4 Space-time fractional differential equations As the last example, we consider CDα t u(x, t) − D2βu(x, t) = f(x, t), ∀(x, t) ∈ Q = Λ × I, u(x, t)|∂Λ = 0, ∀t ∈ I := (0 < T ), u(x, 0) = u0(x) ∀x ∈ Λ, (3.47) 24 J. Shen and C. Sheng where α ∈ (0, 1), 2β ∈ (1, 2). To deal with the non-homogeneous initial condition, we first decompose the solutionu(x, t) into two parts as u(x, t) = uh(x, t) + u0(x), (3.48) with uh(x, 0) = 0. Hence, the equation(3.47) is equivalent to the following with Riemann-Liouville fractional derivative: RDα t uh(x, t) − D2βuh(x, t) = g(x, t), ∀(x, t) ∈ Q, uh(x, 0) = 0, ∀x ∈ Λ, uh(x, t)|∂Λ = 0, ∀t ∈ I, (3.49) where g(x, t) = f(x, t) + D2βu0(x). We consider the following weak formulation of (3.49): findu ∈ X, such that A(uh, v) := (RDα t uh, v)Q − (D2βuh, v)Q = (g, v)Q, ∀v ∈ Y, (3.50) and describe a space-time spectral method for solving the above equation. For the time variable, we shall use the shifted fractional polynomial space. Let x(t) = 2 t/T − 1. We denote ˜P (α,β) n (t) = P (α,β) n (x(t)), −˜J(−α,−α) n (t) := tα ˜P (−α,α) n (t), and −F(−α,−α) N (I) = span{−˜J(−α,−α) n (t) : 0 ≤ n ≤ N }. (3.51) For the space variable, we shall useF−β,−β M defined in(2.48). Then, the Petrov- Galerkin method for (3.49) is: finduh L(x, t) := uh M N ∈ F−β,−β M ⊗ −F(−α,−α) N such that A(uh L, v) := (RDα t uh L, v)Q −(D2βuh L, v)Q = (g, v)Q, ∀v ∈ F−β,−β M ⊗ PN . (3.52) We first describe an efficient algorithm for solving(3.52) similar to the one used in [23]. We write uh L(x, t) = MX m=0 NX n=0 euh mnJ −β,−β m (x)−˜J(−α,−α) n (t). (3.53) For the test function, we take vL = J −β,−β p (x)L(α) q (t) where L(α) q (t) := κq,α ˜P (0,0) q (t) with κq,α = q!(2q + 1) T · Γ(q + α + 1). Substituting the above in into(3.52), we obtain MX m=0 NX n=0 euh mn n (J −β,−β m , J −β,−β p ) (RDα t −˜J(−α,−α) n , L(α) q ) − (D2βJ −β,−β m , J −β,−β p ) (−˜J(−α,−α) n , L(α) q ) o = (g, J −β,−β p L(α) q )Q. (3.54) spectral methods for FDEs 25 Denote gpq = (g, J −β,−β p (x)L(α) q (t))Q, G = (gpq)0≤p≤M,0≤q≤N , st pq = Z I RDα t −˜J(−α,−α) q (t)L(α) p (t)dt, m t pq = Z I −˜J(−α,−α) q (t)L(α) p (t)dt, U = (euh mn)0≤m≤M,0≤n≤N , St = (st pq)0≤p,q≤N , M t = (mt pq)0≤p,q≤N . Note thatSt is a diagonal matrix,M t is not sparse but its entries can be accurately computed by Jacobi-Gauss quadrature with index(0, α). Then, from (3.4), we find that(3.52) is equivalent to the following linear system: M xU(St)T + SxU(M t)T = G, (3.55) where M x and Sx are the mass and stiffness matrix in thex-direction defined in (3.31). Sx is a diagonal matrix andM x is full but symmetric. The linear system (3.55) can be solved efficiently by using the matrix diagonalization method [26]. Indeed, let E := (¯e0, · · · , ¯eN) = ( epq)p,q=0,··· ,N be the matrix formed by the orthonormal eigenvectors of the generalized eigenvalue problemM x¯ej = λj Sx¯ej and Λ = diag(λ0, · · · , λN), i.e., M xE = Sx EΛ. (3.56) Setting U = EV, and multiplying both sides of (3.55) by(SxE)−1 = ET Sx, we arrive at Λ V (St)T + V (M t)T = H := ET SxG. (3.57) Hence, let vm and hm be the m-th row ofV and H, respectively, the above matrix equation becomes: (λmSt + M t)vm = hm, 0 ≤ m ≤ M, (3.58) which we solve directly withLU decomposition. Once we obtainV, we setU = EV. Finally, we obtain the numerical solutions of (3.47) byuL = uh L + u0. We now turn to the error estimate. Thanks to(3.34), we can define the following norm: ∥v∥X α,β(Q) :=  ∥RDα t v∥2 Q − (D2βv, v)Q 1/2 . 26 J. Shen and C. Sheng Theorem 3.12. Let uh and uh L be the solutions of(3.50) and (3.52), respectively. Then we have the following error estimates: ∥u − uL∥X α,β(Q) ≲ M1−(2β+m)∥D2β−1+m(RDα t u)∥L2 ω(β−1+m,β−1+m)(Λ;L2(I)) +N −(α+n) RDα+n t (D2βu) L2(Λ;L2 ω(n,n)(I)) +M1−m∥D2β−1+mu∥L2 ω(β−1+m,β−1+m)(Λ;L2 ω(−α,−α)(I)) +N −n RDα+n t u L2 ω(−β,−β)(Λ;L2 ω(n,n)(I)). Proof. Let us denote˜uh L := −π(−α,−α) N π(−β,−β) M uh = π(−β,−β) M −π(−α,−α) N uh and eL := ˜uh L − uh L. We derive from(3.49) and (3.52) that for all∀vL ∈ F−β,−β M ⊗ PN, we have b(eL, vL) : = (RDα t eL, v)Q − (D2βeL, vL)Q = (RDα t (euh L − uh), vL)Q − (D2β(euh L − uh), vL)Q = RDα t (π(−β,−β) M uh − uh), vL  Q − (D2β(−π(−α,−α) N uh − uh), vL)Q. Taking vL = RDα t eL (∈ F−β,−β M ⊗ PN) in the above equation, we obtain that (RDα t eL, RDα t eL)Q − (D2βeL, RDα t eL)Q = (RDα t (π(−β,−β) M uh − uh), RDα t eL)Q − (D2β(−π(−α,−α) N uh − uh), RDα t eL)Q. (3.59) Thanks to the generalized Poincaŕe inequality [8]: ∥u∥L2(I) ≤ c∥RDα t u∥L2(I), we derive from Lemmas 2.2-2.3, (3.59) that (D2βeL, eL)Q ≲ (D2β(RD α 2 t eL), RD α 2 t eL  Q ∼= (D2β(R t D α 2 eL), RD α 2 t eL  Q = (D2βeL, RDα t eL)Q, (3.60) This, along with equation (3.59), yields ∥RDα t eL∥2 Q + (D2βeL, eL)Q ≤ ∥ RDα t (π(−β,−β) M uh − uh)∥Q ∥RDα t eL Q +∥D2β(−π(−α,−α) N uh − uh)∥Q ∥RDα t eL∥Q, which implies ∥eL∥2 X α,β(Q) := ∥RDα t eL∥2 Q + (D2βeL, eL)Q ≲ ∥RDα t (π(−β,−β) M uh − uh)∥2 Q + ∥D2β(−π(−α,−α) N uh − uh)∥2 Q. spectral methods for FDEs 27 The two terms at the right-hand side can be bounded by using Lemma 2.2 and Lemma 2.4 as follows: ∥RDα t (π(−β,−β) M uh − uh)∥Q ≲ ∥RDα t (π(−β,−β) M uh − uh)∥L2 ω(−β,−β)(Λ;L2(I)) ≲ M1−(2β+m)∥D2β−1+m(RDα t u)∥L2 ω(β−1+m,β−1+m)(Λ;L2(I)), and ∥D2β(−π(−α,−α) N uh − uh)∥Q ≲ ∥D2β(−π(−α,−α) N uh − uh)∥L2(Λ;L2 ω(−α,−α)(I)) ≲ N −(α+n) RDα+n t (D2βu) L2(Λ;L2 ω(n,n)(I)). Combining the above estimates, we arrive at ∥eL∥X α,β(Q) ≲M1−(2β+m)∥D2β−1+m(RDα t u)∥L2 ω(β−1+m,β−1+m)(Λ;L2(I)) + N −(α+n) RDα+n t (D2βu) L2(Λ;L2 ω(n,n)(I)). (3.61) On the other hand, we haveuh − uh L = u − ˜uh L + eL. Then, using Lemma 2.2 and Lemma 2.4 again yields (D2β(˜uh − uh), ˜uh − uh)Q ≤ ∥D2β(˜uh − uh)∥L2 ω(β,β )(Λ;L2 ω(α,α)(I))∥˜uh − uh∥L2 ω(−β,−β)(Λ;L2 ω(−α,−α)(I)) ≤ ∥D2β(˜uh − uh)∥2 L2 ω(β,β )(Λ;L2 ω(α,α)(I)) + ∥˜uh − uh∥2 L2 ω(−β,−β)(Λ;L2 ω(−α,−α)(I)) := I1 + I2. Similarly, these two terms can be estimated as follows: I1 ≤ ∥D2βπ(−β,−β) M (−π(−α,−α) N uh − uh)∥2 L2 ω(β,β )(Λ;L2 ω(α,α)(I)) +∥D2β(π(−β,−β) M uh − uh)∥2 L2 ω(β,β )(Λ;L2 ω(α,α)(I)) ≤ ∥D2β(−π(−α,−α) N uh − uh)∥2 L2 ω(β,β )(Λ;L2 ω(−α,−α)(I)) +∥D2β(π(−β,−β) M uh − uh)∥2 L2 ω(β,β )(Λ;L2 ω(α,α)(I)) ≤ cN −2(α+n) RDα+n t (D2βu) 2 L2(Λ;L2 ω(n,n)(I)) +M2−2m∥D2β−1+mu∥2 L2 ω(β−1+m,β−1+m)(Λ;L2(I)). and I2 ≤ ∥ −π(−α,−α) N (π(−β,−β) M uh − uh)∥2 L2 ω(−β,−β)(Λ;L2 ω(−α,−α)(I)) +∥−π(−α,−α) N uh − uh∥2 L2 ω(−β,−β)(Λ;L2 ω(−α,−α)(I)) ≤ ∥π(−β,−β) M uh − uh∥2 L2 ω(−β,−β)(Λ;L2 ω(−α,−α)(I)) +∥−π(−α,−α) N uh − uh∥2 L2 ω(−β,−β)(Λ;L2 ω(−α,−α)(I)) ≤ cM2−2(2β+m)∥D2β−1+mu∥2 L2 ω(β−1+m,β−1+m)(Λ;L2 ω(−α,−α)(I)) +cN −2(α+n) RDα+n t u 2 L2 ω(−β,−β)(Λ;L2 ω(n,n)(I)). 28 J. Shen and C. Sheng Moreover, we have ∥RDα t (π(−β,−β) M −π(−α,−α) N uh − uh)∥Q ≤ ∥ RDα t −π(−α,−α) N (π(−β,−β) M uh − uh)∥Q + ∥RDα t (−π(−α,−α) N uh − uh)∥Q ≤ ∥ RDα t (π(−β,−β) M uh − uh)∥Q + ∥RDα t (−π(−α,−α) N uh − uh)∥Q ≲ cM1−(2β+m)∥D2β−1+m(RDα t u)∥L2 ω(β−1+m,β−1+m)(Λ;L2(I)) +cN −n RDα+n t u L2(Λ;L2 ω(n,n)(I)). Consequently, the desired result follows from the above estimates and the triangle inequality. Remark 3.2. Note that the error estimate in the above theorem can not be easily expressed in terms of the data(f, u0). In particular, the space-time Petrov- Galerkin method (3.52) will not lead to high-order convergence, even iff and u0 are sufficiently smooth, due to the singularities of the solution att = 0 and x = ±1. However, the leading singular term in time and in space is included in our approximation space so our method will lead to better convergence rate than those based on the polynomial approximations. 4 Concluding remarks We presented in this article essential properties of the GJFs and their application to a class of fractional differential equations. In particular, we showed that (i) by using suitable GJFs, the non-local fractional operators become local operators in the space spanned by GJFs; (ii) for simple FDEs, the spectral methods using GJFs can lead to exponential convergence rate despite the non-smoothness of the solution in usual Sobolev spaces; and (iii) for more general FDEs, a suitable spectral method using GJFs is still very efficient as the non-local fractional stiffness matrices can be easily computed, and furthermore, it is also more accurate than using a usual polynomial based method as the GJFs include the leading singular term of the underlying FDEs. We only consider one dimensional FDEs in this paper. For multi-dimensional fractional PDEs with only fractional derivative in time, one can couple the GJF spectral method in time with a usual spatial approximation to construct a space- time Petrov-Galerkin method. It can still be efficiently solved by using the matrix diagonalization method as in the last subsection, we refer to [27] for more detail. As for FDEs with multi-dimensional fractional operators in space, one has to construct appropriate numerical methods with respect to the specific definitions of fractional operator. In particular, the GJFs for Riesz equation in one-dimension can REFERENCES 29 be extended to deal with fractional Laplacian by the integral definition on the multi- dimensional balls [20]. On the other hand, for fractional Laplacian defined through the spectral decomposition of the Laplacian operator, one can use the Caffarelli- Silvestre extension to cast the fractional Laplacian equation ind-dimension into an extended problem ind + 1-dimension with regular derivatives and a weakly singular weight in the extended direction. Then, one can construct efficient and accurate spectral method in the extended direction to couple with any consistent approximation in space, for more detail, we refer to [6]. For other types of multi- dimensional fractional PDEs, we refer to a recent review paper [19] for a nice presentation on different definitions of fractional Laplacian and their numerical treatments. References [1] R. A. Adams.Sobolev Spaces. Academic Press, New York, 1975. [2] George E Andrews, Richard Askey, Ranjan Roy, et al. Special functions, encyclopedia of mathematics and its applications, 1999. [3] Harry Bateman. The solution of linear differential equations by means of definite integrals.Trans. Camb. Phil. Soc, 21:171–196, 1909. [4] Lizhen Chen, Zhiping Mao, and Huiyuan Li. Jacobi-galerkin spectral method for eigenvalue problems of riesz fractional differential equations. arXiv preprint arXiv:1803.03556. [5] S. Chen, J. Shen, and L. L. Wang. Generalized Jacobi functions and their applications to fractional differential equations.Math. Comput., 85(300):1603– 1638, 2016. [6] Sheng Chen and Jie Shen. An efficient and accurate method for the fractional Laplacian equation using the Caffarelli-Silvestre extension. Preprint. [7] K. Diethelm. The Analysis of Fractional Differential Equations. Springer- Verlag, Berlin, 2010. [8] V. J. Ervin and J. P. Roop. Variational formulation for the stationary fractional advection dispersion equation.Numer. Meth. Part. D. E., 22(3):558–576, 2006. [9] V.J. Ervin, N. Heuer, and J.P. Roop. Regularity of the solution to 1-d fractional order diffusion equations. Preprint, 2016. [10] Ben-Yu Guo, Jie Shen, and Li-Lian Wang. Generalized jacobi polyno- mials/functions and their applications. Applied Numerical Mathematics, 59(5):1011–1028, 2009. [11] DianmingHouandChuanjuXu. Afractionalspectralmethodwithapplications to some singular problems.Adv. Comput. Math., 43(5):911–944, 2017. 30 REFERENCES [12] Can Huang, Yujian Jiao, Li-Lian Wang, and Zhimin Zhang. Optimal fractional integration preconditioning and error analysis of fractional collocation method using nodal generalized Jacobi functions.SIAM J. Numer. Anal., 54(6):3357– 3387, 2016. [13] Can Huang and Martin Stynes. A spectral collocation method for a weakly singular Volterra integral equation of the second kind.Adv. Comput. Math., 42(5):1015–1030, 2016. [14] Yujian Jiao, Li-Lian Wang, and Can Huang. Well-conditioned fractional collocation methods using fractional Birkhoff interpolation basis.J. Comput. Phys., 305:1–28, 2016. [15] Ehsan Kharazmi, Mohsen Zayernouri, and George Em Karniadakis. Petrov- Galerkin and spectral collocation methods for distributed order differential equations. SIAM J. Sci. Comput., 39(3):A1003–A1037, 2017. [16] Ehsan Kharazmi, Mohsen Zayernouri, and George Em Karniadakis. A Petrov- Galerkin spectral element method for fractional elliptic problems.Comput. Methods Appl. Mech. Engrg., 324:512–536, 2017. [17] X. Li and C. Xu. A space-time spectral method for the time fractional diffusion equation. SIAM Journal on Numerical Analysis, 47(3):2108–2131, 2009. [18] X. Li and C. Xu. Existence and uniqueness of the weak solution of the space-time fractional diffusion equation and a spectral method approximation. Communications in Computational Physics, 8(5):1016, 2010. [19] Anna Lischke, Guofei Pang, Mamikon Gulian, Fangying Song, Christian Glusa, Xiaoning Zheng, Zhiping Mao, Mark M. Meerschaert Wei Cai, Mark Ainsworth, and George Em Karniadakis. What is the fractional Laplacian? arXiv:1801.09767. [20] Suna Ma, Huiyuan Li, and Zhiming Zhang. Efficient spectral methods for the fractional laplacian. Preprint. [21] Zhiping Mao, Sheng Chen, and Jie Shen. Efficient and accurate spectral method using generalized jacobi functions for solving riesz fractional differential equations. Applied Numerical Mathematics, 106:165–181, 2016. [22] Zhiping Mao and George Em Karniadakis. A spectral method (of exponential convergence) for singular solutions of the diffusion equation with general two-sided fractional derivative.SIAM J. Numer. Anal., 56(1):24–49, 2018. [23] Zhiping Mao and Jie Shen. Efficient spectral-Galerkin methods for fractional partial differential equations with variable coefficients.J. Comput. Phys., 307:243–261, 2016. [24] I. Podlubny. Fractional Differential Equations. Academic Press, New York, 1999. [25] S. G. Samko, A. A. Kilbas, and O. I. Marichev.Fractional Integrals and REFERENCES 31 Derivatives:Theory and Applications. Gordon and Breach Science, Yverdon, Switzerland, 1993. [26] Jie Shen. Efficient spectral-galerkin method i. direct solvers of second-and fourth-order equations using legendre polynomials.SIAM Journal on Scientific Computing, 15(6):1489–1505, 1994. [27] Jie Shen and Changtao Sheng. An efficient space-time method for time fractional diffusion equation. Preprint. [28] Jie Shen, Changtao Sheng, and Zhongqing Wang. Generalized Jacobi spectral- Galerkin method for nonlinear Volterra integral equations with weakly singular kernels. J. Math. Study, 48(4):315–329, 2015. [29] Jie Shen, Tao Tang, and Li-Lian Wang.Spectral methods: algorithms, analysis and applications, volume 41. Springer Science & Business Media, 2011. [30] G. Szegö. Orthogonal Polynomials (fourth edition), volume 23. AMS Coll. Publ., 1975. [31] Mohsen Zayernouri, Mark Ainsworth, and George Em Karniadakis. A unified Petrov-Galerkin spectral method for fractional PDEs.Comput. Methods Appl. Mech. Engrg., 283:1545–1569, 2015. [32] Mohsen Zayernouri and George Em Karniadakis. Fractional Sturm-Liouville eigen-problems: theory and numerical approximation. J. Comput. Phys., 252:495–517, 2013. [33] Mohsen Zayernouri and George Em Karniadakis. Exponentially accurate spectral and spectral element methods for fractional ODEs.J. Comput. Phys., 257(part A):460–480, 2014. [34] Mohsen Zayernouri and George Em Karniadakis. Fractional spectral collo- cation methods for linear and nonlinear variable order FPDEs.J. Comput. Phys., 293:312–338, 2015. [35] Fanhai Zeng, Zhiping Mao, and George Em Karniadakis. A generalized spectral collocation method with tunable accuracy for fractional differential equations with end-point singularities.SIAM J. Sci. Comput., 39(1):A360–A383, 2017. [36] Zhongqiang Zhang, Fanhai Zeng, and George Em Karniadakis. Optimal error estimates of spectral Petrov-Galerkin and collocation methods for initial value problems of fractional differential equations.SIAM J. Numer. Anal., 53(4):2074–2096, 2015.

采集于

查看校方原文 ↗