# Mathematical modeling of the impact of treatment on the dynamics of typhoid

## Abstract

In this paper, we propose a mathematical model for the transmission of typhoid which analyzes the impact of treatment of the infected individuals on the dynamics of the disease. The model consists of human population and pathogen population. The human population is subdivided into three compartments, namely susceptible individuals, infected individuals, and recovered individuals and pathogen population comprises one compartment. We derived the basic reproduction number $${\mathcal {R}}_0$$, and analyzed the dynamical behaviors of both disease free equilibrium and endemic equilibrium by the theory of ordinary differential equations. Using MATLAB, we carried out numerical simulation and the findings indicate that effective treatment is adequate in eradicating typhoid fever.

## Introduction

Typhoid fever is an infection that is caused by a bacterium called Salmonella Typhi. The bacteria enter the body system through the consumption of contaminated food or water. Typhoid fever is characterized by prolonged fever, headache, nausea, loss of appetite, constipation, and diarrhea. When these symptoms are severe, typhoid fever may lead to death. Each year it is estimated that an average of 16 million cases and an average of 145000 typhoid-related deaths are recorded worldwide 

Typhoid fever can be treated with antibiotics. According to , the disease can be prevented through vaccination with the following vaccines recommended: an injectable typhoid conjugate vaccine (TCV); an injectable polysaccharide vaccine based on the purified Vi antigen and it is for children aged 2 years and above; an oral live attenuated Ty2Ia vaccine in capsules and it is suitable for children aged over 6 years. Among the above 3 vaccines, (TCV) is mostly preferred since it can be used for all ages including infants to adults and it has an improved immunological property.

In Kenya, typhoid is a public health burden for children aged below 15 years. They are at a higher risk of contracting the disease, because they are prone to playing with rainwater. The global burden of diseases shows that in 2016, Kenya had 97,767 typhoid cases of which 62% belonged to children aged less than 15 years and 1075 typhoid cases deaths with 66% among children aged less than 15 years .

According to CDC , typhoid fever cases are high in Kenyan slums, such as Kibera in the outskirts of Nairobi, because it is overpopulated and has inadequate sanitation facilities for containing and disposing of human wastes.

Several mathematical models have been formulated to describe the dynamics of the spread of typhoid fever. For instance, Nthiiri et al.  formulated a model that aimed at studying the dynamics of typhoid fever using protection as a control strategy and from the numerical simulation results, they found out that increasing the protection would significantly reduce the disease prevalence in a population.

Stephen and Nyerere  came up with a model for accessing the impact of educational campaigns in controlling the transmission of typhoid in the community. From the analysis of the model, they established that creating awareness was a possible way of curbing transmission by more than 40%.

Many scholars have developed mathematical models that aim at studying the dynamics of typhoid fevers while incorporating a combination of control strategies, such as vaccination, treatment, and screening . In this study, we investigate the impact of treatment alone in controlling typhoid fever. The paper is organized as follows: in this section, we have provided background information of typhoid fever and given a brief discussion on previous works on the disease and other findings on a general impact of control strategies on epidemics; in “Methods” section, we have formulated and described the mathematical model. In “Analysis of the model” section, we presented the model’s basic properties, and determined its equilibrium points, the basic reproduction number $${\mathcal {R}}_0$$, and the existence and uniqueness of the disease positive endemic equilibrium. We have also established the sufficient conditions for the local and global stabilities of the disease-free and the disease-endemic equilibria and proved that they are both globally asymptotically stable. “Results” section presents numerical simulations to verify our theoretical results. Finally, we conclude this work in “Conclusion” section.

## Methods

In this study, we develop a model with pathogen population, $$N_{\rm B}$$ denoted by B(t) and human population, $$N_{\rm H}$$ . That is, the total population will be $$N(t)=N_{\rm H}(t)+N_{\rm P}(t)$$. The human population is subdivided into Susceptible individuals-S(t), Infected individuals-I(t) and Recovered individuals-R(t) compartments. The model assumes that human population will be recruited to susceptible compartment at the rate $$\Lambda$$ and susceptible individuals are infected at the rate of $$\frac{\alpha B}{\kappa +B}$$ where $$\alpha$$ is the rate of Salmonella Typhi ingestion in drinks or foods and $$\frac{ B}{\kappa +B}$$ is the probability of individuals in consuming foods or drinks contaminated with typhoid causing bacteria. All human populations experience natural death at the rate $$\mu$$. In addition, the infected individuals die from typhoid at the rate $$\delta$$. Infected individuals are treated at the rate $$\epsilon$$. Infected individuals will excrete Salmonella Typhi bacteria to the environment at the rate $$\eta$$ and Salmonella Typhi will die at the rate $$\nu$$ Finally, $$0\le \omega \le 1)$$ is a constant representing the treatment of infected individuals. This parameter changes the rate of infection as well as the rate shedding of Salmonella Typhi to the environment.

