1 Introduction

Since the principles to the mathematical model of epidemics, as the susceptible–infected–susceptible (SIS) model and the susceptible–infected–removed (SIR) model, were presented in [1, 2], the mathematical investigation of disease transmission has developed quickly. As is well known, many epidemic diseases such as HIV/AIDS [3], H1N1 [4], H5N1 [5] and SARS [6], are harmful to individual health and to the stability of our society. It is an increasingly urgent issue to control the prevalence of epidemic diseases. Mathematical epidemiology, which describes the prevalence of epidemic diseases by building and analyzing mathematical models, has been one of the major areas of biology. In recent years, mathematical models have become one of the important tools in the investigation of the prevalence and control of epidemic diseases since the pioneering work of Kermack and Mckendrick [7, 8]. For example, the SIRS (Susceptible–Infectious–Recovered–Susceptible) epidemic model [912], the SEIS (Susceptible–Exposed–Infectious–Susceptible) epidemic model [1316], SEIR (Susceptible–Exposed–Infectious–Recovered) epidemic model [1720], the SEIRS (Susceptible–Exposed–Infectious–Recovered–Susceptible) epidemic model [2125] and epidemic models with vaccination [2628].

In real world, some people can be quarantined once they are found to have been infected with epidemic diseases in the exposed state or the infectious state. Based on this consideration, recently, Chen et al. [29] proposed the following epidemic model with quarantine:

$$ \textstyle\begin{cases} \frac{dS(t)}{dt} = A-\beta S(t)I(t)-\mu S(t)+c I(t), \\ \frac{dE(t)}{dt} = \beta S(t)I(t)-(\mu+\varepsilon+\sigma_{1}+\gamma _{1})E(t), \\ \frac{dI(t)}{dt} = \varepsilon E(t)-(\mu+\alpha+c+\sigma_{2}+\gamma _{2})I(t), \\ \frac{dQ(t)}{dt} = \sigma_{1}E(t)+\sigma_{2}I(t)-(\mu+\alpha+\gamma_{3})Q(t), \end{cases} $$
(1)

where \(S(t)\), \(E(t)\), \(I(t)\) and \(Q(t)\) are the numbers of the susceptible, the exposed, the infected and the quarantined individuals at time t, respectively. The meanings of the parameters are listed in Table 1.

Table 1 Parameters and their meanings in this paper

With this model they [29] investigated the local and the global stability of system (1), and they also estimated the domain of attraction of system (1).

As stated in [30], most infectious diseases evolve by infection, and then there appear some symptoms needing a period of time (namely the incubation period). Therefore, if an epidemic model considers time delay, then it is more consistent with the actual situation [11, 12, 14, 22, 23]. Compared with ordinary differential equations, delay differential equations exhibit more complicated dynamics, such as the loss of stability, oscillations and periodic solutions. Recently, there appeared some work about epidemic models with time delay. In [31], Bai and Wu studied the traveling waves of a delayed SIR epidemic model with nonlinear incidence. In [32], Liu et al. investigated the asymptotic properties of a stochastic delayed SIR epidemic model with temporary immunity. Liu et al. [33, 34] analyzed the Hopf bifurcation of different SIRS epidemic model with time delay. Liu et al. [35] studied the global attractiveness and persistence of a delayed SIRS epidemic model on a scale-free network. Liu and Wang [36] investigated the Hopf bifurcation of an SIRS epidemic model with delays and stage structure. Sharma et al. [37, 38] analyzed the impact of time delay on the dynamics of different SEIR epidemic model. Jiang et al. [39] considered an SEIRS system with two delays and the general nonlinear incidence rate and dealt with the global Hopf bifurcation and permanence of the model. Liu and Wang [40] studied the Hopf bifurcation of an SIQR epidemic model with two delays and a nonlinear incidence rate. Obviously, most of the epidemic models with time delay above neglect the effect of quarantine. Based on this consideration and motivated by the work above, we incorporate the latent delay into system (1) and study the following delayed system:

$$ \textstyle\begin{cases} \frac{dS(t)}{dt} = A-\beta S(t)I(t)-\mu S(t)+c I(t), \\ \frac{dE(t)}{dt} = \beta S(t)I(t)-(\mu+\sigma_{1}+\gamma _{1})E(t)-\varepsilon E(t-\tau), \\ \frac{dI(t)}{dt} = \varepsilon E(t-\tau)-(\mu+\alpha+c+\sigma _{2}+\gamma_{2})I(t), \\ \frac{dQ(t)}{dt} = \sigma_{1}E(t)+\sigma_{2}I(t)-(\mu+\alpha+\gamma_{3})Q(t), \end{cases} $$
(2)

subject to the initial conditions

$$ \begin{aligned} &S(\theta) = \phi_{1}(\theta)>0, \\ &E(\theta) = \phi_{2}(\theta)>0, \\ &I(\theta) = \phi_{3}(\theta)>0, \\ &Q(\theta) = \phi_{4}(\theta)>0,\quad \theta\in[-\tau, 0), \phi_{i}(0)>0, i=1, 2, 3, 4, \end{aligned} $$
(3)

where the meanings of the parameters are given in Table 1 and they are assumed to be positive and τ is the latent delay of the disease.

The organization of the paper is as follows. In the next section, it is shown that the solution of (2) is positive and bounded in a feasible region , which is invariant. Also, the persistence of the proposed model and some sufficient conditions associated with extinction of infective population are discussed. In Sect. 3, the condition for local asymptotical stability is examined by constructing a suitable Lyapunov functional. By taking the latent delay τ as the bifurcation parameter, the conditions for the occurrence of Hopf bifurcation are derived in Sect. 4. Further, the direction of Hopf bifurcation and the stability of the periodic solution are examined in Sect. 5. Some numerical results are carried out for our expository results in Sect. 6. Finally, the paper ends with the conclusion of the work.

2 The boundedness, persistence and extinction of infected population

2.1 The boundedness

In this section we shall discuss about the positivity and boundedness of solution of system (2).

For this purpose, we assume the function V to be

$$ V(t)=S(t)+E(t)+I(t)+Q(t). $$
(4)

Taking the derivative of (4) and using (2) we get

$$ \dot{V}(t)=A-\mu S(t)-(\mu+\gamma_{1})E(t)-(\mu+\alpha+ \gamma _{2})I(t)-(\mu+\alpha+\gamma_{3})Q(t), $$
(5)

where \(S(t)>0\) and \(E(t), I(t), Q(t)\geq0\).

If \(E(t)=0\), \(I(t)=0\) and \(Q(t)=0\) from (5) we get

$$ \lim_{t\to\infty}\sup V(t)\leq\frac{A}{\mu}. $$
(6)

Also, if \(V(t)>\frac{A}{\mu}\) then \(\dot{V}(t)<0\). Therefore, we get \(0< V\leq\frac{A}{\mu}\), i.e., we get a feasible region :

