#### Abstract

A new shifted Legendre-Gauss collocation method is proposed for the solution of Volterra’s model for population growth of a species in a closed system. Volterra’s model is a nonlinear integrodifferential equation on a semi-infinite domain, where the integral term represents the effects of toxin. In this method, by choosing a step size, the original problem is replaced with a sequence of initial value problems in subintervals. The obtained initial value problems are then step by step reduced to systems of algebraic equations using collocation. The initial conditions for each step are obtained from the approximated solution at its previous step. It is shown that the accuracy can be improved by either increasing the collocation points or decreasing the step size. The method seems easy to implement and computationally attractive. Numerical findings demonstrate the applicability and high accuracy of the proposed method.

#### 1. Introduction

Many science and engineering problems arise in unbounded domains. During the last few years different spectral methods have been proposed for solving problems on unbounded domains. One of the methods is through the use of orthogonal polynomials over unbounded domains, such as the Hermite spectral and the Laguerre spectral methods [1–5]. However all of these algorithms need certain quadratures on unbounded domains, which introduce errors and so weaken the merit of spectral approximations. Another direct approach for solving such problems is based on rational approximations. Christov [6] and Boyd [7, 8] developed some spectral methods on unbounded intervals by using mutually orthogonal systems of rational functions. Boyd [8] defined a new spectral basis, named rational Chebyshev functions on the semi-infinite interval, by mapping it to the Chebyshev polynomials. Guo et al. [9] introduced a new set of rational Legendre functions which are mutually orthogonal in . They applied a spectral scheme using the rational Legendre functions for solving the Korteweg-de Vries equation on the half line. Boyd et al. [10] applied pseudospectral methods on a semi-infinite interval and compared the rational Chebyshev, Laguerre, and the mapped Fourier sine methods. Parand et al. [11] compared two common collocation approaches based on radial basis functions for the case of heat transfer equations arising in porous medium. The use of a suitable mapping to transfer infinite domains to the finite domains and then applying the standard spectral methods for the transformed problems in finite domains are considered another approach that is frequently used; see [12–16]. Another approach is replacing the infinite domain with and the semi-infinite interval with by choosing , sufficiently large. This method is named as the domain truncation [17, 18].

In [19, 20], the Volterra model for population growth of a species within a closed system is given by where is the birth rate coefficient, is the crowding coefficient, is the toxicity coefficient, is the initial population, and denotes the population at time . Also, the coefficient indicates the essential behavior of the population evolution before its level falls to zero in the long term.

This model is an integroordinary differential equation where the term represents the effect of toxin accumulation on the species. Although several time scales and population scales may be employed [20], here, we will scale time and population by introducing the nondimensional variables which produce the nondimensional problem where is the scaled population of identical individuals at time and is a prescribed nondimensional parameter. One may show that the only equilibrium solution of (3) is the trivial solution . In addition, the analytical solution [20] shows that for all if .

During the recent years, the solution of (3) has been of considerable concern. In [19], the successive approximations method was suggested for the solution of (3) but was not implemented. In this case, the solution has a smaller amplitude compared with the amplitude of for the case . Similarly, in [20], the singular perturbation method for solving Volterra’s population model is considered. The author scaled out the parameters of (3) as much as possible by using four different ways and considered two cases: , small, and , large. Thus, it is shown in [20] that for the case , where populations are 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. In the case of large , the populations are strongly sensitive to toxins, and the solutions are proportional to .

In [21], four numerical methods, namely, the Euler method, the modified Euler method, the classical fourth-order Runge-Kutta method, and the Runge-Kutta-Fehlberg method, for the solution of (3) are proposed. Moreover, a phase-plane analysis is implemented. In [22] a comparison of the Adomian decomposition method and Sinc-Galerkin method is given and it is shown that the Adomian decomposition method is more efficient for the solution of Volterra’s population model. In [23], the series solution method and the decomposition method are implemented independently to (3) and to a related nonlinear ordinary differential equation. Furthermore, the Padé approximations are used in the analysis to capture the essential behavior of the population of identical individuals and approximation of and the exact value of for different were compared. The authors of [24–26] applied spectral method to solve Volterra’s population on a semi-infinite interval based on a rational Tau method.

