Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2025 Sep 26;15:33206. doi: 10.1038/s41598-024-82955-x

Mathematical modeling and analysis of COVID-19 and typhoid fever co-dynamics with treatment

Daniel S Mgonja 1,2,✉, Alfred Hugo 2, Asha Hassan 2, Oluwole Daniel Makinde 3
PMCID: PMC12475156  PMID: 41006342

Abstract

A deterministic mathematical model for COVID-19 and typhoid fever co-infection was developed and analyzed to assess the effects of treatment on the transmission and control of COVID-19 and typhoid fever in the community. The model incorporates both human and pathogen populations and is subjected to analytical scrutiny, including investigations into the existence, boundedness, and positivity of the solution. The study employs the Next-Generation Matrix Method to calculate the effective reproduction number Inline graphic, and the global stability of the disease-free equilibrium point is examined using the Lyapunov function method. Sensitivity analyses were conducted by computing Partial Rank Correlation Coefficients (PRCC) to determine the impact of each parameter on the spread or control of the diseases. The necessary conditions for the existence of optimal control and the optimality system for the model are established using Pontryagin’s maximum principle. These include three control measures which are: improved COVID-19 treatment, improved typhoid fever treatment, and improved co-infection treatment. Numerical simulations of the model show that, treatment control can effectively reduce the spread of the diseases. Furthermore, increasing the treatment and screening rates can minimize the transmission of COVID-19 and typhoid fever in a population.

Keywords: COVID-19, Typhoid fever, Treatment control, Co-dynamics, Modeling, Analysis

Subject terms: Infection, Infectious diseases, Respiratory tract diseases, Infectious diseases, Bacterial infection, Applied mathematics

Introduction

Global pandemics such as COVID-19 and typhoid fever significantly influence health and the economy worldwide1,2. COVID-19, caused by the highly contagious SARS-CoV-2 virus3, induces respiratory illness and has become a pervasive global threat since its identification in Wuhan, China, in 20192,4,5. SARS-CoV-2 is a respiratory virus that primarily transmits through droplets of saliva generated by an infected person when coughing or sneezing, leading to symptoms ranging from mild to severe, including fever, cough, fatigue, and respiratory distress3,6. COVID-19 involves both symptomatic individuals and asymptomatic carriers. Individuals who develop typical symptoms of COVID-19, such as fever, cough, shortness of breath, and fatigue, are considered infectious and can transmit the SARS-CoV-2 virus to others3,7. On the other hand, individuals infected with the SARS-CoV-2 virus who do not develop any symptoms can still transmit the virus to others, even though they are not showing any signs of illness. As of February 22, 2023, the WHO reported over 670 million confirmed COVID-19 cases globally since the start of the pandemic. The total number of reported COVID-19 deaths worldwide has reached over 6.8 million as of February 22, 2023, and 13,375,580,553 COVID-19 vaccine doses have been administered29.

Before initiating treatment for COVID-19, it is essential to assess the patient’s risk factors for severe disease. These risk factors include older adults, especially those aged 65 and older, unvaccinated individuals, and patients with certain medical conditions such as chronic lung diseases, heart diseases, diabetes, or a weakened immune system12. Several treatments for COVID-19 symptoms include hospitalization, oxygen therapy, antiviral medications, and monitoring for complications.

Typhoid fever, caused by Salmonella Typhi, presents a distinct biological challenge8. However, the one transmitted through contaminated food and water, it exclusively affects humans. This manifests itself through symptoms like prolonged fever, headache, vomiting, and diarrhea. It mainly affects organs such as the liver, spleen, gut, kidneys, and gallbladder, and can cause joint pain6. The global burden of typhoid fever remains significant, especially in low and middle income countries. According to the World Health Organization (WHO), there are an estimated 11 to 20 million cases of typhoid fever annually, leading to approximately 128,000 to 161,000 deaths worldwide10. The incidence is highest in South Asia, South east Asia, and sub-Saharan Africa. The primary treatment for typhoid fever is antibiotic therapy. The choice of antibiotics may depend on the region where the infection was acquired due to the varying resistance patterns of Salmonella Typhi strains26. In addition to antibiotics, supportive care is essential for recovery, including hydration, nutritional support, and monitoring for complications. While treatment is critical for those infected, vaccination remains a key preventive measure for individuals traveling to areas where typhoid fever is endemic16.

Co-infection with COVID-19 and typhoid fever adds complexity, potentially leading to severe symptoms and complicated treatment10–12. Individuals with typhoid fever face an elevated risk of severe illness and death from COVID-198,12. The co-occurrence of symptoms makes accurate diagnosis challenging, emphasizing the importance of prompt and appropriate treatment10,11. Both COVID-19 and typhoid fever are infectious diseases. Therefore, measures to control their spread include the isolation of infected individuals, contact tracing, and the implementation of public health protocols such as hand hygiene, social distancing, and the use of personal protective equipment (PPE)15. Vaccines are available for both diseases; however, COVID-19 vaccines are more widely available and distributed globally compared to typhoid fever vaccines14. Furthermore, COVID-19 and typhoid fever share common symptoms, including fever, cough, fatigue, headache, and muscle aches10.

Mathematical modeling is essential for monitoring, controlling, and predicting infectious disease outbreaks. It also aids policymakers and decision-makers in public health in creating and implementing control strategies10. Mathematical models have been developed to understand the control strategies for COVID-19, typhoid fever, and co-infections9. For instance,29 developed a mathematical model for the transmission dynamics of COVID-19 and dengue fever, incorporating optimal controls and cost-effectiveness analysis. The results revealed that either a dengue-only or a COVID-19-only control strategy significantly reduces new cases of co-infection.30 developed a mathematical model for the co-infection of COVID-19 and cholera, which included control measures. The results showed that social distancing and water purification can be effective in preventing the spread of these diseases.25 established a nonlinear mathematical model for the co-infection of typhoid fever and cholera, revealing that controlling both diseases in tandem is necessary for the greatest impact on disease control.31 developed a mathematical model for the co-infection of COVID-19, HIV, and dengue, which included an optimal control strategy. The results showed that the combined strategy for COVID-19 and HIV would be the most effective and optimal approach to controlling the spread of these diseases.32 presents a nonlinear deterministic mathematical model for the co-infection of pneumonia and COVID-19 transmission dynamics with optimal control. The results revealed that a combination of treatment and prevention is the most effective way to minimize these diseases.

