1 Introduction

A bacteriophage (in short, phage) is a virus that can infect and replicate within bacteria. Bacteriophages were discovered by Frederick Twort in 1915 [1] and Felix d’Herelle in 1917 [2]. Bacteriophages consist of a core of genetic material (nucleic acid) surrounded by a protein capsid. Usually a phage follows one of two life cycles: lytic (virulent) or lysogenic (temperate). When lytic phages infect bacteria, they attach their tails to the bacterial surface and then inject DNA from their heads into the bacteria. The DNA that enters the bacteria, being biosynthesised of the raw material of the host bacteria, causes proliferation of new daughter phages. Reaching a certain amount, these phages give rise to bacterial cells bursting, after which they can multiply rapidly and form hundreds of daughter phage particles. Lysogenic phages incorporate their nucleic acid into the chromosome of the host cell and replicate with it as a unit without destroying the cell. Under certain conditions, lysogenic phages can be induced for which a lytic cycle takes place. Each daughter phage can infect another bacterial cell, and the process is repeated over and over again, so that the phages can kill many cells. It has long been noted that phage therapy can be used to treat pathogenic bacterial infections. In particular, phage therapy has been widely used in livestock and poultry breeding (see [3, 4]), aquaculture (see [5]), food production (see [6]), and other fields (see [7, 8]). Also, phage therapy proved itself as an important tool in the treatment of human diseases such as diarrheal diseases caused by e. coli, shigella or vibrio, and wound infections caused by skin facultative pathogens (for example, staphylococcus and streptococcus). In recent years, phage therapy has also been used for systemic and even intracellular infections. It has been 100 years since the discovery of phage, and the research on phage has never stopped. With the emergence of antibiotics, phage therapy was gradually ignored. However, the widespread antibiotic resistance of bacteria in recent years has made the research on bacteriophages a hot spot. To which extent phages can replace antibiotics as a new treatment for bacterial infections is still under debate, and probably it will take some time for them to appear in clinical trials. However, finding a theoretical basis for studying the relationship between phage and bacteria is a problem of great importance and formidable complexity. This paper attempts to model the dynamic stability of phage infected bacteria, to discuss the relationship between phage and bacteria, and to provide some theoretical basis for whether phages can effectively prevent, control, and treat infectious diseases.

Phages can be thought of as organisms that prey on bacteria, or parasites that host bacteria. To the best of our knowledge, there are many dynamics models of viral infection in host cells (see [920] and the references therein). For example, in [11], Ebert et al. considered a model of microparasite transmission for a horizontally transmitted parasite and established the host-born density-dependent cabin model by ignoring the possibility of host recovery. The model equations are

$$ \textstyle\begin{cases} \dot{x}=r(x+fy)[1-c(x+y)]-\mu x-\beta xy, \\ \dot{y}=\beta xy-(\mu +\nu )y, \end{cases} $$
(1)

where \({x,y}\) are the densities of uninfected (susceptible) and infected (infective) hosts at time t, respectively; r is the maximum per capita birth rate of uninfected hosts; f is the relative fecundity of infected hosts; c measures the per capita density-dependent reduction in birth rate; μ is the parasite-independent host background mortality; β is the infection rate constant; and ν is the parasite-induced excess death rate.

This model predicts the existence of a stable equilibrium of infected and uninfected hosts, and the population is predicted to approach this equilibrium either monotonically or by damped oscillations.

In this paper, we modify Ebert’s model by assuming that infected hosts (bacteria) are capable of reproducing with logistic law, and investigate a class of parasites (phages) infection models. The model is given by the following system of differential equations:

$$ \textstyle\begin{cases} \dot{S}=r_{1}S (1-\frac{S+I}{M} )-d_{1}S-\beta SI, \\ \dot{I}= \beta SI+r_{2}I (1-\frac{S+I}{M} )-(d_{1}+ \varepsilon )I. \end{cases} $$
(2)

Here, \(r_{1}\), \(r_{2}\) are the proliferation constants of uninfected and infected hosts, M is the environmental tolerance of a host population, \(d_{1}\) stands for the phage-independent bacteria background mortality, β is the proportionality coefficient of parasite infection, ε denotes the phage-induced excess death rate. In this model, we assume that the total hosts population N is composed of two population classes: the first one consists of uninfected hosts (denoted S), while the second one consists of the virus infected hosts (denoted I). Thus, \(N(t)=S(t)+I(t)\). We make the following assumption: both uninfected and infected hosts are capable of reproducing with logistic law, and the logistic growth of the uninfected bacteria and infected bacteria is given by \(r_{1}S(t)[1-(S(t) + I(t))/M]\) and \(r_{2 }I(t)[1- (S(t) + I(t))/M]\), respectively.

To establish our results, the existence and number of steady states, as well as local stability and global stability of uninfected and infected steady states, are analyzed by the Jacobian matrix and Bendixson–Dulac theory. Under certain assumptions (reasonable from the biological viewpoint), we derive the basic reproduction number \(R_{0}\): \(E_{1}\) is locally asymptotically stable if \(R_{0}<1\), and \(E_{1}\) is unstable if \(R_{0}>1\). Our theoretical discoveries are supported by numerical simulations.

At present, there is not much work on mathematical modeling of phage infection bacteria, so our study has certain significance. In particular, the parasite (phage) population is not explicitly modeled in this model, which is a striking feature of this model.

The organization of this paper is as follows. In Sect. 2, we discuss the positively invariant set and equilibria. In Sect. 3, we give local and global stability analysis. In Sect. 4, we derive the basic reproduction number. Then, in Sect. 5, we give numerical simulations to support our main result. Section 6 ends the paper with a discussion about phage therapy that could be a new savior for patients infected with superbugs.

2 Positively invariant set and equilibria

To begin with, let us find a positively invariant set with respect to (2). Adding the equations in (2), one obtains

$$\begin{aligned} \dot{S}+\dot{I} &\leq r_{1}S \biggl(1-\frac{S+I}{M} \biggr)+r_{2}I \biggl(1- \frac{S+I}{M} \biggr)-d_{1}S-(d_{1}+ \varepsilon )I \\ &\leq r(S+I) \biggl(1-\frac{S+I}{M} \biggr)-d_{1}(S+I), \end{aligned}$$

where \(r=\max \{r_{1},r_{2}\}\). Clearly,

$$ \lim_{t \to \infty } \sup \bigl\{ S(t)+I(t)\bigr\} \leq \overline{N}, $$

where \(N=\overline{N}\) is the positive root of the quadratic equation \((r-d_{1})N-\frac{r}{M}N^{2}=0\). Hence, the bounded set

$$ \Gamma =\bigl\{ (S,I)\in R_{+}^{2}:S+I\leq \overline{N}\bigr\} $$
(3)

is positively invariant with respect to (2).

Next, we will study equilibria of system (2) (i.e. zeros of the right-hand side of (2)). It is easy to verify that system (2) admits one vanishing equilibrium and two boundary equilibria. More precisely, the following statement (its proof is straightforward) is true.

Proposition 2.1

Assume that \(d_{2}=d_{1}+\varepsilon \), \(0< d_{i}< r_{i}<1\), \(i=1,2\). Then, system (2) has one vanishing equilibrium \(E_{0}=(0, 0)\) and two boundary equilibria \(E_{1}=(\overline{S}, 0) \) and \(E_{2} = (0, \overline{I})\), where \(\overline{S}=\frac{M}{r_{1}}(r_{1}-d_{1})\), \(\overline{I}= \frac{M}{r_{2}}(r_{2}-d_{2})\).

Also, the following statement is true.

Proposition 2.2