In [27], the approach is based upon domain truncation and composite spectral functions approximations. They first considered an interval , where is any positive integer, and divided this interval into subintervals with step size , where is a positive integer. They then transformed each subinterval into and utilized the properties of composite spectral functions consisting of few terms of orthogonal functions to reduce the solution of Volterra’s model to the solution of a system of algebraic equations.

In [28], a numerical method based on domain truncation and hybrid functions was proposed to solve Volterra’s population model. They considered an interval , and then by utilizing the properties of hybrid functions that consist of block-pulse and Lagrange-interpolating polynomials, they reduced the solution of Volterra’s model to the solution of a system of algebraic equations.

In [29], the authors compared the application of rational Chebyshev collocation and Hermite functions collocation methods for solving Volterra’s population model. In [30], a new homotopy perturbation method is proposed for directly solving the Volterra’s population model as a nonlinear integrodifferential equation.

In this paper, we introduce a new collocation method for solving (3). Volterra’s population model in (3) is first converted to an equivalent nonlinear initial value problem (IVP). This method solves the problem step by step and is valid for large domains. We first consider a step size and then replace the original IVP in the interval with a sequence of IVPs in subintervals with length equal to the considered step size. Then, the sequence of IVPs is consecutively reduced to sets of algebraic equations using collocation based on shifted Legendre-Gauss (ShLG) points. The initial conditions of the th step (except for the first step, where the initial conditions are available) are obtained from the approximated solution obtained earlier at the th step.

The paper is organized as follows. In Section 2, some basic properties of Legendre and shifted Legendre polynomials required for our subsequent development are given. Then the application of this method to Volterra’s population model is summarized. In Section 3, we report our numerical findings and demonstrate the efficiency and accuracy of the proposed scheme.

#### 2. Step by Step Spectral Collocation Method for Volterra’s Population Model

In this section, we derive the step by step ShLG spectral collocation method for solving Volterra’s population model in (3).

##### 2.1. Review of Legendre and Shifted Legendre Polynomials

The Legendre polynomials, , , are the eigenfunctions of the singular Sturm-Liouville problem Also, they are orthogonal with respect to inner product on the interval with the weight function ; that is where is the Kronecker delta. The Legendre polynomials satisfy the recursion relation where and . If is normalized so that , then for any , the Legendre polynomials in terms of power of are where denotes the integer part of .

The Legendre-Gauss (LG) collocation points are the roots of . Explicit formulas for the LG points are not known. The LG points have the property that is exact for polynomials of degree at most , where , , are LG quadrature weights. For more details about Legendre polynomials, see [31].

The shifted Legendre polynomials on the interval are defined by which are obtained by an affine transformation from the Legendre polynomials. The set of shifted Legendre polynomials is a complete -orthogonal system with the weight function . Thus, any function can be expanded in terms of shifted Legendre polynomials.

The ShLG collocation points on the interval are obtained by shifting the LG points, , using the transformation

By using the property of standard LG quadrature, it follows that for any polynomial of degree at most on , where , , are ShLG quadrature weights. The results stated above are also satisfied for Legendre-Gauss-Lobatto and Legendre-Gauss-Radau quadrature rules.

##### 2.2. Solution of Volterra’s Population Model

In this subsection, we first convert Volterra’s population model (3) to an equivalent nonlinear IVP. Let which leads to With substituting (13) and (14) into (3) the following nonlinear IVP is obtained: Then, to drive a step by step ShLG collocation method for solving (15), we first choose a step size , where can be any positive real number. Now, let be the solution of (15) in subinterval , . The IVP in (15) on the interval can be replaced with the following sequence of IVPs on subintervals , : where the initial conditions for the th IVP () are considered using the solution obtained earlier for the th IVP. Note that, for the first IVP, the initial conditions are available from (15). In addition, it is important to note that the initial conditions in (16) also maintained the continuity and the differentiability at the interface of subintervals. The calculations begin at the first step with solving the following IVP on : This then allows the approximation of on the subinterval to be obtained at the second step from the IVP in (16) and so on.