### Assumptions of the model

The following are the assumptions of the model:

1. (i)

The population birth and death rate occur at different rates.

2. (ii)

Typhoid is transmitted through ingestion Salmonella bacteria in foods or drinks.

3. (iii)

Infectious individuals recover as a result of treatment.

4. (iv)

There is permanent immunity upon recovery.

5. (v)

All the newly born individuals will join only susceptible class.

6. (vi)

Infectious individuals excrete Salmonella Typhi bacterium to the environment.

### Model flowchart and equations

From Fig. 1 we have the following equations of the model:

\begin{aligned} \begin{array}{rll} \frac{\mathrm{d}S}{\mathrm{d}t} &=\Lambda -\left[ \frac{(1-\omega )\alpha B}{\kappa +B}+\mu \right] S\\ \frac{\mathrm{d}I}{\mathrm{d}t} &=\frac{(1-\omega )\alpha BS}{\kappa +B}-(\mu +\epsilon +\delta )I \\ \frac{\mathrm{d}R}{\mathrm{d}t} &=\epsilon I-\mu R \\ \frac{\mathrm{d}B}{\mathrm{d}t} &=(1-\omega )\eta I - \nu B \\ \end{array} \end{aligned}
(1)

### Analysis of the model

Since system (1) describes human population and pathogen population, all feasible solutions are uniformly bounded in a proper subset of $$\Gamma =\Gamma _{\rm H}\times \Gamma _{\rm B}$$. The feasible region

$$\Gamma _{{\text{H}}} = \left\{ {(S,I,R) \in \mathbb{R}_{ + }^{3} ;S > 0,I,R \ge 0;N_{{\text{H}}} \le \frac{\Lambda }{\mu }} \right\}\; \cup \;\Gamma _{{\text{B}}} = \left\{ {{\text{B}} \in \mathbb{R}_{ + } ;{\text{B}} \ge 0;N_{{\text{B}}} \le \frac{{\Lambda (1 - \omega )\eta }}{{\mu \nu }}} \right\}$$

is positively invariant.

### Disease free equilibrium (DFE)

Let the DFE be denoted by $$E_0(S_0, I_0, R_0, B_0)$$. To determine the disease free equilibrium point, we equate the right-hand side of system (1) to zero and substitute $$S=S_0$$, $$I=I_0=0$$, $$R=R_0=0$$ and $$B=B_0=0$$. Solving the remaining equation we get $$S_0=\frac{\Lambda }{\mu }$$. Thus

$$E_0(S_0, I_0, R_0, B_0)=E_0(\frac{\Lambda }{\mu },0,0,0)$$

### The basic reproduction number

The basic reproduction number $$({\mathcal {R}}_0)$$ is the expected number of secondary infections produced in a completely susceptible population by a typical infected individual during his/her infectious lifetime in the presence of protection. By using the next generation matrix approach , $${\mathcal {R}}_0$$ is given by $$\rho (FV^{-1})$$ (the spectral radius of the matrix $$FV^{-1}$$). The matrices $$F$$ and $$V$$ are given by

\begin{aligned} F=\left[ \begin{array}{cc} 0&\quad \frac{(1-\omega )\Lambda \alpha }{\mu \kappa }\\ 0&\quad 0 \end{array} \right] \end{aligned}

and

\begin{aligned} V=\left[ \begin{array}{cc} (\mu +\epsilon +\delta ) &\quad 0 \\ -(1-\omega )\eta &\quad \nu \end{array} \right] . \end{aligned}

Therefore, it follows that

\begin{aligned} {\mathcal {R}}_0=\rho (FV^{-1})=\frac{(1-\omega )^2\eta \Lambda \alpha }{\nu \mu \kappa (\mu +\epsilon +\delta )} \end{aligned}

### Existence of the endemic equilibrium (EE)