Under the assumptions of Proposition 2.1, suppose, in addition, that \(\omega :=r_{1}d_{2}-r_{2}d_{1}\), \(\beta _{1}=\max \{\frac{r_{2}-r_{1}}{M}, \frac{\omega }{r_{1}\overline{S}}\} \), \(\beta _{2}=\min \{\frac{r_{2}-r_{1}}{M}, \frac{\omega }{r_{1}\overline{S}}\}\). Then system (2) has a unique positive equilibrium \(E^{*}=(S^{*}, I^{*})\), where

$$ {S^{*}= \frac{\omega -\beta r_{2}\overline{I}}{\beta (r_{1}-r_{2}+M\beta )}, \quad\quad I^{*}= \frac{\beta r_{1}\overline{S}-\omega }{\beta (r_{1}-r_{2}+M\beta )}} $$

provided that one of the following conditions holds:

  1. (i)

    \(\beta _{1}<\beta <\frac{\omega }{r_{2}\overline{I}} \);

  2. (ii)

    \(\frac{\omega }{r_{2}\overline{I}}<\beta <\beta _{2}\).

Proof

Consider the algebraic system

$$ \textstyle\begin{cases} r_{1} (1-\frac{S+I}{M} )-d_{1}-\beta I=0, \\ \beta S+r_{2} (1-\frac{S+I}{M} )-d_{2}=0. \end{cases} $$
(4)

If \(r_{1}-r_{2}+M\beta \neq 0\), then (4) admits a unique solution \((S^{*}, I^{*})\) given by

$$ \textstyle\begin{cases} S^{*}= \frac{M\beta d_{2}-M\beta r_{2}+r_{1}d_{2}-r_{2}d_{1}}{\beta (r_{1}-r_{2}+M\beta )}, \\ I^{*}= \frac{M\beta r_{1}-\alpha M\beta d_{1}-r_{1}d_{2}+r_{2}d_{1}}{\beta (r_{1}-r_{2}+M\beta )}. \end{cases} $$
(5)

Let \(\omega :=r_{1}d_{2}-r_{2}d_{1}\), \(\overline{S}:= \frac{M}{r_{1}}(r_{1}-d_{1})\) and \(\overline{I}:=\frac{M}{r_{2}}(r_{2}-d_{2})\). Then (5) is positive if and only if the following condition holds:

$$ \textstyle\begin{cases} (\omega -\beta r_{2}\overline{I})(\beta r_{1}\overline{S}-\omega )>0, \\ (\omega -\beta r_{2}\overline{I})[(r_{1}+\beta M)-r_{2}]>0. \end{cases} $$
(6)

Since (6) implies \(\omega >0\) and \(\overline{S}>\overline{I}\), it is easy to see that if \(\beta _{1}<\beta <\frac{\omega }{r_{2}\overline{I}}\) or \(\frac{\omega }{r_{2}\overline{I}}<\beta <\beta _{2} \), then (2) admits the unique positive equilibrium, and the result follows. □

3 Stability analysis

3.1 Local stability of the equilibria \(E_{0}\), \(E_{1}\), \(E_{2}\)

We assume that the hypotheses of Propositions 2.12.2 are satisfied. The Jacobian matrix of (2) is given by

$$ J(E)= \begin{bmatrix} r_{1} (1-\frac{S+I}{{M}} )- \frac{r_{1}S}{{M}}-\beta I-d_{1} & {-} \frac{r_{1}S}{{M}}-\beta S \\ \beta I- \frac{r_{2}I}{{M}} & \beta S+r_{2} (1-\frac{S+I}{{M}} )- \frac{r_{2}I}{{M}}-d_{2} \end{bmatrix}, $$
(7)

hence,

$$ J(E_{0})= \begin{bmatrix} r_{1}-d_{1} & 0 \\ 0 & r_{2}-d_{2} \end{bmatrix}. $$
(8)

By assumption, \(r_{1}-d_{1}>0\) and \(r_{2}-d_{2}>0\), therefore, \(E_{0}=(0,0)\) is always an unstable node.

Next (see (7)):

