Skip to main content
Springer logoLink to Springer
. 2026 Feb 25;88(4):46. doi: 10.1007/s11538-026-01595-6

Pattern Formation in Agent-Based and PDE Models for Evolutionary Games with Payoff-Driven Motion

Tianyong Yao 1,#, Chenning Xu 2,#, Daniel B Cooney 3,✉
PMCID: PMC12935802  PMID: 41739372

Abstract

Spatial structure can play an important role in the evolution of cooperative behavior and the achievement of collective success of a population. In this paper, we explore the role of random and directed motion on spatial pattern formation and the payoff achieved by populations in both stochastic and deterministic models of spatial populations who engage in social interactions following a hawk-dove game. For the case of purely diffusive motion, both a stochastic spatial model and a partial differential equation model show that Turing patterns can emerge when hawks have a greater movement rate than doves, and in both models hawks and doves see an increase in population size and average payoff as hawk mobility increases. For the case of the payoff-driven motion, the stochastic model shows an overall decrease in population size and average payoff, but the PDE model displays more subtle behavior in this setting and will depend on the relative diffusivities of the two strategies. The PDE model also displays a biologically infeasible short-wave instability in the case of payoff-driven motion and equal diffusivities, indicating that we need to be careful about the mathematical properties of PDE models with payoff-driven directed motion and indicating potential use for nonlocal PDE models for spatial patterns in evolutionary games with directed motion.

Keywords: Pattern Formation, Evolutionary Game Theory, Stochastic Spatial Models

Introduction

Social dilemmas are a common feature that arise in a range of biological and social systems, with evolutionary forces like natural selection or cultural imitation producing a tension between an individual incentive to cheat and a collective incentive to sustain cooperation within a population. Evolutionary game theory provides a tractable mathematical framework for describing cooperative behavior and social interactions between individuals, with games such as the Prisoners’ Dilemma, Hawk-Dove game, and Stag-Hunt game providing examples of resulting evolutionary dynamics featuring dominance of cheaters, coexistence of cooperators and cheaters, and alternative stable outcomes of all-cheater or all-cooperator populations (Hofbauer and Sigmund 1998; Nowak 2006; Sandholm 2010; Smith and Price 1973). The role of spatial interactions and spatial motion has often been proposed as a mechanism for promoting the evolution of cooperative behavior beyond the level achievable in a well-mixed population (Durrett and Levin 1994; Nowak et al. 1994; Sicardi et al. 2009), with clusters of cooperators forming in spatial neighborhoods allowing cooperators to achieve higher payoffs and invade regions previously occupied by defectors (Allen et al. 2017; Ohtsuki and Nowak 2006a; Ohtsuki et al. 2006; Ohtsuki and Nowak 2006b; Szabó and Fath 2007).

The spatial motion of individuals within a population is one mechanism that can impact the distribution of strategies, with increased birth rates due to greater payoff potentially allowing clusters of cooperators to increase in size and increase the population size and cooperation level across a spatial domain (Hutson and Vickers 1992; Vickers 1989; Vickers et al. 1993; Wakano et al. 2009; Wakano and Hauert 2011). This has been particularly explored by Wakano, Hauert, and coauthors, who have used reaction-diffusion equations and ecological public goods games to show how rapid undirected motion of defectors can produce Turing patterns and promote cooperation (Funk and Hauert 2019; Gerlee and Altrock 2019; Hauert et al. 2008; Wakano et al. 2009; Wakano and Hauert 2011). Further work on PDE models in evolutionary games has explored how directed motion can help to shape spatial patterns of cooperation, either assuming that individuals can perform directed motion towards cooperators and away from defectors (Funk and Hauert 2019; Kimmel et al. 2019), assuming either that individuals perform payoff-driven motion in which they climb payoff gradients to find regions with increasing payoff for their respective strategies (DeForest and Belmonte 2013; deForest and Belmonte 2018; Helbing and Yu 2008; Helbing 2009; Xu et al. 2017; Young and Belmonte 2018), or that individuals perform directed motion based on a quantity like environmental quality that serves as a proxy for payoff (Yao and Cooney 2025).

In addition to the PDE modeling approach for describing diffusive or payoff-driven motion, it is also possible to formulate agent-based models that describe the rules by which individuals choose to move to neighboring spatial locations in a metapopulation lattice. One comparison between the individual-based and PDE models for spatial evolutionary games was provided by Durrett and Levin (1994), who showed the key roles played by the choices of spatially explicit or well-mixed domains and the role of discrete or continuous modeling of population states in determining the long-term survival or coexistence of competing strategies. Their analysis of various game-theoretic scenarios and their range of spatial and population states highlighted the importance of comparing across different modeling frameworks, and emphasized approaches to careful derivation of continuum models from the discrete interaction and movement rules of individuals in a population (Cantrell and Cosner 2004; Durrett and Levin 1994; Pacala 2020; Seri and Shnerb 2012). This comparative approach of using agent-based and mean-field models to study spatial behavior of populations has also been applied to study complex ecological systems (Lewis and Murray 1993; White et al. 1996), and has been applied to explore human social systems and collective spatial phenomena from the emergence of economic aggregation through labor migration to the formation of heterogeneous patterns within cities (Hasan et al. 2020; Lindstrom and Bertozzi 2020). The formulation of such spatial models have been particularly helpful in describing assumptions about the rules of interactions between individuals and biased random walks taken by individuals through spatial lattices, with these individual-based rules also allowing for the derivation of a range of emergent PDE models incorporating features incorporating chemotaxis-type phenomena (Alsenafi and Barbaro 2021, 2018; Codling et al. 2008; Painter 2019; Plank et al. 2025; Short et al. 2008).

We find that, in the case of purely undirected spatial motion, both the stochastic and PDE models can display Turing pattern formation when hawks have a higher diffusivity than doves, and we observe that this pattern-forming mechanism helps to increase the total population size and average payoff for both strategies across the spatial domain. When we incorporate payoff-driven motion, we see that patterns can form in the stochastic model when doves are more effective than hawks at performing directed motion towards patches with higher payoff, but that the resulting patterns feature lower overall payoff than the level of payoff achieved in spatially well-mixed populations. The behavior of payoff-driven motion is more difficult to study in the PDE model, as we see that, in line with prior observations by Helbing (2009) and by Funk and Hauert (2019), a short-wave / infinite-wavenumber instability will arise when the directed motion of doves can produce spatial patterns in the case of equal diffusivities of the two strategies. To avoid this issue of short-wave instability, we extend our analysis of the PDE model to show that allowing the possibility of increased hawk diffusivity or a nonlocal evaluation of payoff gradients can result in biologically feasible finite-wavenumber patterns through sufficiently strong payoff-driven motion by doves.

The remainder of the paper is organized in the following manner. In Sect. 2, we summarize the game-theoretic background for our models and formulate our baseline stochastic process and PDE models for evolutionary games with payoff-driven motion. We then present results for the simulations of our stochastic spatial model in Sect. 3, discussing the case of purely diffusive motion and the case of patterns due solely to differences in the rules of payoff-driven motion. In Sect. 4, we provide analytical results and numerical simulations for spatial patterns in the PDE model, highlighting the behavior of Turing patterns in the purely diffusive case and the short-wave instability in the case of payoff-driven motion and equal diffusivities. We then provide a comparison between the behavior of the stochastic and PDE models in Sect. 5 for the case of faster diffusion by hawks and greater ability of payoff-driven motion for doves, and we formulate nonlocal PDE models of payoff-driven motion and demonstrate the presence of finite-wavenumber instabilities in Sect. 6. We summarize our results and discuss our outlook for future work in Sect. 7, and we include additional details about the stochastic simulations and the derivation of our local and nonlocal PDE models in the appendix.

Formulation of the Stochastic Process and PDE Models for Spatial Evolutionary Dynamics

In this section, we present our baseline models for game-theoretic interactions, the population dynamics arising due to payoff and density-dependent regulation, as well as the rules for spatial movement due to diffusive and payoff-driven motion. We first present our model of two-player, two-strategy games in Sect. 2.1, and then use these game-theoretic ideas to formulate our stochastic spatial model and our deterministic PDE model in Sects. 2.2 and 2.3.

Game-Theoretic Background: Frequency-Dependent Evolutionary Games with Density-Dependent Population Regulation

In this paper, we will consider spatial evolutionary dynamics based on underlying hawk-dove or snowdrift games played at each spatial location. In particular, we will consider a two-player symmetric game in which individuals can play one of two strategies: a cheater/defector strategy called Hawk (H) and a cooperative strategy called Dove (D). We represent the payoffs received when playing each of these strategies through the following payoff matrix

graphic file with name 11538_2026_1595_Equ1_HTML.gif 2.1

where P is a punishment for mutual defection (hawkish or aggresive behavior), R is the reward for mutual cooperation (dove-like or peaceful behavior), T is the temptation to play hawk against a dove, and S is the sucker payoff for playing dove against a hawk. For this payoff matrix to represent a hawk-dove or snowdrift game, we require that the payoffs have the following ranking

T>R>S>P, 2.2

which ensures that individuals receive higher payoffs by cooperation (playing dove) against hawks (as S>P) and by defecting (playing hawk) against doves (as T>R). This ranking of payoffs typically ensures that evolutionary dynamics supports long-time coexistence of hawks and doves in an infinite population, with the anti-coordination structure of the payoffs favoring individuals who are currently rare in a population.

For our analysis, we will typically focus on a special case of the hawk-dove game that is used to model a pairwise contest over a resource of total value V and a cost C for fighting over a resource. Assuming that two doves split the resource evenly, a hawk takes the entire resource when interacting with a dove, and that hawks split the resource evenly after fighting over the resource, we can express the payoffs for such a hawk-dove game with the following matrix

graphic file with name 11538_2026_1595_Equ3_HTML.gif 2.3

We can view this parameterization for a hawk-dove game as a special case of the payoff matrix presented in Eq. (2.1), in which we set R=V2, S=0, T=V, and P=V-C2. We will assume that C>V>0, so the cost of fighting over a resource is greater than the value of sharing the resource, which allows us to see that this payoff matrix will feature the ranking of payoffs associated with hawk-dove games.

Now that we have formulated the payoffs obtained through pairwise interactions, we can describe how individuals receive payoff by playing games in a well-mixed population featuring a population with densities u of hawks and v of doves. If individuals interact with all members of the population, then the average payoffs received by doves and hawks are given by

pHu,v=Puu+v+Tvu+v 2.4a
pDu,v=Suu+v+Rvu+v. 2.4b

Following the approach used by Brown and Hansell (1987) and by Durrett and Levin (1994), we consider population dynamics for the number of hawks u and doves v with a combination of a baseline frequency-dependent net birth rate and a density-dependent term featuring logistic regulation based on the total population density u+v. This yields the following system of ODEs

dudt=upH(u,v)-κu+v 2.5a
dvdt=vpD(u,v)-κu+v. 2.5b

Because the payoff functions pH(u,v) and pD(u,v) depend only on the fraction of hawks s:=uu+v and doves 1-s=vu+v, we can also rewrite the payoff functions in the form

pH(s)=Ps+T(1-s) 2.6a
pD(s)=Ss+R(1-s), 2.6b

and we can use a change of variables to represent the population in terms of s=uu+v and the total population size q=u+v, which allows us to rewrite the dynamics of Eq. (2.5) as the following system of ODEs:

dsdt=s(1-s)pH(s)-pD(s) 2.7a
dqdt=qspH(s)+(1-s)pD(s)-κq. 2.7b

The first equation is the replicator equation typically used to study frequency-dependent selection in evolutionary game theory, which is typically used to model the evolution of strategy frequency (Hofbauer and Sigmund 1998; Sandholm 2010; Weibull 1997). Notably, the first equation is independent of the total population size q=u+v, so we can use the first equation alone to determine the fraction of cooperators s achieved in the long-time limit of the ODE system. In particular, for the payoff rankings corresponding to the Hawk-Dove game, we see that the stable equilibrium of Eq. () is given by the coexistence equilibrium

s0,q0=T-RS+T-R-P,ST-RPκS+T-R-P, 2.8

and we can correspondingly represent this stable equilibrium in terms of the original variables u and v as the equilibrium point

u0,v0=(T-R)(ST-RP)κS+T-R-P2,(S-P)ST-RPκS+T-R-P2. 2.9

In Sects. 2.2 and 2.3, we will consider spatial extensions of this model, where we assume that individuals will play the Hawk-Dove game with all members of the population at their spatial location. We expect that there is an equilibrium state in which the population size of hawks and doves will take the form (u,v)=(u0,v0) at each point in space, and we will look to see how spatial movement can lead to instability of the spatially uniform state. Such instabilities will allow us to identify the formation of spatial patterns and regions at which the population state differs from the coexistence equilibrium point achieved under our ODE model for evolutionary dynamics based on the Hawk-Dove game played in a well-mixed population.

Stochastic Spatial Model with Diffusive and Payoff-Driven Motion

We now formulate a stochastic spatial model that combines the demographic events of payoff-dependent and density-dependent birth and death rates with rules for spatial motion due to biased random walks based on payoff gradients. Building off of the game-theoretic model formulated in Sect. 2.1, we consider game-theoretic interactions following the Hawk-Dove game and use the payoff matrix from Eq. (2.1) to simulate the interaction of individuals at a given site on our spatial lattice. We build our baseline payoff-dependent birth or death rates and constrain population growth using density-dependent regulation as presented in Eqs. () and (2.5). We will present a conceptual formulation of the structure of our stochastic spatial model in this section, and we also use Sect. A of the appendix to present a more detailed description of our model design and the spatial generalization of the Gillespie-type algorithm used to simulate our stochastic model.

We consider a population living on a spatial domain consisting of a one-dimensional lattice containing N patches, and we describe the spatial location of a patch by its index i∈{1,⋯,N}. All game-theoretic interactions and demographic events occur in one of the N patches, and all birth and death rates can be described by the number of hawks ui(t) and doves vi(t) located at a given patch i, and all interactions and competition within a patch are assumed to be well-mixed. The payoffs of hawks and doves are calculated in the same way as in Eq. () above, with each individual playing the game against all other members of the patch and including the possibility of self-interaction. This means that we can define the average payoff achieved by hawks and doves at patch i and time t as the following function of the numbers of hawks and doves ui(t) and vi(t):

pi,H(t)=Pui(t)ui(t)+vi(t)+Tvi(t)ui(t)+vi(t)pi,D(t)=Sui(t)ui(t)+vi(t)+Rvi(t)ui(t)+vi(t). 2.10

We use payoff to characterize the natural growth of the two species. The sign of pi,H and pi,D decides whether the payoff corresponds to the birth or death of an individual, and the absolute value determines the likelihood that such birth or death event occurs.

We further impose constraints ki,u(t) and ki,v(t) on population growth by carrying capacity:

ki,u(t)=κui(t)(ui(t)+vi(t))ki,v(t)=κvi(t)(ui(t)+vi(t)) 2.11

where κ is some constant. At time t, a hawk dies at patch i with likelihood ki,u(t), similarly for the dove. We describe movement between patches using a biased random walk based on the payoff of neighboring patches, with hawks and doves moving from patch i to neighboring patch i′ with rates given by.

qH(i→i′)=μu·fu(wupi′,H)∑i~∼ifu(wupi~,H)qD(i→i′)=μv·fv(wvpi′,D)∑i~∼ifv(wvpi~,D) 2.12

where the subscript i~∼i indicates performing a sum over all neighbors i~ of patch i, μu and μv are constants that measure an individual’s willingness of migration, fu(·) and fv(·) are increasing functions that describe how hawks and doves respectively weight their average payoffs in their choice to move to neighboring patches, and wu and wv are parameters describing the sensitivity of payoff differences in determining their choice of patch when moving. Two example classes of movement rules we can consider are movement probabilities based on an affine function of payoff at a given location, given by

fuwupi,H=1+wupi,H 2.13a
fvwvpi,D=1+wvpi,D, 2.13b

or an exponential weight placed on payoff, given by

fuwupi,H=expwupi,H 2.14a
fvwvpi,D=expwvpi,D. 2.14b

For our stochastic simulations, we will typically consider the case of the exponential mapping from payoff to movement weight. The rules for reproduction and movement defined above in Eqs. (2.10), (2.11), (2.12) characterize the core features of our stochastic spatial model. We provide additional information on the implementation of this model through Gillespie simulations in Sect. A of the appendix.

PDE Models of Spatial Evolutionary Games

Following the introduction of the game-theoretic background in Sect. 2.1 and the description of payoff-driven stochastic motion in Sect. 2.2, we employ discrete-space stochastic models characterized by biased random walks between neighboring patches to derive a corresponding system of partial differential equations (PDEs). This derivation, detailed explicitly in Sect. B.2 of the appendix, results in a system of PDEs describing the dynamics of the spatial densities of hawks u(t, x) and doves v(t, x) across a one-dimensional interval with x∈[0,L]. This system of PDEs is given by

∂u(t,x)∂t=Du∂2u(t,x)∂x2+upH(u,v)-k(u+v)-2Duwu∂u∂xfu′(wupH)fu(wupH)∂pH∂x+u∂∂xfu′(wupH)fu(wupH)∂pH∂x 2.15a
∂v(t,x)∂t=Dv∂2v(t,x)∂x2+vpD(u,v)-k(u+v)-2Dvwv∂v∂xfv′(wvpD)fv(wvpD)∂pD∂x+v∂∂xfv′(wvpD)fv(wvpD)∂pD∂x, 2.15b

where fu(wupH(·)) and fv(wvpD(·)) again describe the weight that hawks and doves place on payoff to determine movement probabilities when performing payoff-driven directed motion. In this paper, we pair this PDE with zero-flux boundary conditions at the endpoints x=0 and x=L.

For the case of the exponential movement rule with fu(wupH)=exp(wupH) and fv(wvpD)=exp(wvpD), we see that the PDE model for payoff-driven motion takes the following simplified form

∂u(t,x)∂t=Du∂2u(t,x)∂x2+upH(u,v)-k(u+v)-2Duwu∂pH∂x∂u∂x+u∂2pH∂x2 2.16a
∂v(t,x)∂t=Dv∂2v(t,x)∂x2+vpD(u,v)-k(u+v)-2Dvwv∂pD∂x∂v∂x+v∂2pD∂x2. 2.16b

We will typically consider this special case of our PDE model to study the role of payoff-driven motion in numerical simulations. In particular, we choose the exponential movement rule for both the stochastic and PDE simulations both due to the convenient form of the PDE limit provided in Eq. () that represents payoff-driven motion in the form of a linear chemotactic sensitivity, and because the form of the resulting PDE allows us to study a model that is most comparable to those used in prior work related to models of payoff-driven motion with different reaction terms representing birth and death events (DeForest and Belmonte 2013; deForest and Belmonte 2018; Helbing and Yu 2008; Helbing 2009; Xu et al. 2017).

To consider the case of purely undirected motion, we can set sensitivty parameters for payoff-driven motion to wu=wv=0 in Eq. (). This allows us to reduce our model of payoff-driven motion from Eq. () to the following system of reaction diffusion equations

∂u(t,x)∂t=Du∂2u(t,x)∂x2+upH(u,v)-k(u+v) 2.17a
∂v(t,x)∂t=Dv∂2v(t,x)∂x2+vpD(u,v)-k(u+v). 2.17b

We will use this system of PDEs to study the possibility of Turing instability for our spatial hawk-dove game, exploring whether faster hawk diffusion can produce spatial patterns even in the absence of payoff-driven directed motion.

Results from Simulations of the Stochastic Spatial Model

In this section, we present simulation results of our stochastic model. We begin in Sect. 3.1 with a simplified model and basic parameters, illustrating the time-dependent dynamics of our model and the spatial variation promoted by the stochasticity of the model. We then present a more comprehensive set of simulations for the case of purely diffusive motion in Sect. 3.2, and we illustrate the effects of payoff-driven motion in Sect. 3.3.

For all of the stochastic simulations in our paper, we consider a common spatial simulation and fix many of the game-theoretic and ecological parameters across all simulations. Our spatial grid consists of a one-dimensional space containing a single row with 100 patches, connected with nearest-neighbor coupling and zero-flux boundary conditions.

We assume that all game-theoretic interactions within patches follow a hawk-dove game from Eq. (2.3) with total resource V=4 and cost of fighting C=6, and a uniform carrying capacity κ=11000 is applied to all patches. Given the above payoff matrix and carrying capacity, we can calculate the expected equilibrium population in the coexistence state by Eq. (2.9), finding that u∗=40009≈444.44 and v∗=20009≈222.22 in each patch. This expected equilibrium state in the large-population limit motivates us to consider initial conditions for the stochastic model consisting of this expected equilibrium state with a small noisy perturbation given by

ui(0)=444+rand(-5,5) 3.1a
vi(0)=222+rand(-5,5), 3.1b

where i∈[1,100] is the patch index and rand(-5,5) denotes a random integer in [-5,5]. For our remaining simulations, we will consider how changes in the movement rates μu and μv and the payoff sensitivities wu and wv for each strategy impact the resulting dynamics in our stochastic spatial model.

Initial Model Demonstration

To illustrate the temporal and spatial dynamics of our model, we first consider an example simulation of our model with payoff-driven motion. In Fig. 1, we show the average population levels and average payoffs of each strategy across our spatial domain for a single simulation featuring equal movement rates and payoff sensitivities for each strategy (specifically, μu=μv=2,wu=wv=1), exploring the temporal dynamics for each time t∈[0,100]. The spatially average population sizes and payoffs of both species spend most of the time clustered around the expected equilibrium state, but there is some temporal fluctuation in these averaged quantities due to the stochasticity in our model. The concentration around the equilibrium predicted from the ODE system fits with our intuition that we do not expect deviation from the behavior of a well-mixed system when both hawks and doves have equal mobilities and equal sensitivity to payoff when performing payoff-driven motion.

Fig. 1.

Fig. 1

Dynamics of average population (left) and payoff (right) in our demo model, with a single row of 100 patches and total resource V=4 and cost of fighting C=6 at each patch. We run a single simulation and track the average population and payoff across the spatial domain over time (color figure online)

However, we see that the stochastic nature of the model can result in spatial fluctuations even for this case of equal movement rules for each strategy. In particular, we explore in Fig. 2 the spatial distribution of population and payoff averaged over the last five percent of the simulation time (corresponding to times t∈[95,100]), finding that there is substantial spatial variation in the number of hawks and doves at different patches in our domain. As the dynamics in the stochastic spatial model can encounter fluctuation across time in each simulation and across runs of our simulation, we will further look to characterize the extent to which we observe coherent spatial structure achieved due to spatial feedback arising from interaction between demographic and movement events. With the goal of detecting the achievement of spatial patterns in our stochastic model, we will now explore the spatial behavior of our model by averaging the results obtained over 100 simulations for each set of parameter values considered. This will allow us to examine the effects of different spatial movement parameters (μu≠μv) or different payoff sensitivities (wu≠wv) in promoting spatial patterns and different collective outcomes than achieved in a well-mixed population.

Fig. 2.

Fig. 2

Spatial distribution of population (left) and payoff (right), plotted by averaging over t∈[95,100] for each patch. The same set of parameters as in Fig. 1 is used. The resulting distributions are shown as scatter plots, with each dot representing the population or payoff of one patch. We run the simulation once, which results in the highly stochastic spatial distribution shown in the figures (color figure online)

Purely Diffusive Motion

We first consider the case of purely diffusive motion, in which individuals perform simple random walks in space and payoff has no effect on the direction of migration. In terms of our general model for payoff-driven motion, we can achieve the case of simple random walks by setting wu=wv=0 in the weight-of-migration functions fu and fv in Eq. (2.12). For the simulations of this diffusion model, we will fix the movement rate μv of doves and consider how changing the movement rate μu of hawks impacts emergent spatial patterns in our model. We illustrate the spatial profiles of population sizes and payoffs for each strategy achieved across our spatial domain in Fig. 3, displaying these spatial quantities averaged across the last five percent of time-steps in our simulation. For these time-averaged profiles, we see a spatially uniform state for the case of low hawk diffusivity, and see the emergence of a sinusoidal pattern for the simulations with greater values of μu. This behavior for large values of μu is reminiscent of the Turing instability in reaction-diffusion equations, with the faster diffusion of the hawks and slow diffusion of doves resembling the Turing mechanism of long-range inhibition and short-range activation (Dawes 2016; Murray 2007; Turing 1952). We find similar sinusoidal patterns in our PDE model for the case of purely diffusive motion in Fig. 9 in Sect. 4.3.

Fig. 3.

Fig. 3

Spatial distribution of population and payoff (left and right in each panel, respectively) observed in models with purely diffusive motion, with μu=1,25,50 and μv fixed at 0.2. Considering the stochastic nature of our model, we repeat each simulation 100 times and then take average over the resulting data. We slightly shrink pD dots for better visibility (color figure online)

Fig. 9.

Fig. 9

Steady-state spatial patterns of hawk (u, orange curve) and dove (v, blue curve) densities under pure diffusion for increasing values of hawk diffusivity Du. We show results for Du=10, 19.55, and 40, with Dv=0.1 fixed. All other parameters are identical to those used in Fig. 7 (color figure online)

In addition, we consider aggregate quantities achieved across our spatial domain, plotting in Fig. 4 the average population sizes and payoff achieved for each strategy as a function of the hawk movement rate μu for the cases of two fixed values of the dove movement rate μu. In each of these cases, we see that both the average payoff and average population size of each strategy increase with the hawk movement rate μu. This indicates that the collective outcome in the spatial population tends to be improved by the faster hawk diffusion, relative to the population and payoff achieved in a well-mixed population.

Fig. 4.

Fig. 4

Comparison of average population sizes and payoffs for hawks and doves with purely diffusive motion for the cases of μv=0.2 (top panels) and μv=2.0 (bottom panels). The plots are based on averages computed over 100 simulation runs. The horizontal axes describe different values for μu: μu∈[0,75] with step size 1 in the μv=0.2 case, and μu∈[0,300] with step size 5 in the μv=2.0 case. The vertical axes are the average population/payoff across the 100 patches averaged over the last five percent of simulation time for each patch. The dashed lines mark the critical threshold for μU∗ computed using our PDE model, where we expect μU to be at least 49μV for pattern formation. In the two cases above, we compute threshold values μU∗=9.8 and 98. These dashed lines are derived from a lower bound on the ratio μuμv required to produce spatial patterns in the reaction-diffusion PDE model of Eq. (), whose derivation we present in Sect. C.3 in the appendix (color figure online)

We also see that the two quantities appear to have a discontinuous change when hawk mobility μu passes a value slightly less than 50μv, with the quantities seeing roughly constant values when μu<50μv and much stronger increases in population and payoff when μu>50. This suggests that the relative ratio of μuμv slightly below 50 may correspond to a Turing instability in the stochastic model, and we will see that a relatively comparable Turing threshold appears in the PDE reaction-diffusion model in Sect. 4.3 and analogous game-theoretic and ecological parameters.

In addition, we compare this phase-transition like behavior in μu in the stochastic model to a lower bound on the ratio μuμv for the PDE model in the reaction-diffusion of Eq. (), which we plot with a dashed line in Fig. 4. This lower bound on μuμv is derived in Sect. C.3 of the appendix, and takes a value of approximately 49 for the parameters considered in this model. This further suggests that a Turing-like transition may be occurring for stochastic model when μuμv is close to 49, and we see a reasonably good agreement with the PDE threshold and the apparent threshold for the stochastic model for the case of μv=2. (as seen in the lower panels of Fig. 4). For the case of μv=0.2, we instead see that the transition to pattern-like behavior occurs for lower values in the stochastic model than is possible in the PDE model, suggesting perhaps that the stochastic model is more capable of supporting pattern-like behavior than its deterministic counterpart.

Remark 1

In individual-based reaction-diffusion models, the emergence of spatial patterns can occur both due to the activator-inhibitor effects of the Turing mechanism and to the role of spatial and temporal fluctuations due to the underlying stochasticity of the birth, death, and movement events. After averaging the outputs of our stochastic model over sets of 100 simulations for each parameter, we still see a slight difference between the threshold ratio on movement rates μuμv relative to the lower bound on the movement rates that is necessary for pattern formation in the PDE model of reaction-diffusion dynamics (as derived in Sect. C.3 of the appendix). In particular, we see that there are ratios of movement rates for which the stochastic model appears to produce pattern-like behavior even though the PDE model would predict stability of the spatially uniform state, suggesting that the fluctuations present in the stochastic model can help to further enhance spatial clustering and promote self-organization of regions of greater population density and greater payoff. Such an increase in the parameter regime allowing for spatial patterns in the presence of stochasticity has also been observed in related models in the literature on theoretical ecology and biochemical reaction networks (Butler and Goldenfeld 2009, 2011; Karig et al. 2018; Cao and Erban 2014; Kim and Bressloff 2020), and techniques for linear stability analysis for stochastic Turing patterns have similarly suggested that the stochastic spatial models are more conducive to pattern formation than their deterministic counterparts.

Payoff-Driven Motion

We next consider the case of payoff-driven motion, specifically the case of the exponential movement rules fu(wupH)=exp(wupH) and fv(wvpD)=exp(wvpD) with positive payoff sensitivities wu and wv for the hawks and doves. In these simulations, we use the same game-theoretic and ecological parameters as in past sections, consider the case equal movement rates μu=μv=1 for the two strategies, fix the hawk payoff sensitivity wu=0.1, and then explore how varying the dove payoff sensitivity wv impacts the dynamics of our stochastic spatial models. In Fig. 5, we present the spatial profiles of the population sizes and average payoffs for each strategy, considering the averaged values achieved at each spatial grid point for the last five percent of time-steps in our simulation. We see that the time-averaged profiles converge to a spatially uniform state at the equilibrium values expected from the ODE dynamics for our hawk-dove game for the case of low dove payoff sensitivity (for wv=0), while we see the emergence of patterned spatial profiles as we increase the strength of directed motion for doves. Notably, it appears that the patterns deviate somewhat from the sinusoidal spatial profiles seen in Fig. 3 for the case of purely diffusive motion, with relatively rough patterns seen in the case of sufficiently strong payoff-driven motion (for wv=60).

Fig. 5.

Fig. 5

Spatial distribution of population and payoff (left and right in each panel, respectively) observed in models with payoff-driven motion, with wu fixed at 0.1, wv=0,6,20,60, and μu=μv=1. Each simulation is repeated 100 times (color figure online)

We can also consider the average population sizes and payoffs achieved by both strategies under this model of payoff-driven motion, exploring how the dove payoff sensitivity wv impacts the collective payoff of the population. In Fig. 6, we plot the average values of these quantities achieved over a set of 100 simulations, indicating that both population and size both appear to have a non-monotonic dependence on wv. In particular, we see that the average population size and payoff are both constant for weak payoff-driven motion (for wv between approximately 0 and 6), and then these quantities all rapidly decrease at wv≈6. While the payoffs and population sizes later generally appear to experience a slight increase for wv>10, we still see that the dynamics of the spatial model with sufficiently large wv produce more lower payoffs and population sizes relative to the equilibrium values predicted in the well-mixed model. Notably, the hawks achieve a much lower average payoff than the doves in the patterned state, so doves may benefit when considering their payoff relative to doves, although both strategies achieve much lower payoffs for large wv than experienced in the absence of spatial motion.

Fig. 6.

Fig. 6

Average population (left) and payoff (right) across the spatial domain in payoff-driven case, with wu=0.1, wv∈[0,60], and μu=μv=1. In order to capture the sharp decrease within the interval wv∈[5,8], we use a finer step size of 0.2 in that region; while a coarser step size of 1 is used in the remainder of the domain. We repeat each simulation 100 times and plot with the average data (color figure online)

PDE results for Turing and fully payoff-driven instability

We will now consider spatial pattern formation in our PDE model. We first review the conditions required for the stability of the coexistence equilibrium under the hawk-dove dynamics (Sect. 4.1), and then we present general results for the linear stability analysis of spatially uniform states under the dynamics of our PDE model (Sect. 4.2). We then examine the conditions for Turing instability and the resulting spatial patterns for the case of purely diffusive motion (Sect. 4.3), and we demonstrate the finite wavenumber patterns are not possible in our model of payoff-driven motion for the case of the C-V hawk-dove game and equal diffusivities for hawks and doves (Sect. 4.4).

Conditions for Stability of Equilibrium Under Reaction Dynamics

We first consider the equilibrium points of the reaction dynamics from Eq. (2.5), which are given by

dudt=a(u,v):=upH(u,v)-κ(u+v), 4.1
dvdt=b(u,v):=vpD(u,v)-κ(u+v). 4.2

Such equilibrium points consist of population states (u,v)=(u0,v0) that satisfy the equilibrium condition

u0pH(u0,v0)-κ(u0+v0)=0 4.3a
v0pD(u0,v0)-κ(u0+v0)=0, 4.3b

and we recall that a coexistence equilibrium for the two-strategies of a hawk-dove game with resource value V and fighting cost C is given by

u0,v0=C-VV22κC2,VC-V22κC2. 4.4

We can assess the stability of an equilibrium by considering the Jacobian matrix of the right-hand side of Eq. (2.5) evaluated at the point (u0,v0), which we can write as

J(u0,v0)=∂a∂u∂a∂v∂b∂u∂b∂v|(u,v)=(u0,v0)=:a1a2b1b2. 4.5

In particular, we see that the linearization of the coexistence equilibrium for the hawk-dove game with the payoff matrix of Eq. (2.3) has entries given by

a1=∂∂u(u(pH-κ(u+v)))|u=u0,v=v0=V(-C+V)(C+2V)2C2<0 4.6a
a2=∂∂v(u(pH-κ(u+v)))|u=u0,v=v0=V3C2>0 4.6b
b1=∂∂u(v(pD-κ(u+v)))|u=u0,v=v0=-V(V-C)2C2<0. 4.6c
b2=∂∂v(v(pD-κ(u+v)))|u=u0,v=v0=V(V-C)(C-2V)2C2. 4.6d

In particular, we see that b2>0 if C<2V, while b2<0 when C>2V.

Remark 2

 From the partial derivatives calculated in Eq. (), we see that the linearization of our reaction terms will have the activator-inhibitor sign pattern if C<2V, with the dove playing the role of the activator and the hawk playing the role of the inhibitor. This means that it is possible to generate spatial patterns for games with this payoff matrix via a Turing instability. Therefore, spatial pattern formation can occur in our spatial model of hawk-dove games in the absence of payoff-driven motion, but that adding payoff-driven motion would be required for other Hawk-Dove games with C≥2V.

Linear Stability Analysis of PDE Model with Diffusive and Payoff-Driven Motion

We now look to analyze the stability of a spatially uniform state (u(x),v(x))=(u0,v0) with the constant densities corresponding to a stable coexistence equilibrium of hawks and doves under the reaction dynamics. To study the stability of this uniform equilibrium under the PDE model of Eq. (B.23), we consider a small perturbation from the uniform state taking the form

u(t,x)=u0+ϵu1(t,x) 4.7a
v(t,x)=v0+ϵv1(t,x), 4.7b

and plug these perturbations into both sides of Eq. (2.15). We show in Sect. C that, after performing a perturbation expansion of the right-hand side and retaining only terms of order ϵ, the functions u1(t,x) and v1(t,x) satisfy the following linear system of PDEs

∂u1∂t=Du1-2wuu0c1∂2u1∂x2-2Duwuu0c2∂2v1∂x2+a1u1+a2v1 4.8a
∂v1∂t=-2Dvwvv0c3∂2u1∂x2+Dv1-2wvv0c4∂2v1∂x2+b1u1+b2v1 4.8b

where a1, a2, b1, and b2 are the entries of the linearization for the reaction dynamics and the constants c1, c2, c3, and c4 are given by

c1=fu′wupHu,vfuwupHu,v∂pHu,v∂u|u=u0,v=v0 4.9a
c2=fu′wupHu,vfuwupHu,v∂pHu,v∂v|u=u0,v=v0 4.9b
c3=fv′wvpDu,vfvwvpDu,v∂pDu,v∂u|u=u0,v=v0 4.9c
c4=fv′wvpDu,vfvwvpDu,v∂pDu,v∂v|u=u0,v=v0. 4.9d

Due to our assumption of zero-flux boundary conditions, we consider the following ansatz for a solution to this linearized system featuring a sinusoidal spatial profile with wavenumber m

u1(t,x)=ku1eσmtcosmπxl,v1(t,x)=kv1eσmtcosmπxl, 4.10

and we note that these expressions for u1(t,x) and v1(t,x) will be a solution to linearized system provided that the following linear system is satisfied:

σmku1=a1-Dumπl2+2Duwuc1u0mπl2ku1+a2+2Duwuc2u0mπl2kv1σmkv1=b1+2Dvwvc3v0mπl2ku1+b2-Dvmπl2+2Dvwvc4v0mπl2kv1. 4.11

Rewriting Eq. (4.11) in matrix form yields

σmku1kv1=a1-Du1-2wuc1u0mπl2a2+2Duwuc2u0mπl2b1+2Dvwvc3v0mπl2b2-Dv1-2wvc4v0mπl2⏟:=A(m)ku1kv1, 4.12

so the growth rate σm is an eigenvalue of the linearization matrix A(m). We therefore expect perturbations with wavenumber m to grow if the matrix A(m) has an eigenvalue with positive real part, so we will characterize the formation of spatial patterns by evaluating the trace and determinant of A(m) for each wavenumber m.

Results for Purely Diffusive Motion

We first consider stability of the uniform state (u0,v0) in the absence of payoff-driven motion, which occurs when wu=wv=0 and our PDE model reduces to the reaction-diffusion system from Eq. (). While our analysis of the reaction-diffusion dynamics follows the standard approach for studying Turing instability in a one-dimensional interval (Murray 2007; Keener 2021), we include these calculations both for completeness and to understand how our assumptions about the payoffs from the Hawk-Dove game and reaction dynamics due to our mix of payoff-dependent reproduction events and density-dependent regulation can help to shape an activator-inhibitor relationship between doves and hawks.

In the reaction-diffusion case, the linearization A(m) of the PDE system for perturbations of wavenumber m reduces to the following matrix

ARD(m)=a1-Dumπl2a2b1b2-Dvmπl2. 4.13

For the underlying ODE system (without diffusion) to be stable, the standard stability criteria must be satisfied:

a1+b2<0,anda1b2-a2b1>0. 4.14

The conditions for diffusion-driven (Turing) instability are characterized by the following inequalities:

tr(ARD(m))=a1+b2-(Du+Dv)mπl2<0 4.15a
det(ARD(m))=a1b2-a2b1-(a1Dv+b2Du)mπl2+DuDvmπl4>0. 4.15b

For a homogeneous equilibrium (u0,v0) that is stable under the reaction dynamics, we have that a1+b2<0, so the trace in Eq. (4.15a) will always be negative for any non-negative diffusivities Du and Dv. We therefore seek conditions on the diffusivities Du and Dv and wavenumber m for which it is possible to achieve instability of the uniform state by examining the condition det(ARD(m))<0. If this inequality holds det(ARD(m)), we will further have that

Dvmπl4-b2mπl2Du<a1Dvmπl2+b1a2-a1b2, 4.16

and we can use this inequality to deduce necessary and sufficient conditions for Turing instablity in our model. Because the diffusivities Du and Dv are non-negative and the term a1b2-a2b1>0 due to the stability of the reaction dynamics in the absence of diffusion, this inequality can only hold if the term in parenthesis on the right-hand side is positive. Therefore we see that this inequality can only hold for sufficiently small wavenumbers satisfying

m≤mc:=lπb2Dv. 4.17

We can then see that for m≤mc, the uniform state will be unstable to a cosine-wave perturbation with wavenumber m provided that the diffusivity of the hawks Du satisfies the following inequality

Du>Du∗(m):=a1Dvmπl2+b1a2-a1b2Dvmπl4-b2mπl2. 4.18

Illustration of Emergent Patterns Using Numerical Simulations

To explore the long-term behavior of spatial patterns in the absence of payoff-driven motion, we perform numerical simulations of the PDE system using a hawk diffusivity value slightly above the critical threshold (Du=4.93), starting from an initial condition with a small perturbation from the uniform coexistence equilibrium given by

u(0,xi)=u0+2U(xi) 4.19a
v(0,xi)=v0+V(xi), 4.19b

where U(xi) and V(xi) are drawn independently from the uniform distribution on [-1,1] for each grid-point xi in our discretized spatial domain. We run the simulation for a large number of time-steps and plot the resulting population densities and spatial profiles of payoff for each strategy in Fig. 8. We see that the resulting spatial patterns of population densities and payoffs both display sinusoidal shapes and that the distribution of hawks and doves and their respective payoffs are positively correlated, with individuals following each strategy achieving a higher payoff at spatial locations featuring higher population density of the two strategies. The six peaks seen in the spatial patterns also correspond to the most unstable wavenumber of m∗=12 seen from the linear stability analysis in Fig. 7, suggesting that the linear stability analysis provides a helpful prediction of the emergent spatial patterns for diffusivities close to the threshold hawk diffusivity Du∗≈4.917.

Fig. 8.

Fig. 8

Spatial patterns for hawks (u) and doves (v), and their associated payoffs, under pure diffusion with Du=4.93>Du∗ and Dv=0.1 after running numerical simulation until time t=106. (a) Cosine-like spatial patterns in population densities. (b) Corresponding periodic patterns in payoffs. All other parameters are identical to those used in Fig. 7. We note that the patterns in population density and payoff feature six full peaks, corresponding to a wavelength of λ=l6=406 and a wavenumber k=2πλ=3π10. As we wrote the sinusoidal perturbations proportional to cosπmxl with corresponding wavenumber k=mπl=mπ40, we can see that the patterns observed in the numerical simulation correspond to the index m=m∗=12, corresponding to the most unstable wavenumber observed in our linear stability analysis (color figure online)

Fig. 7.

Fig. 7

Critical hawk diffusivity Du∗ as a function of wavenumber m, characterizing the threshold above (or below) which diffusion-driven pattern formation occurs. (a) Full plot of Du∗(m) showing that pattern formation is feasible only for m<m∗≈18.98. The minimum occurs at m=12, yielding Du∗≈4.917. (b) Zoomed-in view highlighting the behavior near the critical minimum. The values of Du∗(m) are calculated using the hawk-dove payoff matrix with V=4 and C=6, dove diffusivity Dv=0.1, carrying capacity κ=0.001, and domain length l=40 (color figure online)

To further examine the influence of hawk diffusivity on the steady-state spatial structure, we conduct additional simulations at progressively larger values of Du and present the resulting spatial profiles of hawks and doves in Fig. 9. We see that the number of peaks in the pattern tends to decrease with increased Du, and that the patterns tend to deviate more from the sinusoidal profile centered on the coexistence equilibrium level that is seen close to the threshold in Fig. 8 and predicted by the linear stability analysis. Instead, the spatial patterns appear to follow a more asymmetric oscillation around the equilibrium density levels, beginning to approach a mesa-like pattern that has often been observed in reaction-diffusion equations in the limit of large ratios between the diffusion coefficients Kolokolnikov et al. (2007). In particular, we see that the distribution of doves becomes strongly concentrated upon regions of high population density for both strategies, while the hawks maintain a higher baseline population density across the domain and a less pronounced peak at the locations with high concentration of doves.

Given the qualitative changes we have seen in the spatial patterns of hawks and doves as we increase the hawk diffusivity Du, we would also like to quantify how changing hawk diffusivity can impact the collective outcome for each of the two strategies. We provide comparisons of the population and payoff of each strategy in Fig. 10, and choose to quantify aggregate success of hawks and doves by plotting the average density of each strategy

⟨u⟩(t)=1l∫0lu(t,x)dx 4.20a
⟨v⟩(t)=1l∫0lv(t,x)dx 4.20b

across the spatial domain, as well as the average payoff for each strategy

⟨pH⟩(t)=∫0lpHu(t,x),v(t,x)u(t,x)dx∫0lu(t,x)dx 4.21a
⟨pD⟩(t)=∫0lpDu(t,x),v(t,x)v(t,x)dx∫0lv(t,x)dx 4.21b

across the spatial domain. We also compare these collective outcomes achieved in the simulations of our reaction-diffusion model to the uniform equilibrium values achieved in the absence of spatial motion, which are given by ⟨pH⟩=⟨pD⟩=23, ⟨u⟩=40009, and ⟨v⟩=20009 for our given hawk-dove game and strength of density-dependent regulation.

Fig. 10.

Fig. 10

Effect of hawk diffusivity Du on spatially averaged population densities and payoffs. The vertical dashed line indicates the critical threshold Du∗ for pattern formation. Averages are computed over 50 simulations with different initial conditions for each value of Du, where Du is varied from 4 to 9 in increments of 0.05. All other parameters are identical to those used in Fig. 7. (a) Densities of hawks (u) and doves (v). (b) Corresponding average payoffs for hawks (pH) and doves (pD). Uniform equilibrium values are shown as horizontal dashed lines. We simulate the system using 50 different initial conditions for each value of Du, generating different perturbations of the uniform state with small uniform noise. We calculate the spatial averages for each realization, and then compute the mean over all simulations (color figure online)

We find that as Du increases beyond the critical threshold Du∗, the average population densities and payoffs for both hawks and doves increase. In particular, this behavior agrees with the outcome seen in the stochastic spatial model shown in Fig. 4, suggesting that the Turing patterning mechanism in the diffusive model helps to promote population and payoff for hawks and doves in both the individual-based and mean-field descriptions of spatial hawk-dove games with diffusive motion. Another point of agreement we see between the PDE and stochastic model is that the threshold diffusivity Du∗≈4.917 for pattern formation is slightly less than fifty times the diffusivity Dv=0.1, similar to the ratio of movement rates required to generate patterns in the stochastic spatial model.

Results for Payoff-Driven Motion with Equal Mobilities for Each Strategy

We now consider the possibility of spatial pattern formation in the presence of payoff-driven motion. We focus on the case of Du=Dv with equal diffusivities for the two strategies, looking to explore how the relative sensitivities to payoff wu and wv impact the possibility of forming spatial aggregations. In particular, we look to find conditions on the sensitivity wv of payoff-driven motion for doves to allow the formation of spatial patterns, and whether such patterns can result in a finite dominant wavenumber that characterizes the pattern near onset of instability.

In the presence of payoff-driven motion, the two possible conditions for the growth of perturbations with wavenumber m are

tr(A(m))=-Du+Dv+2wuc1u0+2wvc4v0mπl2+a1+b2>0 4.22

or

det(A(m))=a1-Du1-2wuc1u0mπl2b2-Dv1-2wvc4v0mπl2-a2+2Duwuc2u0mπl2b1+2Dvwvc3v0mπl2<0. 4.23

For simplicity, we will consider the conditions for instability in the case of the exponential movement rules given by fu(wupH)=ewupH and fv(wvpD)=ewvpD. For this movement rule and the hawk-dove game with resource V and fighting cost C, we see that the constants c1, c2, c3, and c4 take the form

c1=-(V+C)v02u0+v02<0c2=(V+C)u02u0+v02>0c3=-Vv02u0+v02<0c4=Vu02u0+v02>0, 4.24

Because we require that a1+b2<0 to ensure stability of the Hawk-Dove coexistence equilibrium in the absence of spatial motion, we see from Eq. (4.22) that it will only be possible to obtain a positive trace provided that the coefficient of the quadratic term in Eq. (4.22) is positive. Using this observation and the expressions from Eq. (4.24), we see that a positive trace will only be possible if

-Duwuu0(V+C)v0u0+v02+Dvwvv0Vu0u0+v02-Du-Dv+a1+b2>0. 4.25

We can rearrange this inequality to see that a necessary condition for tr(A(m))>0 is that the payoff sensitivity wv for doves satisfies

wv>wvI:=u0+v02Dvu0v0VDu+Dv+Duwuu0v0(V+C)u0+v02. 4.26

In particular, we see from Eq. (4.22) that the tr(A(m)) is a quadratic function of the wavenumber m, and therefore we see that the condition wv>wvI would imply that the tr(A(m)) would be positive for infinitely many wavenumbers m.

We can now look to analyze the possibility of pattern formation through the determinant becoming negative for some wavenumber m. We note that the determinant is given by the following quartic polynomial of the wavenumber m

det(A(m))=αmπl4+βmπl2+γ, 4.27

where the coefficients α, β, and γ are given by

α=-Du-Duwuu0v0(V+C)(u0+v0)2-Dv+Dvwvu0v0V(u0+v0)2 4.28a
+Duwuu02(V+C)(u0+v0)2·Dvwvv02V(u0+v0)2β=a1-Dv+Dvwvu0v0V(u0+v0)2+b2-Du-Duwuu0v0(V+C)(u0+v0)2 4.28b
+a2Dvwvv02V(u0+v0)2-b1Duwuu02(V+C)(u0+v0)2γ=a1b2-b1a2. 4.28c

In addition, we know that γ>0 due to our assumption on the stability of the coexistence equilibrium under the reaction dynamics.

From the form of this determinant, we see that there are two possible ways to achieve det(A(m))<0 for a given wavenumber m: either we have that α<0 or we have that α>0 and β is sufficiently negative to allow a band of unstable wavenumbers. From Eq. (4.28a), we see that α<0 provided that the payoff sensitivity of doves satisfies

wv>wvII:=(u0+v0)2u0v0V1+wuu0v0(V+C)(u0+v0)2. 4.29

In this case, the quartic term of Eq. (4.27) has a negative coefficient, so we expect that det(A(m))<0 for sufficiently large wavenumbers m when α<0. This again produces infinitely many unstable wavenumbers, so we must turn to the case of α>0 to explore conditions in which biologically feasible spatial patterns can emerge due to the effects of payoff-driven motion. To explore the possibility of pattern formation with a finite dominant wavenumber, we look to find a positive root to the expression of det(A(m)) from Eq. (4.27) when interpreted as a quadratic polynomial in the variable q:=mπl2. For this polynomial, the roots are given by

q±:=-β±β2-4αγ2α. 4.30

For the case in which α>0, we therefore see that there are two necessary conditions to have a positive root in the form of Eq. (4.30):

  • (i)

    β<0

  • (ii)

    β2-4αγ>0.

In particular, the emergence of a finite wavenumber pattern can only occur if wv is sufficiently large for both of these conditions to hold. Using the expression for β from Eq. (4.28b), we can see that β<0 when wv satisfies the following condition

wv>wvIIIa:=u0+v02a1u0+a2v0Dvv0Va1Dv+b2Du+b1u0+b2v0Duu0V+Cwuu0+v02. 4.31

We can derive a similar lower bound wvIIIb to ensure that the condition β2-4αγ>0 holds, but we postpone the derivation of this threshold quantity to Sect. C.2 of the appendix. By combining these two threshold quantities, we see that a necessary condition for the emergence of a finite range of unstable wavenumbers provided that

wv>wvIII:=maxwvIIIa,wvIIIb. 4.32

At this point, we can compare three of the thresholds on wv that we have found to see whether finite wavenumber patterns are possible by payoff-driven motion for the case of equal diffusivities for the hawk-dove game with the C-V payoff matrix. For this class of games, we can apply the expressions from Eq. (4.24) to the threshold quantities wvI, wvII, and wvIIIa to see that

wvI=C2Du+Dv+DuVwuC-VC+VDvV2C-V 4.33a
wvII=C2+VwuC-VC+VV2C-V 4.33b
wvIIIa=CDuC-2V+DvC+2V+DuVwuC-VC+VDvV2C-V. 4.33c

For the case of equal diffusivities Du=Dv, we see that the threshold quantities satisfy wvIIIa=wvI and wvIIIa>wvII, and we illustrate the behavior of these three threshold quantities as functions of hawk payoff sensitivity wu in Fig. 11. Because wv>wvIIIa is a necessary condition to obtain finitely many unstable wavenumbers and w>wvII is a sufficient condition for having infinitely many unstable wavenumbers, we see that it is not possible to achieve a finite wavenumber pattern for the C-V Hawk-Dove game and equal diffusivity of the two strategies.

Fig. 11.

Fig. 11

Critical thresholds wvI (blue solid line), wvII (orange solid line), and wvIII (maize dashed line) for the emergence of spatial patterns, plotted as functions of the payoff-driven weight for hawks wu. The diffusivities are set to Du=Dv=0.1, and wu is varied from 0 to 0.5. All other parameters are identical to those used in Fig. 7. The complete overlap of wvII and wvIII suggests that the pattern-forming instability emerges simultaneously for infinitely many wavenumbers (color figure online)

However, we can also use the threshold quantity wvIIIb derived in Sect. C.2 to explore whether it is possible to achieve finite wavenumber patterns if Du≠Dv. To do this, we must find a senstitivity of payoff-driven motion satisfying

wvIII<wv<minwvI,wvII. 4.34

We show in Sect. 5 that it is possible to find such a value of wv provided that Du>Dv, allowing us to combine the effects of differential diffusivity and different sensitivites to payoff for hawks and doves.

Comparing the Stochastic and PDE Models with Mixed Effects of Diffusion and Directed Motion

As we saw in Sect. 4 that the PDE model produces an infinite wavenumber instability in the case of payoff-driven motion with equal diffusivity of hawks and doves, we have not yet been able to get much of a quantitative or qualitative understanding of the effects of payoff-driven motion on the collective behavior of the population in the large population limit. To remedy this, we look to explore how a mix of different movement rates (μu≠μv or Du≠Dv) and different payoff sensitivities (wu≠wv) can help to produce spatial patterns and impact the collective outcomes of each strategy. In particular, we consider how a mix of increased diffusivity of the hawks (with μu>μv or Du>Dv) and increased payoff sensitivity of doves (wv>wu) can contribute to the formation of spatial patterns in both the PDE model and the stochastic spatial model. We first illustrate how the combination of these two mechanisms can promote spatial pattern formation with a finite wavenumber in Sect. 5.1, and then we provide a comparison between the collective outcomes achieved under these mixed effects in the PDE and stochastic spatial models in Sect. 5.2.

PDE Results for Pattern Formation under Mixed Diffusion and Payoff Effects

We now look to explore the possibility of achieving spatial pattern formation in the PDE model for parameter regimes for which it is not possible to destabilize the uniform state due to the effects of either differences in diffusivity or differences in payoff sensitivity on their own. In particular, we recall that we found the critical threshold for dove diffusivity Du∗=4.917 using Eq. 4.18 for the reaction-diffusion model and our choice of game-theoretic and ecology parameters. If we fix the dove diffusivity at Dv=0.1 and Du=4.2, we cannot expect the emergence of spatial patterns by the Turing mechanism alone, so we look to numerically compute the three critical thresholds wvI, wvII, and wvIII as functions of wu in Fig. 12 required to achieve a spatial pattern for sufficiently strong payoff sensitivity wv of doves. As shown in Fig. 12a, we observe a small gap between wvII (blue solid line) and wvIII (yellow dashed line), indicating the possibility of achieving spatial patterns with a finite dominant wavenumber for these values of wu and wv. Notably, the range of dove payoff sensitivities wv that allow finite wavenumber patterns decreases with the payoff sensitivity of hawks wu, so the possibility of achieving physically meaningful spatial patterns due to payoff-driven motion is most feasible when hawks move faster than doves (with Du>Dv) and doves are more capable of moving towards locations with greater payoff (with wv>wu).

Fig. 12.

Fig. 12

Critical thresholds wvI (blue solid line), wvII (orange solid line), and wvIII (green dashed line) as functions of the payoff-driven weight for hawks wu, plotted for the case where Du=4.2<Du∗ and Dv=0.1. All other parameters are identical to those in Fig. 7. Panel (a) shows the full range of thresholds, while panel (b) provides a zoomed-in view of the region where wvII and wvIII slightly diverge, indicating the presence of a finite-wavenumber instability (color figure online)

Exploration of PDE and Stochastic Models for Different Mobilities and Payoff Sensitivities

Now that we have seen that the interaction of differing diffusivities and differing payoff sensitivities can promote finite wavenumber patterns, we can look to explore how increasing the dove payoff sensitivity can impact spatial patterns in both the PDE and stochastic model. We start by presenting in Fig. 13 the average population densities and average payoffs achieved by each strategy as we increase the payoff sensitivity wv of doves. We find that the number of hawks decreases as we increase wv above the pattern formation threshold, while the number of doves increases across the spatial domain. The average payoff increases with dove payoff sensitivity for each strategy for wv>wv∗, but we see that dove achieves a higher average payoff than hawks over the spatial domain in the pattern-forming regime.

Fig. 13.

Fig. 13

Effect of the payoff sensitivity of doves wv on spatially averaged population densities and payoffs under mixed diffusion and payoff-driven motion. We fix wu=0.05 and vary wv from 0.75 to 1.1 in increments of 0.005. The vertical dashed line marks the critical threshold wv∗=0.848 for pattern formation. (a) Average densities of hawks (u) and doves (v). (b) Corresponding average payoffs of hawks (pH) and doves (pD) (color figure online)

We also perform analogous simulations for the stochastic spatial model in Fig. 14. We find that the average population sizes for the hawks and doves follow a similar trend to the PDE model in this case, with the number of doves increasing and the number of hawks decrease as the payoff sensitivity wv of doves is increased. However, we see a contrast with the results from the PDE simulation for the average payoffs achieved by each strategy, as both the hawks and doves experience decreasing average payoff across the spatial domain with increasing payoff sensitivity for doves. As with the case of the PDE model, we see that the average payoffs of the doves exceeds the payoff achieved by hawks in this parameter regime. In particular, we see that the simulations of our PDE and stochastic model agree overall on the relative collective success of hawks and doves across the spatial domain, but the two modeling frameworks differ regarding whether payoff-driven motion can help to promote the average outcome relative to the payoff that would be achieved in the absence of spatial motion.

Fig. 14.

Fig. 14

Average population (left) and payoff (right) versus wv in the stochastic model, using μu=4.8,μv=0.1,wu=0.1, and wv∈[0,80] with step size 1. We repeat each simulation 100 times and plot with the average data (color figure online)

Extension of the PDE Model Incorporating Nonlocal Payoff-Driven Motion

As we have seen that the PDE model of payoff-driven motion displays a short-wave instability in the case of equal diffusivities for the two strategies, we now look to consider modifications of our model of payoff-driven motion to allow the possibility of pattern formation with a finite characteristic wavenumber. To do this, we consider an extension of our model for payoff-driven motion in which individuals consider the average payoff that their strategy achieves over a small interval of width 2ρ around their current location. We assume that individuals consider the gradient of their strategy’s payoff relative to this spatially averaged payoff, and we can model the spatial distribution of hawks u(t, x) and doves v(t, x) using the following system of nonlocal PDEs:

∂u(t,x)∂t=Du∂2u(t,x)∂x2+upH(u(t,x),v(t,x))-κu(t,x)+v(t,x)-2Du∂∂xu(t,x)∂∂x∫x-ρx+ρ12ρlogfuwupHu(t,y),v(t,y)dy 6.1a
∂v(t,x)∂t=Dv∂2v(t,x)∂x2+vpD(u(t,x),v(t,x))-κu(t,x)+v(t,x)-2Dv∂∂xv(t,x)∂∂x∫x-ρx+ρ12ρlogfvwvpDu(t,y),v(t,y)dy. 6.1b

We can also evaluate the inner derivative in this system of PDEs to remove the integral term, resulting in the follow system of PDEs for the nonlocal evaluation of the payoff gradient:

∂u(t,x)∂t=Du∂2u(t,x)∂x2+upH(u(t,x),v(t,x))-κu(t,x)+v(t,x)-2Du∂∂xu(t,x)12ρlog(fu(u(t,x+ρ),v(t,x+ρ)))-log(fu(u(t,x-ρ),v(t,x-ρ))) 6.2a
∂v(t,x)∂t=Dv∂2v(t,x)∂x2+vpD(u(t,x),v(t,x))-κu(t,x)+v(t,x)-2Dv∂∂xv(t,x)12ρlog(fv(u(t,x+ρ),v(t,x+ρ)))-log(fv(u(t,x-ρ),v(t,x-ρ))). 6.2b

Due to the dependence of the change in the hawk and dove densities at location x depending on the payoffs of individuals at locations x-ρ and x+ρ, it is natural to consider our system of PDEs on a one-dimensional interval with x∈[0,L] with periodic boundary conditions.

This choice of nonlocal sensing is motivated by nonlocal models for chemotaxis, which biologically allow for the possibility of finite precision of sampling the environment and mathematically helps to smooth out the feedback between payoff-driven motion and climbing the gradient of a strategy’s own population density (Hillen et al. 2007; Hillen and Painter 2009; Buttenschön et al. 2018). We will show in Sect. 6.1 that this version of nonlocal payoff evaluation can allow for spatial instability of the uniform state, and that such patterns can only be achieved by finitely many wavenumbers.

Remark 3

There are a range of biological assumptions that can produce a PDE model with non-local cross-diffusion, featuring individuals that can perceive environmental information and detect environmental gradients across a spatial range around their current location (Wang and Salmaniw 2023). This nonlocal knowledge of the environment can rely upon range sensory information acquired by vision, olfaction, or chemical sensitivity (Wang and Salmaniw 2023), but mathematical models with nonlocal information can also arise as a description of spatial or temporal memory (Taylor et al. 2020; Krause and Van Gorder 2020; Potts and Lewis 2016, 2019; Galiano 2011). The smoothing effect caused by nonlocal perception can also represent an imperfect environmental perception or the diffusion of memory of nearby payoff in the population (Taylor et al. 2020; Potts and Lewis 2016), with the nonlocal form arising as a quasi-steady-state approximation for local PDE models featuring directed motion towards an explicitly modeled signaling or memory field evolving across the spatial domain (Buttenschön et al. 2024; Topaz et al. 2006). In the context of evolutionary game theory, we could consider such a signaling or memory mechanism communicating an imperfect spatial perception of payoff through the presence of a public good (Young and Belmonte 2018; Pepper and Smuts 2002; Pepper 2007) or a common-pool resource (Tilman et al. 2017, 2020; Weitz et al. 2016; Yao and Cooney 2025), unifying local models of evolutionary games with environmental feedback with non-local models of evolutionary games with payoff-driven motion.

Linear Stability Analysis

As with our local PDE model, we will consider the stability of the uniform coexistence equilibrium (u0,v0) in the Hawk-Dove game by linearizing our nonlocal PDE model around (u0,v0). To do this, we consider solutions u(t, x) and v(t, x) taking the form

u(t,x)=u0+ϵu1(t,x), 6.3a
v(t,x)=v0+ϵv1(t,x). 6.3b

for a small parameter ϵ.Substituting these expressions for u(t, x) and v(t, x) into the nonlinear system of PDEs for Eq. (6.2a), we can neglect the nonlinear terms of order ϵ2 and use the fact that (u0,v0) is an equilibrium of the ODE system to obtain the following linearization of our PDE model:

∂u1(t,x)∂t=Du∂2u1(t,x)∂x2+a1u1(t,x)+a2v1(t,x) 6.4a
-Duwuu0ρ∂∂xc1(u1(t,x+ρ)-u1(t,x-ρ))+c2(v1(t,x+ρ)-v1(t,x-ρ)), 6.4b
∂v1(t,x)∂t=Dv∂2v1(t,x)∂x2+b1u1(t,x)+b2v1(t,x) 6.4c
-Dvwvv0ρ∂∂xc3(u1(t,x+ρ)-u1(t,x-ρ))+c4(v1(t,x+ρ)-v1(t,x-ρ)), 6.4d

where a1, a2, b1, b2 are the entries of the Jacobian matrix for the reaction terms and c1, c2, c3, and c4 are the constants from Eq. (4.24) describing the partial derivatives for the weight functions fu(·) and fv(·) for payoff-driven motion evaluated at the uniform coexistence state. We present the full details for the derivation of Sect. D of the appendix.

To assess the stability of the equilibrium, we consider the following ansatz for solutions to the linearized system with wavenumber 2m:

u1(t,x)=u^1eσmtcos2mπxl,v1(t,x)=v^1eσmtcos2mπxl. 6.5

where u^1 and v^1 are constants and and σ is the growth rate of the pattern with wavenumber 2m, and we choose this form of the sinusoidal perturbation to satisfy the periodic boundary conditions for our nonlocal PDE model. To write our solutions in terms of this ansatz, we first substitute these expressions into the payoff-driven motion term and apply the sum and difference identities for sine and cosine to see that

-Duwuu0ρ∂∂xc1(u1(t,x+ρ)-u1(t,x-ρ))+c2(v1(t,x+ρ)-v1(t,x-ρ))-Duwuu0ρ∂∂xc1u1^eσmt+c2v1^eσmtcos2mπx+ρl-cos2mπx-ρl=2Duwuu0ρ-1sin2mπρlc1u1^eσmt+c2v1^eσmt∂∂xsin2mπxl=2Duwuu02mπlρ-1sin2mπρlc1u1(t,x)+c2v1(t,x). 6.6

Similarly, for the payoff-driven motion term for v1, we see that

-Dvwvv0ρ∂∂xc3(u1(t,x+ρ)-u1(t,x-ρ))+c4(v1(t,x+ρ)-v1(t,x-ρ))=2Dvwvv02mπlρ-1sin2mπρlc3u1(t,x)+c4v1(t,x). 6.7

Using these expressions, we can rewrite our system of linear PDEs in the following form

graphic file with name 11538_2026_1595_Equ93_HTML.gif 6.8

Using our ansatz for the expressions for u1(t,x) and v1(t,x) to see that our solutions will take this form provided that the growth rate σm is a solution to the following eigenvalue problem

σmu1^v1^=B(m)u1^v1^, 6.9

where

B(m)=-2mπl2Du+a1+4mπlDuwuu0c1ρ-1sin2mπρla2+4mπlDuwuu0c2ρ-1sin2mπρlb1+4mπlDvwvv0c3ρ-1sin2mπρl-2mπl2Dv+b2+4mπlDvwvv0c4ρ-1sin2mπρl. 6.10

In particular, the uniform equilibrium will be unstable provided that the matrix B(m) has an eigenvalue with positive real part, so we turn to evaluating tr(B(m)) and det(B(m)) to determine the possibility of finding unstable wavenumbers for our nonlocal system. We note that the trace of B(m) is given by

tr(B(m))=a1+b2-2mπl2(Du+Dv) 6.11
+4mπlDuwuu0c1ρ-1sin2mπρl+Dvwvu0c4ρ-1sin2mπρl. 6.12

For spatial patterns to form, we require tr(B)>0. As the wavenumber index m becomes very large, the term m2 dominates the expression for tr(B(m)), since sin2mπρl is a bounded function of m. This means that tr(B) will be negative for sufficiently large values of m, and therefore it is not possible to have infinitely many unstable wavenumbers due to the trace of B(m) becoming negative. We also numerically explore the behavior of tr(B(m)) as a function of m for the case of equal diffusivities Du=Dv, showing in Fig. 15a that it is possible to achieve tr(B(m))>0 for a range of wavenumber indices m in the presence of sufficiently strong payoff sensitivity wv for doves.

Fig. 15.

Fig. 15

Plots of the trace tr(B) (left panel) and determinant det(B) (right panel) against the wavenumber m. Positive values of tr(B) and negative values of det(B), required for the formation of spatial patterns, only occur at finite values of m. We set Du=Dv=0.1, wu=1, wv=10, and ρ=0.01. All other parameters are identical to those used in Fig. 7 (color figure online)

We can also examine the conditions under which patterns can emerge due to the Jacobian matrix B(m) having negative determinant for some wavenumbers. The determinant can be written in the following form

det(B(m))=α4mπl4+α3(m)mπl3+α2(m)mπl2+α1(m)mπl+α0, 6.13

where α0=a1b2-b1a2>0, α4>0, and α1(m), α2(m), and α3(m) are bounded functions of m. The leading coefficient α4=DuDv is positive and the other terms grow at most at order O(m3) as m→∞, so we can deduce that the determinant will be positive for sufficiently large values of m, and that the condition det(B(m))<0 can be achieved for only finitely many wavenumbers. We can further see by plotting det(B) as a function m in Fig. 15b , showing that there exist a finite range of unstable wavenumbers for our chosen hawk-dove game, equal diffusivities Du=Dv, and sufficiently large payoff sensitivity for doves. Together, our analytical observations and the numerical results from Fig. 15 shows that the nonlocal version of our PDE model allows for the formation of feasible spatial patterns due to payoff-driven motion, even for the case in which the hawks and doves are equally mobile.

Discussion

In this paper, we have considered spatial pattern formation in evolutionary games in both discrete and continuous space, exploring the role of purely diffusive motion or payoff-driven directed motion in establishing spatially heterogeneous profiles of cooperators and defectors. We found that both the stochastic spatial model and the PDE model can display Turing instability for hawk-dove games when the diffusivity of defectors exceeds that of cooperators, with the unbiased random walks for each strategy resulting in higher average payoffs achieved by hawks and doves across the spatial domain. Incorporating directed motion towards locations with higher payoff resulted in more subtle pattern-forming behavior, with the stochastic spatial model suggesting the formation of patterns with decreased average payoff relative to the payoff achieved in the uniform state and with the PDE model displaying a short-wave / infinite-wavenumber instability indicating the formation of arbitrarily fine patterns and possible blowup of the PDE solution. By combining increased diffusivity of hawks and more sensitive payoff-driven motion for doves, we were able to characterize different pattern-forming effects provided by payoff-driven motion in the case of the stochastic and PDE models.

One interesting feature of our models was that the case of undirected motion appeared to improve the population size and collective payoff of both strategies, despite the fact that undirected motion places no emphasis on improving payoff for either strategy. In contrast, the stochastic model with payoff-driven motion suggested that individuals moving to improve their personal payoff could result in a collective loss of payoff across the population. This decrease in the collective outcome when doves are better at searching for locations with increased payoff bears some resemblance to results seen on the evolution of dispersal strategies in which movement strategies that ignore fitness can be evolutionarily stable when individuals sample fitness of neighboring patches (Galanthay and Flaxman 2012). As we derived a system of ODEs for metapopulation patch dynamics in Sect. B.1 as an intermediate step in the derivation of our PDE from the agent-based model, it may be possible to apply the approach introduced by Galanthay and Flaxman (2012) to the patch ODE model obtained in this paper. In addition, generalizing our agent-based model and the resulting patch ODE system to incorporate connectivity beyond nearest neighbors on a lattice may be helpful for exploring payoff-driven motion on metapopulation networks, and can help to build on existing approaches for exploring spatial patterns using the structure of metapopulation graphs (Othmer and Scriven 1969, 1971; Levin 1974; Segel and Levin 1976; Fahimipour et al. 2022; Coclite et al. 2025). Such analysis may also be interesting to explore in the context of stochastic pattern formation on networks, as the role of stochasticity has often been shown to alter the parameter thresholds for pattern-forming instability related to PDE models obtained in the continuum limit in the case of reaction-diffusion models with nearest-neighbor connectivity (Butler and Goldenfeld 2009, 2011; Woolley et al. 2011; Biancalani et al. 2010; Asslani et al. 2012; Cao and Erban 2014; Karig et al. 2018; Kim and Bressloff 2020).

Another interesting feature of the linear stability analysis of our main PDE model was that the pattern-forming instability often featured infinitely many unstable wavenumbers. This behavior has been seen before in the work of payoff-driven motion by Helbing and coauthors (Helbing and Yu 2008; Helbing 2009), who introduced a modified version of their model with a fourth-order diffusion term to stabilize high-frequency modes and allow for stable numerical simulations. In this paper, we took alternative approaches to explore modified models of payoff-driven motion featuring finitely many unstable wavenumbers, considering a model of spatial evolutionary games with nonlocal sensing of payoff gradients using an integral kernel. This modeified model shares qualitative features with nonlocal models for collective cell motion with cell-to-cell adhesion (Armstrong et al. 2006; Hillen and Buttenschoön 2020) and to associated higher-order local models derived from Taylor expansion of the sensing kernel (Falcó et al. 2023). A recent model of evolutionary games with environmental feedback also considered the case of environment-driven motion with a chemotaxis-like term, showing that patterns with finite wavenumber can emerge when individuals climb the gradient of a quantity indicating higher environmental quality (and corresponding higher payoff), rather than directly climbing the payoff gradient itself (Yao and Cooney 2025). This distinction between the emergence of spatial patterns featuring characteristic pattern scale and infinite wavenumber instabilities suggests that loosening the feedback between local payoff and directed motion towards regions of increasing success may be helpful for achieving well-behaved spatial patterns in PDE models for spatial evolutionary games.

