Open Access

Stability analysis and observer design for discrete-time SEIR epidemic models

  • Asier Ibeas1Email author,
  • Manuel de la Sen2,
  • Santiago Alonso-Quesada2 and
  • Iman Zamani3
Advances in Difference Equations20152015:122

Received: 7 January 2015

Accepted: 6 April 2015

Published: 17 April 2015


This paper applies Micken’s discretization method to obtain a discrete-time SEIR epidemic model. The positivity of the model along with the existence and stability of equilibrium points is discussed for the discrete-time case. Afterwards, the design of a state observer for this discrete-time SEIR epidemic model is tackled. The analysis of the model along with the observer design is faced in an implicit way instead of obtaining first an explicit formulation of the system which is the novelty of the presented approach. Moreover, some sufficient conditions to ensure the asymptotic stability of the observer are provided in terms of a matrix inequality that can be cast in the form of a LMI. The feasibility of the matrix inequality is proved, while some simulation examples show the operation and usefulness of the observer.


epidemics SEIR discrete models stability observer design

1 Introduction

Mathematical models have become an important tool in analyzing the causes, dynamics, and spread of epidemics [1]. Thus, its study is crucial in order to obtain valuable knowledge of the underlying aspects of the disease. Moreover, the analysis of mathematical models describing epidemics spreading allows authorities to make decisions regarding the vaccination policies, quarantine application and so on. These models can be classified into two main categories: continuous-time and discrete-time models.

Continuous-time models were the first proposed to describe epidemics spreading since modeling has traditionally been focused from a differential equations point of view. Therefore, many specific features regarding these models have been studied in many works such as the presence of bifurcations [2, 3], the construction of approximate solutions [4, 5], the fractional dynamics [6], the existence of equilibrium points and oscillatory behavior [7], and the presence of waves [810], to cite but a few. However, model stability has been by far the most important property to be studied [1117].

On the other hand, discrete-time models have gained substantial importance during the last years as the increasing number of papers concerning this type of models reveals [1822]. There are many reasons that explain this tendency. Among them we can find the simplicity of its simulation, the fact that it is easier to adjust system’s parameters from statistical data in discrete-time models than in continuous-time ones and the fact that discrete-time models may exhibit a richer dynamic behavior than its continuous-time counterparts [22]. Until now, as [22] states, the study of discrete epidemic models was focused on the computation of the reproduction number, the existence and stability (both local and global) of the equilibrium points, and the extinction, permanence, and persistence of the disease. In addition, these studies have been performed basically on SI, SIR, and SIRS models.

Moreover, there are two ways to face the problem of setting up a discrete-time epidemic model. The first one consists in modeling the disease spreading directly in a discrete domain. The second one faces the problem by discretizing a previously existing continuous-time model. The latter approach will be used in this paper. In this way, several discretization methods have been used in the literature including the implicit and explicit Euler, mixed, and Runge-Kutta methods [1822]. However, discretization procedures do not always preserve the structural properties exhibited by continuous-time models such as the conservation of the total population or the positivity of the solutions. Therefore, much research has been done in the direction of obtaining discretization methods able to preserve all these properties. One of the most important breakthroughs in this respect is the research made by Micken on the use of nonstandard finite difference (NSFD) methods [21]. These methods combine implicit and explicit Euler approximations in the incidence rate function. Therefore, this paper will apply Micken’s NSFD discretization method to obtain a SEIR discrete-time epidemic model while stating its main properties such as the well-posedness of the model, the positivity of solutions and the existence and stability of equilibrium points. Since most of the previous literature is confined to SI, SIR, and SIRS models, this study will contribute to the application of NSFD approaches to a wider class of models. In addition, the properties will be proved based on an implicit representation of the equations, in comparison with previous approaches [18, 19], where an explicit description of the model is obtained prior to analysis.

Furthermore, control theory has recently emerged as one of the proposed approaches to deal with the design of vaccination campaigns [2329]. Thus, different types of vaccination laws based on control theory have appeared in the literature during the last years, such as the state-feedback control [23, 25], robust sliding control [30], or feedback linearization [24]. Nevertheless, most of these works calculate the vaccination effort based on the values of the subpopulations, namely, susceptible, exposed, infectious and immune of the SEIR model. From a practical point of view only the total population and the number of infectious may be obtained from clinical data at health centers. Therefore, the number of susceptible, exposed, and immune cases may not be available to on-line compute the control vaccination law. Under these circumstances, a state observer is necessary to estimate the value of these subpopulations.

State observers are largely used in control applications to cope with the inability to measure some state variables. Thus, we can find many applications in chemical [31], aeronautic [32], and electrical engineering [33], to cite just a few. Also, there are few previous works where a state observer is designed for epidemic models [27, 28]. In these works, an observer is designed for a continuous-time SEIR epidemic model whose values are then used to implement a vaccination strategy. In the present work, however, a state observer is designed for a discrete-time SEIR model obtained by a NSFD discretization method, which is for the first time being considered in the literature. The design of such a state observer must face some particularities, which make it different from previous approaches to observer design:
  • NSFD schemes lead to implicit systems rather than explicit. Thus, the design of the state observer must be done implicitly. This makes a big difference from traditional observer design where the problem is usually formulated in an explicit way.

  • Epidemic models are singular systems so that there exists an algebraic relation between the dynamic variables of the system.

  • The number of infectious can be measured, implying that there is no need to estimate this state component, which leads to a reduced-order observer.

In this way, the combination of all the above items makes the design of state observers for discrete-time SEIR epidemic models rather different from standard approaches in the literature. In addition, the asymptotic stability of the observer will be discussed, while some simulation examples will show its operation. Some preliminary results of this paper were first presented in [34] and [35].

The paper is organized as follows. Section 2 describes the model description and problem formulation. Section 3 studies the main properties of the discrete model. The design of the state observer is carried out in Section 4. Section 5 is devoted to the study of the analytic properties of the observer. Finally, Section 6 shows some numerical simulation examples while our Conclusions end the paper.

2 Model description

