Research article Special Issues

Approximate solutions of the 2D space-time fractional diffusion equation via a gradient-descent iterative algorithm with Grünwald-Letnikov approximation

  • We consider the two-dimensional space-time fractional differential equation with the Caputo's time derivative and the Riemann-Liouville space derivatives on bounded domains. The equation is subjected to the zero Dirichlet boundary condition and the zero initial condition. We discretize the equation by finite difference schemes based on Grünwald-Letnikov approximation. Then we linearize the discretized equations into a sparse linear system. To solve such linear system, we propose a gradient-descent iterative algorithm with a sequence of optimal convergence factor aiming to minimize the error occurring at each iteration. The convergence analysis guarantees the capability of the algorithm as long as the coefficient matrix is invertible. In addition, the convergence rate and error estimates are provided. Numerical experiments demonstrate the efficiency, the accuracy and the performance of the proposed algorithm.

    Citation: Adisorn Kittisopaporn, Pattrawut Chansangiam. Approximate solutions of the 2D space-time fractional diffusion equation via a gradient-descent iterative algorithm with Grünwald-Letnikov approximation[J]. AIMS Mathematics, 2022, 7(5): 8471-8490. doi: 10.3934/math.2022472

    Related Papers:

    [1] Abdul Samad, Imran Siddique, Fahd Jarad . Meshfree numerical integration for some challenging multi-term fractional order PDEs. AIMS Mathematics, 2022, 7(8): 14249-14269. doi: 10.3934/math.2022785
    [2] Krunal B. Kachhia, Jyotindra C. Prajapati . Generalized iterative method for the solution of linear and nonlinear fractional differential equations with composite fractional derivative operator. AIMS Mathematics, 2020, 5(4): 2888-2898. doi: 10.3934/math.2020186
    [3] Abdul Samad, Imran Siddique, Zareen A. Khan . Meshfree numerical approach for some time-space dependent order partial differential equations in porous media. AIMS Mathematics, 2023, 8(6): 13162-13180. doi: 10.3934/math.2023665
    [4] Fawaz K. Alalhareth, Seham M. Al-Mekhlafi, Ahmed Boudaoui, Noura Laksaci, Mohammed H. Alharbi . Numerical treatment for a novel crossover mathematical model of the COVID-19 epidemic. AIMS Mathematics, 2024, 9(3): 5376-5393. doi: 10.3934/math.2024259
    [5] Muhammad Asim Khan, Norma Alias, Umair Ali . A new fourth-order grouping iterative method for the time fractional sub-diffusion equation having a weak singularity at initial time. AIMS Mathematics, 2023, 8(6): 13725-13746. doi: 10.3934/math.2023697
    [6] Zeshan Qiu . Fourth-order high-precision algorithms for one-sided tempered fractional diffusion equations. AIMS Mathematics, 2024, 9(10): 27102-27121. doi: 10.3934/math.20241318
    [7] Wei Fan, Kangqun Zhang . Local well-posedness results for the nonlinear fractional diffusion equation involving a Erdélyi-Kober operator. AIMS Mathematics, 2024, 9(9): 25494-25512. doi: 10.3934/math.20241245
    [8] Fouad Mohammad Salama, Nur Nadiah Abd Hamid, Norhashidah Hj. Mohd Ali, Umair Ali . An efficient modified hybrid explicit group iterative method for the time-fractional diffusion equation in two space dimensions. AIMS Mathematics, 2022, 7(2): 2370-2392. doi: 10.3934/math.2022134
    [9] Erdal Bas, Ramazan Ozarslan . Theory of discrete fractional Sturm–Liouville equations and visual results. AIMS Mathematics, 2019, 4(3): 593-612. doi: 10.3934/math.2019.3.593
    [10] Jocelyn SABATIER, Christophe FARGES . Initial value problems should not be associated to fractional model descriptions whatever the derivative definition used. AIMS Mathematics, 2021, 6(10): 11318-11329. doi: 10.3934/math.2021657
  • We consider the two-dimensional space-time fractional differential equation with the Caputo's time derivative and the Riemann-Liouville space derivatives on bounded domains. The equation is subjected to the zero Dirichlet boundary condition and the zero initial condition. We discretize the equation by finite difference schemes based on Grünwald-Letnikov approximation. Then we linearize the discretized equations into a sparse linear system. To solve such linear system, we propose a gradient-descent iterative algorithm with a sequence of optimal convergence factor aiming to minimize the error occurring at each iteration. The convergence analysis guarantees the capability of the algorithm as long as the coefficient matrix is invertible. In addition, the convergence rate and error estimates are provided. Numerical experiments demonstrate the efficiency, the accuracy and the performance of the proposed algorithm.



    In modern days, fractional differential equations (FDEs) play an important role in applied mathematics, science, and engineering; see e.g. [1,2,3,4]. FDEs are powerful to model many physical phenomena due to a noninteger order in time and space.

    Let us consider the standard two-dimensional (2D) diffusion equation (see e.g. [5]).

    u(x,t)tΔu(x,t)=0, (1.1)

    where xVR2 and t[0,T]R+. Here, Δ denotes the Laplacian operator with respect to the spatial variable x=(x,y)R2.

    In physical contexts, the function u(x,t) represents the density of a diffusing material at location x and time t. Let us denote the Gamma function by Γ. From Eq (1.1), if we replace the first-order time derivative with the Caputo's derivative [2]

    CD1tu(x,y,t)=ut(x,y,t),andCDβtu(x,y,t)=1Γ(1β)t0u(x,y,τ)τdτ(tτ)βfor0<β<1,

    and replace the second-order space derivative with the Riemann-Liouville derivatives [6].

    RLD2xu(x,y,t)=2ux2(x,y,t),andRLDα1xu(x,y,t)=1Γ(2α1)2x2x0u(ξ,y,t)(xξ)α11dξfor1<α1<2,

    and similarly for RLDα2yu(x,y,t), then we get the 2D space-time fractional diffusion equation (e.g. [7]).

    CDβtu(x,y,t)RLDα1xu(x,y,t)RLDα2yu(x,y,t)=f(x,y,t). (1.2)

    Here, we impose the function f(x,y,t) on the right hand side of the equation. Physical interpretations restrict the fractional orders so that α1(1,2], α2(1,2], and β(0,1]. When β=1, Eq (1.2) is known as the 2D time fractional diffusion equation.

    In recent years, there are many studies about theory of (1D or 2D) space-time (or time) fractional diffusion equations and related equations, e.g. [8,9,10,11,12,13]. These differential equations were successfully used to describe many physical phenomena, e.g. random walk models [14,15,16,17], and anomalous diffusion processes [18,19,20,21].

    In general, FDEs do not posses exact solutions in closed froms. Thus, numerical methods have been implemented for several types of FDEs, e.g. the variational iteration method [22], the homotopy analysis method [23,24], Adomian decomposition method [25,26], B-spline collocation schemes [27,28,29,30], and the collocation method based on fractional Legendre functions [31]. There are also numerical methods using either finite difference or finite element methods to a discretization of certain FDEs; see e.g. [32,33,34,35,36]. Finite difference techniques based on Grünwald-Letnikov approximation for fractional derivatives were investigated by many authors, e.g. [1,37,38].

    The main objective of the present paper is to propose an iterative algorithm to produce well-approximated solutions of the 2D space-time fractional diffusion Eq (1.2), subjected to the zero Dirichlet boundary condition and the zero initial condition. First, we discretize Eq (1.2) via Grünwald-Letnikov approximation for the Riemann-Liouville and the Caputo derivatives (see Section 3). Then, we linearize the discretized equations into a linear system with a sparse cofficient matrix. In particular, we discuss the numerical scheme for its interesting special case, namely, the 2D time fractional diffusion equation. To solve the linear system, we apply the gradient-descent technique to derive an iterative procedure with suitable directions and step sizes (see Section 4). We show that the produced approximate solutions converge to a unique solution for any given initial vector (see Section 5). Theoretical performance of the proposed algorithm are discussed through the convergence rate and error estimates. We verify the capability and theoretical performance of the proposed algorithm by making two numerical experiments (see Section 6). We compare the performance of the proposed algorithm with well-known iterative methods for linear systems in the literature, e.g. GI, LSI, SOR, and JOR algorithms.

    In this section, we recall relevant background that used in later discussions.

    The discretization of fractional derivatives is often done by finite difference schemes based on Grünwald-Letnikov type (see e.g. [37,38]). For the 2D problem, we have the following approximation for Riemann-Liouville fractional derivatives of order α>0:

    RLDαxu(x,y,t)=limNx1hαxNxk=0gα,ku(x(k1)hx,y,t), (2.1)
    RLDαyu(x,y,t)=limNy1hαyNyk=0gα,ku(x,y(k1)hy,t), (2.2)

    where the coefficients gα,k are defined as

    gα,k=Γ(kα)Γ(α)Γ(k+1).

    Alternatively, we have the recusive formula for gα,k:

    gα,0=1,gα,k=(1α+1k)gα,k1.

    We can compute the Grünwald-Letnikov approximation for Caputo's fractional derivatives via the difference formula.

    RLDαtfCDαtf=αν=0rαν(t)f(ν)(0),whererαν(t)=tναΓ(ν+1α). (2.3)

    Here, denotes the floor function. When α(0,1], the correction term on the right hand side of (2.3) is equal to zero when we consider the zero initial value, i.e., u(x,y,t=0)=0; see e.g. [38].

    The Mittag-Leffler function Ea,b on two parameters a,b>0 is a generalization of the exponential function defined by the Taylor series.

    Ea,b(x)=k=0xkΓ(ak+b).

    Mittag-Leffler functions arise naturally in certain fractional differential equations, in particular, in our numerical examples (Section 6).

    All matrices and vectors considered throughout this paper are real. The Frobenius norm of a rectangular matrix A is defined by AF=tr(ATA). The Frobenius norm of a vector coincides with the Euclidean vector norm. The spectral norm 2 of a square matrix is defined to be the largest singular value of the matrix, or equivalently, the matrix norm induced by the Euclidean vector norm. Thus, we have the following relation (see e.g. [39]).

    AxFA2xF (2.4)

    for any square matrix A and vector x of conformable sizes. The condition number κ(A) of a square matrix A is defined to be the ratio between the largest and the smallest singular values of A. In particular, if A is invertible, we have

    κ(A)=A2A12. (2.5)

    We recall gradient formulas for the trace of certain matrix products:

    Lemma 2.1. (e.g. [39]) For matrices A,B,X of compatible sizes, we have

    ddXtr(AX)=AT,ddXtr(XAXTB)=BXA+BTXAT.

    In this section, we consider the 2D space-time fractional diffusion equation, and its interesting special case, namely, the 2D space fractional diffusion equation. We discretize these differential equations in which the Riemann-Liouville and the Caputo' derivatives are approximated by Grünwald-Letnikov approximation. Then we form a linear system from the discretized equations.

    Let us consider the 2D space-time fractional fractional diffusion equation of the form

    CDβtu(x,y,t)RLDα1xu(x,y,t)RLDα2yu(x,y,t)=f(x,y,t), (3.1)

    on bounded domains x[ax,bx], y[ay,by], and t[0,T]. The equation is subjected to the zero Dirichlet boundary condition

    u(x=ax,y,t)=u(x=bx,y,t)=u(x,y=ay,t)=u(x,y=by,t)=0,

    and the zero initial condition, i.e., u(x,y,t=0)=0.

    Consider Eq (3.1) with fractional orders β(0,1] and α1,α2(1,2]. We discretize xi=ax+ihx, yj=ay+jhy and tk=kht where hx, hy and ht are defined by

    hx=bxaxNx,hy=byayNy, and ht=TNt. (3.2)

    The approximated solution u(xi,yj,tk) at a point (xi,yj,tk) is written by uijk. For convenience, we define

    ξl=gβ,lgβ,0,φp=gα1,phβtgβ,0hα1x,ψq=gα2,qhβtgβ,0hα2yandσ=hβtgβ,0.

    From the difference Formula (2.3) and the Grünwald-Letnikov Formulae (2.1) and (2.2), we obtain

    1hβtk+1l=0gβ,lui,j,kl+11hα1xi+1p=0gα1,puip+1,j,k+11hα2yj+1q=0gα2,qui,jq+1,k+1=fi,j,k+1,

    or equivalently,

    ui,j,k+1+k+1l=1ξlui,j,kl+1i+1p=0φpuip+1,j,k+1j+1q=0ψqui,jq+1,k+1=σfi,j,k+1,

    for each i{1,,Nx1}, j{1,,Ny1} and k{1,,Nt}. For convenience, let us denote Nxy=(Nx1)(Ny1) and N=NxyNt. Thus, Eq (1.2) can be linearized into a system of N linear equations in N unknowns u111,,uNx1,Ny1,Nt.

    To form a linear system, let

    U=[u1,1,1u1,1,2u1,1,Ntu1,Ny1,1u1,Ny1,2u1,Ny1,NtuNx1,Ny1,1uNx1,Ny1,2uNx1,Ny1,Nt],F=[f1,1,1f1,1,2f1,1,Ntf1,Ny1,1f1,Ny1,2f1,Ny1,NtfNx1,Ny1,1fNx1,Ny1,2fNx1,Ny1,Nt].

    Then put u=Vec(U) and f=σVec(F). Here, Vec() is an operator that turns a matrix into a column vector by stacking columns of the matrix consecutively; see e.g. [40, Ch. 4]. Hence, we obtain a linear system

    Pu=f, (3.3)

    where the coefficient P is a block lower-triangular matrix

    P=[A000ξ1INxyA00ξ2INxyξ1INxyA0ξNt1INxyξ2INxyξ1INxyA],

    and

    A=[Bφ0INy100φ2INy1Bφ0INy10φ3INy1φ2INy1B0φNx1INy1φ3INy1φ2INy1B],B=[1φ1ψ1ψ000ψ21φ1ψ1ψ00ψ3ψ21φ1ψ10ψNy1ψ3ψ21φ1ψ1].

    We shall seek for a well-approximated solution u of the linear system (3.3). Note that the system (3.3) has a unique solution if and only if P is invertible, or equivalently, A is invertible. Once we find the vector u, we can obtain the matrix U due to the injectivity of the operator Vec().

    Here, we consider the 2D space fractional diffusion equation

    u(x,y,t)tRLDα1xu(x,y,t)RLDα2yu(x,y,t)=f(x,y,t), (3.4)

    where α1,α2(1,2], the spatial domain is [ax,bx]×[ay,by], and the temporal domain is [0,T]. Eq (3.4) is a special case of Eq (3.1) for which the fractional order β is equal to 1.

    We discretize Eq (3.4) by computing an approximated solution at (xi,yj,tk) with xi=ax+ihx, yj=ay+jhy and tk=kht where hx, hy and ht are defined as (3.2). The first-order and the fractional-order derivatives are approximated by the forward time difference method and the Grünwald-Letnikov approximation (2.1) and (2.2), respectively. For convenience, we define

    γp=gα1,phthα1xandδq=gα2,qhthα2y.

    From Eq (3.4), we obtain that for each i{1,,Nx1}, j{1,,Ny1} and k{1,,Nt},

    ui,j,k+1ui,j,kht1hα1xi+1p=0gα1,puip+1,j,k+11hα2yj+1q=0gα2,qui,jq+1,k+1=fi,j,k+1,

    or equivalently,

    ui,j,k+1ui,j,ki+1p=0γpuip+1,j,k+1j+1q=0δqui,jq+1,k+1=htfi,j,k+1.

    We use the notations Nxy, N, U, F, u, and f as same as those in Subsection 3.1. Then we can put the discretized equations into a system of N linear equations in N variables u111,,uNx1,Ny1,Nt and displayed as

    Pu=f. (3.5)

    In this case, P is a block lower-triangular matrix as follows:

    P=[˜A000INxy˜A000INxy˜A000INxy˜A],

    where

    ˜A=[˜Bγ0INy100γ2INy1˜Bγ0INy10γ3INy1γ2INy1˜B0γNx1INy1γ3INy1γ2INy1˜B],˜B=[1γ1δ1δ000δ21γ1δ1δ00δ3δ21γ1δ10δNy1δ3δ21γ1δ1].

    In this section, we apply the gradient-descent technique to derive an iterative procedure for solving the linear system (3.3) and, in particular, the system (3.5). Assume that the coefficient matrix P is invertible. Then we can solve for the analytical solution u directly by

    u=P1f. (4.1)

    For approximate solutions, we measure an error using the quadratic norm-error function

    Ω:RNR,Ω(u)=12Puf2F. (4.2)

    We introduce a gradient-descent iterative solver described by the recursive formula

    uk+1=ukτk+1Ω(uk). (4.3)

    We pick an arbitrary initial solution u0, so that Eq (4.3) iteratively computes the next solution uk+1 and form a sequence of approximate solutions. Due to the gradient direction Ω(uk) and a convergence factor τk+1, the sequence {uk}k=0 would converge to the exact solution u.

    To find the gradient of Ω, we apply Lemma 2.1 to derive

    Ω(u)=12ddu(Puf)T(Puf)=12ddutr((Puf)(Puf)T)=12ddutr(PuuTPTfuTPTPufT+ffT)=PT(Puf).

    Hence, the iterative equation takes the form

    uk+1=uk+τk+1PT(fPu).

    According to the gradient-descent, the convergence factor τk+1 is generated in order to minimize the error occurring at each iteration. Thus, we define a new function sk+1:[0,)R to be an error at step k+1:

    sk+1(τ):=Ω(uk+1)=12P(uk+τPT(fPu))f2F.

    Using properties of the matrix trace, we obtain the derivative of sk+1 as follows:

    ddτsk+1(τ)=τtr(PPT(fTuk)(fTuk)TPPT)tr(PPT(fPuk)(fPuk)T).

    It is easy to check that the second-order derivative d2dτ2sk+1(τ) is positive. Setting ddτsk+1(τ)=0, we have the minimizer of the function sk+1(τ) as follows:

    τk+1=tr(PPT(fPuk)(fPuk)T)tr(PPT(fPuk)(fPuk)TPPT)=PT(fPuk)2FPPT(fPuk)2F.

    We call {τk+1}k=0 the sequence of optimal convergence factors. We now describe the Frobenius norms PT(fPuk)F and PPT(fPuk)F more precisely. To avoid duplicated multiplications, let y=PTf and V=PTP. Consider

    PT(fPuk)=yVuk=[y1yN][v11v1NvN1vNN][u1uN]=[y1Ni=1v1iuiyNNi=1vNiui].

    Let us denote yi and vij for the ith entry of y and the (i,j)th entry of V, respectively. It follows that

    PT(fPuk)2F=Ni=1(yiNj=1vijuj)2.

    In a similar way, by denoting z=Py and W=PV, we obtain

    PPT(fPuk)2F=Ni=1(ziNj=1wijuj)2.

    We combine the direction and the step size altogether to obtain the following iterative algorithm for solving Eqs (3.3) and (3.5), see Algorithm 1.

    Algorithm 1: A gradient-descent iterative solver for the linear system (3.3) arising from the 2D space-time fractional diffusion equation.
    Input: P, f, u0
    y=PTf;
    V=PTP;
    z=Py;
    W=PV;

     | Show Table
    DownLoad: CSV

    To break the procedure, one can impose a stopping rule PukfF<ϵ or ukuk1F<ϵ, where ϵ is a satisfactory error. Note that the coefficient matrix P is sparse, so that the computational procedures need not so much time.

    In this section, we investigate the capability and theoretical performance of Algorithm 1 through error esimates and the convergence rate.

    To show that Algorithm 1 is applicable for any initial vector, let us recall the following approximations for strongly convex functions on Rn. Recall also that for real symmetric matrices A and B of the same size, the matrix ordering AB means that the difference BA is positive semidefinite.

    Lemma 5.1. ([41]) Let f:RnR be a strongly convex function, i.e., there exist two numbers ϕ,Ψ0 such that the matrix orderings ϕI2f(x)ΨI hold for all xRn. Then, for any u,vRn, we have

    f(v)f(u)+f(u)T(vu)+ϕ2vu2F, (5.1)
    f(v)f(u)+f(u)T(vu)+Ψ2vu2F. (5.2)

    Theorem 5.2. Consider the linear system (3.3) where the coefficient matrix P is invertible. Denote by κ the condition number of P.Then the following statements hold:

    (i) For any initial vector u0, the sequence of approximate solutions {uk} generated by Algorithm 1 converges to a unique solution u.

    (ii) Error estimates of PukfF compared to the preceding step and the initial step are described by the following inequalities:

    PukfF(1κ2)12Puk1fF, (5.3)
    PukfF(1κ2)k2Pu0fF. (5.4)

    In particular, the relative error decreases at every iteration.

    (iii) Algorithm 1 has the convergence rate (in regard to the relative error PukfF) governed by 1κ2.

    (iv) Moreover, the following error estimates for ukuF hold:

    ukuFκ21uk1uF, (5.5)
    ukuFκ(1κ2)k2u0uF. (5.6)

    Proof. If there exists an integer k>0 so that a vector uk makes Ω(uk) to be zero, we have uk=u and the result holds. So we assume that Ω(uk)0 for all k. Now, we compute the second-order derivative 2Ω(u)=PTP, which is a positive semidefinite matrix. Let λmin and λmax be the smallest and the largest eigenvalues of PTP, respectively. From the spectral theory of matrices, we obtain

    λminIPTPλmaxI,

    where I is the identity matrix of compatible size. Hence, Ω is a strongly convex function in which ϕ=λmin and Ψ=λmax. Applying Eq (5.2) to the function sk+1(τ), we have

    Ω(uk+1)Ω(uk)τΩ(uk)2F+λmaxτ22Ω(uk)2F. (5.7)

    Let us define the right-hand side (RHS) of (5.7) to be a function of τ, namely,

    f(τ):=Ω(uk)τΩ(uk)2F+λmaxτ22Ω(uk)2F.

    We can verify that 1/λmax is a minimizer of f. Minimizing (5.7) both sides by τ=1/λmax, we obtain

    Ω(uk+1)Ω(uk)12λmaxΩ(uk)2F. (5.8)

    Applying Eq (5.1) to the function Ωk+1(τ), we have

    Ω(uk+1)Ω(uk)τΩ(uk)2F+λminτ22Ω(uk)2F. (5.9)

    Similarly, we have that τ=1/λmin is a minimizer of the RHS of (5.9). We continue in this fashion to obtain

    0Ω(uk)1λminΩ(uk)2F+12λminΩ(uk)2F=Ω(uk)12λminΩ(uk)2F.

    Now, Ω(uk)2F2λminΩ(uk), and hence by taking account of (5.8), we get

    Ω(uk+1)(1λminλmax)Ω(uk)=(1κ2)Ω(uk). (5.10)

    Since P is an invertible matrix, all eigenvalues of PTP are strictly positive, and thus 1κ2<1. By recurring the above inequality, it follows that for any kN,

    Ω(uk)(1κ2)kΩ(u0) (5.11)

    Therefore, Ω(uk)0, i.e., uku as k. Moreover, from the error bounds (5.10) and (5.11), we get the inequalities (5.3) and (5.4), respectively. Thus, the asymptotic behavior of uk with respect to the relative error PukfF is governed by 1κ2.

    From the estimate (5.4) and the norm properties (2.4) and (2.5), we derive

    ukuF=P1PukP1PuFP12PukfFP12(1κ2)k2Pu0fFP12P2(1κ2)k2u0uF=κ(1κ2)k2u0uF.

    Similarly, we can have the error estimate ukuF compared to the preceding step uk1uF using Eqs (2.4) and (2.5) together with the bound (5.3).

    Theorem 5.2 implies that the condition number κ of the sparse matrix P effects the convergence behaviour. Indeed, Algorithm 1 converges faster to the exact solution if κ is close to 1.

    In this section, we implement numerical experiments to perform the capability and performance of Algorithm 1, which is denoted by TauOpt. All experiments have been carried out by MATLAB R2020b with PC environment Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz, RAM 8.00 GB. To measure the time consuming (in seconds) taken for each simulation, we apply the tic and toc functions in MATLAB and abbreviate them TC. At the kth iteration step, we concern the relative error fPukF. In each example, we provide tables and figures to demonstrate the accuracy and efficiency of algorithms. We compare the performance of the proposed algorithm with famous iterative methods for the linear system, for instance, GI algorithm [42], LSI algorithm [42], SOR algorithm, and JOR algorithm [43].

    Example 6.1. Consider the 2D space-time fractional diffusion equation

    CD1/3tu(x,y,t)RLD3/2xu(x,y,t)RLD3/2yu(x,y,t)=f(x,y,t), (6.1)

    where

    f(x,y,t)=1.1077t2/3sinxsinytx1/2(siny)E2,0.5(x2)ty1/2(sinx)E2,0.5(y2).

    The domains are x[0,π], y[0,π], and t[0,0.1]. Indeed, the exact solution for this equation subjected to the zero Dirichlet boundary condition and the zero initial condition is given by

    u(x,y,t)=tsinxsiny.

    According to the numerical scheme explained in Subsect. 3.1, we discretize Eq (6.1) by choosing partition numbers Nx=10, Ny=10, and Nt=20. Then the coefficient matrix P of the associated linear system (3.3) is of size 1620×1620. In this case, the condition number of P is κ=10.2976. Theoretically, Algorithm 1 has the convergence rate governed by 1κ2=0.9953. Table 1 shows the comparisons between numerical solutions and the exact solution for certain values of x,y,t in the domain. After running 250 iterations, we see that the 4-digits numerical solutions are very close to the exact solution. Also, Figure 1 illustrates the 3D plot of the exact and numerical solutions in the cases that t=0.01,0.02,,0.06. Besides, we compare the performance of Algorithm 1 with SOR, JOR, GI and LSI algorithms. The results, shown in Table 2 and Figure 2, indicate that Algorithm 1 performs well in both iteration numbers and computational time.

    Table 1.  The numerical and analytical solutions for Example 6.1.
    u(x,y,t)
    y=0.4π y=0.6π
    x=0.1π x=0.3π x=0.5π x=0.7π
    t numerical analytical numerical analytical numerical analytical numerical analytical
    0.005 0.0029 0.0029 0.0078 0.0079 0.0097 0.0098 0.0079 0.0080
    0.010 0.0042 0.0043 0.0115 0.0116 0.0144 0.0145 0.0117 0.0118
    0.015 0.0055 0.0056 0.0152 0.0153 0.0190 0.0192 0.0155 0.0156
    0.020 0.0068 0.0069 0.0188 0.0190 0.0237 0.0239 0.0193 0.0195
    0.025 0.0081 0.0082 0.0225 0.0227 0.0283 0.0286 0.0231 0.0233
    0.030 0.0094 0.0095 0.0261 0.0264 0.0330 0.0332 0.0269 0.0271
    0.035 0.0107 0.0108 0.0298 0.0300 0.0377 0.0379 0.0307 0.0309
    0.040 0.0120 0.0121 0.0335 0.0337 0.0423 0.0426 0.0345 0.0347
    0.045 0.0133 0.0134 0.0371 0.0374 0.0470 0.0472 0.0383 0.0385
    0.050 0.0146 0.0147 0.0408 0.0410 0.0516 0.0519 0.0421 0.0424

     | Show Table
    DownLoad: CSV
    Figure 1.  The 3D plot of the exact (left) and numerical (right) solutions for Example 6.1.
    Table 2.  Relative error and time consuming for Example 6.1.
    Method Relative error TC
    TauOpt 0.0037 6.1169
    SOR 0.9177 116.6804
    JOR 0.9010 96.6348
    GI 0.8103 4.7887
    LSI 0.7223 90.4681

     | Show Table
    DownLoad: CSV
    Figure 2.  The relative error plot for Example 6.1.

    Example 6.2. Consider the 2D space fractional diffusion equation

    u(x,y,t)tRLD4/3xu(x,y,t)RLD4/3yu(x,y,t)=f(x,y,t), (6.2)

    where

    f(x,y,t)=(y2y2.2155ty2/3+0.7385ty1/3)(sin2x)2tx1/3(y2y)E2,2/3(4x2),

    subjected to the zero Dirichlet boundary condition and the zero initial condition. The domains are x[0,π], y[0,1], and t[0,0.1]. Indeed, the exact solution for this problem is given by

    u(x,y,t)=t(y2y)(sin2x).

    According to the discussions in Subsection 3.2, we discretize Eq (6.2) using partition numbers Nx=10, Ny=10 and Nt=20. In this case, the condition number of the coefficient matrix PR1690×1690 is κ=26.7484. Hence, Algorithm 1 has the convergence rate governed by 1κ2=0.9993. We run Algorithm 1 for 500 iterations and report the comparison between numerical solutions and the exact solution in Table 3. Figure 3 illustrates the 3D plot of the exact and numerical solutions in the cases that t=0.01,0.02,,0.06. The results from Table 3 reveal that numerical solutions are very close to the exact solution.

    Table 3.  The numerical and analytical solutions for Example 6.2.
    u(x,y,t)
    y=0.4π y=0.6π
    x=0.2π x=0.4π x=0.6π x=0.8π
    t numerical analytical numerical analytical numerical analytical numerical analytical
    0.005 -0.0021 -0.0022 -0.0013 -0.0014 0.0013 0.0013 0.0021 0.0022
    0.010 -0.0032 -0.0033 -0.0019 -0.0021 0.0019 0.0020 0.0031 0.0034
    0.015 -0.0042 -0.0045 -0.0026 -0.0028 0.0026 0.0027 0.0042 0.0045
    0.020 -0.0053 -0.0056 -0.0032 -0.0035 0.0032 0.0034 0.0053 0.0056
    0.025 -0.0064 -0.0067 -0.0040 -0.0042 0.0039 0.0041 0.0064 0.0067
    0.030 -0.0074 -0.0078 -0.0046 -0.0049 0.0046 0.0048 0.0074 0.0079
    0.035 -0.0085 -0.0089 -0.0053 -0.0056 0.0052 0.0055 0.0085 0.0090
    0.040 -0.0095 -0.0100 -0.0060 -0.0063 0.0059 0.0061 0.0096 0.0101
    0.045 -0.0106 -0.0111 -0.0066 -0.0070 0.0065 0.0068 0.0106 0.0111
    0.050 -0.0116 -0.0122 -0.0073 -0.0077 0.0071 0.0075 0.0117 0.0123

     | Show Table
    DownLoad: CSV

    In addition, we compare the performance of Algorithm 1 (TauOpt) with SOR, JOR, GI, and LSI algorithms. The results of running 500 iterations are shown in Table 4. Figure 4 displays the logarithmic relative error of each algorithm. It is seen that Algorithm 1 performs well in both iteration numbers and time consuming.

    Table 4.  Relative error and time consuming for Example 6.2.
    Method Relative error TC
    TauOpt 0.0062 20.7160
    SOR 0.0343 202.5196
    JOR 0.0338 189.5905
    GI 0.0342 10.6095
    LSI 0.0211 178.5967

     | Show Table
    DownLoad: CSV
    Figure 3.  The 3D plot of the exact (left) and numerical (right) solutions for Example 6.2.
    Figure 4.  The logarithmic relative error plot for Example 6.2.

    Note that in Examples 6.1 and 6.2, the condition numbers κ seem to be too much, so that the convergences of the proposed algorithm would be not fast. However, due to the fact that the coefficient matrix P is sparse and the convergence factor is chosen by an optimazation technique, the iterative procedures lead to a desire solution with a satisfactory error in a short time.

    We discretize the 2D space-time fractional and the 2D space fractional diffusion equations via the finite difference scheme of Grünwald-Letnikov approximation. We transform the discretized equations into a sparse linear system with coefficient matrix P. We propose an iterative solver based on the technique of gradient-descent. The analysis confirms the capability of the proposed algorithm as long as the matrix P is invertible with the convergence rate governed by 1κ2, where κ is the condition number of P. The numerical experiments indicate the accuracy and the efficiency of the proposed algorithm compared to well-known iterative solvers for linear systems. Indeed, the iterative procedures of the proposed algorithm lead to a desire solution with a satisfactory error in a short time since the coefficient matrix P is sparse, the convergence factor is chosen by an optimazation technique, and the procedures avoid duplicated computations.

    All authors declare no conflicts of interest in this paper.



    [1] I. Podlubny, Fractional differential equations: An introduction to fractional derivatives, fractional differential equations, to methods of their solution and some of their applications, New York: Academic Press, 1998.
    [2] I. Podlubny, Fractional differential equations, New York: Academic Press, 1999.
    [3] R. Hilfer, Applications of fractional calculus in physics, Singapore: World Scientific Publishing, 2000.
    [4] V. V. Kulish, J. L. Lage, Application of fractional calculus to fluid mechanics, J. Fluids Eng., 124 (2002), 803–806. http://dx.doi.org/10.1115/1.1478062 doi: 10.1115/1.1478062
    [5] X. J. Jiang, P. J. Scott, Free-form surface filtering using the diffusion equation, Adv. Metrol., 2020,129–142. https://doi.org/10.1016/B978-0-12-821815-0.00006-X
    [6] Q. Liu, F. Liu, I. Turner, V. Anh, Approximation of the Levy-Feller advection-dispersion process by random walk and flnite difierence method, J. Comput. Phys., 222 (2007), 57–70.
    [7] P. Zhuang, F. Liu, Implicit difference approximation for the two-dimensional space-time fractional diffusion equation, J. Appl. Math. Comput., 25 (2007), 269–282.
    [8] J. Huang, F. Liu, The space-time fractional diffusion equation with Caputo derivatives, J. Appl. Math. Comput., 19 (2005), 179–190.
    [9] Z. Q. Chen, M. M. Meerschaert, E. Nane, Space-time fractional diffusion on bounded domains, J. Math. Anal. Appl., 393 (2012), 479–488. http://dx.doi.org/10.1016/j.jmaa.2012.04.032 doi: 10.1016/j.jmaa.2012.04.032
    [10] J. Mua, B. Ahmad, S. Huang, Existence and regularity of solutions to time-fractional diffusion equations, Comput. Math. Appl., 73 (2017), 985–996. https://doi.org/10.1016/j.camwa.2016.04.039 doi: 10.1016/j.camwa.2016.04.039
    [11] M. M. Meerschaert, D. A. Benson, H. P. Scheffler, B. Baeumer, Stochastic solution of space-time fractional diffusion equations, Phys. Rev. E, 65 (2002), 041103. http://dx.doi.org/10.1103/PhysRevE.65.041103 doi: 10.1103/PhysRevE.65.041103
    [12] L. Chen, R. H. Nochetto, E. Otárola, A. J. Salgado, A PDE approach to fractional diffusion: A posteriori error analysis, J. Comput. Phys., 293 (2015), 339–358. http://dx.doi.org/10.1016/j.jcp.2015.01.001 doi: 10.1016/j.jcp.2015.01.001
    [13] R. H. Nochetto, E. Otarola, A. J. Salgado, A PDE approach to fractional diffusion in general domains: A prior error analysis, Found. Comput. Math., 15 (2015), 733–791. http://dx.doi.org/10.1007/s10208-014-9208-x doi: 10.1007/s10208-014-9208-x
    [14] R. Gorenflo, F. Mainardi, Random walk models for space-fractional diffusion processes, Fract. Calc. Appl. Anal., 1 (1998), 167–191.
    [15] R. Gorenflo, F. Mainardi, Approximation of Lévy-Feller diffusion by random walk, Z. für Anal. Anwend., 18 (1999), 231–246. http://dx.doi.org/10.4171/ZAA/879 doi: 10.4171/ZAA/879
    [16] R. Gorenflo, F. Mainardi, M. P. Paradisi, Time fractional diffusion: A discrete random walk approach, Nonlinear Dyn., 29 (2002), 129–143. http://dx.doi.org/10.1023/A:1016547232119 doi: 10.1023/A:1016547232119
    [17] R. Gorenflo, F. Mainardi, D. Moretti, G. Pagnini, P. Paradisi, Discrete random walk models for space-time fractional diffusion, Chem. Phys., 284 (2002), 521–541. http://dx.doi.org/10.1016/S0301-0104(02)00714-0 doi: 10.1016/S0301-0104(02)00714-0
    [18] R. L. Magin, O. Abdullah, D. Baleanu, X. J. Zhou, Anomalous diffusion expressed through fractional order differential operators in the Bloch-Torrey equation, J. Magn. Reson., 190 (2008), 255–270. http://dx.doi.org/10.1016/j.jmr.2007.11.007 doi: 10.1016/j.jmr.2007.11.007
    [19] A. V. Chechkin, R. Gorenflo, I. M. Sokolov, Fractional diffusion in inhomogeneous media, J. Phys. Math. Gen., 38 (2005), 679–684. http://dx.doi.org/10.1088/0305-4470/38/42/L03 doi: 10.1088/0305-4470/38/42/L03
    [20] F. Santamaria, S. Wils, E. D. Schutter, G. J. Augustine, Anomalous diffusion in Purkinje cell dendrites caused by spines, Neuron, 52 (2006), 635–648. http://dx.doi.org/10.1016/j.neuron.2006.10.025 doi: 10.1016/j.neuron.2006.10.025
    [21] S. Umarov, S. Steinberg, Variable order differential equations with piecewise constant order-function and diffusion with changing modes, Z. für Anal. Anwend., 28 (2009), 431–450. https://doi.org/10.1016/j.poly.2008.11.015 doi: 10.1016/j.poly.2008.11.015
    [22] M. Inc, The approximate and exact solutions of the space and time-fractional Burgers equations with initial conditions by variational iteration method, J. Math. Anal. Appl., 345 (2008), 476–484. https://doi.org/10.1016/j.jmaa.2008.04.007 doi: 10.1016/j.jmaa.2008.04.007
    [23] N. H. Sweilam, M. M. Khader, R. F. Al-Bar, Numerical studies for a multi-order fractional differential equation, Phys. Lett. A, 371 (2007), 26–33. https://doi.org/10.1016/j.physleta.2007.06.016 doi: 10.1016/j.physleta.2007.06.016
    [24] L. Song, H. Zhang, Application of homotopy analysis method to fractional KdV-Burgers-KURamoto equation, Phys. Lett. A, 367 (2007), 88–94. https://doi.org/10.1016/j.physleta.2007.02.083 doi: 10.1016/j.physleta.2007.02.083
    [25] H. Jafari, V. Daftardar-Gejji, Solving linear and nonlinear fractional diffusion and wave equations by Adomian decomposition, Appl. Math.Comput., 180 (2006), 488–497. https://doi.org/10.1016/j.amc.2005.12.031 doi: 10.1016/j.amc.2005.12.031
    [26] C. Yang, J. Hou, An approximate solution of nonlinear fractional differential equation by Laplace transform and Adomian polynomials, J. Inf. Comput. Sci., 10 (2013), 213–222.
    [27] T. Akram, M. Abbas, A. I. Ismail, An extended cubic B-spline collocation scheme for time fractional sub-diffusion equation, AIP Conference Proceedings, 2019. https://doi.org/10.1063/1.5136449
    [28] T. Akram, M. Abbas, A. I. Ismail, Numerical solution of fractional cable equation via extended cubic B-spline, AIP Conference Proceedings, 2019. https://doi.org/10.1063/1.5121041
    [29] U. Ali, A. Iqbal, M. Sohail, F. A. Abdull, Z. Khan, Compact implicit difference approximation for time-fractional diffusion-wave equation, Alex. Eng. J., 61 (2022), 4119–4126. https://doi.org/10.1016/j.aej.2021.09.005 doi: 10.1016/j.aej.2021.09.005
    [30] A. Iqbal, M. J. Siddiqui, I. Muhia, M. Abbasb, T. Akram, Nonlinear waves propagation and stability analysis for planar waves at far field using quintic B-spline collocation method, Alex. Eng. J., 59 (2020), 2695–2703. https://doi.org/10.1016/j.aej.2020.05.011 doi: 10.1016/j.aej.2020.05.011
    [31] M. Syam, M. A. Refai, Solving fractional diffusion equation via the collocation method based on fractional Legendre functions, J. Comput. Meth. Phys., 381074, 2014. http://dx.doi.org/10.1155/2014/381074
    [32] M. R. Cui, Compact finite difference method for the fractional diffusion equation, J. Comput. Phys., 228 (2009), 7792–7804. http://dx.doi.org/10.1016/j.jcp.2009.07.021 doi: 10.1016/j.jcp.2009.07.021
    [33] K. Diethelm, J. M. Ford, N. J. Fordc, M. Weilbeer, Pitfalls in fast numerical solvers for fractional differential equations, J. Comput. Appl. Math., 186 (2006), 482–503. http://dx.doi.org/10.1016/j.cam.2005.03.023 doi: 10.1016/j.cam.2005.03.023
    [34] R. Du, W. R. Cao, Z. Z. Sun, A compact difference scheme for the fractional diffusion-wave equation, Appl. Math. Model., 34 (2010), 2998–3007. http://dx.doi.org/10.1016/j.apm.2010.01.008 doi: 10.1016/j.apm.2010.01.008
    [35] P. Kumar, O. P. Agrawal, Numerical scheme for the solution of fractional differential equations of order greater than one, J. Comput. Nonlin. Dyn., 1 (2006), 178–185. http://dx.doi.org/10.1115/1.2166147 doi: 10.1115/1.2166147
    [36] A. Kittisopaporn, P. Chansangiam, Gradient-descent iterative algorithm for solving a class of linear matrix equations with applications to heat and Poisson equations, Adv. Differ. Equ., 2020 (2020). https://doi.org/10.1186/s13662-020-02785-9
    [37] M. Meerschaert, C. Tadjeran, Finite difference approximations for fractional advection-dispersion flow equations, J. Comput. Appl. Math., 172 (2004), 65–77.
    [38] R. Scherer, S. L. Kalla, Y. F. Tang, J. F. Huang, The Grunwald-Letnikov method for fractional differential equations, Comput. Math. Appl., 62 (2011), 813–823. http://dx.doi.org/10.1016/j.camwa.2011.03.054 doi: 10.1016/j.camwa.2011.03.054
    [39] H. Lütkepohl, Handbook of matrices, Chichester: John Wiley & Sons, 1996.
    [40] R. A. Horn, C. R. Johnson, Topics in matrix analysis, New York: Cambridge University Press, 1991.
    [41] P. B. Stephen, V. Lieven, Convex optimization, New York: Cambridge University Press, 2004.
    [42] F. Ding, T. Chen, Iterative least-squares solutions of coupled Sylvester matrix equations, Syst. Control. Lett., 54 (2005), 95–107. http://dx.doi.org/10.1016/j.sysconle.2004.06.008 doi: 10.1016/j.sysconle.2004.06.008
    [43] D. M. Young, Iterative solution of large linear systems, New York: Academic Press, 1971.
  • This article has been cited by:

    1. Kanjanaporn Tansri, Pattrawut Chansangiam, Gradient-descent iterative algorithm for solving exact and weighted least-squares solutions of rectangular linear systems, 2023, 8, 2473-6988, 11781, 10.3934/math.2023596
  • Reader Comments
  • © 2022 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1838) PDF downloads(61) Cited by(1)

Figures and Tables

Figures(4)  /  Tables(4)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog