Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2023 Sep 15;13:15284. doi: 10.1038/s41598-023-42244-5

The stability analysis of a nonlinear mathematical model for typhoid fever disease

Ihsan Ullah Khan 1, Shahbaz Mustafa 1, Ali Shokri 2, Shuo Li 3, Ali Akgül 4,5,6, Abdul Bariq 7,
PMCID: PMC10504385  PMID: 37714901

Abstract

Typhoid fever is a contagious disease that is generally caused by bacteria known as Salmonella typhi. This disease spreads through manure contamination of food or water and infects unprotected people. In this work, our focus is to numerically examine the dynamical behavior of a typhoid fever nonlinear mathematical model. To achieve our objective, we utilize a conditionally stable Runge–Kutta scheme of order 4 (RK-4) and an unconditionally stable non-standard finite difference (NSFD) scheme to better understand the dynamical behavior of the continuous model. The primary advantage of using the NSFD scheme to solve differential equations is its capacity to discretize the continuous model while upholding crucial dynamical properties like the solutions convergence to equilibria and its positivity for all finite step sizes. Additionally, the NSFD scheme does not only address the deficiencies of the RK-4 scheme, but also provides results that are consistent with the continuous system's solutions. Our numerical results demonstrate that RK-4 scheme is dynamically reliable only for lower step size and, consequently cannot exactly retain the important features of the original continuous model. The NSFD scheme, on the other hand, is a strong and efficient method that presents an accurate portrayal of the original model. The purpose of developing the NSFD scheme for differential equations is to make sure that it is dynamically consistent, which means to discretize the continuous model while keeping significant dynamical properties including the convergence of equilibria and positivity of solutions for all step sizes. The numerical simulation also indicates that all the dynamical characteristics of the continuous model are conserved by discrete NSFD scheme. The theoretical and numerical results in the current work can be engaged as a useful tool for tracking the occurrence of typhoid fever disease.

Subject terms: Applied mathematics, Bacterial infection

Introduction

Infectious diseases can be transmitted among people either directly or indirectly. These diseases take place when germs enter into the body, enhance in quantity, and then cause a reaction of the body. Typhoid fever is a severe infection disease that can spread in the whole body, influencing numerous organs. If not treated on time, it can cause genuine difficulties and can be life threatening. It is caused by bacteria named Salmonella Typhi1. This bacteria is found in constipated food or water, and it causes illness when it enters the body through drinking or eating. Although, the sanitation of water coverage is improved but the spread of typhoid disease is still a noteworthy public health issue in several emergent countries2. The most common typhoid symptoms are migraine, stomach ache, knee pain, spine, muscular pain, lack of appetite, spew, dysentery, spots, and fever3.

Typhoid fever can become more dangerous if not treated instantly. It can damage the internal flow of blood and cause infection in the tissue that lies in the stomach4. Typhoid fever can be diagnosed by using some simple blood or stool tests. These tests identify the existence of Salmonella typhi in blood or stool samples. Typhoid fever preventive and control strategies include antibiotic treatments, stool standard precautions, vaccination, environmental sanitation and clean water5. Typhoid fever maybe treated with medicines and the symptoms improve within four weeks. The symptoms may return if treatment is not completed6. Over 110 years ago, the first typhoid vaccine was developed. Typhoid fever vaccines are available in two forms: oral and injectable. Vi polysaccharide vaccine is a licensed injectable vaccine which is secure and 65% defensive while Ty21a is a licensed liquid oral vaccine that can be used for children of 2 years and older. The oral vaccine is more costly than the Vi polysaccharide vaccine7. Many studies have been carried out over the last few decades, and different studies have resulted into different mathematical models47.

Numerous physical phenomena are being explained by researchers using fractional and integer order mathematical models815. The implementation of mathematical modelling enables us to focus on the process by which an infectious disease spreads throughout a region. To comprehend various infectious diseases and their dynamical properties, experts from all around the world developed several mathematical models1618. Mathematical models can be used to relate the evolving dynamics of infection and biological mechanisms of transmission at the population level19,20. By using optimal control techniques, Getachew et al.21 built a deterministic mathematical model of typhoid disease to investigate its effects. The author also utilized some control strategies with cost-effective approaches. Musa et al.22 inspected the spread dynamics of the typhoid fever epidemic. The model evaluates how public health education initiatives affect the pathogenesis of typhoid fever, which can lead to significant outbreaks, especially in areas with limited resources. To analyze the dynamics of typhoid fever sickness while considering infection resistance, a mathematical model was formed by Nthiiri et al.23 using a set of ordinary differential equations. Adeboye et al.24 constructed and investigated a mathematical model of typhoid and malaria co-infection that tackles the control of the spread of malaria and typhoid simultaneously. Pitzer et al.25 considered a parsimonious age-structured mathematical model of typhoid fever to estimate the initial and indirect impact of vaccination. Cook et al.26 examined a mathematical model that discusses both direct and indirect vaccine safety as well as the benefits of a widespread vaccination programme.

Recently, Karunditu et al.27 investigated a nonlinear epidemic model for typhoid disease transmission. The stability of the disease-free and endemic equilibria was thoroughly examined for the continuous model. The main intention of this work is to use two finite difference schemes, i.e. RK-4 and NSFD schemes to evaluate various properties of the continuous model to exhibit its sustainability and biological viability. The RK-4 scheme cannot exactly maintain the basic dynamical aspects of the continuous model, resulting in numerical solutions that change from the solutions of the original system. On the other hand, our findings demonstrate that the NSFD method is not only suitable for the continuous model but also yields incredibly accurate and efficient outcomes. Mickens28 actually came up with the concept for this. He proposed the name NSFD scheme to differentiate the new numerical system from the previous SFD scheme. In order to compensate for the shortcomings of the RK-4 scheme, the NSFD scheme was developed.

