Abstract

This paper deals with an approach to obtaining the numerical solution of the Lotka–Volterra predator-prey models with discrete delay using Euler polynomials connected with Bernoulli ones. By using the Euler polynomials connected with Bernoulli ones and collocation points, this method transforms the predator-prey model into a matrix equation. The main characteristic of this approach is that it reduces the predator-prey model to a system of algebraic equations, which greatly simplifies the problem. For these models, the explicit formula determining the stability and the direction is given. Numerical examples illustrate the reliability and efficiency of the proposed scheme.

1. Introduction

In recent years, population models in various fields of mathematical biology have been proposed and studied extensively. Predator-prey interaction is the fundamental structure in population dynamics. Understanding the dynamics of predator-prey models will be very helpful for investigating multiple species interactions [16]. The first predator-prey model with delay was proposed by Volterra and Brelot [7]. Let and denote the population density of prey and predator at time t. In this work, we first, consider the modified version of the predator-prey model with delay [8]:where is the growth rate of the prey in the absence of predators, denotes the self-regulation constant of the prey, describes the predation of the prey by predators, is the death rate of predators in the absence of the prey, is the conversion rate for the predators, and describes the transpacific competition among predators. and are nonnegative continuous delay kernels defined and integrable on , which weigh the contribution of the predation occurred in the past to the change rate of the prey and predators, respectively. Detailed study on stability and bifurcation of system (1) can be found in Cushing [9]. When —where δ is the delta function and and are the hunting delay and the maturation time of the prey species, respectively—system (1) reduces to the following Lotka–Volterra predator-prey model with two discrete delays:

We will find the approximate solutions of the system (2) with initial conditions:where and are positive numbers.

The exact solution for the predator-prey models in the general form does not exist; therefore, numerical methods are needed to computing the population densities of the prey and predator. Some methods [1012] are proposed to handle an approximate solution of the predator–prey system, such as finite-difference, finite element, and spectral methods.

The organization of this paper is as follows. In Section 2, we study the stability of the predator-prey model. In Section 3, matrix relations for Euler polynomials connected with Bernoulli ones will be discussed. In Section 4, we shall present our method in detail. Finally, we give a few numerical examples in Section 5.

2. Stability

In this section, we review some results on the stability of the predator-prey model. To begin with, we first consider system (2) appearing in the interspecific interaction terms of both equations:where , , is a constant. Denote , where . Assume that and satisfy the following assumptions:: there exists a point with for which ,: f and are continuously differentiable such that , , , and .

Assumption ensures that is a positive equilibrium point of system (4). Let and . Then, the linearized system at is

Therefore, we have the following theorem.

Theorem 1. Suppose that f and satisfy the assumptions and . Define

Then, the positive equilibrium of the delayed predator-prey system (4) is absolutely stable if and only if .

For proof, see [13].

By Theorem 1, we have the following condition. Ifthen system (2) has a positive equilibrium , where

The condition becomes . Thus, by Theorem 1, we have the following result on the stability of .

Corollary 1. If condition (7) is satisfied, i.e., if the positive equilibrium of system (2) exists, then it is absolutely stable if and only if .

He [14] and Lu and Wang [15] showed that the positive equilibrium of system (2) is globally stable. The above stability result depends on the assumption that . If , then Faria [16] proved the following result.

Corollary 2. If and , then there is a critical value , such that of system (2) is asymptotically stable when and unstable when .

3. Matrix Relations for Euler Polynomials

Bernoulli polynomials are usually defined from the generating function for :and Bernoulli numbers are contained in many mathematical formulas such as the Taylor expansion in a neighborhood of the origin of trigonometric and hyperbolic tangent and cotangent functions, and they can be obtained by the generating function [17]:

Euler studied Bernoulli polynomials, and these polynomials are employed in the integral representation of differentiable periodic functions and play an important role in the approximation of such functions using polynomials. Many early Euler and Bernoulli polynomial implementations can be contained in [1820]. Euler polynomials are strictly related to Bernoulli and are used in Taylor’s expansion in the trigonometric and hyperbolic secant function districts. Recursive computation of Bernoulli and Euler polynomials can be obtained by using the following formulas:

Euler polynomials can also be defined as polynomials of degree satisfying the conditions:(1)(2)

The above conditions express a recurrence relation to Euler polynomials. An explicit formula for is represented aswhere is the first Bernoulli numbers for each [21].

3.1. Function Approximation

Let , and assume that be the set of Euler polynomials, and , and be an arbitrary element in H. Since is a finite dimensional vector space, has the unique best approximation out of such as , that is,

Since , there exist unique coefficients , such thatwheresuch that

Note that, from property (12) of Euler polynomials, we can represent in a matrix form as follows:whereis an matrix, and .

4. Numerical Solution of the Lotka–Voltra Predator-Prey Models with Discreet Delay Using Euler Operational Matrices