We denote our endemic equilibrium point as $$E^* (S^*, I^*, R^*, B^*)$$.

### Theorem 1

There exists a unique endemic equilibrium of system (1) when $${\mathcal {R}}_0 > 1$$.

### Proof

To prove this theorem, we equate the right-hand side of system (1) to zero and replace S, I, R and B with $$S^*$$, $$I^*$$, $$R^*$$, and $$B^*$$, respectively, to get

\begin{aligned} \begin{array}{rll} 0&=&\Lambda -\left[ \frac{(1-\omega )\alpha B^*}{\kappa +B^*}+\mu \right] S^* \\ 0&=&\frac{(1-\omega )\alpha B^*S^*}{\kappa +B^*}-(\mu +\epsilon +\delta )I^*\\ 0&=&\epsilon I^*-\mu R^*\\ 0&=&(1-\omega )\eta I^* - \nu B^* \\ \end{array} \end{aligned}
(2)

From the last two equations of system (2) we have

\begin{aligned} R^*&= \frac{\epsilon I^*}{\mu }, \end{aligned}
(3)
\begin{aligned} B^*&= \frac{(1-\omega )\eta I^*}{\nu }. \end{aligned}
(4)

Adding the first and the second equation of system (2) the solving for $$S^*$$ we obtain

\begin{aligned} S^*=\frac{\Lambda -(\mu +\epsilon +\delta )I^*}{\mu }. \end{aligned}
(5)

Now we substitute Eqs. (4) and (5) in the second equation of system (2) and then solve for $$I^*$$ to obtain

\begin{aligned} I^{*}&=\frac{\kappa (\mu +\epsilon +\delta )\left( 1-\frac{(1-\omega )^2\Lambda \alpha \eta }{\nu \mu \kappa (\mu +\epsilon +\delta )}\right) }{-\left( \frac{(1-\omega )^2(\mu +\epsilon +\delta )\alpha \eta }{\nu \mu }+\frac{(1-\omega )(\mu +\epsilon +\delta )\eta }{\nu }\right) }\nonumber \\&=\frac{-\kappa \nu \mu \left( 1-{\mathcal {R}}_0\right) }{(1-\omega )^2\alpha \eta +(1-\omega )\mu \eta }, \end{aligned}
(6)

and it follows that $$I^{*}>0$$ given that $${\mathcal {R}}_0 > 1$$. $$\square$$

### Local stability of disease free equilibrium point

In this section, we analyze the local stability of the disease free equilibrium point.

### Theorem 2

The disease-free equilibrium (DFE) is locally asymptotically stable if and only if all eigenvalues of the Jacobian matrix of system (1) at the DFE have a negative real part.

### Proof

The Jacobian of system at the DFE is given by

\begin{aligned} J(E_0)=\left[ \begin{array}{cccc} -\mu &\quad 0&\quad 0&\quad -\frac{(1-\omega )\alpha \Lambda }{\kappa \mu }\\ 0&\quad -(\mu +\epsilon +\delta )&\quad 0&\quad \frac{(1-\omega )\alpha \Lambda }{\kappa \mu }\\ 0&\quad \epsilon &\quad -\mu &\quad 0 \\ 0&\quad (1-\omega )\eta &\quad 0&\quad - \nu \end{array} \right] \end{aligned}
(7)

From matrix ( 7) we obtain the characteristic equation

\begin{aligned} (\lambda +\mu )^2(\lambda +\nu )[\lambda +(\mu +\epsilon +\delta )]=0 \end{aligned}
(8)

Solving for $$\lambda$$ in Eq. (8) we get

$$\lambda _1=\lambda _2=-\mu$$, $$\lambda _3=-\nu$$,$$\lambda _4=-(\mu +\epsilon +\delta )$$

Clearly, all eigenvalues have a negative real part as required. $$\square$$

### Global stability of disease free equilibrium point

In this section, we analyze the global stability of the disease free equilibrium point by following .

### Theorem 3

The disease free equilibrium is globally asymptotically stable if $${\mathcal {R}}_0 \le 1$$.

### Proof

We begin the proof by constructing the Lyapunov function

\begin{aligned} V=(1-\omega )\eta I+(\mu +\epsilon +\delta )B. \end{aligned}
(9)

Differentiating Eq. (9) with respect to t we get

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}=(1-\omega )\eta \frac{\mathrm{d}I}{\mathrm{d}t}+(\mu +\epsilon +\delta )\frac{\mathrm{d}B}{\mathrm{d}t}. \end{aligned}
(10)