Consider now the ShLG collocation points on the th subinterval , , obtained using (11). Obviously,
Also, consider two additional *noncollocated* points and . We approximate the function within each subinterval by a polynomial of degree at most as
where and
is a basis of th-degree Lagrange polynomials on the subinterval that satisfy . Here, it can be easily seen that for and , we have
Thus, by utilizing (21) for (19), the approximation of within each subinterval can be restated as
It is important to observe that the series (22) includes the Lagrange polynomials associated with the *noncollocated* points and . Differentiating the series of (22), twice, and evaluating at the ShLG collocation points , , give
where . The nonsquare matrices , , are the first- and second-order Gauss pseudospectral differentiation matrices in the subinterval , where we note that the extra columns of and are due to the Lagrange polynomials and associated with the noncollocated points and .

Further, it is seen from (21)–(23) that in the present step by step collocation scheme, we only need to produce the basis of Lagrange polynomials and the Gauss pseudospectral differentiation matrices and in the first subinterval. This reduces the number of arithmetic calculations and also the computational time, specially when the number of subintervals (number of steps) and/or the number of collocation points are large.

Then, we define the residual function for the th IVP on the subinterval in (16) as follows: At step , the algebraic equations for obtaining the coefficients come from equalizing to zero at ShLG points plus two boundary conditions on the th subinterval by utilizing (22)-(23): By using (25) we obtain a set of algebraic equations for unknowns which can be solved using Newton’s iterative method. Again, we note that, in (25), the values of , , are obtained earlier at step . Consequently, at step , using (25) the approximation of in the th subinterval is obtained with substituting the obtained values of into (22), which is indeed the approximate solution of Volterra’s model on the subinterval .

#### 3. Numerical Results

We apply the method presented in this paper to examine the mathematical structure of . In particular, we seek to study the rapid growth along the logistic curve that will reach a peak, followed by the slow exponential decay where as . The mathematical behavior so defined was introduced by Scudo [19] and justified by Small [20] based on singular perturbation methods. Further, these properties were also confirmed by TeBeest [21] upon using a phase-plane analysis, Wazwaz [23] by applying Adomian decomposition method (ADM), Ramezani et al. [27] by using composite spectral functions (CSF), Marzban et al. [28] by using hybrid of block-pulse and Lagrange polynomials (HBL), and Parand et al. [29] by using rational Chebyshev collocation (RCC) and Hermite functions collocation methods (HFC).

We applied the method presented in this paper and solved (3) for and 0.02, 0.04, 0.1, 0.2, and 0.5 and then evaluated , which are also evaluated in [23, 27–29]. In Table 1, the resulting values using the present method with different step sizes, together with the results given in [23, 27–29] and exact values reported in [21], are presented. Compared with other methods, our method provides more accurate numerical results. Note that the step sizes considered in Table 1 are based on the position of . To this end, for all values of , we first solved the problem with the step size and to find the approximate position of . Then for each value of we selected an appropriate step size.

Figure 1 shows the results of the present step by step collocation method for 0.02, 0.04, 0.1, 0.2, and 0.5. This figure shows the rapid rise along the logistic curve followed by the slow exponential decay after reaching the maximum point, and when increases, the amplitude of decreases whereas the exponential decay increases. Also, this figure shows the stability of the present method in large number of steps calculations.

#### 4. Conclusion

A new efficient step by step collocation method based on shifted Legendre-Gauss points has been proposed for solving Volterra model for population growth of a species in a closed system. We considered a step size and converted the original IVP raised from Volterra’s population model to a sequence of IVPs in subintervals and solved them, step by step, using collocation. This approach is easy to implement and possesses the spectral accuracy. Furthermore, this method is available for large domain calculations. Numerical example shows the excellent agreement between the approximate and exact values for .

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The authors are very grateful to the referees for their valuable suggestions and comments that improved the paper. Adem Kılıçman gratefully acknowledges that this research was partially supported by the University Putra Malaysia under the ERGS Grant Scheme having project number 5527068.