However, in all these studies, no work has been done to investigate the co-infection of COVID-19 and typhoid fever, along with their treatments. Therefore, the goal of this study is to ascertain how treatment, used as a control measure, affects the co-dynamics of the transmission of COVID-19 and typhoid fever.

Model formulation

In this section, the mathematical model for Typhoid fever and COVID-19 co-infection is formulated. The model depicts two main populations: the human population and the pathogen population. The human population, denoted as Inline graphic, is further categorized into seven distinct subclasses. Susceptible humans Inline graphic are those at risk of developing Typhoid fever, COVID-19, or both . Exposed humans Inline graphic are those infected but incapable of transmitting the infection. Infected humans, denoted as Inline graphic, Inline graphic, and Inline graphic, are those showing symptoms of the diseases and can transmit them to others, Treatment class denoted by Inline graphic, are those who have been treated for the diseases. Recovered humans Inline graphic are those who have temporary immunity and have recovered from the diseases. The pathogen population is classified into two subclasses: the concentration of Salmonella Typhi in the environment, which is found in contaminated food and water, including raw fruits and vegetables, raw meat and seafood, sewage, and rivers, denoted by Inline graphic. The concentration of SARS-CoV-2 viruses in the environment, which is found in enclosed indoor spaces and on high-touch surfaces like doorknobs, handrails, and elevator buttons, is denoted by Inline graphic. Hence, the total human and pathogen population is given by:

graphic file with name d33e407.gif 1

The model assumes that the susceptible class increases due to birth or immigration at a constant rate, denoted as Inline graphic, and also from the recovered class by losing temporary immunity at a rate of Inline graphic. The entire human population in each compartment experiences a natural death rate of Inline graphic. Susceptible individuals in class Inline graphic acquire Typhoid fever and COVID-19 and move to the exposed class Inline graphic through contact with infected individuals and a contaminated environment, influenced by the force of infection denoted by Inline graphic, where

graphic file with name d33e452.gif 2

The susceptible individuals acquire Typhoid fever through contact with active Typhoid fever patients, co-infected patients, and a contaminated environment containing Salmonella Typhi, through the forces of infection Inline graphic and Inline graphic, given by:

graphic file with name d33e471.gif 3

In this expression, Inline graphic denotes the effective contact rate for person-to-person transmission of Typhoid fever, while Inline graphic denotes the effective contact rate due to transmission from a contaminated environment to a person. Additionally, Inline graphic represents the carrying capacity for Salmonella typhi. Susceptible individuals acquire COVID-19 through contact with individuals infected with COVID-19, co-infected patients, and through contaminated environments containing SARS-CoV-2, via the forces of infection Inline graphic and Inline graphic, as given by

graphic file with name d33e512.gif 4

In this expression, Inline graphic denotes the effective contact rate for person-to-person transmission of COVID-19, while Inline graphic represents the effective contact rate due to environmental contamination (environment-to-person transmission). Additionally, Inline graphic is the carrying capacity for the SARS-CoV-2 virus. Moreover, it is assumed that all individuals in the exposed class undergo screening and double screening to identify those who acquire Typhoid fever at a rate of Inline graphic, COVID-19 at a rate ofInline graphic, and co-infected individuals at a rate of Inline graphic, with a transition rate of Inline graphic per day. They then move to classes Inline graphic, Inline graphic, and Inline graphic, respectively.

A co-infected population increases when individuals infected with COVID-19, denoted as Inline graphic, come into contact with individuals infected with typhoid fever, denoted as Inline graphic, or with an environment contaminated with Salmonella typhi, denoted as Inline graphic.

Additionally, the co-infected population increases when individuals infected with Typhoid fever Inline graphic come into contact with individuals infected with COVID-19 Inline graphic or an environment contaminated with SARS-CoV-2 Inline graphic.

The individuals infected by Typhoid fever or COVID-19 recover naturally at the rates of Inline graphic and Inline graphic, respectively, or through treatment Inline graphic. It is assumed that the number of infected individuals in the classes Inline graphic and Inline graphic reduces through treatment at the transition rates of Inline graphic, Inline graphic, and Inline graphic, with induced deaths at rates Inline graphic, Inline graphic, and Inline graphic, respectively. Furthermore, we assume that individuals in compartment Inline graphic leave for compartments Inline graphic and Inline graphic at rates of Inline graphic and Inline graphic, or at a rate of Inline graphic. Finally, individuals in the Inline graphic compartment decrease when they return to the susceptible Inline graphic compartment due to loss of immunity at a rate of Inline graphic.

Additionally, in the pathogen environment, the population decreases due to decay rates of Inline graphic for Salmonella Typhi and Inline graphic for the SARS-CoV-2 virus, respectively. Furthermore, Salmonella Typhi and SARS-CoV-2 in the environment grow logistically at rates of Inline graphic and Inline graphic, respectively, but also through shedding rates of Inline graphic, Inline graphic,Inline graphic, andInline graphic.

The mathematical model describing the transmission dynamics of Typhoid fever and COVID-19 co-infection under the specified assumptions is represented by the following set of non-linear differential equations:

The schematic diagram in Fig. 1 represents the model. The dashed arrow indicates contamination of the environment by infected humans.

Figure 1.

Figure 1

The transmission dynamics of Typhoid fever and COVID-19 co-infection.

The dynamics of the disease can be described by the following system of non-linear differential Eq. (5):

graphic file with name d33e819.gif 5

with initial conditions

Inline graphic ,   Inline graphic,  Inline graphic,  Inline graphic,   Inline graphic,  Inline graphic,  Inline graphic,