Now we plug in values $$\frac{\mathrm{d}I}{\mathrm{d}t}$$ and $$\frac{\mathrm{d}B}{\mathrm{d}t}$$ into Eq. (10) using system (1) to get

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}&=(1-\omega )\eta \left( \frac{(1-\omega )\alpha BS}{\kappa +B}-(\mu +\epsilon +\delta )I\right) +(\mu +\epsilon +\delta )((1-\omega )\eta I - \nu B)\nonumber \\&= \left( \frac{(1-\omega )^2 \eta \alpha S}{(\kappa +B)(\mu +\epsilon +\delta ) \nu }-1\right) (\mu +\epsilon +\delta ) \nu B. \end{aligned}
(11)

Substituting $$S=S_0=\frac{\Lambda }{\mu }$$ in Eq. (11) we obtain

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}&= \left( \frac{(1-\omega )^2 \eta \Lambda \alpha }{\mu (\kappa +B)(\mu +\epsilon +\delta ) \nu }-1\right) (\mu +\epsilon +\delta ) \nu B\\&\le \left( \frac{(1-\omega )^2 \eta \Lambda \alpha }{\mu \kappa (\mu +\epsilon +\delta ) \nu }-1\right) (\mu +\epsilon +\delta ) \nu B. \end{aligned}

And it follows that

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}\le ({\mathcal {R}}_0-1)(\mu +\epsilon +\delta ) \nu B. \end{aligned}
(12)

Clearly $$\frac{\mathrm{d}V}{\mathrm{d}t}\le 0$$ if $${\mathcal {R}}_0\le 1$$. Moreover, $$\frac{\mathrm{d}V}{\mathrm{d}t}=0\Leftrightarrow {\mathcal {R}}_0=1\; \text {or} \;B=0$$ which leads to $$I=R=0$$. Thus, it follows that the invariant set of system (1) on the set $$\{(S, I, R, B) \in \Gamma :\; {\dot{V}}|_{(1)} \le 0\}$$ is the singleton the disease free equilibrium point $$(E_0)$$. Hence, from the LaSalle’s invariance principle , $$E_0$$ is globally asymptotically stable on the set $$\Gamma$$ if $${\mathcal {R}}_0\le 1$$. $$\square$$

### Local stability of endemic equilibrium point

In this section, we analyze the local stability of the endemic equilibrium point.

### Theorem 4

The endemic equilibrium is locally asymptotically stable if $${\mathcal {R}}_0 > 1$$.

### Proof

The Jacobian of system at the EE is given by

\begin{aligned} J(E^*)=\left[ \begin{array}{cccc} -\left[ \frac{(1-\omega )\alpha B^*}{\kappa +B^*}+\mu \right] &\quad 0&\quad 0&\quad -\frac{(1-\omega )\alpha \kappa }{(\kappa +B^*)^2}S^*\\ \frac{(1-\omega )\alpha B^*}{\kappa +B^*}&\quad -(\mu +\epsilon +\delta ) &\quad 0&\quad \frac{(1-\omega )\alpha \kappa }{(\kappa +B^*)^2}S^*\\ 0&\quad \epsilon &\quad -\mu &\quad 0 \\ 0&\quad (1-\omega )\eta &\quad 0&\quad - \nu \end{array} \right] \end{aligned}
(13)

The trace of the Jacobian matrix (13) is negative and the determinant is given by

\begin{aligned} Det(J(E^*)) =-\frac{(1-\omega )^2\eta \Lambda \alpha \kappa \mu }{(\kappa +B^*)^2} +\frac{(1-\omega )^2\eta \alpha \kappa \mu }{(\kappa +B^*)^2}(\mu +\epsilon +\delta )I^*+\left( \frac{(1-\omega )\alpha B^*}{\kappa +B^*}+\mu \right) (\mu +\epsilon +\delta )\nu , \end{aligned}

which is positive if

\begin{aligned} \frac{(1-\omega )^2\eta \Lambda \alpha \kappa \mu }{(\kappa +B^*)^2} < \frac{(1-\omega )^2\eta \alpha \kappa \mu }{(\kappa +B^*)^2}(\mu +\epsilon +\delta )I^*+\left( \frac{(1-\omega )\alpha B^*}{\kappa +B^*}+\mu \right) (\mu +\epsilon +\delta )\nu . \end{aligned}