Consider the SEIR continuous-time epidemic model described by [23]
$$\begin{aligned}& \dot{S}(t) = -\mu S(t) + \omega R(t) - \frac{\beta S(t)I(t)}{N(t)} + \nu N(t) , \end{aligned}$$
$$\begin{aligned}& \dot{E}(t) = \frac{\beta S(t)I(t)}{N(t)} - (\mu+ \sigma)E(t), \\& \dot{I}(t) = - (\mu+ \gamma) I(t) + \sigma E(t), \\& \dot{R}(t) = - (\mu+ \omega) R(t) + \gamma I(t), \end{aligned}$$
where \(S(t)\), \(E(t)\), \(I(t)\), and \(R(t)\) denote the subpopulations of susceptible, exposed, infectious and immune, respectively, defining the state vector \(x^{T}(t) = [ S \ E \ I \ R ]\). \(N(t)\) denotes the total population at time t (i.e. \(N(t) = S(t) + E(t)+I(t)+R(t)\)), μ is the rate of deaths from causes unrelated to the infection, ν denotes the birth rate and ω is the rate of losing immunity. The term \(\frac{\beta S(t)I(t)}{N(t)}\) is referred to as the disease incidence rate and defines the total number of new infections per unit of time at time t. \(\sigma^{-1}\) and \(\gamma ^{-1}\) are, respectively, the average duration of the latent and infectious periods. All the above parameters are assumed to be positive so as to represent a real situation. This model is also referred to as the SEIRS model in the literature (see, for instance, [36]) due to the presence of the terms \(\pm\omega R(t)\) in (1) and (2). The total population dynamics can be calculated by summing up all the equations (1)-(2), leading to
$$ \dot{N}(t) = (\nu- \mu) N(t) . $$
It can be deduced from (3) that the total population is constant when \(\nu= \mu\), increases when \(\nu > \mu\) and decreases when \(\nu< \mu\). This model is discretized by using Micken’s NSFD method [21], to get
$$\begin{aligned}& \frac{S_{k+1}-S_{k}}{h} = -\mu S_{k+1} + \omega R_{k+1} - \frac{\beta S_{k+1}I_{k}}{N_{k}} + \nu N_{k+1} , \end{aligned}$$
$$\begin{aligned}& \frac{E_{k+1}-E_{k}}{h} = \frac{\beta S_{k+1}I_{k}}{N_{k}} - (\mu+ \sigma )E_{k+1}, \\& \frac{I_{k+1}-I_{k}}{h} = - (\mu+ \gamma) I_{k+1} + \sigma E_{k+1}, \\& \frac{R_{k+1}-R_{k}}{h} = - (\mu+ \omega) R_{k+1} + \gamma I_{k+1}, \end{aligned}$$
where \(h > 0\) denotes the integration step while \(S_{k}\), \(E_{k}\), \(I_{k}\), and \(R_{k}\) denote the value of the susceptible, exposed, infectious and immune at sampling time \(t_{k} = kh\) which define the discrete-time state vector \(x^{T}_{k} = [S_{k} \ E_{k} \ I_{k} \ R_{k} ]\). The dynamics of the total population in discrete-time can be obtained by summing up again all the equations (4)-(5) to get
$$ \frac{N_{k+1}-N_{k}}{h} = (\nu- \mu) N_{k+1} , $$
which corresponds to the NSFD discretization of the continuous-time equation (3). This fact implies that the discretization method is consistent with the total population dynamics given by the continuous-time model, property not satisfied by all discretization methods [20]. Equation (6) can be re-written as
$$ N_{k+1} = \frac{1}{1+(\mu- \nu)h} N_{k} $$
which provides the explicit value of \(N_{k+1}\) in terms of the system’s parameters and \(N_{k}\). For the sake of simplicity, let us rearrange (4)-(5) in the following implicit matrix form:
$$\begin{aligned} \mathcal{M}(x_{k}) x_{k+1} = x_{k} + \Gamma\nu h N_{k+1} = x_{k} + \Gamma\frac{\nu h}{1+ (\mu- \nu)h} N_{k} = \mathcal{D} x_{k}, \end{aligned}$$
$$\begin{aligned} &\Gamma^{T} = [1 \quad 0 \quad 0 \quad 0 ] , \\ &\mathcal{D} = I_{4 \times4} + \frac{\nu h}{1+(\mu- \nu)h} \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 1 & 1 & 1 & 1 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{array} \right ), \end{aligned}$$
$$\begin{aligned} &\mathcal{M}(x_{k}) = \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} A & 0 & 0 & -B \\ -H & C & 0 & 0 \\ 0 & -G & D & 0 \\ 0 & 0 & -F & J \end{array} \right ) \end{aligned}$$
$$\begin{aligned} &A = 1 + \mu h + \frac{\beta h}{N_{k}} I_{k},\qquad B = \omega h,\qquad C = 1 + ( \mu+ \sigma) h, \\ &D = 1+ (\mu+ \gamma)h,\qquad J = 1+ (\mu+ \omega)h, \qquad F = \gamma h, \\ &G = \sigma h, \qquad H = \frac{\beta h}{N_{k}} I_{k} . \end{aligned}$$
Note that the matrix \(\mathcal{M}(x_{k})\) depends explicitly on \(x_{k}\) through entries A and H, since they depend on \(N_{k}\) and \(I_{k}\) as (11) shows. Equation (8) allows one to isolate the value of state vector \(x_{k+1}\), when possible, as
$$ x_{k+1} = \mathcal{M}(x_{k})^{-1} \mathcal{D} x_{k} . $$
For the SEIR model, the closed-form explicit representation given by (12) is intricate. Therefore, all the properties of this model will be stated starting from the implicit form (8) rather than from (12) in comparison with some previous works [18, 19], where an explicit (or semi-explicit) formulation of the model is obtained prior to analysis. The following section is devoted to the study of the main properties of this scheme.

3 Main properties of the discrete-time model

Initially, the well-posedness of (12) will be proved.

Lemma 1

\(\mathcal{M}(x_{k})\) is invertible, its inverse is given by (13) and all the entries of the matrix \(\mathcal {M}(x_{k})^{-1}\) are non-negative for any set of positive parameters and any \(I_{k} \geq0\), \(N_{k} \geq0\). We have
$$\begin{aligned} \mathcal{M}(x_{k})^{-1} = \frac{1}{ACDJ-HGBF} \times \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} CDJ & BFG & BCF & BCD \\ DHJ & ADJ & BHF & BDH \\ GHJ & AGJ & ACJ & BGH \\ FGH & AFG & ACF & ACD \end{array} \right ). \end{aligned}$$


Firstly, notice that, since all the parameters (including the time step h) are assumed to be positive and \(I_{k},N_{k} \geq0\), \(A,B,C,D,J,F,G > 0\) and \(H \geq0\) from (11). Now, the determinant of \(\mathcal{M}(x_{k})\) can be symbolically computed as
$$ \det\mathcal{M}(x_{k}) = ACDJ - HGFB. $$
Hence, if \(I_{k},N_{k} \geq0\) then \(ACDJ > 0\), \(A > H\), \(C > G\), \(D > F\), and \(J > B\) according to (11). Therefore, \(ACDJ > HGFB\), \(\det\mathcal{M}(x_{k}) = ACDJ - HGFB > 0\), and \(\mathcal{M}(x_{k})\) is invertible. Moreover, its inverse can be symbolically computed as (13). Finally, it can be directly seen from (13) that all its entries are non-negative since all the quantities involved are non-negative from (11). Thus, the lemma is proved. □

Furthermore, we have the following.

Theorem 1

\(S_{k}\), \(E_{k}\), \(I_{k}\), and \(R_{k}\) remain non-negative for all discrete time \(t_{k} = kh\), \(k \in\mathbb{N}\) provided that \(S_{0}\), \(E_{0}\), \(I_{0}\), \(R_{0} \geq0\), \(1+ (\mu- \nu)h >0\), and all the system’s parameters are positive.


The proof is performed by mathematical induction. Thus, let us assume that \(x_{0}\) is non-negative. Now suppose that \(x_{k}\) is non-negative and it will be proved that so is \(x_{k+1}\). In this way, since \(x_{k}\) is non-negative so is \(N_{k}\) and, in particular, \(I_{k}\). This fact implies that \(\mathcal{M}(x_{k})\) is invertible due to Lemma 1. In addition, its inverse is given by (13), whose entries are non-negative. Then the \((k+1)\)th state vector, \(x_{k+1}\), is calculated through (12) as
$$ x_{k+1} = \mathcal{M}(x_{k})^{-1} x_{k} + \mathcal{M}(x_{k})^{-1} \Gamma\frac {\nu h}{1+(\mu- \nu)h} N_{k}. $$
Since \(1+ (\mu- \nu)h >0\), all the elements in the right-hand side of (15) are non-negative, so is \(x_{k+1}\) and the theorem is proved. □

Remark 1

Notice that Theorem 1 states that the system is always well defined, since \(I_{k} \geq0\) and \(N_{k} \geq0\) for all \(k \geq0\) implies that \(\mathcal{M} (x_{k})\) is always invertible due to Lemma 1 and makes possible the calculation of \(x_{k+1}\) at each time step through (12).

Remark 2

