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
| 1.1 |
| 1.2 |
| 1.3 |
where , , is a bounded convex polygonal domain with boundary , , is a constant, is a sufficiently smooth “lag” function on the interval [0, T] and increases strictly monotonically, the initial function and the forcing term f(x, t) are assumed to be smooth, and 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 and are of the form, respectively,
with 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., with 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, 22–27, 30, 31, 34, 36, 43–46, 51, 52]. For recent monographs relevant to the numerical solutions of DDEs, we refer the readers to [5, 9, 29, 32].
We write and introduce the points such that
Under the given assumptions, the solution of (1.1)–(1.3) on follows from the solution on and the solution for can be found by a “method of steps”. Although u(x, t) will inherit its smoothness properties on each interval from the smoothness properties of on for smooth f and , the solution u(x, t) may suffer regularity loss of time smoothness at points , ; 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 , . 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 , . 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 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 ), 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 , , 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 , let , , be the Lebesgue spaces with the corresponding norms , and , , , be the standard Sobolev spaces with the norms . For convenience, we denote by and the norms of the space and , respectively, and for the usual norm in . We denote by the space of functions in that vanish on the boundary of (boundary values are taken in the sense of traces), and we denote by either the inner product in or the duality pairing between and its duality . The norm of the space will be denoted by . Whenever , we omit the letter in the subscripts of , , , , , and . We also introduce the Bochner spaces which are defined by
with X being , , or .
To state the abstract weak formulation of problem (1.1), we need to define two bilinear forms, and , corresponding to the elliptic operator and , respectively. They are defined respectively on by
With the above notations and assumptions in hand, the weak formulation of problem (1.1)–(1.3) may be stated as follows: Suppose and , and seek such that
| 2.1 |
| 2.2 |
Here we assume that the bilinear form is coercive and continuous on , i.e.,
| 2.3 |
with . We also assume that the bilinear form is continuous on , i.e.,
| 2.4 |
with .
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 is continuously differentiable and define
| 2.5 |
Further, let us define , , and recursively
We assume that there exists a positive integer M such that . Wang et. al. [47] illustrated the existence of such a positive integer M for three lag functions . For the three lag functions, we have , respectively. Here we give another nontrivial example of a lag function satisfying condition : , . Obviously, for any fixed , there exists a positive integer M such that . It is also easy to get for this case.
Now we are in position to give the stability result.
Theorem 2.1
(Stability) Suppose and , and the bilinear forms and satisfy (2.3) and (2.4), respectively. Then under the condition
| 2.6 |
the solution u(t) to (2.1)–(2.2) satisfies
| 2.7 |
where .
Proof
Setting in (2.1), we obtain
| 2.8 |
which, in view of (2.3) and (2.4), implies that
| 2.9 |
Integrate from 0 to T to get
| 2.10 |
Using (2.5), we have
| 2.11 |
and therefore (2.7) holds. This completes the proof.
We note that for constant delay equation, i.e., (in this case, ), Tian in [41] obtained a similar condition to (2.6) for stability.
CNFE Method for Generalized Diffusion Equations with Delay
For any , let be a shape regular, conforming triangulation of into triangles K with diameter . We define by the usual finite element space of continuous, piecewise linear functions on :
where denotes the space of polynomials of degree at most 1. We now set
The assumptions on the mesh and discrete space above ensure the existence of an interpolation operator , satisfying the following approximation estimates.
Proposition 2.2
[8, 40] Let be the usual linear Lagrange interpolation operator. Then we have
| 2.12 |
Further, the following approximation property is satisfied:
| 2.13 |
where the constants and depend only on the shape regularity of the family of triangulations .
In order to describe the time discretization corresponding to (2.1)–(2.2), we introduce a time mesh which is a partition of the interval [0, T] with and we denote the time steps by . For , we define
Let for . Then our CNFE approximation can be stated as follows: For the given , , find for all such that
| 2.14 |
where the continuous time approximation is defined by linearly interpolating the nodal values and for , , i.e.
| 2.15 |
It is noteworthy that the method (2.14) itself needs the continuous approximation .
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 , we define the continuous, piecewise quadratic delay-dependent reconstruction of in time as
| 3.1 |
where is defined by
| 3.2 |
Here we define as
| 3.3 |
For , we let . Note that even if , , for may not belong to . Then in order to estimate the interpolation error in approximating the delay term, we set
| 3.4 |
Obviously, if and belong to the same small interval , , then we have for and hence 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 , and in (3.1) is formally an approximation of in the time slab . Since the latter is equal to , it seems natural to try to replace in (3.1) by a finite difference approximation of . We introduce thus a continuous, piecewise multi-point delay-independent reconstruction of in time defined for all , , by
| 3.5 |
where
An argument similar to [35] ensures that vanishes on the boundary so that . We note that and coincide at , . For , , and may not belong to the same interval , . Then, to estimate the time discretization error due to quadrature approximation of the delay term in the context of multi-point reconstruction, we define
| 3.6 |
where
Remark 3.1
Considering the delay property of the problem, it is natural to use the multi-point reconstruction. For , we can define , and
| 3.7 |
Nevertheless, we only consider the case of for simplicity in this paper.
A Posteriori Error Estimates
Based on the reconstructions and , in this section, we derive four optimal order a posteriori upper bounds for the error in the -norm, where u and 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 norm. For this purpose, we set and for the reconstructions and , and need to prove the following lemma.
Lemma 4.1
Let be defined by (2.14). Then
- For the multi-point reconstruction defined by (3.5), we have, for any with , and for all ,
where4.2
Proof
For and , (2.14) and (2.15) can yields
| 4.3 |
It follows from (3.1) that
| 4.4 |
Substitute the above relation into (4.3) to obtain
| 4.5 |
Then, by the definition of , we give the desired identity (4.1).
To derive (4.2) involving the reconstruction , from (3.5) we get
| 4.6 |
For and , substitute the above equation into (4.3) to obtain
| 4.7 |
Replace n by such that (2.14) becomes
| 4.8 |
Subtract (4.8) from (2.14) to obtain for all
| 4.9 |
Using the relation
from (4.9) we obtain
| 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 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 is employed,
| 4.11 |
and, when the multi-point reconstruction is employed,
| 4.12 |
where the contributions in space discretization are defined on each triangle K of and each time interval as
| 4.13 |
Here and in what follows, denotes the jump of the bracketed quantity across an interval edge, for an edge on the boundary and is the unit edge normal.
Proof
We first show the error estimate (4.11) for the delay-dependent reconstruction . For , , we use the weak formulation (2.1) and (4.4) to get
| 4.14 |
Choosing in the above error equation and using (4.4) again, we have
| 4.15 |
Using (4.1) for yields
| 4.16 |
By the definition of [see (3.4)], we obtain
| 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 . Then, in view of the continuity of the bilinear forms , using the Cauchy-Schwarz inequality and the Poincaré inequality, we obtain
| 4.18 |
where is the Poincaré constant. Now, based on the fact
| 4.19 |
together with the coercivity of the bilinear form and the relation
| 4.20 |
we use the Young’s inequality and Proposition 2.2 to obtain
| 4.21 |
An application of the Young’s inequality yields
| 4.22 |
Since , we can choose . Integrate from to to obtain
| 4.23 |
where . Summing over to N, noting for , and
| 4.24 |
lead to the upper bound estimate in (4.11).
We now turn to establish the lower bound of errors. In view of
| 4.25 |
and , we have
and therefore
| 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 . For , , using (4.2) for and (3.6), we have
| 4.27 |
Similar to the case of the delay-dependent reconstruction, it holds that
| 4.28 |
and therefore
| 4.29 |
We choose and integrate from to to obtain
| 4.30 |
where . Summing over to N, and using the fact for , 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
| 4.31 |
Then in view of
| 4.32 |
the upper bound of the error can be given by
| 4.33 |
Further, if for , then
| 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)
| 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 satisfy (2.1) and (2.14), respectively. Then, there is a constant C such that
| 4.36 |
Proof
Similar to (4.21), from (4.18) we use the Young’s inequality and Proposition 2.2 to obtain
| 4.37 |
An application of the Young’s inequality yields
| 4.38 |
Now choosing and integrating from to , we obtain
| 4.39 |
where . Summing over to N, noting for , and for , we get
| 4.40 |
Using (4.24), by induction, we have
| 4.41 |
where
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 .
We now turn to establish the lower bound. It follows from (4.25) that
| 4.42 |
As a consequence, it holds that
| 4.43 |
which gives the lower bound and completes the proof.
Remark 4.3
In view of (4.31) and (4.32), in the lower and upper bounds of Theorem 4.3 can be replaced by Moreover, the upper bound can be also estimated by
| 4.44 |
and, if for , then
| 4.45 |
If the multi-point reconstruction is explored, then we have the following estimate of CNFE scheme for general delay problems.
Theorem 4.4
Let u and satisfy (2.1) and (2.14), respectively. Then, there is a constant C such that
| 4.46 |
Proof
We use the Young’s inequality and Proposition 2.2 to obtain the following inequality similar to (4.28),
| 4.47 |
Using the Young’s inequality again yields
| 4.48 |
Now choosing , integrating from to , summing over to N, and noting for , we get
| 4.49 |
where . By induction, it follows that
| 4.50 |
where
Then the upper bound in Theorem 4.4 is obtained with .
As for the lower bound, similar to the case of the delay-dependent reconstruction, we have
| 4.51 |
and therefore
| 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, in the lower and upper bounds of Theorem 4.4 can be replaced by . Moreover, the upper bound can also be estimated by
| 4.53 |
Remark 4.5
As already mentioned in Remark 3.1, in this paper we also consider the reconstruction , although the reconstruction (3.7) is natural. Due to the presence of the term and 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 and from (4.11) and (4.36) in which the error bounds are of optimal order in the -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
| 5.1 |
Here the forcing term f, and the initial and boundary value conditions are chosen such that the exact solution is .
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 and 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
where the contributions in spatial discretization have been introduced in Theorem 4.2. The time error estimator is defined by
where the contributions , , , and are computed by
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 and take , , and in problem (5.1). It is easy to verify the condition (2.6) which implies that the system is stable.
Let us denote by the square of the error at time T, i.e.,
by the square of the -norm of the error, i.e.,
The true errors , , and the a posteriori error estimators , , , , , , and their temporal convergence orders are listed in Tables 1 and 2, respectively. From these numerical results, we observe that the true error and the a posteriori error estimators , , , , are of optimal order 4 (since they estimate the square of the error), and the space error estimator does not depend on the time stepsize k. The a posteriori quantities is of optimal order 2. We also note that since the true error is badly affected by the space mesh diameter h, there is a continuing decreasing in its temporal convergence order.
Table 1.
| h | k | Order | Order | Order | Order | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0.005 | 0.25 | 1.27E06 | 3.89 | 6.84E04 | 2.91 | 1.06E01 | – | 4.26E08 | 2.02 |
| 0.125 | 8.40E08 | 3.92 | 4.42E04 | 0.63 | 1.06E01 | – | 1.06E08 | 2.00 | |
| 0.0625 | 4.84E09 | 4.12 | 4.28E04 | 0.05 | 1.06E01 | – | 2.66E09 | 2.00 | |
| 0.0025 | 0.25 | 1.27E06 | 3.88 | 3.63E04 | 3.74 | 2.62E02 | – | 1.06E08 | 2.02 |
| 0.125 | 8.55E08 | 3.90 | 1.22E04 | 1.57 | 2.62E02 | – | 2.65E09 | 2.00 | |
| 0.0625 | 5.20E09 | 4.04 | 1.08E04 | 0.18 | 2.63E02 | – | 6.64E10 | 2.00 |
Table 2.
| h | k | Order | Order | Order | Order | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0.005 | 0.25 | 2.66E04 | 4.02 | 4.26E04 | 4.02 | 8.79E06 | 3.97 | 3.26E05 | 4.01 |
| 0.125 | 1.66E05 | 4.00 | 2.65E05 | 4.00 | 5.53E07 | 3.99 | 2.04E06 | 4.00 | |
| 0.0625 | 1.04E06 | 4.00 | 1.66E06 | 4.00 | 3.47E08 | 4.00 | 1.28E07 | 4.00 | |
| 0.0025 | 0.25 | 2.66E04 | 4.02 | 4.26E04 | 4.02 | 2.20E06 | 3.97 | 3.26E05 | 4.01 |
| 0.125 | 1.66E05 | 4.00 | 2.65E05 | 4.00 | 1.38E07 | 3.99 | 2.04E06 | 4.00 | |
| 0.0625 | 1.04E06 | 4.00 | 1.66E06 | 4.00 | 8.67E09 | 4.00 | 1.28E07 | 4.00 |
To clearly illustrate the temporal convergence behaviours of the true errors , , and the a posteriori error estimators , , , , , , we also present them in Fig. 1 against 1/k in a log–log scale.
Fig. 1.

