This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

\UseRawInputEncoding

Lotka–Volterra predator-prey model with periodically varying carrying capacity

Mohamed Swailem [email protected] Department of Physics & Center for Soft Matter and Biological Physics, MC 0435, Robeson Hall, 850 West Campus Drive, Virginia Tech, Blacksburg, VA 24061, USA    Uwe C. Täuber [email protected] Department of Physics & Center for Soft Matter and Biological Physics, MC 0435, Robeson Hall, 850 West Campus Drive, Virginia Tech, Blacksburg, VA 24061, USA Faculty of Health Sciences, Virginia Tech, Blacksburg, VA 24061, USA
Abstract

We study the stochastic spatial Lotka–Volterra model for predator-prey interaction subject to a periodically varying carrying capacity. The Lotka–Volterra model with on-site lattice occupation restrictions (i.e., finite local carrying capacity) that represent finite food resources for the prey population exhibits a continuous active-to-absorbing phase transition. The active phase is sustained by the existence of spatio-temporal patterns in the form of pursuit and evasion waves. Monte Carlo simulations on a two-dimensional lattice are utilized to investigate the effect of seasonal variations of the environment on species coexistence. The results of our simulations are also compared to a mean-field analysis in order to specifically delineate the impact of stochastic fluctuations and spatial correlations. We find that the parameter region of predator and prey coexistence is enlarged relative to the stationary situation when the carrying capacity varies periodically. The (quasi-)stationary regime of our periodically varying Lotka–Volterra predator-prey system shows qualitative agreement between the stochastic model and the mean-field approximation. However, under periodic carrying capacity switching environments, the mean-field rate equations predict period-doubling scenarios that are washed out by internal reaction noise in the stochastic lattice model. Utilizing visual representations of the lattice simulations and dynamical correlation functions, we study how the pursuit and evasion waves are affected by ensuing resonance effects. Correlation function measurements indicate a time delay in the response of the system to sudden changes in the environment. Resonance features are observed in our simulations that cause prolonged persistent spatial correlations. Different effective static environments are explored in the extreme limits of fast- and slow periodic switching. The analysis of the mean-field equations in the fast-switching regime enables a semi-quantitative description of the (quasi-)stationary state.

I Introduction

The study of population dynamics has gained popularity among various fields of research in recent years [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]. Ecosystems of multiple interacting species are traditionally modelled as a dynamical system described by a set of deterministic differential rate equations. Yet such deterministic descriptions do not capture the stochastic nature of real-life systems and ignore temporal and spatial correlation effects that certainly affect the system’s quantitative features, and maybe its qualitative behavior [25, 26]. Therefore, various efforts have been made in trying to adequately represent such systems in terms of coupled stochastic processes [9, 13, 14, 17, 19, 27]. An additional difficulty in the study of stochastic population dynamics stems not just from the fact that they are non-linear dynamical systems with a large number of degrees of freedom, but also because they do not reside in thermal equilibrium: Hence the stationary probability distribution is not the standard Boltzmann distribution, non-vanishing probability currents decisively characterize the ensuing non-equilibrium steady states, and irreversibility is crucial, as becomes manifest in absorbing states that characterize population extinction. However, lattice simulations can be used effectively to gain insight on the interacting populations’ behavior, and may thus guide the development of new techniques for studying non-equilibrium systems.

This study focuses on the paradigmatic predator-prey model introduced independently by Lotka and Volterra [28, 29], owing to its simplicity and extensive prevalent literature. The original formulation of the Lotka–Volterra model utilized a coupled set of deterministic differential equations describing the temporal evolution of the predator and prey densities. It was successful in explaining population oscillations that are present in predator-prey ecologies. However, the Lotka–Volterra mean-field model was aptly met with criticism because it did not account for stochastic fluctuations, and since it predicts stable density oscillations that are fully determined by the initial population densities, whereas in nature, predator-prey systems can exhibit extinction or fixation. The neutral limit cycles of the original Lotka–Volterra model are also not stable under straightforward modifications to the model [2, 4, 21]: Allowing for intrinsic stochastic noise, or introducing a finite carrying capacity render the limit cycles unstable, and the system is instead driven to a stable fixed point with constant predator and prey densities. We remark that there exist alternative predator-prey models that can predict stable limit cycles such as those discussed in Refs. [30, 31]. Further it is well-established that spatial structure in ecological systems promotes species coexistence [32, 33, 34, 35]. This asserrtion was supported by experiments done by Huffaker et al. [36], who found that coexistence of a predator-prey system of mite species was maintained via spatial heterogeneity of species densities. This was later hypothesized to be a result of asynchronous system states in different patches (lattice sites) [37, 33, 35].

A substantial body of experimental work has been performed on ecologies that exhibit predator-prey type interactions [10, 38, 36, 39, 40, 41, 42]. While the Lotka–Volterra model is able to capture the periodic behavior of such systems, with good numerical agreement for well-mixed microbial systems [41, 38], its mean-field approximation cannot capture the stochastic fluctuations in the population densities. As pointed out in Ref. [38], the issue is that the deterministic Lotka–Volterra model (even with a finite carrying capacity) only allows for decaying or constant oscillation amplitudes. It is hence preferable to consider the Lotka–Volterra model as a stochastic reaction-diffusion system incorporating the following reactions that involve the predator species AA and the prey species BB:

A𝜇,\displaystyle A\xrightarrow{\mu}\emptyset,\quad predator death, (1a)
B𝜎B+B,\displaystyle B\xrightarrow{\sigma}B+B,\quad prey reproduction (birth), (1b)
A+B𝜆A+A,\displaystyle A+B\xrightarrow{\lambda}A+A,\quad predation, (1c)

where μ\mu, σ\sigma, and λ\lambda denote the corresponding reaction rates that quantitatively characterize the stochastic processes. The reaction (1c) combines the actions of simultaneous predation and predator reproduction, a common simplification [5, 13, 43, 44, 45, 46, 14, 15, 18, 47, 48, 49, 50, 51, 52, 21]; as shown in Ref. [22], for spatially extended stochastic realizations of the Lotka–Volterra processes, separating (1c) into two independent reactions does not qualitatively change the stochastic, spatially extended system’s behavior.

This simplest Lotka–Volterra model variant can be readily extended to account for finite resources for the prey population. On the mean-field level, one may just add a logistic growth limiting factor for the prey species [53, 54, 4]. For the stochastic model realized on a regular lattice, this can be achieved by implementing on-site lattice occupation restrictions [55, 43, 44, 45, 56, 13, 14, 17, 19, 50]. An alternative method of modelling competition between prey individuals for resources would be to implement the binary reaction B+BBB+B\xrightarrow{}B, which provide a “soft” local particle number constraint [52]. In contrast to imposing “hard” on-site restrictions in the lattice model, the corresponding mean-field rate equation would directly lead to a logistic equation. Either modification of the stochastic Lotka–Volterra model induces a continuous non-equilibrium phase transition between two-species coexistence and predator extinction. If the predators are not efficient in hunting their prey, or if the food resources available to the prey are scarce, the predator population eventually goes extinct [13, 14, 19, 50, 51, 52]. The critical exponents of this active-to-absorbing state phase transition were shown to be in the directed percolation universality class by means of numerical simulations [19, 45, 56, 57, 46, 58] as well as a field-theoretic analysis [51, 52, 21]. Persistent spatio-temporal structures emerging in the coexistence phase of the stochastic lattice Lotka–Volterra model that substantially enhance species coexistence and thus promote ecological diversity have been thoroughly studied as well [35, 12, 59, 60, 16, 51]. Prominent travelling pursuit and evasion waves arise due to the fact that predators must move towards high concentrations of prey in order to survive, leaving behind them areas of low prey concentration, while the prey similarly need to evade regions of high predator densities. These waves lead to asynchronous states and therefore enhance coexistence [35], which underscores the importance of spatial modelling for predator-prey systems.

Experimental in-vitro as well as in-vivo systems are often exposed to varying nutrients, which affects species survival. Therefore the modelling of population dynamics with temporally varying environments has gained attention in recent years [61, 62, 63, 64, 47, 65, 48, 49, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75]. Traditionally, fluctuations in the environment are modelled as variable reaction rates [62, 65, 48, 49, 70, 71, 72, 73] which usually enter linearly. On the other hand, to investigate the effects of varying non-linear parameters, typically time-dependent carrying capacities are introduced [66, 67, 68, 69], but in a non-spatial setting. Yet spatial models with a varying carrying capacity have also not been properly explored in the literature. Lattice models are often simulated with a fixed on-site restriction [55, 43, 44, 45, 56, 13, 14, 17, 19, 50].

In this study, in order to gain a full understanding of how a time-varying on-site resource constraint can change the quasi-stationary properties as well as transient kinetics of predator-prey competition dynamics, we consider the stochastic Lotka–Volterra model on a regular two-dimensional lattice (with periodic boundary conditions) with a finite local prey carrying capacity that varies periodically over time. This oscillatory environmental variability resembles seasonal changes in food availability for the prey population. While seasonal changes may additionally affect other parameters such as the reproduction rate, in this study we focus on the effects of temporal oscillations in resource availability, since we anticipate variability in this non-linear parameter to generate the most prominent modifications relative to the stationary case. This variation in the environment leads to indefinite populations oscillations, whereas the static Lotka–Volterra model only supports damped oscillations with a decreasing amplitude (in the coexistence regime). Similar conclusions were already drawn in Ref. [64]. We investigate how a sudden increase in prey food resources can prevent the predators from going extinct. Specifically, intriguing dynamical behavior is observed when the system switches between carrying capacity values that would result in species coexistence and predator extinction, respectively, in stationary environments. One may regard this Lotka–Volterra system with periodically varying environment as a dynamical system subject to an oscillating external driving force. In periodically driven dynamical systems, there are two limiting situations that allow for quantitative theoretical analysis, namely the fast and slow switching regimes, for which the driving force oscillation period is small or large, respectively, compared to the intrinsic oscillation time scale of the system. In order to quantitatively analyze our model, we measure the time evolution of the population density for each species and their two-point correlations functions. We demonstrate that an analysis of the coupled mean-field rate equations allows a semi-quantitative description of the (quasi-)stationary state of the system for rapidly varying environments. As mentioned in Ref. [64], density oscillations tend to have the same period as the environmental oscillations. However, our model exhibits period doubling effects when an asymmetric environment is considered.

Our aim is to understand the mechanism for the enlargement of the region of parameter space that permits species coexistence in the Lotka–Volterra predator-prey model, as a consequence of the periodic variations in the environment. In the fast switching regime, we delineate under which conditions the environmental variability may be captured through effective averaged parameters. Direct comparisons between mean-field and the lattice model results allows us to determine quantitatively when the analysis of approximate mean-field rate equations suffices. We also address the question of how the externally imposed carrying capacity dynamics interacts with the intrinsic spatio-temporal pursuit and evasion waves characteristic of predator-prey models. Indeed, this interplay between the spreading population waves and the changing environment causes intriguing resonant behavior in the system.

