Skip to main content

Theory and Modern Applications

Numerical solution of a stochastic population growth model in a closed system

Abstract

In this paper, we introduce a stochastic population model in a closed system. This model is a nonlinear stochastic integro-differential equation. At first, we solve this problem via the stochastic θ-method. Then we solve it by using the Bernstein polynomials and collocation method. This method reduces integro-differential equation to a system of nonlinear algebraic equations. The results demonstrate applicability and accuracy of this method.

1 Introduction

Several phenomena in life and sciences, especially in mechanics, engineering and, since recently, in finance, have been found to depend on random excitations. It therefore seems natural that a current trend in describing and studying these phenomena is focused on the use of stochastic mathematical models rather than deterministic ones.

Having in mind that in many cases random excitations are of the Gaussian white noise type, which is mathematically described as a formal derivative of the Brownian motion, all such phenomena are mathematically modeled and essentially represented by complex stochastic differential or integro-differential equations of the Itô type. In mathematical literature, many population models have been considered, from deterministic and stochastic population models, where the population size is represented by a discrete random variable, to very complex continuous stochastic models [13].

This article deals with a mathematical model of the accumulated effect of toxins on a population living in a closed system [4]. We obtain a stochastic model of it. Then we apply numerical methods to solve the problem. At first, we convert it to a stochastic differential equation and solve with the stochastic θ-method. Then we convert the problem to a stochastic integral equation (SIE) and introduce Bernstein polynomials for solving the SIE.

Bernstein polynomials are differentiable and integrable piecewise polynomials. In recent years, these polynomials have been used for solving differential and integral equations [58]. We use them to solve a nonlinear stochastic integro-differential equation (SIDE) that arises in a population growth model in a closed system. By using Bernstein polynomials and their derivatives along with the collocation method, SIDE is converted to nonlinear algebraic equations.

In Section 2, we review deterministic population growth in a closed system. Section 3 introduces the stochastic population growth in a closed system. Section 4 solves the problem by using the stochastic θ-method. In Section 5, we introduce Bernstein polynomials and convert SIDE to a nonlinear algebraic system. Finally, the conclusion is given in Section 6.

2 Preliminaries

Definition 2.1 (Brownian motion process)

A real-valued stochastic process B(t), t[0,T] is called Brownian motion, if it satisfies the following properties

  1. (i)

    the process has independent increments for 0 t 0 t 1 t n T,

  2. (ii)

    for all t0, h>0, B(t+h)B(t) is normally distributed with mean 0 and variance h,

  3. (iii)

    function tB(t) is continuous a.s.

Definition 2.2 Suppose 0sT, let D=D(s,T) be the class of functions

f(t,ω):[0,]×ΩR

that satisfy

  1. (i)

    The function (t,ω)f(t,ω) is β×Ϝ measurable, where β is the Borel algebra on [0,) and Ϝ is the σ-algebra on Ω.

  2. (ii)

    f is adapted to Ϝ t , where Ϝ t is the σ-algebra generated by the random variables B(s); st and adapted means that f is determined by B(s); st.

  3. (iii)

    E[ s T f ( t , ω ) 2 dt]<.

Definition 2.3 (The Itô integral)

Let fD(s,T), then the Itô integral of f is defined by

s T f(t,ω)dB(t)(w)= lim n s T ϕ n (t,ω)dB(t)(ω),

where, { ϕ n } is a sequence of elementary functions such that

E [ s T ( f ϕ ) 2 d t ] 0a.s. n.

See [9].

Lemma 2.1 Let f(t) be a regular adapted process such that with probability one 0 T f 2 (t)dt<. Then the Itô integral 0 T f(t)dB(t) is defined and can be approximated by

i = 0 n 1 f( t i ) ( B ( t i + 1 ) B ( t i ) ) for all ω,

where, { t i } is a partition of [0,T] with δ n =max( t i + 1 t i )0 as n.

Proof See [10]. □

3 Deterministic population growth in a closed system

One possible model for the size of such a population is a model balancing a standard logistic growth with the effect of the build up of toxins, which are detrimental to the population size. This model may be expressed mathematically as the following Volterra integral equation [11]:

d u d t ˜ =aub u 2 cu 0 t ˜ u(s)ds,u(0)= u 0 ,

where a>0 is the birth rate coefficient, b>0 is the crowding coefficient and the last term contains the integral indicating the ‘total metabolism’ or a total amount of toxins produced since time zero. Since the system is closed, the presence of the toxins term always causes the population level to fall to zero in the long run. Several analytical and numerical methods have been proposed to solve the classical population growth model [1214].

Before introducing a stochastic model, we apply scale time and population by using non-dimensional variables t= c b t ˜ and defining x= b a u and by defining k= a b c , we obtain

d x ( t ) d t =kx(t) ( 1 x ( t ) 0 t x ( s ) d s ) ,x(0)= x 0 .
(1)

This model is a first-order integro-differential equation. In [11], the author considered two cases k= a b c small and k= a b c large. He showed that for the case k1, where population is weakly sensitive to toxins, a rapid rise occurs along the logistic curve that will reach a peak and then is followed by a slow exponential decay. And for small k, where populations is strongly sensitive to toxins, the solutions are proportional to sech 2 (t).

4 Stochastic population growth in a closed system

In stochastic form, the coefficient k is not completely definite and depends on some random environment effects. We may replace this coefficient by an average value plus a random function term

k=r+error,

or

k=r+αW(t),

where W(t)= d B ( t ) d t is a one-dimensional white noise process and B(t) is a one-dimensional Brownian motion and α is a nonrandom coefficient that shows the intensity of noise at time t. So, the stochastic form of (1) is given by

d x ( t ) d t = ( r + α d B ( t ) d t ) x(t) ( 1 x ( t ) 0 t x ( s ) d s ) ,t0,

thus, we can write

dx(t)=rx(t) ( 1 x ( t ) 0 t x ( s ) d s ) dt+αx(t) ( 1 x ( t ) 0 t x ( s ) d s ) dB(t),t0,
(2)

with x(0)= x 0 , and B={B(t),t0} is a standard Brownian motion defined on a probability space {Ω,Ϝ, { Ϝ t } t 0 ,P} with a filtration { Ϝ t } t 0 that is right continuous.

5 Numerical solution of SIDE

To find a solution for Eq. (2), we can write it as

dx(t)=f ( t , x ( t ) ) dt+g ( t , x ( t ) ) dB(t),
(3)

with

f ( t , x ( t ) ) =rx(t) ( 1 x ( t ) 0 t x ( s ) d s )
(4)

and

g ( t , x ( t ) ) =αx(t) ( 1 x ( t ) 0 t x ( s ) d s ) .
(5)

By using the stochastic θ-method, we get

x n + 1 = x n +h [ ( 1 θ ) f ( t n , x n ) + θ f ( t n + 1 , x n + 1 ) ] +g( t n , x n )Δ B n ,
(6)

where Δ B n =B( t n )B( t n 1 ), h= t n t n 1 . Here x n denotes the numerical approximation of x( t n ). Also, we use the following approximation to compute the integral term:

0 t n x(s)ds h 2 ( x 0 + 2 j = 0 n 1 x j + x n ) .
(7)

By substituting (4), (5) and (7) into (6), the model converts to quadratic for x n + 1 and can be solved by the quadratic equation.

The results can be seen in Figures 1 and 2 with θ=0.5.

Figure 1
figure 1

Results of θ -method calculations with r=2 , α=0 and α=0.2 .

Figure 2
figure 2

Results of θ -method calculations with r=100 , α=0 and α=10 .

6 Bernstein polynomials and function approximation

The general form of the Bernstein polynomials of the n th degree over the interval [a,b] is defined by

β i , n (t)= ( n i ) ( t a ) i ( b t ) n i ( b a ) n ,atb,i=0,1,,n.
(8)

Note that each of these (n+1) polynomials have degree n and satisfy the following properties

  1. (i)

    β i , n (t)=0 if i<0 or i>n.

  2. (ii)

    0 n β i , n (t)=1.

  3. (iii)

    β i , n (a)= β i , n (b)=0, 1in1.

