2,166
Views
54
CrossRef citations to date
0
Altmetric
Original Articles

Numerical integration of population models satisfying conservation laws: NSFD methods

Pages 427-436 | Received 02 Apr 2007, Published online: 12 Nov 2007

Abstract

Population models arising in ecology, epidemiology and mathematical biology may involve a conservation law, i.e. the total population is constant. In addition to these cases, other situations may occur for which the total population, asymptotically in time, approach a constant value. Since it is rarely the situation that the equations of motion can be analytically solved to obtain exact solutions, it follows that numerical techniques are needed to provide solutions. However, numerical procedures are only valid if they can reproduce fundamental properties of the differential equations modeling the phenomena of interest. We show that for population models, involving a dynamical conservation law the use of nonstandard finite difference (NSFD) methods allows the construction of discretization schemes such that they are dynamically consistent (DC) with the original differential equations. The paper will briefly discuss the NSFD methodology, the concept of DC, and illustrate their application to specific problems for population models.

1. Introduction

Interacting population models are used to analyze, understand, and predict the dynamics of phenomena in the natural and engineering sciences. In particular, they provide useful descriptions of systems in ecology, epidemiology and the biosciences. For the case where space effects are not taken into consideration, interacting population models are generally represented as systems of coupled nonlinear ordinary differential equations (ODE) Citation1–4, i.e.

where for a given system the x i (t) are the individual population numbers or densities and f i (X) are given functions, . An explicit example is the following SIR model which includes vital dynamics Citation1 Citation4
where (S, I, R) stand, respectively, for the susceptible, infective, and removed populations; k is the birth rate; β is related to the rate that a susceptible individual becomes infective; and γ is the rate an average individual leaves from being infective. The μ parameter gives the death rate, assumed here to be the same for all three populations. Adding the three components of Equationequation (3) gives
For the usual situation where S(0) > 0, I(0) > 0, and R(0) = 0, we have and the solution to Equationequation (4) is
From this we conclude that the total population goes asymptotically in time to the value
Another way of expressing this situation is to say that for any finite t, the total population is changing, but eventually it goes to the constant value given in Equationequation (6).

In the work to follow, we present interacting population systems for which the total population satisfies a scalar, first-order ODE which takes the form

where, see Equationequation (2),
Under this condition, we define Equationequation (7) as the conservation law associated with the system of coupled ODEs given by Equationequations (1) and Equation(2). The remarkable feature of the systems that we have studied to date is that the conservation law for all of them take the form

A valid mathematical model for interacting populations must satisfy a condition of positivity, i.e. the various subpopulations must never take on negative values Citation4,

Several theorems exist on the conditions that the functions f i (X) must satisfy to have boundedness and positivity. A very good discussion is given by Thieme Citation4 in section 1 of Appendix A.

Our interest in examining interacting population models, as given by Equationequations (1) and Equation(2), is to formulate discretized versions that can be used for their numerical integration. Except for a small class of models for which exact analytical solutions can be calculated Citation5, essentially all of the existing models must be numerically integrated if we are to understand the full dynamics of these models for particular ranges of the parameters and/or initial values Citation6 Citation7. A measure of the validity of a numerical integration scheme, for the cases examined in this work, is whether important constraint conditions and/or equations are satisfied by the numerical solutions. We show that our particular nonstandard finite difference (NSFD) discretizations Citation6 always exactly satisfy the associated conservation law. This is in contrast to the use of most standard methods for which the conservation law only holds approximately Citation7. Thus, the main purpose of this paper is to show that dynamical consistent finite difference schemes can be constructed for interacting population models having an associated conservation law.

In section 2, we give a brief general summary of the NSFD methodology Citation6Citation8. A number of interacting population models are considered in section 3 where we demonstrate the power of NSFD schemes to give dynamically consistent discrete schemes. Finally, in the last section we discuss our results and mention some related issues.

2. NSFD methodology

We begin with the definition of dynamic consistency Citation9 for a single (scalar) ODE.

Definition

Let

be a finite difference model for the equation
where λ represents m-parameters characterizing the system, i.e. ; h = Δ t and t k = hk; and u k is the approximation to u(t k ). Let the ODE and/or its solutions have some property P. Then the finite difference scheme, Equationequation (11), is dynamic consistent (DC) with the ODE, with respect to property P, if it and/or its solutions also have property P.

Note that the lack of DC with respect to some essential property generally gives rise to numerical instabilities in the computed solutions of the finite difference scheme Citation6 Citation9. The importance of DC is to use it to aid in the construction of NSFD schemes Citation8 Citation9. In this regard, the NSFD methodology is based on the two fundamental principles:

  • (i) The replacement of the discrete first-order derivative by a structure having the form Citation6

    where depends on both the parameters, λ, and the time step-size and φ has the property

  • (ii) The general replacement of linear and nonlinear functions of u(t) by ‘nonlocal’ discrete representations. Particular examples, for first-order ODEs, are Citation6 Citation9