Inline graphic  and   Inline graphic.

Table 1 provides the description of variables, and Table 2 are the parameters used in the proposed model.

Table 1.

Variables of the co-infection model of typhoid fever and COVID-19.

Symbol Description
Inline graphic The total human population Inline graphic at time Inline graphic
Inline graphic The susceptible human population for both COVID-19 and Typhoid Fever and co-infection
Inline graphic The number of individuals exposed to COVID-19, Typhoid Fever, and co-infections
Inline graphic Individuals infected only with Typhoid Fever
Inline graphic Individuals infected only with COVID-19
Inline graphic Individuals infected with both Typhoid Fever and COVID-19
Inline graphic Treated individuals infected with Typhoid Fever, COVID-19, and co-infections
Inline graphic Individuals who have recovered from Typhoid Fever, COVID-19, and co-infections
Inline graphic The concentration of Salmonella Typhi bacteria in the environment
Inline graphic The concentration of SARS-CoV-2 viruses in the environment

Table 2.

Description of model parameters with units for the proposed model.

Par. Description Units
Inline graphic Constant human recruitment rate –
Inline graphic Human-to-human Typhoid fever transmission rate –
Inline graphic Transmission rate from the environment to humans for Salmonella typhi Inline graphic
Inline graphic Human-to-human COVID-19 transmission rate Inline graphic
Inline graphic Transmission rate from the environment to humans for SARS-CoV-2 Inline graphic
in the contaminated environment
Inline graphic Rate of losing immunity for recovered humans Inline graphic
Inline graphic Natural death rate of humans Inline graphic
Inline graphic Decay rate of the SARS-CoV-2 virus Inline graphic
Inline graphic Decay rate of Salmonella typhi Inline graphic
Inline graphic Treatment rate for Typhoid fever patients Inline graphic
Inline graphic Treatment rate for co-infected patients Inline graphic
Inline graphic Treatment rate for COVID-19 patients Inline graphic
Inline graphic Shading rate of Salmonella typhi by Typhoid fever-infected humans Inline graphic
Inline graphic Shading rate of Salmonella typhi by co-infected humans Inline graphic
Inline graphic Shading rate of SARS-CoV-2 by co-infected humans Inline graphic
Inline graphic Shading rate of SARS-CoV-2 by COVID-19-infected humans Inline graphic
Inline graphic Typhoid fever-induced death rate Inline graphic
Inline graphic Co-infection-induced death rate Inline graphic
Inline graphic COVID-19-induced death rate Inline graphic
Inline graphic Natural recovery rate from one disease among co-infections Inline graphic
Inline graphic Fraction of co-infected individuals who naturally recovered from COVID-19 Inline graphic
Inline graphic Fraction of co-infected individuals who naturally recovered from Typhoid fever Inline graphic
Inline graphic Fraction of co-infected individuals who received treatment Inline graphic
Inline graphic Transition rate per day to infected classes Inline graphic
Inline graphic Rate of screening for exposed individuals with COVID-19 Inline graphic
Inline graphic Rate of screening for exposed individuals with Typhoid fever Inline graphic
Inline graphic Rate of screening for exposed individuals with co-infection diseases Inline graphic
Inline graphic Growth rate of Salmonella typhi bacteria Inline graphic
Inline graphic Growth rate of the SARS-CoV-2 virus Inline graphic
Inline graphic Natural recovery rates for Typhoid fever and COVID-19, respectively Inline graphic
Inline graphic Recovery rate for co-infection after treatment Inline graphic
Inline graphic Carrying capacity for Salmonella typhi and SARS-CoV-2, respectively Inline graphic

Mathematical analysis of the proposed model

Positivity and boundedness

Since the system (5) represents the population in each class and all model parameters are positive, it lies in a region Inline graphic defined by

graphic file with name d33e1593.gif

For the model (5) to be mathematically and biologically meaningful, it is necessary to prove that its solutions are all positive if their initial values are non-negative. In this subsection, we investigate the positivity of the solutions of the model and establish their bounds.

Positivity of the solution of the model

Theorem 1

The solutions of the model (5) are positive in the region Inline graphic if its initial values are non-negative for all Inline graphic.

Consider the ordinary differential equation for susceptible human Inline graphic of the model (5),

graphic file with name d33e1634.gif

and observe that

graphic file with name d33e1640.gif 6

Upon separating variables and integrating (6), we obtain

graphic file with name d33e1651.gif

By the same process, we obtain

graphic file with name d33e1657.gif

This implies that all solutions of the model (5) are positive for all Inline graphic. This ends the proof of Theorem 1.

Boundedness of the model’s solutions

The boundedness of the solutions of the model (5) in the region Inline graphic is demonstrated by considering the total rate of change of the human population, Inline graphic, governed by

graphic file with name d33e1694.gif

and observe that

graphic file with name d33e1700.gif 7

Using Birkhoff and Rota’s theorem17 on differential inequalities, along with the method of separation of variables applied to the inequality (7), and after substituting the initial conditions, we obtain

graphic file with name d33e1715.gif 8

As Inline graphic, inequality (8) reduces to

graphic file with name d33e1731.gif

Since human population is non-negative, implies that

graphic file with name d33e1738.gif

Similarly, it follows that the upper bound for the bacterial concentration of salmonella Typhi is bounded above by

graphic file with name d33e1744.gif 9

From inequality (Eq. 7),

If Inline graphic, then

graphic file with name d33e1762.gif 10

After differentiate (Eq. 10)

graphic file with name d33e1772.gif 11

The constant

graphic file with name d33e1779.gif 12

is the upper bound for the differential inequality (11) since (11) is the logistic growth model with carrying capacity (12). For some Inline graphic, Inline graphic is an upper bound for Inline graphic where (10) is false, while Inline graphic is bounded above by (12) for the rest of the time points in the domain Inline graphic if ( 10) is true. The constant Inline graphic is the maximum shedding rate from the Typhoid fever infected individuals and dually infected individuals. In both cases