The Bernestein approximation of f:[0,1]R is given by

β n ( f ( t ) ) = i = 0 n ( n i ) f ( i n ) t i ( 1 t ) n i = i = 0 n c i β i , n ,
(9)

where

β i , n = ( n i ) t i ( 1 t ) n i .

Theorem 6.1 For all function f in C[0,1], the sequence { β n (f);n=1,2,} converges uniformly to f.

Proof See [15]. □

One of the many remarkable properties of the Bernestein approximation is that the derivatives of β n (f) of any order converge to the corresponding derivatives of f [16].

If f C k [0,1] for any k0, then

lim n ( β n ( f ) ) ( k ) = f ( k ) uniformly on [0,1].

7 The numerical method based on Bernstein polynomials

In this section, Bernstein polynomial basis is used to find a solution for the integral form of Eq. (2) as

x ( t ) = x 0 + r 0 t [ x ( s ) ( 1 x ( s ) 0 s x ( z ) d z ) ] d s x ( t ) = + α 0 t [ x ( s ) ( 1 x ( s ) 0 s x ( z ) d z ) ] d B ( s ) , t 0 .
(10)

Let

y(t)= 0 t x(s)ds,
(11)

then

d y ( t ) d t =x(t),y(0)=0.
(12)

To approximate the solution, replace (11) and (12) into (10) and rewrite it as

y ( t ) = x 0 + r 0 t [ y ( s ) ( y ( s ) ) 2 y ( s ) y ( s ) ] d s + α 0 t [ y ( s ) ( y ( s ) ) 2 y ( s ) y ( s ) ] d B ( s ) .
(13)

Function y(t) can be approximated as follows:

y(t)= i = 0 n c i β i , n = C T Φ(t),n1,0t1,
(14)

where, C and Φ(t) are (n+1)×1 vectors given by

C= [ c 0 , c 1 , , c n ] T ,Φ(t)= [ β 0 , n , , β n , n ] T ,

so, we can write

d y ( t ) d t = C T d Φ ( t ) d t .
(15)

By substituting (14) and (15) into (13), we have

C T Φ ( t ) = x 0 + r 0 t [ C T Φ ( s ) ( C T Φ ( s ) ) 2 ( C T Φ ( s ) ) ( C T Φ ( s ) ) ] d s + α 0 t [ C T Φ ( s ) ( C T Φ ( s ) ) 2 ( C T Φ ( s ) ) ( C T Φ ( s ) ) ] d B ( s ) .
(16)

The collocation method with t j = 2 j 1 2 ( n + 1 ) , j=1,,n+1, is used for determination of the unknown vector C as follows:

C T Φ ( t j ) = x 0 + r 0 t j [ C T Φ ( s ) ( C T Φ ( s ) ) 2 ( C T Φ ( s ) ) ( C T Φ ( s ) ) ] d s C T Φ ( t j ) = + α 0 t j [ C T Φ ( s ) ( C T Φ ( s ) ) 2 ( C T Φ ( s ) ) ( C T Φ ( s ) ) ] d B ( s ) , j = 1 , , n + 1 .
(17)

We use Lemma 2.1 to calculate Itô integrals. By solving the nonlinear system (17), we find the unknown coefficient. Then we get the approximate solution y(t) and x(t).

The figures show the results of a numerical solution generated by the stochastic θ-method with θ=0.5 and the Bernstein approximation with n=12 for two cases of r. The results show a rapid rise along the logistic curve and then a fast exponential decay to zero for big r.

They also illustrate a comparison between the numerical solutions of the deterministic and the stochastic models.

8 Conclusion

This paper suggests a stochastic model for the population growth of a species in a closed system. We applied two numerical methods to solving a nonlinear integro-differential equation and showed the results in Figures 1-4. For big values of r, the problem becomes very stiff and requires very small steps in the numerical methods. In such a case, it is practical to implement the Bernstein collocation method which is effective and easy to use.