The present paper is structured as follows: The mathematical model is given in Sect.  2. In Sect.  3, the equilibria and basic reproduction number are provided for the model. In Sect.  4, we utilized the RK-4 scheme for the nonlinear mathematical model. We consider the advanced NSFD scheme in Sect.  5 to solve a variety of problems. Using the Schur-Cohn criterion, the local stability of disease-free equilibrium point is examined. However, the Routh-Hurwitz condition is engaged to validate the local stability of the endemic equilibrium point for the NSFD scheme. The global stability of endemic and disease-free equilibria is examined employing the properties of the Lyapunov function. In order to explain our analytical conclusions, numerical simulations are provided in each section. To summarize the whole paper, the conclusions are given in the final section.

Mathematical model and parameters explanation

The present paper discusses and evaluates a deterministic model for the dynamics of typhoid disease. We presume that the whole population N(t) is separated into four sections: Susceptible (S), Exposed (E), Infected (I), and Recovered (R), i.e. N(t)=S(t)+E(t)+I(t)+R(t). The model employs the subsequent procedure as: SEIR. A fractional map for SEIR model of typhoid disease transmission among unprotected people compartments is shown in Fig. 1.

Figure1.

Figure1

The detailed description of epidemic model for typhoid fever disease transmission.

From Fig. 1, we can describe the following SEIR disease system27 of nonlinear ordinary differential equations as:

dSdt=φ+σR-αSI-ψS,dEdt=αSI-τE-ψE,dIdt=τE-θI-δI-ψI,dRdt=θI-σR-ψR. 1

Parameters

The following are descriptions of the parameters used in model (1).

  1. ψThe rate of innate dying
  2. δThe number of people who die as a result of an illness.
  3. φThe pace of human recruitingbirth
  4. αThe rate of disease interaction
  5. τThe rate of unprotected symptoms
  6. θThe rate of infectious recovery
  7. σThe rate at which recovered humans loses temporary immunity

The parameters ψ,δ,φ,α,τ,θ,σ are all positive constants. As we know that.

N=S+E+I+R.

Consequently, by combining all dynamical equations in system (1), we get.

dNdt=φ-ψS-ψE-δI-ψR-ψI. 2

From Eq. (2), we can write

dNdtφ-ψS

and.

limtSupNφψ.

Therefore, the feasible area for the continuous system (1) becomes.

A=S,E,I,RR4,S+E+I+Rφψ. 3

Equilibrium points and basic reproductive number

In this section, we establish the equilibrium points of the model (1) and basic reproductive number.

Equilibrium points

For system (1), there exist the following two nonnegative equilibria.

  1. Disease-free equilibrium (DFE) point E0=S0,E0,I0,R0=φψ,0,0,0.

  2. Disease endemic equilibrium (DEE) point E= (S,E,I,R),

where

S=τ+ψθ+δ+ψατ,E=θ+δ+ψσ+ψφτα-ψτ+ψθ+δ+ψατσ+ψτ+ψθ+δ+ψ-θτσI=σ+ψαφτα-ψτ+ψθ+δ+ψσ+ψτ+ψθ+δ+ψ-θτσ,R=1αθφτα-θψτ+ψθ+δ+ψσ+ψτ+ψθ+δ+ψ-θτσ

Basic reproductive number (R0)

The fundamental reproductive number (R0), which measures the average rate of latest cases in a residents that is perfectly susceptible, is a critical threshold value in epidemiology. To find the reproductive number, we utilize the idea of next generation matrix provided by the authors in29. For typhoid fever disease model (1), we can easily get

R0=αφτψ(τ+ψ)(θ+δ+ψ).

In the following two sections, a comparison between NSFD scheme and RK-4 is provided. As our main concern is NSFD scheme, therefore the advantages and uses of NSFD are discussed in detail. Specifically, traditional issues concerned to the behavior of these schemes, i.e. equilibrium points, positivity and stability are discussed with respect to increment of the time step.

The RK-4 scheme

The RK-4 scheme30 is widely used approach to solve a system of ordinary differential equations. In numerous situations, we frequently employ the RK-4 scheme, unless stated otherwise. Let S=Hi,E=Li,I=Pi,R=Qi for i=1,2,3,4, then system (1) may be signified using the RK-4 scheme as given below.

Stage -1

H1=hφ+σRn-αSnIn-ψSnL1=hαSnIn-τEn-ψEnP1=hτEn-θIn-δIn-ψInQ1=hθIn-σRn-ψRn

Stage-2

H2=hφ+σRn+Q12-αSn+H12In+P12-ψSn+H12L2=hαSn+H12In+P12-τEn+L12-ψEn+L12P2=hτEn+L12-θIn+P12-δIn+P12-ψIn+P12Q2=hθIn+P12-σRn+Q12-ψRn+Q12.

Stage-3

