Skip to main content
Springer Nature - PMC COVID-19 Collection logoLink to Springer Nature - PMC COVID-19 Collection
. 2020 Jul 1;84(1):13. doi: 10.1007/s10915-020-01262-5

A Posteriori Error Estimates for Fully Discrete Finite Element Method for Generalized Diffusion Equation with Delay

Wansheng Wang 1,2,, Lijun Yi 1, Aiguo Xiao 3
PMCID: PMC7327226  PMID: 32834471

Abstract

In this paper, we derive several a posteriori error estimators for generalized diffusion equation with delay in a convex polygonal domain. The Crank–Nicolson method for time discretization is used and a continuous, piecewise linear finite element space is employed for the space discretization. The a posteriori error estimators corresponding to space discretization are derived by using the interpolation estimates. Two different continuous, piecewise quadratic reconstructions are used to obtain the error due to the time discretization. To estimate the error in the approximation of the delay term, linear approximations of the delay term are used in a crucial way. As a consequence, a posteriori upper and lower error bounds for fully discrete approximation are derived for the first time. In particular, long-time a posteriori error estimates are obtained for stable systems. Numerical experiments are presented which confirm our theoretical results.

Keywords: Generalized diffusion equation with delay, Finite element method, A posteriori error estimates, Crank–Nicolson method, Long-time a posteriori error estimates

Introduction

In this paper we study a posteriori error estimates of fully discrete finite element method for parabolic delay differential equations (PDDEs). As an example, we consider the numerical methods for the generalized diffusion equation with delay

tu(x,t)+Au(x,t)+Bu(x,η(t))=f(x,t),(x,t)Ω×[0,T], 1.1
u(x,t)=0,(x,t)Ω×[0,T], 1.2
u(x,t)=ϕ(x,t),(x,t)Ω×[t,0], 1.3

where ΩRd, dN, is a bounded convex polygonal domain with boundary Ω, tu(x,t)=ut(x,t), T is a constant, η(t)=t-τ(t)<t is a sufficiently smooth “lag”  function on the interval [0, T] and increases strictly monotonically, the initial function ϕ and the forcing term f(xt) are assumed to be smooth, and t=η(0) is a constant. More precisely, we shall derive a posteriori error estimators for the Crank–Nicolson finite element (CNFE) solutions to Eqs. (1.1)–(1.3). Here operators A and B are of the form, respectively,

Au=-·(A(x)u),Bu=-·(B(x)u),

with A being self-adjoint positive definite, where “”  denotes the spatial gradient and the coefficient matrices A and B are assumed to be smooth.

The equation of the form (1.1), to the best of our knowledge, is one of the two typical examples of PDDEs (see, for example, [21, 39]). Equations of this type arise in several applications such as control theory, population dynamics, heat conduction in materials with thermal memory, biosciences, and so on (see [2, 15, 28, 39, 49], and references therein). Especially, delay systems have recently been used to model the outbreak of Corona Virus Disease 2019 ( COVID-19) in the world [10, 50].

For the numerical solutions of (1.1)–(1.3), the stability of predictor–corrector methods was first investigated in [21]. Later on, several researchers have discussed the stability and a priori error analysis of numerical methods for (1.1)–(1.3) with a constant delay, i.e., τ(t)=t-η(t)=τ with τ>0 being a real constant. The authors of [13, 14] considered the consistence, stability and convergence of an explicit difference scheme and two implicit difference schemes for the Eqs. (1.1)–(1.3) with a constant delay, respectively. Blanco-Cocom and Ávila-Vales in [7] studied the stability and convergence of the θ-methods together with finite difference methods for constant delay reaction–diffusion equations. Using finite element methods for spatial discretization, Liang in [33] investigated the convergence and asymptotic stability of backward Euler and Crank–Nicolson schemes for (1.1)–(1.3) with a constant delay. It should be pointed out that applying the process of semi-discretization with respect to the spatial variable x to (1.1)–(1.3) will leads to delay differential equations (DDEs), and stability and convergence of numerical methods for DDEs have been investigated by many researchers; see, e.g., [6, 12, 16, 17, 2227, 30, 31, 34, 36, 4346, 51, 52]. For recent monographs relevant to the numerical solutions of DDEs, we refer the readers to [5, 9, 29, 32].

We write ξ0=0 and introduce the points {ξi}i1 such that

η(ξi+1)=ξi,i=0,1,2,.

Under the given assumptions, the solution of (1.1)–(1.3) on (ξi,ξi+1] follows from the solution on (ξi-1,ξi] and the solution for t0 can be found by a “method of steps”. Although u(xt) will inherit its smoothness properties on each interval [ξi,ξi+1] from the smoothness properties of ϕ on [t,0] for smooth f and η, the solution u(xt) may suffer regularity loss of time smoothness at points ξi, i=0,1,2,; see, e.g., [5]. This implies that even if the initial function ϕ is sufficiently smooth, the solution to DDEs or PDDEs is generally not sufficiently smooth and has breaking points ξi, i=0,1,. Several approaches have been proposed to detect and approximate these breaking points (see, e.g., [3, 11, 18, 19, 31, 48]) or to resolve the low regularity of the solution at these breaking points by regularization (see, e.g., [20]). These breaking points requires us to provide error estimates with minimal regularity of the solutions. A posteriori estimators of numerical methods can be also used as the indicator in the adaptive time grid refinement which is important in numerically solving DDEs or PDDEs because of the existence of the breaking points ξi, i=0,1,. Recently, Wang et. al. [47] have derived a posteriori error bounds for the Crank–Nicolson–Galerkin type time semi-discretizations for reaction–diffusion equations with delay. In that paper, numerical studies were reported for several test cases where the Crank–Nicolson–Galerkin type time discretization methods together with finite difference method were explored. From the numerical results presented in [47], we observed that although the errors at the point of low regularity have influence on the error estimators, the Crank–Nicolson method attains its expected second order convergence rate since ξ1 is the only low regularity point for second order time methods. Therefore, in this paper we still consider the Crank–Nicolson method in time discretization but with finite element methods in space discretization for (1.1)–(1.3). To the best of our knowledge no article is available in the literature concerning a posteriori error analysis for fully discrete finite element approximations for PDDEs.

In the absence of the delay term (when B=0), much work has been conducted on a posteriori error estimates for linear parabolic problems on isotropic meshes (see, e.g., [4, 42]) or anisotropic meshes (see, e.g., [35, 38]) during the last decades. In particular, several researchers have investigated a posteriori error analysis for the Crank–Nicolson method for parabolic problems in recent years; see, e.g., [1, 4, 35, 37, 38, 42]. It is natural to ask whether the a posteriori error analysis for the parabolic problem can be carried over to PDDEs which may be thought of as a perturbation of the parabolic problem. Such an extension is particularly important not only because the solution to PDDEs has some weak discontinuity points ξi, i=0,1,, but also because a posteriori error analysis has received little attention in the literature. Due to the low regularity property of the solution and the presence of the delay term in (1.1), the extension of those ideas from the simple heat equation to the linear PDDEs is of increased difficulty. To obtain a posteriori error estimators for the CNFE method for linear PDDEs, in this paper, we introduce new quadratic reconstructions based on interpolation approximations.

The paper is organized as follows. We start in Sect. 2 by introducing some definitions and notations relative to the problem, and by presenting the time and space discretization of the problem. In this section, the stability of generalized diffusion equations with delay is also discussed. Section 3 is devoted to quadratic reconstructions for CNFE method for this class of equations. The a posteriori error estimates for the two reconstructions are presented in Sect 4. Especially, the long-time a posteriori error bounds are derived for CNFE method for stable systems in this section. A numerical study is carried out for several test cases in Sect. 5. Section 6 contains a few concluding remarks.

CNFE for Generalized Diffusion Equations with Delay

In this section we consider the CNFE approximation of generalized diffusion equations with delay (1.1)–(1.3). The continuous time approximation will be obtained by linear interpolation.

Functional Setting and Abstract Formulation

We first include some preliminaries on the functional setting and some basic results to be used in our analysis.