graphic file with name d33e1843.gif 13

Within the feasible region

graphic file with name d33e1850.gif 14

Hence, we can conclude that the solutions of the developed model are bounded in the positive region Inline graphic. In this case, the developed model is mathematically and biologically meaningful, and it is considered for further analysis.

Equilibrium points and the effective reproduction number Inline graphic

Disease free equilibrium point (DFE)

A disease-free equilibrium point refers to a state in which a community, population, or system is entirely free from COVID-19 and typhoid fever. To analyze the disease-free equilibrium point, it is necessary to examine both the conditions required for its formation and the factors that contribute to the absence of disease transmission.

The DFE is established by setting the right-hand side of the model system (5) to zero and substituting zero values for the infectious states and the force of infection (i.e., Inline graphic).

Upon solving and simplifying the resulting system, we get

graphic file with name d33e1888.gif

The formulated DFE is used to compute a state where there are no causative agents of COVID-19, Typhoid fever, or both. Furthermore, the DFE is used to compute the effective reproduction number Inline graphicof the co-infection of COVID-19 and Typhoid fever, which describes the persistence or extinction of the disease(s) within the population.

The effective reproductive number Inline graphic

The effective reproductive number, denoted as Inline graphic, is a crucial metric in the study of epidemiological models for disease management. By estimating Inline graphic, epidemiologists can assess the potential effects of an outbreak and predict its progression. Specifically, if Inline graphic, it indicates that each infected individual, on average, causes fewer than one secondary infection, leading to the eventual extinction of the disease within the population. When Inline graphic, the average number of secondary infections remains stable, it means that the disease will neither spread nor die out. Conversely, if Inline graphic, it suggests that a single infected individual generates more than one secondary infection resulting in the disease potentially spreading throughout the entire population.

Adopting the next-generation matrix approach by18,19 to formulate the formula for Inline graphic of the model (5) is given by

graphic file with name d33e1958.gif

where

graphic file with name d33e1964.gif
graphic file with name d33e1969.gif
graphic file with name d33e1975.gif

By inspection, it is observed that Inline graphic depends on sub-effective reproductive numbers: Inline graphic and Inline graphic These respectively define the expected number of newly infected individuals produced by one infected person with Typhoid fever, COVID-19, and co-infection; the secondary number of infected Typhoid fever patients generated by ingesting Salmonella Typhi shed by one infected Typhoid fever individual; and the secondary number of infected COVID-19 patients generated by ingesting SARS-CoV-2 shed by one infected COVID-19 individual.

Global stability of disease free equilibrium (DFE)

The disease-free equilibrium is considered stable if it can maintain its state despite perturbations or initial conditions. This concept, known as global stability, ensures that a system remains at the disease-free equilibrium regardless of initial circumstances. Global stability analysis aims to assess whether a population can stay disease-free without external influences, such as infections or changes in dynamics. Additionally, it offers insights into the effectiveness of control measures in preventing disease recurrence and replication.

Theorem 2

DFE is globally asymptotically stable whenever Inline graphic as Inline graphic and unstable otherwise.

Let the infectious state of the system (5) be denoted by

graphic file with name d33e2024.gif

Adopting the comparison principle by18 we get:

graphic file with name d33e2034.gif 15

where matrices Inline graphic and Inline graphic are evaluated at disease-free equilibrium in Inline graphic Inline graphic is a vector containing the rate of change of infected states, where

graphic file with name d33e2066.gif 16

Applying the Perron-Frobenius theorem19 for Metzler matrices Inline graphic and Inline graphic, we observe that Inline graphic has a dominant eigenvalue Inline graphic that corresponds to a non-negative vector Inline graphic. It follows that

graphic file with name d33e2108.gif

Motivated by20, we use the Lyapunov function:

graphic file with name d33e2119.gif 17

Differentiating the function (17) with respect to Inline graphic along with the infected states of the system (5), and using Eq. (15), we get:

graphic file with name d33e2141.gif

The stability criteria Inline graphic is attained only for Inline graphic.

If Inline graphic for Inline graphic, then Inline graphic. Because the Perron-Frobenius eigenvector Inline graphic has non-negative elements, then

graphic file with name d33e2186.gif 18

Substituting the coordinates of (18) into the model (5), we get the DFE Inline graphic.

When Inline graphic, it implies that the infected variables Inline graphic, and Inline graphic lose their energy to transmit the disease to others, and therefore the system turns to DFE as Inline graphic. The two scenarios suggest that every solution of the system (5) converges to DFE as Inline graphic for Inline graphic. By LaSalle’s invariant principle21, DFE is globally asymptotically stable whenever Inline graphic.

Global stability of endemic equilibrium Inline graphic

The endemic equilibrium Inline graphic is a state where Salmonella typhi and SARS-Cov-2 infections persist among individuals. During the endemic state, the infected individuals and pathogens transmit the diseases to susceptible individuals, and therefore, the number of infected individuals remains relatively constant over time. That is, the forces of infections Inline graphic, Inline graphic, Inline graphic, and Inline graphic. The endemic equilibrium is said to be globally stable if, in the short or long run, the disease becomes endemic (does not die out). During this state, any invariant set in Inline graphic close to Inline graphic remains close to it and eventually converges to Inline graphic over an indefinite time.

Definition 1

A function Inline graphic is called a Lyapunov function if it is continuous and differentiable for all values of Inline graphic satisfying the conditions:

  • i)

    Inline graphic

  • ii)

    Inline graphic

  • iii)

    Inline graphic

Theorem 3

The endemic equilibrium Inline graphic of the model system (5) is globally asymptotically stable if the effective reproduction number Inline graphic. To prove theorem (3.3), we adopt the approach in Osman et al. (2020) by considering the non-linear function.

graphic file with name d33e2381.gif 19

It can be observed that the function Inline graphic in (i) in the definition above is valid for all Inline graphic where Inline graphic and Inline graphic is the endemic equilibrium. Hence, Inline graphic is a Lyapunov function.

