Skip to content
• Research
• Open Access

# Hopf bifurcation of a delayed SIQR epidemic model with constant input and nonlinear incidence rate

Advances in Difference Equations20162016:168

https://doi.org/10.1186/s13662-016-0899-y

• Received: 13 February 2016
• Accepted: 14 June 2016
• Published:

## Abstract

An SIQR epidemic model with nonlinear incidence rate and two delays is studied under the assumption that a susceptible of the host population has a constant input. Local stability and existence of Hopf bifurcation are analyzed by regarding combination of the time delay due to the latent period of disease and the time delay due to the period that the infective and quarantined individuals need to be cured as the bifurcation parameter. Furthermore, the properties of the Hopf bifurcation are determined by using the normal form method and center manifold theory. Some numerical simulations are also carried out in order to verify our theoretical findings.

## Keywords

• delays
• Hopf bifurcation
• SIQR model
• periodic solutions

## 1 Introduction

For the last two decades, various epidemic models have been proposed and investigated in order to understand disease transmissions and behaviours of epidemics. As is well known, the bilinear incidence rate $$\beta SI$$ is frequently used in many epidemic models . However, the bilinear incidence rate is based on the law of mass action, which is more appropriate for communicable diseases, but not for sexually transmitted diseases . It has been suggested by several authors that the disease transmission process may have a nonlinear incidence rate and the epidemic models with a nonlinear incidence rate have been studied by many researchers . In , Song and Pang proposed the following SIQR (susceptible-infective-quarantined-recovered) epidemic model with constant input and nonlinear incidence rate:
$$\textstyle\begin{cases} \frac{dS(t)}{dt} = A-\beta S(t)I^{2}(t)-dS(t), \\ \frac{dI(t)}{dt} = \beta S(t)I^{2}(t)-(d+a+\gamma+\sigma)I(t), \\ \frac{dQ(t)}{dt} = \sigma I(t)-(d+b+p)Q(t), \\ \frac{dR(t)}{dt} = \gamma I(t)+pQ(t)-dR(t), \end{cases}$$
(1)
where $$S(t)$$, $$I(t)$$, $$Q(t)$$, and $$R(t)$$ denote the numbers of the susceptible, infective, quarantined, and recovered individuals at time t, respectively. A is the recruitment rate of the susceptible individual; d is the natural death rate of the susceptible, infective, quarantined and recovered individuals; a and b are the death rates of the infective and quarantined individuals due to the disease, respectively; β, γ, σ, and p are the states transition rates. Song and Pang studied stability of system (1).
Obviously, they neglected the time delay due to the latent period of the disease and the time delay due to the period that the infective and quarantined individuals need to be cured in system (1). As stated in , it is necessary to incorporate time delays of one type or another into a dynamical system in order to reflect dynamics of the system depending on its history. It is well known that time delays have a strong impact on dynamics of a dynamical system and effect of time delays on the dynamics of a dynamical system can be found in [1, 9, 1420]. Therefore, we consider the following system with delays:
$$\textstyle\begin{cases} \frac{dS(t)}{dt} = A-\beta S(t-\tau_{1})I^{2}(t-\tau_{1})-dS(t), \\ \frac{dI(t)}{dt} = \beta S(t-\tau_{1})I^{2}(t-\tau_{1})-(d+a+\sigma )I(t)-\gamma I(t-\tau_{2}), \\ \frac{dQ(t)}{dt} = \sigma I(t)-(d+b)Q(t)-pQ(t-\tau_{2}), \\ \frac{dR(t)}{dt} = \gamma I(t-\tau_{2})+pQ(t-\tau_{2})-dR(t), \end{cases}$$
(2)
where $$\tau_{1}$$ is the latent period delay. $$\tau_{2}$$ is the time delay due to the period that the infective and quarantined individuals need to be cured.

The structure of this paper is as follows. Section 2 is devoted to the local stability and existence of the Hopf bifurcation. Explicit formulae for determining the properties of the Hopf bifurcation are derived in Section 3. Numerical simulations are presented to verify the obtained theoretical findings in Section 4, and this work is summarised in Section 5.

## 2 Existence of Hopf bifurcation

According to a direct computation, we know that if $$R_{0}=\frac{\beta A^{2}}{4d(d+a+\gamma+\sigma)^{2}}>1$$, then system (2) has the positive equilibriums $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ where $$S_{*}=\frac{d+a+\gamma+\sigma}{\beta I_{*}}$$, $$Q_{*}=\frac{\sigma I_{*}}{d+b+p}$$, $$R_{*}=\frac{\gamma I_{*}+pQ_{*}}{d}$$, and $$I_{*}$$ is the positive root of the following equation:
$$(d+a+\gamma+\sigma)\beta I^{2}-A\beta I+d(d+a+\gamma+ \sigma)=0.$$
(3)
Let $$u_{1}(t)=S(t)-S_{*}$$, $$u_{2}(t)=I(t)-I_{*}$$, $$u_{3}(t)=Q(t)-Q_{*}$$, $$u_{4}(t)=R(t)-R_{*}$$. Then system (2) becomes
$$\textstyle\begin{cases} \frac{dS(t)}{dt} = \alpha_{1}S(t)+\beta_{1}S(t-\tau_{1})+\beta_{2}I(t-\tau _{1})+f_{1}, \\ \frac{dI(t)}{dt} = \alpha_{2}I(t)+\beta_{3}S(t-\tau_{1})+\beta_{4}I(t-\tau _{1})+\beta_{5}I(t-\tau_{2})+f_{2}, \\ \frac{dQ(t)}{dt} = \alpha_{3}I(t)+\alpha_{4}Q(t)+\beta_{6}Q(t-\tau_{2}), \\ \frac{dR(t)}{dt} = \alpha_{5}R(t)+\beta_{7}I(t-\tau_{2})+\beta_{8}Q(t-\tau_{2}), \end{cases}$$
(4)
where
\begin{aligned}& \alpha_{1} = -d,\qquad \alpha_{2}=-(d+a+\sigma), \qquad \alpha_{3}=\sigma, \\& \alpha_{4} = -(d+b),\qquad \alpha_{5}=-d,\qquad \beta_{1}=-\beta I_{*}^{2},\qquad \beta _{2}=-2\beta S_{*}I_{*}, \\& \beta_{3} = \beta I_{*}^{2},\qquad \beta_{4}=2\beta S_{*}I_{*}, \\& \beta_{5} = -\gamma, \qquad\beta_{6}=-p,\qquad \beta_{7}=\gamma, \qquad\beta_{8}=p, \end{aligned}
and
\begin{aligned}& f_{1} = \beta_{13}S(t-\tau_{1})I(t- \tau_{1})+\beta_{14}I^{2}(t-\tau _{1})+ \beta_{15}S(t-\tau_{1})I^{2}(t- \tau_{1}), \\& f_{2} = \beta_{23}S(t-\tau_{1})I(t- \tau_{1})+\beta_{24}I^{2}(t-\tau _{1})+ \beta_{25}S(t-\tau_{1})I^{2}(t- \tau_{1}), \end{aligned}
with
\begin{aligned}& \beta_{13}=-2\beta S_{*}I_{*},\qquad \beta_{14}=-\beta S_{*}, \qquad \beta_{15}=-\beta , \\& \beta_{23}=2\beta S_{*}I_{*}, \qquad \beta_{24}=\beta S_{*},\qquad \beta_{25}=\beta. \end{aligned}
The linear system of system (4) is
$$\textstyle\begin{cases} \frac{dS(t)}{dt} = \alpha_{1}S(t)+\beta_{1}S(t-\tau_{1})+\beta_{2}I(t-\tau _{1}), \\ \frac{dI(t)}{dt} = \alpha_{2}I(t)+\beta_{3}S(t-\tau_{1})+\beta_{4}I(t-\tau _{1})+\beta_{5}I(t-\tau_{2}), \\ \frac{dQ(t)}{dt} = \alpha_{3}I(t)+\alpha_{4}Q(t)+\beta_{6}Q(t-\tau_{2}), \\ \frac{dR(t)}{dt} = \alpha_{5}R(t)+\beta_{7}I(t-\tau_{2})+\beta_{8}Q(t-\tau_{2}). \end{cases}$$
(5)
Thus, we can get the characteristic equation
\begin{aligned} &\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_{1}} \\ &\quad{} + \bigl(p_{3}\lambda^{3}+p_{2} \lambda^{2}+p_{1}\lambda+p_{0}\bigr)e^{-\lambda\tau _{2}}+ \bigl(q_{2}\lambda^{2}+q_{1}\lambda+q_{0} \bigr)e^{-\lambda(\tau_{1}+\tau_{2})} \\ &\quad{} + \bigl(r_{2}\lambda^{2}+r_{1} \lambda+r_{0}\bigr)e^{-2\lambda\tau_{2}}+(s_{1}\lambda +s_{0})e^{-\lambda(\tau_{1}+2\tau_{2})}=0, \end{aligned}
(6)
where
\begin{aligned}& m_{0} = \alpha_{1}\alpha_{2}\alpha_{4} \alpha_{5},\qquad m_{1}=-\bigl(\alpha_{1}\alpha _{2}(\alpha_{4}+\alpha_{5})+\alpha_{4} \alpha_{5}(\alpha_{1}+\alpha_{2})\bigr), \\& m_{2} = \alpha_{1}\alpha_{2}+\alpha_{4} \alpha_{5}+(\alpha_{1}+\alpha _{2}) ( \alpha_{4}+\alpha_{5}), \\& m_{3} = -(\alpha_{1}+\alpha_{2}+ \alpha_{4}+\alpha_{5}),\qquad n_{0}= \alpha_{1}\alpha _{4}\alpha_{5}\beta_{4}+ \alpha_{2}\alpha_{4}\alpha_{5}\beta_{1}, \\& n_{1} = -\bigl(\beta_{1}(\alpha_{2} \alpha_{4}+\alpha_{2}\alpha_{5}+\alpha_{4} \alpha _{5})+\beta_{4}(\alpha_{1} \alpha_{4}+\alpha_{1}\alpha_{5}+ \alpha_{4}\alpha _{5})\bigr), \\& n_{2} = \beta_{1}(\alpha_{2}+ \alpha_{4}+\alpha_{5})+\beta_{4}( \alpha_{1}+\alpha _{4}+\alpha_{5}),\qquad n_{3}=-(\beta_{1}+\beta_{4}), \\& p_{0} = \alpha_{1}\alpha_{4}\alpha_{5} \beta_{5}+\alpha_{1}\alpha_{2}\alpha _{5} \beta_{6}, \\& p_{1} = -\bigl(\beta_{5}(\alpha_{1} \alpha_{4}+\alpha_{1}\alpha_{5}+ \alpha_{4}\alpha _{5})+\beta_{6}( \alpha_{1}\alpha_{2}+\alpha_{1} \alpha_{5}+\alpha_{2}\alpha _{5})\bigr), \\& p_{2} = \beta_{5}(\alpha_{1}+ \alpha_{4}+\alpha_{5})+\beta_{6}( \alpha_{1}+\alpha _{2}+\alpha_{5}),\qquad p_{3}=-(\beta_{5}+\beta_{6}), \\& q_{0} = \alpha_{1}\alpha_{5}\beta_{4} \beta_{6}+\alpha_{2}\alpha_{5}\beta _{1} \beta_{6}+\alpha_{4}\alpha_{5}\beta_{1} \beta_{5}, \\& q_{1} = -\bigl(\beta_{1}\beta_{5}( \alpha_{4}+\alpha_{5})+\beta_{1} \beta_{6}(\alpha _{2}+\alpha_{5})+ \beta_{4}\beta_{6}(\alpha_{1}+\alpha_{5}) \bigr), \\& q_{2} = \beta_{1}\beta_{5}+\beta_{1} \beta_{6}+\beta_{5}\beta_{6},\qquad r_{0}= \alpha _{1}\alpha_{5}\beta_{5}\beta_{6}, \\& r_{1} = -\beta_{5}\beta_{6}(\alpha _{1}+\alpha_{5}),\qquad r_{2}=\beta_{5} \beta_{6},\qquad s_{0}=\alpha_{5} \beta_{1}\beta_{5}\beta _{6},\qquad s_{1}=-\beta_{1}\beta_{5}\beta_{6}. \end{aligned}