Log–log plot of the errors of CNFE method (2.14) for (5.1) with in Example 1, where and
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 of the upper error bound as
To measure the contribution of space discretization error and time discretization error, we also define the following effectivity indices in space and in time
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 behaves as the true error. To clearly illustrate the effectivity indices and , we change simultaneously the space mesh diameter h and the time stepsize k with h being proportional to , which is the natural choice because of the error behaviour . 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 , and presented in Table 4 for CNFE method seem to be asymptotically constant (around 15.4, 15.4 and 0.3, respectively).
Table 3.
| h | k | ||||
|---|---|---|---|---|---|
| 0.005 | 0.25 | 6.85E04 | 12.48 | 12.44 | 1.03 |
| 0.125 | 4.22E04 | 15.48 | 15.48 | 0.32 | |
| 0.0625 | 4.28E04 | 15.74 | 15.74 | 0.08 | |
| 0.0025 | 0.25 | 3.65E04 | 8.60 | 8.48 | 1.41 |
| 0.125 | 1.22E04 | 14.68 | 14.66 | 0.61 | |
| 0.0625 | 1.07E04 | 15.61 | 15.61 | 0.16 |
Table 4.
| h | k | Order in h | Order in k | ||||
|---|---|---|---|---|---|---|---|
| 0.02 | 0.25 | 7.09E03 | – | – | 15.90 | 15.90 | 0.35 |
| 0.005 | 0.125 | 4.42E04 | 2.00 | 4.00 | 15.48 | 15.48 | 0.32 |
| 0.00125 | 0.0625 | 2.76E05 | 2.00 | 4.00 | 15.37 | 15.37 | 0.32 |
| 0.0003125 | 0.03125 | 1.73E06 | 2.00 | 4.00 | 15.34 | 15.34 | 0.32 |
Example 2: Nonlinear Delay
In this case, we consider nonlinear delay and take and 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 . On account of the nonlinearity of the delay, the error behaviours are certainly much more complicated compared to the previous example. We denote by the square of the -norm of the error, i.e.,
The true errors , , and the a posteriori error estimators , , , , , , 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.
| h | k | Order | Order | Order | Order | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0.001 | 0.125 | 8.15E08 | 4.01 | 1.43E07 | 2.72 | 1.09E06 | – | 9.96E12 | 1.72 |
| 0.0625 | 5.07E09 | 4.00 | 9.41E08 | 0.61 | 1.41E06 | – | 2.72E12 | 1.87 | |
| 0.03125 | 3.14E10 | 4.02 | 9.10E08 | 0.05 | 1.60E06 | – | 7.10E13 | 1.94 | |
| 0.0005 | 0.125 | 8.16E08 | 4.01 | 7.53E08 | 3.54 | 2.76E07 | – | 2.49E12 | 1.72 |
| 0.0625 | 5.08E09 | 4.00 | 2.60E08 | 1.54 | 3.57E07 | – | 6.80E13 | 1.87 | |
| 0.03125 | 3.16E10 | 4.00 | 2.29E08 | 0.18 | 4.03E07 | – | 1.77E13 | 1.94 |
Table 6.
| h | k | Order | Order | Order | Order | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0.001 | 0.125 | 3.89E07 | 3.72 | 6.23E07 | 3.72 | 1.57E12 | 3.58 | 7.83E08 | 3.75 |
| 0.0625 | 2.66E08 | 3.87 | 4.25E08 | 3.87 | 1.13E13 | 3.79 | 5.30E09 | 3.89 | |
| 0.03125 | 1.73E09 | 3.94 | 2.77E09 | 3.94 | 7.61E15 | 3.90 | 3.44E10 | 3.95 | |
| 0.0005 | 0.125 | 3.89E07 | 3.72 | 6.23E07 | 3.72 | 3.92E13 | 3.58 | 7.83E08 | 3.75 |
| 0.0625 | 2.66E08 | 3.87 | 4.25E08 | 3.87 | 2.83E14 | 3.79 | 5.30E09 | 3.89 | |
| 0.03125 | 1.73E09 | 3.94 | 2.77E09 | 3.94 | 1.90E15 | 3.90 | 3.44E10 | 3.95 |
Fig. 2.