$$\bar{R}=\biggl\{ \bigl(S(t), E(t), I(t), Q(t)\bigr)\in R^{4} : 0< S(t)+E(t)+I(t)+Q(t)\leq \frac{A}{\mu}\biggr\} . $$

Thus we see that the solution of system (2) is bounded and independent of the initial condition. So the feasible region is an invariant set. Also, as \(A>0\), \(\mu>0\), \(\frac{A}{\mu}>0\), i.e., the feasible region is positive.

Hence all solutions of (2) will enter the field and will remain in .

2.2 The persistence and extinction of infection species

In this section, we will consider the ultimate state of infection, that is, the disease will be either persistent or extinct ultimately.

Since the variable Q does not appear explicitly in the first three equations in system (2), we need only to consider the dynamics of a subsystem consisting of the first three equations in system (2). We have

$$ \begin{aligned} &\frac{dS(t)}{dt} = A-\beta S(t)I(t)-\mu S(t)+c I(t), \\ &\frac{dE(t)}{dt} = \beta S(t)I(t)-(\mu+\sigma_{1}+\gamma _{1})E(t)-\varepsilon E(t-\tau), \\ &\frac{dI(t)}{dt} = \varepsilon E(t-\tau)-(\mu+\alpha+c+\sigma _{2}+ \gamma_{2})I(t), \end{aligned} $$
(7)

From the first equation in system (7), we have \(\frac {ds}{dt}\leq\mu(\frac{A}{\mu}-S)\); it implies that \(\lim_{t\rightarrow\infty}\sup S(t)\leq\frac{A}{\mu}\); therefore, the set \(\omega=\{(S, E,I)\in R^{3}_{+} :S\leq\frac{A}{\mu}\}\) is positively invariant under system (7). Thus, we only consider the dynamical behavior of system (7) on the set ω.

When \(R_{0}<1\), define the function

$$ V_{1}=\rho E+I, $$
(8)

where \(\rho\in(\frac{1}{\varepsilon}, \frac{\mu+\alpha+c+\sigma _{2}+\gamma_{2}}{\beta(A/\mu)})\), then the derivative of \(V_{1}\) with respect to t along the solution of (7) on the set ω is given by

$$ \frac{dV_{1}}{dt}=-\rho(\mu+\sigma_{1}+ \gamma_{1})E(t)+(1-\rho \varepsilon)E(t-\tau)+\biggl\{ \rho\beta \frac{A}{\mu}-(\mu+\alpha +c+\sigma_{2}+\gamma_{2})\biggr\} I(t). $$
(9)

Thus,

$$ \frac{dV_{1}}{dt} \leq(1-\rho\varepsilon)E(t-\tau)+\biggl\{ \rho \beta \frac{A}{\mu}-(\mu+\alpha+c+\sigma_{2}+\gamma_{2}) \biggr\} I(t). $$
(10)

As \(\rho\in(\frac{1}{\varepsilon}, \frac{\mu+\alpha+c+\sigma _{2}+\gamma_{2}}{\beta(A/\mu)})\), we have \(1-\rho\varepsilon<0\), and \(\rho\beta\frac{A}{\mu}-(\mu+\alpha+c+\sigma_{2}+\gamma_{2})<0\). Therefore we consider a positive number σ, such that, \(1-\rho \varepsilon<\sigma\rho(R_{0}-1)\) and \(1-\rho\varepsilon<0\), and \(\rho\beta\frac{A}{\mu}-(\mu+\alpha+c+\sigma_{2}+\gamma_{2})<\sigma (R_{0}-1)\). Thus from (10) we can write

$$ V_{1}(t)\leq V_{1}(0)\exp\bigl[ \sigma(R_{0}-1)t\bigr], $$
(11)

where \(V_{1}(0)=\rho E(0)+I(0)\), therefore for \(R_{0}<1\) we have

$$\lim_{t\rightarrow\infty} V_{1}(t)=0, \quad\mbox{i.e.},\quad \lim _{t\rightarrow \infty} E(t)=0=\lim_{t\rightarrow\infty} I(t). $$

This shows that the disease will extinct if \(R_{0}<1\).

In order to discuss the persistence of the disease, we first introduce some definitions; then we follow the steps in [41].

Assume that X is a locally compact metric space with metric d, and let F be a closed subset of X with boundary δF and interior intF. Let π be a semidynamical system defined on F. We say that π is persistent if, for all \(u\in \operatorname{int} F\), \(\lim_{t\rightarrow+\infty} \inf d(\pi(u, t), \delta F)>0\), and we say that π is uniformly persistent if there is \(\xi>0\) such that, for all \(u\in \operatorname{int} F\), \(\lim_{t\rightarrow+\infty} \inf d(\pi(u, t), \delta F)>\xi\).

In [41], Fonda gives a result about persistence in terms of repellers. A subset Σ of F is said to be a uniform repeller if there is an \(\eta>0\) such that, for each \(u\in F \setminus \Sigma\), \(\lim_{t\rightarrow+\infty} \inf d(\pi(u, t), \Sigma)>\eta\). A semiflow on a closed subset F of a locally compact metric space is uniformly persistent if the boundary of F is repelling in a suitable strong sense.

Lemma 1

Let Σ be a compact subset of X such that \(X\setminus \Sigma \) is positively invariant. A necessary and sufficient condition for Σ to be a uniform repeller is that there exist a neighborhood U of Σ and a continuous function \(P:X \rightarrow R_{+}\) satisfying

  1. (1)

    \(P(u)=0\) if and only if \(u\in\Sigma\),

  2. (2)

    for all \(u \in\mathbf{U} \setminus \Sigma\) there is a \(T_{u}>0\) such that \(P(\pi(u, T_{u}))>P(u)\).

For any \(u_{0}=(S_{0}, E_{0}, I_{0}) \in\omega\), there is a unique solution \(\pi(u_{0}, t)=(S, E, I)(t; u_{0})\) of system (7), which is defined in \(R_{+}\) and satisfies \(\pi(u_{0}, 0)=(S_{0}, E_{0}, I_{0})\). Since ω is a positively invariant set of system (7), then \(\pi(u_{0}, t)\in\omega\) for \(t\in R_{+}\) and it is a semidynamical system in ω. Here, we will prove that, when \(R_{0}>1\), \(\Sigma=\{(S, E, I)\in \Sigma: I=0\}\) is a uniform repeller, which implies that the semidynamical system π is uniformly persistent. Obviously, \(I(t)>0\) for \(t>0\) if \(I(0)>0\), then \(\omega \setminus \Sigma\) is invariant to (7). Again the set Σ is a compact subset of ω.

Let \(P:\omega\rightarrow R_{+}\) be defined by \(P(S, E, I)=I\), and let \(\mathbf{U}=\{(S, E, I)\in\omega: P(S, E, I)<\zeta_{1}\}\), where \(\zeta _{1}>0\) is small enough so that