For a given Lebesgue measurable set ωRd, let Lp(ω), p1, be the Lebesgue spaces with the corresponding norms ·Lp(ω), and Ws,p(ω), s0, p1, be the standard Sobolev spaces with the norms ·s,p,ω. For convenience, we denote by ·s,ω and ·,ω the norms of the space Hs(ω)=Ws,2(ω) and L(ω), respectively, and ·ω for the usual norm in L2(ω). We denote by H01(ω) the space of functions in H1(ω) that vanish on the boundary of ω (boundary values are taken in the sense of traces), and we denote by ·,·ω either the inner product in L2(ω) or the duality pairing between H01(ω) and its duality H-1(ω). The norm of the space H-1(ω) will be denoted by ·-1,ω. Whenever ω=Ω, we omit the letter ω in the subscripts of ·s,p,ω, ·s,ω, ·,ω, ·ω, ·,·ω, and ·-1,ω. We also introduce the Bochner spaces L2(a,b;X) which are defined by

L2(a,b;X):=φ(t)X,t[a,b]abφX2dt<,

with X being H-1(Ω), H01(Ω), or H1(Ω).

To state the abstract weak formulation of problem (1.1), we need to define two bilinear forms, a(·,·) and b(·,·), corresponding to the elliptic operator A and B, respectively. They are defined respectively on H01(Ω)×H01(Ω) by

a(φ,χ):=A(x)φ,χ,b(φ,χ):=B(x)φ,χ,φ,χH01(Ω).

With the above notations and assumptions in hand, the weak formulation of problem (1.1)–(1.3) may be stated as follows: Suppose fL2(0,T;H-1(Ω)) and ϕL2(t,0;H01(Ω)), and seek u:[0,T]H01(Ω) such that

ut,φ+a(u(t),φ)+b(u(η(t)),φ)=f,φ,φH01(Ω),t[0,T], 2.1
u(·,t)=ϕ(·,t),t[t,0]. 2.2

Here we assume that the bilinear form a(·,·) is coercive and continuous on H01(Ω), i.e.,

a(φ,φ)αφ2,|a(φ,χ)|βφχ,φ,χH01(Ω) 2.3

with α,βR+. We also assume that the bilinear form b(·,·) is continuous on H01(Ω), i.e.,

|b(φ,χ)|γφχ,φ,χH01(Ω), 2.4

with γR+.

Stability of Generalized Diffusion Equations with Delay

Since we will derive long-time a posteriori error estimates for CNFE method for stable generalized diffusion equations with delay, in this subsection we discuss shortly the stability of this class of equations. For this purpose, we assume that the function η(t) is continuously differentiable and define

η¯=sups01η(s). 2.5

Further, let us define η(0)(t)=t, η(1)(t)=η(t), and recursively

η(μ)(t)=η(η(μ-1)(t)),μN.

We assume that there exists a positive integer M such that η(M)(T)[t,0]. Wang et. al. [47] illustrated the existence of such a positive integer M for three lag functions η(t)=t-1,0.5t-1,t-t+1. For the three lag functions, we have η¯=1,2,2, respectively. Here we give another nontrivial example of a lag function η satisfying condition η(M)(T)[t,0]: η(t)=pt-ln(t+2), 0.5<p<1. Obviously, for any fixed T>0, there exists a positive integer M such that η(M)(T)[-ln2,0]. It is also easy to get η¯=22p-1 for this case.

Now we are in position to give the stability result.

Theorem 2.1

(Stability) Suppose fL2(0,T;H-1(Ω)) and ϕL2(t,0;H01(Ω)), and the bilinear forms a(·,·) and b(·,·) satisfy (2.3) and (2.4), respectively. Then under the condition

α2>γ2η¯, 2.6

the solution u(t) to (2.1)–(2.2) satisfies

u(T)2+αη(T)Tu(t)2dtu(0)2+αη¯t0ϕ(t)2dt+1Cα0Tf-12dt, 2.7

where Cα=α2-γ2η¯α.

Proof

Setting φ=u(t) in (2.1), we obtain

ut,u(t)+a(u(t),u(t))+b(u(η(t)),u(t))=f,u(t), 2.8

which, in view of (2.3) and (2.4), implies that

12ddtu(t)2+αu(t)2γu(η(t))u(t)+f-1u(t)α2u(t)2+α2η¯u(η(t))2+12Cαf-12. 2.9

Integrate from 0 to T to get

u(T)2+α0Tu(t)2dtu(0)2+αη¯0Tu(η(t))2dt+1Cα0Tf-12dt. 2.10

Using (2.5), we have

αη¯0Tu(η(t))2dtαη(0)η(T)u(t)2dt, 2.11

and therefore (2.7) holds. This completes the proof.

We note that for constant delay equation, i.e., η(t)=t-τ (in this case, η¯=1), Tian in [41] obtained a similar condition to (2.6) for stability.

CNFE Method for Generalized Diffusion Equations with Delay

For any 0<h<1, let Th be a shape regular, conforming triangulation of Ω¯ into triangles K with diameter hKh. We define Vh by the usual finite element space of continuous, piecewise linear functions on Th:

Vh=vhH1(Ω)|vh|KP1(K),KTh,

where P1(K) denotes the space of polynomials of degree at most 1. We now set

Vh0=VhH01(Ω).

The assumptions on the mesh and discrete space above ensure the existence of an interpolation operator Πh:H01(Ω)Vh0, satisfying the following approximation estimates.

Proposition 2.2

[8, 40] Let Πh:H01(Ω)Vh0 be the usual linear Lagrange interpolation operator. Then we have

ΠhvC1v. 2.12

Further, the following approximation property is satisfied:

hK-1v-ΠhvK+hK-1/2v-ΠhvKCΠvK, 2.13

where the constants C1 and CΠ depend only on the shape regularity of the family of triangulations Th.

In order to describe the time discretization corresponding to (2.1)–(2.2), we introduce a time mesh 0=t0<t1<<tN=T which is a partition of the interval [0, T] with In:=[tn-1,tn] and we denote the time steps by kn=tn-tn-1. For n=1,2,,N, we define

tn-1/2:=tn+tn-12,vn-1/2:=vn+vn-12,and¯vn:=vn-vn-1kn.

Let Uh(t)=Πhϕ(t) for t[t,0]. Then our CNFE approximation can be stated as follows: For the given Uh(t), t[t,0], find UhnVh0 for all n=1,2,,N such that

¯Uhn,φh+a(Uhn-1/2,φh)+bUh(η(tn-1/2)),φh=f(tn-1/2),φh,φhVh0, 2.14

where the continuous time approximation Uh(t)(t[0,T]) is defined by linearly interpolating the nodal values Uhn and Uhn-1 for tIn, 1nN, i.e.

Uh(t):=t-tn-1knUhn+tn-tknUhn-1=Uhn-1/2+(t-tn-1/2)¯Uhn. 2.15

It is noteworthy that the method (2.14) itself needs the continuous approximation Uh(t).

Quadratic Reconstructions for Generalized Diffusion Equations with Delay

Now we shall introduce quadratic time reconstructions, which are appropriate for Eq. (2.1) corresponding method (2.14), and continuous time approximation (2.15).

Crank–Nicolson Delay-Dependent Reconstruction

For 1nN, we define the continuous, piecewise quadratic delay-dependent reconstruction U~h:InVh0 of Uh in time as

U~h(t):=Uh(t)+12(t-tn-1)(t-tn)W~hn=Uhn-1/2+(t-tn-1/2)¯Uhn+12(t-tn-1)(t-tn)W~hn, 3.1

where W~hnVh0 is defined by

W~hn,φh=¯fn,φh-a(¯Uhn,φh)-η(tn-1/2)B¯ηUhn,φh. 3.2

Here we define ¯ηUhn as

¯ηUhn:=Uh(η(tn))-Uh(η(tn-1))η(tn)-η(tn-1). 3.3

For t[t,0], we let U~h(t)=Uh(t). Note that even if η(tn-1/2)[ti-1,ti], in-1, η(t) for t[tn-1,tn] may not belong to [ti-1,ti]. Then in order to estimate the interpolation error in approximating the delay term, we set

R~U(t):=Uh(η(t))-Uh(η(tn-1/2))-(t-tn-1/2)η(tn-1/2)¯ηUhn,t[tn-1,tn]. 3.4

