Abstract

The present work deals with the construction, development, and analysis of a viable normalized predictor-corrector-type nonstandard finite difference scheme for the SEIR model concerning the transmission dynamics of measles. The proposed numerical scheme double refines the solution and gives realistic results even for large step sizes, thus making it economical when integrating over long time periods. Moreover, it is dynamically consistent with a continuous system and unconditionally convergent and preserves the positive behavior of the state variables involved in the system. Simulations are performed to guarantee the results, and its effectiveness is compared with well-known numerical methods such as Runge–Kutta (RK) and Euler method of a predictor-corrector type.

1. Introduction

Mathematicians and biologists have been working for a long time on the biological process of life science. They succeeded in evaluating some remarkable results from their work. An important mark in mathematical biology is the mathematical modeling of infectious diseases [1]. Measles is one of such a highly infectious childhood disease, caused by respiratory infection by a Morbilli virus, measles virus. Arthur Ransom first observed the irregular cyclic behavior of measles that is considered as a mainly conspicuous facet of measles. The age structure of the population, contact, immigration rate, and the school seasons were known as a crucial phase for the swell of measles [24]. William Hammer in 1906 published a discrete numerical model for the transmission of measles epidemic. Later assumption of “Mass Action” is applied to that model which is the basic rule to the current theory of deterministic modeling of infectious diseases [5].

Society has a keen concern in knowing the major evolution for the spread of diseases. Analytical results give a solution to these problems but for limited cases and causes many problems. The homotopy perturbation method and variational iteration method can be used for the solution of the epidemic models [6]. However, the first choice to solve these laws of nature is the numerical method based on a difference scheme for good approximations [79]. In general, already developed numerical schemes such as Euler, Runge–Kutta, and others at times stop working by generating nonphysical results. These unnecessary oscillations contrived chaos and false fixed points [10]. Moreover, some methods are unsuccessful if we check them on larger step sizes [11]. To avoid such discrepancies, the numerical schemes based on the “nonstandard finite difference method (NSFD)” are established. These techniques were first developed by R. E. Mickens [7, 12, 13]. The created numerical schemes preserve the essential properties such as dynamical consistency, stability, and equilibrium points [1421]. Researchers have developed competitive NSFD schemes for epidemic diseases. Many of these NSFD schemes are consistent for small step sizes with the continuous model, but for large step sizes, the unwanted oscillations have been observed. Piyanwong, Jansen, and Twizel have constructed a positive and unconditionally stable scheme for SIR and SEIR models, respectively [22, 23]. Nevertheless, the lack of application of conservation law in their developed schemes explicitly caused impracticable and unrealistic solutions, while Abraham and Gilberto have developed NSFD schemes of the SIR epidemic model to obtain the physically realistic solutions for all step sizes, where they apply the conservation law in addition to nonlocal approximation [24].

In this paper, we have developed a normalized NSFDM of predictor-corrector- (PC-) type inspired by the previous work discussed to double refine the numerical solution of a nonlinear dynamics regarding the transmission of measles. To keep the method explicit, we will use the forward difference approximations for the first derivative terms. The nonlocal approximations are used to tackle the nonlinear terms with as a nonclassical denominator function. By using this idea, the measles model will converge to equilibrium points, even for the larger step sizes.

2. The Mathematical Frame of Work

In this work, the dynamics of the measles epidemic described by the SEIR mathematical model suggested by Jansen and E. H. Twizel is considered [23]. In the SEIR model, the total human population is categorized as susceptible, exposed, infectious, and recovered subpopulations denoted by S, E, I, and R, respectively. Consider the flow of the SEIR model for the measles epidemic, as shown in Figure 1.Here susceptible individualsexposed individuals infected individualrecovered individual birth rate and death rate the rate at which susceptible individuals are infected by those who are infectious the rate at which exposed individuals become infected the rate at which infected individuals recover.

Here are considered as positive parameters. Furthermore, we assume that . Consider is the constant size of the population so that the number of recovered individuals at time is defined by . A susceptible is a move to the exposed model, where the individual is infected but yet not infectious. After sometimes the individual becomes infectious and enters into the infected compartment, and in this way, the disease spreads into the population.

The mathematical model is written aswhere

Equation (2) shows that the total size of the population remains constant, which is connected with the continuous system (1). The following two points give the equilibrium points of (1):The disease-free equilibrium (DFE) point The endemic equilibrium (EE) point

Here, is the basic reproductive number associated with the measles model.

For the sake of brevity, we are not mentioning RK-4 and Euler-PC scheme.

3. Numerical Modeling

To the construction of NSFD scheme, the continuous system (1) is discretized using the forward difference approximation for the first-order time derivatives. Thus, if is differentiable, the can be approximated bywhere is a real-valued function satisfying the condition as . We have

Thus, the NSFD scheme for system (1) takes the form

From equation (5), we have

Thus, if for all , then =N for all .

Thus, the conservation law property is satisfied. System (5) is written as