Consider the Lotka–Voltra predator-prey models with discreet delay (2). For implementing the Euler operational matrix on the predator-prey model, we first approximate and , for , by equations (14)–(17), as follows:where is the unknown vector of coefficients.

Remark 1. Recall that the Hadamard product of two matrices, say and , of the same dimension , is denoted by , defined to be an -matrix, in which the th entry is equal to the product of th entries of and , i.e., .
Bearing in mind the previous remark, we can simplify the delay part of system (2) to the matrix form aswhere and for any , is the Hadamard product (i.e., the product of entry by entry….) such that for , and , and for , . In other words, we may evaluate entries of as follows:

Remark 2. Note that If and are two matrices, then the Kronecker product is defined to be the following block matrix:By the mixed-product property of a Kronecker product, we know that for matrices , , , and , which are of the size that matrix products and are well-defined, the following relation holds true:Now, we have to estimate all expressions consisting the products of and , existing in system (2) (note that, for , the products , , and can be approximated in matrix form, where ). In order to do this, let , , and . Then, by using equations (19) and (20), we havewhereWith the above notations, we can rewrite system (2) asSuppose thatThen, the fundamental matrix equations of system (2) can be written in the following form:where

4.1. Implementing the Collocation Method

Equation (28) gives us 2 nonlinear equations. Since the number of unknowns for each vector and in (15) is and our system has 4 equations, the total number of unknowns is ; then, we collocate equation (28) at N Newton–Cotes points given asand hence we have equation (28) and initial conditions:

After solving linear system (31), we get and . For collocating equation (31), we have used the Newton–Cotes points because of their simplicity and their good utility in our implementation regarding the speed and accuracy of answers. However, we could use other points such as the Gauss points, Clenshaw–Curtis points, and Lobatto points.

5. Numerical Examples

To test the method in terms of its precision and efficacy, we turn our attention to show three numerical performance results. Analytic approximate solutions of high-order accuracy are presented in most of the cases. Throughout the calculations, the absolute error is defined byand maximum absolute error is defined by

The computations associated with these examples were performed using MATLAB.

Since the truncated series (17) is approximate solutions of system (31), when the function , and its derivatives are substituted in system (2), the resulting equation must be satisfied approximately; that is, for and , ( positive integer). If (r positive integer) is prescribed, then the truncation limit N is increased until the difference at each of the points becomes smaller than the prescribed . All computations were carried out using MATLAB.

Example 1. We consider the following Lotka–Volterra predator-prey model with delays:which has also a positive equilibrium [22]. The numerical simulations for Example 1 are shown in Figures 1 and 2.

Example 2. Consider the Lotka–Volterra predator-prey models with discrete delay given in [23] bywith initial conditionsWe selected our second example from [23], which solved this predator-prey interaction by the Bessel collocation approach. We compared our results with the Bessel collocation results, and the outcomes are tabulated in Table 1. For this example too, the improved Collocation approach of Euler polynomials connected with Bernoulli ones is incisive. This is because for the same number of basis functions, it obtains better results. Table 1 shows the present method results for Example 2 in comparison with method of [23]. The superiority of Euler polynomials operational matrices method compared with Bessel collocation approach is clear here, which is because with the same number of basis functions, we get very better results.

Example 3. Suppose in a closed ecosystem there are only 2 types of animals: the predator and the prey. They form a simple food-chain where the predator species hunts the prey species, while the prey grazes vegetation. The size of the 2 populations can be described by a simple system of 2 nonlinear first-order differential equations:which a set of fixed positive constants. A: the growth rate of the prey, B: the rate at which predators destroy the prey, C: the death rate of predators, and D: the rate at which predators increase by consuming the prey.
A prey population increases at a rate (proportional to the number of prey) but is simultaneously destroyed by predators at a rate (proportional to the product of the number of prey and predators). A predator population decreases at a rate (proportional to the number of predators), but increases at a rate (again proportional to the product of the numbers of prey and predators). By Theorem 1, we have the the positive equilibrium .
For this example, the stability of each of the three steady states can be assessed more formally using the approach discussed. The absolute errors for are estimated by and and are presented in Tables 2 and 3. We see that if N increases, then the absolute errors decrease more rapidly.

6. Conclusion

In this paper, we have proposed a numerical approach for solving the Lotka–Volterra predator-prey models with discrete delay by utilizing Euler polynomials connected with Bernoulli ones. The cognate matrices and mixed-product property of Kronecker products, besides the collocation method, have been utilized for transforming a predator-prey system to a linear system of algebraic equations that can be solved facilely. To the best of our cognizance, this is the first work coalescing the Euler polynomial connected with the Bernoulli polynomial and collocation points for solving Lotka–Volterra predator-prey models. Finally, numerical examples reveal that the present method is very precise and convenient for solving predator-prey models.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.