The presence of infinite-wavenumber instabilities in our local model of payoff-driven motion also raises many questions for future work regarding the mathematical behavior of our PDE model and the biological interpretation of continuum limits for models of payoff-driven directed motion. The rapid growth of short-wave modes suggests the possibility that our model of payoff-driven motion may be ill-posed due to the presence of a negative / backward diffusion terms in the case of equal diffusivities for the two strategies (Joseph and Saut 1990; Bernoff and Topaz 2016; Anguige and Schmeiser 2009; Anguige 2011), and these issues of existence and uniqueness of solutions are further suggested by the numerical blowup observed in simulations of the payoff-driven model when Du=Dv. Furthermore, the well-posedness and qualitative behavior of solutions to such PDE models with payoff-based directed motion may depend substantially on the functional forms of both the reaction dynamics and the rules of spatial motion, as Xu et al. (2017) found global well-posedness of classical solutions to a model of payoff-driven motions for a class of strong anti-coordination games (with payoff matrices featuring negative payoffs for interactions between individuals with the same strategy) and Funk and Hauert (2019) found physically realistic finite-wavenumber patterns for a PDE model of an evolutionary game in which individuals try to move towards regions featuring greater densities of cooperators (in contrast to finding greater relative abundances of cooperators in the case of payoff-driven motion studied in the current paper). Similar physically realistic spatial patterns have been found in the case of directed motion or nonlinear diffusion based on cooperator frequencies on network metapopulations (Young and Belmonte 2018; Fahimipour et al. 2022), so perhaps a more natural deterministic analogue of our stochastic model of payoff-driven motion would be to consider ODE models capturing the effects of payoff-driven biased random walks in the limit of infinitesimal weight of individuals on a network-structured population.

While the focus in this paper was on patterns arising in spatial models of hawk-dove games, it is also possible to explore the effects of diffusive or payoff-driven motion on pattern formation for a range of games that support coexistence of strategies under evolutionary dynamics in well-mixed populations. A lot of existing work has focused on the presence of Turing instabilities or instabilities due to directed motion towards or away from various strategies in the context of ecological public goods games (Funk and Hauert 2019; Hauert et al. 2008; Wakano et al. 2009; Wakano and Hauert 2011; Park and Gokhale 2019; Gokhale and Park 2020), so it may be useful to apply the techniques explored in this paper to such models of ecological public goods as well. In particular, it could be interesting to explore spatial patterns generated by payoff-driven motion when game-theoretic interactions follow an ecological public goods game, determining whether the behavior we saw of pattern formation decreasing the average payoff of the population generalizes from what was seen in this paper for the Hawk-Dove game. In addition, by considering other classes of matrix games like the Prisoners’ Dilemma or coordination games, it may be possible to study how behaviors like diffusion-driven coexistence (Wakano et al. 2009; Wakano and Hauert 2011) or phase separation (Hwang et al. 2013; Li et al. 2025) can be altered or amplified due to mechanisms like payoff-driven motion.

Although we have primarily focused on the role played by spatial movement rules in the establishment of spatial patterns and resulting impacts on payoff and population size, it can also be important to understand the role that the local reaction dynamics play in the qualitative behavior of emergent spatial patterns. In our models, we followed the approach used by both Brown and Hansell and Durrett and Levin (Brown and Hansell 1987; Durrett and Levin 1994; Fahimipour et al. 2022) to model local population dynamics, considering a baseline per-capita birth or death rate based on the value and sign of the average payoff obtained by hawks and doves, as well as a density-dependent logistic regulation imposed by the total number of hawks and doves at a spatial location. Other models of spatial evolutionary games have considered a range of different possible assumptions of reaction dynamics with a range of assumptions of frequency-dependent and density-dependent factors, with Helbing and other authors considering imitation dynamics with a total constant population size across space (Helbing 2009; Bratus et al. 2014), Belmonte and coauthors considering only payoff-based birth rates and population regulation through negative payoffs in same-strategy interactions, and Wakano, Hauert and coauthors using the assumption of a maximum population density imposed in spatial models of ecological public goods games (Wakano et al. 2009; Wakano and Hauert 2011; Funk and Hauert 2019; Park and Gokhale 2019; Gokhale and Park 2020). Overall, these different assumptions on the roles of strategic frequencies and population density may result in different possibilities in pattern-forming instability or the impact of spatial patterns on collective outcomes across the different models considered, and opens the possibility of a systematic exploration of these effects in future work. In particular, this motivates further exploration in how spatial patterns will interact with various proposed modifications of replicator equations and other models of evolutionary game dynamics to incorporate a range of density-dependent effects (Durrett and Levin 1994; Cressman and Vickers 1997; Novak et al. 2013; Křivan et al. 2018), which can play an especially important role in patterned states in which hawks and doves tend to cluster in the same population aggregates.

Other work on spatial pattern formation and spatial phenomena in evolutionary game theory has explored the possibility of nonlocal game-theoretic interactions in shaping the spatial distribution of strategies (Aydogmus 2018; Hwang et al. 2013). While our nonlocal model only addresses the evaluation of spatial movement rules through the term governing spatial movement, it may be interesting to explore how spatial feedback with nonlocal interactions would also impact the establishment and stability of spatial patterns. One model of nonlocal interactions could arise by turning to models of evolutionary games with environmental feedback and environmental-driven motion (Weitz et al. 2016; Lin and Weitz 2019; Antonioni et al. 2019; Tilman et al. 2020; Yao and Cooney 2025), with a nonlocal model arising under the assumption that the spatiotemporal dynamics of an environmental resource occur on a faster timescale than strategic dynamics. In addition, the use of nonlocal interactions and nonlocal payoff evaluations may suggest an alternative Lagrangian individual-based description of spatial game-theoretic dynamics featuring a finite population of individuals performing payoff-driven motion in continuous space via nonlocal interaction and sensing kernels. Such models have been explored in the context of evolutionary games between players living in an ambient fluid flow (Uppal and Vural 2018; Herrerías-Azcué et al. 2018, 2019; Krieger et al. 2020), and similar off-lattice agent-based models have been used to study pattern formation and collective behavior in settings ranging from developmental biology (Volkening and Sandstede 2015, 2018; Martinson et al. 2024) to collective motion in groups of humans or other animals (Cucker and Smale 2007; Ha and Tadmor 2008; Helbing and Molnar 1995; Benson et al. 2023; Hein et al. 2015).

Another question for future work is to consider the coevolution of spatial movement rules with strategic behavior in game-theoretic interactions. There is a rich literature in the evolution of spatial movement rules, where diffusion or advection rates can be studied as quantitative traits using adaptive dynamics and pairwise invasibility analysis (Hastings 1983; Chen et al. 2012; Hutson et al. 2003). As we have seen that spatial movement appears to decrease the average payoff of the population but allow for certain individuals to obtain greater payoffs than they would achieve in the well-mixed population, it would be useful to explore whether such spatial movement rules would evolve. In particular, one direction for future work would be to explore is whether the individual advantage conferred by biased spatial movement could result in an evolutionary social dilemma, as evolutionary competition in a spatial setting under directed motion can be advantageous for individuals with greater ability to climb payoff gradients even though the emergent spatial motion ends up decreasing the overall payoff achieved by the population. These evolutionary questions related to migration strategies may be particularly relevant in the case of costly migration (Galanthay and Flaxman 2012; Lee et al. 2022), in which the tradeoffs of benefits of potentially reaching a location with an individual advantage in game-theoretic payoff could be partly diminished due to an additional cost incurred to moving to such a location. Beyond the evolution of dispersal strategies, it may also be interesting to explore how payoff-driven motion and other mechanisms for spatial motion interact with the evolution of a continuous strategy for game-theoretic actions, such as the evolution of a level of effort in contributing to a public good (Hermsen 2022; Doekes and Hermsen 2024).

In addition to prior work on spatial motion on evolutionary game theory, the models explored in our paper provide connection with work on the PDE models achieved as mean-field limits of agent-based models with individual-based descriptions of biased random walks (Short et al. 2008; Alsenafi and Barbaro 2018), as well as to models in the mathematical biological literature that derive mean-field PDE models from individual-level birth-death dynamics (Champagnat et al. 2006; Luo 2014; Luo and Mattingly 2017). The derivation of our PDE model from a continuous-time model of random walkers on a grid built upon the approach from Wang et al. (2021) involving characterizing the infinitesimal mean and variance of the continuous-time model, incorporating the approach used in models of evolutionary biology in which the PDE limit is derived as the length scale of a spatial grid and the influence of each individual jointly tend to zero (Champagnat et al. 2006; Luo 2014). In addition, our use of the game-theoretic payoff achieved by individuals in the patterned states of our models provides a new perspective on the costs and benefits of spatial pattern formation, allowing us to measure whether individual cooperators and defectors improve their payoff by following a given rule for spatial movement.

Acknowledgements

This paper started as an undergraduate research project as part of the Spring 2024 Illinois Mathematics Lab (IML), and we greatefully acknowledge support from this program. The authors would like to thank Jirui Liu, Seokhwan Moon, Ahmad Rahman, Edwin Shen, and Muhammad Raza for helpful discussions in the early stages of this project. We would particularly like to thank Seokhwan Moon for many helpful discussions regarding the derivation and stability analysis of PDE models. The authors would also like to thank two anonymous reviewers for their helpful comments of the manuscript, which have substantially improved the paper.

Summary of Appendix

In this appendix, we provide additional description of our stochastic model and present additional derivations and analysis of our PDE models. In Sect. A, we present full specification of the rates for our stochastic spatial model, and we present the Gillespie algorithm we use to simulate birth, death, and movement events. We then present the derivation of our PDE model as a continuum limit of the stochastic spatial model in Sect. B, and we then provide additional calculations for the linear stability analysis of the local PDE model and our model with nonlocal payoff sensing in Sects. C and D, respectively.

Details on Simulation of Stochastic Model with Spatial Gillespie Algorithm

The approach we will use to simulate our stochastic spatial model is based on the Gillespie algorithm for simulating continuous-time Markov chains, and we use a formulation of the rates of demographic and movement events following the approach used by Seri and Shnerb (2012) to study a similar spatial game model with undirected motion. We first characterize all the possible events that are described in Sect. 2.2, and we formulate the reaction rates of each event to determine the probability that each event occurs next in our stochastic simulation.

In our stochastic model, we consider a spatial domain consisting of a line of n patches in one-dimension, with each patch having two neighbors except for the two patches at the ends of the line. We assume that all game-theoretic interactions and ecological competition within patches are well-mixed. We simulate the growth and decay of hawks and doves and measure their payoff by considering each patch individually. Migration behaviors are modeled by considering pairs of neighboring patches. Within each patch, four types of discrete events are defined:

  • Birth/death of an individual due to payoff.

  • Death of an individual due to carrying capacity / density-dependent regulation

  • Migration of a hawk

  • Migration of a dove

Each of these events is governed by one of the three sets of equations in Sect. 2.2: the payoff functions in Eq. (2.10), the density-dependent regulation described in Eq. (2.11), and the migration rates provided by Eq. (2.12). At some patch i and time t, the rate of a payoff-triggered birth/death event is proportional to the product of the number of individuals of a given strategy at patch i and the average payoff achieved for that strategy at patch i, taking the form

ri,H-p(t)=|pi,H(t)·ui(t)|ri,D-p(t)=|pi,D(t)·vi(t)|,

where pi,H(t) and pi,D(t) are payoffs given by the payoff functions in Eq. (2.10). The signs of the payoffs pi,H(t) and pi,D(t) determine whether the event corresponds to the birth or death of an individual, with a positive payoff corresponding to a birth event and a negative payoff corresponding to a death event.

The rates of death events due to density-dependent regulation for the hawks and doves are described by rH-κ and rD-κ, which are given by

ri,H-κ(t)=ki,H(t)ri,D-κ(t)=ki,D(t),

where ki,H(t) and ki,D(t) are given by the regulation terms in Eq. (2.11). Since ki,H(t) and ki,D(t) already include a population term, we do not multiply by the population size again when calculating the likelihoods.

The migration behaviors, described in Sect. 2.2 in the main paper, correspond to a biased random walk based on differences in payoffs, with the per-capita rate that an individual migrates to some neighboring patch i′ given by the Eq. (2.12). We can map this per-capita migration rate to a total rate of a migration event from patch i to a neighboring patch i′ by multiplying by the total number of individuals at patch i, resulting in a movement rate of the form

ri,H-i′(t)=ui(t)qH(i→i′)(t)ri,D-i′(t)=vi(t)qD(i→i′)(t).

Additionally, to address concerns regarding boundary conditions, we scale μu and μv in Eqs. 2.12 according to the number of neighbors each patch has. For a patch with a neighbors, we use a2μu and a2μv as the effective diffusivity parameters for individuals at that patch. To implement a zero-flux boundary condition, we assume that individuals in the boundary patches i=1 and i=N move inward during any successful migration event, never leaving the spatial domain.

So far, we have presented all the discrete events considered for a single patch and discussed how their rates are determined. To restate briefly, there are 8 events per patch: 2 birth/death events triggered by payoff (one for each species), 2 death events due to carrying capacity, 2 migration events for hawks (one in each direction) and 2 migration events for doves. This gives a total of 8n rates that we need in order to simulate our n-patch one-dimensional model, and we can now use these rates to determine how events are selected to simulate our stochastic process through a Gillespie algorithm.

Let Ri(t) denote the tuple of the reaction rates that correspond to the discrete events of patch i and time t. We can then describe the state of the entire spatial domain by taking the union over all patches: R(t)=⋃iRi(t), which incorporates all events in the space and characterizes the state of our stochastic system at time t. We index the rates in R(t) as r1(t),r2(t),⋯,r8n-1,r8n(t) for notational convenience. The Gillespie algorithm is then applied to simulate event selection and time advancement. Specifically, the operations at some time t=t1 are as follows.

We first choose some random number a1∈(0,1) and find the smallest index b such that

∑j=1brj(t)>a1∑jrj(t),

where rb denotes the index of the event selected at the current time t.

A second random number a2∈(0,1) is drawn, which allows us to determine the following time-step Δt that is taken after the chosen event:

Δt=1∑jrj(t)log1a2

We then update time t→t1+Δt and store data if the time t passes a check point. We repeat the above process until time t reaches the specified time limit tmax. Furthermore, when we perform an ensemble of simulations for the same parameter values, we loop the simulation smax times and average the resulting population and payoff quantities to make aggregate statements about the stochastic model.

We now summarize the key steps for our stochastic simulation using the pseudocode presented in Algorithm 1.

Algorithm 1.

Algorithm 1

Stochastic model for evolutionary dynamics

Derivation of a PDE Model with Payoff-Driven Motion from Stochastic Individual-Based with Payoff-Driven Biased Random Walk

In this section, we provide derivations connecting our individual-based stochastic model and our PDE model for evolutionary games with payoff-driven motion. We complete this derivation in two steps, first using techniques from stochastic processes to derive a system of ODEs for the densities of hawks and doves at each discrete spatial patch in the limit of an infinitesimal mass of individuals, which allows us to describe deterministic population dynamics for a population living on n patches. We then use techniques inspired by numerical analysis to derive our partial differential equations for the spatial profile of hawks and doves across a one-dimensional domain, which we obtain by taking the limit of infinitely many patches and an infinitesimal distance between patches. We present our derivation of the ODE patch model in Sect. B.1, and we present the derivation of the PDE model in Sect. B.2.

Derivation of System of ODEs on Discrete Spatial Lattice

In this section, we present a derivation of our ODE model for evolutionary game dynamics with payoff-driven motion from our stochastic model with a biased random walk between neighboring patches. For simplicity, we will describe the derivation for a one-dimensional spatial domain, but this approach can be readily generalized to study higher-dimensional spatial domains and slight differences in neighborhood configurations (such as considering the von Neumann and Moore neighborhoods).

We consider a family of stochastic models that take place on spatial domain of length L, assuming that the spatial domain is divided into n discrete patches. We assume that each individual in the population has a mass 1m that contributes to the total population size of their patch, which will allow us to consider the role of individuals making an infinitesimal contribution to the population mass in the limit as m→∞. We denote the number of hawks and doves at patch i at time t by uim,n(t) and vim,n(t), respectively, and we look to consider how these numbers of hawks and doves change in time. In particular, we will use the payoffs pi,H(t) and pi,D(t) to denote the payoffs of hawks and doves at a given patch i, and we look to show how these payoffs impact the rate of demographic and migration events at patch i. The number uim,n(t) of hawks increases by 1m if one of the following three events occurs:

  • A hawk reproduces within patch i, which occurs with rate
    muim,n(t)pi,H(t)+,
    where [h(x)]+ denotes the positive part of the function h(x).
  • A hawk moves from patch i-1 to patch i, which occurs with rate
    mui-1m,n(t)fuwupi,H(t)fuwupi,H(t)+fuwupi-2,H(t)
  • A hawk moves from patch i+1 to patch i, which occurs with rate
    mui+1m,n(t)fuwupi,H(t)fuwupi,H(t)+fuwupi+2,H(t)

Similarly, we can see that the number of hawks decreases by 1m when one of the three events occurs

  • A hawk dies within patch i, which occurs with rate
    muim,nκuim,n(t)+vim,n(t)+muim,n(t)pi,H(t)-
    where [h(x)]- denotes the negative part of the function h(x).
  • A hawk moves from patch i to patch i+1, which occurs with rate
    muim,n(t)fuwupi+1,H(t)fupi+1,H(t)+fuwupi-1,H(t)
  • A hawk moves from patch i to patch i-1, which occurs with rate
    muim,n(t)fuwupi-1,H(t)fupi+1,H(t)+fuwupi-1,H(t)

We can then calculate that, conditioned on the value uim,n(t), the expected change in the number of hawks in patch i between times t and t+Δt is given by

Euim,nt+Δt-uim,nt|uim,n(t)=1mPuim,nt+Δt-uim,nt=1m-1mPuim,nt+Δt-uim,nt=-1m+oΔt=1mmuim,n(t)pi,H(t)+Δt-muim,n(t)pi,H(t)-Δt-1mmuim,nκuim,n(t)+vim,n(t)Δt+1mmui-1m,n(t)μufuwupi,H(t)fuwupi,H(t)+fuwupi-2,H(t)Δt+1mmui+1m,n(t)μufuwupi,H(t)fuwupi,H(t)+fuwupi+2,H(t)Δt-1mmuim,n(t)μufuwupi-1,H(t)fuwupi-1,H(t)+fuwupi+1,H(t)Δt-1mmuim,n(t)μufuwupi+1,H(t)fuwupi-1,H(t)+fuwupi+1,H(t)Δt+oΔt, B.1