Obviously, if η(tn) and η(tn-1) belong to the same small interval [ti-1,ti], in-1, then we have η(t)[ti-1,ti] for t[tn-1,tn] and hence R~U(t)=0 because η is a strictly monotone increasing function on [0, T].

Multi-point Delay-Independent Reconstruction

We observe that the reconstruction introduced in the above subsection depends on the past values Uh(η(t)), and W~hn in (3.1) is formally an approximation of f/t-Au/t-Bu(η(t))/t in the time slab In. Since the latter is equal to 2u/t2, it seems natural to try to replace W~hn in (3.1) by a finite difference approximation of 2u/t2. We introduce thus a continuous, piecewise multi-point delay-independent reconstruction U^h of Uh in time defined for all tIn, 1nN, by

U^h(t):=Uh(t)+12(t-tn-1)(t-tn)W^hn=Uhn-1/2+(t-tn-1/2)¯Uhn+12(t-tn-1)(t-tn)W^hn, 3.5

where

W^hn:=W~h1forn=1,¯2Uhn:=2(¯Uhn-¯Uhn-1)kn+kn-1,for2nN.

An argument similar to [35] ensures that U^h(t) vanishes on the boundary so that U^h(t),W^hnVh0. We note that Uh(t),U~h(t) and U^h(t) coincide at ti, i=1,2,,N. For t[tn-3/2,tn-1/2], η(t), η(tn-3/2) and η(tn-1/2) may not belong to the same interval Ii, in-1. Then, to estimate the time discretization error due to quadrature approximation of the delay term in the context of multi-point reconstruction, we define

R^U(t):=Uh(η(t))-ln-1/2(t)Uh(η(tn-1/2))-ln-3/2(t)Uh(η(tn-3/2)), 3.6

where

ln-1/2(t)=1+2(t-tn-1/2)kn+kn-1,ln-3/2(t)=-2(t-tn-1/2)kn+kn-1.

Remark 3.1

Considering the delay property of the problem, it is natural to use the multi-point reconstruction. For t<0, we can define k0=-t, Uh-1=Ihϕ(t) and

W^h1:=¯2Uh1:=2((Uh1-Uh0)/k1-(Uh0-Uh-1)/k0)k1+k0. 3.7

Nevertheless, we only consider the case of W^h1=W~h1 for simplicity in this paper.

A Posteriori Error Estimates

Based on the reconstructions U~h and U^h, in this section, we derive four optimal order a posteriori upper bounds for the error e:=u-Uh in the L2(H1)-norm, where u and Uh satisfy (2.1) and (2.14), respectively.

Long-Time Error Estimates for Stable Systems

We first derive long-time a posteriori error estimates in the L2(η(T),T;H1) norm. For this purpose, we set e~:=u-U~h and e^:=u-U^h for the reconstructions U~h and U^h, and need to prove the following lemma.

Lemma 4.1

Let Uh be defined by (2.14). Then

  1. For the reconstruction U~h defined by (3.1), we have, for any tIn with 1nN, and for all φhVh0,
    tU~h,φh+a(Uh,φh)+bUh(η(tn-1/2)),φh=f~,φh-(t-tn-1/2)bη(tn-1/2)¯ηUhn,φh, 4.1
    where ¯ηUhn has been given in (3.3) and f~(t)=f(tn-1/2)+(t-tn-1/2)fn, tIn.
  2. For the multi-point reconstruction U^h defined by (3.5), we have, for any tIn with 2nN, and for all φhVh0,
    tU^h,φh+a(Uh,φh)+ln-1/2(t)b(Uh(η(tn-1/2)),φh)+ln-3/2(t)b(Uh(η(tn-3/2)),φh),=f^,φh+kn-1(t-tn-1/2)2a(W^hn,φh), 4.2
    where
    f^=f(tn-1/2)+(t-tn-1/2)2(f(tn-1/2)-f(tn-3/2))kn-1+kn.

Proof

For φhVh0 and 1nN, (2.14) and (2.15) can yields

¯Uhn,φh+a(Uh,φh)+bUh(η(tn-1/2)),φh=f(tn-1/2),φh+(t-tn-1/2)a(¯Uhn,φh). 4.3

It follows from (3.1) that

tU~h(t)=¯Uhn+t-tn-1/2W~hn. 4.4

Substitute the above relation into (4.3) to obtain

tU~h,φh+a(Uh,φh)+bUh(η(tn-1/2)),φh=f(tn-1/2),φh+(t-tn-1/2)a(¯Uhn,φh)+W~hn,φh. 4.5

Then, by the definition of W~hn, we give the desired identity (4.1).

To derive (4.2) involving the reconstruction U^h, from (3.5) we get

tU^h(t)=¯Uhn+t-tn-1/2W^hn,tIn,n=2,3,,N. 4.6

For φhVh0 and 2nN, substitute the above equation into (4.3) to obtain

tU^h(t),φh+a(Uh,φh)+bUh(η(tn-1/2)),φh=f(tn-1/2),φh+(t-tn-1/2)a(¯Uhn,φh)+W^hn,φh. 4.7

Replace n by n-1 such that (2.14) becomes

¯Uhn-1,φh+a(Uhn-3/2,φh)+bUh(η(tn-3/2)),φh=f(tn-3/2),φh,φhVh0. 4.8

Subtract (4.8) from (2.14) to obtain for all φhVh0

W^hn,φh+aUhn-Uhn-2kn-1+kn,φh+2kn-1+knb(Uh(η(tn-1/2))-Uh(η(tn-3/2)),φh)=2(f(tn-1/2)-f(tn-3/2))kn-1+kn,φh. 4.9

Using the relation

Uhn-Uhn-2kn-1+kn=¯Uhn-kn-12W^hn,

from (4.9) we obtain

W^hn,φh+a¯Uhn,φh+2kn-1+knb(Uh(η(tn-1/2))-Uh(η(tn-3/2)),φh)=2(f(tn-1/2)-f(tn-3/2))kn-1+kn,φh+kn-12a(W^hn,φh). 4.10

It suffices now to substitute (4.10) on the right-hand side of (4.7) to obtain (4.2).

Now we state the following long-time a posteriori error estimates.

Theorem 4.2

(Long-time a posteriori error estimates) Let u and Uh satisfy (2.1) and (2.14), respectively. Then under the stability condition (2.6), there is a constant C independent of the final time T such that, when the delay-dependent reconstruction U~h is employed,

e(T)2+Cα4η(T)TU~h(t)-Uh(t)2dte(T)2+η(T)Tαe2+Cα2e~2dte(0)2+αη(0)0e(t)2dt+Cn=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tn(U~h(t)-Uh(t))K2dt+tn-1tnR~U(t)K2dt, 4.11

and, when the multi-point reconstruction U^h is employed,

e(T)2+Cα4η(T)TU^h(t)-Uh(t)2dte(T)2+η(T)Tαe2+Cα2e~2dte(t1)2+αη(t1)t1e(t)2dt+Cn=2NKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+148kn-12kn3W^hnK2+tn-1tnhK2f-f^K2dt+tn-1tn(U^h(t)-Uh(t))K2dt+tn-1tnR^U(t)K2dt, 4.12

where the contributions SK,n in space discretization are defined on each triangle K of Th and each time interval In as

SK,n:=hKf-¯Uhn+·(AUh)+·(BUh(η(t)))K+hK1/2[AUh·n]K+hK1/2[BUh(η(t))·n]K. 4.13

Here and in what follows, [·] denotes the jump of the bracketed quantity across an interval edge, [·]=0 for an edge on the boundary Ω and n is the unit edge normal.

Proof

We first show the error estimate (4.11) for the delay-dependent reconstruction U~h. For tIn, 1nN, we use the weak formulation (2.1) and (4.4) to get

te~(t),φ+a(e(t),φ)+b(e(η(t)),φ)=f-¯Uhn,φ-a(Uh,φ)-b(Uh(η(t)),φ)-t-tn-1/2W~hn,φ. 4.14

Choosing φ=e~ in the above error equation and using (4.4) again, we have