Moreover, Theorem 1 can also be used to establish the range of values of the time step h that guarantees the well-posedness of the discrete-time model. Thus, from \(1 + (\mu- \nu)h > 0\) we see that h must fulfill:
$$ \left \{ \begin{array}{@{}l@{\quad}l} 0 < h < \frac{1}{\nu- \mu} & \mbox{if } \nu> \mu, \\ h \in(0,\infty) & \mbox{otherwise}. \end{array} \right . $$
Since h must meet this constraint, the method is a NSFD-based one, rather a pure NSFD method.

Remark 3

The non-negativity and well-posedness of the discrete-time system are crucial properties for the discrete-time model [37]. These properties are obtained easier by using the NSFD method than by using other discretization schemes. For instance, consider the forward Euler approximation of the derivative applied to the left-hand side of (1)-(2) [22], to obtain
$$\begin{aligned}& \frac{S_{k+1}-S_{k}}{h} = -\mu S_{k} + \omega R_{k} - \frac{\beta S_{k}I_{k}}{N_{k}} + \nu N_{k} , \end{aligned}$$
$$\begin{aligned}& \frac{E_{k+1}-E_{k}}{h} = \frac{\beta S_{k}I_{k}}{N_{k}} - (\mu+ \sigma)E_{k}, \\& \frac{I_{k+1}-I_{k}}{h} = - (\mu+ \gamma) I_{k} + \sigma E_{k}, \\& \frac{R_{k+1}-R_{k}}{h} = - (\mu+ \omega) R_{k} + \gamma I_{k}. \end{aligned}$$
These equations can be cast in the matrix form:
$$ x_{k+1} = \mathcal{M}_{1} x_{k} + \Gamma_{1} \beta h \frac{S_{k} I_{k}}{N_{k}}, $$
$$\mathcal{M}_{1} = \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 1+(\nu- \mu)h & \nu h & \nu h & (\omega+ \nu)h \\ 0 & 1-(\mu+ \sigma)h & 0 & 0 \\ 0 & \sigma h & 1-(\mu+ \gamma)h & 0 \\ 0 & 0 & \gamma h & 1-(\mu+ \omega)h \end{array} \right ) $$
and \(x_{k} = [S_{k} \ E_{k} \ I_{k} \ R_{k} ]^{T}\), \(\Gamma_{1} = [-1 \ 1 \ 0 \ 0 ]^{T}\). If we want to apply now the same argument as in (15) to prove the non-negativity of the system (i.e. the non-negativity of all the elements of the right-hand side of (15)) we find two main drawbacks: (i) the first one is that the vector \(\Gamma_{1}\) possesses negative components, and, secondly, (ii) all the entries of the matrix \(\mathcal {M}_{1}\) are non-negative provided that the following constraints hold:
$$\begin{aligned}& 1+(\nu- \mu)h \geq 0, \end{aligned}$$
$$\begin{aligned}& 1-(\mu+ \sigma)h \geq 0, \\& 1-(\mu+ \gamma)h \geq 0, \\& 1-(\mu+ \omega)h \geq 0. \end{aligned}$$
Thus, the simple argument used in (15) is not directly applicable here, while it may lead to further conditions on the sampling period h arising from (20)-(21):
$$ \left \{ \begin{array}{@{}l@{\quad}l} 0 < h \leq\min ( \frac{1}{\mu+ \sigma} ,\frac{1}{\mu+ \gamma} ,\frac{1}{\mu+ \omega} ,\frac{1}{\mu- \nu} ) & \mbox{if } \nu< \mu,\\ 0 < h \leq\min ( \frac{1}{\mu+ \sigma} ,\frac{1}{\mu+ \gamma} ,\frac{1}{\mu+ \omega} ) & \mbox{otherwise}. \end{array} \right . $$
Therefore, the NSFD method reveals as a very useful one to treat the discretization problem of the SEIR model since its properties are proved easily and under mild mathematical conditions.

3.1 Existence and stability of equilibrium points

This section studies the existence and stability of equilibrium points in the discrete-time SEIR model given by (4)-(5).

Lemma 2

The discrete-time equation systems (4)-(5) and continuous-time equation systems (1)-(2) posses the same equilibrium points, given by
  1. (1)

    If \(\mu\ne\nu\) then the only equilibrium point is given by the trivial one \(S^{*} = E^{*} =I^{*} =R^{*} =N^{*}=0\).

  2. (2)
    If \(\mu= \nu\) the total population is constant, i.e. \(N(t) = N = N(0) = S(0) + E(0) + I(0) + R(0)\) and there are three potential equilibrium points given by:
    1. (a)

      The trivial one, \(S^{*} = E^{*} = I^{*} = R^{*} = N^{*} = 0\).

    2. (b)

      \(S^{*} = N\), \(E^{*} = I^{*} = R^{*} = 0\), i.e. the total population is susceptible. This point is usually referred to as the disease-free equilibrium point.

    3. (c)

      The so-called endemic equilibrium point:

$$\begin{aligned}& S^{*} = \frac{(\mu+ \sigma)(\mu+ \gamma)}{\sigma\beta} N, \end{aligned}$$
$$\begin{aligned}& E^{*} = \frac{(\mu+ \omega)(\mu+ \gamma)(\sigma\beta- (\mu+ \gamma )(\mu+ \sigma))}{\sigma\beta((\mu+ \sigma+ \gamma)(\mu+ \omega)+ \gamma\sigma)} N, \\& I^{*} = \frac{(\mu+ \omega)(\sigma\beta- (\mu+ \gamma)(\mu+ \sigma ))}{\beta((\mu+ \sigma+ \gamma)(\mu+ \omega)+ \gamma\sigma)} N, \\& R^{*} = \frac{\gamma(\sigma\beta- (\mu+ \gamma)(\mu+ \sigma))}{\beta ((\mu+ \sigma+ \gamma)(\mu+ \omega)+ \gamma\sigma)} N. \end{aligned}$$


The proof of the first part is straightforward from (1)-(2) and (4)-(5) while the equilibrium points are calculated in [25]. □

Now, the stability of the equilibrium points is discussed. We will focus on the two nontrivial equilibrium points obtained when \(\mu= \nu \): the disease-free and the endemic equilibrium points.1 For this, the nonlinear system (8) is linearized around these equilibrium points and the first Lyapunov theorem (linearization theorem) is used. Thus, the linearized equation reads2
$$ \biggl( \frac{\partial ( \mathcal{D}^{-1} \mathcal{M}(x_{k})x_{k+1} )}{\partial x_{k+1}} \biggr)_{x^{*}} v_{k+1} = v_{k}, $$
where \(x^{*}\) denotes the corresponding equilibrium point and \(v_{k} = x_{k} - x^{*}\) is the incremental variable. In this way, the results are obtained starting from the implicit equation (8) rather than from the explicit one (12) as some previous works do [18, 19]. The advantage of this approach is that the calculus of the Jacobian matrix \(( \frac{\partial ( \mathcal {D}^{-1} \mathcal{M}(x_{k})x_{k+1} )}{\partial x_{k+1}} )_{x^{*}}\) is easier implicitly than explicitly. In order to perform the calculation of the Jacobian, we must firstly write \(\mathcal{M}(x_{k}) \cdot x_{k+1}\) in terms of only \(x_{k+1}\) since, otherwise, we would be omitting some terms in the Taylor development. Therefore
$$ \mathcal{M}(x_{k}) \cdot x_{k+1} = \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 1 + \mu h + \frac{\beta h}{N} (-GE_{k+1} + D I_{k+1}) & 0 & 0 & -B \\ - \frac{\beta h}{N} (-G E_{k+1} + D I_{k+1}) & C & 0 & 0 \\ 0 & -G & D & 0 \\ 0 & 0 & -F & J \end{array} \right ) \cdot x_{k+1}. $$
Thus, the Jacobian is given by
$$\begin{aligned} & \biggl( \frac{\partial ( \mathcal{D}^{-1} \mathcal{M}(x_{k})x_{k+1} )}{\partial x_{k+1}} \biggr)_{x^{*}} \\ &\quad= \mathcal{D}^{-1} \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 1 + \mu h + \frac{\beta h}{N} (-GE^{*} + D I^{*}) & -\frac{\beta h}{N} GS^{*} & \frac{\beta h}{N} DS^{*} & -B \\ - \frac{\beta h}{N} (-G E^{*} + D I^{*}) & C+\frac{\beta h}{N} GS^{*} &- \frac {\beta h}{N} DS^{*} & 0 \\ 0 & -G & D & 0 \\ 0 & 0 & -F & J \end{array} \right ) , \end{aligned}$$
so that around the disease-free equilibrium point
$$\biggl( \frac{\partial ( \mathcal{D}^{-1} \mathcal{M}(x_{k})x_{k+1} )}{\partial x_{k+1}} \biggr)_{x^{*}_{df}} = \mathcal{D}^{-1} \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 1 + \mu h & -\beta h G & \beta h D & -B \\ 0 & C+\beta h G &- \beta h D & 0 \\ 0 & -G & D & 0 \\ 0 & 0 & -F & J \end{array} \right ) $$
and the linearized system is given by
$$ \mathcal{D}^{-1} \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 1 + \mu h & -\beta h G & \beta h D & -B \\ 0 & C+\beta h G &- \beta h D & 0 \\ 0 & -G & D & 0 \\ 0 & 0 & -F & J \end{array} \right ) v_{k+1} = v_{k}. $$
Since the incremental variables satisfy \(v_{1,k} + v_{2,k} +v_{3,k} + v_{4,k} = 0\) due to the constraint \(S_{k} + E_{k} +I_{k} + R_{k} = N\) we can omit one variable in our analysis, since it can be obtained from this algebraic equation. Therefore, if we omit the first one we obtain the reduced system,
$$ \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{}} C+\beta h G &- \beta h D & 0 \\ -G & D & 0 \\ 0 & -F & J \end{array} \right ) \left ( \begin{array}{@{}c@{}} v_{2,k+1} \\ v_{3,k+1} \\ v_{4,k+1} \end{array} \right ) = \left ( \begin{array}{@{}c@{}} v_{2,k} \\ v_{3,k} \\ v_{4,k} \end{array} \right ). $$
The linearized reduced system (28) will be asymptotically stable provided that all the eigenvalues of the left-hand side matrix are strictly greater than unity in absolute value. In this way, the eigenvalues are given by
$$\begin{aligned} &\lambda_{1} = J = 1 + (\mu+ \omega)h, \\ &\lambda_{2} = \frac{C+D+\beta hG + \sqrt{(C-D)^{2} + 2 \beta hG(C+D) + G^{2} \beta^{2} h^{2}}}{2}, \\ &\lambda_{3} = \frac{C+D+\beta hG - \sqrt{(C-D)^{2} + 2 \beta hG(C+D) + G^{2} \beta^{2} h^{2}}}{2}. \end{aligned}$$
It can be readily seen that \(\lambda_{1} > 1\), while
$$ \lambda_{2} = 1 + \frac{(2 \mu+ \sigma+ \gamma)h + \beta hG + \sqrt {(C-D)^{2} + 2 \beta hG(C+D) + G^{2} \beta^{2} h^{2}}}{2} > 1. $$
The only eigenvalue that might threaten stability is \(\lambda_{3}\), which may be re-written as
$$ \lambda_{3} = \frac{C+D+\beta h G - \sqrt{(C+D+\beta hG)^{2} - 4CD}}{2}. $$
Notice that the argument of the square root is positive from (29). Therefore, (31) implies that \(\lambda _{3}\) must also be positive since \(CD >0\). The stability condition then reads \(\lambda_{3} > 1\). Some algebra on (31) shows that this condition can be met, provided that
$$ \mathcal{R}_{0} := \frac{\beta\sigma}{(\mu+ \gamma)(\mu+ \sigma)} < 1, $$
which corresponds to the same stability condition found in [25] for the continuous-time system. Thus, not only does the discretization method preserve positivity and total population dynamics, but also the equilibrium points and their stability. In this way, the reproduction number of the discrete-time model is given by (32). When (32) is met, the linearized system is globally stable around the disease-free equilibrium point, \(v_{1,k},v_{2,k},v_{3,k},v_{4,k} \rightarrow0\) and \(S_{k} \rightarrow N\) as \(k \rightarrow\infty\), while the nonlinear system is locally stable around the equilibrium point. Thus, we have already proved the following theorem.