$$ J(E_{1})= \begin{bmatrix} r_{1} (1-\frac{\overline{S}}{{M}} )- \frac{r_{1}\overline{S}}{{M}}-d_{1} & {-}\frac{r_{1}\overline{S}}{{M}}- \beta \overline{S} \\ 0 & \beta \overline{S}+r_{2} (1-\frac{\overline{S}}{{M}} )-d_{2} \end{bmatrix}. $$
(9)

It follows from (9) that the eigenvalues of \(J(E_{1})\) are

$$ \lambda _{1} := r_{1} \biggl(1-\frac{\overline{S}}{{M}} \biggr)- \frac{r_{1}\overline{S}}{{M}}-d_{1}=d_{1}- r_{1} \quad \text{and} \quad \mu _{1} := \beta \overline{S}+r_{2}\biggl(1- \frac{\overline{S}}{{M}}\biggr)-d_{2}= \frac{\beta r_{1}\overline{S}-\omega }{{r_{1}}}. $$

By assumption,

$$ d_{1} - r_{1} < 0 \quad \text{and}\quad r_{1}> 0, $$

hence,

$$ \lambda _{1} < 0\quad \text{and}\quad \operatorname{sign}(\mu _{1}) = \operatorname{sign}( \beta r_{1}\overline{S}-\omega ). $$
(10)

Finally (see (7)),

$$ J(E_{2})= \begin{bmatrix} r_{1} (1-\frac{\overline{I}}{{M}} )- \beta \overline{I}-d_{1} & 0 \\ \beta \overline{I} -\frac{r_{2}\overline{I}}{{M}} & r_{2} (1- \frac{\overline{I}}{{M}} )- \frac{r_{2}\overline{I}}{{M}}-d_{2} \end{bmatrix}. $$
(11)

It follows from (11) that the eigenvalues of \(J(E_{2})\) are

$$ \lambda _{2}:= r_{2} \biggl(1-\frac{\overline{I}}{{M}} \biggr)- \frac{r_{2}\overline{I}}{{M}}-d_{2}= d_{2}-r_{2} \quad \text{and} \quad \mu _{2} := r_{1} \biggl(1-\frac{\overline{I}}{{M}} \biggr)- \beta \overline{I}-d_{1}= \frac{\omega -\beta r_{2}\overline{I}}{{r_{2}}}. $$

By assumption,

$$ d_{2} - r_{2} < 0 \quad \text{and}\quad r_{2}> 0, $$

hence,

$$ \lambda _{2} < 0 \quad \text{and}\quad \operatorname{sign}(\mu _{2}) = \operatorname{sign} (\omega -\beta r_{2} \overline{I}). $$
(12)

Combining (8)–(12), one obtains the following.

Theorem 3.1

Under the notations and assumptions of Propositions 2.12.2, the following statements are true:

  1. (i)

    \(E_{0}\) is always an unstable node;

  2. (ii)

    If \(\beta < \frac{\omega }{r_{1}\overline{S}} \), then \(E_{1}=(\frac{M}{r_{1}}(r_{1}-d_{1}), 0)\) is locally asymptotically stable; if \(\beta > \frac{\omega }{r_{1}\overline{S}} \), then \(E_{1}\) is a saddle and, as such, is unstable;

  3. (iii)

    If \(\beta >\frac{\omega }{r_{2}\overline{I}}\), then \(E_{2}=(0, \frac{M}{r_{2}}(r_{2}-d_{2}))\) is locally asymptotically stable; if \(\beta < \frac{\omega }{r_{2}\overline{I}}\), then \(E_{2}\) is a saddle and, as such, is unstable.

3.2 Local stability of the positive equilibrium

It follows from (7) that the Jacobian matrix of (2) at the positive equilibrium point \(E^{*}=(S^{*}, I^{*})\) is given by