$$\begin{aligned}& \biggl\{ A-\frac{\mu(\mu+\sigma_{1}+\gamma_{1}+\varepsilon)(\mu+\alpha +c+\sigma_{2}+\gamma_{2})}{\beta\varepsilon}\biggr\} \\& \quad{}-\biggl\{ \frac{(\mu+\sigma _{1}+\gamma_{1}+\varepsilon)(\mu+\alpha+c+\sigma_{2}+\gamma _{2})}{\varepsilon}-c\biggr\} \zeta_{1}>0. \end{aligned}$$
(12)

Since \(R_{0}>1\), the positive number \(\zeta_{1}\) is sufficiently small to satisfy the inequality (12).

Assume that there is \(\bar{u}\in\mathbf{U}\) (\(\bar{u}=(\bar{S}, \bar {E}, \bar{I})\)) such that for each \(t>0\) we have \(P(\pi(\bar{u}, t))< P(\bar{u})<\zeta_{1}\), which implies that \(I(t, \bar{u})<\zeta_{1}\) for \(t>0\). From the first equation of (7) we have

$$ \frac{dS}{dt}\geq A+c\zeta_{1}-(\mu+\beta \zeta_{1})S, $$
(13)

then

$$ \lim_{t\rightarrow\infty} \inf S(t, \bar{u})\geq \frac{A+c\zeta _{1}}{\mu+\beta\zeta_{1}}. $$
(14)

For sufficiently large number of \(T>0\) we have \(S(t, \bar{u})>\frac {A+c\zeta_{1}}{\mu+\beta\zeta_{1}}\) for \(t\geq T\).

Now we define another function \(V_{2}(t)=(1-\zeta_{2})E(t)+\frac{\mu +\sigma_{1}+\gamma_{1}+\varepsilon}{\beta}I(t)\), where \(\zeta_{2}\) (\(0<\zeta_{2}<1\)) is a sufficiently small constant so that

$$\begin{aligned}& \biggl\{ A-\frac{\mu(1-\zeta_{2}) (\mu+\sigma_{1}+\gamma_{1}+\varepsilon)(\mu +\alpha+c+\sigma_{2}+\gamma_{2})}{\beta\varepsilon}\biggr\} \\& \quad>\biggl\{ \frac{(\mu +\sigma_{1}+\gamma_{1}+\varepsilon)(\mu+\alpha+c+\sigma_{2}+\gamma _{2})}{\varepsilon}-c\biggr\} \zeta_{1}. \end{aligned}$$
(15)

Now we differentiate \(V_{2}(t)\) along with \(\pi(\bar{u}, t)\) as follows:

$$\begin{aligned}& \frac{dV_{2}}{dt}\geq\frac{\zeta_{2} (\mu+\sigma_{1}+\gamma_{1})}{\beta }E(t)+\biggl\{ A-\frac{\mu(1-\zeta_{2}) (\mu+\sigma_{1}+\gamma_{1}+\varepsilon )(\mu+\alpha+c+\sigma_{2}+\gamma_{2})}{\beta\varepsilon} \\& \hphantom{\frac{dV_{2}}{dt}\geq{}}{}-\biggl(\frac{(\mu+\sigma_{1}+\gamma _{1}+\varepsilon)(\mu+\alpha+c+\sigma _{2}+\gamma_{2})}{\varepsilon}-c\biggr)\zeta_{1}\biggr\} I(t), \end{aligned}$$
(16)
$$\begin{aligned}& \frac{dV_{2}}{dt}>\kappa V_{2}, \end{aligned}$$
(17)

where

$$\begin{aligned} \kappa =&\min\biggl\{ \frac{\zeta_{2} (\mu+\sigma_{1}+\gamma_{1})}{\beta (1-\zeta_{2})}, \\ &\frac{\beta}{\mu+\sigma_{1}+\gamma_{1}}\biggl[A-\frac{\mu (1-\zeta_{2}) (\mu+\sigma_{1}+\gamma_{1}+\varepsilon)(\mu+\alpha +c+\sigma_{2}+\gamma_{2})}{\beta\varepsilon} \\ &{}-\biggl(\frac{(\mu+\sigma _{1}+\gamma_{1}+\varepsilon)(\mu+\alpha+c+\sigma_{2}+\gamma _{2})}{\varepsilon}-c\biggr)\zeta_{1}\biggr]\biggr\} >0. \end{aligned}$$

Thus we see that

$$ \lim_{t \rightarrow\infty} V_{2}(t)=+\infty. $$
(18)

Therefore, this proof shows that, for each \(u\in\omega \setminus \Sigma \) with u belonging to a suitable small neighborhood of Σ, there is some \(T_{u}\) such that \(P(\pi(u, T_{u}))>P(u)\). Therefore, it follows from Lemma 1 that \(\Sigma=\{(S, E, I)\in\Sigma: I=0\}\) is a uniform repeller when \(R_{0}>1\), i.e., the infection is uniformly persistent. So we conclude that system (7) will be persistent for \(R_{0}>1\) and infection will be extinct when \(R_{0}<1\).

3 Stability analysis

Based on the analysis in [29], we know that if \(R_{0}>1\), then system (2) has a unique endemic equilibrium \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\), where

$$\begin{aligned}& S^{*} = \frac{A}{\mu R_{0}}, I^{*}=\frac{\varepsilon E^{*}}{\mu+\alpha +c+\sigma_{2}+\gamma_{2}}, \\& E^{*} = \frac{A(R_{0}-1)(\mu+\alpha+c+\sigma_{2}+\gamma_{2})}{R_{0}[(\mu +\sigma_{1}+\gamma_{1})(\mu+\alpha+c+\sigma_{2}+\gamma_{2})+\varepsilon (\mu+\alpha+\sigma_{2}+\gamma_{2})]}, \\& Q^{*} = \frac{(\mu+\alpha+c+\sigma_{2}+\gamma_{2})\sigma_{1}+\varepsilon \sigma_{2}}{(\mu+\alpha+\gamma_{3})(\mu+\alpha+c+\sigma_{2}+\gamma _{2})}E^{*}, \\& R_{0} = \frac{A\beta\varepsilon}{\mu(\mu+\varepsilon+\sigma _{1}+\gamma_{1})(\mu+\alpha+c+\sigma_{2}+\gamma_{2})}. \end{aligned}$$

In this section the linear stability of system (2) is discussed by constructing a suitable Lyapunov functional given in (20). For this purpose, let \(u_{1}(t)=S(t)-S^{*}\), \(u_{2}(t)=E(t)-E^{*}\), \(u_{3}(t)=I(t)-I^{*}\), \(u_{4}(t)=Q(t)-Q^{*}\) then system (2) transforms into