which we can rearrange to see that

Euim,nt+Δt-uim,nt|uim,n(t)Δt=uim,n(t)pi,H(t)-κuim,n(t)+vim,n(t)+μuui-1m,n(t)fuwupi,H(t)fuwupi,H(t)+fuwupi-2,H(t)+μuui+1m,n(t)fuwupi,H(t)fuwupi,H(t)+fuwupi+2,H(t)-μuuim,n(t)fuwupi-1,H(t)fuwupi-1,H(t)+fuwupi+1,H(t)-μuuim,n(t)fuwupi+1,H(t)fuwupi-1,H(t)+fuwupi+1,H(t)+oΔtΔt. B.2

We can then apply a approach used by Luo (2014), Czuppon and Traulsen (2021), and Cooney (2025) to show that the infinitesimal variance of the process vanishes in the limit as m→∞ (corresponding to a limit of vanishing mass for each individual). In particular, we see that the infinitesimal variance is given by

limΔt→0Vuim,nt+Δt-uim,nt|uim,n(t)Δt=limΔt→01ΔtEuim,nt+Δt-uim,nt2|uim,n(t)-1ΔtEuim,nt+Δt-uim,nt|uim,n(t)2⏟=OΔt+oΔt2=oΔt=limΔt→01ΔtEuim,nt+Δt-uim,nt2|uim,n(t)=limΔt→01Δt1m2Puim,nt+Δt-uim,nt=1m-1m2Puim,nt+Δt-uim,nt=-1m+oΔt. B.3

Because the rates at which each of the events occur are O(m) as m→∞, we see that it is possible to show that the infinitesimal variance of the process takes the form

limΔt→0Vuim,nt+Δt-uim,nt|uim,n(t)Δt=limΔt→01Δt1m2O(m)Δt→0asm→∞. B.4

Because the infinitesimal variance vanishes in the limit as m→∞, we see that we expect um,n(t) to be a constant equal to its mean in this limit. We then introduce the quantity uin(t):=limm→∞uim,n(t)=limm→∞Euim,n(t), and we can use an analogous argument to deduce that the number of doves should be given by the deterministic quantity vin(t):=limm→∞vim,n(t)=limm→∞Evim,n(t). Applying the limits as m→∞ to both sides of our expression for the infinitesimal mean, we take the limit as Δt→0 to see that uin(t) will satisfy the following system of differential equations

duin(t)dt=uin(t)pi,H(t)-κuin(t)+vin(t)+μuui-1n(t)fuwupi,H(t)fupi,H(t)+fuwupi-2,H(t)+μuui+1n(t)fuwupi,H(t)fuwupi,H(t)+fuwupi+2,H(t)-μuuin(t)fuwupi-1,H(t)fuwupi-1,H(t)+fuwupi+1,H(t)-μuuin(t)fuwupi+1,H(t)fuwupi-1,H(t)+fuwupi+1,H(t), B.5a

and we can perform an analogous derivation for the number of doves to obtain the following ODE for the number of doves vin(t) at patch i:

dvin(t)dt=vin(t)pi,D(t)-κuin(t)+vin(t)+μvvi-1n(t)fvwupi,D(t)fvpi,D(t)+fvwvpi-2,D(t)+μvvi+1n(t)fvwvpi,D(t)fvwvpi,D(t)+fvwvpi+2,D(t)-μvvin(t)fvwupi-1,D(t)fvwvpi-1,D(t)+fvwvpi+1,D(t)-μvvin(t)fvwvpi+1,D(t)fvwvpi-1,D(t)+fvwvpi+1,D(t) B.5b

Considering the system of ODEs for uin(t) and vin(t) for each patch i∈{1,⋯,n} allows us to describe the spatial dynamics of hawks and doves with payoff-driven motion in terms of a continuum of population states distributed across finitely many spatial locations. We will then use this system of ODEs in the next section to derive our PDE model for payoff-driven motion in the limit of infinitely many patches and infinitesimal distance between nearest-neighbor patches.

Derivation of PDE

To derive our PDE model, we first explore the role of directed motion from stochastic models in discrete space with biased random walks (Gerlee and Altrock 2019; Painter and Hillen 2002; Hillen and Painter 2009; Bubba et al. 2020; Short et al. 2008; Alsenafi and Barbaro 2018, 2021; Lindstrom and Bertozzi 2020). Our goal is to start with the ODE model derived in Sect. B.1 for evolutionary games with payoff-driven motion on a discrete spatial lattice, and to obtain a PDE limit by considering an expansion of the terms in the ODE model in the limit of infinitesimally small grid spacing. For the purpose of this derivation, we will use x to denote the spatial location of a focal patch on our spatial lattice and we will denote Δx as the distance between patches in our lattice. In the derivation, we will focus on the form of the spatial movement terms, and we will add the reaction terms once we have obtained our continuum limit.

For this derivation, we will use u and v to denote population densities, with u(t, x) representing the population density of hawks at position x and time t and with v(t, x) representing the population density of doves. For convenience, we will denote the weighting function for the biased random walks for hawks and doves as

fu(t,x):=fuu(t,x),v(t,x) B.6a
fv(t,x):=fvu(t,x),v(t,x), B.6b

and we will initially use this shorthand representation to simplify the process of obtaining our PDE limit. Using this new notation, we may write the system of ODEs from Eq. (B.5b) without the reaction terms as

∂u(t,x)∂t=μufu(t,x)ut,x-Δxfu(t,x)+fut,x-2Δx+fu(t,x)ut,x+Δxfu(t,x)+fut,x+2Δx-u(t,x) B.7a
∂v(t,x)∂t=μvfv(t,x)vt,x-Δxfv(t,x)+fvt,x-2Δx+fv(t,x)vt,x+Δxfv(t,x)+fvt,x+2Δx-v(t,x), B.7b

where the first terms in each equation describe the movement of hawks or doves located at x-Δx to x, the second terms describe the movement of hawks and doves located at x+Δx moving to x, μu and μv are the movement rates of hawks and doves, and Δx is the distance between neighboring patches.

We will now derive the limiting PDE for the density of hawks u(t, x) in the limit as the grid spacing satisfies Δx→0, and then apply an analogous approach to obtain a PDE for the density of doves v(t, x). To further write our equation for the density of hawks in terms of our PDE limit, we perform the Taylor expansion of fut,x±2Δx around (t, x) to see that

fu(t,x-2Δx)=fu(t,x)-∂fu(t,x)∂x2Δx+∂2fu(t,x)∂x22(Δx)2+O(Δx)3,fu(t,x+2Δx)=fu(t,x)+∂fu(t,x)∂x2Δx+∂2fu(t,x)∂x22(Δx)2+O(Δx)3. B.8

This expansion allows us to rewrite B.7a in the following form

∂u(t,x)∂t=μu[2-fu(t,x)-1∂fu(t,x)∂x2Δx+fu(t,x)-1∂2fu(t,x)∂x22(Δx)2-1u(t,x-Δx)+2+fu(t,x)-1∂fu(t,x)∂x2Δx+fu(t,x)-1∂2fu(t,x)∂x22(Δx)2-1ut,x+Δx-u(t,x)]. B.9

Because we are considering the limit of small Δx, we can use the Binomial series approximation (2+y)-1=12-14y+18y2+O(y3) to further expand our right-hand side as

∂u(t,x)∂t=μu{[12-14-2fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)2+18-2fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)22]u(t,x-Δx)+[12-142fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)2+182fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)22]u(t,x+Δx)-u(t,x)}+OΔx3 B.10

as Δx→0. We can then further expand the terms on the right-hand side to write that

∂u(t,x)∂t=μu{12u(t,x-Δx)+u(t,x+Δx)-2u(t,x)-14[-2fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)2u(t,x-Δx)+2fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)2u(t,x+Δx)]+18[4(Δx)2fu(t,x)-1∂fu(t,x)∂x2+4(Δx)4fu(t,x)-1∂2fu(t,x)∂x22-8(Δx)3fu(t,x)-2∂fu(t,x)∂x∂2fu(t,x)∂x2]u(t,x-Δx)+18[4(Δx)2fu(t,x)-1∂fu(t,x)∂x2+4(Δx)4fu(t,x)-1∂2fu(t,x)∂x22+8(Δx)3fu(t,x)-2∂fu(t,x)∂x∂2fu(t,x)∂x2]u(t,x+Δx)}+OΔx3=μu{12u(t,x-Δx)+u(t,x+Δx)-2u(t,x)-14[-2fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)2u(t,x-Δx)+2fu(t,x)-1∂fu(t,x)∂xΔx+2fu(t,x)-1∂2fu(t,x)∂x2(Δx)2u(t,x+Δx)]+12Δx2fu(t,x)-1∂fu(t,x)∂x2ut,x-Δx+ut,x+Δx+OΔx3 B.11

as Δx→0. We can then perform expansions of the density of hawks, which are given by

ut,x±Δx=u(t,x)±∂u(t,x)∂xΔx+12∂2u(t,x)∂x2Δx2+OΔx3asΔx→0, B.12

and we can apply this expansion to note that

u(t,x-Δx)+u(t,x+Δx)-2u(t,x)=∂2u(t,x)∂x2Δx2+OΔx3asΔx→0. B.13

Using these expansions allows us to rewrite the right-hand side of our equation for ∂u(t,x)∂t to see that

∂u(t,x)∂t=12μuΔx2∂2u(t,x)∂x2-μuΔx2fu(t,x)-1∂fu(t,x)∂x∂u(t,x)∂x-μuΔx2fu(t,x)-1∂2fu(t,x)∂x2-fu(t,x)-2∂fu(t,x)∂x2u(t,x)+OΔx3 B.14

as Δx→0, and we can further rearrange the right-hand side of this equation to write that

∂u(t,x)∂t=12μuΔx2∂2u(t,x)∂x2-μuΔx2∂∂xu(t,x)∂∂xlogfu(t,x)+OΔx3 B.15

as Δx→0. Finally, we can look to rescale time so that the right-hand side of our equation becomes finite in the limit as Δx→0. To do this, we introduce a characteristic timescale tc and the new time variable τ=ttc, and this allows us to rewrite our equation for the density of hawks u(τ,x) as

∂u(τ,x)∂τ=12μuΔx2tc∂2u(τ,x)∂x2-2∂∂xu(τ,x)∂∂xlogfu(τ,x)+OΔx3 B.16

as Δx→0. We can then choose to send Δx→0 and tc→0 simultaneously at such a rate that the ratio of Δx2 and tc satisfies

graphic file with name 11538_2026_1595_Equ118_HTML.gif B.17

for a positive constant α. If we then denote the diffusion coefficient for hawks by

Du=12μuα, B.18

we can evaluate the limit on both sides of Eq. (B.16) as Δx→0, tc→0, and Δx2/tc→α to obtain the following partial differential equation for the density of hawks in terms of our rescaled time parameter τ:

∂u(τ,x)∂τ=Du∂2u(τ,x)∂x2-2Du∂∂xu(τ,x)∂∂xlogfu(t,x). B.19

We can use similar expansions and the same rescaling of time to obtain the following equation for the density of doves

∂v(τ,x)∂τ=12μvΔx2tc∂2v(τ,x)∂x2-2∂∂xv(τ,x)∂∂xlogfv(τ,x)+OΔx3. B.20

We can then take the limit as Δx→0, tc→0, and Δx2/tc→α to obtain a PDE for the density of doves given by

∂v(τ,x)∂τ=Dv∂2v(τ,x)∂x2-2Dv∂∂xv(τ,x)∂∂xlogfv(t,x), B.21

where the diffusion coefficient Dv for the doves is defined as

Dv:=12μvα. B.22

Finally, we can incorporate the appropriate reaction terms in our equation by assuming that individuals of each strategy have a baseline per-capita birth or death rate proportional to their own payoffs, as well as a density-dependent per-capita death rate proportional their total population density at the point x. These assumptions on the reaction dynamics and the same rules for spatial motion allow us to obtain our PDE model for spatial evolutionary games with diffusive and payoff-driven motion:

∂u(τ,x)∂τ=Du∂2u(τ,x)∂x2-2Du∂∂xu(τ,x)∂∂xlogfu(τ,x)+upH(u,v)-k(u+v),∂v(τ,x)∂τ=Dv∂2v(τ,x)∂x2-2Dv∂∂xv(τ,x)∂∂xlogfv(τ,x)+vpD(u,v)-k(u+v). B.23

So far, we have considered the weights fu(τ,x) and fv(τ,x) for the bias in the random walks for hawks and doves as generic functions of the temporal variable t and the spatial variable x. We can now incorporate the density of hawks u(τ,x), the density of doves v(τ,x) and the resulting payoff distributions pHu(τ,x),v(τ,x) and pDu(τ,x),v(τ,x) into our model of spatial movement. We can consider movement rules where fu(τ,x) and fv(τ,x) can be written in the form

fu(τ,x)=fuwupHu(τ,x),v(τ,x)fv(τ,x)=fvwvpDu(τ,x),v(τ,x), B.24

so the movement of cooperators and defectors will depend on the payoff of their own strategy at the relevant spatial locations and a weight parameter wu and wv that the members of each strategy place on payoff differences in determining their movement probabilities. We can rewrite the PDE system by putting wu and wv as the coefficients of payoff-driven term

∂u(τ,x)∂τ=Du∂2u(τ,x)∂x2+upH(u,v)-k(u+v)-2Duwu∂u∂xfu′(wupH)fu(wupH)∂pH∂x+u∂∂xfu′(wupH)fu(wupH)∂pH∂x∂v(τ,x)∂τ=Dv∂2v(τ,x)∂x2+vpD(u,v)-k(u+v)-2Dvwv∂v∂xfv′(wvpD)fv(wvpD)∂pD∂x+v∂∂xfv′(wvpD)fv(wvpD)∂pD∂x, B.25

and we will use this form of our system of PDEs for stability analysis in the main paper.

Additional Calculations for Linear Stability Analysis of PDE Model

In this section, we present the derivation of the linearized system of PDEs for our model of payoff-driven motion (Sect. C.1), provide the expression for the threshold quantity wvIIIb required to satisfy the second necessary condition for a finite wavenumber pattern (Sect. C.2), and present the derivation of the lower bound on the movement rates required for Turing instability for our PDE model in the case of purely diffusive motion (Sect. C.3).

Linearization of the PDE Model with Diffusive and Payoff-Driven Motion

We are looking to linearize the following nonlinear system of PDEs around the uniform coexistence state (u0,v0) for the Hawk-Dove game with density-dependent regulation:

∂u(t,x)∂t=Du∂2u(t,x)∂x2-2Du∂∂xu(t,x)∂logfu(wupH(u,v))∂x+upH(u,v)-k(u+v), C.1a
∂v(τ,x)∂τ=Dv∂2v(t,x)∂x2-2Dv∂∂xv(t,x)∂logfv(wvpD(u,v))∂x+vpD(u,v)-k(u+v). C.1b

For this analysis, we are writing our nonlinear system of PDEs in terms of directed motion written in terms of log(fu(wupH(u,v))) and log(fv(wvpD(u,v))) to highlight the dependence of directed motion on the spatial distributions of the payoffs for each strategy. To perform this linearization, we consider perturbations from the uniform state of the form

u(t,x)=u0+ϵu1(t,x) C.2a
v(t,x)=v0+ϵv1(t,x) C.2b

for sufficiently small ϵ, and we look to plug this form of our solution into our nonlinear PDE system. To do this, we first perform a Taylor expansion around the uniform state (u0,v0) under the assumption of small ϵ, with the expansion of the logarithm of the hawk’s weight for directed motion taking the form

logfuwupHu,v=logfuwupHu0,v0+ϵwuc1u1+ϵwvc2v1+O(ϵ2) C.3

as ϵ→0, with the constants c1 and c2 given by

c1=fu′wupHu,vfuwupH(u,v)∂pHu,v∂u|u=u0,v=v0c2=fu′wupHu,vfuwupH(u,v)∂pHu,v∂v|u=u0,v=v0 C.4

Substituting these expansions into the first PDE in our nonlinear system allows us to write that

∂u0∂t+ϵ∂u1∂t=Du∂2u0∂x2+ϵ∂2u1∂x2+u0pH(u0,v0)-k(u0+v0)+ϵa1u1+ϵa2v1 C.5
-2Du∂∂xu0+ϵu1∂∂xlogfuwupHu0,v0+ϵwuc1u1+ϵwvc2v1+Oϵ2, C.6

as ϵ→0, where the constants a1 and b1 are given by

a1=∂∂u(u(pH-κ(u+v)))|u=u0,v=v0=V(-C+V)(C+2V)2C2<0, C.7a
a2=∂∂v(u(pH-κ(u+v)))|u=u0,v=v0=V3C2>0. C.7b

Since u0 represents a spatially uniform equilibrium, we have conditions ∂u0∂t=0, ∂u0∂x=0, and ∂2u0∂x2=0. Keeping terms only up to ϵ, we arrive at the following linear PDE for the change in the perturbation of the hawk density u1(t,x):

∂u1∂t=Du∂2u1∂x2+a1u1+a2v1-2Duwuu0c1∂2u1∂x2+c2∂2v1∂x2. C.8

With a similar approach, we can obtain the second PDE of our linearized system, which is given by

∂v1∂t=Dv∂2v1∂x2+b1u1+b2v1-2Dvwvv0c3∂2u1∂x2+c4∂2v1∂x2, C.9

where the constants a2, b2, c3, and c4 take the form

b1=∂∂u(v(pD-κ(u+v)))|u=u0,v=v0=-V(V-C)2C2<0, C.10a
b2=∂∂v(v(pD-κ(u+v)))|u=u0,v=v0=V(V-C)(C-2V)2C2>0ifC<2V<0ifC>2V C.10b
c3=fv′wvpDu,vfvwvpDu,v∂pDu,v∂u|u=u0,v=v0 C.10c
c4=fv′wvpDu,vfvwvpDu,v∂pDu,v∂v|u=u0,v=v0. C.10d

Second Condition for Finite Wavenumber Instability with Payoff-Driven Motion