The function is called the denominator function Citation6. Recently, we have created a procedure for calculating denominator functions for positivity preserving systems Citation10. The basic idea is to consider Equationequations (1) and Equation(2). If in the ith ODE, we have a linear term involving the ith x-variable, i.e.

then in the NSFD scheme for the differential equation, the denominator function is given by the expression

The full details and related explanations on the NSFD methodology are given in Mickens Citation6 Citation9 Citation10. Applications of this numerical integration technique to a broad range of problems in the natural, engineering, and bio-medical sciences is illustrated in Mickens Citation11.

3. Applications

The following comments are of general applicability for the construction of NSFD schemes for population models satisfying a conservation law.

  • (a) The requirement that the positivity condition holds determines the nonlocal structure of the discrete representation of the first ODE considered in any system of ODEs Citation6 Citation8 Citation11.

  • (b) If the same term occurs in more than one differential equation, then it must be modeled discretely the same way in all of the equations. Thus, terms appearing in earlier ODEs dictate the discrete form of these same terms occurring in later Citationequations 6 Citation10.

  • (c) Since a conservation law exists, thus connecting all of the dependent variables together as given by Equationequations (7) and Equation(8), the denominator functions for all of the finite difference schemes must be the same function Citation10.

  • (d) While the discrete schemes for the system of ODEs are NSFD representations and therefore are approximations to the theoretically existing exact schemes, the conservation law discretization must be an exact finite difference scheme Citation6.

We now present and illustrate the construction of NSFD schemes for three systems of equations relevant to the biosciences.

3.1 SIR model

Consider an SIR model with vital dynamics, i.e. containing births and deaths Citation12,

Let and add these equations to obtain
First, observe that β IS appears in the first and second ODEs. The negative sign of this term in Equationequation (18a) implies that we replace it by a NSFD discretization such as
so as to have positivity for S k+1. Likewise, the μ S term in this equation is replaced by
Also, from the fact that Equationequation (18a) has, on the right-hand side, a term, −μ S, it follows from the discussion leading to Equationequation (17) that the denominator function must be
Putting all of this together gives for Equationequation (18a), the following NSFD scheme
Solving for S k+1, we obtain

Both Equationequations (18b) and Equation(18c) contain the term γ I with opposite signs. For Equationequation (18b) the positivity condition requires that (−γ I) be replaced by Citation9. Thus, the NSFD scheme for Equationequation (18b) is

where again, because of positivity, the (−μ I) term is discretized by the expression (−μ I k+1). Note that the β IS term discrete representation is determined by what was used in Equationequation (23). Solving for I k+1 gives

Without presenting the details, it is clear that Equationequation (18c) must have the discrete representation

or
Adding Equationequations (23), Equation(25) and Equation(27), and using
gives
which is the exact finite difference scheme Citation6 Citation9 for Equationequation (19).

In summary, inspection of Equationequations (24), Equation(26), Equation(28) and Equation(30) shows that we have constructed a NSFD scheme for the SIR model having the following properties:

  • (i) positivity; S k ≥0, I k ≥0, , I k+1≥0, R k+1≥0;

  • (ii) bounded solutions for since is bounded;

  • (iii) an explicit representation for the denominator function φ(μ, h).

Observe that the populations must be calculated in a particular order. First, S k+1 is determined from S k and I k , see Equationequation (24); second, I k+1 is obtained using knowledge of S k+1 and I k , see Equationequation (26); finally, R k+1 is found from I k+1 and R k . This sequential form of calculation is a generic feature of NSFD methods Citation6 Citation9 Citation10.

3.2 Brauer-van den Driessche SIR model

This model takes the form (To Reluga, personal communication, November 2005):

where are positive parameters. Defining M to be
then M(t) satisfies the following first-order differential equation
which is the conservation law for this SIR model.

A trivial calculation shows that the exact finite difference scheme for Equationequation (33) is

where the denominator function is
Following the rules, indicated at the beginning of this section, the following NSFD scheme is obtained for Equationequations (31a), Equation(31b), and Equation(31c):
Observe that Equationequations (36a), Equation(36b) and Equation(36c) are three linear equations in terms of (S k+1, I k+1, R k+1). Solving for these quantities gives
and from Equationequation (34)
The expressions for are
with
Putting all this together, it can be concluded, just as for the previous SIR case in section 3.1, that all solutions for are nonnegative and bounded, and that the discrete version of the conservation law is exactly satisfied.

3.3 Spatial spread of rabies

In his book, Mathematical Biology, Murray introduces a SIR model having diffusion taking place among the infective population; see section 20.3 of Murray Citation13. The three equations take the form

where (r, a, D) are positive parameters. Note that partial time derivatives appear in the three equations since all dependent variables now depend on x and t, i.e. S = S(x, t), etc. Adding these equations gives
Note that in the absence of diffusion the total population is constant, i.e. for this case, a conservation law exists

The NSFD scheme for Equationequations (41a), Equation(41b) and Equation(41c) is given by the following expressions:

where the following notation is used
and and have the properties Citation6 Citation8
For the time being, we do not specify the denominator functions φ(z) and ψ (z).