To prove if condition (iii) holds, we differentiate Inline graphic along the solution of the model (5) to obtain:

graphic file with name d33e2429.gif 20

Substituting system (5) into Eq. (21) yields

graphic file with name d33e2443.gif 21

Now substitute

Inline graphic we get

graphic file with name d33e2457.gif 22

Now, collecting positive and negative terms together in the system (22):

graphic file with name d33e2467.gif 23

Let,

graphic file with name d33e2474.gif 24

and

graphic file with name d33e2481.gif 25

Then,

graphic file with name d33e2489.gif 26

Inline graphic and Inline graphic

Therefore, the maximum compact invariant set in Inline graphic is a singleton Inline graphic, which is the endemic equilibrium of the model system (5). Then, by LaSalle’s invariant principle, it implies that Inline graphic is globally asymptotically stable in the interior of Inline graphic if Inline graphic.

Global sensitivity of model parameters on the state variables using LHS–PRCC

In this study, we utilize the Latin Hypercube Sampling (LHS) and Partial Rank Correlation Coefficient (PRCC) methods to conduct uncertainty and global sensitivity analyses22. The LHS method samples model parameters while accounting for uncertainty by treating them as probabilistic variables that are uniformly distributed across specified ranges. The PRCC method calculates the correlation coefficients between model outputs (state variables) and model inputs (parameters), assessing the strength of their relationship. A positive PRCC value indicates that as the input parameter increases, the output state variable also tends to increase. The PRCC of the parameters with respect to the state variables Inline graphic and Inline graphic is computed using the basic model (5), LHS parameters, a large sample size of Inline graphic, initial conditions for simulating the basic model, and an algorithm from23. This relationship is illustrated in the following figures.

The results in Fig. 2 indicate that Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are positively correlated to the infected Typhoid fever humans Inline graphic, meaning that they are responsible for increasing the number of infected humans Inline graphic. All these parameters should be reduced throughout the epidemic of Typhoid fever, with the exception of shedding behavior and loss of immunity, which should be reduced during the first twenty (20) days. Through various control measures such as sanitation practices, boosting individuals’ immune systems, educational campaigns, and safe environmental and food management systems, efforts should be made to reduce the number of humans infected by Typhoid fever. On the other hand, Inline graphic, Inline graphic, and Inline graphic are inversely proportional to Inline graphic, meaning that they lower the number of infected humans Inline graphic whenever they increase.

Figure 2.

Figure 2

PRCC values for LHS parameters of model (5) in the typhoid infected human population.

Figure 3 indicates that Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are significantly positively correlated to Inline graphic. These parameters are responsible for the increase in the number of SARS-CoV-2 infections in the human population when they increase. The influence of parameters Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic is high at the beginning of the epidemic and decreases slightly, stabilizing after 20 days. The influence of Inline graphic increases with time because the more individuals are recruited, the more interactions occur, resulting in more physical transmission among humans. On the other hand, parameters such as Inline graphic, Inline graphic, Inline graphic, and Inline graphic are significantly negatively correlated with Inline graphic, implying that they are responsible for lowering the infections among the human population when they increase. Control measures that speed up recovery rates among humans are ideal for reducing human infections. The parameters such as Inline graphic, Inline graphic, and Inline graphic are observed to have little impact on the dynamics of infected humans.

Figure 3.

Figure 3

PRCC values for LHS parameters of model (5) in the COVID-19 infected human population.

Figure 4 shows that Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are directly proportional to the number of Inline graphic. The increase or decrease of these parameters at specific times influences the increase or decrease in the number of co-infection cases. All these parameters should be reduced throughout the co-infection epidemics, except for the contact rate of COVID-19 through human-to-human transmission Inline graphic and the transition rate Inline graphic, which should be reduced during the first 18 days and 30 days, respectively. To achieve this, control measures such as vaccinations, water sanitation, and treatment should be introduced to reduce the spread of co-infection diseases. On the other hand, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are inversely proportional to Inline graphic. This implies that an increase or decrease in these parameters results in a decrease or increase in co-infection cases.

Figure 4.

Figure 4

PRCC values for LHS parameters of model (5) in the typhoid, and COVID-19 co-infected human population.

Analysis of optimal control model

We now integrate time-dependent controls Inline graphic, Inline graphic, and Inline graphic into model (5). These control functions are bounded and Lebesgue integrable. Specifically, Inline graphic denotes the treatment for COVID-19, Inline graphic refers to the treatment effort for Typhoid fever, and Inline graphic indicates the combined treatment effort for both diseases. The controls Inline graphic, Inline graphic, and Inline graphic are constrained such that Inline graphic. The control system is defined by

graphic file with name d33e2989.gif 27
graphic file with name d33e2995.gif 28

The optimal control system examines scenarios where the number of co-infected cases and the cost of implementing the controls Inline graphic, Inline graphic, and Inline graphic are minimized subject to the state system (5). For this, we consider the objective functional:

graphic file with name d33e3020.gif 29

Inline graphic is the final time, and we seek to find an optimal control Inline graphic such that

graphic file with name d33e3039.gif 30

where Inline graphic such that Inline graphic are measurable with Inline graphic for Inline graphic is the control set. The Pontryagin’s maximum principle33 gives the necessary conditions that an optimal control pair must satisfy. This principle transforms (27), (29), and (30) into a problem of minimizing a Hamiltonian, Inline graphic, pointwise with respect to the control functions Inline graphic.

graphic file with name d33e3097.gif 31

where Inline graphic, Inline graphic are the co-state variables associated with Inline graphic. The adjoint equations are obtained by

graphic file with name d33e3122.gif 32

with transversality

graphic file with name d33e3129.gif 33

From Eq. (30), we obtain the following adjoint equations

graphic file with name d33e3140.gif 34

The optimality of the control problem is obtained by Inline graphic where Inline graphic. The solutions of Inline graphic, Inline graphic, and Inline graphic are presented in compact form as