We now present the derivation of the second necessary condition required for the emergence of finite wavenumber patterns in our PDE model with payoff-driven motion. Our goal is to provide conditions on the values of wv for which it is possible to achieve a negative determinant det(A(m)) of the linearization matrix for finitely many wavenumbers m. In Sect. 4.4, we showed that this can be written as a polynomial of the form

det(A(m))=αmπl4+βmπl2+γ, C.11

where the coefficients α, β, and γ are given by

α=Awv+Bwu+D C.12a
β=Ewv+Fwu+G C.12b
γ=a1b2-a2b1 C.12c

with the constants A, B, C, D, E, and F in Eq. (C.12) taking the form

A=-DuDvu0v0Vu0+v02 C.13a
B=DuDvu0v0V+Cu0+v02 C.13b
D=DuDV C.13c
E=a1u0+a2v0v0DuV+Cu0+v02 C.13d
F=-b1u0+b2v0Duu0V+Cu0+v02 C.13e
G=-a1Dv+b2Du. C.13f

We would like to derive a condition on wv in order to guarantee that β2-4αγ>0. Using the expressions from Eq. (C.12), we can rewrite this inequality as

E2wv2+2EFwu+G-4Aγwv+Fwu+G2-4γBwu+D>0. C.14

We can then solve this inequality to see that finite wavenumber patterns can only be achieved if the payoff sensitivity wv for doves satisfies

wv>wvIIIb:=4Aγ-2EFwu+G2E2+12E24Aγ-2EFwu+G2-4E2Fwu+G2-4γBwu+D C.15

We use this expression for wvIIIb and the constants from Eq. () to help show the possibility of finite wavenumber patterns in Sect. 5 when we consider faster hawk diffusion Dv>Du and greater payoff sensitivity for doves wv>wu.

Lower Bound on Ratio of Movement Rates for Turing Instability