Since there exist a unique endemic equilibrium of system (1) provided that $${\mathcal {R}}_0 > 1$$ (Ref Theorem 1), if the determinant is positive, by Routh–Hurwitz criteria, the endemic state $$E^*(S^*, I^*, R^*, B^*)$$ is locally asymptotically stable. $$\square$$

### Global stability of the endemic equilibrium point

We study the global asymptotic stability of the endemic equilibrium using LaSalle’s invariance principle .

### Theorem 5

The Endemic Equilibrium Point $$E^*$$ of system (1) is globally asymptotically stable if $$R_0>1$$.

### Proof

We apply  approach to prove global stability of $$E^*$$. Consider the following Lyapunov function

\begin{aligned} V(S,I,R,B)=\left( S-S^*\ln \frac{S}{S^*}\right) +M\left( I-I^*\ln \frac{I}{I^*}\right) +P\left( R-R^*\ln \frac{R}{R^*}\right) +Q\left( B-B^*\ln \frac{B}{B^*}\right) . \end{aligned}

The derivative of V is

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}=\left( 1-\frac{S^*}{S}\right) \frac{\mathrm{d}S}{\mathrm{d}t} +M\left( 1-\frac{I^*}{I}\right) \frac{\mathrm{d}I}{d\mathrm{d}}+P\left( 1-\frac{R^*}{R}\right) \frac{\mathrm{d}R}{\mathrm{d}t}+Q\left( 1-\frac{B^*}{B}\right) \frac{\mathrm{d}B}{\mathrm{d}t}. \end{aligned}
(14)

Next, we replace $$\frac{\mathrm{d}S}{\mathrm{d}t}$$ ,$$\frac{\mathrm{d}I}{\mathrm{d}t}$$ ,$$\frac{\mathrm{d}R}{\mathrm{d}t}$$ and $$\frac{\mathrm{d}B}{\mathrm{d}t}$$ in Eq. (14) using system (1), to have

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}=&\left( 1-\frac{S^*}{S}\right) \left( \Lambda -\left( \frac{(1-\omega )\alpha B}{\kappa +B}+\mu \right) S\right) +M\left( 1-\frac{I^*}{I}\right) \left( \frac{(1-\omega )\alpha BS}{\kappa +B}-(\mu +\epsilon +\delta )I\right) \nonumber \\&+P\left( 1-\frac{R^*}{R}\right) (\epsilon I-\mu R)+Q\left( 1-\frac{B^*}{B}\right) ((1-\omega )\eta I - \nu B). \end{aligned}
(15)

At endemic equilibrium, system (1) becomes

\begin{aligned} \Lambda&= \left[ \frac{(1-\omega )\alpha B^*}{\kappa +B^*} +\mu \right] S^*\nonumber \\ (\mu +\epsilon +\delta )&= \frac{(1-\omega )\alpha B^*S^*}{(\kappa +B^*)I^*}\nonumber \\ \mu&= \frac{\epsilon I^*}{ R^*} \nonumber \\ \nu&= \frac{(1-\omega )\eta I^*}{ B^*} \end{aligned}
(16)

Substituting (16) into (15), we get

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}&=\left( 1-\frac{S^*}{S}\right) (\left[ \frac{(1-\omega )\alpha B^*}{\kappa +B^*}+\mu \right] S^*-\left[ \frac{(1-\omega )\alpha B}{\kappa +B}+\mu \right] S)\\&\quad +M\left( 1-\frac{I^*}{I}\right) (\frac{(1-\omega )\alpha BS}{\kappa +B}-\frac{(1-\omega )\alpha B^*S^*I}{(\kappa +B^*)I^*})\\&\quad +P\left( 1-\frac{R^*}{R}\right) (\epsilon I-\frac{\epsilon I^*R}{ R^*} )+Q\left( 1-\frac{B^*}{B}\right) ((1-\omega )\eta I - \frac{(1-\omega )\eta I^* B}{ B^*}), \end{aligned}