Log–log plot of the errors of CNFE method (2.14) for (5.1) with in Example 2, where ,
In view of the a posteriori error estimates (4.46), the lower and upper estimators are defined by and respectively. We are interested in computing the effectivity indices and , defined as
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 of the lower estimator of the CNFE method is around 0.18 and the effectivity index of the upper time error estimator is around 0.66 when the space mesh diameter h and the time stepsize k are changed simultaneously with h being proportional to .
Table 7.
| h | k | |||||
|---|---|---|---|---|---|---|
| 0.0005 | 0.5 | 3.75E05 | 0.79 | 1.88 | 0.03 | 1.88 |
| 0.25 | 2.32E06 | 1.01 | 2.50 | 0.26 | 2.49 | |
| 0.125 | 1.68E07 | 0.95 | 2.85 | 1.28 | 2.55 | |
| 0.00025 | 0.5 | 3.75E05 | 0.79 | 1.88 | 0.01 | 1.88 |
| 0.25 | 2.30E06 | 1.02 | 2.50 | 0.13 | 2.50 | |
| 0.125 | 1.48E07 | 1.08 | 2.80 | 0.69 | 2.71 |
Table 8.
| h | k | Order in h | Order in k | |||||
|---|---|---|---|---|---|---|---|---|
| 0.02 | 0.25 | 4.30E05 | – | – | 0.16 | 2.30 | 2.22 | 0.58 |
| 0.005 | 0.125 | 2.73E06 | 1.99 | 3.98 | 0.17 | 3.17 | 3.10 | 0.63 |
| 0.00125 | 0.0625 | 1.71E07 | 2.00 | 4.00 | 0.18 | 3.65 | 3.59 | 0.66 |
| 0.0003125 | 0.03125 | 1.07E08 | 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 and nonlinear delay . For both delay problems, these experiments exactly verify the theoretical results, and the effectivity index of the upper time error estimator stays close to a constant. We also found that the upper space error estimator 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]