If Equationequations (44a), Equation(44b) and Equation(44c) are solved, respectively, for , , and , the following expressions are obtained:

where is defined to be
Inspection of Equationequations (47a), Equation(47b), Equation(47c) shows that can be determined from and ; can be calculated from knowledge of , , , and ; and, finally, follows from knowing and . Thus, the calculation of the solutions is done sequentially. Note that for any values
an immediate consequence is and . However, to ensure that , we require Citation9
A choice often selected is to use
where γ is a nonnegative number. Making this substitution in Equationequation (47b) gives a positivity-preserving scheme for the calculation of , i.e.

How are and to be determined? First, it should be noted that in the absence of diffusion, D = 0, then is

(See for example section 3.1, Equationequation (22).) The simplest possibility for is
Using the definition of R, Equationequation (54), and the results from Equationequations (53) and Equation(54), an elementary calculation gives
This formula provides a functional relationship between the space and time step-sizes. Such relations are generally expected for partial differential equations Citation6,Citation9.

In summary, to calculate a numerical solution to Equationequations (41a), Equation(41b), and Equation(41c), the following procedure should be carried out:

4. Discussion

The results obtained in section 3 demonstrate the power of NSFD schemes to provide dynamical consistent (DC) finite difference discretizations of systems of nonlinear, coupled ODEs modeling interacting populations having a conservation law. In contrast to the physical and engineering sciences where a conservation law implies that some quantity is constant, in this work we modify the usual definition and extend it to the case where the total population is time-dependent, but goes to a limiting finite value as t→∞. Such systems and the corresponding NSFD discretizations resolve two issues. First, the discrete schemes obey the positivity requirement for the various subpopulations. Second, these schemes only produce bounded numerically computed solutions. In addition, no spurious fixed-points are introduced. Also, the example in section 3.3 shows that these techniques can easily be extended to the situation where diffusion also occurs in the system.

The critical aspect in the construction of NSFD schemes is determining which features of the original differential equations should be incorporated into the discrete model. Clearly, if some essential aspect of the equations is not also a feature of the discrete finite difference models, then numerical instabilities will appear.

Finally, with regard to systems in the biosciences, many satisfy a conservation law. The books by Thieme Citation4, Murray Citation13, and Diekmann and Heesterbeek Citation13 provide important examples. Two other relevant resources are the papers of Liu et al. Citation15Citation16.

Acknowledgements

This research was supported in part by grants from DOE and MBRS-SCORE Program at Clark Atlanta University.

Additional information

Notes on contributors

Ronald E. Mickens

Email: [email protected]

References

  • Edelstein-Keshet , L. 1988 . Mathematical Models in Biology , New York : McGraw-Hill .
  • Strogatz , S. H. 1994 . Nonlinear Dynamics and Chaos with Applications to Physics, Biology, Chemistry, and Engineering , New York : Addison-Wesley .
  • Nowak , M. A. and May , R. M. 2000 . Virus Dynamics , New York : Oxford University Press .
  • Thieme , H. R. 2003 . Mathematics in Population Biology , Princeton, NJ : Princeton University Press .
  • Zwillinger , D. 1989 . Handbook of Differential Equations , New York : Academic Press .
  • Mickens , R. E. 1994 . Nonstandard Finite Difference Models of Differential Equations , Singapore : World Scientific .
  • Jain , M. K. 1984 . Numerical Solution of Differential Equations , New York : John Wiley/Halsted .
  • Mickens , R. E. 2000 . Applications of Nonstandard Finite Difference Schemes , Edited by: Mickens , R. E. Singapore : World Scientific .
  • Mickens , R. E. 2005 . Dynamic consistency: A fundamental principle for constructing NSFD schemes for differential equations . Journal of Difference Equations and Applications , 11 : 645 – 653 .
  • Mickens , R. E. 2007 . Calculation of denominator functions for nonstandard finite difference schemes for differential equations satisfying a positivity condition . Numerical Methods for Partial Differential Equations , 23 : 672 – 691 .
  • Mickens , R. E. 2005 . Advances in the Applications of Nonstandard Finite Difference Schemes , Singapore : World Scientific .
  • Brauer , F. and Castillo-Chávez , C. 2001 . Mathematical Models in Population Biology and Epidemiology , Berlin : Springer-Verlag . section 7.4
  • Murray , J. D. 1989 . Mathematical Biology , Berlin : Springer-Verlag .
  • Diekmann , O. and Heesterbeek , J. A.P. 2000 . Mathematical Epidemiology of Infectious Diseases , New York : John Wiley .
  • Liu , W.-M. , Levin , S. A. and Iwasa , Y. 1986 . Influence of nonlinear incidence rates upon the behavior of SIRS epidemiological models . Journal of Mathematical Biology , 23 : 187 – 204 .
  • Liu , W.-M. , Hethcote , H. W. and Levin , S. A. 1987 . Dynamical behavior of epidemiological models with nonlinear incidence rates . Journal of Mathematical Biology , 25 : 359 – 380 .

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.