Theorem 2

The discrete-time epidemic SEIR model (4)-(5) is locally asymptotically stable around the disease-free equilibrium point when \(\mu= \nu\) provided that \(\mathcal {R}_{0} := \frac{\beta\sigma}{(\mu+ \gamma)(\mu+ \sigma)} < 1\).

On the other hand, the following theorem holds when \(\mathcal{R}_{0} >1\).

Theorem 3

If \(\mu= \nu\) and \(\mathcal{R}_{0} >1\) then one of the following claims remains true:
  1. (1)

    The solution of the discrete-time SEIR model (4)-(5) tends to the endemic equilibrium point.

  2. (2)

    Some variables of the discrete-time model (4)-(5) oscillate.



Firstly note that the positivity of the model along with the constraint \(S_{k} + E_{k} +I_{k} +R_{k} = N\) imply that \(0 \leq S_{k},E_{k},I_{k},R_{k} \leq N\). Therefore, all variables are globally bounded through time. Now, since the state variables cannot diverge as \(k \rightarrow\infty\), there are only two possibilities:
  1. (1)

    All the state variables converge to a constant finite value.

  2. (2)

    Some of the state variables do not converge to a constant value, and therefore, oscillate.

If all the variables converge to a constant value, it must be an equilibrium point. The trivial point is not reachable due to the constraint \(S_{k} + E_{k} +I_{k} +R_{k} = N\) while the disease-free equilibrium point is unstable when \(\mathcal{R}_{0} >1\). In consequence, the finite constant limit must be the endemic equilibrium point. On the other hand, if any of the variables does not converge to a finite limit it must oscillate. Thus the theorem is proved. □

Theorem 3 represents an alternative-type theorem to establish the behavior of the solutions when \(\mathcal{R}_{0} >1\). The particular case corresponding to one situation or another depends on the particular values of the parameters. However, the complexity of the endemic point expressions (23)-(24) makes it difficult to obtain analytical conditions based entirely on the parameters to distinguish in between. This result is also in line with those presented in [36] for the continuous-time model, where the conditions under which the endemic equilibrium point is globally stable are presented. The important feature regarding the case \(\mathcal{R}_{0} >1\) is that the disease persists in the population (in a constant or oscillatory way), and this is the reason why the equilibrium point is called endemic. In this case, the application of vaccination contributes to removing the disease. Many vaccination laws make use of the values of the subpopulations to generate the vaccination effort. Nevertheless, the number of susceptible, exposed, and immune cases may be very difficult to obtain in practice since only the infectious can be registered at health centers. Therefore, a state observer is designed in the next section for the discrete-time model.

4 Design of the state observer

The purpose of the state observer is to obtain an estimation of the state, \(\hat{x}_{k}\), from the unique available data, the infectious subpopulation, \(I_{k}\). This issue is the main feature of the presented design process. In this way, the following feasible assumptions will be used in the sequel:

Assumption 1

The total population \(N_{k}\) is known at all \(k \geq0\).

Assumption 2

The number of infectious is available at all \(k \geq0\).

Remark 4

The total population may be obtained from (7) if birth and mortality rates are known or by direct measurement. This assumption is particularly feasible in the case of non-lethal diseases, for which the population remains almost constant during the spreading stage.

Remark 5

The number of infectious may be obtained from clinical data at health centers.