Now, the positivity of is guaranteed if , , and for all . Thus, the constructed scheme has the following properties:The conservation law is satisfiedThe positivity and boundedness of the solution is satisfied: for system (7), we have that if , , , then , , for all

4. NSFD Predictor-Corrector Scheme

This section is improved by the approach of a predictor-corrector-type NSFD scheme (7) to obtain the benefits of both methods. For the development of this scheme, firstly, system (7) is taken as a predictor scheme, i.e.,

Now, we evaluate system (1) at time and introduce the term (where is just like the accelerating factor and its range is ). Thus, the expression will be NSFDCL scheme that preserves conservation law represented as

Thus, the corrector scheme is obtained aswhere .

5. Convergence Analysis

In this section, the unconditional convergence of the numerical solution is presented by the proposed method. Taking the values aswhere are given as in equation (8).

The convergence and stability analysis of scheme (10) is carried out by calculating the eigenvalues of the Jacobian of the linearized scheme and studying its behavior and evaluated at the fixed points. If () is the fixed point of system (1), then the Jacobian matrix is given bywhere

5.1. Disease-Free Equilibrium

The values of functions and its derivatives at DFE point are as

For ease in the calculation, we use the following conventions:

It is clear that . If , the Jacobian calculated at disease-free points is given as

Since the partial derivatives using the conventions are

So,

To calculate the eigenvalues, put . Andwhere

To calculate the eigenvalues of , the following lemma is proved.

Lemma 1. For the quadratic equation, , both roots satisfy if and only if the following conditions are satisfied [25]:

Let us define Therefore,

Now, for

As all the conditions of the lemma hold for , therefore the absolute value of both eigenvalues of is less than one, whenever . Thus, the numerical scheme in equations (8) and (10) will converge unconditionally to disease-free equilibrium for any value of time step whenever which is also computationally verified in Figure 2(a).

5.2. Endemic Equilibrium

The value of functions and its derivatives at an endemic point is as

The Jacobian evaluated at an endemic point is evaluated as

It is tedious to calculate the eigenvalues of the Jacobian of endemic equilibrium analytically, so we have plotted the largest eigenvalue against each step size, and Figure 2(b) shows that, for all step sizes, the spectral radius of the Jacobian of EE remains less than one, if , which implies that the numerical scheme in equations (8) and (10) is unconditionally convergent if , for all step sizes.

6. Numerical Results and Discussion

All the methods showed the convergence for small step sizes in Table 1. However, for large values of step sizes, only the normalized NSFDPC converge to the correct disease-free point for as well as the correct endemic point for . This means that, for the value of the basic reproductive number (threshold parameter), ; then, DFE is stable, i.e., solution to the system are converging to it. This can be seen from Figures 3(a)3(c) for . Also, for the value of the basic reproductive number (threshold parameter) then EE is stable, i.e., solution to the system is converging to it. This can be seen from Figures 3(d)3(f) for

Figures 4(a)4(c) show how the NSFDPC method of DFE converges to the equilibrium point for different step sizes. Figures 4(d)4(f) show how the NSFDPC method of EE converges to the equilibrium point for different step sizes.

For comparison with the well-known RK-4 method to system (1), using the parameter values given in Table 2, it is found that, in Figures 5(a)5(f), the numerical solution converges for for both equilibrium points, and Figure 6 shows overflow for a critical value of step size, i.e., of DFE and EE, respectively.

Another popular numerical method is the Euler predictor-corrector (E-PC) technique, which employs the explicit Euler method as a predictor and the trapezoidal rule as the corrector. This combination is second-order accurate but has similar stability properties in PECE mode to the explicit Euler method alone. Figures 7(a)7(f) show convergence results for in both cases that are DFE and EE. The value of which produces overflow when solving the system with the parameter values of Table 2 for the PECE combination can be seen in Figure 8.

Thus, the presented numerical results demonstrated that NSFDPC has better convergence property following the Euler PC and RK-4, as shown in Figure 9. It is proved that the approximations made by other standard numerical methods experience difficulties in preserving either the stability or the positivity of the solutions or both but NSFDPC is unconditionally convergent.

7. Conclusions

In this paper, a normalized NSFDPC for the SEIR model concerning the transmission dynamics of measles is constructed and analysed. This proposed numerical scheme is very competitive. It is qualitatively stable, that is, it double refines the solution and gives realistic results even for large step sizes. It is dynamically consistent with a continuous system and unconditionally convergent and satisfies the positivity of the state variables involved in the system. Simulations are carried out and its usefulness is compared with a well-known numerical method of standard difference schemes such as RK4 and Euler predictor-corrector method. The standard finite difference schemes are highly dependent on step sizes and initial value problems, but NSFDPC is independent of these two features which make it more practical. Also, this method saves computation time and memory.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

The authors extend their appreciation to the Deanship of Scientific Research at Majmaah University for funding this work under Project no. RGP-2019-6.