which upon simplification we arrive at

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}&=-\mu \frac{(S-S^*)^2}{S}+\left( 1-\frac{1}{w}\right) \left( \frac{(1-\omega )\alpha B^*S^*}{\kappa +B^*}\right) -\left( 1-\frac{1}{w}\right) \left( \frac{(1-\omega )\alpha wz B^*S^*}{\kappa +zB^*}\right) \nonumber \\&\quad +M\left( \frac{(1-\omega )\alpha B^*S^* wz}{\kappa +zB^*}-\frac{(1-\omega )\alpha B^*S^*x}{(\kappa +B^*)}-\frac{(1-\omega )\alpha B^*S^*wz}{(\kappa +zB^*)x}+\frac{(1-\omega )\alpha B^*S^*}{(\kappa +B^*)}\right) \nonumber \\&\quad +P\left( \epsilon I^*x-\epsilon I^*y-\frac{\epsilon I^*x}{y}+\epsilon I^* \right) \nonumber \\&\quad +Q\left( (1-\omega )\eta I^*x - (1-\omega )\eta I^*z-\frac{(1-\omega )\eta I^*x}{z}+ (1-\omega )\eta I^*\right) , \end{aligned}
(17)

where $$w=\frac{S}{S^*}$$, $$x=\frac{I}{I^*}$$, $$y=\frac{R}{R^*}$$ and $$z=\frac{B}{B^*}$$. Furthermore, Eq. (17) can be written as

\begin{aligned} \frac{\mathrm{d}V}{\mathrm{d}t}=-\mu \frac{(S-S^*)^2}{S}+ f(w,x,y,z), \end{aligned}

where

\begin{aligned} \begin{array}{l} f(w,x,y,z)=\left( 1-\frac{1}{w}\right) \left( \frac{(1-\omega )\alpha B^*S^*}{\kappa +B^*}\right) -\left( 1-\frac{1}{w}\right) \left( \frac{(1-\omega ) \alpha wz B^*S^*}{\kappa +zB^*}\right) \\ +M\left( \frac{(1-\omega )\alpha B^*S^* wz}{\kappa +zB^*}-\frac{(1-\omega ) \alpha B^*S^*x}{(\kappa +B^*)}-\frac{(1-\omega )\alpha B^*S^*wz}{(\kappa +zB^*)x}+\frac{(1-\omega )\alpha B^*S^*}{(\kappa +B^*)}\right) \\ +P\left( \epsilon I^*x-\epsilon I^*y-\frac{\epsilon I^*x}{y} +\epsilon I^* \right) \\ +Q\left( (1-\omega )\eta I^*x - (1-\omega )\eta I^*z-\frac{(1-\omega )\eta I^*x}{z}+ (1-\omega )\eta I^*\right) . \end{array} \end{aligned}
(18)

To determine M, P and Q, we set the coefficients of wz, y and z of Eq. (18) equal to zero and obtain,

\begin{aligned}&M\frac{(1-\omega )\alpha B^*S^*}{\kappa +zB^*}=0\\&-P\epsilon I^*=0\\&-Q(1-\omega )\eta I^*=0 \end{aligned}

Let M=1, solving for P and Q, we have

\begin{aligned} P=\frac{(1-\omega )\alpha B^*S^*}{(\kappa +zB^*)\epsilon I^*},\;\; Q=\frac{(1-\omega )\alpha B^*S^*}{(\kappa +zB^*)\eta I^*} \end{aligned}

Substituting for M, P and Q in Eq. (18) and simplifying the result, we obtain

\begin{aligned} f(w,x,y,z)&=\frac{(1-\omega )\alpha B^*S^*}{\kappa +B^*}\left( 2-\frac{1}{w}-x\right) +\frac{(1-\omega )\alpha B^*S^*}{\kappa +zB^*}\left( x+z-y-\frac{x}{y}-\frac{wz}{x}+1 \right) \\&\quad +\frac{(1-\omega )^2\alpha B^*S^*}{\kappa +zB^*}\left( x - z-\frac{x}{z}+ 1\right) \end{aligned}

Using arithmetic and geometric mean inequality, we have

$$\frac{1}{w}+x>2$$, $$y+\frac{x}{y}+\frac{wz}{x}-x-z>1$$ and $$z+\frac{x}{z}-x> 1$$.

Clearly $$f(w,x,y,z)\le 0$$, hence $$\frac{\mathrm{d}G}{\mathrm{d}t}\le 0$$ in $$\Omega$$. The equality $$\frac{\mathrm{d}V}{\mathrm{d}t}=0$$ if and only if $$w=x=y=z=1$$ and $$S = S^*$$, $$I = I^*$$, $$R=R^*$$, $$B=B^*$$. Thus, system (1) has a unique endemic equilibrium point $$E^*$$ which is globally asymptotically stable if $${\mathcal {R}}_0 > 1$$ using LaSalle’s invariance principle in . $$\square$$