$$\begin{aligned}& J\bigl(E^{*}\bigr)= \begin{bmatrix} r_{1} (1-\frac{S^{*}+I^{*}}{{M}} )- \frac{r_{1}S^{*}}{{M}}-d_{1} -\beta I^{*}& {-}\frac{r_{1}S^{*}}{{M}}-\beta S^{*} \\ (\beta -\frac{r_{2}}{{M}})I^{*} & \beta S^{*}-\frac{r_{2}}{{M}}I^{*}+r_{2} (1-\frac{S^{*}+I^{*}}{{M}} )-d_{2} \end{bmatrix}. \end{aligned}$$

By direct computation,

$$\begin{aligned} \operatorname{tr}J\bigl(E^{*}\bigr) =&r_{1} \biggl(1- \frac{S^{*}+I^{*}}{{M}} \biggr)- \frac{r_{1}S^{*}}{{M}}-d_{1} -\beta I^{*}+\beta S^{*} - \frac{r_{2}I^{*}}{{M}}+r_{2} \biggl(1-\frac{S^{*}+I^{*}}{{M}} \biggr)-d_{2} \\ =&{-}\frac{r_{1}S^{*}}{{M}}-\frac{r_{2}I^{*}}{{M}}< 0 \end{aligned}$$

and

$$\begin{aligned} \operatorname{det}J\bigl(E^{*}\bigr) =& \biggl[r_{1} \biggl(1-\frac{S^{*}+I^{*}}{{M}} \biggr)- \frac{r_{1}S^{*}}{{M}}-d_{1} -\beta I^{*} \biggr] \biggl[ \beta S^{*} -\frac{r_{2}I^{*}}{{M}}+r_{2} \biggl(1- \frac{S^{*}+I^{*}}{{M}} \biggr)-d_{2} \biggr] \\ &{}+ \biggl(\frac{r_{1}S^{*}}{{M}}+\beta S^{*} \biggr) \biggl(\beta - \frac{r_{2}}{{M}} \biggr)I^{*} \\ =& \biggl(\frac{ \beta r_{1}}{{M}}+ \beta ^{2}- \frac{ \beta r_{2}}{{M}} \biggr)S^{*}I^{*} \\ =&\frac{ \beta }{{M}}\bigl[(r_{1}+M\beta )-r_{2} \bigr]S^{*}I^{*}. \end{aligned}$$

In particular, if \(\beta >\frac{r_{2}-r_{1}}{M}\) (resp. \(\beta < \frac{r_{2}-r_{1}}{M}\)), then \(\operatorname{det}J(E^{*}) > 0\) (resp. \(\operatorname{det}J(E^{*})<0\)). This way, we arrive at the following result.

Theorem 3.2

Under the notations and assumptions of Propositions 2.12.2, the following statements are true:

  1. (i)

    If \(\beta >\frac{r_{2}-r_{1}}{M}\) and \(\frac{\omega }{r_{1}\overline{S}}<\beta < \frac{\omega }{r_{2}\overline{I}}\), then \(E^{*}\) is locally asymptotically stable;

  2. (ii)

    If \(\beta <\frac{r_{2}-r_{1}}{M}\), then \(E^{*}\) is a saddle and, as such, is unstable.

3.3 Global stability analysis

We complete this section with the following global stability result.

Theorem 3.3

Under the notations and assumptions of Propositions 2.12.2, the following statements are true:

  1. (i)

    If \(\beta <\frac{\omega }{r_{1}\overline{S}}\), then \(E_{1}\) is globally asymptotically stable;

  2. (ii)

    If \(\beta >\frac{\omega }{r_{2}\overline{I}}\), then \(E_{2}\) is globally asymptotically stable;

  3. (iii)

    If \(\beta >\frac{r_{2}-r_{1}}{M}\), then the unique infection equilibrium \(E^{*}\) is globally asymptotically stable.

Proof

Take \(\mu (S,I)=\frac{1}{SI}\) to serve as a Dulac multiplier.

Denote