$$ \textstyle\begin{cases} \frac{du_{1}(t)}{dt} = (-\beta I^{*}-\mu)u_{1}+(c-\beta S^{*})u_{3}, \\ \frac{dB_{1}(t)}{dt} = \beta I^{*} u_{1}-(\mu+\sigma_{1}+\gamma _{1}+\varepsilon)u_{2}+\beta S^{*}u_{3}, \\ \frac{dB_{2}(t)}{dt} = \varepsilon u_{2}-(\mu+\alpha+c+\sigma_{2}+\gamma _{2})u_{3}, \\ \frac{du_{4}}{dt} = \sigma_{1} u_{2}+\sigma_{2} u_{3}-(\mu+\alpha+\gamma_{3})u_{4}, \end{cases} $$
(19)

where \(B_{1}(t)=u_{2}-\varepsilon\int_{t-\tau}^{t} u_{2}(s) \,ds\) and \(B_{2}(t)=u_{3}+\varepsilon\int_{t-\tau}^{t} u_{2}(s) \,ds\).

Now following the steps in [42, 43], we shall check the stability of the system by assuming a suitable Lyapunov function \(w(v)(t)\) as follows:

$$\begin{aligned} w(u) (t) =&k_{1} w_{1} (u) (t)+k_{2} w_{2} (u) (t)+k_{3} w_{3} (u) (t)+k_{4} w_{4} (u) (t)+k_{5} w_{5} (u) (t) \\ &{}+k_{6} w_{6} (u) (t)+k_{7} w_{7} (u) (t)+k_{8} w_{8} (u) (t)+k_{9} w_{9} (u) (t)+k_{10} w_{10} (u) (t), \end{aligned}$$
(20)

where \(k_{1}\), \(k_{2}\), \(k_{3}\), \(k_{4}\), \(k_{5}\), \(k_{6}\), \(k_{7}\), \(k_{8}\), \(k_{9}\), \(k_{10}\) are given in the Appendix and

$$\begin{aligned}& w_{1} (u) (t)=u_{1}^{2}(t) , \\& w_{2} (u) (t)=B_{1}^{2}(t)+\varepsilon\bigl(\mu+ \sigma_{1}+\gamma _{1}+\varepsilon-\beta I^{*}-\beta S^{*}\bigr) \int_{t-\tau}^{t} \int _{s}^{t}u_{2}^{2}(l)\,dl \,ds , \\& w_{3} (u) (t)=B_{2}^{2}(t)+\bigl\{ \varepsilon^{2}-\varepsilon(\mu+\alpha +c+\sigma_{2}+ \gamma_{2})\bigr\} \int_{t-\tau}^{t} \int_{s}^{t}u_{2}^{2}(l)\,dl \,ds , \\& w_{4} (u) (t)=u_{4}^{2}(t) , \\& w_{5} (u) (t)=u_{1}(t) B_{1}(t)+ \frac{\beta I^{*}\varepsilon+\mu \varepsilon-c\varepsilon+\beta S^{*} \varepsilon}{2} \int_{t-\tau }^{t} \int_{s}^{t}u_{2}^{2}(l)\,dl \,ds , \\& w_{6} (u) (t)=u_{1}(t) B_{2}(t)+\frac{c\varepsilon-\beta S^{*}\varepsilon -\beta I^{*}\varepsilon-\mu\varepsilon}{2} \int_{t-\tau}^{t} \int _{s}^{t}u_{2}^{2}(l)\,dl \,ds , \\& w_{7} (u) (t)=u_{1}(t) u_{4}(t) , \\& w_{8} (u) (t)=B_{1}(t) B_{2}(t)+\frac{\beta I^{*} \varepsilon-\sigma_{1} \varepsilon-\gamma_{1} \varepsilon-2\varepsilon^{2}+\beta S^{*} \varepsilon+\alpha\varepsilon+c\varepsilon+\sigma_{2} \varepsilon +\gamma_{2} \varepsilon}{2} \\& \hphantom{w_{8} (u) (t)={}}{}\times\int_{t-\tau}^{t} \int_{s}^{t}u_{2}^{2}(l)\,dl \,ds , \\& w_{9} (u) (t)=B_{1}(t) u_{4}(t)+ \frac{\mu\varepsilon+\alpha\varepsilon +\gamma_{3} \varepsilon-\sigma_{1} \varepsilon-\sigma_{2} \varepsilon }{2} \int_{t-\tau}^{t} \int_{s}^{t}u_{2}^{2}(l)\,dl \,ds , \\& w_{10} (u) (t)=B_{2}(t) u_{4}+\frac{\sigma_{1} \varepsilon+\sigma_{2} \varepsilon-\mu\varepsilon-\alpha\varepsilon-\gamma_{3} \varepsilon }{2} \int_{t-\tau}^{t} \int_{s}^{t}u_{2}^{2}(l)\,dl \,ds . \end{aligned}$$

All the parameters are assumed to be positive and chosen in such a way that \(k_{1}>0\), \(k_{2}>0\), \(k_{3}>0\), \(k_{4}>0\), \(k_{5}>0\), \(k_{6}>0\), \(k_{7}>0\), \(k_{8}>0\), \(k_{9}>0\), \(k_{10}>0\) and \(w(u)(t)>0\). Taking the derivative of (20), and using (19) we get

$$ \frac{d}{dt}w(u) (t)\leq\Lambda_{1} u_{1}^{2}+\Lambda_{2} u_{2}^{2}+ \Lambda_{3} u_{3}^{2}+\Lambda_{4} u_{4}^{2}, $$
(21)

where the expressions for \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda _{4}\) are given in the Appendix.

Theorem 1

If the value of the delay τ satisfy the conditions \(\Lambda_{1} <0\), \(\Lambda_{2} <0\), \(\Lambda_{3} <0\), \(\Lambda_{4} <0\) then the interior equilibrium point \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\) of (2) is locally asymptotically stable (Fig1). Otherwise if any one of the \(\Lambda_{i}\) become positive then the system will be unstable (Fig2)

Figure 1
figure 1

τ versus \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda _{4}\) have been plotted, where all the \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda_{4}\) are negative for \(\tau\leq\tau_{0}=13.9858\)

Figure 2
figure 2

τ versus \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda _{4}\) have been plotted, where all the \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda_{4}\) are positive and \(\tau\geq\tau_{0}=13.9858\)

Proof

Let \(\Lambda=\max\{\Lambda_{1}, \Lambda_{2}, \Lambda_{3}, \Lambda_{4}\}\). Then, for \(t>T\), from (21) we get

$$w(u) (t)+\Lambda \int_{T}^{t} \bigl(u_{1}^{2}(s)+u_{2}^{2}(s)+u_{3}^{2}(s)+u_{4}^{2}(s) \bigr)\,ds\leq w(u) (T), $$

