- Research
- Open access
- Published:

# Modified Chebyshev collocation method for delayed predator–prey system

*Advances in Difference Equations*
**volume 2020**, Article number: 313 (2020)

## Abstract

In this study, the approximate solutions of the predator–prey system with delay have been obtained by using the modified Chebyshev collocation method. The main technique is that this method transforms the original problem into a system of nonlinear algebraic equations. By using the residual function of the operator equations, error differential equations are constructed and thus the approximate solutions are corrected. A numerical example is given to confirm the reliability and applicability of the method, and comparisons with existing results are given. The numerical results show that the obtained solutions are in good agreement with earlier studies.

## 1 Introduction

The predator–prey model is the essential model in studying the population dynamics of many species, which was initially proposed by Lotka and Volterra (see [1, 2]). It has wide application in various research areas, such as chemical processes (see [3, 4]), bioparticles granulation (see [5]), the interaction of microorganisms and ecosystems (see [6, 7]). In recent years, many researchers have worked on the Lotka–Volterra type predator–prey system. In particular, Zhu et al. [8] focused on competitive Lotka–Volterra model in random environments. Li et al. [7] studied the canard phenomenon for predator–prey systems with response functions of Holling types. Badri et al. [9] dealt with the stabilization of the feasible equilibrium point of a special class of nonlinear quadratic systems known as Lotka–Volterra systems.

In order to get a more realistic model, the time delay has been taken into account in the predator–prey system. The analytical and dynamical aspects of such time delay models have been studied extensively by many researchers (see [10–12]). Also, there have been many studies interested in obtaining numerical solutions to the predator–prey system. For example, Capobianco [13] solved the numerical solution of Lotka–Volterra by using high performance parallel numerical methods. Susmita Paul [14] explained how to solve the Lotka–Volterra predator–prey model by using the Runge–Kutta–Fehlberg (RKF) method. Gokmen [15] used Taylor’s collocation method to find the numerical solution of the predator–prey system with delay.

Nowadays, more and more attention is focused on the fractional predator–prey dynamical system. However, few of the fractional equations can be solved explicitly, but the broad application attracts many authors to devote themselves to numerical methods of these equations (see [16–30]). Very recently, many numerical methods have been developed for solving the fractional predator–prey dynamical system. Particularly, hybrid analytic approach [31], Haar wavelet and Adams–Bashforth–Moulton methods [32], Bernstein wavelet and Euler methods [33], and a numerical scheme based on the homotopy analysis transform technique [34].

Chebyshev polynomials have become very important in numerical analysis. They are widely used because of their advantages, such as the roots of the first kind of Chebyshev polynomials (Gauss–Lobatto nodes) being used in polynomial interpolation for minimizing the Runge phenomena, providing the best uniform approximation of polynomials in continuous functions (see [35–37]). Most commonly used techniques with Chebyshev polynomials have been examined in [38–40] and the references therein.

Motivated by the above discussion, we are mainly interested in applying a modified Chebyshev collocation method for the time-delay predator–prey model in [10] as follows:

with initial conditions

where \(y_{1}(t)\) and \(y_{2}(t)\) are interpreted as the densities of prey and predator respectively, \(r_{1} > 0\) is the growth rate of prey in the absence of predators, \(a_{11}> 0\) denotes the self-regulation constant of prey, \(a_{12} > 0\) describes the predation of prey by predators, \(r_{2} > 0\) is the death rate of predators in the absence of prey, \(a_{21} > 0 \) is the conversion rate for predators, \(a_{22} > 0\) describes the intraspecific competition among predators and *τ* is the generation time of the prey species, *α*, *β* are constant.

The objective of this paper is to obtain the approximation solutions of system (1) in the form of truncated Chebyshev series. The primary benefit of this method is the nonlinear term that can easily be dealt with without any extra efforts. Other advantages include this method being nondifferential, nonintegral, and easily implemented on a computer.

This paper is organized as follows: In Sect. 2, a brief review of the shifted Chebyshev polynomial and its properties is provided. In Sect. 3, we apply the collocation method for system (1) using the shifted Chebyshev polynomial. In Sect. 4, we construct a fundamental matrix equation for system (1). In Sect. 5, we introduce the technique of residual error correction in order to check the accuracy of the method. Finally, a numerical example is presented to verify the efficiency and accuracy of the proposed method.

## 2 Shifted Chebyshev polynomials and their properties