$$ P := r_{1}S \biggl(1-\frac{S+I}{M} \biggr)-d_{1}x-\beta SI \quad \text{and}\quad Q := \beta SI+r_{2}I \biggl(1- \frac{S+I}{M} \biggr)-dI. $$

Then

$$ \frac{\partial (\mu P)}{\partial S}+ \frac{\partial (\mu Q)}{\partial I}=-\frac{r_{2}}{MS}- \frac{r_{1}}{MI}< 0 $$

for all \(S>0\), \(I>0\). Thus, (2) has no periodic orbits in Γ (see (3)). A simple application of the classical Poincaré–Bendixson theory shows that all solutions in Γ converge to a single equilibrium, from which the result follows. □

4 Basic reproduction number

In this section, using the method of the next generation matrix (see [21]), we derive the basic reproduction number \(R_{0}(\beta )\) of model (2).

We have

$$ F=\beta \overline{S}+r_{2} \biggl(1-\frac{\overline{S}}{{M}} \biggr), \qquad V=(d_{2}), $$

and the next generation matrix is

$$ FV^{-1}=\frac{1}{d_{2}} \biggl[\beta \overline{S}+r_{2} \biggl(1- \frac{\overline{S}}{{M}} \biggr) \biggr]. $$

Hence, the basic reproduction number is given by

$$ R_{0}(\beta )=\frac{1}{d_{2}} \biggl[ \beta \overline{S}+r_{2} \biggl(1- \frac{\overline{S}}{{M}} \biggr) \biggr]. $$
(13)

Clearly (see (13)), \(R_{0}(\beta )\) is increasing in β, and \(R_{0}(\beta _{c})=1\), where \(\beta _{c} = \frac{\omega }{ r_{1}\overline{S}}\).

It is easy to see that

$$ \beta \overline{S}+r_{2}\biggl(1-\frac{\overline{S}}{{M}} \biggr)-d_{2}=d_{2}\bigl(R_{0}( \beta )-1\bigr). $$

Theorem 4.1

Under the notations and assumptions of Propositions 2.12.2, the following statements are true:

  1. (i)

    If \(R_{0}(\beta )<1 \), then \(E_{1}\) is locally asymptotically stable;

  2. (ii)

    If \(R_{0}(\beta )>1 \), then \(E_{1}\) is a saddle and, as such, unstable.

5 Numerical simulations

In this section, we illustrate our results by numeric examples simulating an infection-free equilibrium point and an infection equilibrium point of system (2), as well as give the corresponding time series diagrams. The parameters in the model have been given in Table 1. In Fig. 1, we choose the death rate \(d_{1}=0.01\text{ day}^{-1}\) and carrying capacity constant \(M=10\text{ mm}^{-3}\). Also, take \(\varepsilon =0.2\text{ day}^{-1}\), \(r_{1}=r_{2}=0.4\). Then \(\overline{S}=9.75\), \(\overline{I}=4.75\), \(\omega =0.08\), \(\frac{\omega }{r_{1}\overline{S}}=0.0205\), \(\frac{\omega }{r_{2}\overline{I}}=0.0421\). When \(\beta =0.0205\), we have \(R_{0}(\beta )=1\).

Figure 1
figure 1

Numerical simulations of system (2) with parameter values \(r_{1}=r_{2}=0.4\), \(d_{1}=0.01\), \(\varepsilon =0.2\), \(M=10\)

Table 1 Parameters involved in the model

In Fig. 1(1), we choose \(\beta =0.018\text{ mm}^{3}/\text{cells}/\text{day}\), in which case \(R_{0}(\beta )<1\). Clearly, the solution approaches the boundary steady state \((\overline{S},0)\).

According to the stability results presented in Sect. 3, the above choice of parameter values guarantees that the equilibrium \(E_{2}\) is asymptotically stable when \(\beta >\frac{\omega }{r_{2}\overline{I}}\). Figure 1(2) shows that, for \(\beta =0.052\), the solution approaches the boundary equilibrium \((0,\overline{I})\).