graphic file with name d33e3178.gif 35

Numerical simulation of the model

In this section, we evaluated how treatment control can influence co-infections of COVID-19 and Typhoid fever. The parameter values are provided in Table 3. To address the optimal control problem, we employed the forward-backward sweep method to solve the optimality system of both the state and adjoint systems. The adjoint system was solved using the fourth-order Runge-Kutta method with initial conditions Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic.

Table 3.

Model parameter values.

Parameter Value Source
Inline graphic 447 Assumed
Inline graphic 0.0000207 27
Inline graphic Inline graphic 24
Inline graphic 0.001 Assumed
Inline graphic 0.05 Assumed
Inline graphic 0.3 25
Inline graphic 0.014 13
Inline graphic 0.033 26
Inline graphic 0.119 Assumed
Inline graphic 0.052 27
Inline graphic 0.05 Assumed
Inline graphic 0.0447 26
Inline graphic 0.002 27
Inline graphic 0.94 14
Inline graphic 0.13978 28
Inline graphic 1000 Assumed
Inline graphic 1000 Assumed
Inline graphic 10 Assumed
Inline graphic 100 Assumed
Inline graphic 0.2 Assumed
Inline graphic 0.4 Assumed
Inline graphic 0.2 Assumed
Inline graphic 0.43 Assumed
Inline graphic 0.25 Assumed
Inline graphic 0.2 Assumed
Inline graphic 0.5 3
Inline graphic 0.5 Assumed
Inline graphic 0.043 29
Inline graphic 0.005 26
Inline graphic 0.04 26
Inline graphic 0.014 24
Inline graphic 0.014 24
Inline graphic 1,000,000 Assumed
Inline graphic 1,000,000 Assumed

From Fig. 5, it is observed that the number of susceptible individuals declines rapidly within the first five days due to infections from Salmonella Typhi and SARS-CoV-2, as well as natural deaths. This decline does not reach zero; instead, it stabilizes at a non-negative value due to continuous recruitment and recovered individuals losing protective immunity. Additionally, the number of exposed individuals rises within eight days as many susceptible people are infected by Salmonella Typhi, SARS-CoV-2, or both, moving into the exposed class. The number of infected individuals increases as exposed individuals are screened and identified with either disease, and through the natural recovery of co-infected individuals. However, infections decrease due to disease-induced deaths, natural deaths, and effective treatments. Ultimately, the number of recovered individuals grows with the increase in treatment rates. This suggests that to minimize or eliminate the transmission of Typhoid fever and COVID-19 in the human population, effective control measures are necessary.

Figure 5.

Figure 5

Human population.

Figure 6 shows the effects of treatment control on infected humans. In Fig. 6a, treatment control reduces typhoid fever infections, while its absence leads to an increase. Figure 6b indicates that COVID-19 infections also decline with treatment control but rise without it. Figure 6c demonstrates a decrease in co-infected individuals with treatment controls, contrasting with an increase without them. Figure 6d,e reveal that treatment control for typhoid fever, COVID-19, or both reduces the presence of Salmonella typhi and SARS-CoV-2. Figure 6f shows the control profile remains high for about 28 days before dropping. Thus, implementing treatment control during outbreaks is crucial to minimize transmission in a population.

Figure 6.

Figure 6

Simulation of the model showing the effect of treatment control on the infected human.

Figure 7 illustrates the dynamics of Salmonella typhi and SARS-CoV-2 concentrations in the contaminated environments Inline graphic and Inline graphic, respectively. The graphs show that Salmonella typhi concentration increases over the first 10 days, while SARS-CoV-2 concentration rises for 18 days before both decline and stabilize at non-negative constant values. This initial increase is attributed to the growth rates of the pathogens and shedding rates from infected individuals. Subsequently, natural decay rates and the introduction of treatment as a control measure contribute to the decline of pathogens in compartments Inline graphic and Inline graphic.

Figure 7.

Figure 7

Pathogens population.

Effect of varying the treatment rates of infectious humans Inline graphic, Inline graphic and Inline graphic

Figure 8 illustrates the dynamics of Typhoid fever and COVID-19 transmission in the community, focusing on the impact of treatment rates for Typhoid fever, denoted as Inline graphic. When Inline graphic, the number of Typhoid fever infections rises within 5–9 days. However, as Inline graphic increases (i.e., Inline graphic), the infection rate decreases. Thus, we conclude that the infection’s endemicity increases when treatment is not implemented.

Figure 8.

Figure 8

Typhoid fever infected humans.

In Fig. 9, the co-infected population increases as the treatment rate for co-infection decreases. Conversely, an increase in the treatment rate leads to a decrease in the number of people infected with Typhoid fever and COVID-19, indicating effective treatment and recovery. When Inline graphic, the number of co-infected individuals rises, but when Inline graphic, it decreases. Therefore, it is concluded that implementing treatment during the Typhoid fever and COVID-19 pandemic is essential to reduce disease transmission in the community.

Figure 9.

Figure 9

Co-infected humans.

Figure 10 shows how the human population infected by COVID-19 changes with the treatment rate Inline graphic. The number of infected individuals increases as the treatment rate decreases over 12 days. Conversely, as Inline graphic increases, the number of infections decreases. Specifically, when Inline graphic, infections rise, but when Inline graphic, infections decline. This suggests that higher treatment levels lead to more recoveries among infected individuals.

Figure 10.

Figure 10

COVID-19 infected humans.

Impact of varying the screening rates for infectious humans: m, n, and (m+n)

The results in Figs. 11, 12, and 13 show the impact of screening on the transmission of diseases. Higher screening rates lead to the early detection of COVID-19, typhoid fever, and co-infection cases, allowing for the timely isolation and treatment of infected individuals. As a result, this reduces the number of individuals infected with COVID-19, typhoid fever, and co-infection. Conversely, lower screening rates lead to undetected cases and an increase in the number of individuals infected with these diseases, contributing to higher transmission within a community. When Inline graphic, Inline graphic, and Inline graphic, the number of individuals infected with typhoid fever, COVID-19, and co-infection rises. However, when Inline graphic, Inline graphic, and Inline graphic, the number of individuals infected with these diseases decreases. Therefore, it is recommended that implementing screening during the typhoid fever and COVID-19 pandemic is essential to reduce disease transmission in society.