te~(t),e~+a(e(t),e~)+b(e(η(t)),e~)=f-¯Uhn,e~-Πhe~-a(Uh,e~-Πhe~)-b(Uh(η(t)),e~-Πhe~)-t-tn-1/2W~hn,e~-Πhe~+f,Πhe~-tU~h,Πhe~-a(Uh,Πhe~)-b(Uh(η(t),Πhe~). 4.15

Using (4.1) for tU~h,Πhe~+a(Uh,Πhe~) yields

te~(t),e~+a(e(t),e~)+b(e(η(t)),e~)=f-¯Uhn,e~-Πhe~-a(Uh,e~-Πhe~)-b(Uh(η(t)),e~-Πhe~)-t-tn-1/2W~hn,e~-Πhe~+f-f~,Πhe~-b(Uh(η(t)),Πhe~)+(t-tn-1/2)bη(tn-1/2)¯ηUhn,Πhe~+b(Uh(η(tn-1/2)),Πhe~). 4.16

By the definition of R~U [see (3.4)], we obtain

te~(t),e~+a(e(t),e~)+b(e(η(t)),e~)=f-¯Uhn,e~-Πhe~-a(Uh,e~-Πhe~)-b(Uh(η(t)),e~-Πhe~)-t-tn-1/2W~hn,e~-Πhe~+f-f~,Πhe~-b(R~U(t),Πhe~). 4.17

Now, we integrate the second and third terms on the right-hand side of (4.17) by parts on each of the elements K of Th. Then, in view of the continuity of the bilinear forms b(·,·), using the Cauchy-Schwarz inequality and the Poincaré inequality, we obtain

12ddte~(t)2+a(e(t),e~)γe(η(t))e~+KThf-¯Uhn+·(AUh)+·(BUh(η(t)))Ke~-Πhe~K+12[AUh·n]Ke~-Πhe~K+12[BUh(η(t))·n]Ke~-Πhe~K+t-tn-1/2W~hnKe~-Πhe~K+CPhKf-f~KΠhe~K+γR~U(t)KΠhe~K, 4.18

where CP is the Poincaré constant. Now, based on the fact

a(e,e~)=12{a(e,e)+a(e~,e~)-a(e-e~,e-e~)} 4.19

together with the coercivity of the bilinear form a(·,·) and the relation

|a(e-e~,e-e~)|β(e-e~)2=β(U~h-Uh)2, 4.20

we use the Young’s inequality and Proposition 2.2 to obtain

12ddte~(t)2+α2e2+α2e~2γ2η¯2αe~2+α2η¯e(η(t))2+KThCΠSK,ne~K+CΠhKt-tn-1/2W~hnKe~K+CPC1hKf-f~Ke~K+β(U~h(t)-Uh(t))K2+C1γR~U(t)Ke~K. 4.21

An application of the Young’s inequality yields

ddte~(t)2+αe2+αe~2γ2η¯αe~2+αη¯e(η(t))2+KThϵCΠ2SK,n2+ϵCΠ2hK2t-tn-1/22W~hnK2+4ϵe~K2+ϵCP2C12hK2f-f~K2+2β(U~h(t)-Uh(t))K2+ϵγ2C12R~U(t)K2. 4.22

Since α2>γ2η¯, we can choose ϵ=8αα2-γ2η¯. Integrate from tn-1 to tn to obtain

e~(tn)2+tn-1tnαe2+Cα2e~2dte~(tn-1)2+tn-1tnαη¯e(η(t))2dt+CKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tn(U~h(t)-Uh(t))K2dt+tn-1tnR~U(t)K2dt, 4.23

where C=max8αCΠ2α2-γ2η¯,8αCP2C12α2-γ2η¯,8αγ2C12α2-γ2η¯,2β. Summing over n=1 to N, noting e~(tn)=e(tn) for n0, and

0Tαη¯e(η(t))2dtαη(0)η(T)e(t)2dt, 4.24

lead to the upper bound estimate in (4.11).

We now turn to establish the lower bound of errors. In view of

U~(t)-U(t)e(t)+e~(t) 4.25

and Cα2α, we have

Cα2U~(t)-U(t)22αe(t)2+Cα2e~(t)2,

and therefore

e(T)2+Cα4η(T)TU~h(t)-Uh(t)2dte(T)2+η(T)Tαe(t)2+Cα2e~(t)2dt, 4.26

which gives the lower bound and completes the proof of (4.11).

Similar argument can be used to estimate the errors for the multi-point reconstruction U^h. For tIn, 2nN, using (4.2) for tU^h,Πhe^+a(Uh,Πhe^) and (3.6), we have

te^(t),e^+a(e(t),e^)+b(e(η(t)),e^)=f-¯Uhn,e^-Πhe^-a(Uh,e^-Πhe^)-b(Uh(η(t)),e^-Πhe^)-t-tn-1/2W^hn,e^-Πhe^+f-f^,Πhe^-kn-1(t-tn-1/2)2a(W^hn,Πhe^)-b(R^U(t),Πhe^). 4.27

Similar to the case of the delay-dependent reconstruction, it holds that

12ddte^(t)2+α2e2+α2e^2γ2η¯2αe^2+α2η¯e(η(t))2+KThCΠSK,ne^K+CΠhKt-tn-1/2W^hnKe^K+C1βkn-1|t-tn-1/2|2W^hnKe^K+CPC1hKf-f^Ke^K+β(U~h(t)-Uh(t))K2+γC1R^U(t)Ke^K, 4.28

and therefore

ddte^(t)2+αe2+αe^2γ2η¯αe^2+αη¯e(η(t))2+KThϵCΠ2SK,n2+ϵCΠ2hK2t-tn-1/22W^hnK2+5ϵe^K2+ϵC12β24kn-12(t-tn-1/2)2W^hnK2+ϵCP2C12hK2f-f^K2+2β(U^h(t)-Uh(t))K2+ϵγ2C12R^U(t)K2. 4.29

We choose ϵ=10αα2-γ2η¯ and integrate from tn-1 to tn to obtain

e^(tn)2+tn-1tnαe2+Cα2e^2dte^(tn-1)2+tn-1tnαη¯e(η(t))2dt+CKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+148kn-12kn3W^hnK2+tn-1tn(U^h(t)-Uh(t))K2dt+tn-1tnhK2f-f^K2dt+tn-1tnR^U(t)K2dt, 4.30

where C=max10αCΠ2α2-γ2η¯,10αCP2C12α2-γ2η¯,10αγ2C12α2-γ2η¯,2β,10αC12β2α2-γ2η¯. Summing over n=2 to N, and using the fact e^(tn)=e(tn) for n0, and (4.24), we obtain the upper bound in (4.12). The lower bound in (4.12) can be obtained with the same argument as for the delay-dependent reconstruction. Thus, we complete the proof.

Remark 4.1

We first observe that it follows from (3.1) that

(U~h(t)-Uh(t))2=14(t-tn-1)2(t-tn)2W~hn2,tIn. 4.31

Then in view of

In(t-tn-1)2(t-tn)2=130kn5, 4.32

the upper bound of the error can be given by

e(T)2+η(T)Tαe2+Cα2e~2dte(0)2+αη(0)0e(t)2dt+Cn=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+130kn5W~hnK2+tn-1tnR~U(t)K2dt. 4.33

Further, if e(t)=0 for t[t,0], then

e(T)2+η(T)Tαe2+Cα2e~2dtCn=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+C0Th2f-f~2dt+130n=1Nkn5W~hn2+0TR~U(t)2dt. 4.34

Some observations analogous to the delay-dependent reconstruction can be presented for the multi-point reconstruction. In view of (3.5) and (4.32), we have the following alternative estimate under the assumption (2.6)

e(T)2+η(T)Tαe2+Cα2e^2dte(t1)2+αη(t1)t1e(t)2dt+Cn=2NKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+kn-12kn348+kn530W^hnK2+tn-1tnhK2f-f^K2dt+tn-1tnG^U(t)K2dt. 4.35

Remark 4.2

Under the condition (2.6), the constant C in Theorem 4.2 is independent of the final time T, and therefore the a posteriori error estimators can serve as long-time a posteriori error estimators. To the best of our knowledge, this is the first result on long-time a posteriori error estimates for numerical methods for DDEs and PDDEs. For more general case, we have the following estimates where the constant C will depend on the final time T.

A Posteriori Error Estimates on Finite Time Interval

If the condition (2.6) doesn’t hold, then we have the following a posteriori error estimates for CNFE scheme on a finite time interval.

Theorem 4.3

Let u and Uh satisfy (2.1) and (2.14), respectively. Then, there is a constant C such that

e(T)2+α70TU~h(t)-Uh(t)2dte(T)2+α0Te(t)2+16e~(t)2dtCe(0)2+η(0)0e(t)2dt+0TUh(t)-U~h(t)2dt+Cn=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tnR~U(t)K2dt. 4.36

Proof

Similar to (4.21), from (4.18) we use the Young’s inequality and Proposition 2.2 to obtain

12ddte~(t)2+α2e2+α2e~2α12e~2+3γ2αe(η(t))2+KThCΠSK,ne~K+CΠhKt-tn-1/2W~hnKe~K+CPC1hKf-f~Ke~K+β(U~h(t)-Uh(t))K2+C1γR~U(t)Ke~K. 4.37

An application of the Young’s inequality yields

ddte~(t)2+αe2+αe~2α6e~2+6γ2αe(η(t))2+KThϵCΠ2SK,n2+ϵCΠ2hK2t-tn-1/22W~hnK2+4ϵe~K2+ϵCP2C12hK2f-f~K2+2β(U~h(t)-Uh(t))K2+ϵγ2C12R~U(t)K2. 4.38

Now choosing ϵ=6α and integrating from tn-1 to tn, we obtain

e~(tn)2+αtn-1tne2+16e~2dte~(tn-1)2+6γ2αtn-1tne(η(t))2dt+C2KThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tn(U~h(t)-Uh(t))K2dt+tn-1tnR~U(t)K2dt, 4.39

where C2=max6CΠ2α,6CP2C12α,6γ2C12α,2β. Summing over n=1 to N, noting e~(tn)=e(tn) for 1nN, and U~h(t)=U(t) for t[t,0], we get

e(T)2+α0Te2+16e~2dte(0)2+6γ2α0Te(η(t))2dt+C2n=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tnR~U(t)K2dt+C20TUh(t)-U~h(t)2dt. 4.40

Using (4.24), by induction, we have

e(T)2+α0Te2+16e~2dte(0)2+6γ2η¯α2αη(0)η(T)e(t)2dt+C2n=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tnR~U(t)K2dt+C20TUh(t)-U~h(t)2dtC(T)e(0)2+6γ2η¯αη(0)0e(t)2dt+C20TUh(t)-U~h(t)2dt+C(T)C2n=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tnR~U(t)K2dt, 4.41

where

C(T)=M,if6γ2η¯=α2,6γ2η¯M-α2M6γ2η¯α2M-2-α2M,if6γ2η¯α2.

Note that M, which depends on T, has been defined in Sect. 2.2. Then the upper bound in Theorem 4.3 is proved with C=C(T)max{1,C2,6γ2η¯α}.

We now turn to establish the lower bound. It follows from (4.25) that

U~h(t)-Uh(t)27e(t)2+16e~(t)2. 4.42

As a consequence, it holds that

e(T)2+α70TU~h(t)-Uh(t)2dte(T)2+α0Te(t)2+16e~(t)2dt, 4.43

which gives the lower bound and completes the proof.

Remark 4.3

In view of (4.31) and (4.32), 0TU~h(t)-Uh(t)2dt in the lower and upper bounds of Theorem 4.3 can be replaced by 130n=1Nkn5W~hn. Moreover, the upper bound can be also estimated by

e(T)2+α0Te2+16e~2dtCe(0)2+η(0)0e(t)2dt+130n=1Nkn5W~hn+Cn=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tnR~U(t)K2dt, 4.44

and, if e(t)=0 for t[t,0], then

e(T)2+α0Te2+16e~2dtC30n=1Nkn5W~hn+Cn=1NKThtn-1tnSK,n2dt+112kn3hK2W~hnK2+tn-1tnhK2f-f~K2dt+tn-1tnR~U(t)K2dt. 4.45

If the multi-point reconstruction U^h is explored, then we have the following estimate of CNFE scheme for general delay problems.

Theorem 4.4

Let u and Uh satisfy (2.1) and (2.14), respectively. Then, there is a constant C such that

e(T)2+α8t1TU^h(t)-Uh(t)2dte(T)2+αt1Te(t)2+17e^(t)2dtCe(·,t1)2+η(t1)t1e(t)2dt+t1TUh(t)-U^h(t)2dt+Cn=2NKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+148kn-12kn3W^hnK2+tn-1tnhK2f-f^K2dt+tn-1tnR^U(t)K2dt. 4.46

Proof

We use the Young’s inequality and Proposition 2.2 to obtain the following inequality similar to (4.28),

12ddte^(t)2+α2e2+α2e^2α14e^2+7γ22αe(η(t))2+KThCΠSK,ne^K+CΠt-tn-1/2W^hnKe^K+CPC1hKf-f^Ke^K+C1βkn-1|t-tn-1/2|2W^hnKe^K+β(U^h(t)-Uh(t))K2+C1γR^U(t)Ke^K. 4.47

Using the Young’s inequality again yields

ddte^(t)2+αe2+αe^2α7e^2+7γ2αe(η(t))2+KThϵCΠ2SK,n2+ϵCΠ2hK2t-tn-1/22W^hnK2+5ϵe^K2+ϵCP2C12hK2f-f^K2+ϵC12β24kn-12(t-tn-1/2)2W^hnK+2β(U^h(t)-Uh(t))K2+ϵγ2C12R^U(t)K2. 4.48

Now choosing ϵ=7α, integrating from tn-1 to tn, summing over n=2 to N, and noting e^(tn)=e(tn) for 2nN, we get

e(T)2+αt1Te2+17e^2dte(0)2+7γ2αt1Te(η(t))2dt+C3n=2NKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+148kn-12kn3W^hnK2+tn-1tnhK2f-f^K2dt+tn-1tnR^U(t)K2dt+C3t1TUh(t)-U^h(t)2dt, 4.49

where C3=max7CΠ2α,7CP2C12α,7γ2C12α,7β2C12α,2β. By induction, it follows that

e(T)2+αt1Te2+16e^2dtC(T)e(t1)2+η(t1)t1e(t)2dt+C3t1TUh(t)-U^h(t)2dt+C(T)C3n=2NKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+148kn-12kn3W^hnK2+tn-1tnhK2f-f^K2dt+tn-1tnR^U(t)K2dt, 4.50

where

C(T)=M-1,if7γ2η¯=α2,7γ2η¯M-1-α2M-27γ2η¯α2M-4-α2M-2,if7γ2η¯α2.

Then the upper bound in Theorem 4.4 is obtained with C=C(T)max{1,C3,7γ2η¯α}.

As for the lower bound, similar to the case of the delay-dependent reconstruction, we have

t1TU^h(t)-Uh(t)2dt8t1Te(t)2+17e^(t)2dt, 4.51

and therefore

e(T)2+α8t1TU^h(t)-Uh(t)2dte(T)2+αt1Te(t)2+17e^(t)2dt. 4.52

This gives the lower bound and completes the proof.

Remark 4.4

We first make an analogous observation to Remark 4.3, that is, 0TU^h(t)-Uh(t)2dt in the lower and upper bounds of Theorem 4.4 can be replaced by 130n=1Nkn5W^hn. Moreover, the upper bound can also be estimated by

e(T)2+αt1Te2+17e^2dtCe(t1)2+η(t1)t1e(t)2dt+130n=1Nkn5W^hn+Cn=2NKThtn-1tnSK,n2dt+112kn3hK2W^hnK2+148kn-12kn3W^hnK2+tn-1tnhK2f-f^K2dt+tn-1tnR^U(t)K2dt. 4.53

Remark 4.5

As already mentioned in Remark 3.1, in this paper we also consider the reconstruction W^h1=W~h1, although the reconstruction (3.7) is natural. Due to the presence of the term e(t1)2 and η(t1)t1e(t)2dt on the right-hand sides of (4.12), (4.35) and (4.46), it seems that the estimators derived in (4.12), (4.35) and (4.46) are not sufficient to provide three meaningful a posteriori error estimators. Nevertheless, the optimality of the a posteriori error estimates in (4.12), (4.35) and (4.46) are justified by using the estimates of e(t1)2 and η(t1)t1e(t)2dt from (4.11) and (4.36) in which the error bounds are of optimal order in the L2(0,t1;H1)-norm.

Numerical Examples

We now illustrate the theoretical results on the error estimators for which the error comes either from the time discretization, or from the space discretization, or from both of them. Let us consider applying the CNFE method (2.14) to the following generalized diffusion equation with a delay term

tu(x,t)=a2x2u(x,t)+b2x2u(x,η(t))+f(x,t),t[0,T],x[0,1]. 5.1

Here the forcing term f, and the initial and boundary value conditions are chosen such that the exact solution is u(x,t)=x(1-x)sint.

Since it is natural to use the multi-point reconstruction of the numerical solution to DDEs for a posteriori error estimates, in the following numerical examples we will mainly consider the multi-point reconstruction (3.5). In our implementation, we use the uniform time partition and uniform space partition with constant stepsize k and h, respectively. Moreover, all the integral between tn-1 and tn are approximated by the Gauss-Legendre quadrature formula with three nodes, where the integral, as a polynomial of degree 4, is integrated exactly by this formula.

Let us define the space error estimator EK

EK:=n=2NKThtn-1tnSK,n2dt,

where the contributions SK,n in spatial discretization have been introduced in Theorem 4.2. The time error estimator ET is defined by

ET:=EW1+EW2+EU+Ef+Eη,

where the contributions EW1, EW2, EU, Ef and Eη are computed by

EW1:=112n=2NKThkn3hK2W^hnK2,EW2:=148n=2NKThkn-12kn3W^hnK2,EU:=n=2NKThtn-1tn(U^h(t)-Uh(t))K2dt,Ef:=n=2NKThtn-1tnhK2f-f^K2dt,Eη:=n=2NKThtn-1tnR^U(t)K2dt,

respectively.

Example 1: Linear Proportional Delay

In this case, we test the long time a posteriori error estimates (4.12). For this purpose, we consider linear proportional delay η(t)=0.5t-1 and take a=10, b=5, and T=20 in problem (5.1). It is easy to verify the condition (2.6) which implies that the system is stable.

Let us denote by ErrT the square of the error at time T, i.e.,

ErrT=e(T)2,

by Errη1 the square of the L2(η(T),T;V)-norm of the error, i.e.,

Err1η=αη(T)Te2dt,

The true errors ErrT, Err1η, and the a posteriori error estimators EK, EW1, EW2, EU, Ef, Eη, and their temporal convergence orders are listed in Tables 1 and 2, respectively. From these numerical results, we observe that the true error ErrT and the a posteriori error estimators EW2, EU, Ef, Eη, are of optimal order 4 (since they estimate the square of the error), and the space error estimator EK does not depend on the time stepsize k. The a posteriori quantities EW1:=112n=2NKThkn3hK2W^hnK2 is of optimal order 2. We also note that since the true error Err1η is badly affected by the space mesh diameter h, there is a continuing decreasing in its temporal convergence order.

Table 1.

Example 1: The errors and their orders of CNFE method (2.14) for (5.1) with η(t)=0.5t-1, where T=20

h k ErrT Order Err1η Order EK Order EW1 Order
0.005 0.25 1.27E-06 3.89 6.84E-04 2.91 1.06E-01 4.26E-08 2.02
0.125 8.40E-08 3.92 4.42E-04 0.63 1.06E-01 1.06E-08 2.00
0.0625 4.84E-09 4.12 4.28E-04 0.05 1.06E-01 2.66E-09 2.00
0.0025 0.25 1.27E-06 3.88 3.63E-04 3.74 2.62E-02 1.06E-08 2.02
0.125 8.55E-08 3.90 1.22E-04 1.57 2.62E-02 2.65E-09 2.00
0.0625 5.20E-09 4.04 1.08E-04 0.18 2.63E-02 6.64E-10 2.00

Table 2.

Example 1: The errors and their orders of CNFE method (2.14) for (5.1) with η(t)=0.5t-1, where T=20

h k EW2 Order EU Order Ef Order Eη Order
0.005 0.25 2.66E-04 4.02 4.26E-04 4.02 8.79E-06 3.97 3.26E-05 4.01
0.125 1.66E-05 4.00 2.65E-05 4.00 5.53E-07 3.99 2.04E-06 4.00
0.0625 1.04E-06 4.00 1.66E-06 4.00 3.47E-08 4.00 1.28E-07 4.00
0.0025 0.25 2.66E-04 4.02 4.26E-04 4.02 2.20E-06 3.97 3.26E-05 4.01
0.125 1.66E-05 4.00 2.65E-05 4.00 1.38E-07 3.99 2.04E-06 4.00
0.0625 1.04E-06 4.00 1.66E-06 4.00 8.67E-09 4.00 1.28E-07 4.00

To clearly illustrate the temporal convergence behaviours of the true errors ErrT, Err1η, and the a posteriori error estimators EK, EW1, EW2, EU, Ef, Eη, we also present them in Fig. 1 against 1/k in a log–log scale.

Fig. 1.

Fig. 1

Log–log plot of the errors of CNFE method (2.14) for (5.1) with η(t)=0.5t-1 in Example 1, where T=20 and h=0.000125

In order to measure the quality of our estimators, the estimated error is compared to the true error by introducing the so-called effecitvity index. We define the effectivity index eiU of the upper error bound as

eiU:=EK+ETErrT+Err1η12.

To measure the contribution of space discretization error and time discretization error, we also define the following effectivity indices in space and in time

eiUK:=EKErrT+Err1η12andeiUT:=ETErrT+Err1η12.

respectively.

Referring to Table 3, we observe that for a fixed space mesh diameter h, the computing error is mainly due to the space discretizaiton and the space error estimator EK behaves as the true error. To clearly illustrate the effectivity indices eiUK and eiUT, we change simultaneously the space mesh diameter h and the time stepsize k with h being proportional to k2, which is the natural choice because of the error behaviour O(h+k2). The numerical results are presented in Table 4. The correct temporal and spatial convergence orders are observed for the true errors. We can see that the effectivity indices eiU, eiUK and eiUT presented in Table 4 for CNFE method seem to be asymptotically constant (around 15.4, 15.4 and 0.3, respectively).

Table 3.

Example 1: The effecitvity indices of error estimators of CNFE method (2.14) for (5.1) with η(t)=0.5t-1, where T=20

h k ErrT+Err1η eiU eiUK eiUT
0.005 0.25 6.85E-04 12.48 12.44 1.03
0.125 4.22E-04 15.48 15.48 0.32
0.0625 4.28E-04 15.74 15.74 0.08
0.0025 0.25 3.65E-04 8.60 8.48 1.41
0.125 1.22E-04 14.68 14.66 0.61
0.0625 1.07E-04 15.61 15.61 0.16

Table 4.

Example 1: The effecitvity indices of error estimators of CNFE method (2.14) for (5.1) with η(t)=0.5t-1, where T=20

h k ErrT+Err1η Order in h Order in k eiU eiUK eiUT
0.02 0.25 7.09E-03 15.90 15.90 0.35
0.005 0.125 4.42E-04 2.00 4.00 15.48 15.48 0.32
0.00125 0.0625 2.76E-05 2.00 4.00 15.37 15.37 0.32
0.0003125 0.03125 1.73E-06 2.00 4.00 15.34 15.34 0.32

Example 2: Nonlinear Delay

In this case, we consider nonlinear delay η(t)=0.8t-ln(t+2) and take a=1 and b=2 in problem (5.1). It is easy to verify that the condition (2.6) is not satisfied. Thus we consider the a posteriori error estimates (4.46) on a finite time interval [0, T] with T=1. On account of the nonlinearity of the delay, the error behaviours are certainly much more complicated compared to the previous example. We denote by Err1 the square of the L2(t1,T;V)-norm of the error, i.e.,

Err1=αt1Te2dt.

The true errors ErrT, Err1, and the a posteriori error estimators EK, EW1, EW2, EU, Ef, Eη, and their temporal convergence orders are listed in Tables 5 and 6, respectively. The temporal convergence behaviours of these quantities are also presented in Fig. 2 against 1/k in a log–log scale. From these numerical results, we still observe the correct convergence orders for all these quantities, though the convergence orders are slightly affected by the nonlinearity of the delay and the space mesh diameter h.

Table 5.

Example 2: The errors and their orders of CNFE method (2.14) for (5.1) with η(t)=0.8t-ln(t+2), where T=1

h k ErrT Order Err1 Order EK Order EW1 Order
0.001 0.125 8.15E-08 4.01 1.43E-07 2.72 1.09E-06 9.96E-12 1.72
0.0625 5.07E-09 4.00 9.41E-08 0.61 1.41E-06 2.72E-12 1.87
0.03125 3.14E-10 4.02 9.10E-08 0.05 1.60E-06 7.10E-13 1.94
0.0005 0.125 8.16E-08 4.01 7.53E-08 3.54 2.76E-07 2.49E-12 1.72
0.0625 5.08E-09 4.00 2.60E-08 1.54 3.57E-07 6.80E-13 1.87
0.03125 3.16E-10 4.00 2.29E-08 0.18 4.03E-07 1.77E-13 1.94

Table 6.

Example 2: The errors and their orders of CNFE method (2.14) for (5.1) with η(t)=0.8t-ln(t+2), where T=1

h k EW2 Order EU Order Ef Order Eη Order
0.001 0.125 3.89E-07 3.72 6.23E-07 3.72 1.57E-12 3.58 7.83E-08 3.75
0.0625 2.66E-08 3.87 4.25E-08 3.87 1.13E-13 3.79 5.30E-09 3.89
0.03125 1.73E-09 3.94 2.77E-09 3.94 7.61E-15 3.90 3.44E-10 3.95
0.0005 0.125 3.89E-07 3.72 6.23E-07 3.72 3.92E-13 3.58 7.83E-08 3.75
0.0625 2.66E-08 3.87 4.25E-08 3.87 2.83E-14 3.79 5.30E-09 3.89
0.03125 1.73E-09 3.94 2.77E-09 3.94 1.90E-15 3.90 3.44E-10 3.95

Fig. 2.

Fig. 2

Log–log plot of the errors of CNFE method (2.14) for (5.1) with η(t)=0.8t-ln(t+2) in Example 2, where T=1, h=0.000125

In view of the a posteriori error estimates (4.46), the lower and upper estimators are defined by α8EU and EK+ET, respectively. We are interested in computing the effectivity indices eiL and eiU, defined as

eiL:=Lower estimator87Err112andeiU:=Upper estimatorErrT+87Err112,

respectively. These effectivity indices are presented in Table 7 for a fixed space mesh diameter h and in Table 8 for changeable h with simultaneous decrease of the time stepsize k. From Table 8, we find that the effectivity index eiL of the lower estimator of the CNFE method is around 0.18 and the effectivity index eiUT of the upper time error estimator ET is around 0.66 when the space mesh diameter h and the time stepsize k are changed simultaneously with h being proportional to k2.

Table 7.

Example 2: The effecitvity indices of error estimators of CNFE method (2.14) for (5.1) with η(t)=0.8t-ln(t+2), where T=1

h k ErrT+87Err1 eiL eiU eiUK eiUT
0.0005 0.5 3.75E-05 0.79 1.88 0.03 1.88
0.25 2.32E-06 1.01 2.50 0.26 2.49
0.125 1.68E-07 0.95 2.85 1.28 2.55
0.00025 0.5 3.75E-05 0.79 1.88 0.01 1.88
0.25 2.30E-06 1.02 2.50 0.13 2.50
0.125 1.48E-07 1.08 2.80 0.69 2.71

Table 8.

Example 2: The effecitvity indices of error estimators of CNFE method (2.14) for (5.1) with η(t)=0.8t-ln(t+2), where T=1

h k ErrT+87Err1 Order in h Order in k eiL eiU eiUK eiUT
0.02 0.25 4.30E-05 0.16 2.30 2.22 0.58
0.005 0.125 2.73E-06 1.99 3.98 0.17 3.17 3.10 0.63
0.00125 0.0625 1.71E-07 2.00 4.00 0.18 3.65 3.59 0.66
0.0003125 0.03125 1.07E-08 2.00 4.00 0.18 3.90 3.84 0.67

Concluding Remarks

Seeing that DDEs and PDDEs and their variants play a pivotal role in the modeling of several physical and biological phenomena, and that the solution to this class of equations is generally not sufficiently smooth and has breaking points, a posteriori error estimates are extremely important for numerically solving them. In this work we presented the a posteriori error analysis for the CNFE method (2.14) for generalized diffusion equation with delay. We first obtained the sufficient condition for the stability of this class of equations. Based on this stability condition, we proved long-time a posteriori error estimates for stable PDDEs for the first time, after we introduced two different continuous and piecewise quadratic reconstructions to estimate the time discretization error. By means of these reconstructions, we further derived a posteriori upper and lower error bounds for the CNFE method (2.14) on a finite time interval for general systems. These lower bounds are optimal in a certain sense. Although many researchers have investigated the stability and a priori error estimates of some numerical methods for PDDEs and their variant, it is the first time to explore a posteriori error analysis for fully discrete numerical methods for such types of equations. It is worth emphasizing that the techniques exploited in this paper can be easily extended to other types of linear PDDEs, even PDDEs with several delays.

It is noteworthy that these error bounds depend only upon the discretization parameters and the data of problems, and thus they are computable. We carried out various numerical experiments for the CNFE method (2.14) for generalized diffusion equation with different delays, e.g., linear proportional delay η(t)=0.5t-1 and nonlinear delay η(t)=0.8t-ln(t+2). For both delay problems, these experiments exactly verify the theoretical results, and the effectivity index eiUT of the upper time error estimator ET stays close to a constant. We also found that the upper space error estimator EK may slightly affect the effectivity of the upper error estimator when the CNFE method with linear element was applied to general systems with nonlinear delay. Studying a posteriori error estimates of high-order finite element methods for partial functional differential equations will be our future work.

Acknowledgements

The authors would like to thank the referee for comments and suggestions that led to improvements in the presentation of this paper. This work was supported by the National Natural Science Foundation of China (Grant Nos. 11771060, 11771298, 11671343).

Footnotes

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Akrivis G, Makridakis Ch, Nochetto RH. A posteriori error estimates for the Crank–Nicolson method for parabolic equations. Math. Comput. 2006;75:511–531. [Google Scholar]
  • 2.Baker, C.T.H., Bocharov, G.A., Rihan, F.A.: A report on the use of delay differential equations in numerical modelling in the biosciences, MCCM Technical Report, vol. 343, pp. 1360–1725. Manchester, ISSN (1999)
  • 3.Baker CTH, Paul CAH. Discontinuous solutions of neutral delay differential equations. Appl. Numer. Math. 2006;56:284–304. [Google Scholar]
  • 4.Bänsch E, Karakatsani F, Makridakis Ch. A posteriori error control for fully discrete Crank–Nicolson schemes. SIAM J. Numer. Anal. 2012;50:2845–2872. [Google Scholar]
  • 5.Bellen A, Zennaro M. Numerical Methods for Delay Differential Equations. Oxford: Oxford University Press; 2003. [Google Scholar]
  • 6.Bellen A, Maset S, Zennaro M, Guglielmi N. Recent trends in the numerical solution of retarded functional differential equations. Acta Numer. 2009;18:1–110. [Google Scholar]
  • 7.Blanco-Cocom L, Ávila-Vales E. Convergence and stability analysis of the θ-method for delayed diffusion mathematical models. Appl. Math. Comput. 2014;231:16–26. [Google Scholar]
  • 8.Brenner SC, Scott LR. The Mathematical Theory of Finite Element Methods. New York: Springer; 2002. [Google Scholar]
  • 9.Brunner H. Collocation Methods for Volterra Integral and Related Functional Equations. Cambridge: Cambridge University Press; 2004. [Google Scholar]
  • 10.Chen, Y., Cheng, J., Jiang, J., Liu, K. J.: A time delay dynamical model for outbreak of 2019-nCoV and the parameter identification (2020). ArXiv: 2002.00418
  • 11.Enright WH, Hayashi H. A delay differential equation solver based on a continuous Runge–Kutta method with defect control. Numer. Algorithms. 1998;16:349–364. [Google Scholar]
  • 12.Gan SQ. Dissipativity of θ-methods for nonlinear delay differential equations of neutral type. Appl. Numer. Math. 2009;59:1354–1365. [Google Scholar]
  • 13.García P, Castro MA, Martín JA, Sirvent A. Numerical solutions of diffusion methematical models with delay. Math. Comput. Model. 2009;50:860–868. [Google Scholar]
  • 14.García P, Castro MA, Martín JA, Sirvent A. Convergence of two implicit numerical schemes for diffusion mathematical models with delay. Math. Comput. Model. 2010;52:1279–1287. [Google Scholar]
  • 15.Green D, Stech HW. Diffusion and hereditary effects in a class of population models. In: Busenberg SN, Cooke KL, editors. Differential Equations and Applications in Ecology, Epidemics, and Population Problems. New York: Academic Press; 1981. [Google Scholar]
  • 16.Guglielmi N. On the asymptotic stability properties of Runge-Kutta methods for delay differential equations. Numer. Math. 1997;77:467–485. [Google Scholar]
  • 17.Guglielmi N. Asymptotic stability barriers for natural Runge–Kutta processes for delay equations. SIAM J. Numer. Anal. 2001;39:763–783. [Google Scholar]
  • 18.Guglielmi N. Open issues in devising software for the numerical solution of implicit delay differential equations. J. Comput. Appl. Math. 2006;185(2):261–277. [Google Scholar]
  • 19.Guglielmi N, Hairer E. Computing breaking points in implicit delay differential equations. Adv. Comput. Math. 2008;29:229–247. [Google Scholar]
  • 20.Guglielmi N, Hairer E. Asymptotic expansions for regularized state-dependent neutral delay equations. SIAM J. Math. Anal. 2012;44:2428–2458. [Google Scholar]
  • 21.Houwen PJV, Sommeijer BP, Baker CTH. On the stability of predictor–corrector methods for parabolic equations with delay. IMA J. Numer. Anal. 1986;6:1–23. [Google Scholar]
  • 22.Hu GD, Mitsui T. Stability analysis of numerical methods for systems of neutral delay-differential equations. BIT. 1995;35:504–515. [Google Scholar]
  • 23.Huang CM, Li SF, Fu HY, Chen GN. Stability and error analysis of one-leg methods for nonlinear delay differential equations. J. Comput. Appl. Math. 1999;103:263–279. [Google Scholar]
  • 24.In’t Hout KJ, Spijker MN. Stability analysis of numerical methods for delay differential equations. Numer. Math. 1991;59:807–814. [Google Scholar]
  • 25.In’t Hout KJ. The stability of a class of Runge–Kutta methods for delay differential equations. Appl. Numer. Math. 1992;9:347–355. [Google Scholar]
  • 26.Jackiewicz Z. Asymptotic stability analysis of θ-methods for functional differential equations. Numer. Math. 1984;43:389–396. [Google Scholar]
  • 27.Jackiewicz Z, Lo E. Numerical solution of neutral functional differential equations by Adams methods in divided difference form. J. Comput. Appl. Math. 2006;189:592–605. [Google Scholar]
  • 28.Kolmanovskii VB, Myshkis A. Introduction to the Theory and Applications of Functional Differential Equations. Dordrecht: Kluwer Academic Publishers; 1999. [Google Scholar]
  • 29.Kuang JX, Cong YH. Stability of Numerical Methods for Delay Differential Equations. Beijing: Science Press; 2005. [Google Scholar]
  • 30.Li SF. High order contractive Runge–Kutta methods for Volterra functional differential equations. SIAM J. Numer. Anal. 2010;47:4290–4325. [Google Scholar]
  • 31.Li SF, Li YF. B-convergence theory of Runge–Kutta methods for stiff Volterra functional differential equations with infinite integration interval. SIAM J. Numer. Anal. 2015;53:2570–2583. [Google Scholar]
  • 32.Li SF. Numerical Analysis for Stiff Ordinary and Functional Differential Equations. Xiangtan: Xiangtan University Press; 2010. [Google Scholar]
  • 33.Liang H. Convergence and asymptotic stability of Galerkin methods for linear parabolic equations with delays. Appl. Math. Comput. 2015;264:160–178. [Google Scholar]
  • 34.Liu MZ, Spijker MN. The stability of θ-methods in the numerical solution of delay differential equations. IMA J. Numer. Anal. 1990;10:31–48. [Google Scholar]
  • 35.Lozinski A, Picasso M, Prachittham V. An anisotropic error estimator for the Crank–Nicolson method: application to a parabolic problem. SIAM J. Sci. Comput. 2009;31:2757–2783. [Google Scholar]
  • 36.Maset S, Zennaro M. Good behavior with respect to the stiffness in the numerical integration of retarded functional differential equations. SIAM J. Numer. Anal. 2014;52:1843–1866. [Google Scholar]
  • 37.Murali Mohan Reddy G, Sinha RK. On the Crank–Nicolson anisotropic a posteriori error analysis for parabolic integro-differential equations. Math. Comput. 2016;85:2365–2390. [Google Scholar]
  • 38.Picasso M, Prachittham V. An adaptive algorithm for the Crank–Nicolson scheme applied to a time-dependent convection–diffusion problem. J. Comput. Appl. Math. 2009;233:1139–1154. [Google Scholar]
  • 39.Reyes E, Rodríguez F, Martín JA. Analytic-numerical solutions of diffusion mathematical models with delays. Comput. Math. Appl. 2008;56:743–753. [Google Scholar]
  • 40.Scott LR, Zhang S. Finite element interpolation of non-smooth functions satisfying boundary conditions. Math. Comput. 1990;54:483–493. [Google Scholar]
  • 41.Tian HJ. Asymptotic stability of numerical methods for linear delay parabolic differential equations. Comput. Math. Appl. 2008;56:1758–1765. [Google Scholar]
  • 42.Verfürth R. A posteriori error estimates for finite element discretizations of the heat equation. Calcolo. 2003;40:195–212. [Google Scholar]
  • 43.Wang WS, Li SF. Stability analysis of θ-methods for nonlinear neutral functional differential equations. SIAM J. Sci. Comput. 2008;30:2181–2205. [Google Scholar]
  • 44.Wang WS, Li SF, Su K. Nonlinear stability of general linear methods for neutral delay differential equations. J. Comput. Appl. Math. 2009;224:592–601. [Google Scholar]
  • 45.Wang WS, Zhang Y, Li SF. Stability of continuous Runge–Kutta-type methods for nonlinear neutral delay-differential equations. Appl. Math. Model. 2009;33:3319–3329. [Google Scholar]
  • 46.Wang WS, Zhang CJ. Preserving stability implicit Euler method for nonlinear Volterra and neutral functional differential equations in Banach space. Numer. Math. 2010;115:451–474. [Google Scholar]
  • 47.Wang WS, Rao T, Shen WW, Zhong P. A posteriori error analysis for the Crank–Nicolson–Galerkin method for the reaction–diffusion equations with delay. SIAM J. Sci. Comput. 2018;40:A1095–A1120. [Google Scholar]
  • 48.Willé DR, Baker CTH. The tracking of derivative discontinuities in systems of delay differential equations. Appl. Numer. Math. 1992;9:209–222. [Google Scholar]
  • 49.Wu JH. Theory and Applications of Partial Functional Differential Equations. New York: Springer; 1996. [Google Scholar]
  • 50.Yan Y, Chen Y, Liu KJ, Luo XY, Xu BX, Jiang Y, Cheng J. Modeling and prediction for the trend of outbreak of NCP based on a time-delay dynamic system. Sci. Sin. Math. 2020;50:1–8. doi: 10.1360/SSM-2020-0026. [DOI] [Google Scholar]
  • 51.Zhang CJ, Zhou SZ. Non-linear stability and D-convergence of Runge–Kutta methods for delay differential equations. J. Comput. Appl. Math. 1997;85:225–237. [Google Scholar]
  • 52.Zhang CJ, Li SF. Dissipativity and exponentially asymptotic stability of the solutions for nonlinear neutral functional-differential equations. Appl. Math. Comput. 2001;119:109–115. [Google Scholar]

Articles from Journal of Scientific Computing are provided here courtesy of Nature Publishing Group

RESOURCES