Therefore, \(I_{k}\) does not have to be estimated, since it is directly obtained from the actual data. This fact allows us to consider the design of a reduced-order observer. On the other hand, the constraint \(N_{k} = S_{k} + E_{k} + I_{k} + R_{k}\) for all \(k \geq0\) also permits the algebraic direct calculation of one state variable in terms of the others. In this way, if \(\hat{x}^{T}_{k} = [\hat{S}_{k} \ \hat{E}_{k} \ \hat{I}_{k} \ \hat{R}_{k} ]\) denotes the observed state, there is no need to estimate \(\hat{I}_{k}\), while \(\hat{S}_{k}\) will be calculated from
$$ \hat{S}_{k} = N_{k} - \hat{E}_{k} - \hat{R}_{k} - I_{k}. $$
Thus, we just need to observe the values of \(\hat{E}_{k}\) and \(\hat{R}_{k}\). The first step is to re-organize the state vector so as to put together the variables that are to be truly estimated. To this end define the re-organized state vector \(z_{k} = [E_{k} \ R_{k} \ S_{k} \ I_{k} ]^{T} = Tx_{k}\) with
$$ T = \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \end{array} \right ), $$
so that only the first two components of \(z_{k}\) have to be observed. With this notation, the implicit epidemic model (8) can be re-written as
$$\begin{aligned} T \mathcal{D}^{-1} \mathcal{M}(x_{k}) T^{-1} z_{k+1} = \mathcal{K}_{k} z_{k+1} = z_{k}, \end{aligned}$$
where \(\mathcal{K}_{k} = T \mathcal{D}^{-1} \mathcal{M}(x_{k}) T^{-1}\). Equation (35) will be the starting point to design the reduced-order state observer. Now, (35) is expanded as
$$ \left ( \begin{array}{@{}c@{\quad}c@{\quad}c@{}} K_{11k} & K_{12k} & K_{13k} \\ K_{21k} & K_{22k} & K_{23k} \\ K_{31k} & K_{32k} & K_{33k} \end{array} \right ) \cdot \left ( \begin{array}{@{}c@{}} z_{1,k+1} \\ z_{2,k+1} \\ z_{3,k+1} \end{array} \right ) = \left ( \begin{array}{@{}c@{}} z_{1,k} \\ z_{2,k} \\ z_{3,k} \end{array} \right ) $$
with \(z_{1,k}^{T} = [E_{k} \ R_{k}]\), \(z_{2,k} = S_{k}\), and \(z_{3,k} = I_{k}\). The reason to proceed with the observer design implicitly is that matrix \(\mathcal{K}_{k}\) can be computed symbolically in an easy way. Hence, we have
$$\begin{aligned}& K_{11k} = \operatorname{diag}(C,J), \qquad K_{12k}^{T} = [-H \quad 0] , \end{aligned}$$
$$\begin{aligned}& K_{13k}^{T} = [0\quad -F] , \\& K_{21k} = \frac{1}{\eta h \nu+ 1} \cdot \bigl[\eta h \nu(G-C) \quad - (B+ \eta h \nu J)\bigr] , \\& K_{22k} = \frac{A+ H \eta h \nu}{\eta h \nu+ 1}, \\& K_{23k} = \frac{ \eta h \nu(F-D)}{\eta h \nu+ 1}, \\& K_{31k} = [-G \quad 0], \qquad K_{32k} = 0, \\& K_{33k} = D, \end{aligned}$$
with \(\eta= \frac{1}{1+(\mu- \nu)h}\). The last equation of (36) reads
$$ K_{31k} z_{1,k+1} +K_{32k} z_{2,k+1} + K_{33k} z_{3,k+1} = z_{3,k} $$
and will be used to reduce the order of the observer. Since \(z_{2,k+1} = S_{k+1} = N_{k+1} - E_{k+1} - R_{k+1} - I_{k+1} = N_{k+1} - [1 \ 1] z_{1,k+1} - z_{3,k+1}\), (39) is transformed to
$$\begin{aligned} &K_{31k} z_{1,k+1} + K_{32k} \bigl( N_{k+1} - [1 \quad 1] z_{1,k+1} - z_{3,k+1} \bigr) + K_{33k} z_{3,k+1} = z_{3,k}, \end{aligned}$$
which finally becomes
$$\begin{aligned} & \bigl( K_{31k}- K_{32k} [1 \quad 1] \bigr) z_{1,k+1} \\ &\quad= \underbrace{z_{3,k}-K_{33k} z_{3,k+1}+ K_{32k} z_{3,k+1} - K_{32k}N_{k+1}}_{\delta_{k}}. \end{aligned}$$
Let us analyze the meaning of (40). The right-hand side of (40), \(\delta_{k}\), is known since the infectious and the total population are known by Assumptions 1 and 2. On the other hand, the left-hand side is unknown since it just involves the actual state, which is not known. This equation will be used as error signal to drive the state observer. The observer is then designed from the first equation of (36):
$$\begin{aligned} &K_{11k} z_{1,k+1} + K_{12k} \bigl( N_{k+1}-[1 \quad 1] z_{1,k+1} - z_{3,k+1} \bigr) + K_{13k} z_{3,k+1} = z_{1,k} \end{aligned}$$
by substituting the actual state by the observed one and by adding the observation error, leading to
$$\begin{aligned} &K_{11k} \hat{z}_{1,k+1} + K_{12k} \bigl( N_{k+1}-[1 \quad 1] \hat{z}_{1,k+1} - z_{3,k+1} \bigr) + K_{13k} z_{3,k+1} \\ &\quad = \hat{z}_{1,k} + L_{k} \bigl( \bigl( K_{31k}-K_{32k}[1 \quad 1] \bigr) \hat{z}_{1,k+1} - \delta_{k} \bigr) , \end{aligned}$$
which is the reduced-order observer to estimate the only two components that remain to be observed. \(L_{k}^{T} =[l_{1k} \ l_{2k}] \in\mathbb {R}^{2}\) is the so-called observer gain. Note that (41) is an implicit observer since the observed variable \(\hat{z}_{1,k+1}\) appears at both sides of equation. Therefore, the observer is designed implicitly instead of explicitly. An explicit representation of the observer, more appropriate for implementation, can be obtained by re-arranging now (41) to
$$\begin{aligned} &\mathcal{Q}_{k} \hat{z}_{1,k+1} = \hat{z}_{1,k} - L_{k} \delta_{k} - K_{12k}N_{k+1} + ( K_{12k}-K_{13k} ) z_{3,k+1}, \\ &\mathcal{Q}_{k} = K_{11k} - K_{12k}[1 \quad 1] - L_{k} K_{31k} + L_{k} K_{32k}[1 \quad 1], \end{aligned}$$
so that
$$ \hat{z}_{1,k+1} = \mathcal{Q}_{k}^{-1} \cdot \bigl( \hat{z}_{1,k} - L_{k} \delta_{k} - K_{12k}N_{k+1} + ( K_{12k}-K_{13k} ) z_{3,k+1} \bigr) $$
whenever \(\mathcal{Q}^{-1}_{k}\) exists. It will be proved in the sequel that this inverse matrix exists if the observer is designed to be asymptotically stable. In this way, (43) and (33) provide together an estimation of all the state variables. The derivation of the observer in an implicit way allows the symbolic calculation of the matrix \(\mathcal{Q}_{k}\) above as
$$ \mathcal{Q}_{k} = \left ( \begin{array}{@{}c@{\quad}c@{}} C + l_{1k} G + \beta h \frac{I_{k}}{N_{k}} & \beta h \frac{I_{k}}{N_{k}} \\ G l_{2k} & J \end{array} \right ) $$
with the parameters defined by (11). The explicit calculation of this matrix will allow us to analyze the stability properties of the observer.

5 Stability analysis of the observer

This section is devoted to the stability analysis of the observer. For this purpose, denote the observation error as \(e_{k} = z_{1,k} - \hat{z}_{1,k}\). Thus, the error equation reads
$$ \mathcal{Q}_{k} e_{k+1}= e_{k} . $$
The stability of the observer is discussed in the following theorem, which provides sufficient conditions to guarantee the observation of the states.