This paper is organized as follows: Section II gives an overview of the stationary states of the Lotka–Volterra model for predator-prey competition and their stability within the mean-field theory framework. It next describes the features found by numerically integrating the coupled rate equations for periodically varying carrying capacity. We then mathematically analyze the (quasi-) stationary state of the mean-field model in both the slow- and fast-switching regimes. Our implementation for our corresponding stochastic lattice model and the ensuing simulation data are presented in Section III, and compared with the mean-field results. Finally, our summary and concluding remarks are provided in Section IV.

II Lotka–Volterra predator-prey competition: mean-field theory

II.1 Constant carrying capacity: mean-field rate equations and stability analysis

Mean-field rate equations for stochastic dynamical reaction systems are approximate deterministic equations that aptly describe a well-mixed setup. Even though they neglect spatial correlations and temporal fluctuations, they are often useful to gain intuition on the system’s expected behavior. In Sec. III, we shall compare the results obtained with the mean-field equations with the Monte Carlo simulation data from the full stochastic model (1).

For the Lotka–Volterra predator-prey competition model (1), the classical mean-field rate equations that describe the time evolution of the mean predator and prey densities a(t)a(t) and b(t)b(t) read

da(t)dt\displaystyle\frac{da(t)}{dt} =\displaystyle= μa(t)+λa(t)b(t),\displaystyle-\mu a(t)+\lambda a(t)b(t)\ , (2a)
db(t)dt\displaystyle\frac{db(t)}{dt} =\displaystyle= σb(t)λa(t)b(t).\displaystyle\sigma b(t)-\lambda a(t)b(t)\ . (2b)

These rate equations can be understood as representing gain / loss terms for reactions that increase / decrease the population densities. Linear stability analysis of this system shows that the system exhibits a species coexistence fixed point, and numerical integration of these equations leads to oscillatory behavior, namely neutral limit cycles. We will perform our analysis on the more generalized Lotka–Volterra model with a growth-limiting factor for the prey species (for reviews, see Refs. [51, 5]).

The original Lotka–Volterra rate equations can be generalized by including a growth-limiting factor 1a(t)/K1b(t)/K21-a(t)/K_{1}-b(t)/K_{2}, where K1K_{1} and K2K_{2} respectively represent the (global) carrying capacities induced by prey-predator and prey-prey resource competition. For simplicity, we set K1=K2K_{1}=K_{2}, since this does not change the qualitative behavior of the system on the mean-field level; this implies the modified set of rate equations

da(t)dt\displaystyle\frac{da(t)}{dt} =\displaystyle= μa(t)+λa(t)b(t),\displaystyle-\mu a(t)+\lambda a(t)b(t)\ , (3a)
db(t)dt\displaystyle\frac{db(t)}{dt} =\displaystyle= σb(t)(1a(t)+b(t)K)λa(t)b(t),\displaystyle\sigma b(t)\left(1-\frac{a(t)+b(t)}{K}\right)-\lambda a(t)b(t)\ , (3b)

where KK denotes the (global) carrying capacity. Their mean-field character resides in the assumed factorization for the non-linear predation reaction with rate λ\lambda of a two-point correlation function into a mere density product, which assumes statistical independence and the absence of correlations. The growth-limiting factor is used to model limited finite resources, and vanishes if a(t)+b(t)=Ka(t)+b(t)=K. In that case, the prey density’s temporal derivative becomes negative, indicating a strictly decreasing prey population. We remark that adding an explicit growth limiting term for the predator density is not required since the predators’ growth is determined by the prey density. Hence, if the prey species has a growth limiting factor, this will indirectly constrain the predator population abundance as well.

The stationary states of this system are given by constant solutions to (3). This results in three fixed points (a,b)={(0,0),(0,K),(a0,b0)}(a^{*},b^{*})=\{(0,0),(0,K),(a_{0},b_{0})\}, where

a0=σKλK+σ(1μλK),b0=μλ.a_{0}=\frac{\sigma K}{\lambda K+\sigma}\left(1-\frac{\mu}{\lambda K}\right),\quad b_{0}=\frac{\mu}{\lambda}\ . (4)

The solution (0,0)(0,0) represents total population extinction. At the fixed point (0,K)(0,K), the predator species goes extinct while the prey species fills the entire system to full capacity KK. Finally, the solution (a0,b0)(a_{0},b_{0}) with non-zero densities for both species represents predator-prey coexistence. Note that a0>0a_{0}>0 requires μ/λ<K\mu/\lambda<K.

Next we consider the (linear) stability of these solutions, which is achieved by linearizing (3) around the three distinct stationary states. Shifting the densities by their stationary solutions a(t)=a+δa(t)a(t)=a^{*}+\delta a(t), b(t)=b+δb(t)b(t)=b^{*}+\delta b(t), inserting this transformation into the original rate equations, and keeping only terms linear in the small deviations (δa(t),δb(t))(\delta a(t),\delta b(t)), we obtain the matrix equation 𝐱˙=𝐉𝐱\mathbf{\dot{x}=Jx}, where 𝐱=(δa(t)δb(t))T\mathbf{x}=\bigl{(}\delta a(t)\ \delta b(t)\bigr{)}^{T}, the dot represents the time derivative, and the Jacobian matrix 𝐉\mathbf{J} is explicitly given by

𝐉=(λbμλa(σK+λ)bλa+σK(Ka2b)).\displaystyle\mathbf{J}=\begin{pmatrix}\lambda b^{*}-\mu&\lambda a^{*}\\ -\left(\frac{\sigma}{K}+\lambda\right)b^{*}\ &-\lambda a^{*}+\frac{\sigma}{K}\left(K-a^{*}-2b^{*}\right)\end{pmatrix}. (5)

The dynamical behavior of the system in the vicinity of a fixed point follows from the eigenvalues ϵ±\epsilon_{\pm} of the Jacobian matrix at each stationary point. First let us consider the extinction fixed point (0,0)(0,0) with associated eigenvalues (ϵ,ϵ+)=(μ,σ)(\epsilon_{-},\epsilon_{+})=(-\mu,\sigma). Both eigenvalues are real, indicating exponential behavior near the fixed point. Yet the extinction stationary point is linearly unstable in mean-field theory against prey growth, since ϵ+=σ\epsilon_{+}=\sigma is positive. While this result is intuitive considering the fact that any small deviation in the prey density leads to exponential growth of the prey, we recall that in the original stochastic model, in any finite system total extinction represents the only asymptotically stable stationary absorbing state. Next, the eigenvalues for the predator extinction fixed point (0,K)(0,K) are (ϵ,ϵ+)=(λKμ,σ)(\epsilon_{-},\epsilon_{+})=(\lambda K-\mu,-\sigma), which are also both real. This stationary state is only stable with respect to small perturbations if λ<λc=μ/K\lambda<\lambda_{c}=\mu/K. Finally, the two-species coexistence stationary point (a0,b0)(a_{0},b_{0}) has associated eigenvalues

ϵ=σμ2λK[1±14λKσ(λKμ1)].\epsilon_{\mp}=-\frac{\sigma\mu}{2\lambda K}\left[1\pm\sqrt{1-\frac{4\lambda K}{\sigma}\left(\frac{\lambda K}{\mu}-1\right)}\,\right]. (6)

For λs=(μ/2K)(1+1+σ/μ)>λ>λc\lambda_{s}=(\mu/2K)\left(1+\sqrt{1+\sigma/\mu}\right)>\lambda>\lambda_{c}, both eigenvalues are real and negative, and hence the stationary point is stable and small perturbations exponentially relax back towards it. If λ>λs\lambda>\lambda_{s}, the eigenvalues acquire complex conjugate imaginary components with a negative real part, indicating that the stationary point is still stable, but the system exhibits decaying oscillations in its vicinity. Yet for λ<λc\lambda<\lambda_{c} the eigenvalues are both real with ϵ<0\epsilon_{-}<0 and ϵ+>0\epsilon_{+}>0 assuming opposite signs. Consequently, the stationary solution (a0,b0)(a_{0},b_{0}) turns into an unstable saddle point.

This analysis demonstrates that the mean-field rate equations (3) predict a continuous active-to-absorbing state transition at λ=λc\lambda=\lambda_{c}. The absorbing state is the predator extinction phase (0,K)(0,K) which is stable only for λ<λc\lambda<\lambda_{c}. The active phase is the species coexistence phase (a0,b0)(a_{0},b_{0}) which only exists and is then stable for λ>λc\lambda>\lambda_{c}. This fixed point is a stable node for λ<λs\lambda<\lambda_{s} and becomes an attractive focus for λ>λs\lambda>\lambda_{s}. The active-to-absorbing phase transition describing predator extinction is also observed in spatially extended stochastic systems. Away from criticality the system’s behavior only changes quantitatively relative to the mean-field analysis. Near the phase transition the critical exponents governing the model’s dynamical scaling laws acquire substantial corrections due to fluctuations in dimensions ddc=4d\leq d_{c}=4. For a more thorough review of the stochastic Lotka–Volterra predator-prey model in a static environment, we refer to Refs. [50, 51, 52].

II.2 Periodically switching carrying capacity: numerical integration of the coupled rate equations

Refer to caption
Figure 1: Sketch illustrating the time dependence of the periodically switching carrying capacity K(t)K(t): TkT_{k} is the full period of the signal; KK_{-} and K+K_{+} are its the low and high values.
Refer to caption
(a) Tk=60T_{k}=60
Refer to caption
(b) Tk=80T_{k}=80
Refer to caption
(c) Tk=200T_{k}=200
Figure 2: Predator (full red) and prey (dashed blue) density time traces obtained by numerical integration of the coupled mean-field rate equations with periodically switching carrying capacity K(t)K(t) (the shaded gray areas indicate the excluded densities). The parameters used here are σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, and K=1K_{-}=1, K+=10K_{+}=10.
Refer to caption
(a) Tk=60T_{k}=60
Refer to caption
(b) Tk=80T_{k}=80
Refer to caption
(c) Tk=200T_{k}=200
Figure 3: Fourier transforms of the predator (red squares) / prey (blue crosses) density time evolution from Fig. 2, with parameters σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10.

In this section, we describe results obtained from numerically integrating the coupled rate equations (3) subject to a periodically switching carrying capacity. As depicted in Fig. 1, the carrying capacity K(t)K(t) is taken to be a rectangular time signal ranging between the low and high values KK_{-} and K+K_{+}, and with full switching period TkT_{k} (i.e., from KK_{\mp} back to KK_{\mp}). This functional variation of the carrying capacity does of course not constitute a realistic model for species interacting in nature since food resources do not change in a discontinuous manner. However, it can be argued that seasonal changes lead to a sudden carrying capacity drop / increase between winter and summer, as resource availability may seasonally vary. The following results will later be utilized to highlight the differences between the mean-field approximation and the stochastic lattice model. We remark that a full quantitative comparison between the two models is uninformative due to the fact that in the lattice model one prescribes microscopic reaction probabilities, whereas in the mean-field system one controls the effective macroscopic reaction rates. A thorough quantitative analysis would require fitting the stochastic lattice data to the mean-field results in order to extract the effective (and usually scale-dependent) macroscopic rates. Here, we are not interested in the detailed quantitative differences between the lattice and mean-field models. Rather we shall focus on the qualitative distinctions between the two models, and will specifically highlight features predicted by the mean-field equations that are not present in the stochastic lattice system.

The mean-field equations were numerically integrated by employing a fourth-order Runge–Kutta scheme with (dimensionless) time increment Δt=0.01\Delta t=0.01, i.e., t0=100Δtt_{0}=100\,\Delta t sets the basic unit time scale relative to which all times and inverse rates will henceforth be measured in this section. We set the initial conditions to ρa(0)=ρb(0)=0.5\rho_{a}(0)=\rho_{b}(0)=0.5 and K(0)=KK(0)=K_{-}, and have confirmed that our results do not depend on these chosen initial values. Figure 2 displays the resulting predator and prey densities ρ(t)\rho(t) as functions of time. For both switching periods Tk=60T_{k}=60 and Tk=80T_{k}=80, we clearly observe period-doubling effects in the time traces. This is further confirmed by the Fourier transforms of these temporal evolutions shown in Fig. 3. For Tk=60T_{k}=60, the highest Fourier peak occurs at a period t=120t=120 indicating period-doubling. However, an additional smaller peak emerges at t=240t=240, reflecting that the density repeats after four switching periods of the carrying capacity, suggesting even the presence of a period-quadrupling effect. Similar period-doubling is visible for Tk=80T_{k}=80, but no period-quadrupling is discernible. Further increase in the carrying capacity period evidently eliminates period-doubling phenomena as shown in Fig. 3c. We detect the highest peak in the density Fourier transforms for Tk=200T_{k}=200 at t=Tk/3t=T_{k}/3, a harmonic of the driving period. This feature is in fact also observed in the lattice model, in contrast to the period-doubling at smaller periods TkT_{k}, for which we shall find that the internal reaction noise in the stochastic model washes away these intriguing non-linear effects.

II.3 Quantitative analysis: slow-switching regime

The stationary mean-field population densities in the coexistence phase are given in Eq. (4). For an environment where KK periodically switches between two constant values KK_{-} and K+K_{+}, the long-time behavior of the system depends on these stationary densities. If the period of the oscillating environment is sufficiently long such that the system reaches the stationary state for either KK value, then the densities can effectively be described as oscillating between two constant values with the same period TkT_{k} as the carrying capacity. In that case, the averages of the predator and prey densities over one period can simply be approximated by the arithmetic means (a~,b~)(\tilde{a},\tilde{b}) of the two stationary values (a,b)(a_{-},b_{-}) and (a+,b+)(a_{+},b_{+}) pertaining to K=KK=K_{-} and K=K+K=K_{+}, respectively. Thus we obtain

a~\displaystyle\tilde{a} =\displaystyle= a+a+2=σ2λ(λKμλK+σ+λK+μλK++σ)\displaystyle\frac{a_{-}+a_{+}}{2}=\frac{\sigma}{2\lambda}\left(\frac{\lambda K_{-}-\mu}{\lambda K_{-}+\sigma}+\frac{\lambda K_{+}-\mu}{\lambda K_{+}+\sigma}\right) (7a)
=\displaystyle= σλ2λ2KK++λ(σμ)(K+K+)2μσ2(λK+σ)(λK++σ),\displaystyle\frac{\sigma}{\lambda}\ \frac{2\lambda^{2}K_{-}K_{+}+\lambda(\sigma-\mu)(K_{-}+K_{+})-2\mu\sigma}{2(\lambda K_{-}+\sigma)(\lambda K_{+}+\sigma)}\,,\
b~\displaystyle\tilde{b} =\displaystyle= b+b+2=μλ.\displaystyle\frac{b_{-}+b_{+}}{2}=\frac{\mu}{\lambda}\ . (7b)

We rewrite the mean predator density in terms of an equivalent time-averaged effective carrying capacity KK^{*} defined through

a~=σλλKμλK+σ.\tilde{a}=\frac{\sigma}{\lambda}\ \frac{\lambda K^{*}-\mu}{\lambda K^{*}+\sigma}\ . (8)

Comparison with the explicit result (7a) yields

K=2KK++(K+K+)σ/λK+K++2σ/λ,K^{*}=\frac{2K_{-}K_{+}+(K_{-}+K_{+})\,\sigma/\lambda}{K_{-}+K_{+}+2\sigma/\lambda}\ , (9)

which reduces to the rate-independent harmonic average K¯=2KK+/(K+K+){\bar{K}}=2K_{-}K_{+}/(K_{-}+K_{+}) for large K,K+1K_{-},K_{+}\gg 1. Hence, in the slow-switching regime, the system can be described as oscillating around the average population densities corresponding to the constant rate-dependent effective carrying capacity KK^{*}.

Refer to caption
(a) predator density
Refer to caption
(b) prey density
Figure 4: Long-time predator and prey densities ρ\rho_{\infty} averaged over 1010 periods of the switching carrying capacity, vs. TkT_{k} in units of τ\tau, where τ\tau represents the characteristic intrinsic oscillation period for a Lotka–Volterra model with fixed carrying capacity K¯\bar{K}. The parameters used for the oscillating environment are σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, and K=2K_{-}=2, K+=6K_{+}=6, which yields the harmonic average K¯=3\bar{K}=3 (red) and K=3.2K^{*}=3.2 (dashed orange). The corresponding stationary densities follow from Eq. (4).

Through numerical integration of the mean-field rate equations, we tested the harmonic average hypothesis for different switching periods, and confirmed Eq. (9) in the slow-switching regime. We note that this comparison is facilitated for the mean-field model compared to the stochastic lattice system because we have exact formulas available for the stationary density values, and KK is not required to be an integer. Figure 4 shows the comparison of the numerically obtained population densities with periodically varying K(t)K(t) with the corresponding stationary values obtained with a simple harmonic average of the carrying capacities and the rate-dependent effective carrying capacity (9). Interestingly, computing the stationary prey density from the straightforward harmonic carrying capacity average K¯{\bar{K}} yields accurate results for a large range of switchting periods, as is apparent in Fig. 4b. This is due to the fact that for a static carrying capacity, the prey density oscillates about its stationary value, and the fluctuations about it almost precisely average out, as verified in Fig. 5. Since within the mean-field framework, bb^{*} and hence b~\tilde{b} do not depend on KK, any equivalent carrying capacity would work for the prey population. The predator density also follows the harmonically averaged carrying capacity for small periods, see below; and is indeed aptly captured by the rate-dependent equivalent carrying capacity (9) for large switching periods. For intermediate periods TkT_{k}, we observe a non-monotonic crossover regime with a large resonance-like spike, see Fig. 4a. We verified that these findings do not depend on the initial conditions of the system.

Refer to caption
Figure 5: Numerical integration for the prey density b(t)b(t) for a static environment (full black) for σ=μ=λ=0.1\sigma=\mu=\lambda=0.1 and K=10K=10, compared with the stationary value b0=1b_{0}=1 (dashed red). The average of the oscillating black curve over time is b¯=1.00246{\bar{b}}=1.00246.

II.4 Quantitative analysis: fast-switching regime

The coupled mean-field rate equations (3) suggest that in the fast-switching regime, both species’ densities oscillate about values that are equal to the stationary population densities for an equivalent carrying capacity K¯{\bar{K}} that is just the harmonic average of KK_{-} and K+K_{+}. This follows from the fact that the prey density rate equation (3a) depends explicitly on 1/K1/K. Based on these observations, we construct an ansatz for the long-time behavior of both species’ densities as follows.

We first shift time according to ttNTkt\to t-NT_{k}, where NN is a large integer such that at t=NTkt=NT_{k} the system has reached its quasi-stationary state. Hence this time axis shift defines t=0t=0 to be the start of an environmental cycle in the long-time regime. If the system is thus initialized at the onset of the low carrying capacity state, i.e., at t=0t=0 it just switched from K+K_{+} to KK_{-}, then at t=Tk/2t=T_{k}/2 it will flip back from KK_{-} to K+K_{+}, and that cycle repeats at t=Tkt=T_{k}. We now derive an approximate solution that describes the densities in one cycle t[0,Tk]t\in[0,T_{k}]. Henceforth we shall refer to the region t[0,Tk/2]t\in[0,T_{k}/2] as 𝒯\mathcal{T_{-}}, and the time interval t[Tk/2,Tk]t\in[T_{k}/2,T_{k}] as 𝒯+\mathcal{T_{+}}.

Since the prey density exhibits a discontinuity in its first time derivative at t=Tk/2t=T_{k}/2, it can be described by a piece-wise function. In the fast-switching regime, we may apply a short-time Taylor expansion for the population dynamics, and retain only the linear term. The absolute values of the prey density slope in the intervals 𝒯\mathcal{T_{-}} and 𝒯+\mathcal{T_{+}} must be the same, due to the fact that the prey density is periodic, b(Tk)=b(0)b(T_{k})=b(0), and continuous at the jumps in between these two regions. In 𝒯\mathcal{T_{-}} the system is in the low carrying capacity state, therefore the prey density is a decreasing function of time, and its slope should be negative. For t𝒯+t\in\mathcal{T_{+}}, the prey density has a positive slope, since now the system is in the high carrying capacity state. These considerations motivate the following simple ansatz for the prey density,

b(t)={b1αtt𝒯,b2+αtt𝒯+,\displaystyle b(t)=\begin{cases}b_{1}-\alpha t&\quad t\in\mathcal{T_{-}}\ ,\\ b_{2}+\alpha t&\quad t\in\mathcal{T_{+}}\ ,\end{cases} (10)

which is numerically verified in Fig. 6.

Refer to caption
Figure 6: Numerical integration of the mean-field equations (black) for the parameters σ=μ=0.1\sigma=\mu=0.1, λ=0.5\lambda=0.5, Tk=10T_{k}=10, and K=2K_{-}=2, K+=6K_{+}=6. The dashed red graph represents a linear fit applied to the numerical data, resulting in α=0.00125\alpha=0.00125.

The prey density is continuous at the boundary t=Tk/2t=T_{k}/2, whence b2=b1αTb_{2}=b_{1}-\alpha T. Moreover, in the fast-switching regime, the density variations of both species over one period of the carrying capacity should be assumed to be small relative to their average values. Consequently, 1/K(t)1/K(t) is the only significant term when averaging Eq. (3b). Its average leads to an equivalent carrying capacity that is equal to the harmonic average K¯{\bar{K}}. Therefore, the system reaches a quasi-stationary state, where both densities oscillate around their stationary values for an equivalent carrying capacity K¯{\bar{K}}. The temporal average of Eq. (10) needs to be b0b_{0}. Imposing this condition, we obtain

b(t)={b0α(tTk4)t𝒯,b0+α(t3Tk4)t𝒯+;\displaystyle b(t)=\begin{cases}b_{0}-\alpha\left(t-\frac{T_{k}}{4}\right)&\quad t\in\mathcal{T_{-}}\ ,\\ b_{0}+\alpha\left(t-\frac{3T_{k}}{4}\right)&\quad t\in\mathcal{T_{+}}\ ;\end{cases} (11)

the slope constant α\alpha shall be determined later.

The rate equation for the predator density (3a) may now be cast into a more suggestive form,

a˙(t)=λa(t)[b(t)b0],\dot{a}(t)=\lambda\,a(t)\left[b(t)-b_{0}\right], (12)

which indicates that the extrema of a(t)a(t) occur at times when b(t)=b0b(t)=b_{0}. Using the ansatz (11), this happens at t=Tk/4t=T_{k}/4 and t=3Tk/4t=3T_{k}/4. Equation (12) can then be integrated to solve for the predator density,

a(t)\displaystyle a(t) \displaystyle\sim Aeλ(tb(t)𝑑tb0t)\displaystyle A\,e^{\lambda\left(\int^{t}b(t^{\prime})\,dt^{\prime}-b_{0}t\right)}
=\displaystyle= {Aeλα2(t2Tk2t)t𝒯,Aeλα2(t23Tk2t)t𝒯+,\displaystyle\begin{cases}A\,e^{-\frac{\lambda\alpha}{2}\left(t^{2}-\frac{T_{k}}{2}t\right)}&\quad t\in\mathcal{T_{-}}\ ,\\ A^{\prime}\,e^{\frac{\lambda\alpha}{2}\left(t^{2}-\frac{3T_{k}}{2}t\right)}&\quad t\in\mathcal{T_{+}}\ ,\end{cases}

where AA and AA^{\prime} are integration constants. Since the predator density is required to be continuous at t=Tk/2t=T_{k}/2, one arrives at the relation A=AeλαTk2/4A^{\prime}=A\,e^{\lambda\alpha T_{k}^{2}/4}, which yields the approximate predator density solution

a(t)={Aeλα2(t2Tk2t)t𝒯,Aeλα2(t23Tk2t+Tk22)t𝒯+.\displaystyle a(t)=\begin{cases}A\,e^{-\frac{\lambda\alpha}{2}\left(t^{2}-\frac{T_{k}}{2}t\right)}&\quad t\in\mathcal{T_{-}}\ ,\\ A\,e^{\frac{\lambda\alpha}{2}\bigl{(}t^{2}-\frac{3T_{k}}{2}t+\frac{T_{k}^{2}}{2}\bigr{)}}&\quad t\in\mathcal{T_{+}}\ .\end{cases} (13)

The average of the predator density over one cycle of environmental switching then becomes

1Tk0Tka(t)𝑑t=22πAeTk2αλ/32erf(Tkαλ42)Tkαλ.\displaystyle\frac{1}{T_{k}}\int_{0}^{T_{k}}\!\!a(t)\,dt=2\sqrt{2\pi}A\,e^{T_{k}^{2}\alpha\lambda/32}\ \frac{\operatorname{erf}\!\left(\frac{T_{k}\sqrt{\alpha\lambda}}{4\sqrt{2}}\right)}{T_{k}\sqrt{\alpha\lambda}}\ .\ (14)

Under the assumption of fast environmental switching, TkT_{k} should be the smallest time scale in the system, and the explicit form of Eq. (14) suggests that the fast-switching regime is quantitatively delineated by Tkαλ1T_{k}\sqrt{\alpha\lambda}\ll 1. The still undetermined parameter is the (initial) slope of the prey density α=|b˙|0\alpha=|\dot{b}|_{0}. To zeroth order in α\alpha, either immediately from Eq. (13) or by expanding Eq. (14) in TkαλT_{k}\sqrt{\alpha\lambda}, gives the simple result

1Tk0Tka(t)𝑑t=A+O(Tkαλ).\displaystyle\frac{1}{T_{k}}\int_{0}^{T_{k}}a(t)\,dt=A+O(T_{k}\sqrt{\alpha\lambda})\ . (15)

Since this average must equal the stationary value of predator density for a harmonically averaged carrying capacity, we may fix the integration constant

AσλλK¯μλK¯+σ=σλ2λK+Kμ(K++K)2λK+K+σ(K++K),\displaystyle A\approx\frac{\sigma}{\lambda}\,\frac{\lambda{\bar{K}}-\mu}{\lambda{\bar{K}}+\sigma}=\frac{\sigma}{\lambda}\,\frac{2\lambda K_{+}K_{-}-\mu\left(K_{+}+K_{-}\right)}{2\lambda K_{+}K_{-}+\sigma\left(K_{+}+K_{-}\right)}\,,\ (16)

to leading order in an expansion in powers of TkαλT_{k}\sqrt{\alpha\lambda}.

The left-hand side of Eq. (3b) equals the constant slope of the prey density under the fast-switching approximation. Since t<Tkt<T_{k}, we also have tαλ1t\sqrt{\alpha\lambda}\ll 1, and with a(t)=A+O(Tkαλ)a(t)=A+O(T_{k}\sqrt{\alpha\lambda}) one has b(t)=b0+O(Tkα)b(t)=b_{0}+O(T_{k}\alpha). Upon inserting these asymptotic values into (3b) for t𝒯t\in\mathcal{T_{-}}, we arrive at

ασb0(1A+b0K)λAb0,-\alpha\approx\sigma b_{0}\left(1-\frac{A+b_{0}}{K_{-}}\right)-\lambda Ab_{0}\ , (17)

and thus inserting Eq. (16) we obtain

αμσλ(μ+σ)(K+K)2λK+K+σ(K++K).\displaystyle\alpha\approx\frac{\mu\sigma}{\lambda}\,\frac{(\mu+\sigma)(K_{+}-K_{-})}{2\lambda K_{+}K_{-}+\sigma(K_{+}+K_{-})}\ . (18)

These approximations fully characterize the long-time quasi-stationary state in the fast-switching regime.

Refer to caption
Figure 7: Relative root mean-square error of the approximate solution as function of TkλαT_{k}\sqrt{\lambda\alpha} for the predator (full red) and prey (dashed blue) populations.

In order to test this approximate solution, we computed the root mean-square error between our ansatz and the result of numerically integrating the mean-field equations. This error was then divided by the actual density average as obtained from numerical integration to obtain a dimensionless error measure σ¯\bar{\sigma}. In Fig. 7, this relative error σ¯\bar{\sigma} is plotted against the dimensionless carrying capacity period TkλαT_{k}\sqrt{\lambda\alpha}. As expected, our approximation yields small relative errors for Tkλα1T_{k}\sqrt{\lambda\alpha}\ll 1. Interestingly, the asymptotic expansion seems to work even up to values Tkλα=2T_{k}\sqrt{\lambda\alpha}=2 with relative errors less than 10%10\%.

III Stochastic lattice model

III.1 Stochastic Monte Carlo simulation algorithm

In this section, we employ a lattice model to numerically simulate the stochastic Lotka–Volterra predator-prey system (1), which allows us to investigate spatial structures and reaction-induced spatio-temporal correlations. Utilizing a stochastic lattice model allows us to investigate resonance effects on correlations, and their relation to the intrinsic spatio-temporal patterns of our system. Direct comparison with the mean-field rate equation approximation delineates the latter’s validity range, thus providing information when stochastic fluctuations and correlation effects may be ignored without losing pertinent qualitative features. The stochasticity of the system is implemented through an individual-based Monte Carlo algorithm. We implement the model on a two-dimensional square lattice with periodic boundary conditions (i.e., a toroidal simulation domain), where each lattice site holds information about the number of individuals of each species at that location. The initial configuration of the system is set up as a disordered state where each individual is placed at a randomly selected lattice site. We employ the following notation: na(x,y;t)n_{a}(x,y;t): number of predator individuals at site (x,y)(x,y) and at time tt; nb(x,y;t)n_{b}(x,y;t): number of prey individuals at site (x,y)(x,y) and at time tt; Na(t)N_{a}(t): total number of predator individuals across the entire lattice at time tt; Nb(t)N_{b}(t): total number of prey individuals across the entire lattice at time tt; n¯i(t)\bar{n}_{i}(t): Ni(t)/L2N_{i}(t)/L^{2}, where LL is the linear lattice size, denotes the average species i(a,b)i\in(a,b) density. Time is simulated via Monte Carlo steps (MCS), such that at each Monte Carlo time step

  1. 1.

    a random location on the lattice (x,y)(x,y) is picked;

  2. 2.

    a random neighboring site is selected from the von-Neumann neighborhood (four nearest neighbors) (xnew,ynew)(x_{\rm new},y_{\rm new});

  3. 3.

    if (x,y)(x,y) contains a predator individual, we attempt nb(xnew,ynew;t)n_{b}(x_{\rm new},y_{\rm new};t) predation reactions as follows:

    • generate a uniformly distributed random number rr;

    • if r<λr<\lambda, decrease the number of prey at (xnew,ynew)(x_{\rm new},y_{\rm new}) by 11 and increase the number of predators at (xnew,ynew)(x_{\rm new},y_{\rm new}) by 11;

  4. 4.

    next attempt a death reaction for the predator as described below:

    • generate a uniformly distributed random number rr.

    • if r<μr<\mu, decrease the number of predators at (x,y)(x,y) by 11;

  5. 5.

    if (x,y)(x,y) contains a prey individual, attempt a reproduction reaction as follows:

    • generate a uniformly distributed random number rr;

    • if r<σr<\sigma and na(xnew,ynew;t)+nb(xnew,ynew;t)<Kn_{a}(x_{\rm new},y_{\rm new};t)\\ +n_{b}(x_{\rm new},y_{\rm new};t)<K, increase the number of prey at site (xnew,ynew)(x_{\rm new},y_{\rm new}) by 11;

  6. 6.

    if (x,y)(x,y) is empty (na(x,y;t)+nb(x,y;t)=0n_{a}(x,y;t)+n_{b}(x,y;t)=0), return to step 1;

  7. 7.

    the above steps are repeated Na(t)+Nb(t)N_{a}(t)+N_{b}(t) times.

Refer to caption
(a) t=0t=0
Refer to caption
(b) t=46t=46
Refer to caption
(c) t=70t=70
Refer to caption
(d) t=88t=88
Figure 8: Snapshots of a single run for a system with parameters L=256L=256, σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=100T_{k}=100; time tt is measured in units of Monte Carlo steps. The red and blue colored pixels indicate the presence of predators and prey, respectively, with the brightness representing the local density, the pink colored pixels pertain to sites with both predator and prey present, and the black pixels represent empty sites. The system is initialized with K(t=0)=K=1K(t=0)=K_{-}=1. The full movie can be viewed at the link provided in Ref. [76].

This implementation ensures that at each Monte Carlo time step, on average, all individuals in the lattice attempt a reaction. We utilize random updates (i.e., picking new lattice sites at random) rather than systematic sequential updates (going over each lattice site in a specific sequence) in order to avoid introducing any bias in how reactions occur in the system.

A choice now has to be made in how to precisely manage the population after switching from the high to the low carrying capacity, because there will likely be an excess number of individuals at some lattice sites. We have considered two implementations to deal with this issue: In the first variant, we randomly removed any excess individuals to immediately reach the allowed low carrying capacity value KK_{-}. While this implementation leads to interesting period-doubling behavior, we deemed it to be unrealistic. In the second implementation, we left the excess particles on site, but restricted further prey reproduction at lattice locations with more individuals than permitted. Therefore, we allow the system to intrinsically relax to a configuration without excess individuals, since eventually any superfluous predators would be forced to perish, and any excess prey would be devoured by predators. This intrinsic relaxation introduces a time scale set by the internal response time of the system, which is in turn determined by the reaction rates.

The stochastic lattice system was simulated over multiple runs, thus averaging both over ensembles of different initial conditions and distinct temporal histories; \langle\ldots\rangle denotes the resulting (double) ensemble averages. We measured the average spatial species densities ρi(t)=n¯i(t)\rho_{i}(t)=\langle\bar{n}_{i}(t)\rangle, and computed the (connected) auto-correlation functions at fixed positions, Cij(t,t0)=n¯i(t)n¯j(t0)n¯i(t)n¯j(t0)C_{ij}(t,t_{0})=\langle\bar{n}_{i}(t)\bar{n}_{j}(t_{0})\rangle-\langle\bar{n}_{i}(t)\rangle\langle\bar{n}_{j}(t_{0})\rangle. The static correlations as functions of spatial distance |xx0||x-x_{0}| were extracted using the definition Cij(x,x0;y0,t0)=ni(x,y0,t0)nj(x0,y0,t0)ni(x,y0,t0)nj(x0,y0,t0)C_{ij}(x,x_{0};y_{0},t_{0})=\langle n_{i}(x,y_{0},t_{0})n_{j}(x_{0},y_{0},t_{0})\rangle-\langle n_{i}(x,y_{0},t_{0})\rangle\langle n_{j}(x_{0},y_{0},t_{0})\rangle. In the long-time regime, the system should be isotropic at length scales large compared with the lattice constant, so that static correlations along the xx or yy directions will become identical. We also assume that the system is homogeneous at those scales, and hence that the auto-correlations should be independent of the reference positions (x0,y0)(x_{0},y_{0}). Consequently we determine the auto-correlations using the densities averaged over lattice sites, which improves our statistics. Both these assumption were confirmed via explicit simulations. Furthermore, we evaluated the static correlations at a specific, sufficiently late fixed time step t0t_{0}, but again checked that all correlations are invariant under discrete time translation t0t0+Tkt_{0}\to t_{0}+T_{k} with the environmental switching period TkT_{k}.

The various parameters of the system are the three reaction rates (σ,μ,λ)(\sigma,\mu,\lambda), the low and high carrying capacity values (K,K+)(K_{-},K_{+}), and the period of the oscillating environment TkT_{k}. However, we can eliminate one of these parameters by rescaling the units of time. In our Monte Carlo simulations, which are not intended to match any specific experimental or observational data, we chose to always fix σ=μ\sigma=\mu, because these parameters represent the rates for the linear prey reproduction and predator death reactions, and we are predominantly interested in the behavior of the system as the non-linear coupling λ\lambda is varied. Thus our varying control parameters consist of the set (λ,K,K+,Tk)(\lambda,K_{-},K_{+},T_{k}). For fixed σ\sigma and μ\mu, the critical predation rate λc\lambda_{c} only depends on the carrying capacity. Therefore, for the remainder of this paper we shall implicitly assume a fixed value for σ=μ\sigma=\mu and indicate the critical threshold as λc(K)\lambda_{c}(K).

III.2 Population densities

Snapshots of a single simulation run of a representative system at different times are depicted in Fig. 8. According to our setup, the system is initially in a random configuration, so the predators consume the prey available in their neighborhood. At t=46t=46, the predators have devoured most of their prey, and their number decays over time: The system is in the predator extinction phase for K=1K=1. Therefore, without the external periodic environmental variation, the predators would eventually go extinct. However, we see that at t=70t=70, after the carrying capacity has jumped at t=Tk/2=50t=T_{k}/2=50 from K=1K=1 to K=10K=10, the prey are permitted to reproduce more abundantly. The prey population increase induces spreading waves of predators, in turn causing an enhancement of the predator density, until by t=88t=88 the latter almost fill the entire lattice. When the carrying capacity drops back to K=1K=1 at Tk=100T_{k}=100, the predator density starts decaying again over time towards the point of extinction until the carrying capacity is once more reset and the whole process (stochastically) repeats.

Refer to caption
(a) λ=0.1\lambda=0.1
Refer to caption
(b) λ=0.275\lambda=0.275
Figure 9: Predator (full red) and prey (dashed blue) population densities averaged over 5050 realizations for a system with L=256L=256, σ=μ=0.1\sigma=\mu=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=100T_{k}=100; the shaded gray areas are excluded by the switching carrying capacity K(t)K(t). The critical predation rate values associated with fixed carrying capacities KK_{-}, K+K_{+} are λc(K=1)=0.26(5)\lambda_{c}(K=1)=0.26(5) and λc(K=10)=0.01(0)\lambda_{c}(K=10)=0.01(0).
Refer to caption
Figure 10: Population density Fourier transforms as functions of the period 2π/ω2\pi/\omega (predators: red squares; prey: blue crosses). The first 20002000 Monte Carlo time steps were discarded before computing the Fourier transform in order to eliminate the initial behavior. The parameters used here are L=256L=256, σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=100T_{k}=100.

Figure 9 shows the long-time behavior of the density for two different values of the predation rate λ\lambda. For λ=0.1\lambda=0.1 (a), the system oscillates between the predator extinction phase, approached when K=1K=1, and the two-species coexistence phase, when K=10K=10. In contrast, for λ=0.275\lambda=0.275 (b) the system resides in the species coexistence phase at both KK values. Both population time traces show stable oscillations with the switching period TkT_{k}, as expected for a dynamical system driven by a periodic external force. This is further confirmed by the Fourier transform plots displayed in Fig. 10. The prey density becomes non-smooth at points where the carrying capacity switches from K+K_{+} to KK_{-} or vice versa, while the predator density remains smooth at those points. This is indicative of the fact that only the prey density explicitly depends on the carrying capacity, while the predator density depends on KK through its coupling to the prey species. In Fig. 8a, we see that even though the system is in the predator extinction phase when K=1K=1, the AA species are still able to maintain a non-zero population density through the periodic environmental variation. Indeed, we observe that the key difference between the runs for λ=0.1\lambda=0.1 and λ=0.275\lambda=0.275 resides in the amplitude of the oscillations, which drops significantly when the predation rate increases. This is a general feature of the static Lotka–Volterra model. However, the amplitude of the oscillation in Fig. 8a is even higher than would be attained in a static system with fixed K=10K=10: Driving the system away from reaching the absorbing state causes the densities to overshoot their stationary state values for K=10K=10. While a static system would go extinct for low values of the predation rate, the periodic temporal variation of the carrying capacity allows both species to coexist in this situation.

Refer to caption
(a) predators
Refer to caption
(b) prey
Figure 11: Maximum population densities achieved in the late time interval t[2000,5000]t\in[2000,5000], plotted against the dimensionless rate ratio λ/σ\lambda/\sigma, where L=256L=256, σ=μ=0.1\sigma=\mu=0.1, K+=10K_{+}=10, K=1K_{-}=1, and Tk=100T_{k}=100 for the oscillating environment (black crosses), and for the same parameters with fixed K=10K=10 for the static case (red squares).

In fact, the population oscillations become most prominent if the carrying capacity effectively switches the system between the predators’ absorbing and active phases. To demonstrate that this is a generic feature of our model, we plot the maximum density values reached in the simulations in the long-time limit in Fig. 11. For λ>6σ\lambda>6\sigma, we observe predator extinction; as was noted in Ref. [13], the system may, depending on the initial conditions, evolve into one of the two absorbing states for large predation rates. We interpret this extinction transition to be caused by stochastic fluctuations in our finite simulation system: As the predation rate becomes large, stochastic fluctuations are increasingly likely to drive the simulation towards the absorbing predator extinction state. For smaller predation rates, the asymptotic predator density decreases with growing λ\lambda. In the two-species coexistence region, the simulation results for the systems with periodically varying environment exhibit markedly larger oscillation amplitudes for both predatator and prey populations. This enhancement of the maximum population density in a periodically varying environment relative to the static case is responsible for sustaining species coexistence in an extended region of parameter space. Moreover, the extinction transition at high predation rate is moved to larger values of λ/σ\lambda/\sigma for the simulation runs with periodically varying carrying capacities compared to systems with fixed environment.

The predator-prey density phase space plots are constructed in Fig. 12 by simulating the system for multiple predation rate values. We see that for each λ\lambda the system fluctuates around a closed orbit. Upon increasing the predation rate λ\lambda, the radius of this closed orbit becomes smaller, while the influence of stochastic fluctuations become more apparent. For λ=0.8\lambda=0.8, the orbit approaches ρA=0\rho_{A}=0 which means that the predator population is close to extinction. Raising the predation rate further to λ=0.9\lambda=0.9, the system reaches the (finite system size) absorbing state with vanishing predator density, see Fig. 11.

Refer to caption
Figure 12: Predator-prey density phase space plots for various values of the predation rate λ\lambda (as indicated), with L=256L=256, σ=μ=0.1\sigma=\mu=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=100T_{k}=100. The initial behavior of the system was discarded for all λ\lambda values, except for λ=0.9\lambda=0.9, for which the predator population becomes extinct.

III.3 Fast and slow switching regimes

We next carefully investigate how the system behaves in the two opposite limits of fast and slow environmental switching, relative to the intrinsic period of the Lotka–Volterra population oscillations. Figures 13(a) and (b) show the both populations’ densities for Tk=10T_{k}=10 (fast switching) and Tk=460T_{k}=460 (slow switching). The time-averaged behavior of the density in the fast-switching regime resembles a system with a constant effective equivalent carrying capacity KK^{*} that should be related to KK_{-} and K+K_{+}. In the slow-switching regime the system is given sufficient time to approach a (quasi-)stationary state when K+=10K_{+}=10. The prey density then reaches very high values, and the system is slowly driven to predator extinction; however, it would take many cycles of the changing environment for this absorbing state to be attained. As the switching period TkT_{k} is increased, the predator population may only survive for a few cycles; eventually, when TkT_{k} is set too large, it will go extinct before the prey food resources become abundant again.

Refer to caption
(a) Tk=10T_{k}=10
Refer to caption
(b) Tk=460T_{k}=460
Figure 13: Predator (solid red) and prey (dashed blue) population densities averaged over 5050 realizations, for L=256L=256, σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and switching periods (a) Tk=10T_{k}=10, (b) Tk=460T_{k}=460, with the gray areas here indicating the population densities excluded by K(t)K(t).

We now explore the equivalent static environment hypothesis in the fast-switching regime in more detail. The mean-field rate equations suggest that for very short periods this equivalent carrying capacity equals the harmonic average K¯{\bar{K}} of K+K_{+} and KK_{-}, since Eqs. (3) only explicitly depend on 1/K1/K. For longer periods, the mean-field model predicts that the dynamics becomes effectively equivalent to a quasi-static system with a rate-dependent equivalent carrying capacity KK^{*}, Eq. (9). One should expect the slow-switching equivalent carrying capacity in the stochastic lattice model to display a similar dependence on the microscopic reaction probabilities. As mentioned earlier, their precise relationship with macroscopic reaction rates such as σ\sigma and λ\lambda is however subtle and difficult to capture quantitatively, which poses a problem for stringently testing Eq. (9) for the stochastic lattice model. Yet for large KK_{-} and K+K_{+}, KK^{*} reduces approximately to the harmonic average K¯{\bar{K}}, independent of the reaction rates. Hence we focus on testing the equivalent static environment hypothesis mainly with this effective carrying capacity.

Refer to caption
(a) predator density
Refer to caption
(b) prey density
Figure 14: Long-time population densities ρ\rho_{\infty} averaged over six periods of the carrying capacity K(t)K(t) plotted versus Tk/τT_{k}/\tau, where τ\tau denotes the intrinsic period of the equivalent static system with K=K¯K=\bar{K}, where L=256L=256, σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, and K=2K_{-}=2, K+=6K_{+}=6 for the oscillating environment (black crosses), while K=K¯=3K={\bar{K}}=3 for the static environment with fixed carrying capacity (full red).

To this end, we first present Monte Carlo simulation data for our system with K=2K_{-}=2 and K+=6K_{+}=6, hence K¯=3{\bar{K}}=3, obtained for a series of different switching periods TkT_{k}, measured relative to the intrinsic population oscillation period τ\tau at fixed K¯\bar{K}. For comparison, we also display simulations with fixed carrying capacity K=3K=3, and display the resulting population densities in Fig. 14. We find that the predator density in the oscillating environment does not behave as if the environment were static with a harmonically averaged carrying capacity K¯{\bar{K}}, with a discrepancy in the predator density of at least 18.4%18.4\%. In contrast, the time-averaged prey density ρ\rho_{\infty} matches with the static equivalent K¯{\bar{K}} value for Tk2.2τT_{k}\approx 2.2\tau. Yet for faster switching rates, we observe worse agreement with a discrepancy of up to 5.45%5.45\%. For periods Tk>2.2τT_{k}>2.2\tau, ρ\rho_{\infty} increases monotonically with Tk/τT_{k}/\tau, deviating further from the average prey density for the static equivalent K¯{\bar{K}}. For larger Tk/τT_{k}/\tau, the discrepancy between the harmonically averaged and the oscillating environments becomes more enhanced, although deviations remain less than 10%10\%. Hence we conclude that our prey density data for an oscillating environment can be satisfactorily described by an equivalent constant environment for a wide range of oscillation periods. We note that both time-averaged population densities exhibit resonance-like extrema at TkτT_{k}\approx\tau, owing to the environment switching just after the predators and prey have reached their maximum and minimum population counts, respectively, following their intrinsic Lotka–Volterra oscillations. As the period of the environment increases, more of these population oscillations may occur before the carrying capacity is reset, and integrating over one cycle of the environmental switching effectively averages over multiple periods of the intrinsic oscillations.

Refer to caption
(a) predator density
Refer to caption
(b) prey density
Figure 15: Long-time population densities ρ\rho_{\infty} averaged over six periods of the carrying capacity K(t)K(t) plotted versus Tk/τT_{k}/\tau, where τ\tau denotes the intrinsic period of the equivalent static system with K=K¯K=\bar{K}, where L=256L=256, σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, and K=4K_{-}=4, K+=12K_{+}=12 for the oscillating environment (black crosses), while K=K¯=6K={\bar{K}}=6 for the static environment with fixed carrying capacity (full red).
Refer to caption
(a) t=23t=23
Refer to caption
(b) t=28t=28
Refer to caption
(c) t=50t=50
Refer to caption
(d) t=101t=101
Figure 16: Snapshots of a single run for a system with parameters L=256L=256, σ=μ=0.5\sigma=\mu=0.5, λ=0.1\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=10T_{k}=10; time tt is measured in units of Monte Carlo steps. The red and blue colored pixels indicate the presence of predators and prey, respectively, with the brightness representing the local density, the pink colored pixels pertain to sites with both predator and prey present, and the black pixels represent empty sites. The system is initialized with K(t=0)=K=1K(t=0)=K_{-}=1. The full movie can be viewed at [76]

In Fig. 15 we repeat this numerical investigation for K=4K_{-}=4, K+=12K_{+}=12, thus K¯=6{\bar{K}}=6. The time-averaged prey density ρ\rho_{\infty} for the oscillating environment agrees well with the corresponding value for the static equivalent environment for all switching periods. However, the predator density for low periods does not match the harmonic mean hypothesis. For periods Tk>τT_{k}>\tau, we see that the predator density with the oscillating environment approaches ρ\rho_{\infty} for the static equivalent environment. This suggests that the harmonically averaged carrying capacity works well to describe the mean predator population density for large KK_{-} and K+K_{+} values, and for large environment oscillation periods, such that the system reaches the stationary state before switching occurs. In conclusion, stochastic fluctuations may change the form of the general equivalent static carrying capacity (9), yet it can still be approximated by the harmonic average for large carrying capacities.

Our simulation results indicate that the functional dependence of the prey density on the carrying capacity can be well approximated as b1/Kb\sim 1/K for a large range of environmental switching periods. However, the predator density exhibits a more complicated dependence on the carrying capacity values and TkT_{k}; it can only be approximated by a1/Ka\sim 1/K for large KK_{-} and K+K_{+} and for TkτT_{k}\gg\tau. In the latter limit, the system reaches its quasi-stationary state before the environment switches, which for the used parameter values corresponds to a stable node with non-oscillatory kinetics; consequently, there is little variation with TkT_{k}. Generally we observe that the long-time behavior of both population densities depends on the carrying capacity period in a non-monotonic manner.

III.4 Correlation functions

The predator-prey pursuit and evasion waves characteristic of the stochastic spatial Lotka–Volterra model are more prominent in systems with high reaction rates. Therefore, we study the ensuing correlations for σ=μ=0.5\sigma=\mu=0.5, λ=0.1\lambda=0.1, and leave K=1K_{-}=1, K+=10K_{+}=10. For these parameters the system resides deep in the predator extinction absorbing phase when K=KK=K_{-}, and in the active two-species coexistence phase for K=K+K=K_{+}. The behavior of the system for environmental switching period Tk=10T_{k}=10 is exemplified by the simulation snapshots depicted in Fig. 16. The predators are initially almost driven to extinction, but due to the switching environment the prey population increases until it fills most of the lattice. We observe that at t=23t=23 there remain only a few surviving predators which become localized sources for spreading waves. At t=28t=28, the prey may proliferate in the interior of the fronts as well, causing the population waves to spread both outwards and inwards, until they eventually collide and interfere with each other as seen at t=50t=50. Starting from t=101t=101, the lattice exhibits a global density oscillation, and it becomes difficult to discern the original locations of the wavefront sources.

Refer to caption
(a) auto-correlations
Refer to caption
(b) static correlations
Figure 17: Long-time correlation functions computed for a system with the following parameters: L=512L=512, σ=μ=0.5\sigma=\mu=0.5, λ=0.1\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=10T_{k}=10. (a) Temporal auto-correlations computed for t0=1000t_{0}=1000, with tt measured starting from t0t_{0}. The inset shows the Fourier transform of the auto-correlation time series. This data was averaged over 10,00010,000 ensembles and for 512512 lattice sites, giving an equivalent of a total of 5,120,0005,120,000 independent ensembles. (b) Static correlation functions taken at t0=1000t_{0}=1000. Distances xx are measured in units of the (dimensionsless) lattice spacing; data averaged over 10,00010,000 distinct ensembles.
Refer to caption
(a) t=39t=39
Refer to caption
(b) t=56t=56
Refer to caption
(c) t=72t=72
Refer to caption
(d) t=264t=264
Figure 18: Snapshots of a single run for a system with parameters L=256L=256, σ=μ=0.5\sigma=\mu=0.5, λ=0.1\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=30T_{k}=30; time tt is measured in units of Monte Carlo steps. The red and blue colored pixels indicate the presence of predators and prey, respectively, with the brightness representing the local density, the pink colored pixels pertain to sites with both predator and prey present, and the black pixels represent empty sites. The system is initialized with K(t=0)=K=1K(t=0)=K_{-}=1. The full movie can be viewed at [76]
Refer to caption
(a) auto-correlations
Refer to caption
(b) ij=aaij=aa
Refer to caption
(c) ij=abij=ab
Refer to caption
(d) ij=bbij=bb
Figure 19: Long-time correlation functions computed for a system with the following parameters: L=512L=512, σ=μ=0.5\sigma=\mu=0.5, λ=0.1\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, and Tk=30T_{k}=30. (a) Temporal auto-correlations computed for t0=990t_{0}=990, with tt measured starting from t0t_{0}. The inset shows the Fourier transform of the auto-correlation time series. (b) Static predator-predator, (c) predator-prey, and (d) prey-prey correlation functions for different values of t0t_{0}, normalized by |Cij(x=0)||C_{ij}(x=0)|; distances xx are measured in units of the lattice spacing. Data averaged over 10,00010,000 distinct ensembles.

The associated temporal auto- and static correlation functions are displayed in Fig. 17. The auto-correlation functions exhibit damped oscillations with a peak period 2Tk=202T_{k}=20, twice the switching period of the carrying capacity. This is due to the fact that the two-point correlation function contains a product of particle densities, and the square of sinoidal functions may be decomposed into sine functions with doubled period. Note that the auto-correlations decay to zero after approximately 4040 time steps. The on-site population restrictions induce anti-correlations between individuals of the same species; the cross-correlation function CabC_{ab} becomes positive after some time has elapsed., indicating that surviving predators follow the prey with some time delay. The static correlation functions rapidly decay to zero, demonstrating that the spatial correlation lengths are small, on the scale of a few lattice spacings.

Figure 18 shows simulation snapshots for the system parameters, but with a larger switching period Tk=30T_{k}=30. In this run, only one predator patch has survived by t=39t=39. Subsequently it serves as a source for a spreading population wave that later interferes with itself owing to the periodic boundary conditions of the lattice. At t=56t=56 the wave starts spreading in both directions until at t=72t=72, when the system returns to the low carrying capacity regime, and the prey in the interior of the front are not allowed to reproduce further. Even after a long time period at t=264t=264, there is only a single density oscillation center that is sourced by the sole predator patch that had survived at t=39t=39.

In Fig. 19a we plot the corresponding auto-correlation functions, which exhibit a much slower decay compared to Fig. 17(a) for Tk=10T_{k}=10. This suggests that a carrying capacity period of Tk=30T_{k}=30 causes a resonance effect, which indeed becomes apparent in the simulation movies, as in this case the switching happens approximately when the waves travel back to the location of the source. The resonance sustains the spatial and temporal correlations and thereby stabilizes the travelling waves, leading to a sustained asynchrony that promotes species coexistence. The Fourier transform again confirms that the auto-correlation functions oscillate with a period 2Tk2T_{k}. Since the carrying capacity switching period is Tk=30T_{k}=30, and it is initialized with K(t=0)=KK(t=0)=K_{-}, the behavior of the system at different t0t_{0} values can be described as follows: For t0=990t_{0}=990, the system has just switched from K(t)=K+K(t)=K_{+} to KK_{-}; at t0=1000t_{0}=1000, it still resides at carrying capacity KK_{-}; for t0=1005t_{0}=1005, the system has just switched from KK_{-} back to K+K_{+}; at t0=1015t_{0}=1015, the carrying capacity is still K+K_{+}. The static correlation functions, shown in Figs. 19(b,c,d), exhibit similar behavior for t0=990t_{0}=990 and t0=1015t_{0}=1015, and for t0=1000t_{0}=1000 and t0=1005t_{0}=1005, respectively, which suggests a common delay time for the correlations. At t0=990t_{0}=990, the system is in the state with K(t)=KK(t)=K_{-}, while at t0=1015t_{0}=1015, K(t)=K+K(t)=K_{+}, about to switch to KK_{-}; and similarly at t0=1005t_{0}=1005 and t0=1000t_{0}=1000. Compared with the system with faster switching period Tk=10T_{k}=10, the static correlations decay over a larger distance, in agreement with the movies and snapshots which show wider wavefronts. The predator-prey cross-correlation function Cab(x)C_{ab}(x) displays maxima at positive values for t0=1000t_{0}=1000 and t0=1005t_{0}=1005, when the carrying capacity is low and few individuals are present per site. Conversely at t0=990t_{0}=990 and t0=1015t_{0}=1015, when the population densities are large, the only positive peak occurs at x=0x=0, due to the fact that predators tend to be on the same site as prey for large KK. For low carrying capacities, the predators cannot reside on the same locations as the prey, so instead they are most likely to be in the close prey neighborhood.

III.5 Asymmetric switching intervals

Finally, we further investigate the properties of our system by applying an asymmetric square signal for the switching carrying capacity, such that K=KK=K_{-} for TT_{-} time steps, and then K=K+K=K_{+} for the subsequent time interval of length T+T_{+}, where TT+T_{-}\neq T_{+}. The total switching period of the carrying capacity then is Tk=T+T+T_{k}=T_{-}+T_{+}. Simulating such a stochastic lattice system reveals a period-doubling effect for an intermediate range of T+/TT_{+}/T_{-} ratios, as shown in Fig 20. For either too small or too large time interval ratios, no period-doubling effect could be observed. The origin of this intriguing period-doubling effect appears to be that prey particles are not able to reproduce quickly enough while the system has attained the high carrying capacity K+K_{+}. Hence, it takes the system two cycles of the oscillating environment for the prey density to reach its peak value.

Refer to caption
(a) density time-series
Refer to caption
(b) Fourier transform
Figure 20: (a) Predator and prey densities averaged over 5050 realizations for a system with asymmetric switching intervals: L=256L=256, σ=μ=λ=0.1\sigma=\mu=\lambda=0.1, K=1K_{-}=1, K+=10K_{+}=10, T=100T_{-}=100, T+=10=0.1TT_{+}=10=0.1\,T_{-}; the shaded gray areas are excluded by the switching carrying capacity K(t)K(t). (b) Fourier transforms of the population density time evolution in (a).

IV Conclusion and outlook

In this paper, we have investigated the paradigmatic Lotka–Volterra predator-prey model with a periodically varying carrying capacity K(t)K(t) that represents seasonally changing food resource availability for the prey population. The model was studied both by a mean-field analysis based on the deterministic rate equations, and through detailed individual-based stochastic Monte Carlo simulations on a two-dimensional lattice with periodic boundary conditions. Both the mean-field and the stochastic lattice model exhibit characteristic periodic behavior induced by the changing environment. The rate equation solutions display a region in parameter space with period-doubling and period-quadrupling features; such effects are naturally expected in driven non-linear dynamical systems. However, the period-doubling region in parameter space is not observed in the stochastic lattice model: The internal stochastic noise evidently dominates and eliminates these non-linear effects. Yet we were able to induce period-doubling dynamics in the lattice model by utilizing an external periodic drive signal with asymmetric switching intervals.

The phase space analysis demonstrated that, for parameters that lead to an ecologically stable system (which does not evolve into an absorbing population exctintion state), the phase space orbits are closed loops, whose sizes decrease with growing predation rate λ\lambda, indicating that the population oscillation amplitudes become reduced with enhanced predation efficiency. A periodically varying environment allows the system to remain stable even for lower values of λ\lambda, as compared to the corresponding system with fixed carrying capacity. We find that the periodically varying environment induces oscillations with greater amplitudes, without hitting the predator extinction absorbing state. We argue that this phenomenon is due to the density oscillations extending beyond their maximum static values when periodically switching between low and high carrying capacity environments. Hence scarcity of food resources in one season induces a higher species density (relative to a constant environment) in later seasons when food resources become more abundant again. Furthermore, we observe that even for the same value of λ\lambda, the periodically varying systems display larger oscillation amplitudes than the static system. The finite system size extinction threshold at high predation rates is shifted to higher values of λ\lambda as well. Thus, a periodically changing, externally driven environment leads to a richer ecology and promotes species diversity.

We investigated the long-time behavior of the population densities by studying their averages over multiple cycles of the periodic environment as a function of switching period TkT_{k}. For the mean-field model, the prey density average does not depend on TkT_{k}, and is equal to its KK-independent stationary value. In contrast, the mean predator density turns out equal to the stationary value of a static equivalent KK^{*} value given by Eq. (9) that for small periods simply reduces to the harmonic average K¯{\bar{K}} of KK_{-} and K+K_{+}. Interestingly, for intermediate periods TkT_{k} one encounters a non-monotonic crossover regime between these two averages for intermediate values of the period with characteristic resonant features when TkT_{k} is close to the intrinsic Lotka–Volterra population oscillation period. The stochastic lattice model reveals more complex behavior owing to renormalization of the equivalent stationary carrying capacity values as well as the reaction rates. The mean stationary prey density value is no longer KK-independent, and it shows non-monotonic behavior as a function of TkT_{k}. Nevertheless, quantitatively these effects are small, implying that the harmonically averaged equivalent stationary value K¯{\bar{K}} gives a good approximation for the long-time average of the prey density. The predator density average matches the stationary equivalent K¯{\bar{K}} only for high values of KK_{-} and K+K_{+}, as well as large switching periods TkT_{k}.

We evaluated the auto-correlation and static correlation functions for the stochstic lattice model specifically for two different periods, Tk=10T_{k}=10 and Tk=30T_{k}=30. The Fourier transformed auto-correlations exhibit peaks at 2Tk2T_{k}. Due to the local on-site restrictions, the cross-correlation functions are negative at short distances. For the smaller period Tk=10T_{k}=10, the auto-correlations decay to zero already after about a single oscillation period, and the static correlations rapidly decay to zero as well, indicating a small spatial correlation length. When the period is increased to Tk=30T_{k}=30, we observe a resonance effect causing the auto-correlations to decay at a much slower rate. As the simulations movies show, this resonant behavior is caused by the spherical travelling activity waves pulsing back to the location of their sources. For low TkT_{k}, the interference of population waves with each other seems to average out local structures, and instead lead to a global temporal oscillation with the external frequency prescribed by the carrying capacity switches. Consequently, prolonged spatial correlations are not observed for Tk=10T_{k}=10, in contrast with the data for longer Tk=30T_{k}=30. The static correlation functions for Tk=30T_{k}=30 exhibit a much slower decay as well, indicating markedly longer-ranged correlations. Plotting the static correlation functions at different times, we detect a time-delay effect, where the stationary correlations require some time to respond to the changing environment. This is in contrast to the population densities (one-point functions) which respond almost instantaneously to the switching environment.

Using our observations pertaining to the long-time behavior of the population densities in the mean-field model, we obtained a closed-form solution that approximates the quasi-stationary state of the system for a fast switching carrying capacity; more preciely, this solution holds if Tkλ|db/dt|1T_{k}\sqrt{\lambda|db/dt|}\ll 1. We were able to explicitly demonstrate the regime of applicability for this approximation, c.f. Fig. 7. It should be possible to utilize this asymptotic technique to study generalizations to other periodically varying variables, e.g., varying reaction rates, to shed light on the response of such systems to sudden parametric variations.

The importance of the environment on the balance of animal populations has been understood at least since the work of Nicholson [64]. Spatial models offer rich behavior due to an enhancement in species coexistence [32, 33, 34, 35], and seasonally varying environments are known to promote species coexistence even further [77, 78, 79]. In this numerical and analytical study of the effects of a periodically varying carrying capacity, we determined the shift in population balance in both fast- and slow-switching limits, by showing that the system can then be described via oscillations around a quasi-fixed point. In the crossover regime, the species balance depends on the environmental modulation period. We utilized a stochastic lattice model to investigate how resonance affects the pursuit and evasion waves, which are known to enhance species coexistence through the asynchrony effect described in Refs. [37, 33, 35]. Our results show that seasonal changes at resonance stabilize the intrinsic dynamic correlations of the system that in turn support asynchronous states, thus enabling predators to survive even if they are at a severe disadvantage during one of the seasons. The sustainability of predators could also be attributed to the growth rate at low density described in Ref. [24]: As the environment switches from low to high carrying capacity, this growth rate suddenly jumps to a high value, which is responsible for maintaining the predator population.

The description of reaction-diffusion systems in terms mean-field rate equations is of course useful, and often provides an accurate qualitative description of real systems for some region in parameter space. However, this paper demonstrates that when an ecological system is subjected to periodic variations in the environment, a proper stochastic model may behave differently than its mean-field representation. Fluctuations can lead to dramatic changes in the behavior of the system as the present results indicate. One method of steering ecological communities towards a certain desirable behavior is to alter the environment. Therefore, developing succesful control schemes for such systems requires taking the effects of fluctuations into proper consideration. A full understanding of the fundamental problem of species diversity, and beyond, constructing a quantitative theory of biological evolution, hinge on unraveling the impact of environmental dynamics on ecological systems.

Acknowledgements.
We would like to thank Matthew Asker, Marco Brizzolara, Jason Czak, Lluís Hernandez-Navarro, Hana Mir, Mauro Mobilia, Michel Pleimling, Alastair Rutlidge, James Stidham, Brian Thibodeau, Louie Hong Yao, and Canon Zeidan for their helpful feedback on our work. We are grateful to Rana Genedy for reading the manuscript draft and providing suggestions for improvement. This research was supported by the U.S National Science Foundation, Division of Mathematical Sciences under Award No. NSF DMS-2128587.

References

  • Haken [1977] H. Haken, Synergetics (Springer-Verlag, New York, 1977).
  • Neal [2018] D. Neal, Introduction to Population Biology (Cambridge University Press, 2018).
  • Maynard-Smith [1978] J. Maynard-Smith, Models in Ecology (Cambridge University Press, 1978).
  • Murray [2013] J. D. Murray, Mathematical Biology (Springer-Verlag, New York, 2013).
  • Goel et al. [1971] N. S. Goel, S. C. Maitra, and E. W. Montroll, Rev. Mod. Phys. 43, 231 (1971).
  • Picard and Johnston [1982] G. Picard and T. W. Johnston, Phys. Rev. Lett. 48, 1610 (1982).
  • Hofbauer and Sigmund [1998] J. Hofbauer and K. Sigmund, Evolutionary Games and Population Dynamics (Cambridge University Press, 1998).
  • May and Leonard [1975] R. M. May and W. J. Leonard, SIAM J. Appl. Math. 29, 243 (1975).
  • Durrett [1999a] R. Durrett, SIAM Rev. Soc. Ind. Appl. Math. 41, 677 (1999a).
  • Elton and Nicholson [1942] C. Elton and M. Nicholson, J. Anim. Ecol. 11, 215 (1942).
  • Bascompte and Sole [1998] J. Bascompte and R. Sole, Modeling Spatiotemporal Dynamics in Ecology (Springer, 1998).
  • Sherratt et al. [1997] J. A. Sherratt, J. A. Sherratt, and M. A. Lewis, Phil. Trans. R. Soc. Lond. B 352, 21 (1997).
  • Satulovsky and Tomé [1994] J. E. Satulovsky and T. Tomé, Phys. Rev. E 49, 5073 (1994).
  • Antal and Droz [2001] T. Antal and M. Droz, Phys. Rev. E 63, 056119 (2001).
  • McKane and Newman [2005] A. J. McKane and T. J. Newman, Phys. Rev. Lett. 94, 218102 (2005).
  • Dunbar [1984] S. R. Dunbar, Trans. Amer. Math. Soc 286, 557 (1984).
  • Matsuda et al. [1992] H. Matsuda, N. Ogita, A. Sasaki, and K. Satō, Prog. Theor. Phys. 88, 1035 (1992).
  • Frachebourg and Krapivsky [1998] L. Frachebourg and P. Krapivsky, J. Phys. A: Math. Theor. 31, L287 (1998).
  • Boccara et al. [1994] N. Boccara, O. Roblin, and M. Roger, Phys. Rev. E 50, 4531 (1994).
  • Droz and Pȩkalski [2001] M. Droz and A. Pȩkalski, Phys. Rev. E 63, 051909 (2001).
  • Dobramysl et al. [2018] U. Dobramysl, M. Mobilia, M. Pleimling, and U. C. Täuber, J. Phys. A: Math. Theor. 51, 063001 (2018).
  • Mobilia et al. [2006] M. Mobilia, I. T. Georgiev, and U. C. Täuber, Phys. Rev. E 73, 040903(R) (2006).
  • Turelli [1981] M. Turelli, J. Theor. Biol. 20, 1 (1981).
  • Chesson [1994] P. Chesson, Theor. Popul. Biol. 45, 227 (1994).
  • Durrett and Levin [1994] R. Durrett and S. Levin, Theor. Popul. Biol. 46, 363 (1994).
  • Durrett [1999b] R. Durrett, SIAM Rev. Soc. Ind. Appl. Math. 41, 677 (1999b).
  • Doi [1976] M. Doi, J. Phys. A: Math. Gen. 9, 1465 (1976).
  • Lotka [1920] A. J. Lotka, Proc. Natl. Acad. Sci. 6, 410 (1920).
  • Volterra [1926] V. Volterra, Nature 118, 558 (1926).
  • Rosenzweig and MacArthur [1963] M. L. Rosenzweig and R. H. MacArthur, Am. Nat. 97, 209 (1963).
  • Grunert et al. [2021] K. Grunert, H. Holden, E. Jakobsen, and N. Stenseth, Proc. Natl. Acad. Sci. 118, e2017463118 (2021).
  • Li et al. [2005] Z. Li, M. Gao, C. Hui, H. Xiao-zhuo, and H. Shi, Ecol. Modell. 185, 245 (2005).
  • Hassell and May [1988] M. P. Hassell and R. M. May, Ann. Zool. Fenn. 25, 55 (1988).
  • Taylor [1988] A. D. Taylor, Ann. Zool. Fenn. 25, 63 (1988).
  • Zeigler [1977] B. P. Zeigler, J. Theor. Biol. 67, 687 (1977).
  • Huffaker et al. [1963] C. B. Huffaker, K. P. Shea, and S. G. Herman, Hilgardia 34, 305 (1963).
  • Smith [1974] M. Smith, J. Theor. Biol. 47, 209 (1974).
  • Mühlbauer et al. [2020] L. K. Mühlbauer, M. Schulze, W. S. Harpole, and A. T. Clark, Ecol. Evol. 10, 13275 (2020).
  • Mclaren and Peterson [1994] B. E. Mclaren and R. O. Peterson, Science 266, 1555 (1994).
  • Utida [1957] S. Utida, Ecology 38, 442 (1957).
  • Gause [1934] G. Gause, The Struggle for Existence (Baltimore, The Williams and Wilkins company, 1934).
  • Blasius et al. [2020] B. Blasius, L. Rudolf, G. Weithoff, U. Gaedke, and G. Fussmann, Nature 577, 226 (2020).
  • Tainaka [1988] K. I. Tainaka, J. Phys. Soc. Jpn. 57, 2588 (1988).
  • Tainaka and Itoh [1991] K. I. Tainaka and Y. Itoh, Europhys. Lett. 15, 399 (1991).
  • Lipowski [1999] A. Lipowski, Phys. Rev. E 60, 5179 (1999).
  • Lipowski and Lipowska [2000] A. Lipowski and D. Lipowska, Phys. A: Stat. Mech. Appl. 276, 456 (2000).
  • Mir et al. [2022] H. Mir, J. Stidham, and M. Pleimling, Phys. Rev. E 105, 054401 (2022).
  • Dobramysl and Täuber [2013] U. Dobramysl and U. C. Täuber, Phys. Rev. Lett. 110, 048105 (2013).
  • Dobramysl and Täuber [2008] U. Dobramysl and U. C. Täuber, Phys. Rev. Lett. 101, 258102 (2008).
  • Washenberger et al. [2007] M. J. Washenberger, M. Mobilia, and U. C. Täuber, J. Phys. Condens. Matter 19, 065139 (2007).
  • Mobilia et al. [2007] M. Mobilia, I. T. Georgiev, and U. C. Täuber, J. Stat. Phys. 128, 447 (2007).
  • Täuber [2012] U. C. Täuber, J. Phys. A: Math. Theor. 45, 405002 (2012).
  • Verhulst [1838] P. Verhulst, Corr. Math. Phys. 10, 113 (1838).
  • Lotka [1925] A. J. Lotka, Nature 116, 461 (1925).
  • Tainaka [1989] K. I. Tainaka, Phys. Rev. Lett. 63, 2688 (1989).
  • Monetti et al. [2000] R. Monetti, A. Rozenfeld, and E. Albano, Phys. A: Stat. Mech. Appl. 283, 52 (2000).
  • Rozenfeld and Albano [1999] A. Rozenfeld and E. Albano, Phys. A: Stat. Mech. Appl. 266, 322 (1999).
  • Kowalik et al. [2002] M. Kowalik, A. Lipowski, and A. L. Ferreira, Phys. Rev. E 66, 066107 (2002).
  • Okubo et al. [1989] A. Okubo, P. K. Maini, M. H. Williamson, and J. D. Murray, Proc. R. Soc. Lond. B 238, 113 (1989).
  • Hosono [1998] Y. Hosono, Bull. Math. Biol. 60, 435 (1998).
  • Volterra [1928] V. Volterra, ICES J. Mar. Sci. 3, 3 (1928).
  • Hufton et al. [2016] P. G. Hufton, Y. T. Lin, T. Galla, and A. J. McKane, Phys. Rev. E 93, 052119 (2016).
  • Black and McKane [2010] A. Black and A. McKane, J. Theor. Biol. 267, 85 (2010).
  • Nicholson [1933] A. J. Nicholson, J. Anim. Ecol. 2, 131 (1933).
  • Johnson and Hastings [2022] E. Johnson and A. Hastings, preprint arXiv:2201.07960  (2022).
  • Burkart and Frey [2022] T. Burkart and E. Frey, preprint arXiv:2202.11635  (2022).
  • Wienand et al. [2017] K. Wienand, E. Frey, and M. Mobilia, Phys. Rev. Lett. 119, 158301 (2017).
  • West and Mobilia [2020] R. West and M. Mobilia, J. Theor. Biol. 491, 110135 (2020).
  • Taitelbaum et al. [2020] A. Taitelbaum, R. West, M. Assaf, and M. Mobilia, Phys. Rev. Lett. 125, 048105 (2020).
  • Marrec and Bitbol [2020] L. Marrec and A. Bitbol, PLoS Comput. Biol. 16, e1007798 (2020).
  • McLaughlin and Roughgarden [1991] J. F. McLaughlin and J. Roughgarden, Theor. Popul. Biol. 40, 148 (1991).
  • Yang et al. [2019] Y. Yang, C. Wu, and Z. Li, Appl. Math. Comput. 353, 254 (2019).
  • Ignat’ev [2014] A. O. Ignat’ev, Differ. Equ. 50, 286 (2014).
  • Assaf et al. [2013] M. Assaf, M. Mobilia, and E. Roberts, Phys. Rev. Lett. 111, 238101 (2013).
  • Ashcroft et al. [2014] P. Ashcroft, M. Altrock, and T. Galla, J. R. Soc. Interface. 11, 20140663 (2014).
  • [76] Simulation movies are available at http://www1.phys.vt.edu/~tauber/PredatorPrey/movies/. The snapshots shown in this paper are taken from the following files: 256-0.1-0.1-0.1-100-1-10.mp4, 256-0.5-0.5-0.1-10-1-10.mp4, and 256-0.5-0.5-0.1-30-1-10.mp4.
  • Chesson and Huntly [1993] P. Chesson and N. Huntly, Plant Species Biol. 8, 195 (1993).
  • Namba and Takahashi [1993] T. Namba and S. Takahashi, Theor. Popul. Biol. 44, 374 (1993).
  • Loreau [1992] M. Loreau, Theor. Popul. Biol. 41, 401 (1992).
  • Wangersky [1978] P. J. Wangersky, Ann. Rev. Ecol. Syst. 9, 189 (1978).