Figure 11.

Figure 11

Typhoid fever infected humans.

Figure 12.

Figure 12

COVID-19 infected humans.

Figure 13.

Figure 13

Co-infected humans.

Discussion and conclusion

COVID-19 and typhoid fever are pandemics that affect lives and economies worldwide. In this paper, a deterministic model was developed and analyzed to investigate the effects of treatment as a control measure on the transmission dynamics of co-infection with COVID-19 and typhoid fever. The model considered both human and pathogen populations. An optimal control was formulated from the basic model, incorporating three control variables: treatment effort for COVID-19 Inline graphic, treatment effort for typhoid fever Inline graphic, and treatment effort for co-infection Inline graphic.

The next-generation matrix method was applied to compute the effective reproductive number Inline graphic, and the local asymptotic stability at the disease-free equilibrium and global asymptotic stability at the disease-free equilibrium and endemic equilibrium point was assessed using the Lyapunov function method. Some limitations of the next-generation matrix method include population mixing, sensitivity to parameter estimation, complexity in multi-pathogen systems, temporary dynamics, applicability of non-exponential growth models, and data quality requirements.

Sensitivity analysis of the model was carried out using the partial Rank Correlation Coefficient (PRCC) method. The results indicate that Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are directly proportional to Inline graphic, meaning that they are responsible for increasing the number of infected humans Inline graphic whenever they increase. On the other hand, parameters such as Inline graphic, Inline graphic, and Inline graphic are inversely proportional to Inline graphic, meaning that they lower the number of infected humans Inline graphic.

Additionally, parameters such as Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are positively correlated to Inline graphic. These parameters are responsible for increasing the number of SARS-CoV-2 infections in the human population when they increase. Furthermore, parameters such as Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are directly proportional to the number of Inline graphic. The increase or decrease of these parameters at specific times influences the increase or decrease in the number of co-infection cases. On the other hand, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic are inversely proportional to Inline graphic. This implies that an increase or decrease in these parameters results in an increase or decrease in co-infection cases.

The optimality system for the co-infection model is established using Pontryagin’s maximum principle. Numerical simulations were carried out, and the results suggest that treatment control and screening should be introduced during the infection period to combat the transmission of COVID-19 and typhoid fever in the community. These results align with the findings in29,30, which indicate that treatments as control measures should be implemented to reduce the number of individuals infected by COVID-19 or typhoid fever.

Based on the findings, it is recommended that during disease outbreaks, policymakers should invest in treatments and screening as control measures to minimize the transmission of COVID-19 and typhoid fever within the population. The findings from this study can also guide public health and infectious disease management in understanding disease interactions and optimizing treatment strategies. For example, they can be useful in identifying the most effective treatment approaches for managing co-infections, such as the timing and combination of interventions for COVID-19 and typhoid fever. In addition, the findings can inform public health policies, including vaccination programs, quarantine measures, and resource allocation. In a future study, we expect to investigate how SARS-CoV-2 affects the immune response to Salmonella Typhi and vice versa. Finally, future studies can be conducted to investigate drug interactions, optimal dosing regimens, and the timing of antibiotics.

Acknowledgements

We sincerely thank Tanzania Institute of Accountancy (TIA), Dar es Salaam, Tanzania, for its financial support.

Author contributions

D.S.M. Developed and created the model; analyzed and interpreted the data; and wrote the manuscript, A.H. Developed and created the model, Manuscript - review & editing, and Insightful suggestions, A.H. Developed and created the model, Manuscript - review & editing, and Insightful ideas, and O.D.M. Developed and created the model; and made critical feedback.

Data availability

All data generated or analysed during this study are included in this published article and its supplementary information files.