### Case 1

$$\tau_{1}=\tau_{2}=0$$, equation (6) reduces to
$$\lambda^{4}+m_{13}\lambda^{3}+m_{12} \lambda^{2}+m_{11}\lambda+m_{10}=0,$$
(7)
where
\begin{aligned}& m_{10} = m_{0}+n_{0}+p_{0}+q_{0}+r_{0}+s_{0}, \qquad m_{11}=m_{1}+n_{1}+p_{1}+q_{1}+r_{1}+s_{1}, \\& m_{12} = m_{2}+n_{2}+p_{2}+q_{2}+r_{2}, \qquad m_{13}=m_{3}+n_{3}+p_{3}. \end{aligned}
Obviously, if the condition ($$H_{1}$$): (8)-(11) holds, all the roots of equation (7) must have negative real parts. Thus, $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ is locally asymptotically stable in the absence of delay. We have
\begin{aligned}& \mathit{Det}_{1}=m_{13}>0, \end{aligned}
(8)
\begin{aligned}& \mathit{Det}_{2}=\left \vert \textstyle\begin{array}{@{}c@{\quad}c@{}} m_{13} &{1} \\ m_{11} &m_{12} \end{array}\displaystyle \right \vert >0, \end{aligned}
(9)
\begin{aligned}& \mathit{Det}_{3}=\left \vert \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{}} m_{13} &{1} &{0} \\ m_{11} &m_{12} &m_{13} \\ {0} &m_{10} &m_{11} \end{array}\displaystyle \right \vert >0, \end{aligned}
(10)
\begin{aligned}& \mathit{Det}_{4}=\left \vert \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} m_{13} &{1} &{0} &{0} \\ m_{11} &m_{12} &m_{13} &{1} \\ {0} &m_{10} &m_{11} &m_{12} \\ {0} &{0} &{0} &m_{10} \end{array}\displaystyle \right \vert >0. \end{aligned}
(11)

### Case 2

$$\tau_{1}>0$$, $$\tau_{2}=0$$. For $$\tau_{2}=0$$, equation (6) becomes
$$\lambda^{4}+m_{23}\lambda^{3}+m_{22} \lambda^{2}+m_{21}\lambda +m_{20}+ \bigl(n_{23}\lambda^{3}+n_{22}\lambda^{2}+n_{21} \lambda +n_{20}\bigr)e^{-\lambda\tau_{1}}=0,$$
(12)
where
\begin{aligned}& m_{20} = m_{0}+p_{0}+r_{0},\qquad m_{21}=m_{1}+p_{1}+r_{1},\qquad m_{22}=m_{2}+p_{2}+r_{2}, \\& m_{23}=m_{3}+p_{3}, \qquad n_{20} = n_{0}+q_{0}+s_{0},\qquad n_{21}=n_{1}+q_{1}+s_{1}, \\& n_{22}=n_{2}+q_{2},\qquad n_{23}=n_{3}. \end{aligned}
Let $$\lambda=i\omega_{1}$$ ($$\omega_{1}>0$$) be the root of equation (12), then
$$\textstyle\begin{cases} (n_{21}\omega_{1}-n_{23}\omega_{1}^{3})\sin\tau_{1}\omega _{1}+(n_{20}-n_{22}\omega_{1}^{2})\cos\tau_{1}\omega_{1}=m_{22}\omega _{1}^{2}-\omega_{1}^{4}-m_{20}, \\ (n_{21}\omega_{1}-n_{23}\omega_{1}^{3})\cos\tau_{1}\omega _{1}-(n_{20}-n_{22}\omega_{1}^{2})\sin\tau_{1}\omega_{1}=m_{23}\omega _{1}^{3}-m_{21}\omega_{1}. \end{cases}$$
(13)
Then we can get
$$\omega_{1}^{8}+c_{23} \omega_{1}^{6}+c_{22}\omega_{1}^{4}+c_{21} \omega_{1}^{2}+c_{20}=0,$$
(14)
with
\begin{aligned}& c_{20} = m_{20}^{2}-n_{20}^{2}, \qquad c_{21}=Am_{21}^{2}-n_{21}^{2}-2m_{20}m_{22}+2n_{20}n_{22}, \\& c_{22} = m_{22}^{2}-n_{22}^{2}+2m_{20}-2m_{21}m_{23}+2n_{21}n_{23}, \qquad c_{23}=m_{23}^{2}-n_{23}^{2}-2m_{22}. \end{aligned}
Let $$\omega_{1}^{2}=v_{1}$$, then equation (14) becomes
$$v_{1}^{4}+c_{23}v_{1}^{3}+c_{22}v_{1}^{2}+c_{21}v_{1}+c_{20}=0.$$
(15)
Define
\begin{aligned}& f_{1}(v_{1}) = v_{1}^{4}+c_{23}v_{1}^{3}+c_{22}v_{1}^{2}+c_{21}v_{1}+c_{20}, \\& p_{20} = \frac{1}{2}c_{22}-\frac{3}{16}c_{23}^{2}, \qquad q_{20}=\frac {1}{32}c_{23}^{3}- \frac{1}{8}c_{22}c_{23}+c_{21}, \\& \alpha_{20} = \biggl(\frac{q_{20}}{2} \biggr)^{2}+ \biggl( \frac {p_{20}}{3} \biggr)^{3},\qquad \beta_{20}=- \frac{1}{2}+\frac{\sqrt {3}}{2}i, \\& y_{21} = \sqrt{-\frac{q_{20}}{2}+\sqrt{\alpha_{20}}}+ \sqrt {-\frac{q_{20}}{2}-\sqrt{\alpha_{20}}}, \\& y_{22} = \beta_{20}\sqrt{-\frac{q_{20}}{2}+\sqrt{\alpha _{20}}}+\beta_{20}^{2}\sqrt{-\frac{q_{20}}{2}- \sqrt{\alpha _{20}}}, \\& y_{23} = \beta_{20}^{2}\sqrt{- \frac{q_{20}}{2}+\sqrt{\alpha _{20}}}+\beta_{20}\sqrt{- \frac{q_{20}}{2}-\sqrt{\alpha _{20}}}, \\& v_{1i} = y_{2i}-\frac{3c_{23}}{4},\quad i=1, 2, 3. \end{aligned}

The discussion about the distribution of the roots of equation (15) is similar to that in . Thus, we have the following lemma.

### Lemma 1

For equation (15), we have:
1. (i)

if $$c_{20}<0$$, equation (15) has at least one positive root;

2. (ii)

if $$c_{20}\geq0$$ and $$\alpha_{20}\geq0$$, equation (15) has positive roots if and only if $$v_{11}>0$$ and $$f_{1}(v_{11})<0$$;

3. (iii)

if $$c_{20}\geq0$$ and $$\alpha_{20}<0$$, equation (15) has positive roots if and only if there exists at least one $$v_{1*}\in\{v_{11}, v_{12}, v_{13}\}$$ such that $$v_{1*}>0$$ and $$f_{1}(v_{1*})\leq0$$:

In the following, we assume that ($$H_{21}$$): the coefficients in $$f_{1}(v_{1})$$ satisfy one of the following conditions in (a)-(c):
1. (a)

$$c_{20}<0$$;

2. (b)

$$c_{20}\geq0$$, $$\alpha_{20}\geq0$$, $$v_{11}>0$$, and $$f_{1}(v_{11})<0$$;

3. (c)

$$c_{20}\geq0$$, $$\alpha_{20}<0$$, and there exists at least one $$v_{1*}\in\{v_{11}, v_{12}, v_{13}\}$$ such that $$v_{1*}>0$$ and $$f_{1}(v_{1*})\leq0$$.

If ($$H_{21}$$) holds, we can conclude that equation (14) has at least a positive root $$\omega_{10}$$ such that equation (12) has a pair of purely imaginary root $$\pm i\omega_{10}$$. For $$\omega_{10}$$,
\begin{aligned}[b] \tau_{10}=&{}\frac{1}{\omega_{10}}\arccos\bigl(\bigl(\bigl(n_{21}\omega _{10}-n_{23}\omega_{10}^{3}\bigr)\times\bigl(m_{23}\omega_{10}^{3}-m_{21}\omega _{10}\bigr) \\ &{}+\bigl(n_{20}-n_{22}\omega_{22}^{2}\bigr)\times\bigl(m_{22}\omega_{10}^{2}-\omega _{10}^{4}-m_{20}\bigr)\bigr) \\ &{}\big/\bigl(\bigl(n_{20}-n_{22}\omega_{10}^{2}\bigr)^{2}+\bigl(n_{21}\omega _{10}-n_{23}\omega_{10}^{3}\bigr)^{2}\bigr)\bigr). \end{aligned}
(16)
Next, we will verify the transversality condition. Differentiating the two sides of equation (12) with respect to $$\tau_{1}$$, we get
$$\biggl[\frac{d\lambda}{d\tau_{1}} \biggr]^{-1} =-\frac{4\lambda ^{3}+3m_{23}\lambda^{2}+2m_{22}\lambda+m_{21}}{\lambda(\lambda ^{4}+m_{23}\lambda^{3}+m_{22}\lambda^{2}+m_{21}\lambda+m_{20})}+ \frac {3n_{23}\lambda^{2}+2n_{22}\lambda+n_{21}}{\lambda(n_{23}\lambda ^{3}+n_{22}\lambda^{2}+n_{21}\lambda+n_{20})}-\frac{\tau_{1}}{\lambda}.$$
Further, we have
$$\operatorname{Re} \biggl[\frac{d\lambda}{d\tau_{1}} \biggr]^{-1}_{\tau_{1}=\tau _{10}}= \frac{f_{1}^{\prime}(v_{1*})}{(n_{21}\omega_{10}-n_{23}\omega _{10}^{3})^{2}+(n_{20}-n_{22}\omega_{10}^{2})^{2}},$$
where $$f_{1}(v_{1})=v_{1}^{4}+c_{23}v_{1}^{3}+c_{22}v_{1}^{2}+c_{21}v_{1}+c_{20}$$ and $$v_{1*}=\omega_{10}^{2}$$. Thus, if the condition ($$H_{22}$$) $$f_{1}^{\prime}(v_{1*})\neq0$$ holds, then $$\operatorname{Re}[\frac{d\lambda}{d\tau _{1}}]^{-1}_{\tau_{1}=\tau_{10}}\neq0$$. According to the Hopf bifurcation theorem in , we have the following for system (2).

### Theorem 1

If the conditions ($$H_{21}$$)-($$H_{22}$$) hold, then:
1. (i)

the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ of system (2) is asymptotically stable for $$\tau_{1}\in[0,\tau_{10})$$;

2. (ii)

system (2) undergoes a Hopf bifurcation at the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ when $$\tau_{1}=\tau_{10}$$.

### Case 3

$$\tau_{1}=0$$, $$\tau_{2}>0$$. For $$\tau_{1}=0$$, equation (6) becomes
\begin{aligned} &\lambda^{4}+m_{33}\lambda^{3}+m_{32} \lambda^{2} + m_{31}\lambda +m_{30} \\ &\quad{} + \bigl(p_{33}\lambda^{3}+p_{32} \lambda^{2}+p_{31}\lambda+p_{30} \bigr)e^{-\lambda \tau_{2}} \\ &\quad{} + \bigl(r_{32}\lambda^{2}+r_{31} \lambda+r_{30}\bigr)e^{-2\lambda\tau_{2}}=0, \end{aligned}
(17)
where
\begin{aligned}& m_{30} = m_{0}+n_{0},\qquad m_{31}=m_{1}+n_{1}, \qquad m_{32}=m_{2}+n_{2},\qquad m_{33}=m_{3}+n_{3}, \\& p_{30} = p_{0}+q_{0},\qquad p_{31}=p_{1}+q_{1}, \qquad p_{32}=p_{2}+q_{2},\qquad p_{33}=q_{3}, \\& r_{30} = r_{0}+s_{0},\qquad r_{31}=r_{1}+s_{1}, \qquad r_{32}=r_{2}. \end{aligned}
Multiplying by $$e^{\lambda\tau_{2}}$$, equation (17) becomes
\begin{aligned} &p_{33}\lambda^{3}+p_{32} \lambda^{2} + p_{31}\lambda+p_{30} \\ &\quad{} + \bigl(\lambda^{4}+m_{33}\lambda^{3}+m_{32} \lambda^{2}+m_{31}\lambda +m_{30} \bigr)e^{\lambda\tau_{2}} \\ &\quad{} + \bigl(r_{32}\lambda^{2}+r_{31} \lambda+r_{30}\bigr)e^{-\lambda\tau_{2}}=0. \end{aligned}
(18)
Let $$\lambda=i\omega_{2}$$ ($$\omega_{2}>0$$) be the root of equation (18), then
$$\textstyle\begin{cases} M_{31}(\omega_{2})\cos\tau_{2}\omega_{2}-M_{32}(\omega_{2}^{2})\sin\tau _{2}\omega_{2}=M_{33}(\omega_{2}), \\ M_{33}(\omega_{2})\sin\tau_{2}\omega_{2}+M_{35}(\omega_{2}^{2})\cos\tau _{2}\omega_{2}=M_{36}(\omega_{2}), \end{cases}$$
(19)
where
\begin{aligned}& M_{31}(\omega_{2}) = \omega_{2}^{4}-(m_{32}+r_{32}) \omega _{2}^{2}+m_{30}+r_{30}, \\& M_{32}(\omega_{2}) = (m_{31}-r_{31}) \omega_{2}-m_{33}\omega_{2}^{3},\qquad M_{33}(\omega_{2})=p_{32}\omega_{2}^{2}-p_{30}, \\& M_{34}(\omega_{2}) = \omega_{2}^{4}-(m_{32}-r_{32}) \omega _{2}^{2}+m_{30}-r_{30}, \\& M_{35}(\omega_{2}) = (m_{31}+r_{31}) \omega_{2}-m_{33}\omega_{2}^{3},\qquad M_{36}(\omega_{2})=p_{33}\omega_{2}^{2}-p_{31} \omega_{2}. \end{aligned}
Then we have
\begin{aligned}& \cos\tau_{2}\omega_{2}=\frac{M_{32}(\omega_{2})\times M_{36}(\omega _{2})+M_{33}(\omega_{2})\times M_{34}(\omega_{2})}{M_{31}(\omega_{2})\times M_{34}(\omega_{2})+M_{32}(\omega_{2})\times M_{35}(\omega_{2})}, \\& \sin\tau_{2}\omega_{2}=\frac{M_{31}(\omega_{2})\times M_{36}(\omega _{2})-M_{33}(\omega_{2})\times M_{35}(\omega_{2})}{M_{31}(\omega_{2})\times M_{34}(\omega_{2})+M_{32}(\omega_{2})\times M_{35}(\omega_{2})}. \end{aligned}
Therefore, we can obtain the following equation with respect to $$\omega_{2}$$:
$$\cos^{2}\tau_{2}\omega_{2}+ \sin^{2}\tau_{2}\omega_{2}=1.$$
(20)
Next, we make the following assumption. ($$H_{31}$$): equation (20) has at least one positive root. If the condition ($$H_{31}$$) holds, then equation (20) has one positive root $$\omega_{20}$$ such that equation (18) has a pair of purely imaginary roots $$\pm i\omega_{20}$$. For $$\omega _{20}$$, we have
$$\tau_{20}=\frac{1}{\omega_{20}}\arccos\frac{M_{32}(\omega _{20})\times M_{36}(\omega_{20})+M_{33}(\omega_{20})\times M_{34}(\omega_{20})}{M_{31}(\omega_{20})\times M_{34}(\omega _{20})+M_{32}(\omega_{20})\times M_{35}(\omega_{20})}.$$
(21)
In the following, we can obtain
\begin{aligned} \biggl[\frac{d\lambda}{d\tau_{2}} \biggr]^{-1}={}&\bigl(3p_{33}\lambda ^{2}+2p_{32}\lambda+p_{31}+\bigl(4\lambda^{3}+3m_{33}\lambda^{2}+2m_{32}\lambda +m_{31}\bigr)e^{\lambda\tau_{2}} \\ &{}+(2r_{32}\lambda+r_{31})e^{-\lambda\tau _{2}}\bigr) \\ &{}\big/\bigl(\lambda\bigl(r_{32}\lambda^{2}+r_{31}\lambda+r_{30}\bigr)e^{-\lambda\tau _{2}}-\lambda\bigl(\lambda^{4}+m_{33}\lambda^{3}+m_{32}\lambda^{2}+m_{31}\lambda +m_{30}\bigr)e^{\lambda\tau_{2}}\bigr) \\ &{}- \frac{\tau_{2}}{\lambda}, \end{aligned}
which leads to
$$\operatorname{Re} \biggl[\frac{d\lambda}{d\tau_{2}} \biggr]^{-1}_{\tau_{2}=\tau _{20}}= \frac{P_{3R}Q_{3R}+P_{3I}Q_{3I}}{Q_{3R}^{2}+Q_{3I}^{2}},$$
where
\begin{aligned}& P_{3R} = \bigl(m_{31}+r_{31}-3m_{33} \omega_{20}^{2}\bigr)\cos\tau_{20}\omega _{20}-2\bigl((m_{32}-r_{32})\omega_{20}-2 \omega_{20}^{3}\bigr)\sin\tau _{20} \omega_{20}, \\& P_{3I} = \bigl(m_{31}-r_{31}-3m_{33} \omega_{20}^{2}\bigr)\sin\tau_{20}\omega _{20}-2\bigl((m_{32}+r_{32})\omega_{20}-2 \omega_{20}^{3}\bigr)\cos\tau _{20} \omega_{20}, \\& Q_{3R} = \bigl[(r_{30}+m_{30}) \omega_{20}-(r_{32}+m_{32})\omega _{20}^{3}-\omega_{20}^{5}\bigr]\sin \tau_{20}\omega_{20} \\& \hphantom{Q_{3R} ={}}{} -\bigl((r_{31}-m_{31}) \omega_{20}^{2}+m_{33}\omega_{20}^{4} \bigr)\cos\tau _{20}\omega_{20}, \\& Q_{3I} = \bigl[(r_{30}-m_{30}) \omega_{20}-(r_{32}-m_{32})\omega _{20}^{3}-\omega_{20}^{5}\bigr]\cos \tau_{20}\omega_{20} \\& \hphantom{Q_{3I} ={}}{} +\bigl((r_{31}+m_{31}) \omega_{20}^{2}-m_{33}\omega_{20}^{4} \bigr)\sin\tau _{20}\omega_{20}. \end{aligned}

Obviously, if the condition ($$H_{32}$$) $$P_{3R}Q_{3R}+P_{3I}Q_{3I}$$ holds, then $$\operatorname{Re}[\frac{d\lambda}{d\tau_{2}}]_{\tau_{2}=\tau _{20}}^{-1}\neq0$$. That is, if the condition ($$H_{32}$$) holds, then the transversality condition is satisfied. Thus, we have the following results according to the Hopf bifurcation theorem in .

### Theorem 2

If the conditions ($$H_{31}$$)-($$H_{32}$$) hold, then:
1. (i)

the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ of system (2) is asymptotically stable for $$\tau_{2}\in[0,\tau_{20})$$;

2. (ii)

system (2) undergoes a Hopf bifurcation at the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ when $$\tau_{2}=\tau_{20}$$.

### Case 4

$$\tau_{1}=\tau_{2}=\tau>0$$. For $$\tau_{1}=\tau_{2}=\tau$$, equation (6) becomes
\begin{aligned} &\lambda^{4}+m_{43}\lambda^{3}+m_{42} \lambda^{2} + m_{41}\lambda +m_{40} \\ &\quad{} + \bigl(n_{43}\lambda^{3}+n_{42} \lambda^{2}+n_{41}\lambda+n_{40} \bigr)e^{-\lambda \tau} \\ &\quad{} + \bigl(q_{42}\lambda^{2}+q_{41} \lambda+q_{40}\bigr)e^{-2\lambda\tau }+(s_{41} \lambda+s_{40})e^{-3\lambda\tau}=0, \end{aligned}
(22)
where
\begin{aligned}& m_{40} = m_{0},\qquad m_{41}=m_{1}, \qquad m_{42}=m_{2},\qquad m_{43}=m_{3}, \\& n_{40} = n_{0}+p_{0},\qquad n_{41}=n_{1}+p_{1}, \qquad n_{42}=n_{2}+p_{2},\qquad n_{43}=n_{3}+p_{3}, \\& q_{40} = q_{0}+r_{0},\qquad q_{41}=q_{1}+r_{1}, \qquad q_{42}=q_{2}+r_{2},\qquad s_{40}=s_{0},\qquad s_{41}=s_{1}. \end{aligned}
Multiplying by $$e^{\lambda\tau_{2}}$$, equation (22) becomes
\begin{aligned} &n_{43}\lambda^{3}+n_{42} \lambda^{2} + n_{41}\lambda+n_{40} \\ &\quad{} + \bigl(\lambda^{4}+m_{43}\lambda^{3}+m_{42} \lambda^{2}+m_{41}\lambda +m_{40} \bigr)e^{\lambda\tau} \\ &\quad{} + \bigl(q_{42}\lambda^{2}+q_{41} \lambda+q_{40}\bigr)e^{-\lambda\tau }+(s_{41} \lambda+s_{40})e^{-2\lambda\tau}=0. \end{aligned}
(23)
Let $$\lambda=i\omega$$ ($$\omega>0$$) be the root of equation (23), then
$$\textstyle\begin{cases} g_{41}\cos\tau\omega-g_{42}\sin\tau\omega+g_{43}=h_{41}\sin2\tau \omega-h_{42}\cos2\tau\omega, \\ g_{44}\sin\tau\omega+g_{45}\cos\tau\omega+g_{46}=h_{41}\sin2\tau \omega+h_{42}\cos2\tau\omega, \end{cases}$$
(24)
where
\begin{aligned}& g_{41} = \omega^{4}-(m_{42}+q_{42}) \omega^{2}+m_{40}+q_{40}, \\& g_{42} = m_{43}\omega^{3}-(m_{41}-q_{41}) \omega, \\& g_{43} = n_{40}-n_{42}\omega^{2}, \\& g_{44} = \omega^{4}-(m_{42}-q_{42}) \omega^{2}+m_{40}-q_{40}, \\& g_{45} = (m_{41}+q_{41})\omega-m_{43} \omega^{3}, \\& g_{46} = n_{41}\omega-n_{43}\omega^{3}, \\& h_{41} = -s_{41}\omega,\qquad h_{42}=s_{40}. \end{aligned}
Then we can get
$$(g_{41}\cos\tau\omega-g_{42}\sin\tau \omega+g_{43})^{2}+(g_{44}\sin \tau \omega+g_{45}\cos\tau\omega+g_{46})^{2}=h_{41}^{2}+h_{42}^{2}.$$
(25)
As is well known, $$\sin\tau\omega=\pm\sqrt{1-\cos^{2}\tau\omega }$$. Therefore, we consider the following two cases.

### Case I

$$\sin\tau\omega=\sqrt{1-\cos^{2}\tau\omega}$$, then equation (25) can be transformed to the following form:
\begin{aligned} &\bigl(g_{41}\cos\tau\omega-g_{42}\sqrt{1- \cos^{2}\tau\omega }+g_{43}\bigr)^{2}+ \bigl(g_{44}\sqrt{1-\cos^{2}\tau\omega}+g_{45}\cos \tau\omega +g_{46}\bigr)^{2} \\ &\quad=h_{41}^{2}+h_{42}^{2}, \end{aligned}
(26)
from which we can obtain
$$c_{44}\cos^{4}\tau\omega+c_{43} \cos^{3}\tau\omega+c_{42}\cos^{2}\tau \omega+c_{41}\cos\tau\omega+c_{40}=0,$$
(27)
where
\begin{aligned}& c_{40} = \bigl(g_{42}^{2}+g_{43}^{2}+g_{44}^{2}+g_{46}^{2}-h_{41}^{2}-h_{42}^{2} \bigr)^{2}-4(g_{44}g_{46}-g_{42}g_{43})^{2}, \\& c_{41} = 4\bigl(g_{42}^{2}+g_{43}^{2}+g_{44}^{2}+g_{46}^{2}-h_{41}^{2}-h_{42}^{2} \bigr)^{2}(g_{41}g_{43}+g_{45}g_{46}) \\& \hphantom{c_{41} ={}}{} -8(g_{44}g_{45}-g_{41}g_{42}) (g_{44}g_{46}-g_{42}g_{43}), \\& c_{42} = 4(g_{41}g_{43}+g_{45}g_{46})^{2}-4(g_{44}g_{45}-g_{41}g_{42})^{2}+4(g_{44}g_{46}-g_{42}g_{43})^{2} \\& \hphantom{c_{42} ={}}{} +2\bigl(g_{41}^{2}+g_{45}^{2}-g_{42}^{2}-g_{44}^{2} \bigr) \bigl(g_{42}^{2}+g_{43}^{2}+g_{44}^{2}+g_{46}^{2}-h_{41}^{2}-h_{42}^{2} \bigr), \\& c_{43} = (g_{41}g_{43}+g_{45}g_{46}) \bigl(g_{41}^{2}+g_{45}^{2}-g_{42}^{2}-g_{44}^{2} \bigr)+8(g_{44}g_{45}-g_{41}g_{42}) (g_{44}g_{46}-g_{42}g_{43}), \\& c_{44} = \bigl(g_{41}^{2}+g_{45}^{2}-g_{42}^{2}-g_{44}^{2} \bigr)^{2}+4(g_{44}g_{45}-g_{41}g_{42})^{2}. \end{aligned}
Let $$\cos\tau\omega=v_{4}$$ and denote
$$f_{4}(v_{4})=v_{4}^{4}+ \frac{c_{43}}{c_{44}}v_{4}^{3}+\frac {c_{42}}{c_{44}}v_{4}^{2}+ \frac{c_{41}}{c_{44}}v_{4}+\frac{c_{40}}{c_{44}}.$$
Thus,
$$f_{4}^{\prime}(v_{4})=4v_{4}^{3}+ \frac{3c_{43}}{c_{44}}v_{4}^{2}+\frac {2c_{42}}{c_{44}}v_{4}+ \frac{c_{41}}{c_{44}}.$$
Set
$$4v_{4}^{3}+\frac{3c_{43}}{c_{44}}v_{4}^{2}+ \frac{2c_{42}}{c_{44}}v_{4}+\frac {c_{41}}{c_{44}}=0.$$
(28)
Let $$y_{4}=v_{4}+\frac{c_{43}}{4c_{44}}$$. Then equation (28) becomes
$$y_{4}^{3}+\gamma_{41}y_{4}+ \gamma_{40}=0,$$
where
$$\gamma_{41}=\frac{c_{41}}{2c_{44}}-\frac{3c_{43}^{2}}{16c_{44}^{2}},\qquad \gamma_{40}=\frac{c_{43}^{3}}{32c_{44}^{3}}-\frac {c_{42}c_{43}}{8c_{44}^{2}}+\frac{c_{41}}{c_{44}}.$$
Define
\begin{aligned}& \beta_{41} = \biggl(\frac{\gamma_{40}}{2} \biggr)^{2}+ \biggl( \frac {\gamma_{41}}{3} \biggr)^{3},\qquad \beta_{42}= \frac{-1+\sqrt{3}i}{2}, \\& y_{41} = \sqrt{-\frac{\gamma_{40}}{2}+\sqrt{\beta_{41}}}+ \sqrt {-\frac{\gamma_{40}}{2}-\sqrt{\beta_{41}}}, \\& y_{42} = \sqrt{-\frac{\gamma_{40}}{2}+\sqrt{\beta_{41}}} \beta _{42}+\sqrt{-\frac{\gamma_{40}}{2}-\sqrt{\beta_{41}}} \beta _{42}^{2}, \\& y_{43} = \sqrt{-\frac{\gamma_{40}}{2}+\sqrt{\beta_{41}}} \beta _{42}^{2}+\sqrt{-\frac{\gamma_{40}}{2}-\sqrt{ \beta_{41}}}\beta _{42}. \end{aligned}
Thus, we can obtain the expression of $$\cos\tau\omega$$ and we denote $$f_{41}(\omega)=\cos\tau\omega$$. Then we can obtain the expression of $$\sin\tau\omega$$ from equation (26) and we denote $$f_{2}(\omega)=\sin\tau\omega$$. Thus, a function with respect to ω in the following form can be obtained:
$$f_{41}^{2}(\omega)+f_{42}^{2}( \omega)=1.$$
(29)
In order to obtain the main results in this section, we make the following assumption. ($$H_{41}$$): equation (29) has at least one positive root $$\omega_{01}$$. For $$\omega_{01}$$, the corresponding critical value of the delay is
$$\tau_{01}=\frac{1}{\omega_{01}}\arccos f_{41}( \omega_{01}).$$
(30)

### Case II

$$\sin\tau\omega=-\sqrt{1-\cos^{2}\tau\omega}$$, then equation (25) becomes
\begin{aligned} &\bigl(g_{41}\cos\tau\omega+g_{42}\sqrt{1- \cos^{2}\tau\omega }+g_{43}\bigr)^{2}+ \bigl(g_{45}\cos\tau\omega-g_{44}\sqrt{1-\cos^{2} \tau\omega }+g_{46}\bigr)^{2} \\ &\quad=h_{41}^{2}+h_{42}^{2}. \end{aligned}
(31)
Similar to Case I, we can obtain the expression of $$\cos\tau \omega$$, which is denoted as $$f_{41}^{\prime}(\omega)$$, and the expression of $$\sin\tau\omega$$, which is denoted as $$f_{42}^{\prime}(\omega)$$. Then we get
$$\bigl(f_{41}^{\prime}\bigr)^{2}( \omega)+\bigl(f_{42}^{\prime}\bigr)^{2}(\omega)=1.$$
(32)
We assumed that equation (32) has at least one positive root denoted as $$\omega_{02}$$. Then we get the corresponding critical value of the delay
$$\tau_{02}=\frac{1}{\omega_{02}}\arccos f_{41}^{\prime}(\omega_{01}).$$
(33)
Let
$$\tau_{0}=\min\{\tau_{01}, \tau_{02} \}.$$
(34)
Thus, we know that equation (22) has a pair of purely imaginary roots $$\pm i\omega_{0}$$ when $$\tau=\tau_{0}$$. Differentiating the two sides of equation (22) regarding τ, we can get
$$\biggl[\frac{d\lambda}{d\tau} \biggr]^{-1}=\frac{P_{41}(\lambda )}{Q_{41}(\lambda)}- \frac{\tau}{\lambda},$$
where
\begin{aligned}& P_{41}(\lambda) = 4\lambda^{3}+3m_{43} \lambda^{2}+2m_{42}\lambda +m_{41}+ \bigl(3n_{43}\lambda^{3}+2n_{42} \lambda+n_{41}\bigr)e^{-\lambda\tau } \\& \hphantom{P_{41}(\lambda) ={}}{} +(2q_{42}\lambda+q_{41})e^{-2\lambda\tau}+s_{41}e^{-3\lambda\tau }, \\& Q_{41}(\lambda) = \lambda\bigl(n_{43}\lambda^{3}+n_{42} \lambda ^{2}+n_{41}\lambda+n_{40} \bigr)e^{-\lambda\tau}+2\lambda\bigl(q_{42}\lambda ^{2}+q_{41} \lambda+q_{40}\bigr)e^{-2\lambda\tau} \\& \hphantom{Q_{41}(\lambda) ={}}{} +3\lambda(s_{41}\lambda+s_{40})e^{-3\lambda\tau}. \end{aligned}
Further we get
$$\operatorname{Re} \biggl[\frac{d\lambda}{d\tau} \biggr]^{-1}_{\tau=\tau _{0}}= \frac{P_{4R}Q_{4R}+P_{4I}Q_{4I}}{Q_{4R}^{2}+Q_{4I}^{2}},$$
where
\begin{aligned}& P_{4R} = 2n_{42}\omega_{0}\sin\tau_{0} \omega_{0}+\bigl(n_{41}-3n_{43}\omega _{0}^{2}\bigr)\cos\tau_{0}\omega_{0} \\& \hphantom{P_{4R} ={}}{} +2q_{42}\omega_{0}\sin2\tau_{0} \omega_{0}+q_{41}\cos2\tau_{0}\omega _{0} \\& \hphantom{P_{4R} ={}}{} +s_{41}\cos3\tau_{0}\omega_{0}+m_{41}-3m_{43} \omega_{0}^{2}, \\& P_{4I} = 2n_{42}\omega_{0}\cos\tau_{0} \omega_{0}-\bigl(n_{41}-3n_{43}\omega _{0}^{2}\bigr)\sin\tau_{0}\omega_{0} \\& \hphantom{P_{4I} ={}}{} +2q_{42}\omega_{0}\cos2\tau_{0} \omega_{0}-q_{41}\sin2\tau_{0}\omega _{0} \\& \hphantom{P_{4I} ={}}{} -s_{41}\sin3\tau_{0}\omega_{0}+2m_{42} \omega_{0}-4\omega_{0}^{3}, \\& Q_{4R} = \bigl(n_{40}\omega_{0}-n_{42} \omega_{0}^{3}\bigr)\sin\tau_{0}\omega _{0}+\bigl(n_{43}\omega_{0}^{4}-n_{41} \omega_{0}^{2}\bigr)\cos\tau_{0}\omega_{0} \\& \hphantom{Q_{4R} ={}}{} +2\bigl(q_{40}\omega_{0}-q_{42} \omega_{0}^{3}\bigr)\sin2\tau_{0}\omega _{0}-2q_{41}\omega_{0}^{2}\cos2 \tau_{0}\omega_{0} \\& \hphantom{Q_{4R} ={}}{} +3s_{40}\omega_{0}\sin3\tau_{0} \omega_{0}-3s_{41}\omega_{0}^{2}\cos3\tau _{0}\omega_{0}, \\& Q_{4I} = \bigl(n_{40}\omega_{0}-n_{42} \omega_{0}^{3}\bigr)\cos\tau_{0}\omega _{0}-\bigl(n_{43}\omega_{0}^{4}-n_{41} \omega_{0}^{2}\bigr)\sin\tau_{0}\omega_{0} \\& \hphantom{Q_{4I} ={}}{} +2\bigl(q_{40}\omega_{0}-q_{42} \omega_{0}^{3}\bigr)\cos2\tau_{0}\omega _{0}+2q_{41}\omega_{0}^{2}\sin2 \tau_{0}\omega_{0} \\& \hphantom{Q_{4I} ={}}{} +3s_{40}\omega_{0}\cos3\tau_{0} \omega_{0}+3s_{41}\omega_{0}^{2}\sin3\tau _{0}\omega_{0}. \end{aligned}

Clearly, if the condition ($$H_{42}$$) $$P_{4R}Q_{4R}+P_{4I}Q_{4I}\neq0$$ holds, then $$\operatorname{Re}[\frac{d\lambda}{d\tau}]^{-1}_{\tau=\tau _{0}}\neq0$$. According to the discussion above and the Hopf bifurcation theorem in , we have the following results.

### Theorem 3

If the conditions ($$H_{41}$$)-($$H_{42}$$) hold, then:
1. (i)

the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ of system (2) is asymptotically stable for $$\tau\in[0,\tau_{0})$$;

2. (ii)

system (2) undergoes a Hopf bifurcation at the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ when $$\tau=\tau_{0}$$.

### Case 5

$$\tau_{1}>0$$, $$\tau_{2}>0$$, and $$\tau_{2}\in(0, \tau _{20})$$.

Let $$\lambda=i\omega_{1*}$$ ($$\omega_{1*}>0$$) be the root of equation (3), then
$$\textstyle\begin{cases} M_{51}(\omega_{1*})\sin\tau_{1}\omega_{1*}+M_{52}(\omega_{1*})\cos \tau_{1}\omega_{1*}=M_{53}(\omega_{1*}), \\ M_{51}(\omega_{1*})\cos\tau_{1}\omega_{1*}-M_{52}(\omega_{1*})\sin \tau_{1}\omega_{1*}=M_{54}(\omega_{1*}), \end{cases}$$
(35)
where
\begin{aligned}& M_{51}(\omega_{1*}) = n_{1}\omega_{1*}-n_{3} \omega_{1*}^{3}+q_{1}\omega _{1*}\cos \tau_{2}\omega_{1*}-\bigl(q_{0}-q_{2} \omega_{1*}^{2}\bigr)\sin\tau_{2}\omega _{1*} \\& \hphantom{M_{51}(\omega_{1*}) ={}}{} +s_{1}\omega_{1*}\cos2\tau_{2} \omega_{1*}-s_{0}\sin2\tau_{2}\omega _{1*}, \\& M_{52}(\omega_{1*}) = n_{0}-n_{2} \omega_{1*}^{2}+q_{1}\omega_{1*}\sin\tau _{2}\omega_{1*}+\bigl(q_{0}-q_{2} \omega_{1*}^{2}\bigr)\cos\tau_{2} \omega_{1*} \\& \hphantom{M_{52}(\omega_{1*}) ={}}{} +s_{1}\omega_{1*}\sin2\tau_{2} \omega_{1*}+s_{0}\cos2\tau_{2}\omega _{1*}, \\& M_{53}(\omega_{1*}) = m_{2}\omega_{1*}^{2}- \omega _{1*}^{4}-m_{0}-\bigl(p_{0}-p_{2} \omega_{1*}^{2}\bigr)\cos\tau_{2} \omega_{1*}-\bigl(p_{1}\omega _{1*}-p_{3} \omega_{1*}^{3}\bigr)\sin\tau_{2} \omega_{1*} \\& \hphantom{M_{53}(\omega_{1*}) ={}}{} -\bigl(r_{0}-r_{2}\omega_{1*}^{2} \bigr)\cos2\tau_{2}\omega_{1*}-r_{1} \omega_{1*}\sin 2\tau_{2}\omega_{1*}, \\& M_{53}(\omega_{1*}) = m_{3}\omega_{1*}^{3}-m_{1} \omega_{1*}+\bigl(p_{0}-p_{2}\omega _{1*}^{2}\bigr)\sin\tau_{2}\omega_{1*}- \bigl(p_{1}\omega_{1*}-p_{3}\omega _{1*}^{3}\bigr)\cos\tau_{2}\omega_{1*} \\& \hphantom{M_{53}(\omega_{1*}) ={}}{} +\bigl(r_{0}-r_{2}\omega_{1*}^{2} \bigr)\sin2\tau_{2}\omega_{1*}-r_{1} \omega_{1*}\cos 2\tau_{2}\omega_{1*}. \end{aligned}
Thus, we can obtain
\begin{aligned} &f_{50}(\omega_{1*}) + 2f_{51}( \omega_{1*})\cos\tau_{2}\omega _{1*}+2f_{52}( \omega_{1*})\sin\tau_{2}\omega_{1*} \\ &\quad{} + 2f_{53}(\omega_{1*})\cos2\tau_{2} \omega_{1*}+2f_{54}(\omega _{1*})\sin2 \tau_{2}\omega_{1*}=0, \end{aligned}
(36)
where
\begin{aligned}& f_{50}(\omega_{1*}) = \omega_{1*}^{8}+ \bigl(p_{3}^{2}+m_{3}^{2}-n_{3}^{2}-2m_{2} \bigr)\omega _{1*}^{6} \\& \hphantom{f_{50}(\omega_{1*}) ={}}{} +\bigl(m_{2}^{2}+p_{2}^{2}-n_{2}^{2}-q_{2}^{2}-2m_{1}m_{3}-2p_{1}p_{3}+2n_{1}n_{3}+2m_{0} \bigr)\omega _{1*}^{4} \\& \hphantom{f_{50}(\omega_{1*}) ={}}{} +\bigl(p_{1}^{2}+r_{1}^{2}+m_{1}^{2}-n_{1}^{2}-q_{1}^{2}-s_{1}^{2}-2m_{0}m_{2}-2p_{0}p_{2} \\& \hphantom{f_{50}(\omega_{1*}) ={}}{} +2n_{0}n_{2}-2r_{0}r_{2}+2q_{0}q_{2} \bigr)\omega _{1*}^{2}+p_{0}^{2}+m_{0}^{2}+r_{0}^{2}-n_{0}^{2}-q_{0}^{2}-s_{0}^{2}, \\& f_{51}(\omega_{1*}) = (m_{3}p_{3}-p_{2}) \omega _{1*}^{6}+(m_{2}p_{2}+p_{2}r_{2}-p_{3}r_{1}-m_{1}p_{3}-m_{3}p_{1} \\& \hphantom{f_{51}(\omega_{1*}) ={}}{} -n_{2}q_{2}+n_{3}q_{1}+p_{0}) \omega_{1*}^{4}+(m_{1}p_{1}-m_{0}p_{2}-m_{2}p_{0}-p_{0}r_{2} \\& \hphantom{f_{51}(\omega_{1*}) ={}}{} -p_{2}r_{0}+p_{1}r_{1}-n_{1}q_{1}+n_{0}q_{2}+n_{2}q_{0}-q_{1}s_{1}+q_{2}s_{0}) \omega_{1*}^{2} \\& \hphantom{f_{51}(\omega_{1*}) ={}}{} +m_{0}p_{0}+p_{0}r_{0}-n_{0}q_{0}-q_{0}s_{0}, \\& f_{52}(\omega_{1*}) = -p_{3}\omega _{1*}^{7}+(m_{2}p_{3}-m_{3}p_{2}-p_{3}r_{2}+n_{3}q_{2}+p_{1}) \omega_{1*}^{5} \\& \hphantom{f_{52}(\omega_{1*}) ={}}{} +(m_{1}p_{2}-m_{2}p_{1}-m_{0}p_{3}+m_{3}p_{0}-p_{2}r_{1}-p_{1}r_{2}-p_{3}r_{0}-n_{1}q_{2} \\& \hphantom{f_{52}(\omega_{1*}) ={}}{} +n_{2}q_{1}-n_{3}q_{0}+s_{1}q_{2}) \omega_{1*}^{3} \\& \hphantom{f_{52}(\omega_{1*}) ={}}{} +(m_{0}p_{1}-m_{1}p_{0}+p_{0}r_{1}-p_{1}r_{0}-n_{0}q_{1}+n_{1}q_{0}+q_{0}s_{1}-q_{1}s_{0}) \omega _{1*}, \\& f_{53}(\omega_{1*}) = -r_{2}\omega _{1*}^{6}+(m_{2}r_{2}-m_{3}r_{1}+n_{3}s_{1}+r_{0}) \omega_{1*}^{4} \\& \hphantom{f_{53}(\omega_{1*}) ={}}{} +(m_{1}r_{1}-m_{0}r_{2}-m_{2}r_{0}-n_{1}s_{1}+n_{2}s_{0}) \omega _{1*}^{2}+m_{0}r_{0}-n_{0}s_{0}, \\& f_{54}(\omega_{1*}) = (r_{1}-m_{3}r_{2}) \omega _{1*}^{5}+(m_{1}r_{2}-m_{2}r_{1}+m_{3}r_{0}-n_{3}s_{0}+n_{2}s_{1}) \omega_{1*}^{3} \\& \hphantom{f_{54}(\omega_{1*}) ={}}{} +(m_{0}r_{1}-m_{1}r_{0}-n_{0}s_{1}+n_{1}s_{0}) \omega_{1*}. \end{aligned}
Suppose that ($$H_{51}$$): equation (36) has at least one positive root. Then there exists $$\omega_{10}^{*}>0$$ such that equation (6) has a pair of purely imaginary roots $$\pm i\omega _{10}^{*}$$. For $$\omega_{10}^{*}$$,
$$\tau_{10}^{*}=\frac{1}{\omega_{10}^{*}}\arccos \frac{M_{51}(\omega _{10}^{*})\times M_{54}(\omega_{10}^{*})+M_{52}(\omega_{10}^{*})\times M_{53}(\omega_{10}^{*})}{M_{51}^{2}(\omega_{10}^{*})+M_{52}^{2}(\omega_{10}^{*})}.$$
(37)
In addition, we can get
$$\biggl[\frac{d\lambda}{d\tau_{1}} \biggr]^{-1}=\frac{P_{51}(\lambda )}{Q_{51}(\lambda)}- \frac{\tau_{1}}{\lambda},$$
with
\begin{aligned}& P_{51}(\lambda) = 4\lambda^{3}+3m_{3} \lambda^{2}+2m_{2}\lambda +m_{1}+ \bigl(3n_{3}\lambda^{2}+2n_{2}\lambda+n_{1} \bigr)e^{-\lambda\tau_{1}} \\& \hphantom{P_{51}(\lambda) ={}}{} -\bigl(\tau_{2}p_{3}\lambda^{3}-(3p_{3}- \tau_{2}p_{2})\lambda^{2}-(2p_{2}-\tau _{2}p_{1})\lambda-p_{1}+\tau_{2}p_{0} \bigr)e^{-\lambda\tau_{2}} \\& \hphantom{P_{51}(\lambda) ={}}{} -\bigl(\tau_{2}q_{2}\lambda^{2}-(2q_{2}- \tau_{2}q_{1})\lambda-q_{1}+\tau _{2}q_{0}\bigr)e^{-\lambda(\tau_{1}+\tau_{2})} \\& \hphantom{P_{51}(\lambda) ={}}{} -\bigl(2\tau_{2}r_{2}\lambda^{2}-(2r_{2}-2 \tau_{2}r_{1})\lambda-r_{1}+2\tau _{2}r_{0}\bigr)e^{-2\lambda\tau_{2}} \\& \hphantom{P_{51}(\lambda) ={}}{} -(2\tau_{2}s_{2}\lambda+2 \tau_{2}s_{0})e^{-\lambda(\tau_{1}+2\tau _{2})}, \\& Q_{51}(\lambda) = \bigl(n_{3}\lambda^{4}+n_{2} \lambda^{3}+n_{1}\lambda ^{2}+n_{0} \lambda\bigr)e^{-\lambda\tau_{1}}+\bigl(q_{2}\lambda^{3}+q_{1} \lambda ^{2}+q_{0}\lambda\bigr)e^{-\lambda(\tau_{1}+\tau_{2})} \\& \hphantom{Q_{51}(\lambda) ={}}{} +\bigl(s_{1}\lambda^{2}+s_{0} \lambda\bigr)e^{-\lambda(\tau_{1}+2\tau_{2})}. \end{aligned}
Define
$$\operatorname{Re} \biggl[\frac{d\lambda}{d\tau_{1}} \biggr]^{-1}_{\tau_{1}=\tau _{10}^{*}}= \frac{P_{5R}Q_{5R}+P_{5I}Q_{5I}}{Q_{5R}^{2}+Q_{5I}^{2}}.$$

Clearly, if the condition ($$H_{52}$$) $$P_{5R}Q_{5R}+P_{5I}Q_{5I}\neq0$$ holds, then $$\operatorname{Re}[\frac{d\lambda}{d\tau_{1}}]^{-1}_{\tau_{1}=\tau _{10}^{*}}\neq0$$. Therefore, we can have the following results according to the Hopf bifurcation theorem in .

### Theorem 4

If the conditions ($$H_{51}$$)-($$H_{52}$$) hold, then:
1. (i)

the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ of system (2) is asymptotically stable for $$\tau_{2}\in[0,\tau_{20}^{*})$$;

2. (ii)

system (2) undergoes a Hopf bifurcation at the positive equilibrium $$E_{*}(S_{*}, I_{*}, Q_{*}, R_{*})$$ when $$\tau_{2}=\tau_{20}^{*}$$.

## 3 Properties of the Hopf bifurcation

In this section, we investigate the direction, stability, and period of the Hopf bifurcation for $$\tau_{1}>0$$, $$\tau_{2}\in(0, \tau_{20})$$. We assume that $$\tau_{20}^{*}<\tau_{10}^{*}$$, where $$\tau_{20}^{*}\in(0, \tau_{20})$$ in this section. Let $$\tau_{1}=\tau_{10}^{*}+\mu$$, $$\mu\in R$$, $$u_{1}=S(\tau_{1}t)$$, $$u_{2}=I(\tau_{1}t)$$, $$u_{3}=Q(\tau_{1}t)$$, $$u_{4}=R(\tau_{1}t)$$. Then system (2) becomes
$$\dot{u}(t)=L_{\mu}u_{t}+F(\mu, u_{t}),$$
(38)
where
$$L_{\mu}\phi=\bigl(\tau_{10}^{*}+\mu\bigr) \biggl(A_{\max}\phi(0)+B_{2\max}\phi \biggl(-\frac{\tau_{20}^{*}}{\tau_{10}^{*}} \biggr)+B_{1\max}\phi(-1) \biggr),$$
and
$$F(\mu, u_{t})=\bigl(\tau_{10}^{*}+\mu\bigr) (F_{1}, F_{2}, 0, 0)^{T},$$
with
\begin{aligned}& \phi(\theta)=\bigl(\phi_{1}(\theta), \phi_{2}(\theta), \phi_{3}(\theta), \phi_{4}(\theta)\bigr)^{T}\in C \bigl([-1, 0], R^{4}\bigr), \\& A_{\max}=\left ( \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} \alpha_{1} &{0} &{0} &{0}\\ {0} &\alpha_{2} &{0} &{0}\\ {0} &\alpha_{3} &\alpha_{4} &{0}\\ {0} &{0} &{0} &\alpha_{5} \end{array}\displaystyle \right ),\qquad B_{1\max}=\left ( \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} \beta_{1} &\beta_{2} &{0} &{0}\\ \beta_{3} &\beta_{4} &{0} &{0}\\ {0} &{0} &{0} &{0}\\ {0} &{0} &{0} &{0} \end{array}\displaystyle \right ), \\& B_{2\max}=\left ( \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} {0} &{0} &{0} &{0}\\ {0} &\beta_{5} &{0} &{0}\\ {0} &{0} &\beta_{6} &{0}\\ {0} &\beta_{7} &\beta_{8} &{0} \end{array}\displaystyle \right ), \end{aligned}
and
\begin{aligned}& F_{1} = \beta_{13}\phi_{1}(-1) \phi_{2}(-1)+\beta_{14}\phi_{2}^{2}(-1)+ \beta _{15}\phi_{1}(-1)\phi_{2}^{2}(-1), \\& F_{2} = \beta_{23}\phi_{1}(-1) \phi_{2}(-1)+\beta_{24}\phi_{2}^{2}(-1)+ \beta _{25}\phi_{1}(-1)\phi_{2}^{2}(-1). \end{aligned}
Therefore, according to the Riesz representation theorem, there exists a function $$\eta(\theta, \mu)$$ for $$\theta\in[-1, 0]$$ such that
$$L_{\mu}\phi= \int_{-1}^{0}d\eta(\theta,\mu)\phi(\theta),\quad\phi \in C\bigl([-1, 0], R^{4}\bigr).$$
In fact, we choose
$$\eta(\theta,\mu)= \textstyle\begin{cases} (\tau_{10}^{*}+\mu)(A_{\max}+B_{1\max}+B_{2\max}),& \theta=0, \\ (\tau_{10}^{*}+\mu)(B_{1\max}+B_{2\max}),& \theta\in[-\frac{\tau _{20}^{*}}{\tau_{10}^{*}},0), \\ (\tau_{10}^{*}+\mu)B_{1\max},& \theta\in(-1,-\frac{\tau_{20}^{*}}{\tau _{10}^{*}}), \\ 0,& \theta=-1. \end{cases}$$
For $$\phi\in C([-1,0], R^{4})$$, we define
$$A(\mu)\phi= \textstyle\begin{cases} \frac{d\phi(\theta)}{d\theta},& -1\leq\theta< 0, \\ \int_{-1}^{0}d\eta(\theta,\mu)\phi(\theta),& \theta=0, \end{cases}$$
and
$$R(\mu)\phi= \textstyle\begin{cases} 0, &-1\leq\theta< 0, \\ F(\mu,\phi),& \theta=0. \end{cases}$$
Then system (38) can be transformed into the following form:
$$\dot{u}(t)=A(\mu)u_{t}+R(\mu)u_{t}.$$
For $$\varphi\in C([-1, 0], (R^{4})^{*})$$, the adjoint operator $$A^{*}$$ of A is defined by
$$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}$$
associated with a bilinear form
$$\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,$$
(39)
where $$\eta(\theta)=\eta(\theta, 0)$$.
Next, we calculate the eigenvector $$\rho(\theta)$$ of $$A(0)$$ belonging to the eigenvalue $$+i\tau_{10}^{*}\omega_{10}^{*}$$ and the eigenvector $$\rho^{*}(s)$$ belonging to the eigenvalue $$-i\tau_{10}^{*}\omega _{10}^{*}$$. According to a direction computation, we obtain $$\rho(\theta)=(1, \rho_{2}, \rho_{3}, \rho_{4})^{T}e^{i\tau_{10}^{*}\omega _{10}^{*}\theta}$$, $$\rho^{*}(\theta)=V(1, \rho_{2}^{*}, \rho_{3}^{*}, \rho _{4}^{*})e^{i\tau_{10}^{*}\omega_{10}^{*}s}$$, where
\begin{aligned}& \rho_{2} = \frac{i\omega_{10}^{*}-\alpha_{1}-\beta_{1}e^{-i\tau _{10}^{*}\omega_{10}^{*}}}{\beta_{2}e^{-i\tau_{10}^{*}\omega_{10}^{*}}},\qquad \rho _{3}= \frac{\alpha_{3}(i\omega_{10}^{*}-\alpha_{1}-\beta_{1}e^{-i\tau _{10}^{*}\omega_{10}^{*}})}{\beta_{2}(i\omega_{10}^{*}-\alpha_{4}-\beta _{6})e^{-i\tau_{10}^{*}\omega_{10}^{*}}}, \\& \rho_{4} = \frac{\beta_{7}\rho_{2}+\beta_{8}\rho_{3}}{i\omega _{10}^{*}-\alpha_{5}}, \qquad\rho_{2}^{*}=- \frac{i\omega_{10}^{*}+\alpha_{1}+\beta _{1}e^{i\tau_{10}^{*}\omega_{10}^{*}}}{\beta_{3}e^{i\tau_{10}^{*}\omega _{10}^{*}}}, \\& \rho_{3}^{*} = \frac{(\beta_{2}\beta_{8}e^{i\tau_{10}^{*}\omega _{10}^{*}}+i\omega_{10}^{*}+\alpha_{2}+\beta_{4}e^{i\tau_{10}^{*}\omega _{10}^{*}}+\beta_{5}e^{i\tau_{20}^{*}\omega_{10}^{*}})\rho_{2}^{*}}{\beta _{4}(i\omega_{10}^{*}+\alpha_{4}+\beta_{8}e^{i\tau_{20}^{*}\omega _{10}^{*}})-\alpha_{3}\beta_{8}}, \\& \rho_{4}^{*} = -\frac{(i\omega_{10}^{*}+\alpha_{4}+\beta_{6}e^{i\tau _{20}^{*}\omega_{10}^{*}})\rho_{3}^{*}}{\beta_{8}e^{i\tau_{20}^{*}\omega _{10}^{*}}}. \end{aligned}
From equation (39), we have
\begin{aligned}& \bigl\langle \rho^{*}(s), \rho(\theta)\bigr\rangle = \bar{V}\bigl[1+ \rho_{2}\bar{\rho}_{2}^{*}+\rho_{3}\bar { \rho}_{3}^{*}+\rho_{4}\bar{\rho}_{4}^{*}+ \tau_{10}^{*}e^{-i\tau_{10}^{*}\omega _{10}^{*}}\bigl(\beta_{1}+ \beta_{3}\bar{\rho}_{2}^{*}+\rho_{2}\bigl(\beta \beta_{2}+\beta _{4}\bar{\rho}_{3}^{*}\bigr)\bigr) \\& \hphantom{\langle\rho^{*}(s), \rho(\theta)\rangle ={}}{} +\tau_{20}^{*}e^{-i\tau_{20}^{*}\omega_{10}^{*}}\bigl(\rho \rho_{2}\bigl(\beta _{5}\bar{\rho}_{2}^{*}+ \beta_{7}\bar{\rho}_{4}^{*}\bigr)+\rho_{4}\bigl( \beta_{6}\bar{\rho }_{3}^{*}+\beta_{8}\bar{ \rho}_{4}^{*}\bigr)\bigr)\bigr]. \end{aligned}
Let $$\langle\rho^{*}(s), \rho(\theta)\rangle=1$$, then
\begin{aligned} \bar{V} ={}& \bigl[1+\rho_{2}\bar{\rho}_{2}^{*}+ \rho_{3}\bar{\rho}_{3}^{*}+\rho _{4}\bar{ \rho}_{4}^{*}+\tau_{10}^{*}e^{-i\tau_{10}^{*}\omega_{10}^{*}}\bigl(\beta _{1}+\beta_{3}\bar{\rho}_{2}^{*}+\rho_{2} \bigl(\beta\beta_{2}+\beta_{4}\bar{\rho }_{3}^{*} \bigr)\bigr) \\ &{} +\tau_{20}^{*}e^{-i\tau_{20}^{*}\omega_{10}^{*}} \bigl(\rho \rho_{2}\bigl(\beta _{5}\bar{\rho}_{2}^{*}+ \beta_{7}\bar{\rho}_{4}^{*}\bigr)+\rho_{4}\bigl( \beta_{6}\bar{\rho }_{3}^{*}+\beta_{8}\bar{ \rho}_{4}^{*}\bigr)\bigr)\bigr]^{-1}. \end{aligned}
Next, we can get expressions of $$g_{20}$$, $$g_{11}$$, $$g_{02}$$, and $$g_{21}$$, which can determine the properties of the Hopf bifurcation by the algorithms introduced in , and using a similar computation process as used in [23, 24]:
\begin{aligned}& g_{20} = 2\tau_{10}^{*}\bar{V}\bigl[\bigl( \beta_{13}+\beta_{23}\bar{\rho }_{2}^{*}\bigr) \rho^{(1)}(-1)\rho^{(2)}(-1)+\bigl(\beta_{14}+ \beta_{24}\bar{\rho }_{2}^{*}\bigr) \bigl(\rho^{(2)}(-1) \bigr)^{2}\bigr], \\& g_{11} = \tau_{10}^{*}\bar{V}\bigl[\bigl(\beta_{13}+ \beta_{23}\bar{\rho }_{2}^{*}\bigr) \bigl(\rho^{(1)}(-1) \bar{\rho}^{(2)}(-1)+\bar{\rho}^{(1)}(-1)\rho ^{(2)}(-1)\bigr) \\& \hphantom{g_{11} ={}}{} +2\bigl(\beta_{14}+\beta_{24}\bar{ \rho}_{2}^{*}\bigr)\rho^{(2)}(-1)\bar{\rho }^{(2)}(-1) \bigr], \\& g_{02} = 2\tau_{10}^{*}\bar{V}\bigl[\bigl( \beta_{13}+\beta_{23}\bar{\rho }_{2}^{*}\bigr)\bar{ \rho}^{(1)}(-1)\bar{\rho}^{(2)}(-1)+\bigl(\beta_{14}+ \beta _{24}\bar{\rho}_{2}^{*}\bigr) \bigl(\bar{ \rho}^{(2)}(-1)\bigr)^{2}\bigr], \\& g_{21} = 2\tau_{10}^{*}\bar{V}\biggl[\bigl( \beta_{13}+\beta_{23}\bar{\rho }_{2}^{*}\bigr) \biggl(W_{11}^{(1)}(-1)+\frac{1}{2}W_{20}^{(1)}(-1) \bar{\rho }^{(2)}(-1)+W_{11}^{(2)}(-1) \rho^{(1)}(-1) \\& \hphantom{g_{21} ={}}{} +\frac{1}{2}W_{20}^{(2)}(-1)\bar{ \rho}^{(-1)}(-1)\biggr) \\& \hphantom{g_{21} ={}}{} +\bigl(\beta_{14}+\beta_{24}\bar{ \rho}_{2}^{*}\bigr) \bigl(2W_{11}^{(2)}(-1)\rho ^{(2)}(-1)+W_{20}^{(2)}(-1)\bar{\rho}^{(2)}(-1) \bigr) \\& \hphantom{g_{21} ={}}{} +\bigl(\beta_{15}+\beta_{25}\bar{ \rho}_{2}^{*}\bigr) \bigl(\bar{\rho }^{(1)}(-1) \bigl( \rho^{(2)}(-1)\bigr)^{2}+2\rho^{(1)}(-1) \rho^{(2)}(-1)\bar {\rho}^{(2)}(-1)\bigr)\biggr], \end{aligned}
with
\begin{aligned}& W_{20}(\theta) = \frac{ig_{20}\rho(0)}{\tau_{10}^{*}\omega _{10}^{*}}e^{i\tau_{10}^{*}\omega_{10}^{*}\theta}+ \frac{i\bar {g}_{02}\bar{\rho}(0)}{3\tau_{10}^{*}\omega_{10}^{*}}e^{-i\tau _{10}^{*}\omega_{10}^{*}\theta}+E_{1}e^{2i\tau_{10}^{*}\omega_{10}^{*}\theta }, \\& W_{11}(\theta) = -\frac{ig_{11}\rho(0)}{\tau_{10}^{*}\omega _{10}^{*}}e^{i\tau_{10}^{*}\omega_{10}^{*}\theta}+ \frac{i\bar {g}_{11}\bar{\rho}(0)}{\tau_{10}^{*}\omega_{10}^{*}}e^{-i\tau _{10}^{*}\omega_{10}^{*}\theta}+E_{2}, \end{aligned}
where $$E_{1}$$ and $$E_{2}$$ can be obtained by the following two equations, respectively:
\begin{aligned}& E_{1}=2\left ( \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} \alpha_{1}^{\prime}&-\beta_{2}e^{-2i\tau_{10}^{*}\omega_{10}^{*}} &{0} &{0}\\ -\beta_{3}e^{-2i\tau_{10}^{*}\omega_{10}^{*}} &\alpha_{2}^{\prime}&{0} &{0}\\ {0} &-\alpha_{3} &\alpha_{4}^{\prime}&{0}\\ {0} &-\beta_{7}e^{-2i\tau_{20}^{*}\omega_{10}^{*}} &-\beta_{8}e^{-2i\tau _{20}^{*}\omega_{10}^{*}} &\alpha_{5}^{\prime}\end{array}\displaystyle \right )^{-1}\left ( \textstyle\begin{array}{@{}c@{}} E_{1}^{(1)}\\ E_{1}^{(2)}\\ 0\\ 0 \end{array}\displaystyle \right ), \\& E_{2}=-\left ( \textstyle\begin{array}{@{}c@{\quad}c@{\quad}c@{\quad}c@{}} \alpha_{1}+\beta_{1} &\beta_{2} &a_{13} &{0}\\ \beta_{3} &\alpha_{2}+\beta_{4}+\beta_{5} &{0} &{0}\\ {0} &\alpha_{3} &\alpha_{4}+\beta_{6} &{0}\\ {0} &\beta_{7} &\beta_{8} &\alpha_{5} \end{array}\displaystyle \right )^{-1}\left ( \textstyle\begin{array}{@{}c@{}} E_{2}^{(1)}\\ E_{2}^{(2)}\\ 0\\ 0 \end{array}\displaystyle \right ), \end{aligned}
where
\begin{aligned}& \alpha_{1}^{\prime}= 2i\omega_{10}^{*}- \alpha_{1}-\beta_{1}e^{-2i\tau _{10}^{*}\omega_{10}^{*}}, \\& \alpha_{2}^{\prime}= 2i\omega_{10}^{*}- \alpha_{2}-\beta_{4}e^{-2i\tau _{10}^{*}\omega_{10}^{*}}-\beta_{5}e^{-2i\tau_{20}^{*}\omega_{10}^{*}}, \\& \alpha_{4}^{\prime}= 2i\omega_{10}^{*}- \alpha_{4}-\beta_{6}e^{-2i\tau _{20}^{*}\omega_{10}^{*}}, \\& \alpha_{5}^{\prime}= 2i\omega_{10}^{*}- \alpha_{5}, \end{aligned}
and
\begin{aligned}& E_{1}^{(1)} = \beta_{13}\rho^{(1)}(-1) \rho^{(2)}(-1)+\beta_{14}\bigl(\rho ^{(2)}(-1) \bigr)^{2}, \\& E_{1}^{(2)} = \beta_{23}\rho^{(1)}(-1) \rho^{(2)}(-1)+\beta_{24}\bigl(\rho ^{(2)}(-1) \bigr)^{2}, \\& E_{2}^{(1)} = \beta_{13}\bigl(\rho^{(1)}(-1) \bar{\rho}^{(2)}(-1)+\bar {\rho}^{(1)}(-1)\rho^{(2)}(-1) \bigr)+2\beta_{14}\rho^{(2)}(-1)\bar{\rho }^{(2)}(-1), \\& E_{2}^{(2)} = \beta_{23}\bigl(\rho^{(1)}(-1) \bar{\rho}^{(2)}(-1)+\bar {\rho}^{(1)}(-1)\rho^{(2)}(-1) \bigr)+2\beta_{24}\rho^{(2)}(-1)\bar{\rho }^{(2)}(-1). \end{aligned}
Then we get the following coefficients:
\begin{aligned} &C_{1}(0)=\frac{i}{2\tau_{10}^{*}\omega_{10}^{*}} \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 _{10}^{*})\}}, \\ &\beta_{2}=2{\operatorname{Re}\bigl\{ C_{1}(0)\bigr\} }, \\ &T_{2}=-\frac{\operatorname{Im}\{C_{1}(0)\}+\mu_{2}\operatorname{Im}\{\lambda'(\tau _{10}^{*})\}}{\tau_{10}^{*}\omega_{10}^{*}}. \end{aligned}
(40)

According to the analysis of the properties of Hopf bifurcation in , we have the following results.

### Theorem 5

For system (2), if $$\mu_{2}>0$$ ($$\mu_{2}<0$$), the Hopf bifurcation is supercritical (subcritical). If $$\beta_{2}<0$$ ($$\beta_{2}>0$$), the bifurcating periodic solutions are stable (unstable). If $$T_{2}>0$$ ($$T_{2}<0$$), the period of the bifurcating periodic solutions increases (decreases).

## 4 Numerical solutions

In this section, a numerical example of system (2) is provided to illustrate the validity of our obtained theoretical results in Sections 2 and 3. We take $$A=10$$, $$\beta=0.002$$, $$d=0.01$$, $$a=0.01$$, $$\sigma=0.3$$, $$\gamma =0.2$$, $$b=0.25$$, $$p=0.6$$. Then we can get a specific case of system (2).

By a direct computation, we get $$R_{0}=18.4911>1$$ and the positive equilibrium $$E_{*}(13.1765, 19.7365, 6.8848, 776.6628)$$. It can be verified that the condition ($$H_{1}$$) and other conditions for existence of the Hopf bifurcation are satisfied.

For $$\tau_{1}>0$$, $$\tau_{2}=0$$. We can obtain $$\omega_{10}=3.6828$$, $$\tau _{10}=0.5720$$. According to Theorem 1, we know that $$E_{*}(13.1765, 19.7365, 6.8848, 776.6628)$$ is asymptotically stable when $$\tau_{1}\in[0, 0.5720)$$, which can be illustrated by the simulation in Figure 1. However, once the value of $$\tau_{1}$$ is above the critical value $$\tau_{10}=0.5720$$, then $$E_{*}(13.1765, 19.7365, 6.8848, 776.6628)$$ will lose stability and a Hopf bifurcation occurs and a family of periodic solutions bifurcate from $$E_{*}(13.1765, 19.7365, 6.8848, 776.6628)$$. This phenomenon is described in Figure 2. Similarly, we have $$\omega_{20}=1.9205$$, $$\tau_{20}=1.1461$$ for $$\tau _{1}=0$$, $$\tau_{2}>0$$, and $$\omega_{0}=1.6026$$, $$\tau_{0}=0.4085$$ for $$\tau _{1}=\tau_{2}=\tau>0$$, respectively. The corresponding waveforms are omitted here. Figure 1 The trajectory graphs with $$\pmb{\tau_{1}=0.45<\tau_{10}=0.5720}$$ and initial value data ‘2.15, 29.39, 9.36, 775.105’. Figure 2 The trajectory graphs with $$\pmb{\tau_{1}=0.75<\tau_{10}=0.5720}$$ and initial value data ‘2.15, 29.39, 9.36, 775.105’.
Lastly, we have $$\omega_{10}^{*}=2.9448$$, $$\tau_{10}^{*}=0.3727$$ when $$\tau_{1}>0$$ and $$\tau_{2}=0.45\in(0, \tau_{20})$$. The corresponding waveforms can be shown in Figures 3-4. Further, we obtain $$C_{1}(0)=-7.6083-0.2944i$$ and $$\lambda(\tau_{10}^{*})=0.9642+1.0027i$$. Further, we have $$\mu_{2}=7.8908>0$$, $$\beta_{2}=-15.2166<0$$, and $$T_{2}=-6.9408>0$$. Therefore, we can conclude that the Hopf bifurcation is supercritical, the bifurcating periodic solutions are stable and the period of the bifurcating periodic solutions decreases according to Theorem 5. Figure 3 The trajectory graphs with $$\pmb{\tau_{1}=0.27<\tau_{10}^{*}=0.3727}$$ , $$\pmb{\tau_{2}=0.45}$$ and initial value data ‘2.15, 29.39, 9.36, 775.105’. Figure 4 The trajectory graphs with $$\pmb{\tau_{1}=0.47<\tau_{10}^{*}=0.3727}$$ , $$\pmb{\tau_{2}=0.45}$$ and initial value data ‘2.15, 29.39, 9.36, 775.105’.

## 5 Conclusions

In the present paper, a delayed SIQR epidemic model with constant input and nonlinear incidence rate is investigated based on the model studied in . Compared with the epidemic model studied in , we not only consider the time delay due to the latent period of the disease, but also the time delay due to the period that the infective and quarantined individuals need to be cured. Therefore, the proposed model in the present paper is more general. The main results are given in terms of local stability and Hopf bifurcation.

Sufficient conditions for local stability and existence of the Hopf bifurcation are obtained by regarding different combination of the two delays as a bifurcation parameter and analyzing distribution of roots of corresponding characteristic equation. It is found that both the two delays can affect the stability of the model. When the delay is suitable small, the model is asymptotically stable. In this case, the disease can be controlled easily. However, once the value of the delay is above the critical value, the epidemic model will lose its stability and a Hopf bifurcation occurs and a family of periodic solutions bifurcate from the positive equilibrium of the model. In this case, the disease is out of control and this is not helpful to predict the law of propagation of the disease. Therefore, we should take some measures such as introduced in  to control the occurrence of the Hopf bifurcation and we leave this for future work.

## Declarations

### Acknowledgements

The authors would like to thank the editor and the two anonymous referees for their constructive suggestions on improving the presentation of the paper. This work was supported by Natural Science Foundation of the Higher Education Institutions of Anhui Province (KJ2015A144) and Anhui Provincial Natural Science Foundation (1508085QA13).

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

(1)
Department of Mathematics and Physics, Bengbu University, Bengbu, 233030, China
(2)
School of Statistics and Applied Mathematics, Anhui University of Finance and Economics, Bengbu, 233030, China

## References

Advertisement 