## Results

We carry out numerical simulations of model (1), using MATLAB ode45 solver. The parameter values used are presented in Table 1.

Figure 2a shows that in the absence of treatment or presence of ineffective treatment $$(0\le \omega <1)$$, the number of infected individuals decreases at the onset of the disease, followed by a rapid increase and settles at the endemic level. But when treatment is effective $$(\omega =1)$$, the number of infected individuals decreases and finally converges to the disease-free equilibrium point. Figure 2b exhibits that in the absence of treatment or the presence of ineffective treatment $$(0\le \omega <1)$$, the number of pathogens rises rapidly; this is due to the continued shedding of pathogens by infected individuals. Figure 2b also shows that when the treatment is effective $$(\omega =1)$$, the number of pathogens decreases and eventually converges to the disease-free equilibrium point.

## Conclusion

In this study, we have formulated a mathematical model describing the transmission of typhoid fever with treatment as control strategy. The model has disease free equilibrium and endemic equilibrium. We have derived the basic reproduction number $${\mathcal {R}}_0$$ and shown that the typhoid fever will disappear if $${\mathcal {R}}_0<1$$. We have also shown that typhoid fever persists in the population if $${\mathcal {R}}_0>1$$, implying that after some period of time the typhoid fever will become hazardous. The findings of the numerical simulation indicate that effective treatment is adequate in eradicating typhoid fever.

## Availability of data and materials

Data sharing is not applicable to this paper as no datasets were generated or analyzed during the current study.

## References

1. WHO:Immunization Vaccines and Biologicals. https://www.who.int/teams/immunization-vaccines-and-biologicals/diseases/typhoid Accessed Accessed 10 Nov 2020

2. Simiyu, K., Leslie, J.: Typhoid in a Kenyan village: its impact, its prevention. Am. J. Trop. Med. Hygien 95(5), 1112–1113 (2018)

3. CDC: Typhoid Fever Targets Children from Kenyan Urban Slums. https://www.cdc.gov/globalhealth/countries/kenya/blog/typhoid.htm. Accessed 10 Nov 2020

4. Nthiiri, J.K., Lawi, G.O., Akinyi, C.O., Oganga, D.O., Muriuki, W.C., Musyoka, M.J., Otieno, P.O., Koech, L.: Mathematical modelling of typhoid fever disease incorporating protection against infection. Br. J. Math. Comput. Sci. 14(1), 1–10 (2016)

5. Stephen, E., Nyerere, N.: Modelling typhoid fever with education, vaccinatrion and treatment and applied mathematics. Am. J. Trop. Med. Hyg. 2, 156–164 (2016). https://doi.org/10.11648/j.ijtam.20160202.30

6. Temitope, O.O., Oluwatayo, M.O., Segun, N.O., Grace, E.F., Joshua, O.O., Opeyemi, R.A., Omobolaji, Y.H., Adenike, O.O.: On the effect of vaccination, screening and treatment in controlling typhoid fever spread dynamics: deterministic and stochastic applications. Math. Stat. 8(6), 621–630 (2020). https://doi.org/10.13189/ms.2020.080601

7. Van den Driessche, P., Watmough, J.: Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission. Math. Biosci. 180, 2948 (2002)

8. LaSalle, J.P.: The stability of dynamical systems. In: Regional Conference Series in Applied Mathematics, SIAM, Philadelphia (1976)

9. Mutua, J.M., Wang, F.-B., Vaidya, N.K.: Modeling malaria and typhoid fever co-infection dynamics. Math. Biosci. 264, 128–144 (2015)

## Acknowledgements

The authors appreciate ample time given by their respective universities towards this manuscript.

## Funding

There is no any funding.

## Author information

Authors

### Contributions

This work was carried out in collaboration between both authors. Author HON designed the study and wrote the first draft of the manuscript and performed Mathematical analysis of the study . Author JSM managed literature searches and performed numerical simulation. All authors read and approved the final manuscript.

### Corresponding author

Correspondence to Halson O. Nyaberi.

## Ethics declarations

### Ethics approval and consent to participate

Authors declare that there is not any ethical approval.

Not applicable

### Competing interests

The authors declare that they have no competing interests. 