Theorem 4

Consider the discrete-time model (8) satisfying Theorem  1 constraints. Then the observation error \(e_{k}\) of the observer defined by (41) under Assumptions 1 and 2 converges asymptotically to zero if there exist symmetric positive-definite matrices \(P_{k}, S_{k} \in\mathbb{R}^{2 \times2}\) and vector \(L^{T}_{k} = [l_{1k} \ l_{2k}]\) such that the matrix inequality
$$ \mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k} - P_{k+1} \geq S_{k} $$
holds for all \(k \geq0\).


Consider the positive-definite Lyapunov candidate sequence \(V_{k} = e_{k}^{T} P_{k} e_{k}\). Its time variation is given by
$$\begin{aligned} \Delta V_{k} =& V_{k+1} - V_{k} = e_{k+1}^{T} P_{k+1} e_{k+1} - e_{k}^{T} P_{k} e_{k} \\ = & e_{k+1}^{T} P_{k+1} e_{k+1} - e_{k+1}^{T} \mathcal{Q}_{k}^{T} P_{k} \mathcal {Q}_{k} e_{k+1} \\ = & e_{k+1}^{T} \bigl( P_{k+1} - \mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k} \bigr) e_{k+1} \\ \leq& - e_{k+1}^{T} S_{k} e_{k+1} \leq0. \end{aligned}$$
Since \(V_{k}\) is positive definite and \(\Delta V_{k}\) is negative definite, the second Lyapunov theorem guarantees the convergence to zero of the observation error and the observed variables converge to the actual ones. □

Remark 6

It will be proved below that the stability condition (46) is feasible so that it is always possible to design an asymptotically stable state observer.

Remark 7

Equation (46) can be expressed as a linear matrix inequality (LMI) by using Schur complements. Therefore, the observer design problem can be efficiently solved by available numerical suites.

Remark 8

Since \(e_{k} \rightarrow0\), we have \((E_{k} - \hat{E}_{k}) \rightarrow0\) and \((R_{k} - \hat{R}_{k}) \rightarrow0\) as \(k \rightarrow \infty\). As a consequence, (33) implies \((S_{k} - \hat{S}_{k}) \rightarrow0\) as \(k \rightarrow\infty\) and all immeasurable state variables are observed.

The following corollary appears from Theorem 4.

Corollary 1

If \(\mathcal{Q}_{k}\) satisfies the matrix equation (46), then it is invertible.


Equation (46) can be re-written as
$$ \mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k} \geq S_{k} + P_{k+1} . $$
Since \(S_{k}\) and \(P_{k+1}\) are symmetric positive-definite matrices, \(v^{T} ( S_{k} + P_{k+1} ) v > 0\) for any real vector \(v \ne0\) and all \(k \geq0\). Thus, from (48) we have
$$ v^{T} \mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k} v \geq v^{T} ( S_{k} + P_{k+1} ) v > 0 $$
for any \(v \ne0\) implying that \(\mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k}\) is a positive-definite matrix. Therefore, \(\det (\mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k} ) > 0\). Since \(\det(ABC) = \det(A) \det(B) \det(C)\) we obtain from (49) \(\det(\mathcal{Q}_{k})^{2} \cdot\det (P_{k}) > 0\), implying \(\det(\mathcal{Q}_{k})^{2} > 0\) and \(\det(\mathcal {Q}_{k}) \neq0\). □

In this way, if the gain vector \(L_{k}\) meets Theorem 4’s requirements, the observer is well defined and asymptotically stable. Furthermore, we can prove now that inequality (46) is feasible.

Theorem 5

There exists at least one gain vector \(L_{k}^{T} = [l_{1k} \ l_{2k}]\) such that (46) holds.


It will be proved that the equality in (46) holds when \(L_{k} = 0\) and \(S_{k} = S\) is symmetric and positive definite. In this case, the matrix \(\mathcal{Q}_{k}\) reads
$$ \mathcal{Q}_{k} = \left ( \begin{array}{@{}c@{\quad}c@{}} C + \beta h \frac{I_{k}}{N_{k}} & \beta h \frac{I_{k}}{N_{k}} \\ 0 & J \end{array} \right ), $$
whose eigenvalues are given by \(\lambda_{1} = C + \beta h \frac{I_{k}}{N_{k}} \geq C = 1 + (\mu+ \sigma)h > 1\) and \(\lambda_{2} = J = 1 + (\mu+ \omega )h > 1\) for all \(k \geq0\). Since both eigenvalues are larger than unity at all time, we see that \(\mathcal{Q}_{k}^{-1}\) always exists and it is a convergent matrix. The proof is based on the explicit calculation of a sequence of symmetric positive-definite matrices \(P_{k}\) satisfying (46). The following notation will be used:
$$\begin{aligned}& R\prod_{i = 1}^{n} A_{i} = A_{1} \cdot A_{2} \cdot\ldots\cdot A_{n},\\& L\prod_{i = 1}^{n} A_{i} = A_{n} \cdot\ldots\cdot A_{2} \cdot A_{1}. \end{aligned}$$
The rationale behind the above definitions is that R∏ multiplies the matrices by the right while L∏ multiplies them by the left. Moreover, the following relation between the two definitions appears:
$$\begin{aligned} \Biggl( R\prod_{i = 1}^{n} A_{i} \Biggr)^{T} = L\prod_{i=1}^{n} A_{i}^{T} . \end{aligned}$$
With this notation, we can now explicitly construct a solution to (46) as
$$ P_{k} = \sum_{q=k}^{\infty} \Biggl( R \prod_{p=k}^{q} \mathcal{Q}_{p}^{-T} \Biggr) S \Biggl( L\prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} \Biggr). $$
Now we can check that (52) is a valid solution to (46):
  • Convergence. Since \(\mathcal{Q}_{k}^{-1}\) is a convergent matrix for all \(k \geq0\) the series (52) is convergent and well defined.

  • Positive definiteness. Equation (52) can be re-written as
    $$ P_{k} = \sum_{q=k}^{\infty} \Biggl( L \prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} \Biggr)^{T} S \Biggl( L\prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} \Biggr) $$
    by using (51). Thus,
    $$\begin{aligned} x^{T} P_{k} x =& x^{T} \sum_{q=k}^{\infty} \Biggl( L\prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} \Biggr)^{T} S \Biggl( L\prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} \Biggr) x \\ =&\sum_{q=k}^{\infty} x^{T} \Biggl( L \prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} \Biggr)^{T} S \Biggl( L\prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} x \Biggr) \\ =&\sum_{q=k}^{\infty} \Biggl( L\prod _{p=k}^{q} \mathcal{Q}_{p}^{-1} x \Biggr)^{T} S \Biggl( L\prod_{p=k}^{q} \mathcal{Q}_{p}^{-1} x \Biggr) \geq0 \end{aligned}$$
    since \(S=S^{T} >0\).
  • Solution to (46). A direct calculation yields
    $$\begin{aligned} &\mathcal{Q}_{k}^{T} P_{k} \mathcal{Q}_{k} -P_{k+1} \\ &\quad= \mathcal{Q}_{k}^{T} \bigl( \mathcal{Q}_{k}^{-T} S \mathcal{Q}_{k}^{-1} + \mathcal{Q}_{k}^{-T} \mathcal{Q}_{k+1}^{-T} S \mathcal{Q}_{k+1}^{-1} \mathcal{Q}_{k}^{-1} + \cdots \bigr) \mathcal{Q}_{k} -P_{k+1} \\ &\quad= S + \underbrace{ \bigl( \mathcal{Q}_{k+1}^{-T} S \mathcal {Q}_{k+1}^{-1}+ \cdots \bigr)}_{P_{k+1}} - P_{k+1} \\ &\quad= S . \end{aligned}$$
