
In this paper, we considered a partitioned epidemic model with reaction-diffusion behavior, analyzed the dynamics of populations in various compartments, and explored the significance of spreading parameters. Unlike traditional approaches, we proposed a novel paradigm for addressing the dynamics of epidemic models: Inferring model dynamics and, more importantly, parameter inversion to analyze disease spread using Reaction-Diffusion Disease Information Neural Networks (RD-DINN). This method leverages the principles of hidden disease spread to overcome the black-box mechanism of neural networks relying on large datasets. Through an embedded deep neural network incorporating disease information, the RD-DINN approximates the dynamics of the model while predicting unknown parameters. To demonstrate the robustness of the RD-DINN method, we conducted an analysis based on two disease models with reaction-diffusion terms. Additionally, we systematically investigated the impact of the number of training points and noise data on the performance of the RD-DINN method. Our results indicated that the RD-DINN method exhibits relative errors less than 1% in parameter inversion with 10% noise data. In terms of dynamic predictions, the absolute error at any spatiotemporal point does not exceed 5%. In summary, we present a novel deep learning framework RD-DINN, which has been shown to be effective for reaction-diffusion disease modeling, providing an advanced computational tool for dynamic and parametric prediction of epidemic spread. The data and code used can be found at https://github.com/yuanfanglila/RD-DINN.
Citation: Xiao Chen, Fuxiang Li, Hairong Lian, Peiguang Wang. A deep learning framework for predicting the spread of diffusion diseases[J]. Electronic Research Archive, 2025, 33(4): 2475-2502. doi: 10.3934/era.2025110
[1] | Yunxia Niu, Chaoran Qi, Yao Zhang, Wahidullah Niazi . Numerical analysis and simulation of the compact difference scheme for the pseudo-parabolic Burgers' equation. Electronic Research Archive, 2025, 33(3): 1763-1791. doi: 10.3934/era.2025080 |
[2] | Shuting Chang, Yaojun Ye . Upper and lower bounds for the blow-up time of a fourth-order parabolic equation with exponential nonlinearity. Electronic Research Archive, 2024, 32(11): 6225-6234. doi: 10.3934/era.2024289 |
[3] | Jinxiu Zhang, Xuehua Yang, Song Wang . The ADI difference and extrapolation scheme for high-dimensional variable coefficient evolution equations. Electronic Research Archive, 2025, 33(5): 3305-3327. doi: 10.3934/era.2025146 |
[4] | E. A. Abdel-Rehim . The time evolution of the large exponential and power population growth and their relation to the discrete linear birth-death process. Electronic Research Archive, 2022, 30(7): 2487-2509. doi: 10.3934/era.2022127 |
[5] | Cheng Wang . Convergence analysis of Fourier pseudo-spectral schemes for three-dimensional incompressible Navier-Stokes equations. Electronic Research Archive, 2021, 29(5): 2915-2944. doi: 10.3934/era.2021019 |
[6] | Hongze Zhu, Chenguang Zhou, Nana Sun . A weak Galerkin method for nonlinear stochastic parabolic partial differential equations with additive noise. Electronic Research Archive, 2022, 30(6): 2321-2334. doi: 10.3934/era.2022118 |
[7] |
Guifen Liu, Wenqiang Zhao .
Regularity of Wong-Zakai approximation for non-autonomous stochastic quasi-linear parabolic equation on |
[8] | Junsheng Gong, Jiancheng Liu . A Liouville-type theorem of a weighted semilinear parabolic equation on weighted manifolds with boundary. Electronic Research Archive, 2025, 33(4): 2312-2324. doi: 10.3934/era.2025102 |
[9] | Shuaikang Wang, Yunzhi Jiang, Yongbin Ge . High-order compact difference methods for solving two-dimensional nonlinear wave equations. Electronic Research Archive, 2023, 31(6): 3145-3168. doi: 10.3934/era.2023159 |
[10] | Li Tian, Ziqiang Wang, Junying Cao . A high-order numerical scheme for right Caputo fractional differential equations with uniform accuracy. Electronic Research Archive, 2022, 30(10): 3825-3854. doi: 10.3934/era.2022195 |
In this paper, we considered a partitioned epidemic model with reaction-diffusion behavior, analyzed the dynamics of populations in various compartments, and explored the significance of spreading parameters. Unlike traditional approaches, we proposed a novel paradigm for addressing the dynamics of epidemic models: Inferring model dynamics and, more importantly, parameter inversion to analyze disease spread using Reaction-Diffusion Disease Information Neural Networks (RD-DINN). This method leverages the principles of hidden disease spread to overcome the black-box mechanism of neural networks relying on large datasets. Through an embedded deep neural network incorporating disease information, the RD-DINN approximates the dynamics of the model while predicting unknown parameters. To demonstrate the robustness of the RD-DINN method, we conducted an analysis based on two disease models with reaction-diffusion terms. Additionally, we systematically investigated the impact of the number of training points and noise data on the performance of the RD-DINN method. Our results indicated that the RD-DINN method exhibits relative errors less than 1% in parameter inversion with 10% noise data. In terms of dynamic predictions, the absolute error at any spatiotemporal point does not exceed 5%. In summary, we present a novel deep learning framework RD-DINN, which has been shown to be effective for reaction-diffusion disease modeling, providing an advanced computational tool for dynamic and parametric prediction of epidemic spread. The data and code used can be found at https://github.com/yuanfanglila/RD-DINN.
Mathematical scientists build partial differential equations to model nature phenomena in science and engineering. To better understand the nature phenomena, not only is a reasonable qualitative analysis about the solutions of the equations necessary (see, e.g., [1,2,3,4,5]), but, also, an efficient and accurate numerical algorithm is required (see, e.g., low-dimensional space [6,7,8,9,10], high-dimensional space [11,12,13,14]). Time delay phenomena appear in various fields such as signal transduction, population dynamics, and control systems (see, e.g., [15,16,17,18,19]). Partial differential equations with delay can describe the dynamical systems more accurately, and thus have been receiving more attention. Generally, obtaining an analytical solution for a delay system is challenging [20,21]. Researchers have developed effective methods to solve these equations, including finite difference methods [22,23,24,25,26], finite element methods [27,28,29,30,31] (discontinuous Galerkin method [32,33,34,35]), and many other methods [36,37,38,39,40].
To avoid the propagation of the errors of the numerical solutions and control the numerical process, many studies have been devoted to the stability analysis of numerical methods (see, e.g., [41,42,43,44,45]). However, the stability analysis of a numerical method for solving partial differential equations with delay has not been well investigated. A numerical method which is unconditionally stable for partial differential equations, is probably no longer unconditionally stable for partial differential equations with delay [46,47]. Therefore, the stability analysis of a numerical method for solving partial differential equations with delay is a necessity. Our concern here is to investigate the stability estimates of a fourth-order compact θ-method for the following delay parabolic equations
{∂∂tu(x,t)=k∂2∂x2u(x,t)+r∂2∂x2u(x,t−τ),x∈(0,π),t>0,u(x,t)=u0(x,t),x∈(0,π),−τ≤t≤0,u(0,t)=u(π,t)=0,t≥−τ, | (1.1) |
where k,r are diffusion coefficients, and τ is delay term. One can refer to Reference [48] for the existence, uniqueness and continuation of problem (1.1). The fully discrete fourth-order compact θ-method is constructed by performing the following steps: the spatial discretization is realized by using a compact finite difference method (e.g., [49,50]), and the time discretization is realized via a linear θ-method (e.g., [51]).
The spectral radius condition is utilized as a tool for the stability of numerical methods. As for problem (1.1), References [49,50] investigated the asymptotic stability property by using a spectral radius condition and established the sufficient and necessary condition for the method to be asymptotically stable. For more details, please refer to Theorems 5.6 and 5.7 of Reference [49] and Theorems 1 and 2 of Reference [50]. The results obtained by using the spectral radius condition are very important in the determination of when numerical methods are asymptotically stable. However, scholars have presented instructive examples to confirm that the spectral radius condition may give an unreliable information about the numerical stability estimates (see, e.g., [52,53,54]). Moreover, the examples demonstrate that the norm of the powers of the iteration matrix could be obsessively large in the case that the spectral radius condition is satisfied [55]. In view of these facts, it is interesting to consider whether the numerical process will actually behave in a stable way within its stability region [56].
The upper bounds for the powers of matrices are intimately connected to the stability analysis of numerical processes for solving initial(-boundary) value problems in ordinary and partial linear differential equations [54]. Recently, scholars utilized the Kreiss resolvent condition to establish upper bounds for the growth of errors in the numerical process for solving delay differential equations (see, e.g., [51,53,54,55,56,57,58]). To the best of our knowledge, stability estimates about upper bounds for the powers of the iteration matrix derived via the compact θ-method for problem (1.1) have not been studied. The main contribution of this paper is that, based on the aforementioned results, we look into the upper bounds for the norm of the nth power of the iteration matrix of the compact θ-method and detect whether propagated errors occurring in the numerical process could be bounded. It is worth noting that our stability results are essentially different from and, in some respects, complementary to those obtained in References [49,50].
Reference [51] demonstrated that the trivial solution of problem (1.1) is asymptotically stable if k>r>0. Throughout the paper, we investigate the stability of the proposed numerical method under this condition. In addition, we assume that the solution u(x,t) of problem (1.1) satisfies that u(x,t)∈C(6,4)((0,π)×(0,T]).
The rest of this paper is organized as follows. In Section 2, we briefly establish the fully discrete compact θ-scheme. In Section 3, we present the solvability, asymptotic stability, and convergence of the compact θ-method. In particular, we derive the upper bounds for the norm of the nth power of the iteration matrix derived via the proposed method, and come to conclusions about the stability properties. In Section 4, we conduct numerical experiments to illustrate the theoretical results. Finally, we summarize the paper in Section 5.
In this section, we give a brief derivation of the fully discrete compact θ-scheme for solving problem (1.1).
Let Δt=τm and Δx=πN, where m and N are two positive integers. Set ΩΔt={tn|n≥−m} as a partition on the time interval [−τ,∞), where tn=nΔt(n≥−m). Set ΩΔx={xj|0≤j≤N} as a mesh on the space interval Ω=[0,π], where xj=jΔx(0≤j≤N). Let unj denote the numerical approximation of u(xj,tn). We define the following notations:
δtunj=un+1j−unjΔt,δ2xunj=unj+1−2unj+unj−1Δx2, |
and introduce the compact operator [49,50]
Aunj={unj−1+10unj+unj+112,j=1,2,⋯,N−1,unjj=0,N. |
Next, employing the compact operator to approximate the diffusion term, and applying the linear θ-method to the semi-discrete system, the fully discrete compact θ-scheme reads as follows:
{Aδtunj=k[(1−θ)δ2xunj+θδ2xun+1j]+r[(1−θ)δ2xun−mj+θδ2xun−m+1j],1≤j≤N−1,n≥0,unj=u0(xj,tn),1≤j≤N−1,−m≤n≤0,un0=unN=0,n≥−m. | (2.1) |
Remark 2.1. If the discretization of the spatial diffusion term is achieved by using the standard central difference method, then we get the typical linear θ-method. It is worth noting that the convergence order of the compact θ-method in space is 4, while that for the linear θ-method is 2 [49,50]. Moreover, the coefficient matrices for the compact θ-method and linear θ-method are both tridiagonal matrices. Thus, the compact finite difference method shows a better convergence result in space without increasing the computational cost, making it a popular method to approximate the spatial term [59,60,61,62,63].
Rewrite the compact θ-method in the following matrix form:
ϕ0(S)Un+1=ϕ1(S)Un−ϕm(S)Un+1−m−ϕm+1(S)Un−m, | (2.2) |
where
Un=(un1,un2,...,unN−1)T,μ=kΔtΔx2,ν=rΔtΔx2,ϕ0(ξ)=1012+2μθ+(112−μθ)ξ,ϕ1(ξ)=1012−2μ(1−θ)+[112+μ(1−θ)]ξ,ϕm(ξ)=2νθ−νθξ,ϕm+1(ξ)=2ν(1−θ)−ν(1−θ)ξ, |
and the (N−1)-by-(N−1) matrix S is given by
S=(010…00101…00⋱⋱⋱⋱00…10100…010) |
with its eigenvalues λj=2cos(jΔx),1≤j≤N−1.
In this section, we will present the solvability, asymptotic stability, and convergence of the compact θ-method. In particular, we will derive the upper bounds for the norm of the nth power of the iteration matrix derived via the compact θ-method. We will prove that, under certain conditions, the numerical process actually behaves in a stable way within its stability region.
Theorem 3.1 [49,50]. The compact θ-method (2.1) is consistent and has a unique solution.
Definition 3.2 [51]. A numerical method applied to problem (1.1) is called asymptotically stable with respect to the trivial solution if its approximate solution unj corresponding to any function u0(x,t) satisfies
limn→∞max1≤j≤N|unj|→0. |
From the recurrence relation in (2.2), we obtain an equivalent vector form
Un+1=CUn,n=0,1,2,⋯. |
Here
Un=[(Un)T,(Un−1)T,…,(Un−m)T]T∈R(m+1)×(N−1), |
and C is a block matrix of order (m+1)(N−1), defined as
C=(ψ1(A)O…Oψm(A)ψm+1(A)IO…OOO⋱⋱⋱⋱OO…OOOOO…OIO), |
where the elements of C are defined as follows:
A=S−2I,ψ1(ξ)=[1+(112−μθ)ξ]−1{1+[112+μ(1−θ)]ξ},ψm(ξ)=[1+(112−μθ)ξ]−1νθξ,ψm+1(ξ)=[1+(112−μθ)ξ]−1ν(1−θ)ξ, |
and the symbols I and O stand for the identity and zero blocks of order N−1, respectively. We shall introduce a vector norm |⋅| for Un and a matrix norm ‖⋅‖ induced by the vector norm |⋅| for Cn(n≥1) (see, e.g., [51,55]), defined as
|Un|=max0≤n≤m|Un|2=max0≤n≤m√N−1∑j=1|unj|2,‖Cn‖:=|CnU0||U0|, |
where U0=(1,1,...,1)T∈R(m+1)(N−1).
In order to investigate the stability property, it is necessary to consider the perturbed problem, i.e., the numerical computation is performed by using a different initial vector ˜U0. Let ˜Un denote the perturbed numerical solutions, and let Wn=˜Un−Un be the propagated errors. Therefore,
Wn=CnW0,n≥1. | (3.1) |
Our aim is to seek bounds for the propagated errors, given by |Wn|≤L|W0|(n≥1), where |⋅| stands for a vector norm, and L is a constant. Noticing (3.1), we arrive at
|Wn|≤‖Cn‖|W0|,n≥1. | (3.2) |
If there exist upper bounds on ‖Cn‖ for every natural number n, then the numerical process (2.1) will behave in a stable manner.
To achieve the stability estimate for ‖Cn‖, we introduce the following:
H=diag{F1,F2,⋯,FN−1}, |
where the (m+1)-by-(m+1) matrix Fj is given by
Fj=(ψ1(˜λj)0…0ψm(˜λj)ψm+1(˜λj)10…000⋱⋱⋱⋱00…00000…010) |
with ˜λj=−4sin2(jΔx2)∈σ(A),1≤j≤N−1.
We shall present a useful lemma from Reference [55].
Lemma 3.3. For n,m≥1 and N≥2, it holds that
‖Cn‖≤√min{N−1,m+1}max1≤j≤N−1‖Fnj‖∞. | (3.3) |
It is observed that ‖Fnj‖∞ plays a crucial role in the stability estimate. As Zubik-Kowal pointed out in Reference [55], the value of ‖Fnj‖∞, and thus of ‖Cn‖, might be excessively large, even under the spectral radius condition. We wonder under what conditions the norm of the nth power of the iteration matrix C could be bounded. The following analysis will give the answers.
We assume that (μ,ν) belongs to the stability region Sθ in the compact θ-method. The stability region Sθ is given by Theorems 1 and 2 in Reference [50]:
Sθ={{(μ,ν)∈R2:μ>ν>0,16+(1−2θ)(μ+ν)<11+cos(Δx)},θ∈[0,12),{(μ,ν)∈R2:μ>ν>0},θ∈[12,1]. | (3.4) |
Theorem 3.4. Assume that (μ,ν)∈Sθ and θ=0,1. Then,
‖Fj‖∞=1,1≤j≤N−1. | (3.5) |
Proof. Define
ψj1=1+[112+μ(1−θ)]˜λj1+(112−μθ)˜λj, |
ψjm=νθ˜λj1+(112−μθ)˜λj, |
ψjm+1=ν(1−θ)˜λj1+(112−μθ)˜λj. |
Case 1. For θ=0, we have
ψj1=1+(112+μ)˜λj1+112˜λj,ψjm=0,ψjm+1=ν˜λj1+112˜λj. |
It follows from
˜λj=−4sin2(jΔx2)∈(−4,0) |
that
1+112˜λj∈(23,1). |
Thus,
ψjm+1<0. |
Noticing that our goal is to show that |ψj1|+|ψjm|+|ψjm+1|≤1, it follows that ‖Fj‖∞=1 holds. Now, we prove the following two cases.
● If 1+(112+μ)˜λj≥0, then ψj1≥0. Noting that μ>ν>0, we have
|ψj1|+|ψjm|+|ψjm+1|=1+(μ−ν)˜λj1+112˜λj<1. |
● If 1+(112+μ)˜λj<0, then ψj1<0; thus,
|ψj1|+|ψjm|+|ψjm+1|=−1+(μ+ν)(−˜λj)1+112˜λj. |
For 1≤j≤N−1, noting that
0<−˜λj≤2[1+cos(Δx)], |
we find that
|ψj1|+|ψjm|+|ψjm+1|≤−1+2(μ+ν)[1+cos(Δx)]1−16[1+cos(Δx)]. | (3.6) |
For (μ,ν)∈Sθ and θ=0, we have
16+(μ+ν)<11+cos(Δx). |
Thus,
2(μ+ν)[1+cos(Δx)]<2−13[1+cos(Δx)]. | (3.7) |
Incorporating (3.7) into (3.6), we get
|ψj1|+|ψjm|+|ψjm+1|<1. |
According to the two aforementioned cases, we derive that, for θ=0, ‖Fj‖∞=1 holds for 1≤j≤N−1.
Case 2. For θ=1, we have
ψj1=1+112˜λj1+(112−μ)˜λj,ψjm=ν˜λj1+(112−μ)˜λj,ψjm+1=0. |
Noting that 1+112˜λj∈(23,1), ˜λj<0, and μ>ν>0, we arrive at
|ψj1|+|ψjm|+|ψjm+1|=1+112˜λj−ν˜λj1+(112−μ)˜λj<1+112˜λj−μ˜λj1+(112−μ)˜λj=1. |
Hence, for θ=1, ‖Fj‖∞=1 holds for 1≤j≤N−1.
Now, we derive the conditions such that (3.5) holds for θ∈(0,1).
Theorem 3.5. Suppose that (μ,ν)∈Sθ. Then, we can derive the following set of conclusions for θ∈(0,1).
(ⅰ) For θ∈[Δx212kΔt+k+r2k,1), (3.5) holds for every N≥2.
(ⅱ) For θ∈[12,Δx212kΔt+k+r2k), and Δt≤Δx2(Δx26Δt+r)[1+cos(Δx)], (3.5) holds for every N≥2.
(ⅲ) For θ∈(0,12), and Δt≤Δx2[Δx26Δt+(1−2θ)k+r][1+cos(Δx)], (3.5) holds for every N≥2.
Proof. For fixed j (1≤j≤N−1), noting the facts that ˜λj<0 and 1+(112−μθ)˜λj>0, we have
ψj1=1+μ˜λj1+(112−μθ)˜λj<1, |
ψjm=νθ˜λj1+(112−μθ)˜λj<0, |
ψjm+1=ν(1−θ)˜λj1+(112−μθ)˜λj<0. |
Therefore
|ψjm|+|ψjm+1|=−ν˜λj1+(112−μθ)˜λj<−μ˜λj1+(112−μθ)˜λj=1−ψj1. |
Case Ⅰ. If ψj1≥0, then
|ψj1|+|ψjm|+|ψjm+1|<1. |
Thus, (3.5) holds for every N≥2.
Case Ⅱ. If ψj1<0, then
|ψj1|+|ψjm|+|ψjm+1|=−1−(μ+ν)˜λj1+(112−μθ)˜λj. |
We recall our goal, i.e., |ψj1|+|ψjm|+|ψjm+1|≤1, which yields
−1−(μ+ν)˜λj1+(112−μθ)˜λj≤1, |
i.e.,
−˜λj[16+(1−2θ)μ+ν]≤2. | (3.8) |
● For θ∈[Δx212kΔt+k+r2k,1), we have
16+(1−2θ)μ+ν≤0. |
Then,
−˜λj[16+(1−2θ)μ+ν]≤0, |
implying that inequality (3.8) holds; hence, Eq (3.5) holds for every N≥2.
● For θ∈[12,Δx212kΔt+k+r2k), we have
16+(1−2θ)μ+ν>0. |
Then,
max1≤j≤N−1−˜λj[16+(1−2θ)μ+ν]=2[1+cos(Δx)](16+ν). |
It follows from
2[1+cos(Δx)](16+ν)≤2 |
that
Δt≤Δx2(Δx26Δt+r)[1+cos(Δx)]. |
Therefore, conclusion (ⅱ) holds.
● For θ∈(0,12), we have
16+(1−2θ)μ+ν>0. |
Then,
max1≤j≤N−1−˜λj[16+(1−2θ)μ+ν]=2[1+cos(Δx)][16+(1−2θ)μ+ν]. |
Following from
2[1+cos(Δx)][16+(1−2θ)μ+ν]≤2, |
we have
Δt≤Δx2[Δx26Δt+(1−2θ)k+r][1+cos(Δx)]. |
Therefore, conclusion (ⅲ) holds.
We have discussed the conditions such that the formula ‖Fj‖∞=1 holds for 1≤j≤N−1 so far. Noticing Lemma 3.3, we arrive at the following corollary.
Corollary 3.6. Assume that (μ,ν)∈Sθ. Then for n,m≥1 and N≥2, when
1) θ=0, or
2) θ∈(0,12), and Δt≤Δx2[Δx26Δt+(1−2θ)k+r][1+cos(Δx)], or
3) θ∈[12,Δx212kΔt+k+r2k), and Δt≤Δx2(Δx26Δt+r)[1+cos(Δx)], or
4) θ∈[Δx212kΔt+k+r2k,1], it holds that
‖Cn‖≤√min{N−1,m+1}. |
Remark 3.7. Scholars have illustrated that the spectral radius condition may give unreliable information about the numerical stability estimates (see, e.g., [52,53,54]). Reference [55] pointed out that the norm of the powers of the iteration matrix could be obsessively large in the case that the spectral radius condition is satisfied. It is interesting to consider whether the numerical process will actually behave in a stable way within its stability region [56]. To the best of our knowledge, the upper bounds for the powers of the iteration matrix derived via the compact θ-method have not been studied. Here, we have investigated the conditions for the norm of the nth power of the iteration matrix C to be bounded, and such that the numerical process will actually behave in a stable manner.
Theorem 3.8 (Lax equivalence theorem [64]). For the linear finite difference scheme, it is convergent if it is consistent and stable with respect to the initial value.
In light of Subsection 3.1 (consistency) and Subsection 3.2 (stability), and with the help of Lax equivalence Theorem 3.8, we have the following convergent result.
Theorem 3.9 [49]. Let {unj|,j=1,2,⋯,N−1,n=−m,−m+1,⋯} be a numerical solution of the fully discrete scheme (2.1). Denote Unj=u(xj,tn)(j=0,1,⋯,N,n=−m,−m+1,⋯). Suppose that the assumptions in Section 1 and Corollary 3.6 hold. Then, for n=1,2,⋯, we have
‖en‖∞≤{ˆC(Δt2+Δx4),θ=12,ˆC(Δt+Δx4),0≤θ<12or12<θ≤1, | (3.9) |
where en=[un1−Un1,un2−Un2,⋯,unN−1−UnN−1]T and ˆC is a positive constant independent of Δt and Δx.
In this section, we present numerical simulations to validate the derived stability results and the convergence results in the maximum norm.
Let k=1,r=0.5,τ=0.1 and N=4. To survey whether the norm of the nth power of the iteration matrix C could be bounded, we define a function
E(m)=‖Cn‖√m+1, |
where ‖Cn‖:=|CnU0||U0| with U0=(1,1,...,1)T∈R(m+1)(N−1). If Corollary 3.6 holds, then we have that ‖Cn‖≤√min{N−1,m+1}, implying that function E(m) could be bounded. We shall examine the behavior of the function E(m) versus m under different values of θ in Corollary 3.6. Specifically, we take θ1=0, θ2=14, θ3=12 and θ4=1, corresponding to conclusions (1)–(4) of Corollary 3.6, respectively.
Graphs of the function E(m) versus m, for θ1=0, θ2=14, θ3=12 and θ4=1, are shown in Figures 1–4, with n=50,75,100, respectively. For θ1, as expected, E(m) is bounded for various values of n in Figure 1. For θ2, under the condition Δt≤Δx2[Δx26Δt+(1−2θ2)k+r][1+cos(Δx)], it can be observed in Figure 2 that the function E(m) is bounded for various values of n. For θ3, under the condition Δt≤Δx2(Δx26Δt+r)[1+cos(Δx)], as shown in Figure 3, the function E(m) is also bounded for various values of n. Again, E(m) is bounded for various values of n in Figure 4 for θ4. Each graph in Figures 1–4 indicates the function E(m) is bounded for various values of n, thus the tendency of the function E(m) in each graph looks similar, which is consistent with the results for the θ-method in Reference [51]. The graphs demonstrate that, under the conditions of Corollary 3.6, the compact θ-method actually behaves in a stable manner within its stability region.
We describe a convergence test for the following equation
∂∂tu(x,t)=k∂2∂x2u(x,t)+r∂2∂x2u(x,t−τ)+f(x,t), |
where the initial condition and the added term f(x,t) are specified so that the exact solution is u(x,t)=e−tsin(x).
We take the parameters k=1,r=0.5,τ=0.5,θ=0.5 and solve the problem on [0,π]×[0,t] with different temporal and spatial step sizes. Let Δt≈Δx2 when the compact θ-method is employed to solve the problem. Also, we choose to test the problem by using the linear θ-method. The numerical errors and convergence orders in the maximum norm are listed in Tables 1 and 2, respectively. It is shown that the convergence of the compact θ-method is second-order accurate in time and fourth-order accurate in space, while the linear θ-method has second-order accuracy in time and space. Obviously, the convergence result of the compact θ-method is superior to that of the linear θ-method in the spatial direction.
N | L∞-error (t=1) | Order | L∞-error (t=3) | Order | L∞-error (t=5) | Order |
10 | 2.4436e-04 | - | 4.6589e-05 | - | 5.8577e-06 | - |
20 | 1.5122e-05 | 4.0143 | 2.7757e-06 | 4.0691 | 3.7606e-07 | 3.9613 |
40 | 9.5097e-07 | 3.9911 | 1.7481e-07 | 3.9890 | 2.3501e-08 | 4.0002 |
80 | 5.9436e-08 | 4.0000 | 1.0909e-08 | 4.0022 | 1.4734e-09 | 3.9955 |
N | L∞-error (t=1) | Order | L∞-error (t=3) | Order | L∞-error (t=5) | Order |
10 | 2.7893e-03 | - | 3.6354e-04 | - | 5.4388e-05 | - |
20 | 5.5310e-04 | 2.3343 | 1.0387e-04 | 1.8073 | 1.3537e-05 | 2.0064 |
40 | 1.3382e-04 | 2.0472 | 2.5860e-05 | 2.0060 | 3.3756e-06 | 2.0037 |
80 | 3.5689e-05 | 1.9067 | 6.5318e-06 | 1.9852 | 8.7722e-07 | 1.9441 |
In this paper, we have discussed the numerical analysis of a fourth-order compact θ-method for solving problem (1.1). We have presented the solvability, asymptotic stability, and convergence of the method. In particular, we have derived the upper bounds for the norm of the nth power of the iteration matrix C obtained by applying the method in the corresponding stability region, and we have drawn conclusions about the stability properties, such that the propagated errors occurring in the numerical process could be bounded. Numerical simulations have been conducted to illustrate the theoretical results. There has been much concern regarding the fractional-order model recently since the model could characterize complex nature phenomena more accurately [65,66,67,68,69]. We hope to apply the method to solve the fractional generalized diffusion equation with delay in the future.
The authors declare that they have not used artificial intelligence tools in the creation of this article.
The authors are grateful to the editor and the anonymous reviewers for their valuable suggestions and comments, which have significantly improved the quality of the manuscript. This work was supported by the NSFC (Grant No. 12001067) and the PhD Research Startup Fund for Shandong Police College (No. YKYPYZX202307). All authors contributed equally to this paper.
The authors declare that there is no conflicts of interest.
[1] |
W. O. Kermack, A. G. McKendrick, A contribution to the mathematical theory of epidemics, Proc. R. Soc. Lond. A, 115 (1927), 700–721. http://doi.org/10.1098/rspa.1927.0118 doi: 10.1098/rspa.1927.0118
![]() |
[2] |
T. Sigler, S. Mahmuda, A. Kimpton, J. Loginova, P. Wohland, E. Charles-Edwards, et al., The socio-spatial determinants of COVID-19 diffusion: The impact of globalisation, settlement characteristics and population, Global. Health, 17 (2021), 56. https://doi.org/10.1186/s12992-021-00707-2 doi: 10.1186/s12992-021-00707-2
![]() |
[3] |
N. Sene, SIR epidemic model with Mittag–Leffler fractional derivative, Chaos, Solitons Fractals, 137 (2020), 109833. https://doi.org/10.1016/j.chaos.2020.109833 doi: 10.1016/j.chaos.2020.109833
![]() |
[4] |
J. A. Backer, A. Berto, C. McCreary, F. Martelli, W. H. M. van der Poel, Transmission dynamics of hepatitis E virus in pigs: Estimation from field data and effect of vaccination, Epidemics, 4 (2012), 86–92. https://doi.org/10.1016/j.epidem.2012.02.002 doi: 10.1016/j.epidem.2012.02.002
![]() |
[5] | R. Anderson, R. May, Infectious Diseases of Humans: Dynamics and Control, Oxford Academic, 1991. https://doi.org/10.1093/oso/9780198545996.001.0001 |
[6] | A. Nauman, M. Rafiq, M. A. Rehman, M. Ali, M. O. Ahmad, Numerical modeling of SEIR measles dynamics with diffusion, Commun. Math. Appl., 9 (2018), 315–326. |
[7] |
T. N. Sindhu, A. Shafiq, Z. Huassian, Generalized exponentiated unit Gompertz distribution for modeling arthritic pain relief times data: Classical approach to statistical inference, J. Biopharm. Stat., 34 (2024), 323–348. https://doi.org/10.1080/10543406.2023.2210681 doi: 10.1080/10543406.2023.2210681
![]() |
[8] |
T. N. Sindhu, A. Shafiq, M. B. Riaz, T. A. Abushal, H. Ahmad, E. M. Almetwally, et al., Introducing the new arcsine-generator distribution family: An in-depth exploration with an illustrative example of the inverse weibull distribution for analyzing healthcare industry data, J. Radiat. Res. Appl. Sci., 17 (2024), 100879. https://doi.org/10.1016/j.jrras.2024.100879 doi: 10.1016/j.jrras.2024.100879
![]() |
[9] |
T. N. Sindhu, A. Shafiq, Q. M. Al-Mdallal, Exponentiated transformation of Gumbel Type-Ⅱ distribution for modeling COVID-19 data, Alexandria Eng. J., 60 (2021), 671–689. https://doi.org/10.1016/j.aej.2020.09.060 doi: 10.1016/j.aej.2020.09.060
![]() |
[10] |
A. Shafiq, A. B. Çolak, T. N. Sindhu, S. A. Lone, A. Alsubie, F. Jarad, Comparative study of artificial neural network versus parametric method in COVID-19 data analysis, Results Phys., 38 (2022), 105613. https://doi.org/10.1016/j.rinp.2022.105613 doi: 10.1016/j.rinp.2022.105613
![]() |
[11] |
A. Shafiq, A. B. Çolak, T. N. Sindhu, S. A. Lone, T. A. Abushal, Modeling and survival exploration of breast carcinoma: A statistical, maximum likelihood estimation, and artificial neural network perspective, Artif. Intell. Life Sci., 4 (2023), 100082. https://doi.org/10.1016/j.ailsci.2023.100082 doi: 10.1016/j.ailsci.2023.100082
![]() |
[12] |
G. E. Karniadakis, I. G. Kevrekidis, L. Lu, P. Perdikaris, S. Wang, L. Yang, Physics-informed machine learning, Nat. Rev. Phys., 3 (2021), 422–440. https://doi.org/10.1038/s42254-021-00314-5 doi: 10.1038/s42254-021-00314-5
![]() |
[13] |
M. Raissi, P. Perdikaris, G. E. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, J. Comput. Phys., 378 (2019), 686–707. https://doi.org/10.1016/j.jcp.2018.10.045 doi: 10.1016/j.jcp.2018.10.045
![]() |
[14] |
S. Cai, Z. Mao, Z. Wang, M. Yin, G. E. Karniadakis, Physics-informed neural networks (PINNs) for fluid mechanics: A review, Acta Mech. Sin., 37 (2021), 1727–1738. https://doi.org/10.1007/s10409-021-01148-1 doi: 10.1007/s10409-021-01148-1
![]() |
[15] |
A. Yazdani, L. Lu, M. Raissi, G. E. Karniadakis, Systems biology informed deep learning for inferring parameters and hidden dynamics, PLOS Comput. Biol., 16 (2020), e1007575. https://doi.org/10.1371/journal.pcbi.1007575 doi: 10.1371/journal.pcbi.1007575
![]() |
[16] | M. Raissi, N. Ramezani, P. N. Seshaiyer, On parameter estimation approaches for predicting disease transmission through optimization, deep learning and statistical inference methods, Lett. Biomath., 6 (2019), 1–26. |
[17] | S. Shaier, M. Raissi, P. Seshaiyer, Data-driven approaches for predicting spread of infectious diseases through DINNs: Disease informed neural networks, Lett. Biomath., 9 (2022), 71–105. |
[18] |
S. Yin, J. Wu, P. Song, Optimal control by deep learning techniques and its applications on epidemic models, J. Math. Biol., 86 (2023), 36. https://doi.org/10.1007/s00285-023-01873-0 doi: 10.1007/s00285-023-01873-0
![]() |
[19] |
F. V. Difonzo, L. Lopez, S. F. Pellegrino, Physics informed neural networks for learning the horizon size in bond-based peridynamic models, Comput. Methods Appl. Mech. Eng., 436 (2025), 117727. https://doi.org/10.1016/j.cma.2024.117727 doi: 10.1016/j.cma.2024.117727
![]() |
[20] | F. V. Difonzo, L. Lopez, S. F. Pellegrino, Physics informed neural networks for an inverse problem in peridynamic models, Eng. Comput., 2024 (2024). https://doi.org/10.1007/s00366-024-01957-5 |
[21] |
D. Ouedraogo, I. Ibrango, A. Guiro, Global stability for reaction-diffusion SIR model with general incidence function, Malaya J. Mat., 10 (2022), 139–150. https://doi.org/10.26637/mjm1002/004 doi: 10.26637/mjm1002/004
![]() |
[22] |
J. P. C. Santos, E. Monteiro, J. C. Ferreira, N. H. T. Lemes, D. S. Rodrigues, Well-posedness and qualitative analysis of a SEIR model with spatial diffusion for COVID-19 spreading, Biomath, 12 (2023), 2307207. https://doi.org/10.55630/j.biomath.2023.07.207 doi: 10.55630/j.biomath.2023.07.207
![]() |
[23] |
S. Chinviriyasit, W. Chinviriyasit, Numerical modelling of an SIR epidemic model with diffusion, Appl. Math. Comput., 216 (2010), 395–409. https://doi.org/10.1016/j.amc.2010.01.028 doi: 10.1016/j.amc.2010.01.028
![]() |
[24] |
P. van den Driessche, J. Watmough, Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission, Math. Biosci., 180 (2002), 29–48. https://doi.org/10.1016/S0025-5564(02)00108-6 doi: 10.1016/S0025-5564(02)00108-6
![]() |
[25] | Y. LeCun, Y. Bengio, G. Hinton, Deep learning, Nature, 521 (2015), 436–444. https://doi.org/10.1038/nature14539 |
[26] | A. G. Baydin, B. A. Pearlmutter, A. A. Radul, J. M. Siskind, Automatic differentiation in machine learning: A survey, J. Mach. Learn. Res., 18 (2018), 1–43. |
[27] |
M. Raissi, G. E. Karniadakis, Hidden physics models: Machine learning of nonlinear partial differential equations, J. Comput. Phys., 357 (2018), 125–141. https://doi.org/10.1016/j.jcp.2017.11.039 doi: 10.1016/j.jcp.2017.11.039
![]() |
[28] | K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recognition, in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, (2016), 770–778. https://doi.org/10.1109/CVPR.2016.90 |
[29] | A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, et al., Attention is all you need, preprint, arXiv: 1706.03762. |
[30] |
M. D. McKay, R. J. Beckman, W. J. Conover, A comparison of three methods for selecting values of input variables in the analysis of output from a computer code, Technometrics, 21 (1979), 239–245. https://doi.org/10.2307/1268522 doi: 10.2307/1268522
![]() |
[31] |
E. Massad, M. N. Burattini, F. B. A. Coutinho, L. F. Lopez, The 1918 influenza A epidemic in the city of São Paulo Brazil, Med. Hypotheses, 68 (2007), 442–445. https://doi.org/10.1016/j.mehy.2006.07.041 doi: 10.1016/j.mehy.2006.07.041
![]() |
[32] |
N. Sene, 2-Numerical methods applied to a class of SEIR epidemic models described by the Caputo derivative, Methods Math. Model., 2022 (2022), 23–40. https://doi.org/10.1016/B978-0-323-99888-8.00003-6 doi: 10.1016/B978-0-323-99888-8.00003-6
![]() |
[33] |
S. L. Brunton, J. L. Proctor, J. N. Kutz, Discovering governing equations from data by sparse identification of nonlinear dynamical systems, Proc. Natl. Acad. Sci. U.S.A., 113 (2016), 3932–3937. https://doi.org/10.1073/pnas.1517384113 doi: 10.1073/pnas.1517384113
![]() |
N | L∞-error (t=1) | Order | L∞-error (t=3) | Order | L∞-error (t=5) | Order |
10 | 2.4436e-04 | - | 4.6589e-05 | - | 5.8577e-06 | - |
20 | 1.5122e-05 | 4.0143 | 2.7757e-06 | 4.0691 | 3.7606e-07 | 3.9613 |
40 | 9.5097e-07 | 3.9911 | 1.7481e-07 | 3.9890 | 2.3501e-08 | 4.0002 |
80 | 5.9436e-08 | 4.0000 | 1.0909e-08 | 4.0022 | 1.4734e-09 | 3.9955 |
N | L∞-error (t=1) | Order | L∞-error (t=3) | Order | L∞-error (t=5) | Order |
10 | 2.7893e-03 | - | 3.6354e-04 | - | 5.4388e-05 | - |
20 | 5.5310e-04 | 2.3343 | 1.0387e-04 | 1.8073 | 1.3537e-05 | 2.0064 |
40 | 1.3382e-04 | 2.0472 | 2.5860e-05 | 2.0060 | 3.3756e-06 | 2.0037 |
80 | 3.5689e-05 | 1.9067 | 6.5318e-06 | 1.9852 | 8.7722e-07 | 1.9441 |
N | L∞-error (t=1) | Order | L∞-error (t=3) | Order | L∞-error (t=5) | Order |
10 | 2.4436e-04 | - | 4.6589e-05 | - | 5.8577e-06 | - |
20 | 1.5122e-05 | 4.0143 | 2.7757e-06 | 4.0691 | 3.7606e-07 | 3.9613 |
40 | 9.5097e-07 | 3.9911 | 1.7481e-07 | 3.9890 | 2.3501e-08 | 4.0002 |
80 | 5.9436e-08 | 4.0000 | 1.0909e-08 | 4.0022 | 1.4734e-09 | 3.9955 |
N | L∞-error (t=1) | Order | L∞-error (t=3) | Order | L∞-error (t=5) | Order |
10 | 2.7893e-03 | - | 3.6354e-04 | - | 5.4388e-05 | - |
20 | 5.5310e-04 | 2.3343 | 1.0387e-04 | 1.8073 | 1.3537e-05 | 2.0064 |
40 | 1.3382e-04 | 2.0472 | 2.5860e-05 | 2.0060 | 3.3756e-06 | 2.0037 |
80 | 3.5689e-05 | 1.9067 | 6.5318e-06 | 1.9852 | 8.7722e-07 | 1.9441 |