for \(t\geq T\), implies \(u_{1}^{2}+u_{2}^{2}+u_{3}^{2}+u_{4}^{2} \in L_{1}[T, \infty]\). It is easy to conclude from (19) and the boundedness of \(u(t)\) that \(u_{1}^{2}(t)+u_{2}^{2}(t)+u_{3}^{2}(t)+u_{4}^{2}(t)\) is uniformly continuous. Using Barbalat’s lemma [44], we can say that

$$ \lim_{t \rightarrow\infty} \bigl\{ u_{1}^{2}+u_{2}^{2}+u_{3}^{2}+u_{4}^{2} \bigr\} =0. $$
(22)

So the internal solution of (19) and the solutions of (2) are asymptotically stable, i.e., the positive equilibrium \(P^{*}\) of (2) is locally asymptotically stable. Hence, this completes the proof. □

Remark

As \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda_{4}\) depends on the delay τ and the local stability condition for \(P^{*}\) of system (2) is preserved for small τ satisfying \(\Lambda_{1}<0\), \(\Lambda_{2}<0\), \(\Lambda_{3}<0\), \(\Lambda_{4}<0\). For a set of parameters, \(\Lambda_{1}\), \(\Lambda_{2}\), \(\Lambda_{3}\), \(\Lambda_{4}\) have been plotted in Fig. 1, it shows that all the values of Λ are negative within an interval of τ, which implies the stability of the system. But, for increased values of the latent delay τ, all the values of Λ are positive (see Fig. 2), which shows that the system is unstable.

4 Linear stability and Hopf-bifurcation analysis

Here we shall discuss the condition for linear stability and then taking τ as bifurcation parameter the condition for Hopf bifurcation is discussed. The characteristic equation of system (2) is

$$ \lambda^{4}+m_{3}\lambda^{3}+m_{2} \lambda^{2}+m_{1}\lambda+m_{0}+\bigl(n_{3} \lambda ^{3}+n_{2}\lambda^{2}+n_{1} \lambda+n_{0}\bigr)e^{-\lambda\tau}=0, $$
(23)

where

$$\begin{aligned}& m_{0} = a_{1}a_{4}a_{6}a_{9}, \\& m_{1} = -\bigl[a_{1}a_{4}a_{6}+a_{9}(a_{1}a_{4}+a_{1}a_{6}+a_{4}a_{6}) \bigr], \\& m_{2} = a_{1}a_{4}+a_{1}a_{6}+a_{4}a_{6}+a_{9}(a_{1}+a_{4}+a_{6}), \\& m_{3} = -(a_{1}+a_{4}+a_{6}+a_{9}), \\& n_{0} = a_{1}a_{9}(a_{6}b_{1}-a_{5}b_{2})+a_{2}a_{3}a_{9}b_{2}, \\& n_{1} = a_{5}b_{2}(a_{1}+a_{9})-a_{2}a_{3}b_{2}-b_{1}(a_{1}a_{6}+a_{1}a_{9}+a_{6}a_{9}), \\& n_{2} = b_{1}(a_{1}+a_{6}+a_{9})-a_{5}b_{2}, \qquad n_{3}=-b_{1}, \end{aligned}$$

and

$$\begin{aligned}& a_{1} = -\bigl(\beta I^{*}+\mu\bigr),\qquad a_{2}=c-\beta S^{*}, \qquad a_{3}=\beta I^{*}, \\& a_{4} = -(\mu+\sigma_{1}+\gamma_{1}),\qquad a_{5}=\beta S^{*}, \\& a_{6} = -(\mu+\alpha+c+\sigma_{2}+\gamma_{2}), \\& a_{7} = \sigma_{1},\qquad a_{8}= \sigma_{2}, a_{9}=-(\mu+\alpha+\gamma_{3}),\qquad b_{1}=-\varepsilon,\qquad b_{2}=\varepsilon. \end{aligned}$$

Theorem 2

For system (2), if \(R_{0}>1\) and the conditions (H1)(H2) hold, then the endemic equilibrium \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\) is locally asymptotically stable when \(\tau\in[0, \tau_{0})\); system (2) undergoes a Hopf bifurcation at the endemic equilibrium \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\) when \(\tau=\tau_{0}\) and a family of periodic solutions bifurcate from the endemic equilibrium \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\). The conditions (H1) and (H2) are described in the following.

Proof

The proof proceeds by using some lemmas.

Lemma 2

([29])

When \(R_{0}>1\), the unique endemic equilibrium \(P^{*}(S^{*}, E^{*}, I^{*}, R^{*})\) is locally asymptotically stable when \(\tau=0\) for system (2).

For \(\tau>0\), let \(\lambda=i\omega\) (\(\omega>0\)) be the root of Eq. (23), then

$$ \textstyle\begin{cases} (n_{1}\omega-n_{3}\omega^{3})\sin\tau\omega+(n_{0}-n_{2}\omega^{2})\cos\tau \omega=m_{2}\omega^{2}-\omega^{4}-m_{0}, \\ (n_{1}\omega-n_{3}\omega^{3})\cos\tau\omega-(n_{0}-n_{2}\omega^{2})\sin\tau \omega=m_{3}\omega^{3}-m_{1}\omega, \end{cases} $$
(24)

which leads to

$$ \omega^{8}+l_{3}\omega^{6}+l_{2} \omega^{4}+l_{1}\omega^{2}+l_{0}=0, $$
(25)

where

$$\begin{aligned}& l_{0} = m_{0}^{2}-n_{0}^{2}, \\& l_{1} = m_{1}^{2}-2m_{0}m_{2}+2n_{0}n_{2}-n_{1}^{2}, \\& l_{2} = m_{2}^{2}+2m_{0}-2m_{1}m_{3}-n_{2}^{2}+2n_{1}n_{3}, \\& l_{3} = m_{3}^{2}-n_{3}^{2}-2m_{2}. \end{aligned}$$

Let \(\omega^{2}=v\), then Eq. (25) becomes

$$ v^{4}+l_{3}v^{3}+l_{2}v^{2}+l_{1}v+l_{0}=0. $$
(26)

Define

$$ f(v)=v^{4}+l_{3}v^{3}+l_{2}v^{2}+l_{1}v+l_{0}. $$
(27)

Thus,

$$ f^{\prime}(v)=4v^{3}+3l_{3}v^{2}+2l_{2}v+l_{1}. $$
(28)

Set

$$ 4v^{3}+3l_{3}v^{2}+2l_{2}v+l_{1}=0. $$
(29)

Let \(y=v+\frac{3l_{3}}{4}\). Then Eq. (29) becomes

$$ y^{3}+r_{1}y+s_{1}=0, $$
(30)

where

$$r_{1}=\frac{l_{2}}{2}-\frac{3}{16}l_{3}^{2}, \qquad s_{1}=\frac{l_{3}^{3}}{32}-\frac {l_{2}l_{3}}{8}+l_{1}. $$

Denote