In this section, we introduce Chebyshev polynomials. The Chebyshev polynomials are the sets of orthogonal polynomials and they are simply related to the trigonometric functions (see [41, 42]) by the formula

with \(\theta \in [0,\pi ]\). The Chebyshev polynomial \(T_{n}(x)\) of the first kind is a polynomial in *x* of degree *n*, defined by the following relation [43]:

Since we use polynomial on \(t \in [0, L]\) for any real number \(L > 0\), we can obtain the shifted Chebyshev polynomials \(T^{\ast }_{n}(t)=T_{n}(\frac{2t}{L}-1)\) by introducing the change of variable \(x = 2t/L - 1\), \(t \in [0,L]\). The shifted Chebyshev polynomial \(T^{\ast }_{n}(t)\) satisfies the recurrence relation as follows:

with the boundary condition

And \(T^{\ast }_{n}(t)\) satisfies the discrete orthogonality condition

where the interpolation points \(t_{k}\) are chosen to be the Chebyshev–Gauss–Lobatto associated with the interval \([0, L]\) and \(t_{k}=\frac{L}{2}(1-\cos (k\frac{\pi }{N}))\), \(k=0,1,2,\dots , N\). The summation symbol with double primes denotes a sum with both the first and last term halved [43].

## 3 Method of solution

Continuous and bounded functions \(y_{s}(t)\) (\(s=1,2\)) can be approximated in terms of shifted Chebyshev polynomials in the interval \([0,L]\) as follows:

Using the discrete orthogonality relation (3), coefficient \(c_{sk}\) in (4) is given by

Our aim is to obtain the unknown coefficients \(y_{s}(t_{i})\) for \(i=0,1,2,\dots ,N\), and the method of solution being considered should be programmable in a computer.

From equations (4) and (5) we can obtain the function \(y_{{sN}}(t)\) as follows:

where

We know that

where \(K=\frac{2}{L}M\) and *M* is the operational matrix.

where *m*1, *m*2, and *m*3 are respectively *N*, 0, 2*N* for odd *N* and 0, 2*N*, 0 for even *N*. Then from the above equation we can write \(y'_{{sN}}(t)\) as follows:

## 4 Fundamental matrix equation for system (1)

To obtain the fundamental matrix equations of system (1), we substitute equations (6) and (7) into system (1). We get the fundamental matrix system

Let

We write equations (8) as follows:

Then we can rewrite equations (9) as follows:

where

and

By substituting the interpolation points \(t_{k}\) into equations (10), we have two nonlinear systems

and

Let

and

In addition, by the initial value, we have

Thus, replacing first rows of the argument matrix \(W_{1}\), \(W_{2}\) by \(T(t_{0})\), we have

and

Then we can rewrite equations (11) and (12) as follows:

where

and \(b_{1}=[\alpha ,0,0,\ldots ]^{T}\), \(b_{2}=[\beta ,0,0,\ldots ]^{T}\).

## 5 Error estimation and residual correction

This section is devoted to checking the accuracy of our method. Since the exact solution of system (1) cannot be obtained, we will use the residual correction to obtain better approximate solutions. Residual correction is a process when the obtained approximate solution is substituted into the original equation, and a system whose solution is the error corresponding to the approximate solution is obtained. In the sequence, substituting the approximate solution \(y_{{sN}}(t)\) (\(s=1,2\)) into system (1), we obtain

where \(E_{sN}(t)\) (\(s=1,2\)) denotes the residual functions.

We define the error corresponding to \(y_{{1N}}(t)\) and \(y_{{2N}}(t)\) as follows:

and

Substituting \(y_{1}(t)\) and \(y_{2}(t)\) into system (1), we have

We can rewrite Eq. (18) as follows:

Similar to system (1), this system is also nonlinear delay differential system with initial values \(e_{{1N}}(0)=0\) and \(e_{{2N}}(0)=0\). The unknown functions are \(e_{{1N}}(t)\) and \(e_{{2N}}(t)\). We will apply the method of Sect. 3 to Eq. (19) in order to obtain the approximate solutions. Let \(e_{{1N,M}}(t)\) and \(e_{{2N,M}}(t)\) be the estimation solutions of errors \(e_{{1N}}(t)\) and \(e_{{2N}}(t)\). We can obtain the new approximate solutions as follows:

Then \(y_{{1N,M}}(t)\) and \(y_{{2N,M}}(t)\) are the correction solutions which are more accurate than \(y_{{1N}}(t)\) and \(y_{{2N}}(t)\). We will use the residual functions to measure the accuracy of numerical solutions by using \(y_{{1N,M}}(t)\) and \(y_{{2N,M}}(t)\) instead of \(y_{{1N}}(t)\) and \(y_{{2N}}(t)\). In the next section we use an example to demonstrate the above idea.

## 6 Numerical application

In this section, we demonstrate our method by a detailed example. We give the values of approximate solutions \(y_{{sN}}(t)\), (\(s= 1, 2\)) at selected points of the given interval for different *N* values.

### Example 1

([44])

We consider the following system:

with \(\alpha =1\) and \(\beta =0.2\). In order to obtain \(y_{{1N}}(t)\) and \(y_{{2N}}(t)\) with \(N=5,6\), and 7, we apply the method of Sect. 3 for Eq. (20). Then we have

for \(N=5\),

for \(N=6\), and

for \(N=7\).

The approximate solutions of prey and predator and comparison with the results of Ref. [44] are presented in Fig. 1 and Fig. 2. Figures show that the proposed method preserves the positivity of the solutions, which is the part of the solutions of Eq. (20). To examine their accuracy, we considered the absolute residual errors of these approximate solutions. Figure 3 plots the absolute residual errors of Example 1. In Table 1, we list the absolution residual errors of the present method and Ref. [44]. It is seen from the table and figures that the absolute residual error values are decreasing as we increase the parameter *N*, which are in good agreement with the results given in Ref. [44].

For implementation residual error correction in Sect. 5, we apply again the method of Sect. 3 for Eq. (20) with choosing \(N=4\) and \(M=5, 6\). The approximate solutions of \(y_{{14}}(t)\) and \(y_{{24}}(t)\) are found as follows:

To realize the error approximate concept in Sect. 5 with \(N=4\) and \(M=5, 6\), the estimated errors are obtained, namely

Then we can obtain our improved approximate solutions:

and

The improvement values of \(y_{{14}}(t)\) and \(y_{{24}}(t)\) with \(M=5,6\) are given in Fig. 4. It revealed that the proposed technique preserved the positive solutions of the given delayed prey-predator system. In order to understand how much improvement is provided by this scheme, the absolute residual errors of the original approximate solutions \(y_{{14}}(t)\) and \(y_{{24}}(t)\) are shown together with those of corrected solutions in Fig. 5. In Table 2, we list the residual errors of the improvement solutions at some point on our interval. In view of Fig. 5 and Table 2, absolute residual errors of \(y_{{14,5}}(t)\) and \(y_{{24,5}}(t)\) are smaller than those of \(y_{{14}}(t)\) and \(y_{{24}}(t)\) respectively, and absolute residual errors of \(y_{{14,6}}(t)\) and \(y_{{24,6}}(t)\) are smaller. Hence, we can comment that residual correction in general provides a certain improvement in the approximate solutions for Eq. (20).

## 7 Conclusion

In this paper, a modified Chebyshev collocation method based on the residual correction technique is presented to solve the Lotka–Volterra model with delay. An efficient error estimation can be made by using this technique. The key advantages of this approach are its low-cost computing and simplicity of implementation. Also the present method has the ability to convert the given problem into a system of mathematical equations, which can be solved easily using MATLAB or MAPLE software. Our numerical results are compared with the numerical results of [44]. The results show that they are in good correspondence with the results obtained in [44]. Based on the above facts, the modified Chebyshev collocation method is a powerful mathematical tool to obtain the numerical solutions of a nonlinear system. In future the proposed method will be applied to the fractional Lotka–Volterra biological model with and without a time delay. It is hoped that the biological relevance of the numerical results, such as stability and chaotic behavior, can be obtained. Similarly, numerical techniques may be designed for fractional reaction diffusion systems.

## References

Lotka, A.J.: Elements of Physical Biology. Williams & Wilkins, Baltimore (1925)

Volterra, V.: Fluctuations in the abundance of a species considered mathematically. Nature

**118**, 558–560 (1926)Craciun, G., Nazarov, F., Pantea, C.: Persistence and permanence of mass-action and power-law dynamical systems. SIAM J. Appl. Math.

**73**, 305–329 (2013)Xie, L., Wang, Y.: On a fully parabolic chemotaxis system with Lotka–Volterra competitive kinetics. J. Math. Anal. Appl.

**471**, 584–598 (2019)Su, K., Wang, C., Zhang, S., Liu, S.: Lotka–Volterra equation based modeling of aerobic granulation process in sequencing batch reactors. Int. Biodeterior. Biodegrad.

**115**, 49–54 (2016)Cropp, R.A., Norbury, J.: Population interactions in ecology: a rule-based approach to modeling ecosystems in a mass-conserving framework. SIAM Rev.

**57**, 437–446 (2015)Li, C., Zhu, H.: Canard cycles for predator–prey systems with Holling types of functional response. J. Differ. Equ.

**254**, 879–910 (2013)Zhu, C., Yin, G.: On competitive Lotka–Volterra model in random environments. J. Math. Anal. Appl.

**357**, 154–170 (2009)Badri, V., Yazdanpanah, M.J., Tavazoei, M.S.: Global stabilization of Lotka–Volterra systems with interval uncertainty. IEEE Trans. Autom. Control

**64**, 1209–1213 (2018)May, R.M.: Time-delay versus stability in population models with two and three trophic levels. Ecology

**54**, 315–325 (1973)Yan, X.P., Chu, Y.D.: Stability and bifurcation analysis for a delayed Lotka–Volterra predator–prey system. J. Comput. Appl. Math.

**196**, 198–210 (2006)Ruan, S.: On nonlinear dynamics of predator–prey models with discrete delay. Math. Model. Nat. Phenom.

**4**, 140–188 (2009)Capobianco, G., Conte, D., Del Prete, I.: High performance parallel numerical methods for Volterra equations with weakly singular kernels. J. Comput. Appl. Math.

**228**, 571–579 (2013)Paul, S., Mondal, S.P., Bhattacharya, P.: Numerical solution of Lotka Volterra prey predator model by using Runge–Kutta–Fehlberg method and Laplace Adomian decomposition method. Alex. Eng. J.

**55**, 613–617 (2016)Gokmen, E., Isik, O.R., Sezer, M.: Taylor collocation approach for delayed Lotka–Volterra predator–prey system. Appl. Math. Comput.

**268**, 671–684 (2015)Shahmorad, S., Ostadzad, M.H., Baleanu, D.: A tau-like numerical method for solving fractional delay integro-differential equations. Appl. Numer. Math.

**151**, 322–336 (2020)Singh, J., Kumar, D., Baleanu, D.: A new analysis of fractional fish farm model associated with Mittag-Leffler-type kernel. Int. J. Biomath.

**13**(2), 2050010 (2020)Abdel-Gawad, H.I., Tantawy, M., Baleanu, D.: Fractional KdV and Boussenisq–Burger’s equations, reduction to PDE and stability approaches. Math. Methods Appl. Sci.

**43**, 4125–4135 (2020)Jawaz, M., Ahmed, N., Baleanu, D., Rafiq, M., Rehman, M.A.: Positivity preserving technique for the solution of HIV/AIDS reaction diffusion model with time delay. Front. Phys.

**7**, 229 (2020)Farooq, U., Khan, H., Baleanu, D., Arif, M.: Numerical solutions of fractional delay differential equations using Chebyshev wavelet method. Comput. Appl. Math.

**38**, 195 (2019). https://doi.org/10.1007/s40314-019-0953-yEmile, F., Goufo, D., Kumar, S., Mugisha, S.B.: Similarities in a fifth-order evolution equation with and with no singular kernel. Chaos Solitons Fractals

**130**, 109467 (2020)Ghanbari, B., Kumar, S., Kumar, R.: A study of behaviour for immune and tumor cells in immunogenetic tumour model with non-singular fractional derivative. Chaos Solitons Fractals

**133**, 109619 (2020)Veeresha, P., Prakasha, G., Kumar, S.: A fractional model for propagation of classical optical solitons by using nonsingular derivative. Math. Methods Appl. Sci. 1–15 (2020, in press)

Kumar, S., Ghosh, S., Samet, B., Goufo, E.F.D.: An analysis for heat equations arises in diffusion process using new Yang–Abdel–Aty–Cattani fractional operator. Math. Methods Appl. Sci.

**43**(9), 6062–6080 (2020)Kumar, S., Ahmadian, A., Kumar, R., Kumar, D., Singh, J., Baleanu, D., Salimi, M.: An efficient numerical method for fractional SIR epidemic model of infectious disease by using Bernstein wavelets. J. Math.

**8**, 558 (2020). https://doi.org/10.3390/math8040558Alshabanat, A., Jleli, M., Kumar, S., Samet, B.: Generalization of Caputo–Fabrizio fractional derivative and applications to electrical circuits. Front. Phys.

**8**, 64 (2020). https://doi.org/10.3389/fphy.2020.00064Mustahsan, M., Kiran, A., Sing, J., Nisar, K.S., Kumar, D.: Higher order B-spline differential quadrature rule to approximate generalized Rosenau-RLW equation. Math. Methods Appl. Sci.

**43**(11), 6812–6822 (2020)Kumar, S., Kumar, R., Singh, J., Nisar, K.S., Kumar, D.: An efficient numerical scheme for fractional model of HIV-1 infection of CD4+ T-cells with the effect of antiviral drug therapy. Alex. Eng. J. (2020, in press). https://doi.org/10.1016/j.aej.2019.12.046

Bhatter, S., Mathur, A., Kumar, D., Nisar, K.S., Singh, J.: Fractional modified Kawahara equation with Mittag-Leffler law. Chaos Solitons Fractals

**131**, 109508 (2019). https://doi.org/10.1016/j.chaos.2019.109508Dubey, V.P., Kumar, R., Kumar, D., Khan, I., Singh, J.: An efficient computational scheme for nonlinear time fractional systems of partial differential equations arising in physical sciences. Adv. Differ. Equ.

**2020**, 46 (2020)Kumar, S., Kumar, A., Odibat, Z.M.: A nonlinear fractional model to describe the population dynamics of two interacting species. Math. Methods Appl. Sci.

**40**, 4134–4148 (2017)Kumar, S., Kumar, R., Agarwal, R.P., Samet, B.: A study of fractional Lotka–Volterra population model using Haar wavelet and Adams–Bashforth–Moulton methods. Math. Methods Appl. Sci.

**43**, 5564–5578 (2020)Kumar, S., Kumar, R., Cattani, C., Samet, B.: Chaotic behaviour of fractional predator–prey dynamical system. Chaos Solitons Fractals

**135**, 109811 (2020)Singh, J., Kilicman, A., Kumar, D., Swroop, R.: Numerical study for fractional model of nonlinear predator–prey biological population dynamic system. Therm. Sci.

**23**, 2017–2025 (2019)Ghimire, B.K., Tian, H.Y., Lamichhane, A.R.: Numerical solutions of elliptic partial differential equations using Chebyshev polynomials. Comput. Math. Appl.

**72**, 1042–1054 (2016)Li, Z., Sun, G., He, C., Liu, X., Zhang, R., Li, Y., Zhao, D., Liu, H., Zhang, F.: Multi-variable regression methods using modified Chebyshev polynomials of class 2. J. Comput. Appl. Math.

**346**, 609–619 (2019)Djukić, D.L., Reichel, L., Spalević, M.M.: Internality of generalized averaged Gaussian quadrature rules and truncated variants for measures induced by Chebyshev polynomials. Appl. Numer. Math.

**142**, 190–205 (2019)Fox, L., Parker, I.B.: Chebyshev Polynomials in Numerical Analysis. Oxford University Press, London (1968)

Boyd, J.P.: Chebyshev and Fourier Spectral Methods. Dover, New York (2000)

Mason, J.C., Handscomb, D.C.: Chebyshev Polynomials. Chapman & Hall/CRC, Florida (2003)

Handscomb, D.C.: Chebyshev Polynomials. Chapman & Hall/CRC, 2, 9 (2003)

Synder, M.A.: Chebyshev methods. In: Numerical Approximation, Prentice Hall, Englewood Cliffs, pp. 106–109 (1966)

Yang, C.: Modified Chebyshev collocation method for pantograph-type differential equations. Appl. Numer. Math.

**134**, 132–144 (2018)Yüzbaş, Ş., Karaçayır, M.: A numerical method for solutions of Lotka–Volterra predator–prey model with time-delay. Int. J. Biomath.

**11**, 1–16 (2018)

### Acknowledgements

The authors would like to thank the editor and the anonymous referees for their helpful comments.

### Availability of data and materials

Not applicable.

## Funding

This work is supported by the Fundamental Research Funds for Central Universities (2572018BC19).

## Author information

### Authors and Affiliations

### Contributions

All authors equally contributed in making the first draft and revision and they read and approved the final manuscript.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare that they have no competing interests.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Dengata, J., Ma, S. Modified Chebyshev collocation method for delayed predator–prey system.
*Adv Differ Equ* **2020**, 313 (2020). https://doi.org/10.1186/s13662-020-02769-9

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s13662-020-02769-9