In this section, we provide a derivation on the threshold ratio of the movement rates μuμv required to produce spatial pattern formation from a uniform coexistence state for the case of purely diffusive motion (as in the case of Eq. (). This lower bound is used to plot the dashed lines in Fig. 4, which highlight the potential difference in the parameter regimes required for the emergence of spatial patterns in the purely diffusive case of our stochastic spatial model and in the reaction-diffusion PDE system derived in the mean-field limit. We summarize this lower bound in the following proposition. The proof the proposition follows the standard derivation for conditions of Turing instability (Murray 2007; Keener 2021), but we include the derivation for completeness and to highlight the connection between the necessary conditions on the ratio of diffusivities DuDv typically considered in the PDE model and the comparison we would like to make with the ratio of movement rates μuμv that is our point of comparison with the stochastic spatial model.

Proposition 1

(Lower Bound on Mobility Ratio Required for Diffusion-Driven Pattern Formation) Consider system of reaction-diffusion equations from Eq. () on the spatial domain [0, L] with zero-flux boundary conditions, and assume that the diffusion coefficients for the two strategies are given by Du=12αμu and Dv=12αμv (consistent with the derivation of our PDE model from Sect. B.2). A necessary condition for the instability of sinusoidal perturbations

u~(t,x)v~(t,x)=1MeσmtcosmπxL C.16

to the uniform coexistence state for a spatial Hawk-Dove game is that the ratio of mobilities satisfies

graphic file with name 11538_2026_1595_Equ156_HTML.gif C.17

where a1, a2, b1, and b2 are the entries of the linearization for the reaction terms provided in Eq. ().

Proof

We recall that the condition for diffusion-driven instability is given by

detARD(m)=a1b2-a2b1-a1Dv+b2DumπL+DuDvmπL2<0. C.18

Because the constant and quadratic terms in m are positive for the case of a stable uniform state under the reaction dynamics, we see that a necessary condition to achieve a negative determinant is that the coefficient of the linear term satisfies

a1Dv+b2Du>0⟹DuDv>-b2a1, C.19

where we note that the righthand side is positive for our C-V hawk-dove game due to conditions presented in Eq. ().

Furthermore, we can seek an additional necessary condition on Du and Dv that will allow for there to a range of real numbers m for which detARD(m)<0. To do this, we can look to characterize conditions for which there is a real number m∗ that minimizes detARD(m) and for which detARD(m∗)<0. In particular, we see from the convexity of detARD(m∗) that the minimizer m∗ will be given by

m∗=a1Dv+b2DuπL2DuDvπL2, C.20

and we can use Eq. (C.18) and our expression for m∗ to see that the minimum determinant across all real wavenumbers is given by

detARD(m∗)=a1b2-a2b1-a1Dv+b2Du24DuDv. C.21

We can therefore see that the condition detARD(m∗)<0 will be satisfied provided that

a1Dv+b2Du2>4DuDva1b2-a2b1 C.22
⟹a12Dv2+2a1b2DuDv+b22Dv2>4DuDva1b2-a2b1 C.23
⟹b22DuDv2+4a2b1-2a1b2DuDv+a12>0. C.24

Therefore we have found that another necessary condition for the possibility of spatial pattern formation is that the ratio of diffusivities DuDv of hawks and doves satisfies the quadratic inequality above. We can then solve this quadratic inequality to see that this necessary condition requires that the ratio of diffusivities satisfies the following lower bound

DuDv>2a1+b2-4a2b1+2a1b2-4a2b12-4a12b222b22, C.25

where we took the positive root so that we would obtain a lower bound on the ratio (to match the lower bound from our other necessary condition that DuDv>-b2a1.

Combining the two lower bounds on DuDv that we have found to be necessary conditions for pattern formation, we can deduce that it is necessary for this ratio of diffusivities to exceed both of the lower bounds to obtain patterns in the PDE model. Therefore we see that a necessary threshold for pattern formation is given by

DuDv>δμ∗:=max-a1b2,2a1+b2-4a2b1+2a1b2-4a2b12-4a12b222b22. C.26

Noting that we have defined Du=12αμu and Dv=12αμv (where α=limΔt→0,Δx→0Δx2Δt arose from derivation of the reaction-diffusion model from the stochastic spatial model, we can see that the ratio of diffusivities and the ratio of movement rates for hawks and doves satisfy μuμv=DuDv. This means that we require that μuμv>δμ∗ in order to see the possibility of spatial pattern formation in our reaction-diffusion PDE model (providing a baseline for comparison with the regimes for pattern-like behavior displayed in the stochastic spatial model).□

Linearization of the Model of Payoff-Driven Motion with Nonlocal Payoff Sensing

In this section, we will perform the linearization of our nonlocal PDE model for payoff-driven motion around the uniform coexistence equilibrium (u0,v0) for the Hawk-Dove game. We recall that the nonlinear, nonlocal PDE system is given by

∂u(t,x)∂t=Du∂2u(t,x)∂x2+upH(u(t,x),v(t,x))-κu(t,x)+v(t,x)-2Du∂∂xu(t,x)12ρlog(fu(u(t,x+ρ),v(t,x+ρ)))-log(fu(u(t,x-ρ),v(t,x-ρ)))∂v(t,x)∂t=Dv∂2v(t,x)∂x2+vpD(u(t,x),v(t,x))-κu(t,x)+v(t,x)-2Dv∂∂xv(t,x)12ρlog(fv(u(t,x+ρ),v(t,x+ρ)))-log(fv(u(t,x-ρ),v(t,x-ρ))), D.1

and we aim to linearize the system by considering a solution of the PDE system featuring small perturbations of the uniform state, which take the form

u(t,x)=u0+ϵu1(t,x), D.2a
v(t,x)=v0+ϵv1(t,x). D.2b

for a small value of ϵ. To plug in this ansatz and evaluate the linearization, we need to expand the nonlocal term log(fu(u(t,x+ρ),v(t,x+ρ)))-log(fu(u(t,x-ρ),v(t,x-ρ))) in terms of the small parameter ϵ and the perturbation functions u1 and v1. Using a Taylor expansion of log(fu(u,v)) around the point (u0,v0) up to second-order terms allows us to see that

log(fu(u(t,x),v(t,x)) D.3a
=log(fu(u0,v0))+ϵ∂logf∂u|u0,v0u1(t,x)+∂logf∂v|u0,v0v1(t,x) D.3b
+ϵ212∂2logf∂u2|u0,v0u1(t,x)2+12∂2logf∂v2|u0,v0v1(t,x)2+∂2logf∂u∂v|u0,v0u1(t,x)v1(t,x) D.3c
+O(ϵ3)asϵ→0. D.3d

Retaining terms up to first order in ϵ, we see that the contribution of the term log(fu(u,c)) up to order ϵ will take the form

log(fu(u(t,x),v(t,x)))≈log(fu(u0,v0))+ϵwuc1u1(t,x)+ϵwuc2v1(t,x), D.4

and we can evaluate this expression at points x+ρ and x-ρ gives to see that

log(fu(u(t,x+ρ),v(t,x+ρ)))≈log(fu(u0,v0))+ϵwuc1u1(t,x+ρ)+ϵwuc2v1(t,x+ρ), D.5a
log(fu(u(t,x-ρ),v(t,x-ρ)))≈log(fu(u0,v0))+ϵwuc1u1(t,x-ρ)+ϵwuc2v1(t,x-ρ), D.5b

where c1 and c2 are the same constants from Eq. (C.4) that arose in the linearization of the local PDE model for payoff-driven motion. We can then combine these expanded expressions to see that the nonlocal gradient of the payoff weight function fu(u,v) for hawks will take the form

log(fu(u(t,x+ρ),v(t,x+ρ)))-log(fu(u(t,x-ρ),v(t,x-ρ))) D.6
=ϵwuc1(u1(t,x+ρ)-u1(t,x-ρ)+c2(v1(t,x+ρ)-v1(t,x-ρ). D.7

We can use a similar approach to see that the nonlocal gradient for the payoff weight function fv(u,v) for doves will be given by

log(fv(u(t,x+ρ),v(t,x+ρ)))-log(fv(u(t,x-ρ),v(t,x-ρ))) D.8
=ϵwvc3(u1(t,x+ρ)-u1(t,x-ρ)+c4(v1(t,x+ρ)-v1(t,x-ρ), D.9

where the constants c3 and c4 are the constants from Eq. () from the local PDE model.

To linearize the diffusion terms, we substitute our perturbation ansatz u=u0+ϵu1(t,x) and v=v0+ϵv1(t,x) into our PDE and note that ∂2u0∂x2=0 and ∂2v0∂x2=0 for uniform solutions. This allows us to write the diffusive term in our linearized PDE as

Du∂2∂x2(u0+ϵu1(t,x))=ϵDu∂2u1(t,x)∂x2 D.10a
Dv∂2∂x2(v0+ϵv1(t,x))=ϵDv∂2v1(t,x)∂x2, D.10b

and we can similarly obtain the linearization of our reaction terms around (u0,v0) to see that

upH(u(t,x),v(t,x))-κ(u(t,x)+v(t,x))≈ϵa1u1(t,x)+a2v1(t,x), D.11a
vpD(u(t,x),v(t,x))-κ(u(t,x)+v(t,x))≈ϵb1u1(t,x)+b2v1(t,x), D.11b

where a1,a2,b1, and b2 are the entries of the Jacobian matrix for the reaction dynamics described in Sect. 4.1.

Putting together all of the terms we have obtained so far, we see that the perturbation functions u1(t,x) and v1(t,x) will satisfy the following linearized system of nonlocal PDEs

∂u1(t,x)∂t=Du∂2u1(t,x)∂x2+a1u1(t,x)+a2v1(t,x)-Duwuu0ρ∂∂xc1(u1(t,x+ρ)-u1(t,x-ρ))+c2(v1(t,x+ρ)-v1(t,x-ρ)),∂v1(t,x)∂t=Dv∂2v1(t,x)∂x2+a1u1(t,x)+b2v1(t,x)-Dvwvv0ρ∂∂xc3(u1(t,x+ρ)-u1(t,x-ρ))+c4(v1(t,x+ρ)-v1(t,x-ρ)), D.12

which we can use to study the stability of the coexistence state under the nonlocal PDE model.

Data Availability

All code used to generate figures is archived on GitHub (see GitHub Repository)) and licensed for reuse, with appropriate attribution/citation, under a BSD 3-Clause Revised License. This repository contains the Python code to simulate the stochastic spatial model and the Matlab code used to run numerical simulations of the PDE model, as well as all scripts that were used to generate the figures in the paper. The simulations of the stochastic spatial model used the Python package piegy, which was developed by author Chenning Xu.

Footnotes

TY was supported by the University of Illinois Undergraduate Research Office via a Research Support Grant. DBC’s research is partially supported by the Simons Foundation through the Travel Support for Mathematicians Program (grant MPS-TSM-00007872).

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

T. Yao and C. Xu: contributed equally and should be considered joint first authors.

References

  1. Allen B, Lippner G, Chen YT, Fotouhi B, Momeni N, Yau ST, Nowak MA (2017) Evolutionary dynamics on any population structure. Nature 544(7649):227–230 [DOI] [PubMed] [Google Scholar]
  2. Alsenafi A, Barbaro AB (2018) A convection-diffusion model for gang territoriality. Physica A 510:765–786 [Google Scholar]
  3. Alsenafi A, Barbaro AB (2021) A multispecies cross-diffusion model for territorial development. Mathematics 9(12):1428 [Google Scholar]
  4. Anguige K (2011) A one-dimensional model for the interaction between cell-to-cell adhesion and chemotactic signalling. Eur J Appl Math 22(4):291–316 [Google Scholar]
  5. Anguige K, Schmeiser C (2009) A one-dimensional model of cell diffusion and aggregation, incorporating volume filling and cell-to-cell adhesion. J Math Biol 58(3):395–427 [DOI] [PubMed] [Google Scholar]
  6. Antonioni A, Martinez-Vaquero LA, Mathis C, Peel L, Stella M (2019) Individual perception dynamics in drunk games. Phys Rev E 99(5):052311 [DOI] [PubMed] [Google Scholar]
  7. Armstrong NJ, Painter KJ, Sherratt JA (2006) A continuum approach to modelling cell-cell adhesion. J Theor Biol 243(1):98–113 [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Asslani M, Di Patti F, Fanelli D (2012) Stochastic turing patterns on a network. Physical Review E-Statistical Nonlinear and Soft Matter Physics 86(4):046105 [DOI] [PubMed] [Google Scholar]
  9. Aydogmus O (2018) Discovering the effect of nonlocal payoff calculation on the stabilty of ESS: Spatial patterns of hawk-dove game in metapopulations. J Theor Biol 442:87–97 [DOI] [PubMed] [Google Scholar]
  10. Benson J, Bessonov M, Burke K, Cassani S, Ciocanel MV, Cooney DB, Volkening A (2023) How do classroom-turnover times depend on lecture-hall size? Math Biosci Eng 20(5):9179–9207 [DOI] [PubMed] [Google Scholar]
  11. Bernoff AJ, Topaz CM (2016) Biological aggregation driven by social and environmental factors: A nonlocal model and its degenerate cahn-hilliard approximation. SIAM J Appl Dyn Syst 15(3):1528–1562 [Google Scholar]
  12. Biancalani T, Fanelli D, Di Patti F (2010) Stochastic turing patterns in the brusselator model. Physical Review E-Statistical Nonlinear and Soft Matter Physics 81(4):046215 [DOI] [PubMed] [Google Scholar]
  13. Bratus AS, Posvyanskii VP, Novozhilov AS (2014) Replicator equations and space. Mathematical Modelling of Natural Phenomena 9(3):47–67 [Google Scholar]
  14. Brown DB, Hansell R (1987) Convergence to an evolutionarily stable strategy in the two-policy game. Am Nat 130(6):929–940 [Google Scholar]
  15. Bubba F, Lorenzi T, Macfarlane FR (2020) From a discrete model of chemotaxis with volume-filling to a generalized patlak-keller-segel model. Proceedings of the Royal Society A 476(2237):20190871 [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Butler T, Goldenfeld N (2009) Robust ecological pattern formation induced by demographic noise. Physical Review E-Statistical Nonlinear and Soft Matter Physics 80(3):030902 [DOI] [PubMed] [Google Scholar]
  17. Butler T, Goldenfeld N (2011) Fluctuation-driven turing patterns. Physical Review E-Statistical Nonlinear and Soft Matter Physics 84(1):011112 [DOI] [PubMed] [Google Scholar]
  18. Buttenschön A, Hillen T, Gerisch A, Painter KJ (2018) A space-jump derivation for non-local models of cell-cell adhesion and non-local chemotaxis. J Math Biol 76:429–456 [DOI] [PubMed] [Google Scholar]
  19. Buttenschön A, Sinclair S, Edelstein-Keshet L (2024) How cells stay together: A mechanism for maintenance of a robust cluster explored by local and non-local continuum models. Bull Math Biol 86(11):129 [DOI] [PubMed] [Google Scholar]
  20. Cantrell R, Cosner C (2004) Deriving reaction-diffusion models in ecology from interacting particle systems. J Math Biol 48(2):187–217 [DOI] [PubMed] [Google Scholar]
  21. Cao Y, Erban R (2014) Stochastic turing patterns: analysis of compartment-based approaches. Bull Math Biol 76(12):3051–3069 [DOI] [PubMed] [Google Scholar]
  22. Champagnat N, Ferrière R, Méléard S (2006) Unifying evolutionary dynamics: from individual stochastic processes to macroscopic models. Theor Popul Biol 69(3):297–321 [DOI] [PubMed] [Google Scholar]
  23. Chen X, Lam KY, Lou Y (2012) Dynamics of a reaction-diffusion-advection model for two competing species. Discrete Contin Dyn Syst 32(11):3841–3859 [Google Scholar]
  24. Coclite A, Pellegrino S, Politi T, Popolizio M (2025) A replicator model with transport dynamics on networks for species evolution. J Math Biol 91(4):1–26 [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Codling EA, Plank MJ, Benhamou S (2008) Random walk models in biology. J R Soc Interface 5(25):813–834 [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Cooney DB (2025) Exploring the evolution of altruistic punishment with a PDE model of cultural multilevel selection. Bull Math Biol 87(4):51 [DOI] [PubMed] [Google Scholar]
  27. Cressman R, Vickers G (1997) Spatial and density effects in evolutionary game theory. J Theor Biol 184(4):359–369 [DOI] [PubMed] [Google Scholar]
  28. Cucker F, Smale S (2007) Emergent behavior in flocks. IEEE Trans Autom Control 52(5):852–862 [Google Scholar]
  29. Czuppon P, Traulsen A (2021) Understanding evolutionary and ecological dynamics using a continuum limit. Ecol Evol 11(11):5857–5873 [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Dawes JH (2016) After 1952: The later development of alan turing’s ideas on the mathematics of pattern formation. Hist Math 43(1):49–64 [Google Scholar]
  31. DeForest R, Belmonte A (2013) Spatial pattern dynamics due to the fitness gradient flux in evolutionary games. Phys Rev E 87(6):062138 [DOI] [PubMed] [Google Scholar]
  32. deForest R, Belmonte A (2018) A game-theoretic mechanism for aggregation and dispersal of interacting populations. arXiv preprint arXiv:1803.05855
  33. Doekes HM, Hermsen R (2024) Multiscale selection in spatially structured populations. Proc R Soc B 291(2023):20232559 [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Durrett R, Levin S (1994) The importance of being discrete (and spatial). Theor Popul Biol 46(3):363–394 [Google Scholar]
  35. Fahimipour AK, Zeng F, Homer M, Traulsen A, Levin SA, Gross T (2022) Sharp thresholds limit the benefit of defector avoidance in cooperation on networks. Proc Natl Acad Sci 119(33):e2120120119 [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Falcó C, Baker RE, Carrillo JA (2023) A local continuum model of cell-cell adhesion. SIAM Journal on Applied Mathematics pp S17–S42
  37. Funk F, Hauert C (2019) Directed migration shapes cooperation in spatial ecological public goods games. PLoS Comput Biol 15(8):e1006948 [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Galanthay TE, Flaxman SM (2012) Generalized movement strategies for constrained consumers: ignoring fitness can be adaptive. Am Nat 179(4):475–489 [DOI] [PubMed] [Google Scholar]
  39. Galiano G (2011) Modeling spatial adaptation of populations by a time non-local convection cross-diffusion evolution problem. Appl Math Comput 218(8):4587–4594 [Google Scholar]
  40. Gerlee P, Altrock PM (2019) Persistence of cooperation in diffusive public goods games. Phys Rev E 99(6):062412 [DOI] [PubMed] [Google Scholar]
  41. Gokhale CS, Park HJ (2020) Eco-evolutionary spatial dynamics of nonlinear social dilemmas. In: Advances in Dynamic Games: Games of Conflict, Evolutionary Games, Economic Games, and Games Involving Common Interest, Springer, pp 187–200
  42. Ha SY, Tadmor E (2008) From particle to kinetic and hydrodynamic descriptions of flocking. Kinetic and Related Models 1(3):415–435 [Google Scholar]
  43. Hasan A, Rodríguez N, Wong L (2020) Transport and concentration of wealth: Modeling an amenities-based-theory. Chaos: An Interdisciplinary Journal of Nonlinear Science 30(5) [DOI] [PubMed]
  44. Hastings A (1983) Can spatial variation alone lead to selection for dispersal? Theor Popul Biol 24(3):244–251 [Google Scholar]
  45. Hauert C, Wakano JY, Doebeli M (2008) Ecological public goods games: cooperation and bifurcation. Theor Popul Biol 73(2):257–263 [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Hein AM, Rosenthal SB, Hagstrom GI, Berdahl A, Torney CJ, Couzin ID (2015) The evolution of distributed sensing and collective computation in animal populations. Elife 4:e10955 [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Helbing D (2009) Pattern formation, social forces, and diffusion instability in games with success-driven motion. The European Physical Journal B 67:345–356 [Google Scholar]
  48. Helbing D, Molnar P (1995) Social force model for pedestrian dynamics. Phys Rev E 51(5):4282 [DOI] [PubMed] [Google Scholar]
  49. Helbing D, Yu W (2008) Migration as a mechanism to promote cooperation. Adv Complex Syst 11(04):641–652 [Google Scholar]
  50. Hermsen R (2022) Emergent multilevel selection in a simple spatial model of the evolution of altruism. PLoS Comput Biol 18(10):e1010612 [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Herrerías-Azcué F, Pérez-Munuzuri V, Galla T (2018) Stirring does not make populations well mixed. Sci Rep 8(1):4068 [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Herrerías-Azcué F, Pérez-Muñuzuri V, Galla T (2019) Motion, fixation probability and the choice of an evolutionary process. PLoS Comput Biol 15(8):e1007238 [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Hillen T, Buttenschoön A (2020) Nonlocal adhesion models for microorganisms on bounded domains. SIAM J Appl Math 80(1):382–401 [Google Scholar]
  54. Hillen T, Painter KJ (2009) A user’s guide to pde models for chemotaxis. J Math Biol 58(1):183–217 [DOI] [PubMed] [Google Scholar]
  55. Hillen T, Painter K, Schmeiser C et al (2007) Global existence for chemotaxis with finite sampling radius. Discrete and Continuous Dynamical Systems Series B 7(1):125 [Google Scholar]
  56. Hofbauer J, Sigmund K (1998) Evolutionary Games and Population Dynamics. Cambridge University Press [Google Scholar]
  57. Hutson V, Vickers GT (1992) Travelling waves and dominance of ess’s. J Math Biol 30(5):457–471 [Google Scholar]
  58. Hutson V, Martinez S, Mischaikow K, Vickers GT (2003) The evolution of dispersal. J Math Biol 47(6):483–517 [DOI] [PubMed] [Google Scholar]
  59. Hwang SH, Katsoulakis M, Rey-Bellet L (2013) Deterministic equations for stochastic spatial evolutionary games. Theor Econ 8(3):829–874 [Google Scholar]
  60. Joseph DD, Saut JC (1990) Short-wave instabilities and ill-posed initial-value problems. Theoret Comput Fluid Dyn 1(4):191–227 [Google Scholar]
  61. Karig D, Martini KM, Lu T, DeLateur NA, Goldenfeld N, Weiss R (2018) Stochastic turing patterns in a synthetic bacterial population. Proc Natl Acad Sci 115(26):6572–6577 [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Keener JP (2021) Biology in Time and Space: a Partial Differential Equation Modeling Approach, vol 50. American Mathematical Soc
  63. Kim H, Bressloff PC (2020) Stochastic turing pattern formation in a model with active and passive transport. Bull Math Biol 82(11):144 [DOI] [PubMed] [Google Scholar]
  64. Kimmel GJ, Gerlee P, Altrock PM (2019) Time scales and wave formation in non-linear spatial public goods games. PLoS Comput Biol 15(9):e1007361 [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Kolokolnikov T, Ward M, Wei J (2007) Self-replication of mesa patterns in reaction-diffusion systems. Physica D 236(2):104–122 [Google Scholar]
  66. Krause AL, Van Gorder RA (2020) A non-local cross-diffusion model of population dynamics ii: Exact, approximate, and numerical traveling waves in single-and multi-species populations. Bull Math Biol 82(8):113 [DOI] [PubMed] [Google Scholar]
  67. Krieger MS, Sinai S, Nowak MA (2020) Turbulent coherent structures and early life below the kolmogorov scale. Nat Commun 11(1):2192 [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Křivan V, Galanthay TE, Cressman R (2018) Beyond replicator dynamics: From frequency to density dependent models of evolutionary games. J Theor Biol 455:232–248 [DOI] [PubMed] [Google Scholar]
  69. Lee HW, Cleveland C, Szolnoki A (2022) When costly migration helps to improve cooperation. Chaos: An Interdisciplinary Journal of Nonlinear Science 32(9) [DOI] [PubMed]
  70. Levin SA (1974) Dispersion and population interactions. Am Nat 108(960):207–228 [Google Scholar]
  71. Lewis M, Murray J (1993) Modelling territoriality and wolf-deer interactions. Nature 366(6457):738–740 [Google Scholar]
  72. Li G, Steinbach G, Yunker PJ, Yao Y, Weitz JS (2025) Phase separation and coexistence in spatial coordination games between microbes. bioRxiv pp 2025–09 [DOI] [PubMed]
  73. Lin YH, Weitz JS (2019) Spatial interactions and oscillatory tragedies of the commons. Phys Rev Lett 122(14):148102 [DOI] [PubMed] [Google Scholar]
  74. Lindstrom MR, Bertozzi AL (2020) Qualitative features of a nonlinear, nonlocal, agent-based pde model with applications to homelessness. Math Models Methods Appl Sci 30(10):1863–1891 [Google Scholar]
  75. Luo S (2014) A unifying framework reveals key properties of multilevel selection. J Theor Biol 341:41–52 [DOI] [PubMed] [Google Scholar]
  76. Luo S, Mattingly JC (2017) Scaling limits of a model for selection at two scales. Nonlinearity 30(4):1682 [DOI] [PMC free article] [PubMed] [Google Scholar]
  77. Martinson WD, Volkening A, Schmidtchen M, Venkataraman C, Carrillo JA (2024) Linking discrete and continuous models of cell birth and migration. Royal Society Open Science 11(7):232002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  78. Murray JD (2007) Mathematical Biology: I. An Introduction, vol 17. Springer Science & Business Media
  79. Novak S, Chatterjee K, Nowak MA (2013) Density games. J Theor Biol 334:26–34 [DOI] [PMC free article] [PubMed] [Google Scholar]
  80. Nowak MA (2006) Evolutionary Dynamics: Exploring the Equations of Life. Harvard University Press
  81. Nowak MA, Bonhoeffer S, May RM (1994) Spatial games and the maintenance of cooperation. Proc Natl Acad Sci 91(11):4877–4881 [DOI] [PMC free article] [PubMed] [Google Scholar]
  82. Ohtsuki H, Nowak MA (2006) Evolutionary games on cycles. Proceedings of the Royal Society B Biological Sciences 273(1598):2249–2256 [DOI] [PMC free article] [PubMed] [Google Scholar]
  83. Ohtsuki H, Nowak MA (2006) The replicator equation on graphs. J Theor Biol 243(1):86–97 [DOI] [PMC free article] [PubMed] [Google Scholar]
  84. Ohtsuki H, Hauert C, Lieberman E, Nowak MA (2006) A simple rule for the evolution of cooperation on graphs and social networks. Nature 441(7092):502–505 [DOI] [PMC free article] [PubMed] [Google Scholar]
  85. Othmer HG, Scriven L (1969) Interactions of reaction and diffusion in open systems. Industrial & Engineering Chemistry Fundamentals 8(2):302–313 [Google Scholar]
  86. Othmer HG, Scriven L (1971) Instability and dynamic pattern in cellular networks. J Theor Biol 32(3):507–537 [DOI] [PubMed] [Google Scholar]
  87. Pacala SW (2020) The importance of Durrett and Levin (1994):" The importance of being discrete (and spatial)". Theor Popul Biol 133:33–34 [DOI] [PubMed] [Google Scholar]
  88. Painter KJ (2019) Mathematical models for chemotaxis and their applications in self-organisation phenomena. J Theor Biol 481:162–182 [DOI] [PubMed] [Google Scholar]
  89. Painter KJ, Hillen T (2002) Volume-filling and quorum-sensing in models for chemosensitive movement. Can Appl Math Quart 10(4):501–543 [Google Scholar]
  90. Park HJ, Gokhale CS (2019) Ecological feedback on diffusion dynamics. Royal Society Open Science 6(2):181273 [DOI] [PMC free article] [PubMed] [Google Scholar]
  91. Pepper JW (2007) Simple models of assortment through environmental feedback. Artif Life 13(1):1–9 [DOI] [PubMed] [Google Scholar]
  92. Pepper JW, Smuts BB (2002) A mechanism for the evolution of altruism among nonkin: positive assortment through environmental feedback. Am Nat 160(2):205–213 [DOI] [PubMed] [Google Scholar]
  93. Plank MJ, Simpson MJ, Baker RE (2025) Random walk models in the life sciences: including births, deaths and local interactions. J R Soc Interface 22(222):20240422 [DOI] [PMC free article] [PubMed] [Google Scholar]
  94. Potts JR, Lewis MA (2016) How memory of direct animal interactions can lead to territorial pattern formation. J R Soc Interface 13(118):20160059 [DOI] [PMC free article] [PubMed] [Google Scholar]
  95. Potts JR, Lewis MA (2019) Spatial memory and taxis-driven pattern formation in model ecosystems. Bull Math Biol 81(7):2725–2747 [DOI] [PMC free article] [PubMed] [Google Scholar]
  96. Sandholm WH (2010) Population Games and Evolutionary Dynamics. MIT Press [Google Scholar]
  97. Segel LA, Levin SA (1976) Application of nonlinear stability theory to the study of the effects of diffusion on predator-prey interactions. AIP Conference Proceedings American Institute of Physics 27:123–152 [Google Scholar]
  98. Seri E, Shnerb NM (2012) Sustainability without coexistence state in Durrett-Levin hawk-dove model. Thyroid Res 5:51–60 [Google Scholar]
  99. Short MB, d’Orsogna MR, Pasour VB, Tita GE, Brantingham PJ, Bertozzi AL, Chayes LB (2008) A statistical model of criminal behavior. Math Models Methods Appl Sci 18(supp01):1249–1267 [Google Scholar]
  100. Sicardi EA, Fort H, Vainstein MH, Arenzon JJ (2009) Random mobility and spatial structure often enhance cooperation. J Theor Biol 256(2):240–246 [DOI] [PubMed] [Google Scholar]
  101. Smith JM, Price GR (1973) The logic of animal conflict. Nature 246(5427):15–18 [Google Scholar]
  102. Szabó G, Fath G (2007) Evolutionary games on graphs. Phys Rep 446(4–6):97–216 [Google Scholar]
  103. Taylor NP, Kim H, Krause AL, Van Gorder RA (2020) A non-local cross-diffusion model of population dynamics i: emergent spatial and spatiotemporal patterns. Bull Math Biol 82(8):112 [DOI] [PubMed] [Google Scholar]
  104. Tilman AR, Watson JR, Levin S (2017) Maintaining cooperation in social-ecological systems: effective bottom-up management often requires sub-optimal resource use. Thyroid Res 10(2):155–165 [Google Scholar]
  105. Tilman AR, Plotkin JB, Akçay E (2020) Evolutionary games with environmental feedbacks. Nat Commun 11(1):915 [DOI] [PMC free article] [PubMed] [Google Scholar]
  106. Topaz CM, Bertozzi AL, Lewis MA (2006) A nonlocal continuum model for biological aggregation. Bull Math Biol 68:1601–1623 [DOI] [PubMed] [Google Scholar]
  107. Turing A (1952) The chemical basis of morphogenesis. Philos Trans R Soc Lond B Biol Sci 237(641):37–72 [Google Scholar]
  108. Uppal G, Vural DC (2018) Shearing in flow environment promotes evolution of social behavior in microbial populations. Elife 7:e34862 [DOI] [PMC free article] [PubMed] [Google Scholar]
  109. Vickers G (1989) Spatial patterns and ess’s. J Theor Biol 140(1):129–135 [DOI] [PubMed] [Google Scholar]
  110. Vickers G, Hutson V, Budd CJ (1993) Spatial patterns in population conflicts. J Math Biol 31(4):411–430 [Google Scholar]
  111. Volkening A, Sandstede B (2015) Modelling stripe formation in zebrafish: an agent-based approach. J R Soc Interface 12(112):20150812 [DOI] [PMC free article] [PubMed] [Google Scholar]
  112. Volkening A, Sandstede B (2018) Iridophores as a source of robustness in zebrafish stripes and variability in Danio patterns. Nat Commun 9(1):3231 [DOI] [PMC free article] [PubMed] [Google Scholar]
  113. Wakano JY, Hauert C (2011) Pattern formation and chaos in spatial ecological public goodsgames. J Theor Biol 268(1):30–38 [DOI] [PubMed] [Google Scholar]
  114. Wakano JY, Nowak MA, Hauert C (2009) Spatial dynamics of ecological public goods. Proc Natl Acad Sci 106(19):7910–7914 [DOI] [PMC free article] [PubMed] [Google Scholar]
  115. Wang C, Zhang Y, Bertozzi AL, Short MB (2021) A stochastic-statistical residential burglary model with independent poisson clocks. Eur J Appl Math 32(1):32–58 [Google Scholar]
  116. Wang H, Salmaniw Y (2023) Open problems in pde models for knowledge-based animal movement via nonlocal perception and cognitive mapping. J Math Biol 86(5):71 [DOI] [PubMed] [Google Scholar]
  117. Weibull JW (1997) Evolutionary Game Theory. MIT Press [Google Scholar]
  118. Weitz JS, Eksin C, Paarporn K, Brown SP, Ratcliff WC (2016) An oscillating tragedy of the commons in replicator dynamics with game-environment feedback. Proc Natl Acad Sci 113(47):E7518–E7525 [DOI] [PMC free article] [PubMed] [Google Scholar]
  119. White K, Lewis M, Murray J (1996) A model for wolf-pack territory formation and maintenance. J Theor Biol 178(1):29–43 [Google Scholar]
  120. Woolley TE, Baker RE, Gaffney EA, Maini PK (2011) Stochastic reaction and diffusion on growing domains: understanding the breakdown of robust pattern formation. Physical Review E-Statistical Nonlinear and Soft Matter Physics 84(4):046216 [DOI] [PubMed] [Google Scholar]
  121. Xu Q, Belmonte A, deForest R, Liu C, Tan Z (2017) Strong solutions and instability for the fitness gradient system in evolutionary games between two populations. J Differential Equations 262(7):4021–4051 [Google Scholar]
  122. Yao T, Cooney DB (2025) Spatial pattern formation in eco-evolutionary games with environment-driven motion. arXiv preprint arXiv:2502.06723
  123. Young G, Belmonte A (2018) Fast cheater migration stabilizes coexistence in a public goods dilemma on networks. Theor Popul Biol 121:12–25 [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All code used to generate figures is archived on GitHub (see GitHub Repository)) and licensed for reuse, with appropriate attribution/citation, under a BSD 3-Clause Revised License. This repository contains the Python code to simulate the stochastic spatial model and the Matlab code used to run numerical simulations of the PDE model, as well as all scripts that were used to generate the figures in the paper. The simulations of the stochastic spatial model used the Python package piegy, which was developed by author Chenning Xu.


Articles from Bulletin of Mathematical Biology are provided here courtesy of Springer

RESOURCES