$$\begin{aligned}& D = \biggl(\frac{s_{1}}{2}\biggr)^{2}+\biggl(\frac{r_{1}}{3} \biggr)^{3},\qquad \sigma=\frac{-1+\sqrt {3}i}{2}, \\ & y_{1} = \sqrt[3]{-\frac{s_{1}}{2}+\sqrt{D}}+\sqrt[3]{- \frac {s_{1}}{2}-\sqrt{D}}, \\ & y_{2} = \sqrt[3]{-\frac{s_{1}}{2}+\sqrt{D}}\sigma+\sqrt[3]{- \frac {s_{1}}{2}-\sqrt{D}}\sigma^{2}, \\ & y_{3} = \sqrt[3]{-\frac{s_{1}}{2}+\sqrt{D}}\sigma^{2}+ \sqrt[3]{-\frac {s_{1}}{2}-\sqrt{D}}\sigma, \\ & v_{i} = y_{i}-\frac{3l_{3}}{4},\quad i=1, 2, 3. \end{aligned}$$

Based on the discussion of the distribution of roots of Eq. (26) in Lemma 2.1 and Lemma 2.2 in [45], we have the following results.

Lemma 3

For Eq. (26), we have

(H1):

If \(l_{0}<0\), Eq. (26) has at least one positive root;

(H2):

If \(l_{0}\geq0\) and \(D\geq0\), Eq. (26) has positive roots if and only if \(v_{1}>0\) and \(f(v_{1})<0\);

(H3):

If \(l_{0}\geq0\) and \(D<0\), Eq. (26) has positive roots if and only if there exists at least one \(v_{*}\in\{v_{1}, v_{2}, v_{3}\}\) such that \(v_{*}>0\) and \(f(v_{*})\leq0\).

In what follows, we assume (H1): the coefficients in \(f(v)\) satisfy one of the following conditions in (a)–(c).

  1. (a)

    \(l_{0}<0\);

  2. (b)

    \(l_{0}\geq0\), \(D\geq0\), \(v_{1}>0\) and \(f(v_{1})<0\);

  3. (c)

    \(l_{0}\geq0\), \(D<0\), and there exists at least one \(v_{*}\in\{v_{1}, v_{2}, v_{3}\}\) such that \(v_{*}>0\) and \(f(v_{*})\leq0\).

If the condition (H1) holds, then Eq. (26) has positive root \(v_{0}\) such that Eq. (23) has a pair of imaginary roots \(\pm i\omega_{0}=\pm i\sqrt{v_{0}}\). Further, we have

$$ \tau_{0}=\frac{1}{\omega_{0}}\arccos \biggl\{ \frac{(n_{2}-m_{3}n_{3})\omega _{0}^{6}+(m_{1}n_{3}+m_{3}n_{1}-m_{2}n_{2})\omega_{0}^{4}+(m_{0}n_{2}+m_{2}n_{0}-m_{1}n_{1})\omega _{0}^{2}-m_{0}n_{0}}{(n_{1}\omega_{0}-n_{3}\omega_{0}^{3})^{2}+(n_{0}-n_{2}\omega _{0}^{2})^{2}} \biggr\} . $$
(31)

Differentiating both sides of Eq. (23) with respect to τ yields

$$\biggl[\frac{d\lambda}{d\tau} \biggr]^{-1}=-\frac{4\lambda ^{3}+3m_{3}\lambda^{2}+2m_{2}\lambda+m_{1}}{\lambda(\lambda^{4}+m_{3}\lambda ^{3}+m_{2}\lambda^{2}+m_{1}\lambda+m_{0})}+ \frac{3n_{3}\lambda^{2}+2n_{2}\lambda +n_{1}}{\lambda(n_{3}\lambda^{3}+n_{2}\lambda^{2}+n_{1}\lambda+n_{0})}-\frac {\tau}{\lambda}. $$

Further, we have

$$\operatorname{Re} \biggl[\frac{d\lambda}{d\tau} \biggr]^{-1}_{\tau=\tau _{0}}= \frac{f^{\prime}(v_{**})}{(n_{1}\omega_{0}-n_{3}\omega _{0}^{3})^{2}+(n_{0}-n_{2}\omega_{0}^{2})^{2}}, $$

where \(f(v)=v^{4}+l_{3}v^{3}+l_{2}v^{2}+l_{1}v+l_{0}\) and \(v_{**}=\omega_{0}^{2}\).

Clearly, if the condition (H2): \(f^{\prime}(\omega_{0}^{2})\neq0\) holds, then \(\operatorname{Re}[d\lambda/d\tau]_{\tau=\tau_{0}}^{-1}\neq0\). Therefore, by the Hopf-bifurcation theorem that determines the existence of a Hopf bifurcation for a delayed dynamical system in [44], we can obtain the results described in Theorem 2. The proof is completed.  □

5 Direction of the Hopf bifurcation and stability of the periodic solutions

Let \(u_{1}(t)=S(t)-S^{*}\), \(u_{2}(t)=E(t)-E^{*}\), \(u_{3}(t)=I(t)-I^{*}\), \(u_{4}(t)=Q(t)-Q^{*}\), and normalize the delay with \(t\rightarrow(t/\tau )\). Let \(\tau=\tau_{0}+\varrho\) (\(\varrho\in R\)), then \(\varrho=0\) is the Hopf-bifurcation value of system (2). And system (2) can be transformed into a functional differential equation in \(C=C([-1, 0], R^{4})\) as follows:

$$ \dot{u}(t)=L_{\varrho}(u_{t})+F(\varrho, u_{t}), $$
(32)

where \(u(t)=(u_{1}, u_{2}, u_{3}, u_{4})^{T}\in C=C([-1, 0], R^{4})\) and \(L_{\varrho}\): \(C\rightarrow R^{4}\) and F: \(R\times C\rightarrow R^{4}\) are given, respectively, by

$$L_{\varrho}\phi=(\tau_{0}+\varrho) \bigl(A_{\max} \phi(0)+B_{\max}\phi(-1)\bigr), $$

and

F(ϱ,ϕ)= ( β ϕ 1 ( 0 ) ϕ 3 ( 0 ) β ϕ 1 ( 0 ) ϕ 3 ( 0 ) 0 0 ) ,

with

A max = ( a 1 0 a 2 0 a 3 a 4 a 5 0 0 0 a 6 0 0 a 7 a 8 a 9 ) , B max = ( 0 0 0 0 0 b 1 0 0 0 b 2 0 0 0 0 0 0 ) .