As a consequence, there exists at least one solution to (46) and the observer design problem is feasible. □

Remark 9

A further interpretation of Theorem 5 is that the observer is asymptotically stable in the open-loop case since \(L = 0\) implies the vanishing of the error driving term in (41).

6 Numerical examples

This section contains some simulation examples regarding the results introduced in the previous sections. The parameters of the system are assumed to be known and given by
$$ \begin{aligned} &\mu^{-1} = 255~\mbox{days},\qquad \sigma^{-1} = 1.2~\mbox{days},\qquad \omega^{-1} = 12~\mbox{days},\\ &\gamma= \sigma, \qquad\nu^{-1} = 115~\mbox{days},\qquad \beta= 1.66~\mbox{days}^{-1}. \end{aligned} $$
Model’s parameters are taken from an outbreak of influenza in a British boarding school in the late 1970s, [38], where the μ and ν parameters have been modified in such a way that a short-term simulation is enough to show the dynamic behavior of the system. In this way, in a period of some days the effect of natural growth can be noticed. The initial values of the populations are \(S_{0} = 400\), \(E_{0} = 150\), \(I_{0} = 550\), \(R_{0} = 200\) for a total initial population of \(N_{0} = 1{,}300\). Initially, Figures 1, 2, 3, and 4 depict the dynamics of the continuous and discrete-time systems for time steps of \(h = 12~\mbox{hours}\) and \(h = 24~\mbox{hours}\). These time steps are considered since they imply that data are gathered twice or once per day, respectively, which fits in a typical sampling procedure.
Figure 1

S variable: susceptible population.

Figure 2

E variable: exposed population.

Figure 3

I variable: infectious population.

Figure 4

R variable: immune population.

It can be seen that the transient response depends slightly on the value of the time step, while maintaining the shape of the response and tending to be the same value in the steady-state. Moreover, since \(\mathcal{R}_{0} > 1\) in this example, the disease is persistent and there are always a number of infectious and exposed individuals among the population.

Now, the operation of the reduced state observer will be illustrated through some numerical examples. A time step of \(h = 6~\mbox{hours}\) has been used. The observer gain has been selected as \(L^{T} = l [1 \ 1]\) for the sake of simplicity so that there is only one free parameter. The initial values of the populations are \(S_{0} = 560\), \(E_{0} = 70\), \(I_{0} = 35\), \(R_{0} = 35\) for a total initial population of \(N_{0} = 700\). Since the observed populations are initially unknown we may choose the values of \(\hat{S}_{0}\), \(\hat{E}_{0}\), and \(\hat{R}_{0}\) as desired while satisfying \(\hat{S}_{0} + \hat{E}_{0} + \hat{R}_{0} = N_{0} - I_{0} = 700 - 35 = 665\). However, as a systematic way to initialize the observer we suggest to use the initial values \(\hat{S}_{0} = N_{0} - I_{0}= 665\) and \(\hat{E}_{0} = \hat{R}_{0} = 0\). This is always a valid selection. Figures 5-7 show the evolution of the actual and observed populations when \(l = 0.5\) while Figure 8 depicts the convergence of the observation errors to zero.
Figure 5

Evolution of the actual and observed susceptible.

Figure 6

Evolution of the actual and observed exposed cases.

Figure 7

Evolution of the actual and observed immune cases.

Figure 8

Dynamics of the observation errors.

It can be noticed in Figures 5-8 that the actual states are observed and the estimation errors vanish asymptotically. Now, we may analyze the effect of varying the observer gain l into the dynamics of the observation. Thus, l will be changed from \(l = -0.2\) to \(l = 1\). Figure 9 depicts the behavior of the observer for the susceptible when the gain is varied from \(l = -0.2\) to \(l = 1\), while Figure 10 displays the observation error. Also, Figures 11 and 12 show the observation error for the remaining variables. As can be deduced, the larger the observer gain is the faster the estimation of the state variables is. Hence, the most advisable tuning for the observer gain is the largest constant l satisfying the stability constraint (46).
Figure 9

Behavior of the observer in S .

Figure 10

Observation error in S .

Figure 11

Observation error in E .

Figure 12

Observation error in R .

7 Conclusions

In this paper a discrete-time SEIR model has been obtained from a continuous-time one by using Micken’s discretization method. Afterwards, the well-posedness of the model along with the existence and stability of the equilibrium points have been studied. Moreover, an implicit method has been used to analyze these properties instead of the explicit one used in previous works. It has been shown that this method preserves all the structural properties exhibited by the continuous-time model such as the expression of the reproduction number and the stability properties of the equilibrium points. In addition, the design of a state observer has been introduced for a discrete-time SEIR epidemic model. The observer was designed in an implicit way since the derivation of its stability properties as well as the design process itself are easier than when proceeding with an explicit model of the system. Moreover, some sufficient conditions to ensure the asymptotic stability of the observer have been provided in terms of a matrix inequality that can be cast in the form of a LMI. The feasibility of these conditions has been proved while some simulation examples showed the operation and usefulness of the observer. The observer is shown to be capable of estimating the actual state variables, while all the observation errors are converging to zero.


Note that this implies that the total population is constant, \(N_{k} = N = N_{0}\).


The inverse of matrix \(\mathcal{D}\) exists due to (9) and the constraint \(1 + (\mu- \nu)h > 0\).




This work was partially supported by the Spanish Ministry of Economy and Competitiveness through grants DPI2012-30651 and DPI2013-47825-C3-1-R, by the Basque Government (Gobierno Vasco) through grant IE378-10 and by the University of the Basque Country through grant UFI 11/07.

Open Access This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited.

Authors’ Affiliations