Figure 3
figure 3

Results of Bernstein calculations with r=2 , α=0 and α=0.2 .

Figure 4
figure 4

Results of Bernstein calculations with r=100 , α=0 and α=10 .

References

  1. Andreis S, Ricici PE: Modelling population growth via Laguerre-type exponentials. Math. Comput. Model. 2005, 42: 1421–1428. 10.1016/j.mcm.2005.01.037

    Article  Google Scholar 

  2. Khodabin M, Maleknejad K, Rostami M, Nouri M: Interpolation solution in generalized stochastic exponential population growth model. Math. Comput. Model. 2011, 53: 1910–1920. 10.1016/j.mcm.2011.01.018

    Article  MathSciNet  Google Scholar 

  3. Khodabin M, Kiaee N: Stochastic dynamical logistic population growth model. J. Math. Sci. Adv. Appl. 2011, 11: 11–29.

    MathSciNet  Google Scholar 

  4. Scudo F: Volterra and theoretical ecology. Theor. Popul. Biol. 1971, 2(1):1–23. 10.1016/0040-5809(71)90002-5

    Article  MathSciNet  Google Scholar 

  5. Bhattacharya S, Mandel BN: Use of Bernstein polynomials in numerical solutions of Volterra integral equations. Appl. Math. Sci. 2008, 36: 1773–1787.

    Google Scholar 

  6. Bhatti MI, Bracken P: Solutions of differential equations in a Bernstein polynomial basis. J. Appl. Math. Comput. 2007, 205: 272–280. 10.1016/j.cam.2006.05.002

    Article  MathSciNet  Google Scholar 

  7. Maleknejad K, Hashemizadeh E, Basirat B: Computational method based on Bernstein operational matrices for nonlinear Volterra-Fredholm-Hammerstein integral equations. Commun. Nonlinear Sci. Numer. Simul. 2012, 17: 52–61. 10.1016/j.cnsns.2011.04.023

    Article  MathSciNet  Google Scholar 

  8. Maleknejad K, Hashemizadeh E, Ezzati R: A new approach to the numerical solution of Volterra integral equations by using Bernstein approximation. Commun. Nonlinear Sci. Numer. Simul. 2011, 16: 647–655. 10.1016/j.cnsns.2010.05.006

    Article  MathSciNet  Google Scholar 

  9. Oksendal B: Stochastic Differential Equations: An Introduction with Application. 5th edition. Springer, New York; 1998.

    Book  Google Scholar 

  10. Klebaner F: Introduction to Stochastic Calculus with Applications. 2nd edition. Imperial College Press, London; 2005.

    Book  Google Scholar 

  11. Small RD: Population growth in a closed system. In Mathematical Modeling, Classroom Notes in Applied Math. SIAM, Philadelphia; 1989.

    Google Scholar 

  12. Tebeest KG: Numerical and analytical solutions of Volterra‘s population model. SIAM Rev. 1997, 39: 484–493. 10.1137/S0036144595294850

    Article  MathSciNet  Google Scholar 

  13. Wazwaz AM: Analytical approximations and Pade approximations for Volterra population model. Appl. Math. Comput. 1999, 100: 13–25. 10.1016/S0096-3003(98)00018-6

    Article  MathSciNet  Google Scholar 

  14. Yildirim A, Gulkanat Y: HPM-Pade technique for solving a fractional population growth model. World Appl. Sci. J. 2010, 11(12):1528–1533.

    Google Scholar 

  15. Powel MJD: Approximation Theory and Methods. Cambridge University Press, Cambridge; 1981.

    Google Scholar 

  16. Lorentz GG: Zur theorie der polynome von S. Bernstein. Mat. Sb. 1937, 2: 543–556.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Morteza Khodabin.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

All authors contributed extensively to the work presented in this paper.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Khodabin, M., Maleknejad, K. & Asgari, M. Numerical solution of a stochastic population growth model in a closed system. Adv Differ Equ 2013, 130 (2013). https://doi.org/10.1186/1687-1847-2013-130

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-1847-2013-130

Keywords