H3=h[φ+σRn+Q22-αSn+H22In+P22-ψSn+H22L3=h[αSn+H22In+P22-τEn+L22-ψEn+L22P3=hτEn+L22-θIn+P22-δIn+P22-ψIn+P22Q3=hθIn+P22-σRn+Q22-ψRn+Q22.

Stage-4

H4=hφ+σRn+Q3-αSn+H3In+P3-ψSn+H3N4=hαSn+H3In+P3-τEn+L3-ψEn+L3P4=hτEn+L3-θIn+P3-δIn+P3-ψIn+P3Q4=hθIn+P3-σRn+Q3-ψRn+Q3

Thus general form is

yn+1=yn+ΔySn+1=Sn+16H1+2H2+2H3+H4En+1=En+16L1+2L2+2L3+L4In+1=In+16P1+2P2+2P3+P4Rn+1=Rn+16Q1+2Q2+2Q3+Q4

The RK-4 approach is graphically depicted in Fig. 2a–d with various step sizes. The RK-4 approach clearly yields stable and positive solutions for small step sizes, as seen in Fig. 2a,b. As the step size is increased, the equilibrium point stability is shattered for model (1), as illustrated in Fig. 2c,d. Hence, we conclude that the RK-4 technique cannot be employed for large step sizes.

Figure 2.

Figure 2

Numerical simulation of SEIR model 1 by using RK-4 scheme with (a) h=0.01, (b) h=0.1, (c) h=0.9, and (d) h=1. Remaining parameters are set as φ=0.75,τ=1.99,ψ=0.02,θ=0.1503,α=0.0125,δ=0.625,σ=0.125.

The NSFD scheme

In this section, our main objective is to discuss the dynamics of NSFD scheme for model (1). The NSFD scheme concept was presented by Mickens in 199428. The NSFD scheme is an iterative method in which we move closer to a solution through iterations31. The NSFD scheme is a valuable technique used to solve problems in epidemiology3236, ecology37,38, and meta-population modeling39. The following will show that, despite the step size h, the discrete NSFD scheme sustains the dynamical properties of the corresponding continuous model (1).

Construction of NSFD scheme

For model (1), we use the notation Sn, En,In and Rn to indicate the numerical estimates of St,E(t),I(t) and Rt at time step t=nh, where h is nonnegative time step size and n is a nonnegative integer40.

Sn+1-Snh=φ+σRn-αSn+1In-ψSn+1En+1-Enh=αSn+1In-τEn+1-ψEn+1In+1-Inh=τEn+1-θIn+1-δIn+1-ψIn+1Rn+1-Rnh=θIn+1-σRn+1-ψRn+1 4

It is assumed that the starting quantities of NSFD SEIR model (4) are also nonnegative. From (4), we get

Sn+1=Sn+hφ+hαRn1+hαIn+ψEn+1=En+hαSn+1In1+hψ+hτIn+1=In+hτEn+11+hθ+hδ+hψRn+1=Rn+hθIn+11+hσ+hψ. 5

In the same way like continuous model (1), we can determine a feasible region for the discrete scheme (5). If we indicate Nn=Sn+En+In+Rn, then by combining all the four equations in system (4) we obtain

Nn+1-Nnh=φ-ψNn+11+hψNn+1=hφ+Nn

and.

Nn+1hφ1+hψ+Nn1+hψhψj+1n11+hψj+N011+hψn.

By employing the discrete Gronwall inequality4143, if 0<N(0)<φψ then.

Nnφψ1-11+hψn+N011+hψn=φψ+N0-φψ11+hψn.

Since 11+hψ<1, so we get Nnφψ as n. Therefore, the feasible region for NSFD scheme (5) becomes.

A¯=Sn,En,In,Rn:0Sn+En+In+Rnφψ. 6

In the following, we provide the stability conditions of DFE and DEE points for the discrete NSFD scheme (5). We first describe the local stability of both equilibrium points in order to achieve this goal.

Local stability for NSFD Scheme

To prove that DFE and DEE points are locally asymptotically stable (LAS), we consider

Sn+1=Sn+hφ+hαRn1+hαIn+ψ=F1En+1=En+hαSn+1In1+hψ+τ=F2In+1=In+hτEn+11+hθ+δ+ψ=F3Rn+1=Rn+hθIn+11+hσ+ψ=F4 7

To demonstrate that DFE and DEE points are LAS, as stated in Lemma 1, we shall utilize the Schur-Cohn condition44,45.

Lemma 1

The roots of equation λ2-Tλ+D=0 guarantee |λi|<1, i=1,2 if and only if the requirements listed below are met.

  • i.
    D<1
  • ii.
    1+D+T>0
  • iii.
    1-T+D>0

where T and D stand for the Jacobian matrix trace and determinant, respectively.

Theorem 1

For all h>0, the DFE point E0 of the NSFD model (5) is LAS whenever R0<1.

Proof

Let us consider the Jacobian matrix.

J=F1SF1EF1IF1RF2SF2EF2IF2RF3SF3EF3IF3RF4SF4EF4EF4R. 8

In the following, we first find all the derivatives used in (8).

F1S=11+hαIn+ψ,F1E=0,F1I=-hαSn+hφ+hαRn+11+hαIn+ψ2,F1R=hα1+hαIn+ψ,F2S=hαIn1+hψ+hτ,F2E=11+hψ+τ,F2I=hαSn+11+hψ+τ,F2R=0,F3S=0,F3E=hτ1+hψ+θ+δ,F3I=11+hψ+θ+δ,F3R=0,F4S=0,F4E=0,F4I=hθ1+hσ+ψ,F4R=11+hσ+ψ.

By substituting the values of all the derivatives in Eq. (8), we get.

J=11+hαIn+ψ0-hαSn+hφ+hαRn+11+hαIn+ψ2hα1+hαIn+ψhαIn1+hψ+hτ11+hψ+τhαSn+11+hψ+τ00hτ1+hψ+θ+δ11+hψ+θ+δ000hθ1+hσ+ψ11+hσ+ψ.

The aforementioned matrix becomes at DFE point E0=(φψ,0,0,0)

JE0=11+hψ0-hαφψ+hφ(1+hψ)2hα1+hψ011+hψ+τhαφψ1+hψ+τ00hτ1+hψ+θ+δ11+hψ+θ+δ000hθ1+hσ+ψ11+hσ+ψ.

To determine the eigenvalues, we take into consideration.

11+hψ-λ0-hαφψ+hφ(1+hψ)2hα1+hψ011+hψ+τ-λhαφψ1+hψ+τ00hτ1+hψ+θ+δ11+hψ+θ+δ-λ000hθ1+hσ+ψ11+hσ+ψ-λ=0.

The above equation can be rewritten as.

11+hψ-λ11+hσ+ψ-λ11+hψ+τ-λhαφψ1+hψ+τhτ1+hψ+θ+δ11+hψ+θ+δ-λ=0. 9

The Eq. (9) gives λ1=11+hψ<1,λ2=11+hσ+ψ<1. To discuss the other two eigenvalues, we consider.

11+hψ+τ-λhαφψ1+hψ+τhτ1+hψ+θ+δ11+hψ+θ+δ-λ=0. 10

From Eq. (10), we obtain.

λ2-λ11+hψ+τ+11+hψ+θ+δ+11+hψ+θ+δ1+hψ+τ-hαφψ1+hψ+τ1+hψ+θ+δ=0. 11

Comparing (11) with λ2-Tλ+D=0, we get T=11+hψ+τ+11+hθ+δ+ψ and D=11+hψ+θ+δ(1+hψ+τ)-hαφψ(1+hψ+τ)(1+hψ+θ+δ). If R0<1, i.e. αφτ<ψ(τ+ψ)(ψ+θ+δ) then all the three conditions of Lemma 1 are satisfied, i.e.

D=11+hψ+θ+δ1+hψ+τ+hαφψ1+hψ+τ1+hψ+θ+δ<1.1+T+D=1+11+hψ+τ+11+hθ+δ+ψ+11+hψ+θ+δ1+hψ+τ-hαφψ1+hψ+τ1+hψ+θ+δ>01-T+D=1-11+hψ+τ-11+hθ+δ+ψ+11+hψ+θ+δ1+hψ+τ-hαφψ1+hψ+τ1+hψ+θ+δ>0.

All of the Schur–Cohn requirements described in Lemma 1 are consequently satisfied whenever R0<1. As a result, the DFE point E0 of discrete NSFD scheme (5) is LAS, provided that R0<1.

When a disease is prevalent in a population, it will continue to exist in that community. In the following theorem, we will use Routh-Hurwitz criterion46,47 to examine that DEE point E is LAS.

Theorem 2

For all h>0, the DEE point E of the NSFD model (5) is LAS whenever R0>1.

Proof

The Jacobian matrix is obtained according to Theorem 1 as.

J=11+hαIn+ψ0-hαSn+hφ+hαRn+11+hαIn+ψ2hα1+hαIn+ψhαIn1+hψ+τ11+hψ+τhαSn+11+hψ+τ00hτ1+hψ+θ+δ11+hψ+θ+δ000hθ1+hσ+ψ11+hσ+ψ.

By putting DEE point E, we obtain.

JE=11+hαIn+ψ0-hαSn+hφ+hαRn+11+hαIn+ψ2hα1+hαIn+ψhαIn1+hψ+hτ11+hψ+τhαSn+11+hψ+τ00hτ1+hψ+θ+δ11+hθ+δ+ψ000hθ1+hσ+ψ11+hσ+ψ.

To determine the eigenvalues, we take into consideration.

11+hαIn+ψ-λ0-hαSn+hφ+hαRn+11+hαIn+ψ2hα1+hαIn+ψhαIn1+hψ+hτ11+hψ+τ-λhαSn+11+hψ+τ00hτ1+hψ+θ+δ11+hψ+θ+δ-λ000hθ1+hσ+ψ11+hσ+ψ-λ=0.

The characteristic equation for above equation becomes as.

λ4+P1λ3+P2λ2+P3λ+P4=0, 12

where

P1=11+hαIn+ψ+11+hψ+τ+11+hσ+ψ>0,P2=11+hψ+θ+δ1+hτ+ψ-h2ταSn+11+hτ+ψ1+hψ+θ+δ-11+hαIn+ψ+11+hσ+ψ11+hψ+θ+δ1+hτ+ψ+11+hαIn+ψ1+hσ+ψ>0,P3=11+hαIn+ψ+11+hσ+ψ1+hτ+ψ1+hψ+θ+δ+h2ταSn+11+hαIn+ψ1+hσ+ψ1+hτ+ψ1+hψ+θ+δ+h2τα1+hαIn+ψ(1+hαIn+ψ2+11+hαIn+ψ1+hσ+ψ1+hτ+ψ(1+hψ+θ+δ>0,P4=h2ταSn+hφ+hαRn1+hαIn+ψ1+hαIn+ψ21+hσ+ψ+h3ταθ1+hσ+ψ1+hαIn+ψ1+hαIn+ψ+11+hαIn+ψ1+hσ+ψ1+hτ+ψ1+hψ+θ+δ.

From above informations, it is clear that if R0>1, then

M1=P1>0,M2=P1P2-P3>0,M3=P1P301P2P40P1P3=-P32+P1P2P3-P12P4=P3M2-P12P4>0,M4=P4M3>0.

According to the Routh-Hurwitz criteria, all of the solutions to the Eq. (12) must have negative real parts. As a result, the DEE point E of the discrete NSFD scheme (5) is LAS whenever R0>1.

Global stability for NSFD Scheme

In the following, we now show that R0 is a critical value for the global stability. If R01, then the DFE point E0 is globally asymptotically stable (GAS) and when R0>1, then DEE point E becomes GAS. To discuss the global stability of equilibria, we employ the same criterion used by Vaz et al.48.

Theorem 3

For all h>0, the DFE point E0 of the NSFD model (5) is GAS whenever R01.

Proof

From the feasible region (6) discussed for NSFD scheme (5), it is clear that Sn+En+In+Rnφψ. If En=In=Rn=0, then Snφψ. Therefore, if we take η>0, then there exists an integer n0 such that for any nn0,Sn+1<φψ+η. Consider the sequence w(n)n=0 such that.

wn=En+ωC3In+αC2Rn+hαSn+1In,

where C2=σ+ψ and C3=θ+δ+ψ. For nn0, we have

wn+1-wn=En+1+ωC3In+1+αC2Rn+1+hαSn+2In+1-En-ωC3In-αC2Rn-hαSn+1In=En+1-En+ωC3In+1-In+αC2Rn+1-Rn+hαSn+2In+1-hαSn+1In.

By applying the NSFD scheme (5), we obtain

=hαSn+1In-τ+ψEn+1+ωC3hτEn+1-(θ+δ+ψ)In+1+αC2hθIn+1-σ+ψRn+1+hαSn+2In+1-hαSn+1In.

Let C1=(τ+ψ), then the above expression becomes

=hαSn+2In+ωτ-C1C3En+1C3+(αθC2-ωC3θ+δ+ψ)In+1-σ+ψRn+1.

If we put C1C3-ωτ=D, the above expression becomes

=hαSn+2In-DEn+1C3-θ+δ+ψIn+1-σ+ψRn+1.

We can choose β a very small positive number such that

αSn+2InβEn+1+C3In+1+C2Rn+1=βEn+1+C3τC3En+1+C2En+1C2C3

Therefore, we get

wn+1-wnhβEn+1+τEn+1+En+1C3-DEn+1C3hEn+1C3β+βψτ+ψθ+δ+ψαφR0+β-D=hEn+1C32β+βψτ+ψθ+δ+ψαφR0-D.

Let C=ψ(τ+ψ)(θ+δ+ψ)αφ, then we get

=hEn+1C32β+CβR0-D.=hEn+1C3β2+CR0-D.

Since β is a very small number and η is imprecise Therefore, if R01 then we reach the conclusion that for any n0, 0wn+1-wn and limnIn=0. The sequence w(n)n=0 is a monotonically decreasing and limnSn=φψ. Therefore, the DFE point E0 is GAS whenever R01.

The numerical simulations shown in Figs. 3a–d and 4a–d for R0<1 and R0=1, respectively also exhibit that the solutions of NSFD scheme (5) converges to the DFE point E0 independent of the step size. By combining the above two conditions, we conclude that if R01 then the DFE point E0 is GAS for NSFD scheme (5). The NSFD scheme is hence convergent for model (1) for all finite step sizes.

Figure 3.

Figure 3

Numerical simulation of SEIR model 1 by using NSFD scheme with ah=0.01,(b)h=1,(c)h=20,(d)h=50. Remaining parameters are set as φ=0.75,τ=1.99,ψ=0.02,θ=0.1503,α=0.0125,δ=0.625,σ=0.125.

Figure 4.

Figure 4

Numerical simulation of SEIR model 1 by using NSFD scheme with ah=0.01,(b)h=1,(c)h=20,(d)h=50. Remaining parameters are set as φ=0.6112,τ=4,ψ=0.02,θ=0.1503,α=0.0125,δ=0.625,σ=0.125.

Theorem 4

For all h>0, the DEE point E of the NSFD model (5) is GAS whenever R0>1.

Proof

Let us construct a sequence w(n)n=0 such that.

wn=1hEpSnS+1hSpEnE+ωIhC3SEpInI+αRhC2SEpRnR,

Where px=x-1-lnx such that xR+,C2=σ+ψandC3=θ+δ+ψ. It is evident that p(x)0 and if x=1, the equality holds. From above, we can write

pSn+1S-pSnS=Sn+1-SnS-lnSn+1SnSn+1-SSn+1-SnSn+1S=Sn+1-SSn+1Shφ+σRn-αSn+1In-ψSn+1=-ψhSn+1-S2Sn+1S-hα1-SSn+1InISn+1S-1-σRn.

In the same way

pEn+1E-pEnE=En+1-EnE-lnEn+1EnEn+1-EEn+1-EnEn+1E=En+1-EEn+1EαSn+1In-τ+ψEn+1.

Let C1=τ+ψ, then

pEn+1E-pEnEEn+1-EEEn+1αSn+1In-C1En+1=En+1-EEEn+1αSn+1In-αSEn+1E=1-EEn+1hαSESn+1SInI-En+1E,

and

pIn+1I-pInI=In+1-InI-lnIn+1InIn+1-IIn+1-InIIn+1In+1-IIn+1I(τEn+1-θ+δ+ψIn+1In+1-IIIn+1τEn+1-C3In+1=C3h1-IIn+1En+1E-In+1I,

and

pRn+1R-pRnR=Rn+1-RnR-lnRn+1RnRn+1-RRn+1-RnRn+1RRn+1-RRn+1RθIn+1-σ+ψRn+1Rn+1-RRn+1RθIn+1-C2Rn+1=C2hIn+1I-Rn+1R1-RRn+1.

The difference of w(n) satisfies

wn+1-wn=1hEpSn+1S-pSnS+1hSpEn+1E-pEnE+ωIhC3SEpIn+1I-pInI+αRhC2SEpRn+1R-pRnR-αhSn+1-S2Sn+1SI-αEEEn+1InISn+1S-2-InI+SSn+1+En+1E-ωISEEIn+1En+1I+IEn+1In+1E-2-αRSEERn+1En+1R+REn+1Rn+1E-2-αhSn+1-S2Sn+1SI-αEpSSn+1+pIn+1I+pEEn+1InSn+1IS-pInI-ωISEpIn+1EIEn+1+pEn+1IEIn+1-αRSEpRn+1EREn+1+pEn+1RERn+1.

Hence, the sequence w(n)n=1 for any n0 is monotonic decreasing. Since 0w(n) and limn(wn+1-wn)=0, we conclude that limnSn+1=S, limnEn+1=E, limnIn+1=I and limnRn+1=R. This completes the proof.

The numerical illustration in Fig. 5a–d additionally illustrates that, for any step size, the NSFD scheme (5) solutions converge to the DEE point if R0>1. This reveals the NSFD scheme's unconditional convergence.

Figure 5.

Figure 5

Numerical simulation of SEIR model 1 by using NSFD scheme with ah=0.01,bh=1,ch=20,dh=50. Remaining parameters are set as φ=4.5,τ=0.099925,ψ=0.02,θ=0.1503,α=0.0125,δ=0.625,σ=0.125.

Conclusions

In the present paper, a nonlinear epidemic model of a typhoid fever disease is numerically studied using two finite difference schemes. It was shown that the spread of the disease is mostly determined by the rate of contact with sick individuals within a community. The RK-4 and NSFD schemes are employed to discuss the dynamical characteristics of DFE and DEE points, including their local and global stabilities. The findings demonstrate that the NSFD method provides precise numerical solutions while eliminating drawback of RK-4 scheme. The convergence is demonstrated that presents that the NSFD scheme retains their stability and positivity characteristics. The key benefits of NSFD are demonstrated theoretically as well as numerically which reveal that this scheme have good dynamical behavior even for large time step size. At the same time, the RK-4 scheme cannot exactly sustain the fundamental properties of the original continues model and consequently, it can produce numerical solutions which are not quite the same as the solutions of the original model. The NSFD scheme is an easy approach that exhibits how discrete and continuous models act appropriately and produce results that are mathematically accurate. Figures 3, 4, and 5 depicts that the NSFD scheme (5) remains stable for each step size. This demonstrates that for each step size, the NSFD scheme is positive forever and unconditionally convergent. The RK-4 scheme, however, shows convergence only for lower step sizes, as shown in Fig. 3a–d. We can effectively monitor the spread of typhoid fever disease by utilizing the NSFD system. The results provided in this study are advantageous to humanity as well as in the sector of healthcare. Numerical simulations are included in each section to support our theoretical conclusions.

Author contributions

I.U.K.: Conceptualization, Methodology, Software. S.M.: Writing, paper Original draft setting, Software A.S.: Reviewing and Editing, visualization S.L.: Reviewing and Editing, original draft preparation A.A.: Reviewing and Editing, visualization A.B.: Reviewing and Editing, visualization.

Data availability

The data used to support the findings of this study are included within the article.

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.Mushayabasa S, Bhunu CP, Ngarakana-Gwasira ET. Mathematical analysis of a typhoid model with carriers, direct and indirect disease transmission. Int. J. Math. Sci. Eng. Appl. 2013;7(1):79–90. [Google Scholar]
  • 2.Ivanoff B, Levine MM, Lambert P. Vaccination against typhoid fever: Present status. Bull. World Health Organ. 1994;72(6):957. [PMC free article] [PubMed] [Google Scholar]
  • 3.Nsutebu EF, Martins P, Adiogo D. Prevalence of typhoid fever in febrile patients with symptoms clinically compatible with typhoid fever in Cameroon. Trop. Med. Int. Health. 2003;8(6):575–578. doi: 10.1046/j.1365-3156.2003.01012.x. [DOI] [PubMed] [Google Scholar]
  • 4.Schemmer, A. K. Heterogeneity of inflammation and host metabolism in a typhoid fever model (Doctoral dissertation, University_of_Basel) (2012).
  • 5.Bhan MK, Bahl R, Bhatnagar Typhoid and paratyphoid fever. Lancet. 2005;366(9487):749–762. doi: 10.1016/S0140-6736(05)67181-4. [DOI] [PubMed] [Google Scholar]
  • 6.Butler T. Treatment of typhoid fever in the 21st century: promises and shortcomings. Clin. Microbiol. Infect. 2011;17(7):959–963. doi: 10.1111/j.1469-0691.2011.03552.x. [DOI] [PubMed] [Google Scholar]
  • 7.Cook J, Jeuland M, Whittington D, et al. The cost-effectiveness of typhoid Vi vaccination programs: Calculations for four urban sites in four Asian countries. Vaccine. 2008;26(50):6305–6316. doi: 10.1016/j.vaccine.2008.09.040. [DOI] [PubMed] [Google Scholar]
  • 8.Gao XY, Guo YJ, Shan WR. Similarity reductions for a (3+ 1)-dimensional generalized Kadomtsev–Petviashvili equation in nonlinear optics, fluid mechanics and plasma physics. Appl. Comput. Math. 2021;20(3):421–429. [Google Scholar]
  • 9.Pankov, P. S., Zheentaeva, Z. K., & Shirinov, T. Asymptotic reduction of solution space dimension for dynamical systems. TWMS J. Pure Appl. Math. 12(2) (2021)
  • 10.Musaev, H. K. (2021). The Cauchy problem for degenerate parabolic convolution equation. TWMS J. Pure Appl. Math. 12(2) (2021)
  • 11.Sunday J, Shokri A, Kwanamu JA, Nonlaopon K. Numerical integration of stiff differential systems using non-fixed step-size strategy. Symmetry. 2022;14(8):1575. doi: 10.3390/sym14081575. [DOI] [Google Scholar]
  • 12.Juraev DA, Shokri A, Marian D. Regularized solution of the Cauchy problem in an unbounded domain. Symmetry. 2022;14(8):1682. doi: 10.3390/sym14081682. [DOI] [Google Scholar]
  • 13.Rafiq M, Ahmad W, Abbas M, Baleanu D. A reliable and competitive mathematical analysis of Ebola epidemic model. Adv. Diff. Equ. 2020;2020:1–24. doi: 10.1186/s13662-020-02994-2. [DOI] [Google Scholar]
  • 14.Ahmad W, Rafiq M, Abbas M. Mathematical analysis to control the spread of Ebola virus epidemic through voluntary vaccination. Eur. Phys. J. Plus. 2020;135(10):775. doi: 10.1140/epjp/s13360-020-00683-3. [DOI] [Google Scholar]
  • 15.Ahmad W, Abbas M, Rafiq M, Baleanu D. Mathematical analysis for the effect of voluntary vaccination on the propagation of Corona virus pandemic. Results Phys. 2021;31:104917. doi: 10.1016/j.rinp.2021.104917. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Butt AIK, Shah NA, Ahmad W, Botmart T, Ahmad N. On implementation of a semi-analytic strategy to develop an analytical solution of a steady-state isothermal tube drawing model. Sci. Rep. 2022;12(1):7636. doi: 10.1038/s41598-022-11708-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Hanif, A., Kashif Butt, A. I., & Ahmad, W. Numerical approach to solve Caputo‐Fabrizio‐fractional model of corona pandemic with optimal control design and analysis. Math. Methods Appl. Sci. (2023).
  • 18.Butt AIK, Rafiq M, Ahmad W, Ahmad N. Implementation of computationally efficient numerical approach to analyze a Covid-19 pandemic model. Alex. Eng. J. 2023;69:341–362. doi: 10.1016/j.aej.2023.01.052. [DOI] [Google Scholar]
  • 19.Kumar P, Erturk VS, Abboubakar H, Nisar KS. Prediction studies of the epidemic peak of coronavirus disease in Brazil via new generalised Caputo type fractional derivatives. Alex. Eng. J. 2021;60:3189–3204. doi: 10.1016/j.aej.2021.01.032. [DOI] [Google Scholar]
  • 20.Nazir A, Ahmed N, Khan U, Mohyud-Din ST, Nisar KS, Khan I. An advanced version of a conformable mathematical model of Ebola virus disease in Africa. Alex. Eng. J. 2020;59:3261–3268. doi: 10.1016/j.aej.2020.08.050. [DOI] [Google Scholar]
  • 21.Getachew, T. T., Makinde, O. D. & Malonza, D. Modelling and optimal control of typhoid disease with cost-effective strategies. Comput. Math. Methods Med., Article ID 2324518 (2017). [DOI] [PMC free article] [PubMed]
  • 22.Musa SS, Zhao S, Hussaini N, Usaini S, He D. Dynamics analysis of typhoid fever with public health education programs and final epidemic size relation. Results Appl. Math. 2021;10:100153. doi: 10.1016/j.rinam.2021.100153. [DOI] [Google Scholar]
  • 23.Nthiiri JK, Lawi GO, Akinyi CO, Oganga DO, Muriuki WC, Musyoka MJ, Otieno PO, Koech L. Mathematical modelling of typhoid fever disease incorporating protection against infection. Br. J. Math. Comput. Sci. 2016;14(1):1–10. doi: 10.9734/BJMCS/2016/23325. [DOI] [Google Scholar]
  • 24.Adeboye KR, Haruna M. A Mathematical model for the transmission and control of malaria typhoid co-infection using sirs approach. Niger. Res. J. Math. 2015;2(2):1–24. [Google Scholar]
  • 25.Pitzer VE, Bowles CC, Baker S, Kang G, Balaji V, Farrar JJ, Grenfell BT. Predicting the impact of vaccination on the transmission dynamics of typhoid in South Asia: A mathematical modeling study. PLoS Negl. Trop. Dis. 2014;8(1):e2642. doi: 10.1371/journal.pntd.0002642. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Cook, J. H. Are cholera and typhoid vaccines a good investment for a slum in Kolkata, India? Ph.D. Dissertation. Chapel Hill, NC: Department of Environmental Sciences and Engineering, The University of North Carolina at Chapel Hill (2007).
  • 27.Karunditu JW, Kimathi G, Osman S. Mathematical modeling of typhoid fever disease incorporating unprotected humans in the spread dynamics. J. Adv. Math. Comput. Sci. 2019;32(3):1–11. doi: 10.9734/jamcs/2019/v32i330144. [DOI] [Google Scholar]
  • 28.Mickens, R. E. Nonstandard finite difference models of differentials equations. World Sci. (1994).
  • 29.Van den Driessche P, Watmough J. Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission. Math. Biosci. 2002;180(1–2):29–48. doi: 10.1016/S0025-5564(02)00108-6. [DOI] [PubMed] [Google Scholar]
  • 30.Chamuchi MN, Sigey JK, Okello JA, Okwoyo JM. SI IC R Model and Simulation of the effects of carriers on the transmission dynamics of typhoid fever in Kisii town, Kenya. SIJ Trans. Comput. Sci. Eng. Appl. (CSEA) 2014;2(3):109–116. [Google Scholar]
  • 31.Gentile I, Borgia G. Vertical transmission of hepatitis B virus: Challenges and solutions. Int. J. Womens Health. 2014;6:605–611. doi: 10.2147/IJWH.S51138. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Edward S, Raymond KE, Gabriel KT, Nestory F, Godfrey MG, Arbogast MP. Global stability in a mathematical modeling of tuberculosis. Appl. Comput. Math. 2015;4(6):396–408. doi: 10.11648/j.acm.20150406.12. [DOI] [Google Scholar]
  • 33.Mickens RE. Nonstandard finite difference schemes for differential equations. J. Differ. Equ. Appl. 2002;8(9):823–847. doi: 10.1080/1023619021000000807. [DOI] [Google Scholar]
  • 34.Cui Q, Xu J, Zhang Q, Wang K. An NSFD scheme for SIR epidemic models of childhood diseases with constant vaccination strategy. Adv. Diff. Equ. 2014;2014(1):1–15. doi: 10.1186/1687-1847-2014-172. [DOI] [Google Scholar]
  • 35.Hattaf K, Lashari AA, Boukari BE, Yousfi N. Effect of discretization on dynamical behavior in an epidemiological model. Diff. Equ. Dyn. Syst. 2015;23(4):403–413. doi: 10.1007/s12591-014-0221-y. [DOI] [Google Scholar]
  • 36.Rao PRS, Ratnam KV, Murthy MSR. Stability preserving non-standard finite difference schemes for certain biological models. Int. J. Dyn. Control. 2018;6(4):1496–1504. doi: 10.1007/s40435-018-0410-6. [DOI] [Google Scholar]
  • 37.Darti, I., Suryanto, A. & Hartono, M. Global stability of a discrete SIR epidemic model with saturated incidence rate and death induced by the disease. Commun. Math. Biol. Neurosci. (2020).
  • 38.Darti I, Suryanto A. Dynamics of a SIR epidemic model of childhood diseases with a saturated incidence rate: Continuous model and its nonstandard finite difference discretization. Mathematics. 2020;8(9):1459. doi: 10.3390/math8091459. [DOI] [Google Scholar]
  • 39.Shabbir MS, Din Q, Safeer M, Khan MA, Ahmad K. A dynamically consistent nonstandard finite difference scheme for a predator-prey model. Adv. Differ. Equ. 2019;2019(1):1–17. doi: 10.1186/s13662-019-2319-6. [DOI] [Google Scholar]
  • 40.Dang QA, Hoang MT. Complete global stability of a meta population model and its dynamically consistent discrete models. Qual. Theory Dyn. Syst. 2019;18(2):461–475. doi: 10.1007/s12346-018-0295-y. [DOI] [Google Scholar]
  • 41.Pachpatte BG. On the discrete generalizations of Gronwall’s inequality. J. Indian Math. Soc. 1973;37:147–156. [Google Scholar]
  • 42.Clark DS. Short proof of a discrete Gronwall inequality. Discret. Appl. Math. 1987;16(3):279–281. doi: 10.1016/0166-218X(87)90064-3. [DOI] [Google Scholar]
  • 43.Dixon J, McKee S. Weakly singular discrete Gronwall inequalities. Z. Angew. Math. Mech. 1986;66(11):535–544. doi: 10.1002/zamm.19860661107. [DOI] [Google Scholar]
  • 44.Brauer F, Castillo-Chavez C. Mathematical models in population biology and epidemiology. New York: Springer; 2012. p. 508. [Google Scholar]
  • 45.Elaydi S. An international to difference equation. 3. Springer- Verlag; 2005. [Google Scholar]
  • 46.Jia J, Li P. Global analysis of an SVEIR epidemic model with partial immunity. Math. Terna. 2011;8(8):547–561. [Google Scholar]
  • 47.Khatun Z, Islam MS, Ghosh U. Mathematical modeling of hepatitis B virus infection incorporating immune responses. Sens. Int. 2020;1:100017. doi: 10.1016/j.sintl.2020.100017. [DOI] [Google Scholar]
  • 48.Vaz S, Torres DFM. A dynamically-consistent nonstandard finite difference scheme for the SICA model. Math. Biosci. Eng. 2021;18(4):4552–4571. doi: 10.3934/mbe.2021231. [DOI] [PubMed] [Google Scholar]

Associated Data

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

Data Availability Statement

The data used to support the findings of this study are included within the article.


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

RESOURCES