Theorem 3

  1. (i)

    If \(\mu_{2}>0\) (\(\mu_{2}<0\)), then the Hopf bifurcation is supercritical (subcritical);

  2. (ii)

    if \(\beta_{2}<0\) (\(\beta_{2}>0\), then the bifurcation periodic solutions are stable (unstable);

  3. (iii)

    if \(T_{2}>0\) (\(T_{2}<0\)), then the bifurcating periodic solutions increase (decrease).

The expressions of \(\mu_{2}\), \(\beta_{2}\) and \(T_{2}\) are described in the following.

Proof

By the Riesz representation theorem, there exists a function \(\eta (\theta, \varrho)\) of bounded variation for \(\theta\in[-1, 0]\) such that

$$ L_{\mu}\phi= \int_{-1}^{0}d\eta(\theta, \varrho)\phi(\theta), \quad \mbox{for } \phi\in C. $$
(33)

In fact, we choose

$$\eta(\theta, \varrho)=(\tau_{0}+\varrho) \bigl(A_{\max}\delta( \theta )+B_{\max}\delta(\theta+1)\bigr), $$

where \(\delta(\theta)\) is the Dirac delta function.

For \(\phi\in C([-1,0], R^{4})\), define

$$A(\varrho)\phi= \textstyle\begin{cases} \frac{d\phi(\theta)}{d\theta},& -1\leq \theta< 0, \\ \int_{-1}^{0}d\eta(\theta, \varrho)\phi(\theta),& \theta=0, \end{cases} $$

and

$$R(\varrho)\phi= \textstyle\begin{cases} 0, &-1\leq\theta< 0, \\ F(\varrho, \phi),& \theta=0. \end{cases} $$

Then system (32) is equivalent to

$$ \dot{u}(t)=A(\varrho)u_{t}+R(\varrho)u_{t}. $$
(34)

For \(\varphi\in C^{1}([0, 1], (R^{4})^{*})\), the adjoint operator \(A^{*}\) of \(A(0)\) is defined as follows:

$$A^{*}(\varphi)= \textstyle\begin{cases} -\frac{d\varphi(s)}{ds},& 0< s\leq1, \\ \int_{-1}^{0}d{\eta}^{T}(s,0)\varphi(-s),& s=0. \end{cases} $$

Next, we define the bilinear inner form for A and \(A^{*}\)

$$ \bigl\langle \varphi(s),\phi(\theta)\bigr\rangle =\bar{\varphi}(0) \phi (0)- \int_{\theta=-1}^{0} \int_{\xi=0}^{\theta}\bar{\varphi}(\xi -\theta)\, d\eta( \theta)\phi(\xi)\, d\xi, $$
(35)

where \(\eta(\theta)=\eta(\theta, 0)\).

Let \(q(\theta)=(1, q_{2}, q_{3}, q_{4})^{T}e^{i\tau_{0}\omega_{0}\theta}\) be the eigenvector of \(A(0)\) corresponding to \(+i\tau_{0}\omega_{0}\) and \(q^{*}(s)=V(1, q_{2}^{*}, q_{3}^{*}, q_{4}^{*})^{T}e^{i\tau_{0}\omega_{0}s}\) be the eigenvector of \(A^{*}(0)\) corresponding to \(-i\tau_{0}\omega_{0}\), respectively. Based on the definition of \(A(0)\) and \(A^{*}\), one can obtain

$$\begin{aligned} \begin{aligned} &q_{2} = \frac{a_{3}+a_{5}q_{3}}{i\omega_{0}-a_{4}-b_{1}e^{-i\tau_{0}\omega_{0}}},\qquad q_{3}= \frac{i\omega_{0}-a_{1}}{a_{2}},\qquad q_{4}=\frac{a_{7}q_{2}+a_{8}q_{3}}{(i\omega _{0}-a_{9})}, \\ &q_{2}^{*} = -\frac{i\omega_{0}+a_{1}}{a_{3}},\qquad q_{4}^{*}=- \frac {a_{2}+a_{5}q_{2}+(a_{6}+i\omega_{0})q_{3}}{a_{8}}, \\ &q_{3}^{*} = \frac {a_{7}(a_{2}+a_{5}q_{2})-a_{8}(i\omega_{0}+a_{4}+b_{1}e^{i\tau_{0}\omega _{0}})q_{2}}{a_{8}b_{2}e^{i\tau_{0}\omega_{0}}-a_{7}(a_{6}+i\omega_{0})}. \end{aligned} \end{aligned}$$
(36)

From Eq. (35), we can obtain

$$\bar{V}=\bigl[1+q_{2}q_{2}^{*}+q_{3} \bar{q}_{3}^{*}+q_{4}\bar{q}_{4}^{*}+ \tau_{0}e^{-i\tau _{0}\omega_{0}}q_{2}\bigl(b_{1} \bar{q_{2}}^{*}+b_{2}\bar{q}_{3}^{*}\bigr) \bigr]^{-1} $$

such that \(\langle q^{*}, q\rangle=1\) and \(\langle q^{*}, \bar{q}\rangle=0\).

Next, according to the algorithms in [44] and a similar computation process to that in [46], we can obtain the expressions of \(g_{20}\), \(g_{11}\), \(g_{02}\) and \(g_{21}\) as follows:

$$\begin{aligned}& g_{20} = 2\beta\tau_{0}\bar{V}q_{3}\bigl( \bar{q}_{3}^{*}-1\bigr), \\& g_{11} = \beta\tau_{0}\bar{V}(q_{3}+ \bar{q}_{3}) \bigl(\bar {q}_{3}^{*}-1\bigr), \\& g_{02} = 2\beta\tau_{0}\bar{V}\bar{q}_{3}\bigl( \bar{q}_{3}^{*}-1\bigr), \\& g_{21} = 2\beta\tau_{0}\bar{V}\bigl(\bar {q}_{3}^{*}-1\bigr) \biggl(W_{11}^{(1)}(0)q_{2}+ \frac{1}{2}W_{20}^{(1)}(0)\bar {q}_{2} \\& \hphantom{g_{21} ={}}{} +W_{11}^{(3)}(0)+\frac{1}{2}W_{20}^{(3)}(0) \biggr), \end{aligned}$$

with

$$\begin{aligned}& W_{20}(\theta) = \frac{ig_{20}q(0)}{\tau_{0}\omega_{0}}e^{i\tau _{0}\omega_{0}\theta}+ \frac{i\bar{g}_{02}\bar{q}(0)}{3\tau_{0}\omega _{0}}e^{-i\tau_{0}\omega_{0}\theta}+E_{1}e^{2i\tau_{0}\omega_{0}\theta}, \\& W_{11}(\theta) = -\frac{ig_{11}q(0)}{\tau_{0}\omega_{0}}e^{i\tau _{0}\omega_{0}\theta}+ \frac{i\bar{g}_{11}\bar{q}(0)}{\tau_{0}\omega _{0}}e^{-i\tau_{0}\omega_{0}\theta}+E_{2}. \end{aligned}$$

\(E_{1}\) and \(E_{2}\) can be obtained by the following two equations:

E 1 = 2 ( 2 i ω 0 a 1 0 a 2 0 a 3 2 i ω 0 a 4 b 1 e 2 i τ 0 ω 0 a 5 0 0 b 2 e 2 i τ 0 ω 0 2 i ω 0 a 6 0 0 a 7 a 8 2 i ω 0 a 9 ) 1 × ( β q 3 β q 3 0 0 ) , E 2 = ( a 1 0 a 2 0 a 3 a 4 + b 1 a 5 0 0 b 2 a 6 0 0 a 7 a 8 a 9 ) 1 × ( β ( q 3 + q ¯ 3 ) β ( q 3 + q ¯ 3 ) 0 0 ) .

Then one can obtain

$$ \begin{aligned} &C_{1}(0)=\frac{i}{2\tau_{0}\omega_{0}} \biggl(g_{11}g_{20}-2|g_{11}|^{2}- \frac{|g_{02}|^{2}}{3} \biggr)+\frac {g_{21}}{2}, \\ &\mu_{2} =-\frac{\operatorname{Re}\{C_{1}(0)\}}{\operatorname{Re}\{\lambda'(\tau_{0})\} }, \\ &\beta_{2}=2{\operatorname{Re}\bigl\{ C_{1}(0)\bigr\} }, \\ &T_{2}=-\frac{\operatorname{Im}\{C_{1}(0)\}+\mu_{2}\operatorname{Im}\{\lambda'(\tau_{0})\} }{\tau_{0}\omega_{0}}. \end{aligned} $$
(37)

Thus, we can obtain the results described in Theorem 3. The proof is completed. □

6 Numerical simulation

In this section we shall perform some numerical scenario as the support of our obtained analytical results by choosing the suitable value of the parameters. For different values of delays we obtain different scenarios with \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\) as interior equilibrium point. The value of the parameters are taken as follows:

$$\begin{aligned}& A=20 ,\qquad \beta=0.5 ,\qquad \mu=c=0.25 , \qquad \varepsilon=0.25 , \\& \sigma _{1}=\gamma_{1}=0.125 ,\qquad \alpha=0.5 , \qquad \sigma_{2}=\gamma_{2}=0.25 , \qquad \gamma _{3}=0.5. \end{aligned}$$

The parameters are chosen in such a way that they satisfy the conditions obtained in the previous sections analytically. We have

$$ \textstyle\begin{cases} \frac{dS(t)}{dt} = 20-0.5 S(t)I(t)-0.25 S(t)+0.25 I(t), \\ \frac{dE(t)}{dt} = 0.5 S(t)I(t)-0.5E(t)-0.5 E(t-\tau), \\ \frac{dI(t)}{dt} = 0.5 E(t-\tau)-1.5I(t), \\ \frac{dQ(t)}{dt} = 0.125E(t)+0.25I(t)-1.25Q(t). \end{cases} $$
(38)

With this set of parameters we get the basic reproduction number \(R_{0}=13.3333>0\) and the unique endemic equilibrium \(P^{*}(6,20.1818,6.7273,3.3636)\). Biologically it shows that all the individuals coexist. First, in the absence of latent delay, i.e. \(\tau =0\) the dynamics of system (1) has been plotted in Fig. 3 and the dynamics is stable in the absence of delay (Lemma 1). But in Fig. 4 it is seen that in the presence of delay (very small value of τ) initially all the individuals are oscillating and after some time again it comes to a stable situation. Thus for a more increased value of the delay the oscillation for the individuals also increases. Hence, the interior equilibrium point \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\) is seen to be stable for \(\tau< \tau_{0}\) (Fig. 5) and at the critical value of delay we get a stable periodic solution where the Hopf bifurcation occurs (Fig. 6). Finally for large value of delay \(\tau>\tau_{0}\) the system loses its stability (Fig. 7). This property can be also illustrated by the bifurcation diagram with respect to τ in Fig. 8.

Figure 3
figure 3

Time series plot for \(\tau=0\), which is stable

Figure 4
figure 4

Time series plot for \(\tau\neq0\) but very small τ, which is stable

Figure 5
figure 5

\(P^{*}\) is locally asymptotically stable when \(\tau=10.65<\tau _{0}=13.9858\)

Figure 6
figure 6

\(P^{*}\) is stable periodic when \(\tau=\tau_{0}=13.9858\)

Figure 7
figure 7

\(P^{*}\) loses its stability when \(\tau=28.85>\tau _{0}=13.9858\)

Figure 8
figure 8

Bifurcation diagram with respect to time delay

7 Conclusions

In [29], a non-delayed SEIQ epidemic model has been investigated by the authors. But the disease models are not instantaneous, i.e., infected diseases start by infection and then some symptoms can be seen. Thus, in the incubation period it takes some time for a response to occur, i.e., delay is arising. Here, in this article we have assumed a delayed SEIQ epidemic model by incorporating the latent delay to the model proposed in [29]. Thus, compared with the model proposed in [29], the model we consider in the present paper is more general. We consider not only the effect of the time delay on the model, but also the boundedness, persistence and the properties of the Hopf bifurcation. The results obtained in the present paper are the complement of the research work in the literature [29].

For this model, a feasible region is obtained with the appropriate choice of the parameters. It can be seen that all the solutions of (2) will remain in or tend to , i.e., the feasible region is positive and invariant. If the basic reproduction number \(R_{0}>1\), then the model has an endemic equilibrium point which is unique. Also if \(R_{0}>1\) the system (2) will be persistent and for \(R_{0}<1\), the infection will be extinct, i.e., system (2) becomes disease free. Next, we construct a suitable Lyapunov functional of the form (20) to check the stability of system (2). Using this Lyapunov functional the sufficient conditions for local asymptotic stability are given in Theorem 1. With the choice of the parameters given in the numerical section and for \(\tau<\tau_{0}\) all the Λ are negative (Fig. 1), which satisfies the conditions obtained in Theorem 1. Next, the sufficient conditions for local stability of the endemic equilibrium of the model and the existence of a Hopf bifurcation are obtained by taking the delay as the bifurcating parameter. Also, the critical value of the latent delay is obtained. We can conclude that if the latent delay for system (2) is less than its critical value then the endemic equilibrium for the system gets in a stable situation but if it is greater than the critical value the endemic equilibrium for system (2) will lose its stability. Further, properties of the Hopf bifurcation such as direction and stability are studied by means of the center manifold and normal form theory. At the end, with a set of suitable parameters, some numerical computations are presented to justify our results obtained analytically and to see the effect of the latent delay on the stability of the system.

It should be pointed out that system (2) undergoes a local Hopf bifurcation at the endemic equilibrium \(P^{*}(S^{*}, E^{*}, I^{*}, Q^{*})\) and a bifurcating periodic solution exists when τ near \(\tau_{0}\). In other words, the existence of these periodic solutions remains valid only in a small neighborhood of the critical value \(\tau _{0}\). It is interesting to investigate whether these periodic solutions remain when the value of the time delay τ becomes large enough. We leave the existence of a global Hopf bifurcation of system (2) as our next work in the near future.