Research article

Numerical method for solving the subdiffusion differential equation with nonlocal boundary conditions

  • Received: 09 September 2024 Revised: 23 December 2024 Accepted: 26 December 2024 Published: 31 December 2024
  • MSC : 35K20, 35R11, 65M06

  • This work was devoted to the construction of a numerical algorithm for solving the initial boundary value problem for the subdiffusion equation with nonlocal boundary conditions. For the case of not strongly regular boundary conditions, the well-known methods cannot be used. We applied an algorithm that consists of reducing the nonlocal problem to a sequential solution of two subproblems with local boundary conditions. The solution to the original problem was summed up from the solutions of the subproblems. To solve the subproblems, we constructed implicit difference schemes on the basis of the L1 formula for approximating the Caputo fractional derivative and central difference for approximating the space derivatives. Stability and convergence of the schemes were established. The Thomas algorithm was used to solve systems of linear algebraic equations. Numerical experiments were conducted to study the constructed algorithm. In terms of accuracy and stability, the algorithm performs well. The results of experiments confirmed that the convergence order of the method coincides with the theoretical one, O(τ2α+h2).

    Citation: Murat A. Sultanov, Vladimir E. Misilov, Makhmud A. Sadybekov. Numerical method for solving the subdiffusion differential equation with nonlocal boundary conditions[J]. AIMS Mathematics, 2024, 9(12): 36385-36404. doi: 10.3934/math.20241726

    Related Papers:

    [1] Ahmed M.A. El-Sayed, Eman M.A. Hamdallah, Hameda M. A. Alama . Multiple solutions of a Sturm-Liouville boundary value problem of nonlinear differential inclusion with nonlocal integral conditions. AIMS Mathematics, 2022, 7(6): 11150-11164. doi: 10.3934/math.2022624
    [2] Xiping Liu, Mei Jia, Zhanbing Bai . Nonlocal problems of fractional systems involving left and right fractional derivatives at resonance. AIMS Mathematics, 2020, 5(4): 3331-3345. doi: 10.3934/math.2020214
    [3] Choukri Derbazi, Hadda Hammouche . Caputo-Hadamard fractional differential equations with nonlocal fractional integro-differential boundary conditions via topological degree theory. AIMS Mathematics, 2020, 5(3): 2694-2709. doi: 10.3934/math.2020174
    [4] Kishor D. Kucche, Sagar T. Sutar, Kottakkaran Sooppy Nisar . Analysis of nonlinear implicit fractional differential equations with the Atangana-Baleanu derivative via measure of non-compactness. AIMS Mathematics, 2024, 9(10): 27058-27079. doi: 10.3934/math.20241316
    [5] Zhidong Guo, Xianhong Wang, Yunliang Zhang . Option pricing of geometric Asian options in a subdiffusive Brownian motion regime. AIMS Mathematics, 2020, 5(5): 5332-5343. doi: 10.3934/math.2020342
    [6] Bashir Ahmad, Ahmed Alsaedi, Mona Alsulami, Sotiris K. Ntouyas . Existence theory for coupled nonlinear third-order ordinary differential equations with nonlocal multi-point anti-periodic type boundary conditions on an arbitrary domain. AIMS Mathematics, 2019, 4(6): 1634-1663. doi: 10.3934/math.2019.6.1634
    [7] A. M. A. El-Sayed, W. G. El-Sayed, Somyya S. Amrajaa . On a boundary value problem of arbitrary orders differential inclusion with nonlocal, integral and infinite points boundary conditions. AIMS Mathematics, 2022, 7(3): 3896-3911. doi: 10.3934/math.2022215
    [8] Weerawat Sudsutad, Wicharn Lewkeeratiyutkul, Chatthai Thaiprayoon, Jutarat Kongson . Existence and stability results for impulsive $ (k, \psi) $-Hilfer fractional double integro-differential equation with mixed nonlocal conditions. AIMS Mathematics, 2023, 8(9): 20437-20476. doi: 10.3934/math.20231042
    [9] Karim Guida, Lahcen Ibnelazyz, Khalid Hilal, Said Melliani . Existence and uniqueness results for sequential $ \psi $-Hilfer fractional pantograph differential equations with mixed nonlocal boundary conditions. AIMS Mathematics, 2021, 6(8): 8239-8255. doi: 10.3934/math.2021477
    [10] Bashir Ahmad, Badrah Alghamdi, Ahmed Alsaedi, Sotiris K. Ntouyas . Existence results for Riemann-Liouville fractional integro-differential inclusions with fractional nonlocal integral boundary conditions. AIMS Mathematics, 2021, 6(7): 7093-7110. doi: 10.3934/math.2021416
  • This work was devoted to the construction of a numerical algorithm for solving the initial boundary value problem for the subdiffusion equation with nonlocal boundary conditions. For the case of not strongly regular boundary conditions, the well-known methods cannot be used. We applied an algorithm that consists of reducing the nonlocal problem to a sequential solution of two subproblems with local boundary conditions. The solution to the original problem was summed up from the solutions of the subproblems. To solve the subproblems, we constructed implicit difference schemes on the basis of the L1 formula for approximating the Caputo fractional derivative and central difference for approximating the space derivatives. Stability and convergence of the schemes were established. The Thomas algorithm was used to solve systems of linear algebraic equations. Numerical experiments were conducted to study the constructed algorithm. In terms of accuracy and stability, the algorithm performs well. The results of experiments confirmed that the convergence order of the method coincides with the theoretical one, O(τ2α+h2).



    Fractional differential equations are widely used in various fields of science and engineering [1,2,3]. Among the popular fields, we can mention physics models, such as anomalous diffusion [4], viscoelastic media [5], propagation of acoustic waves in porous media [6], etc. Fractional calculus is used in control problems, to model dynamic systems in which the current state depends on the whole history [7], in signal processing [8,9], in biology for the modeling of neurons [10], in epidemiology [11], in environmental sciences [12], and in economic models with memory [13].

    Differential equations with nonlocal boundary conditions arise in problems of mathematical modeling of various processes such as heat transfer, chemical diffusion, hydrology, and biochemistry.

    Boundary conditions of Samarskii-Ionkin type were originally considered in works [14] for the heat transfer problem in a tenuous plasma:

    wt(x,t)=wxx(x,t),x<0<1,0<t<,
    w(x,0)=φ(x),w(0,t)=0,
    10w(x,t)dx=const.

    The last condition means that the total energy of the system is constant. This problem was further investigated in other works [15,16]. The nonlocal condition was shown to be equivalent to

    wx(0,t)wx(1,t)=0,

    which means equal heat flows at the ends of the interval. The existence of the solution was proved.

    Later, the heat equation with two-point boundary conditions of the general type was considered in [17]:

    {a1wx(0,t)+b1wx(1,t)+a0w(0,t)+b0w(1,t)=0,c1wx(0,t)+d1wx(1,t)+c0w(0,t)+d0w(1,t)=0. (1.1)

    Restricting the class of such conditions to strongly regular boundary conditions allows one to use the well-established theory for self-adjoined operators and well-known methods [18,19,20]. In the case of not strongly regular boundary conditions, the system of eigenfunctions of the spectral problem do not form a Riesz basis. Thus, these methods cannot be used. In this case, new methods or modifications of existing methods must be developed.

    In [21], the heat problem with nonlocal boundary condition

    {wx(0,t)wx(1,t)aw(1,t)=0,w(0,t)=0,0tT,

    was considered. It was shown that these conditions are not strongly regular for a0. The existence, uniqueness, and stability of the solution was established.

    Work [22] was devoted to solving an initial boundary value problem for a heat equation:

    wt(x,t)wxx(x,t)+q(x)w(x,t)=f(x,t)

    with regular but not strongly regular boundary conditions of the general type (1.1). It was shown that for the case of the even potential function q(x)=q(1x), the considered class of problems can always be reduced to the sequential solution of two similar problems with strongly regular boundary conditions. The proof does not depend on whether the system of eigenfunctions of a spectral problem forms a basis.

    Note that the problem of establishing the basis properties of a system of eigenfunctions remains open so far. For special cases of not strongly regular boundary conditions, the basis property was confirmed in [23].

    Problems for fractional differential equations with local and nonlocal boundary conditions have been the topic of many works [24,25,26,27,28]. There are many methods for numerical solutions of such problems, such as the finite difference methods [29], spectral methods [30,31], etc. For various types of fractional derivatives, stability, convergence, and solvability of difference schemes were researched in [32].

    One of the methods for solving the initial boundary value problem for a difference equation with nonlocal boundary conditions was developed in the works [22,33] and applied to the nonlocal heat equation with not strongly regular boundary conditions. It consists in reducing the nonlocal difference problem to a sequential solution of two local difference problems.

    In [34], a parallel numerical algorithm was constructed for solving the initial boundary value problem for the subdiffusion equation with the homogeneous Dirichlet condition. The stability of the difference scheme was established. Numerical experiments were performed to study the performance of parallel implementations. These results were used in [35] to develop a parallel numerical algorithm for solving the inverse problem of identifying the space-dependent source term in the two-dimensional fractional diffusion equation. To solve the inverse problem, a regularized iterative conjugate gradient method is used. At each iteration of the method, a finite difference scheme is used to solve the auxiliary direct initial boundary value problem.

    Research on correctness and stability of direct and inverse problems of mathematical physics was performed in numerous works [36,37,38,39,40,41].

    In this work, we construct a numerical method for solving the initial boundary value problem for the subdiffusion equation with nonlocal boundary conditions. We solve the problem by reducing it to two problems with local boundary conditions. The solution of the original problem is found as a sum of the solutions of the subproblems. These subproblems are solved by using implicit finite difference schemes. The schemes produce systems of linear algebraic equations (SLAE) that must be solved for each successive time step. To solve these SLAEs, we utilize the Thomas algorithm. We research the stability and convergence of the constructed difference schemes and obtain the stability estimates for the proposed method. To confirm the stability and convergence order of the developed method, we perform numerical experiments.

    Our approach to the numerical solution of the nonlocal initial boundary value problem is used for the first time to solve the problem for a time-fractional equation. For simplicity, we consider the problem for the case of a zero initial value. The proposed numerical method and algorithm presented below may be applied for more generalized statements of the problem.

    The rest of the article is structured as follows: Section 2 describes the statement of the initial boundary value problem for the subdiffusion differential equation with nonlocal boundary conditions. Section 3 is devoted to the numerical algorithm for solving the problem. It describes the construction of the finite difference scheme for solving the subproblems. It also contains the results on researching the stability and convergence of the constructed finite difference scheme. Section 4 describes the performed numerical experiments and discusses their results. Section 5 concludes the article.

    In this work, we consider numerical algorithms for solving the initial boundary value problem for the subdiffusion equation with nonlocal boundary conditions. Consider the equation

    Dαtu(x,t)uxx(x,t)=f(x,t), (2.1)

    with initial conditions

    u(x,0)=0,0x1, (2.2)

    and the following nonlocal boundary condition [21]

    {ux(0,t)ux(1,t)au(1,t)=0,u(0,t)=0,0tT, (2.3)

    where a>0.

    Here, we consider the Caputo fractional derivative with order α in the form [42]

    Dαtf(x,t)=1Γ(mα)t0f(m)(x,s)(ts)αm+1ds,

    with m=α:α(m1,m), mN,x>0.

    By attempting to solve the initial boundary value problem (2.1)–(2.3) by using the Fourier method, we obtain the spectral problem for operator l, which is defined by the differential expression and boundary conditions:

    l(y)y(x)=λy(x),0<x<1, (2.4)
    y(0)=y(1)+ay(1),y(0)=0. (2.5)

    Boundary conditions (2.5) are regular but not strongly regular. Therefore, the system of eigenfunctions of operator l is a complete system, but it does not form a basis in L2(0,1). The spectral problem (2.4) and (2.5) has two series of eigenvalues:

    λ(1)k=(2πk)2, k=1,2,....,
    λ(2)k=(2βk)2, k=0,1,2,...,

    where βk are roots of the equation

    tanβ=a2β, β>0.

    They satisfy the inequalities πk<βk<πk+π/2, k=0,1,2.... For δk=βkπk with sufficiently large k, the following inequalities hold:

    a2πk(112πk)<δk<a2πk(1+12πk).

    The eigenvalues of the problem are

    y(1)k(x)=sin(2πkx), k=1,2,...,y(2)k(x)=sin(2βkx), k=0.1,2,....

    The system is almost normalized, but it does not even form a normal basis in L2(0,1). Therefore, the direct application of the Fourier method is impossible.

    For the numerical solution of problem (2.1)–(2.3), we adapt the algorithm [22]. It was proposed for nonlocal problems with classical derivatives. The algorithm is based on reducing the nonlocal differential problem to the successive solving of two problems with Sturm-type boundary conditions. This method allows one to avoid studying correctness and stability of difference schemes for the original nonlocal problem, and replace it with studying local difference schemes for the auxiliary subproblems.

    Let us represent the solution u(x,t) as a sum of two functions C(x,t) and S(x,t), such as

    u(x,t)=C(x,t)+S(x,t), (3.1)

    where

    C(x,t)=u(x,t)+u(1x,t)2,S(x,t)=u(x,t)u(1x,t)2.

    C(x,t) is an even part of function u(x,t) and S(x,t) is an odd part of u(x,t) on the interval 0x1. Thus, these functions have the following properties:

    C(x,t)=C(1x,t),S(x,t)=S(1x,t),
    Cx(x,t)=Cx(1x,t),Sx(x,t)=Sx(1x,t).

    Then, for the functions C(x,t) and S(x,t), we solve two initial boundary value problems.

    Let us obtain the boundary conditions for the subproblems for C(x,t) and S(x,t). From (2.3), we have

    {Cx(0,t)+Sx(0,t)(Cx(1,t)+Sx(1,t))a(C(1,t)+S(1,t))=0,C(0,t)+S(0,t)=0,0tT.

    Using the properties of C(x,t) and S(x,t), we transform these conditions to contain only values for x=0:

    Cx(0,t)+Sx(0,t)(Cx(0,t)+Sx(0,t))a(C(0,t)S(0,t))=0,S(0,t)=C(0,t),0tT;
    Cx(0,t)aC(0,t)=0,S(0,t)=C(0,t),0tT.

    Now, let us transform the conditions to contain only values for x=1:

    Cx(1,t)+Sx(1,t)(Cx(1,t)+Sx(1,t))a(C(1,t)+S(1,t))=0,C(1,t)S(1,t)=0,0tT;
    Cx(1,t)+aC(1,t)=0,S(1,t)=C(1,t),0tT.

    Now, for C(x,t), we have a problem with homogeneous boundary conditions of the third kind and a homogeneous initial condition:

    {DαtC(x,t)Cxx(x,t)=fC(x,t),C(x,0)=0,0x1,Cx(0,t)aC(0,t)=0,0tT,Cx(1,t)+aC(1,t)=0,0tT, (3.2)

    where fC(x,t)=(f(x,t)+f(1x,t))/2.

    For S(x,t), we have the following problem with the Dirichlet boundary condition and the homogeneous initial condition:

    {DαtS(x,t)Sxx(x,t)=fS(x,t),S(x,0)=0,0x1,S(0,t)=C(0,t),0tT,S(1,t)=C(0,t),0tT, (3.3)

    where fS(x,t)=(f(x,t)f(1x,t))/2.

    By construction, we can formulate the following statement:

    Statement 1. A solution of problem (2.1)–(2.3) can always be equivalently reduced to a sequential solution of two boundary value problems (3.2) and (3.3) with local boundary conditions.

    Thus, to solve problem (2.1)–(2.3), we need first to solve problem (3.2) for C(x,t). Then, knowing the function C(x,t), we solve problem (3.3), because its boundary conditions depend on C(0,t). Finally, we obtain the sought function u(x,t) by formula (3.1).

    Let us introduce regular grids for x and t with M+1 and N+1 points, respectively: i=0,...,M, h=1/M, xi=ih, n=0,...,N, τ=1/N, tn=nτ. Denote the values of grid functions at grid points as ui,n=u(xi,tn).

    To approximate the Caputo fractional derivative of function u(x,t) (and similarly for functions C(x,t) and S(x,t)) at the time level n, we use the L1 formula [32,43]:

    Dαt(ui,n)σα,τnj=1w(α)j(ui,nj+1ui,nj),σα,τ=1Γ(2α)τα ,w(α)j=j1α(j1)1α,n=1,,N. (3.4)

    Using formula (3.4) of order O(τ2α) and a central difference scheme of order O(h2) to construct an implicit difference scheme for Eq (3.2), we obtain

    σα,τnj=1wαj(Ci,nj+1Ci,nj)=Ci1,n2Ci,n+Ci+1,nh2+fCi,n+O(τ2α+h2),i=0,...,M. (3.5)

    Omitting the small term O(τ2α+h2), we obtain the difference equations

    σα,τnj=1wαj(Ci,nj+1Ci,nj)Ci1,n2Ci,n+Ci+1,nh2+fCi,n,i=0,...,M. (3.6)

    Then, let us rearrange

    σα,τ(Ci,nCi,n1)+σα,τnj=2w(α)j(Ci,nj+1Ci,nj)=Ci1,n2Ci,n+Ci+1,nh2+fCi,n,1h2Ci1,n+(σα,τ+2h2)Ci,n1h2Ci+1,n=σα,τ(Ci,n1nj=2w(α)j(Ci,nj+1Ci,nj))+fCi,n. (3.7)

    The boundary condition at the point x0=0 is

    Cx(0,t)aC(0,t)=0.

    To approximate this condition with the order of approximation O(h2), let us obtain the derivative Cx(0,t). Consider the Taylor series expansion

    C(x1,t)C(x0,t)h=Cx(x0,t)+h2Cxx(x0,t)+O(h2).

    Substituting Cxx(x0,t)=DαtC(x0,t)fC(x0,t) from (3.2), we obtain

    Cx(x0,t)C(x1,t)C(x0,t)hh2(DαtC(x0,t)fC(x0,t)).

    Substitute this expression for derivative Cx(x0,t) and formula (3.4) into the boundary condition

    C1,nC0,thh2(σα,τnj=1wαj(C0,nj+1C0,nj)fC0)aC0,n=0.

    Let us rearrange the terms:

    C1,nC0,thh2(σα,τ(C0,nC0,n1)+σα,τnj=2w(α)j(C0,nj+1C0,nj)fC(0,t))aC0,n=0.(σα,τ+2h2+2ah)C0,n+(2h2)C1,n=σα,τ(C0,n1nj=2w(α)j(C0,nj+1C0,nj))+fC0,n. (3.8)

    Similarly, for the boundary condition at the point xM=1, we obtain a difference equation:

    (2h2)CM1,n+(σα,τ+2h2+2ah)CM,n=σα,τ(CM,n1nj=2w(α)j(CM,nj+1CM,nj))+fCM,n. (3.9)

    Combining all the difference equations for points xi, i=0,...,M, we can form the system of (M+1) linear algebraic equations in the matrix form

    [(σα,τ+2h2+2ah)(2h2)(1h2)(σα,τ+2h2)(1h2)(1h2)(σα,τ+2h2)(1h2)(2h2)(σα,τ+2h2+2ah)][C0,nC1,nCM1,nCM,n]=[FC0,nFC1,nFCM1,nFC,nM], (3.10)

    where

    FCi,n=σα,τ(Ci,n1nj=2w(α)j(Ci,nj+1Ci,nj))+fCi,n,
    FCi,1=σα,τCi,0+fCi,1.

    Similarly, we can obtain the difference equations for the function S(x,t) and problem (3.3):

    1h2Si1,n+(σα,τ+2h2)Si,n1h2Si+1,n=σα,τ(Si,n1nj=2w(α)j(Si,nj+1Si,nj))+fSi,n,i=1,...,M1. (3.11)

    Due to the Dirichlet boundary conditions, we have a SLAE of smaller size, M1:

    [(σα,τ+2h2)(1h2)(1h2)(σα,τ+2h2)(1h2)(1h2)(σα,τ+2h2)(1h2)(1h2)(σα,τ+2h2)][S1,nS2,nSM2,nSM1,n]=[FS1,n1h2C0,nFS2,nFSM2,nFSM1,n+1h2C0,n], (3.12)

    where

    FSi,n=σα,τ(Si,n1nj=2w(α)j(Si,nj+1Si,nj))+fSi,n,
    FSi,1=σα,τSi,0+fSi,1.

    Thus, the numerical algorithm for solving problem (2.1)–(2.3) is the following:

    At each sequential time level n=1,2,...,N:

    (1) Solve system (3.10) for Ci,n,i=0,...,M.

    (2) Solve system (3.12) for Si,n,i=1,...,M1.

    (3) Compute the values ui,n=Ci,n+Si,n,i=0,...,M.

    To solve SLAEs (3.10) and (3.12) with tridiagonal matrices, the Thomas algorithm (also known as the sweep method or elimination method) [44] is used. It is a direct method for systems with special matrices. For the tridiagonal systems (3.10) and (3.12), we denote the elements of the main diagonal of the matrices as qi, and the elements of the lower and upper diagonals as pi and ri, respectively. The algorithm may be written as follows (in the case of system (3.10) for C):

    ● The forward elimination phase:

    α0=r0/q0,β1=FC0,n/q0,αi+1=ri/(qipiαi),i=0,1,...,M1,M,βi+1=(FCi,n+piβi)/(qipiαi),i=1,2,...,M,M+1. (3.13)

    ● The backward substitution phase:

    CM,n=βM+1,Ci,n=αi+1Ci+1,n+βi+1,i=M1,M2,...,0. (3.14)

    The conditions for correctness of this algorithm are the diagonal dominance in the matrix

    |qi||pi|+|ri|,i=0,1,...,M. (3.15)

    This property obviously holds for matrices of systems (3.10) and (3.12).

    To justify the proposed algorithm, let us derive estimates of the stability of schemes (3.10) and (3.12) with respect to the initial data and the right-hand side.

    Theorem 1. Suppose {Ci,n | 0iM, 0nN} is the solution of the difference scheme (3.10). Then, the following estimate holds:

    Cn1σα,τw(α)nmax1mnfm,1nN, (3.16)

    where Cn={C0,n,C1,n,...,CM,n}.

    Proof. Rewrite (3.7) as follows:

    1h2Ci1,n+(σα,τ+2h2)Ci,n1h2Ci+1,n=σα,τ(Ci,n1nj=2w(α)j(Ci,nj+1Ci,nj))+fCi,n.
    (σα,τ+2h2)Ci,n=σα,τn1j=1(w(α)jw(α)j+1)Ci,nj+1h2Ci1,n+1h2Ci+1,n+fCi,n.

    Similarly, we can rewrite the difference equations for boundary conditions (3.8) and (3.9):

    (σα,τ+2h2+2ah)C0,n=σα,τn1j=1(w(α)jw(α)j+1)C0,nj+2h2C1,n+fC0,n,
    (σα,τ+2h2+2ah)CM,n=σα,τn1j=1(w(α)jw(α)j+1)CM,nj+2h2CM1,n+fCM,n.

    Suppose Cn=|Cl,n| for some inner point 0<l<M. Note that (w(α)jw(α)j+1)>0 and σα,τ>0. Taking the absolute value of both sides and using the triangle inequality, we obtain

    (σα,τ+2h2)Cnσα,τn1j=1(w(α)jw(α)j+1)Cnj+1h2Cn+1h2Cn+fCn.

    We can simplify it to

    Cnn1j=1(w(α)jw(α)j+1)Cnj+1σα,τfn.

    For the cases of Cn=|C0,n| or Cn=|CM,n|, we can obtain the same inequality:

    (σα,τ+2h2+2ah)Cnσα,τn1j=1(w(α)jw(α)j+1)Cnj+2h2Cn+fCn,
    (σα,τ+2ah)Cnσα,τn1j=1(w(α)jw(α)j+1)Cnj+fCn,
    Cnσα,τσα,τ+2ahn1j=1(w(α)jw(α)j+1)Cnj+1σα,τ+2ahfCnn1j=1(w(α)jw(α)j+1)Cnj+1σα,τfn.

    Next, let us use the mathematical induction method. Let

    An=1σα,τw(α)nmax1mnfm.

    Note that since w(α)n<w(α)n1,An>An1.

    The base case. For n=1, we have

    C11σα,τf1A1.

    The induction step. Suppose CkAk for 1kn1. Consider the case of k=n.

    Cnn1j=1(w(α)jw(α)j+1)Cnj+1σα,τfnn1j=1(w(α)jw(α)j+1)Anj+1σα,τfnn1j=1(w(α)jw(α)j+1)An+1σα,τfn(w(α)1w(α)n)An+1σα,τfn=Anw(α)n(An1σα,τw(α)nfn)An.

    Thus, by induction, inequality (3.16) is true for k=1,2,...,n.

    Similarly, we can obtain an estimate for S.

    Theorem 2. Suppose {Si,n | 0iM, 0nN} is the solution of the difference scheme (3.12). Then, the following estimate holds:

    Sn1σα,τw(α)nmax1mnfm,1nN. (3.17)

    Proof. The proof is similar to Theorem 1. For the boundary cases, we utilize the inequality (3.16).

    Now, we can obtain an estimate for approximate solution un=Cn+Sn, 0<nN, to the base problem (2.1)–(2.3).

    Theorem 3. Suppose {Ci,n, Si,n | 0iM, 0nN} are the solutions of the difference schemes (3.10) and (3.12).

    Then, the following estimate holds:

    un2σα,τw(α)nmax1mnfm,1nN. (3.18)

    Proof. Let us utilize the triangle inequality. Since un=Cn+Sn, then unCn+Sn.

    Now, by inequalities (3.16) and (3.17), we have

    un1σα,τw(α)nmax1mnfm+1σα,τw(α)nmax1mnfm=2σα,τw(α)nmax1mnfm.

    Thus, the difference schemes (3.10) and (3.12) are unconditionally stable with respect to the right-hand side.

    In [32], it is shown that the approximation schemes used in (3.10) and (3.12) have a truncation error of order O(τ2α+h2), i.e., for the error ri,n, there exists a constant c>0, such that

    |ri,n|c(τ2α+h2), 0iM, 0nN. (3.19)

    Theorem 4. Suppose {Ci,n| 0iM, 0nN} is the exact solution of problem (3.2) and {¯Ci,n| 0iM, 0nN} is the solution of difference scheme (3.10). Consider the error

    eCi,n=Ci,n¯Ci,n, 0iM, 0nN.

    Then, for some c1>0, it holds that

    eCnc1TαΓ(1α)(τ2α+h2),1nN. (3.20)

    Proof. Let us subtract Eq (3.6) from (3.5), and, similarly, subtract boundary difference Eqs (3.8) and (3.9) from the boundary conditions. We obtain the difference scheme for error eCn:

    [(σα,τ+2h2+2ah)(2h2)(1h2)(σα,τ+2h2)(1h2)(1h2)(σα,τ+2h2)(1h2)(2h2)(σα,τ+2h2+2ah)][eC0,neC1,neCM1,neCM,n]=[RC0,nRC1,nRCM1,nRC,nM],

    where

    RCi,n=σα,τ(eCi,n1nj=2w(α)j(eCi,nj+1eCi,nj))+rCi,n,
    RCi,1=σα,τeCi,0+rCi,1.

    We can apply Theorem 1 to this scheme and obtain

    eCn1σα,τw(α)nmax1mnrm,1nN.

    By (3.19), for some constant c1>0, we have

    eCnc1σα,τw(α)n(τ2α+h2).

    For the coefficients w(α)j, the following property holds (see [32, p. 32]):

    (1α)jα<w(α)j<(1α)(j1)α.

    Thus,

    eCnc1σα,τ(1α)nα(τ2α+h2)c1Γ(2α)τα(1α)nα(τ2α+h2)c1(1α)Γ(1α)τα(1α)nα(τ2α+h2)c1tαnΓ(1α)(τ2α+h2)c1TαΓ(1α)(τ2α+h2),1nN.

    Similarly, we can obtain an estimate for the error eSi,n=Si,n¯Si,n, 0iM, 0nN.

    Theorem 5. Suppose {Si,n| 0iM, 0nN} is the exact solution of problem (3.3) and {¯Si,n| 0iM, 0nN} is the solution of the difference scheme (3.12).

    Then, for some c2>0, it holds that

    eSnc2TαΓ(1α)(τ2α+h2),1nN. (3.21)

    Now, consider the error between the solution of the original problem and the approximate solution obtained by the proposed numerical algorithm.

    Theorem 6. Suppose {ui,n| 0iM, 0nN} is the exact solution of problem (2.1)–(2.3) and {¯Ci,n, ¯Si,n| 0iM, 0nN} are the solutions of the difference schemes (3.10) and (3.12). Let

    ei,n=ui,n¯ui,n, 0iM, 0nN,

    where ui,n=Ci,n+Si,n and ¯ui,n=¯Ci,n+¯Si,n.

    Then, for some c3>0, it holds that

    enc3TαΓ(1α)(τ2α+h2),1nN. (3.22)

    Proof. By Theorems 4 and 5, we have

    en=un¯un=Cn¯Cn+Sn¯SnCn¯Cn+Sn¯Sn=eCn+eSnc1TαΓ(1α)(τ2α+h2)+c2TαΓ(1α)(τ2α+h2) c3TαΓ(1α)(τ2α+h2).

    The proof is complete.

    In the next section, we perform numerical experiments to confirm the convergence order.

    The test problem is as follows:

    Dαtu(x,t)uxx(x,t)=f(x,t),
    u(x,0)=0,0x1,
    {ux(0,t)ux(1,t)+au(1,t)=0,u(0,t)=0,0t1,

    where

    f(x,t)=Γ(m+1)Γ(m+1α)tmα[x2(1x)2ax2+(2+a)x]+2tm[6x(1x)1+a].

    The analytical solution is u(x,t)=tm[x2(1x)2ax2+(2+a)x].

    For subproblems C(x,t) and S(x,t), the right-hand terms are

    fC(x)=Γ(m+1)Γ(m+1α)tmα[x2(1x)2+ax(1x)+1]+2tm[6x(1x)1+a],
    fS(x)=Γ(m+1)Γ(m+1α)tmα[2x1].

    The analytical solutions for S(x,t) and C(x,t) are

    C(x,t)=tm(x2(1x)2+ax(1x)+1),
    S(x,t)=tm(2x1).

    Experiment 1 was performed for the parameter values α=0.5, m=2, and a=1. To estimate the order of convergence in time, we solved the test problem for grid sizes N=64,128,256,512, and 1024. To reduce the impact of the space step h=1/M, we used the fixed value M=4096. Thus, τ2α>h2 for all values of τ=1/N.

    Table 1 shows the absolute errors δ1(τ)=u(1,t)¯uτ(1,t) of the approximate solution ¯uτ(1,t) obtained for step size τ, as well as the mixed relative errors δ2(τ)=u(1,t)¯uτ(1,t)1+u(1,t) for various dimensions N of the computational grid. It also contains the convergence orders log(δ(τ1)/δ(τ2))log(τ1/τ2) for both errors.

    Table 1.  Errors of the solutions and order of convergence in time for various grid sizes.
    N Absolute error δ1 Order Mixed relative error δ2 Order
    64 7.55×104 2.52×104
    128 2.69×104 1.49 8.98×105 1.49
    256 9.59×105 1.49 3.20×105 1.49
    512 3.40×105 1.49 1.13×105 1.49
    1024 1.20×105 1.50 4.00×106 1.50

     | Show Table
    DownLoad: CSV

    Experiment 2 was performed for the parameter values α=0.5, m=2, and a=1. To estimate the order of convergence in space, we solved the test problem for grid sizes M=64,128,256,512, and 1024. To reduce the impact of the time step τ=1/N, we used the fixed value N=16,384. Thus, h2>τ2α for all values of h=1/M.

    Table 2 shows the absolute errors δ1(h)=u(x,1)¯uh(x,1) of the approximate solution ¯uh(x,1) obtained for step size h, as well as the mixed relative errors δ2(h)=u(x,1)¯uh(x,1)1+u(x,1) for various dimensions M of the computational grid. It also contains the convergence orders log(δ(h1)/δ(h2))log(h1/h2) for both errors.

    Table 2.  Errors of the solutions and order of convergence in space for various grid sizes.
    M Absolute error δ1 Order Mixed relative error δ2 Order
    64 3.19×104 1.06×104
    128 7.97×105 2.00 2.66×105 2.00
    256 1.98×105 2.01 6.60×106 2.01
    512 4.80×106 2.04 1.60×106 2.04
    1024 1.06×106 2.18 3.53×107 2.18

     | Show Table
    DownLoad: CSV

    Figure 1 shows the exact and approximate solutions u(x,1) at the final instant t=T=1, as well as the auxiliary solutions S(x,1) and C(x,1) obtained for the grid sizes M=4096 and N=1024. Solid graphs are exact solutions and dots are approximate ones.

    Figure 1.  Solutions at the final instant t=T=1. The blue graph is S(x,1), the red one is C(x,1), and the green one is u(x,1). Solid lines represent the exact solution and dots are the approximate solution.

    Figures 2(a)(c) show the surface plots for C(x,t), S(x,t), and u(x,t) obtained for the grid sizes M=4096 and N=1024. Solid graphs are the exact solutions and dots are the approximate ones. Figure 2(d) shows the plot of error δ(x,t)=u(x,1)¯u(x,1).

    Figure 2.  Results of numerical experiments for grid size M=4096 and N=1024. A solid surface is the exact solution and dots are the approximate one. (a) Surface plot of C(x,t); (b) surface plot of S(x,t); (c) surface plot of u(x,t); (d) surface plot of error δ=(u(x,t)¯u(x,t)).

    Let us discuss the results of Experiments 1 and 2.

    (1) In Experiments 1 and 2, the finer the grid is for x or t, the lower the errors of the solutions. This confirms the stability and convergence of the difference schemes (3.10) and (3.12).

    (2) In Experiment 1, the computed convergence order is 1.5 in time for α=0.5.

    (3) In Experiment 2, the convergence order is 2 in space.

    (4) This coincides with the theoretical convergence order for the difference schemes based on the L1 formula for the Caputo time derivative and central difference scheme for space.

    (5) In the future, we plan to utilize higher-order approximations for the Caputo fractional derivative [45,46,47].

    In this work, we have constructed a numerical algorithm for solving the initial boundary value problem for the subdiffusion equation with nonlocal boundary conditions. The algorithm consists of reducing the nonlocal problem to the successive solving of two subproblems with local boundary conditions. The solution of the original problem has been found as a sum of the solutions of the subproblems. To solve the subproblems, the implicit difference schemes have been constructed. For solving systems of linear algebraic equations, we have applied the Thomas algorithm. We have established the unconditional stability and obtained the convergence estimates of the difference schemes. We have conducted numerical experiments to study the constructed algorithm. The numerical results show the stability and convergence of the algorithm. The experiments confirm that the order of convergence of the proposed method coincides with the theoretical one.

    In the future, we plan to adapt our approach to subdiffusion equations with more generalized formulations (1.1) of not strongly regular boundary conditions and nonzero initial conditions. We plan to adapt our approach to two-dimensional problems. Our approach for solving the initial boundary value problems may also be utilized in numerical algorithms for solving the inverse problems for nonlocal subdiffusion equations.

    Murat A. Sultanov: Methodology, investigation, writing–review and editing, supervision, project administration, funding acquisition; Vladimir E. Misilov: Methodology, investigation, writing–original draft preparation, writing–review and editing; Makhmud A. Sadybekov: Methodology, validation, investigation, writing–review and editing, supervision. All authors have read and agreed to the published version of the manuscript.

    The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.

    This work was financially supported by the Ministry of Science and Higher Education of the Republic of Kazakhstan (project No. AP19676663).

    The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.



    [1] H. Sun, Y. Zhang, D. Baleanu, W. Chen, Y. Chen, A new collection of real world applications of fractional calculus in science and engineering, Commun. Nonlinear Sci., 64 (2018), 213–231. https://doi.org/10.1016/j.cnsns.2018.04.019 doi: 10.1016/j.cnsns.2018.04.019
    [2] A. A. Kilbas, H. M. Srivastava, J. J. Trujillo, Theory and applications of fractional differential equations, Amsterdam: Elsevier, 2006.
    [3] J. T. Machado, V. Kiryakova, F. Mainardi, Recent history of fractional calculus, Commun. Nonlinear Sci., 16 (2011), 1140–1153. https://doi.org/10.1016/j.cnsns.2010.05.027 doi: 10.1016/j.cnsns.2010.05.027
    [4] R. Metzler, J. H. Jeon, A. G. Cherstvy, E. Barkai, Anomalous diffusion models and their properties: non-stationarity, non-ergodicity, and ageing at the centenary of single particle tracking, Phys. Chem. Chem. Phys., 16 (2014), 24128–24164. https://doi.org/10.1039/C4CP03465A doi: 10.1039/C4CP03465A
    [5] M. J. Buckingham, On pore-fluid viscosity and the wave properties of saturated granular materials including marine sediments, J. Acoust. Soc. Am., 122 (2007), 1486–1501. https://doi.org/10.1121/1.2759167 doi: 10.1121/1.2759167
    [6] W. Chen, S. Hu, W. Cai, A causal fractional derivative model for acoustic wave propagation in lossy media, Arch. Appl. Mech., 86 (2016), 529–539. https://doi.org/10.1007/s00419-015-1043-2 doi: 10.1007/s00419-015-1043-2
    [7] M. Du, Z. Wang, H. Hu, Measuring memory with the order of fractional derivative, Sci. Rep., 3 (2013), 3431. https://doi.org/10.1038/srep03431 doi: 10.1038/srep03431
    [8] J. Zhang, Z. Wei, L. Xiao, Adaptive fractional-order multi-scale method for image denoising, J. Math. Imaging Vis., 43 (2012), 39–49. https://doi.org/10.1007/s10851-011-0285-z doi: 10.1007/s10851-011-0285-z
    [9] Q. Yang, D. Chen, T. Zhao, Y. Chen, Fractional calculus in image processing: a review, Fract. Calc. Appl. Anal., 19 (2016), 1222–1249. https://doi.org/10.1515/fca-2016-0063 doi: 10.1515/fca-2016-0063
    [10] R. Magin, Fractional calculus in bioengineering, part 1, Crit. Rev. Biomed. Eng., 32 (2004), 1–104. https://doi.org/10.1615/CritRevBiomedEng.v32.i1.10 doi: 10.1615/CritRevBiomedEng.v32.i1.10
    [11] C. Pinto, A. Carvalho, Fractional complex-order model for HIV infection with drug resistance during therapy, J. Vib. Control, 22 (2016), 2222–2239. https://doi.org/10.1177/1077546315574964 doi: 10.1177/1077546315574964
    [12] Y. Zhang, B. Baeumer, L. Chen, D. Reeves, H. Sun, A fully subordinated linear flow model for hillslope subsurface stormflow, Water Resour. Res., 53 (2017), 3491–3504. https://doi.org/10.1002/2016WR020192 doi: 10.1002/2016WR020192
    [13] V. E. Tarasov, V. V. Tarasova, Long and short memory in economics: fractional-order difference and differentiation, IRA-International Journal of Management and Social Sciences, 5 (2016), 327–334. https://dx.doi.org/10.21013/jmss.v5.n2.p10 doi: 10.21013/jmss.v5.n2.p10
    [14] A. V. Bitsadze, A. A. Samarskii, Some elementary generalizations of linear elliptic boundary value problems, Dokl. Akad. Nauk SSSR, 185 (1969), 739–740.
    [15] V. A. Il'in, Existence of a reduced system of eigen- and associated functions for a nonselfadjoint ordinary differential operator, Trudy Mat. Inst. Steklov., 142 (1976), 148–155.
    [16] N. I. Ionkin, The solution of a certain boundary value problem of the theory of heat conduction with a nonclassical boundary condition, Differ. Uravn., 13 (1977), 294–304.
    [17] N. I. Ionkin, E. I. Moiseev, A problem for a heat equation with two-point boundary conditions, Differ. Uravn., 15 (1979), 1284–1295.
    [18] V. P. Mikhailov, On Riesz bases in L2(0,1), Dokl. Akad. Nauk SSSR, 144 (1962), 981–984.
    [19] M. A. Naimark, Linear differential operators, London: Harrap, 1967.
    [20] N. Dunford, J. Schwartz, Linear operators, part III: spectral operators, New York: John Wiley & Sons Inc, 1957.
    [21] A. Mokin, On a family of initial-boundary value problems for the heat equation, Diff. Equat., 45 (2009), 126–141. https://doi.org/10.1134/S0012266109010133 doi: 10.1134/S0012266109010133
    [22] M. A. Sadybekov, Initial-boundary value problem for a heat equation with not strongly regular boundary conditions, In: Functional analysis in interdisciplinary applications, Cham: Springer, 2017,330–348. https://doi.org/10.1007/978-3-319-67053-9_32
    [23] A. S. Makin, On spectral decompositions corresponding to non-self-adjoint Sturm-Liouville operators, Dokl. Math., 73 (2006), 15–18. https://doi.org/10.1134/S1064562406010042 doi: 10.1134/S1064562406010042
    [24] A. V. Gulin, On the spectral stability in subspaces for difference schemes with nonlocal boundary conditions, Diff. Equat., 49 (2013), 815–823. https://doi.org/10.1134/S0012266113070045 doi: 10.1134/S0012266113070045
    [25] R. Ashurov, Y. Fayziev, On the nonlocal problems in time for time-fractional subdiffusion equations, Fractal Fract., 6 (2022), 41. https://doi.org/10.3390/fractalfract6010041 doi: 10.3390/fractalfract6010041
    [26] E. Ozbilge, F. Kanca, E. Özbilge, Inverse problem for a time fractional parabolic equation with nonlocal boundary conditions, Mathematics, 10 (2022), 1479. https://doi.org/10.3390/math10091479 doi: 10.3390/math10091479
    [27] M. A. Almalahi, M. S. Abdo, S. K. Panchal, Periodic boundary value problems for fractional implicit differential equations involving Hilfer fractional derivative, Probl. Anal. Issues Anal., 9 (2020), 16–44. https://doi.org/10.15393/j3.art.2020.7410 doi: 10.15393/j3.art.2020.7410
    [28] M. A. Almalahi, A. B. Ibrahim, A. Almutairi, O. Bazighifan, T. A. Aljaaidi, J. A. Awrejcewicz, A qualitative study on second-order nonlinear fractional differential evolution equations with generalized ABC operator, Symmetry, 14 (2022), 207. https://doi.org/10.3390/sym14020207 doi: 10.3390/sym14020207
    [29] A. A. Alikhanov, Stability and convergence of difference schemes approximating a two-parameter nonlocal boundary value problem for time-fractional diffusion equation, Comput. Math. Model., 26 (2015), 252–272. https://doi.org/10.1007/s10598-015-9271-4 doi: 10.1007/s10598-015-9271-4
    [30] N. B. Kerimov, M. I. Ismailov, Direct and inverse problems for the heat equation with a dynamic-type boundary condition, IMA J. Appl. Math., 80 (2015), 1519–1533. https://doi.org/10.1093/imamat/hxv005 doi: 10.1093/imamat/hxv005
    [31] N. H. Tuan, N. A. Triet, N. H. Luc, N. D. Phuong, On a time fractional diffusion with nonlocal in time conditions, Adv. Differ. Equ., 2021 (2021), 204. https://doi.org/10.1186/s13662-021-03365-1 doi: 10.1186/s13662-021-03365-1
    [32] Z. Sun, G. Gao, Fractional differential equations: finite difference methods, Berlin: De Gruyter, 2020. https://doi.org/10.1515/9783110616064
    [33] M. A. Sadybekov, I. N. Pankratova, Correct and stable algorithm for numerical solving nonlocal heat conduction problems with not strongly regular boundary conditions, Mathematics, 10 (2022), 3780. https://doi.org/10.3390/math10203780 doi: 10.3390/math10203780
    [34] M. A. Sultanov, E. N. Akimova, V. E. Misilov, Y. Nurlanuly, Parallel direct and iterative methods for solving the time-fractional diffusion equation on multicore processors, Mathematics, 10 (2022), 323. https://doi.org/10.3390/math10030323 doi: 10.3390/math10030323
    [35] E. N. Akimova, M. A. Sultanov, V. E. Misilov, Y. Nurlanuly, Parallel algorithm for solving the inverse two-dimensional fractional diffusion problem of identifying the source term, Fractal Fract., 7 (2023), 801. https://doi.org/10.3390/fractalfract7110801 doi: 10.3390/fractalfract7110801
    [36] A. A. Alikhanov, A time-fractional diffusion equation with generalized memory kernel in differential and difference settings with smooth solutions, Comput. Meth. Appl. Math., 17 (2017), 647–660. https://doi.org/10.1515/cmam-2017-0035 doi: 10.1515/cmam-2017-0035
    [37] M. A. Sultanov, M. I. Akylbaev, R. Ibragimov, Conditional stability of a solution of a difference scheme for an ill-posed Cauchy problem, Electron. J. Differ. Eq., 2018 (2018), 33.
    [38] K. Cao, D. Lesnic, M. I. Ismailov, Determination of the time-dependent thermal grooving coefficient, J. Appl. Math. Comput., 65 (2021), 199–221. https://doi.org/10.1007/s12190-020-01388-7 doi: 10.1007/s12190-020-01388-7
    [39] N. H. Luc, D. Baleanu, R. P. Agarwal, L. D. Long, Identifying the source function for time fractional diffusion with non-local in time conditions, Comp. Appl. Math., 40 (2021), 159. https://doi.org/10.1007/10.1007/s40314-021-01538-y doi: 10.1007/10.1007/s40314-021-01538-y
    [40] M. Slodička, Uniqueness for an inverse source problem of determining a space-dependent source in a non-autonomous time-fractional diffusion equation, Fract. Calc. Appl. Anal., 23 (2020), 1702–1711. https://doi.org/10.1515/fca-2020-0084 doi: 10.1515/fca-2020-0084
    [41] E. N. Akimova, V. E. Misilov, M. A. Sultanov, Regularized gradient algorithms for solving the nonlinear gravimetry problem for the multilayered medium, Math. Method. Appl. Sci., 45 (2022), 8760–8768. https://doi.org/10.1002/mma.7012 doi: 10.1002/mma.7012
    [42] Y. Zhang, A finite difference method for fractional partial differential equation, Appl. Math. Comput., 215 (2009), 524–529. https://doi.org/10.1016/j.amc.2009.05.018 doi: 10.1016/j.amc.2009.05.018
    [43] I. Podlubny, Fractional differential equations, London: Academic Press, 1999.
    [44] A. Samarskii, E. Nikolaev, Numerical methods for grid equations, volume I: direct methods, Basel: Birkhäuser, 1989. https://doi.org/10.1007/978-3-0348-9272-8
    [45] Y. Dimitrov, R. Miryanov, V. Todorov, Asymptotic expansions and approximations for the Caputo derivative, Comp. Appl. Math., 37 (2018), 5476–5499. https://doi.org/10.1007/s40314-018-0641-3 doi: 10.1007/s40314-018-0641-3
    [46] G. Gao, Z. Sun, H. Zhang, A new fractional numerical differentiation formula to approximate the Caputo fractional derivative and its applications, J. Comput. Phys., 259 (2014), 33–50. https://doi.org/10.1016/j.jcp.2013.11.017 doi: 10.1016/j.jcp.2013.11.017
    [47] A. A. Alikhanov, A new difference scheme for the time fractional diffusion equation, J. Comput. Phys., 280 (2015), 424–438. https://doi.org/10.1016/j.jcp.2014.09.031 doi: 10.1016/j.jcp.2014.09.031
  • Reader Comments
  • © 2024 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(721) PDF downloads(56) Cited by(0)

Figures and Tables

Figures(2)  /  Tables(2)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog