Consider the system:
\begin{align} \frac{dS}{dt} &= \nu N -\frac{\beta S I}{N} + \xi R - \nu S\\ \frac{dE}{dt} &= \frac{\beta S I}{N}- \sigma E -\nu E \\[2ex] \frac{dI}{dt} &= \sigma E -\gamma I -\nu I \\[2ex] \frac{dR}{dt} &= \gamma I -\xi R - \nu R \end{align}
The Jacobian is: \begin{align} J\left(S,E,I\right) = \begin{bmatrix} -\frac{\beta I_2^*}{N}-B &-\xi & -\frac{\beta S_2^*}{N}-\xi \\[1ex] \frac{\beta I_2^*}{N} & -C & \frac{\beta S_2^*}{N}\\[1ex] 0 & \sigma & -D \end{bmatrix}. \end{align} where $S_2^*=\frac{CDN}{\beta \sigma}$ $I_2^* = \frac{BN(-C D + \beta \sigma)}{\beta (C D + D \xi + \xi \sigma)}$
Where $B = \xi + \nu, \quad C = \sigma+\nu \quad \text{and } D = \gamma + \nu$.
The characteristic polynomial reads:
\begin{align*} P\left(\lambda\right) &= \lambda ^3 + \left[B +C +D + \frac{B\left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)} \right]\lambda^2\\[2ex] & \quad+\left[BC + BD + \frac{BC\left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)} +\frac{BD\left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)}+\frac{B\xi \left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)} \right]\lambda\\[2ex] & \quad+\left[B\left(\beta \sigma -CD\right) \right] \end{align*}
Using Chris K's EcoEvo package to test the stability we see:
Simplify[EcoStableQ[eq2[[2]]]]
outputs:
True when $CD<\beta \sigma$ and false when $CD>\beta \sigma$, which is as expected.
Now when I try to do it with brute force using the Routh-Hurwitz conditions:
\begin{align} a_1 & > 0\\[1ex] a_3 & > 0\\[1ex] a_1 a_2 & > a_3 \end{align} For our system: \begin{align*} a_1 & = B +C +D + \frac{B\left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)} \\[2.5ex]& = \frac{C^2 D + C D^2 + B D \xi + C D \xi + D^2 \xi + B \beta \sigma + B \xi \sigma + C \xi \sigma + D \xi \sigma}{CD + \xi\left(D+\sigma\right)} \\[3ex] a_2 & = BC + BD + \frac{BC\left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)} +\frac{BD\left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)}+\frac{B\xi \left(\beta \sigma -CD \right)}{CD + \xi\left(D+\sigma\right)} \\[2.5ex] & = \frac{B D^2 \xi + B C \beta \sigma + B D \beta \sigma + B C \xi \sigma + B D \xi \sigma + B \beta \xi \sigma}{CD + \xi\left(D+\sigma\right)}\\[3ex] a_3 & =B\left(\beta \sigma -CD\right) \end{align*}
Clearly $a_1>0$ and $a_3>0$ if $\frac{\beta \sigma}{CD} >1$ but why is the third condition failing when it should hold as we see from Chris's package?
We know a priori if $\frac{\beta \sigma}{CD} >1$ then the eigenvalue(s) must have negative real parts implying the equilibrium point is stable.
EDIT:
Here is the system is Mathematica(you will need to load the package in Mathematica first; PacletInstall["EcoEvo", "Site" -> "http://raw.githubusercontent.com/cklausme/EcoEvo/master"]
and << EcoEvo`
:
r := n - s - e - i;
SetModel[{Pop[
pop] -> {Component[
s] -> {Equation :>
B n - ξ e - ξ i - (β/n) s i - B s},
Component[e] -> {Equation :> (β/n) s i - C e },
Component[i] -> {Equation :> σ e - D i }},
Parameters :> {β > 0, A > 0, ξ > 0, σ > 0, B > 0,
C > 0, D > 0}}]
eq2 = SolveEcoEq[]
EDIT 2:
The paper:
I believe the author has made a typo in equation (75) on the second matrix.
Their model is slightly different:
r := 1 - s - e - i;
SetModel[{Pop[
pop] -> {Component[
s] -> {Equation :>
A - \[Alpha] e - \[Alpha] i - \[Beta] s i - B s},
Component[e] -> {Equation :> \[Beta] s i - C e },
Component[i] -> {Equation :> \[Sigma] e - D i }},
Parameters :> {\[Beta] > 0, A > 0, \[Xi] > 0, \[Sigma] > 0, B > 0,
C > 0, D > 0}}]
eq3 = SolveEcoEq[]
Their $S_2^*=\frac{CD}{\beta \sigma}$, $I_2^* = \frac{-B C D + \beta \sigma A}{\beta (C D + D \alpha + \alpha \sigma)}$
By remarkable chance, they managed to show R-H criteria working as expected with their typo!
R
? Should that not also be accounted for in the Jacobian? $\endgroup$