Departamento de Telecomunicació i Enginyeria de Sistemes, School of Engineering, Universitat Autònoma de Barcelona
Department of Electricity and Electronics, Faculty of Science and Technology, University of the Basque Country
Young Researchers and Elite Club, Yasooj Branch, Islamic Azad University


  1. Keeling, MJ, Rohani, P: Modeling Infectious Diseases in Humans and Animals. Princeton University Press, Princeton (2008) MATHGoogle Scholar
  2. Zhou, X, Cui, J: Analysis of stability and bifurcation for a SEIR epidemic model with saturated recovery rate. Commun. Nonlinear Sci. Numer. Simul. 16(11), 4438-4450 (2011) View ArticleMATHMathSciNetGoogle Scholar
  3. Zhou, X, Cui, J: Stability and Hopf bifurcation analysis of an eco-epidemiological model with delay. J. Franklin Inst. 347(9), 1654-1680 (2010) View ArticleMATHMathSciNetGoogle Scholar
  4. Atangana, A, Bildik, N: Approximate solution of tuberculosis disease population dynamics model. Abstr. Appl. Anal. 2013, Article ID 759801 (2013) MathSciNetGoogle Scholar
  5. Khan, Y, Vazquez-Leal, H, Wu, Q: An efficient iterated method for mathematical biology model. Neural Comput. Appl. 23(3-4), 677-682 (2013) View ArticleGoogle Scholar
  6. Rihan, FA, Baleanu, D, Lakshmanan, S, Rakkiyappan, R: On fractional SIRC model with salmonella bacterial infection. Abstr. Appl. Anal. 2014, Article ID 136263 (2014) View ArticleMathSciNetGoogle Scholar
  7. de la Sen, M, Agarwal, RP, Ibeas, A, Alonso-Quesada, S: On the existence of equilibrium points, boundedness, oscillating behavior and positivity of a SVEIRS epidemic model under constant and impulsive vaccination. Adv. Differ. Equ. 2011, Article ID 748608 (2011). doi: MathSciNetMATHGoogle Scholar
  8. Mukhopadhyay, B, Bhattacharyya, R: Existence of epidemic waves in a disease transmission model with two-habitat population. Int. J. Syst. Sci. 38(9), 699-707 (2007) View ArticleMATHMathSciNetGoogle Scholar
  9. Zhou, K, Wang, Q-R: Existence of traveling waves for a delayed SIRS epidemic diffusion model with saturation incidence rate. Abstr. Appl. Anal. 2014, Article ID 369072 (2014) MathSciNetGoogle Scholar
  10. Gan, Q, Xu, R, Li, Y, Hu, R: Travelling waves in an infectious disease model with a fixed latent period and a spatio-temporal delay. Math. Comput. Model. 53(5-6), 814-823 (2011) View ArticleMATHMathSciNetGoogle Scholar
  11. Li, J, Xiao, Y, Zhang, F, Yang, Y: An algebraic approach to proving the global stability of a class of epidemic models. Nonlinear Anal., Real World Appl. 13(5), 2006-2016 (2012) View ArticleMATHMathSciNetGoogle Scholar
  12. Bowong, S, Tewa, JJ: Global analysis of a dynamical model for transmission of tuberculosis with a general contact rate. Commun. Nonlinear Sci. Numer. Simul. 15(11), 3621-3631 (2010) View ArticleMATHMathSciNetGoogle Scholar
  13. Fan, X: Global stability of multigroup SIRS epidemic model with varying population sizes and stochastic perturbation around equilibrium. Abstr. Appl. Anal. 2014, Article ID 154725 (2014) MathSciNetGoogle Scholar
  14. Chen, H, Sun, J: Global stability of delay multigroup epidemic models with group mixing and nonlinear incidence rates. Appl. Math. Comput. 218(8), 4391-4400 (2011) View ArticleMATHMathSciNetGoogle Scholar
  15. Tian, JP, Wang, J: Global stability for cholera epidemic models. Math. Biosci. 232(1), 31-41 (2011) View ArticleMATHMathSciNetGoogle Scholar
  16. Shu, H, Fan, D, Wei, J: Global stability of multi-group SEIR epidemic models with distributed delays and nonlinear transmission. Nonlinear Anal., Real World Appl. 13(4), 1581-1592 (2012) View ArticleMATHMathSciNetGoogle Scholar
  17. Canto, B, Coll, C, Sanchez, E: A study on vaccination models for a seasonal epidemic process. Appl. Math. Comput. 243, 152-160 (2014) View ArticleMathSciNetGoogle Scholar
  18. Arenas, AJ, Gonzalez-Parra, G, Chen-Charpentier, BM: A nonstandard numerical scheme of predictor-corrector type for epidemic models. Comput. Math. Appl. 59, 3740-3749 (2010) View ArticleMATHMathSciNetGoogle Scholar
  19. Jodar, L, Villanueva, RJ, Arenas, AJ, Gonzalez, GC: Nonstandard numerical methods for a mathematical model for influenza disease. Math. Comput. Simul. 79, 622-633 (2008) View ArticleMATHMathSciNetGoogle Scholar
  20. Izzo, G, Muroya, Y, Vecchio, A: A general discrete-time model of population dynamics in the presence of an infection. Discrete Dyn. Nat. Soc. 2009, Article ID 143019 (2009) View ArticleMathSciNetMATHGoogle Scholar
  21. Micken, RE: Numerical integration of population models satisfying conservation laws: NSFD methods. Journal of Biological Dynamics 1(4), 427-436 (2007) View ArticleMathSciNetMATHGoogle Scholar
  22. Hu, Z, Teng, Z, Jiang, H: Stability analysis in a class of discrete SIRS epidemic models. Nonlinear Anal., Real World Appl. 13(5), 2017-2033 (2012) View ArticleMATHMathSciNetGoogle Scholar
  23. de la Sen, M, Ibeas, A, Alonso-Quesada, S: On vaccination controls for the SEIR epidemic model. Commun. Nonlinear Sci. Numer. Simul. 17(6), 2637-2658 (2012) View ArticleMATHMathSciNetGoogle Scholar
  24. de la Sen, M, Ibeas, A, Alonso-Quesada, S: Feedback linearization based vaccination control strategies for true-mass action type SEIR epidemic models. Nonlinear Anal., Model. Control 16(3), 283-314 (2011) MATHMathSciNetGoogle Scholar
  25. de la Sen, M, Alonso-Quesada, S: Vaccination strategies based on feedback control techniques for a general SEIR-epidemic model. Appl. Math. Comput. 218, 3888-3904 (2011) View ArticleMATHMathSciNetGoogle Scholar
  26. Yi, N, Zhang, Q, Mao, K, Yang, D, Li, Q: Analysis and control of an SEIR epidemic system with nonlinear transmission rate. Math. Comput. Model. 50(9-10), 1498-1513 (2009) View ArticleMATHMathSciNetGoogle Scholar
  27. de la Sen, M, Ibeas, A, Alonso-Quesada, S: Observer-based vaccination strategy for a true mass action SEIR epidemic model with potential estimation of all the populations. Discrete Dyn. Nat. Soc. 2011, Article ID 743067 (2011) MathSciNetMATHGoogle Scholar
  28. Alonso-Quesada, S, de la Sen, M, Agarwal, RP, Ibeas, A: An observer-based vaccination control law for an SEIR epidemic model based on feedback linearization techniques for nonlinear systems. Adv. Differ. Equ. 2012, Article ID 161 (2012) View ArticleMathSciNetGoogle Scholar
  29. Huang, S-Z: A new SEIR epidemic model with applications to the theory of eradication and control of diseases, and to the calculation of \(R_{0}\). Math. Biosci. 215, 84-104 (2008) View ArticleMATHMathSciNetGoogle Scholar
  30. Ibeas, A, de la Sen, M, Alonso-Quesada, S: Robust sliding control of SEIR epidemic models. Math. Probl. Eng. 2014, Article ID 104764 (2014) View ArticleMathSciNetGoogle Scholar
  31. Banerjee, S, Jana, AK: High gain observer based extended generic model control with application to a reactive distillation column. J. Process Control 24(4), 235-248 (2014) View ArticleGoogle Scholar
  32. Zong, Q, Wang, J, Tian, B, Tao, Y: Quasi-continuous high-order sliding mode controller and observer design for flexible hypersonic vehicle. Aerosp. Sci. Technol. 27(1), 127-137 (2013) View ArticleGoogle Scholar
  33. Mahmud, MA, Hossain, MJ, Pota, HR: Transient stability enhancement of multimachine power systems using nonlinear observer-based excitation controller. Int. J. Electr. Power Energy Syst. 58, 57-63 (2014) View ArticleGoogle Scholar
  34. Ibeas, A, de la Sen, M, Alonso-Quesada, S: Adaptive control of discrete-time SEIR epidemic models. In: ICNPAA Congress: Mathematical Problems in Engineering, Aerospace and Sciences, Narvik, Norway, 15-18 July (2014) Google Scholar
  35. Ibeas, A, de la Sen, M, Alonso-Quesada, S, Zamani, I, Safiee, M: Observer design for SEIR discrete-time epidemic models. In: The 13th International Conference on Control, Automation, Robotics and Vision (ICARCV 2014), Singapore, 10-12 December, pp. 10-12 (2014) Google Scholar
  36. Cheng, Y, Yang, X: On the global stability of SEIRS models in epidemiology. Can. Appl. Math. Q. 20, 115-133 (2012) MathSciNetMATHGoogle Scholar
  37. Canto, B, Coll, C, Sanchez, E: Positive solutions of a discrete-time descriptor system. Int. J. Syst. Sci. 39(1), 81-88 (2008) View ArticleMATHMathSciNetGoogle Scholar
  38. de la Sen, M, Alonso-Quesada, S: A simple vaccination control strategy for the SEIR epidemic model. In: Proceedings of the 5th IEEE International Conference on Management of Innovation and Technology, pp. 1037-1044 (2010) Google Scholar


© Ibeas et al.; licensee Springer. 2015