Next, taking \(\beta =0.039\text{ mm}^{3}/\text{cells}/\text{day}\) and leaving other model parameters unchanged, we provide numerical simulations related to the positive equilibrium \(E^{*}\) (see Fig. 2). These simulations are consistent with the theoretical results related to the local asymptotic stability of \(E^{*}\) obtained in Sect. 3, see Table 2.

Figure 2
figure 2

Numerical simulations of system (2) with parameter values \(r_{1}=r_{2}=0.4\), \(d_{1}=0.01\), \(\varepsilon =0.2\), \(M=10\), \(\beta =0.0039\). Clearly, solution approaches a positive steady state \((0.3879, 4.7403)\)

Table 2 Global results for system (2)

6 Discussion

A phage is a virus that lives in bacteria and can infect lysed host bacteria in a specific environment. It has been successfully used to treat infections caused by e. coli, pseudomonas aeruginosa, and staphylococcus (see [2224]). In recent years, many scholars (both domestic and foreign) conducted in-depth research on phage biology and genome sequencing. It was confirmed that phages of many strains can effectively kill mycobacterium tuberculosis, see [25, 26] and the references therein. Also, it was predicted that this “bacterial killer” may become an alternative to antibiotics in the future. There is a complex dynamic relationship between phage and bacteria, which has been described as a variety of dynamic behaviors at the population level, including ARD (arm race dynamics) model [27], FSD (fluctuating selection dynamics) model [27], KtW (kill-the-winner) model [28], and PtW (piggyback-the-winner) model [29]. The study of the dynamic changes of phage and bacteria is helpful to elucidate their changing rules and lay a foundation for the better application of phage in medical treatment, animal husbandry, and other industries. However, there is a lack of research on mathematical modeling of phage infection. Beretta and Kuang [30, 31] proposed a mathematical model of phage infection in the ocean and analyzed its mathematical characteristics based on the observations of marine organisms made by biologist A. Okubo. In the present paper, we revised the mathematical model established by Ebert et al. [11] by assuming that (a) infected hosts (bacteria) are capable of reproducing with logistic law, and (b) the relative fecundity of an infected host is equal to zero.

In particular, we studied the nonlinear dynamic model of vertical transmission of infection bacteria. The parasite (phage) population is not explicitly modeled, which is a striking feature of this model. As such, our model is similar to SI-models widely used in epidemiology.

We established four possibilities for the host-parasitic relationships: both uninfected and infected hosts become extinct simultaneously; extinction of uninfected hosts; extinction of infected hosts; uninfected and infected hosts coexist. The local and global stability of the four equilibrium points was analyzed by using the Jacobian matrix and Bendixson–Dulac theory. In particular, the instability of the extinction equilibrium was established. We also figured out the basic reproduction number \(R_{0}\) of the system: \(E_{1}\) is locally asymptotically stable (resp. unstable) if \(R_{0}<1\) (resp. \(R_{0}>1\)).

The model simulations presented in Fig. 2 show the existence of the positive equilibrium to which population approaches monotonically. The model simulations presented in Fig. 3 show that when \(r_{2}=0\), the population approaches the equilibrium either monotonically or by damped oscillations. Actually, it is a special case of system (1), and the results are consistent with Ebert’s prediction in [11]. We established that phages and bacteria can coexist, and the concentration of bacteria can reduce. Also, phages cause the increase in the death rate of the bacterial host, keeping the bacteria at a low concentration that prevents them from becoming ill and spreading to others. Finally, we predict that phage therapy could be a new savior for patients infected with superbugs.

Figure 3
figure 3

Here, \(r_{1}=0.4\), \(r_{2}=0\), \(d_{1}=0.01\), \(\varepsilon =0.2\), \(M=10\). In Fig. 3(4), \(\beta =0.0238\), solutions tend to \(E^{*}\) monotonically. In Fig. 3(5), \(\beta =0.158\), solutions tend to \(E^{*}\) by damped oscillations