Declarations

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Kasanga, M., Mudenda, S., Gondwe, T., Chileshe, M., Solochi, B., & Wu, J., Impact of COVID-19 on blood donation and transfusion services at Lusaka Provincial Blood Transfusion Centre, Zambia. Pan Afr. Med. J.35(Suppl 2) (2020). [DOI] [PMC free article] [PubMed]
  • 2.Makinde, O. D., & Eegunjobi, A. S., Analysis of COVID-19 disease with careless infective using SEITRS model. Asia Pac. J. Math. (2023).
  • 3.Hugo, A., Masawe, L. N. & Raymond, K. Modelling transmission dynamics of coronavirus with infected immigrants in Tanzania. Afr. J. Pure Appl. Sci.2(2), 118–126 (2021). [Google Scholar]
  • 4.Faïcal Ndaïrou, Iván Area, Juan J. Nieto, and Delfim F. M. Torres. Mathematical modeling of COVID-19 transmission dynamics with a case study of Wuhan. Chaos Solitons Fractals135, 109846 (2020). [DOI] [PMC free article] [PubMed]
  • 5.Chen, N. et al. Epidemiological and clinical characteristics of 99 cases of 2019 novel coronavirus pneumonia in Wuhan, China: a descriptive study. Lancet395(10223), 507–513 (2020). [DOI] [PMC free article] [PubMed]
  • 6.Baloch, Z. W., Asa, S. L., Barletta, J. A., Ghossein, R. A., Juhlin, C. C., Jung, C. K., LiVolsi, V. A., Papotti, M. G., Sobrinho-Simoes, Giovanni Tallini, M., et al. Overview of the 2022 WHO classification of thyroid neoplasms. Endocrine Pathol.33(1), 27–63 (2022). [DOI] [PubMed]
  • 7.Vinayagam, S. & Sattu, K. SARS-CoV-2 and coagulation disorders in different organs. Life Sci.260, 118431 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Ayoubzadeh, S. I., Isabel, S., Coomes, E. A., & Morris, S. K. Enteric fever and COVID-19 co-infection in a teenager returning from Pakistan. J. Travel Med.28(3), taab019 (2021). [DOI] [PMC free article] [PubMed]
  • 9.Abidemi, A., Akanni, J. O. & Makinde, O. D. A non-linear mathematical model for analyzing the impact of COVID-19 disease on higher education in developing countries. Healthcare Anal.3, 100193 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Mushayabasa, S. A simple epidemiological model for typhoid with saturated incidence rate and treatment effect. Int. J. Math. Comput. Sci.6(6), 688–695 (2013). [Google Scholar]
  • 11.Mekonen, K. G., Balcha, S. F., Obsu, L. & L., & Hassen, A.,. Mathematical modeling and analysis of TB and COVID-19 co-infection. J. Appl. Math.2022, 1–20 (2022).
  • 12.Tibane, N. S., Makinde, O. D. & Monaledi, R. L. Dynamics of COVID-19 disease with its economic implications and optimal control: An exploitation of variational iteration method. Inf. Med. Unlocked42, 101356 (2023). [Google Scholar]
  • 13.Stephano, M. A., Irunde, J. I., Mwasunda, J. A., & Chacha, C. S. A continuous time Markov chain model for the dynamics of bovine tuberculosis in humans and cattle. Ricerche di Matematica, pp. 1–27 (2022).
  • 14.Akinwande, N. I., Ashezua, T. T., Gweryina, R. I., Somma, S. A., Oguntolu, F. A., Usman, A., Abdurrahman, O. N., Kaduna, F. S., Ada Jime, T. P., & Kuta, F. A., et al. Mathematical model of COVID-19 transmission dynamics incorporating booster vaccine program and environmental contamination. Heliyon8(11), (2022). [DOI] [PMC free article] [PubMed]
  • 15.Calina, D. et al. COVID-19 vaccines: ethical framework concerning human challenge studies. DARU J. Pharm. Sci.28, 807–812 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Alalhareth, F. K., Alharbi, M. H. & Ibrahim, M. A. Modeling typhoid fever dynamics: Stability analysis and periodic solutions in epidemic model with partial susceptibility. Mathematics11(17), 3713 (2023). [Google Scholar]
  • 17.Bani-Yaghoub, M., Gautam, R., Shuai, Z., Den Driessche, P. & Ivanek, R. Reproduction numbers for infections with free-living pathogens growing in the environment. J. Biol. Dyn.6(2), 923–940 (2012). [DOI] [PubMed] [Google Scholar]
  • 18.Njagarah, J. B. H., & Nyabadza, F. Modelling optimal control of cholera in communities linked by migration. Comput. Math. Methods Med. (2015). [DOI] [PMC free article] [PubMed]
  • 19.Cvetkovi, A. Stabilizing the Metzler matrices with applications to dynamical systems. Calcolo57(1), 1 (2020). [Google Scholar]
  • 20.Mhlanga, A. & Mupedza, T. V. A patchy theoretical model for the transmission dynamics of SARS-CoV-2 with optimal control. Sci. Rep.12(1), 17840 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Den Driessche, P. & Yakubu, A. Disease extinction versus persistence in discrete-time epidemic models. Bull. Math. Biol.81(11), 4412–4446 (2019). [DOI] [PubMed] [Google Scholar]
  • 22.Gomero, B. Latin hypercube sampling and partial rank correlation coefficient analysis applied to an optimal control problem. (2012).
  • 23.Marino, S., Hogue, I. B., Ray, C. J. & Kirschner, D. E. A methodology for performing global uncertainty and sensitivity analysis in systems biology. J. Theor. Biol.254(1), 178–196 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Collineau, L. et al. A within-flock model of Salmonella Heidelberg transmission in broiler chickens. Prev. Vet. Med.174, 104823 (2020). [DOI] [PubMed] [Google Scholar]
  • 25.Matsebula, L. & Nyabadza, F. Mathematical analysis of cholera-typhoid co-infection transmission dynamics. Front. Appl. Math. Stat.8, 892098 (2022). [Google Scholar]
  • 26.Stephen, E. & Nyerere, N. Modelling typhoid fever with education, vaccination, and treatment and applied mathematics. Am. J. Trop. Med. Hyg.2, 156–164 (2016). [Google Scholar]
  • 27.Hezam, I. M., Foul, A. & Alrasheedi, A. A dynamic optimal control model for COVID-19 and cholera co-infection in Yemen. Adv. Diff. Equ.2021(1), 1–30 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Tilahun, G. T., Makinde, O. D., & Malonza, D. et al. Modelling and optimal control of typhoid fever disease with cost-effective strategies. Comput. Math. Methods Med. (2017). [DOI] [PMC free article] [PubMed]
  • 29.Omame, A., Rwezaura, H., Diagne, M. L., Inyama, S. C. & Tchuenche, J. M. COVID-19 and dengue co-infection in Brazil: optimal control and cost-effectiveness analysis. Eur. Phys. J. Plus136(10), 1090 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Foul, H. A. & Alrasheedi, A. A dynamic optimal control model for COVID-19 and cholera co-infection in Yemen. Adv. Differ. Equ.2021, 108. 10.1186/s13662-021-03271-6 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Omame, A., Raezah, A., Diala, U. & Onuoha, C. Optimal strategies to be adopted in controlling Covid-19, dengue and HIV: Insight from a mathematical model. Axioms12(8), 773 (2023). [Google Scholar]
  • 32.Aga, B.Z., Keno, T.D., Terfasa, D.E., & Berhe, H.W. Pneumonia and COVID-19 co-infection modeling with optimal control analysis. Front. Appl. Math. Stat.9, 1286914 (2024).
  • 33.Pontryagin, L. S., Boltyanskii, V. G., Gamkrelidze, R. V. & Mishchenko, E. F. The mathematical theory of optimal processes (Wiley, New York, 1962). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All data generated or analysed during this study are included in this published article and its supplementary information files.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES