- We are sorry, but NCBI web applications do not support your browser and may not function properly. More information

# Spatial dynamics of ecological public goods

^{a}Meiji Institute for Advanced Study of Mathematical Sciences, 1-1-1 Higashi Mita, Tama-ku, Kawasaki, Kanagawa 214-8571, Japan;

^{b}Program for Evolutionary Dynamics, Department of Organismic and Evolutionary Biology, Department of Mathematics, Harvard University, One Brattle Square, Cambridge, MA 02138; and

^{c}Department of Mathematics, University of British Columbia, 1984 Mathematics Road, Vancouver, BC, Canada V6T 1Z2

^{1}To whom correspondence should be addressed. E-mail: ac.cbu.htam@treuah

Author contributions: J.Y.W., M.A.N., and C.H. designed research; J.Y.W. and C.H. performed research; J.Y.W. contributed new reagents/analytic tools; J.Y.W. analyzed data; and J.Y.W., M.A.N., and C.H. wrote the paper.

## Abstract

The production, consumption, and exploitation of common resources ranging from extracellular products in microorganisms to global issues of climate change refer to public goods interactions. Individuals can cooperate and sustain common resources at some cost or defect and exploit the resources without contributing. This generates a conflict of interest, which characterizes social dilemmas: Individual selection favors defectors, but for the community, it is best if everybody cooperates. Traditional models of public goods do not take into account that benefits of the common resource enable cooperators to maintain higher population densities. This leads to a natural feedback between population dynamics and interaction group sizes as captured by “ecological public goods.” Here, we show that the spatial evolutionary dynamics of ecological public goods in “selection-diffusion” systems promotes cooperation based on different types of pattern formation processes. In spatial settings, individuals can migrate (diffuse) to populate new territories. Slow diffusion of cooperators fosters aggregation in highly productive patches (activation), whereas fast diffusion enables defectors to readily locate and exploit these patches (inhibition). These antagonistic forces promote coexistence of cooperators and defectors in static or dynamic patterns, including spatial chaos of ever-changing configurations. The local environment of cooperators and defectors is shaped by the production or consumption of common resources. Hence, diffusion-induced self-organization into spatial patterns not only enhances cooperation but also provides simple mechanisms for the spontaneous generation of habitat diversity, which denotes a crucial determinant of the viability of ecological systems.

**Keywords:**cooperation, evolutionary game theory, pattern formation, population dynamics

Spontaneous and complex pattern formation represents a common principle in physical, chemical, and biological systems ranging from hydrodynamical phenomena such as the ripples in the sand, to interacting chemical fronts (1), and the coloration of plants and animals such as the spots of the jaguar (2, 3), or vegetation patterns in arid ecosystems (4). Mathematical models of pattern formation use either cellular automata (5) or differential equations (6). Here, we show that similar types of patterns emerge in evolutionary settings of social dilemmas (7, 8). Social dilemmas are characterized by a conflict of interest between individuals and the group. Such conflicts arise in humans (9) and microorganisms alike (10–12). In antibiotic resistance, for example, bacteria secrete an enzyme that prevents cell wall degradation (11, 13, 14). Synthesizing the enzyme is costly to the bacterium, and releasing the enzyme creates a public good by protecting not only the bacterium itself but also the surrounding bacteria. Thus, enzyme production represents an act of cooperation that is prone to exploitation by mutant strains, which synthesize fewer or no enzymes. Such situations are captured by public-goods games (7, 15).

In a typical public-goods experiment, *N* individuals have the opportunity to cooperate and invest a fixed amount, *c*, into a common pool or to defect and invest nothing. The total investment is multiplied by a factor, *r* > 1, and distributed equally among all participants—irrespective of whether they have invested or not. Thus, every invested unit returns *rc*/*N* units to the investor (as well as to all other participants). Consequently, for *r* < *N*, rational players withhold their investments—but if all participants reason in this manner, the group foregoes the benefits of the public good, and no one receives anything. In contrast, had everybody cooperated, they would have been better off with a return of (*r* − 1)*c*. Conversely, if *r* > *N* rational players invest in the public good (7) because, even with only a single investor, the return from the public goods exceeds the investment (*rc*/*N* > *c*).

In populations containing a fraction, *u*, of cooperators and a fraction, *v* = 1 − *u*, of defectors, the evolutionary dynamics can be described by the replicator equation (16): = *u*(1 − *u*)(*g*_{C} − *g*_{D}). The fitness of cooperators and defectors, *g*_{C}, *g*_{D}, is determined by their performance in public-goods interactions in groups of size *N* that are randomly formed according to binomial sampling. The average number of cooperators among the *N* − 1 interaction partners is *u*(*N* − 1). Therefore, the average payoff of defectors is *g*_{D} = *u*(*N* − 1)*rc*/*N*, and of cooperators it is *g*_{C} = *g*_{D} + *rc*/*N* − *c*. Thus, *rc*/*N* − *c* measures the effective cost of cooperation. For *r* < *N*, defectors win. For *r* > *N*, cooperators win. However, the replicator dynamics neglects the fact that cooperator populations have a higher productivity than defector populations. This should be reflected in the natural assumption that cooperators are capable of maintaining higher population densities than defectors.

## Model and Results

Ecological public goods allow the population density *u* + *v* to fluctuate (17). This extension establishes a link between ecological and evolutionary dynamics. Variable population densities not only introduce feedbacks between reproductive success and carrying capacity but also affect the effective group size, *S*, in public-goods interactions. With *u* + *v* ≤ 1, the densities *u*, *v* can be interpreted in terms of probabilities when attempting to form interaction groups with *N* participants [see supporting information (SI) *Text*]. In particular, each binomial sampling trial fails with probability *w* = 1 − *u* − *v*, such that the average interaction group size is reduced to *S* = (*u* + *v*)*N*. For *r* < *N*, this results in an interesting feedback, which enables cooperators and defectors to coexist: If population densities are high, interaction groups are large (*S* > *r*) and defectors increase, but this reduces the return from the public good and results in a decline of the population density. Decreasing population densities lead to smaller interaction groups until eventually *S* < *r* holds, and cooperators thrive. This restores high population densities, and the cycle continues. Similar feedback mechanisms have been discussed in the complementary context of competitive interactions (18).

### Unstructured Populations.

The performance of cooperators and defectors in ecological public goods, *f*_{C}, *f*_{D} (see *SI Text*), depends not only on the composition of the interaction groups but also on their size. Moreover, increasing population density exerts competitive pressure on the rates of reproduction, and the evolutionary dynamics become:

Cooperators and defectors have an equal and constant per capita death rate, *d*, and a per capita birth rate of *w*(*f*_{C} + *b*) and *w*(*f*_{D} + *b*), which decreases for increasing population densities. The baseline birthrate, *b*, ensures *f*_{C} + *b* ≥ 0 because *f*_{C} can become negative in the limit *v* → 1, which is not meaningful (17).

Hereafter, we assume that the death rate exceeds the baseline birth rate (*d* > *b*), such that defectors cannot survive in the absence of cooperators. However, cooperators and defectors can coexist at an equilibrium, **Q**, or exhibit rich population dynamics depending on *r* (17). In particular, **Q** changes stability through a Hopf bifurcation at *r*_{Hopf}. For *r* > *r*_{Hopf} coexistence in **Q** is stable but the basin of attraction limited. For unfavorable initial configurations, the returns from the public good are insufficient to offset the death rate, *d*, and the population goes extinct: At low densities, too few public-goods interactions occur, or, if defectors abound, exploitation irrecoverably diminishes the public resource. Generally, for *r* < *r*_{Hopf}, the equilibrium **Q** is unstable, and the population cannot survive (17).

### Spatial Dynamics.

To consider effects of spatial extension on the dynamics of ecological public goods, we introduce diffusive migration in 2 dimensions (19):

The functions *u*, *v* denote the density of cooperators and defectors at location (*x*,*y*) and time *t*. As before, *w* = 1 − *u* − *v* determines the negative feedback between population density and birth rates. The diffusion constants *D*_{C} and *D*_{D} specify the migration rates for cooperators and defectors and ^{2} denotes the diffusion operator. This continuous spatial extension reveals a fascinating world of dynamical pattern formation in ecological public goods [see Fig. 1, Fig. S1, Movie S1, Movie S2, Movie S3, and Movie S4, and interactive online tutorials Hauert C (2009) Virtuallabs: Interactive tutorials on evolutionary game theory, www.univie.ac.at/virtuallabs].

Spatial patterns unfold if defectors diffuse (migrate) faster than cooperators, *D*_{D} ≥ *D*_{C}. Consequently, the dominant effect of spatial dynamics is not cooperators outrunning defectors but, instead, the defectors' relentless search of productive patches. Slow migration facilitates aggregation of cooperators, whereas fast migration supports defectors to readily locate cooperator patches, but it also impedes their ability to exploit one particular patch.

The equilibrium **Q** of Eq. **1** translates into a trivial solution of Eq. **2** in the form of a spatially homogeneous strategy distribution with densities according to **Q**. However, if **Q** is stable, this does not necessarily imply the stability of the corresponding homogeneous state. In the vicinity of **Q**, Eq. **2** takes on the form of an activator–inhibitor system. Any deviation from the equilibrium is amplified by cooperators (activators) but suppressed by defectors (inhibitors). For *D*_{D} > *D*_{C}, these antagonistic forces may give rise to the formation of complex patterns (Turing instability) (3, 6) (see Fig. 2*A*). Any small local disturbance propagates through the system and induces stable heterogeneous strategy distributions (see *SI Text*, Fig. S2, and Movie S3). Local disturbances may give rise to rearrangements of the patterns but then quickly relax into another qualitatively indistinguishable distribution of cooperators and defectors.

*A*) and diffusion induced coexistence (

*B*) on an

*L*×

*L*square (no flux boundaries). The density variation of cooperators (green) and defectors (red) is shown along

**...**

Conversely, if **Q** is unstable, then spatial extension and migration often prevents extinction and stabilizes coexistence of cooperators and defectors either in static spots and stripes similar to Turing patterns (see Fig. 2*B*) or in chaotic dynamics of ever-changing patterns (see Fig. 1 and Movie S1, Movie S2, and Movie S4). In general, a homogeneous population near **Q** exhibits periodic density oscillations of increasing amplitude that eventually result in extinction. However, any small local disturbance can propagate through space and trigger stationary, heterogeneous strategy distributions (see Fig. 2*B*). The pattern formation is again driven by the opposing forces of cooperators (activators) and defectors (inhibitors). However, the activator–inhibitor system develops in the vicinity of an unstable fixed point (see *SI Text*, Fig. S3, and Movie S4), which could be termed “diffusion-induced coexistence” in contrast to the classical “diffusion-induced instability” of Turing patterns. Also note that, whereas Turing patterns rely on substantial differences in the diffusion constants of activators and inhibitors (see *SI Text* and Fig. S1), this does not apply to diffusion-induced coexistence, where dynamic patterns emerge even for *D*_{D} = *D*_{C} (see Fig. 3).

## Discussion

In ecology, Turing patterns occur in spatial predator–prey models (20). Particularly rich dynamics develop in the vicinity of Turing–Hopf bifurcations (3, 21), as in the present case. Turing instabilities also occur in replicator–diffusion systems, but require at least 3 different strategic types (22). Two types are sufficient, however, if population densities can vary across space (23). In ecological public goods, cooperators and defectors suffice to produce rich spatiotemporal dynamics not only in the form of Turing patterns but also through diffusion-induced coexistence or deterministic chaos. Spatial dimensions generally support cooperation (24), and here, this holds in 3 different ways. First, the ratio of cooperators versus defectors is altered in favor of cooperators, which leads to an increase of the overall population density (see Fig. 4). Second, the robustness with respect to variations in the initial configuration is improved such that coexistence is much more easily achieved in spatial settings (see *SI Text* and Figs. S4–S6). Finally, and most importantly, spatial pattern formation based on diffusion-induced coexistence substantially extends the parameter range for the persistence of cooperators to settings where, otherwise, defectors would drive the population to extinction (see Figs. 3 and and44 for *r* < *r*_{Hopf}).

*A*) and ratio of cooperators to defectors (

*B*) as a function of the multiplication factor

*r*in ecological public-goods interactions. The nonspatial stable equilibrium (solid lines; requires

*r*>

*r*

_{Hopf}) is shown

**...**

Spatial games are traditionally based on 2 distinct types of discrete models that differ significantly from our approach. One type considers single individuals located in each site of a lattice or general network (25–28). Interactions are limited to a local neighborhood, and individuals are sedentary. Note that even small migration rates would severely challenge cooperation in these models. The other type of model considers metapopulations that consist of patches that are arranged on a lattice. Patches are linked to neighboring patches through migrating individuals (29–33). In the case of predator–prey interactions, this corresponds to a system of coupled oscillators that can exhibit highly complex dynamics (29–31). Our model represents a continuum limit of this second type of models, applied to the problem of cooperation.

The formulation in terms of continuous space based on partial differential equations (PDE) allows for a deeper understanding of the relevant mechanisms that drive the spontaneous generation of spatial heterogeneity and temporal fluctuations, which are ultimately responsible for supporting cooperation. Additionally, PDEs allow one to derive macroscopic quantities such as the relevant scale as well as the threshold for the onset of patterns emerging through Turing instabilities—features that are only empirically accessible in lattice models.

In our model, the local variability of the population density is a crucial feature combined with differences in migration rates of cooperators and defectors. The feedback between population density and interaction group size introduces a coupling of ecological and evolutionary dynamics, which enables cooperators to survive in well-mixed models (17). Fixing population densities at constant levels eliminates cooperation in both well-mixed and continuous spatial settings. In contrast to lattice models, continuous spatial extension alone is not enough to avert the extinction of cooperators, because diffusion prevents spatial segregation of cooperators and defectors, and hence, cooperators are unable to prevent exploitation by forming clusters. It is not merely the spatial dimensions but the emerging spatial heterogeneity that enables cooperators to persist at higher densities, or even more importantly, to survive under conditions that would inevitably result in the demise of the population otherwise.

Increased migration rates of defectors are motivated by the fact that defectors deplete common resources (or are unable to sustain them), and this causes them to move elsewhere. Conversely, migration rates of cooperators should be lower to enable them to take advantage of the locally sustained common resource.

In the context of antibiotic resistance, our results suggest that in spatial settings, susceptible free-riding strains (defectors) with high motility may actually increase the chances of survival as well as the density of the enzyme-producing, resistant strains (cooperators) and thereby aggravate the challenges for medical treatments. An interesting twist is introduced in microbial populations where migration rates or cell motility itself is linked to public-goods interactions. Examples include collective lubricant production in *Paenibacillus* to move across hard surfaces (34), the creation of an extracellular fibril matrix in *Myxococcus* to allow for cooperative swarming (12), or the formation of biofilms in *Pseudomonas* to gain competitive advantages in accessing limiting resources such as oxygen (10, 35). Particularly intriguing pattern formations are observed in *Escherichia coli* (36, 37). The chemotactic response to excreted aspartate amplifies spatial heterogeneity and enables cells to efficiently exploit available nutrients at the cost of producing the chemical signal. In the wake of the swarming cells, aggregates of sessile cells form. Cell aggregation may alleviate oxidative stress. Hence, in response to 2 common resources, nutrients and oxygen, *E. coli* strains diversify into 2 types with different motility (37).

Spatial heterogeneity supports coexistence (29, 30). In ecology, the most prominent example of pattern formation refers to the emergence of spatial vegetation patterns, which are usually associated with the risk of impending desertification (4, 38) because they indicate the ecosystems' bistability (39). Actually, the patterns stabilize the vegetated state, but environmental changes (absence of precipitation, overgrazing) may induce catastrophic shifts toward the desert state. In ecological public goods, similarly sharp transitions to extinction or homogeneous states are triggered by extreme external changes affecting the yield of the public resource.

Individuals consuming common resources, such as in Hardin's *Tragedy of the commons* (8), or producing common resources may alter and shape their environment in an enduring manner. This is particularly evident in microbial systems involving extracellular products such as in antibiotic resistance (11, 13, 14), biofilms (10), or swarming (12) and represent crucial determinants of microbial ecology (40). Spatial ecological public goods model concurrent spontaneous habitat diversification and species coexistence and hence suggest a mechanism to promote biodiversity (30, 41).

## Acknowledgments.

J.Y.W. acknowledges support from Japanese Science Foundation Grant JSPS.KAKENHI 18-09976. M.A.N. and C.H. acknowledge support from the John Templeton Foundation and the National Science Foundation/National Institutes of Health (NIH) joint program in mathematical biology (NIH Grant R01GM078986). C.H. acknowledges support from the Natural Sciences and Engineering Research Council of Canada.

## Footnotes

The authors declare no conflict of interest.

This article is a PNAS Direct Submission.

This article contains supporting information online at www.pnas.org/cgi/content/full/0812644106/DCSupplemental.

## References

*Myxococcus xanthus*. Nature. 2003;425:75–78. [PubMed]

*Escherichia coli*. Nature. 1991;349:630–633. [PubMed]

**National Academy of Sciences**

## Formats:

- Article |
- PubReader |
- ePub (beta) |
- PDF (661K)

- Ecological public goods games: cooperation and bifurcation.[Theor Popul Biol. 2008]
*Hauert C, Wakano JY, Doebeli M.**Theor Popul Biol. 2008 Mar; 73(2):257-63. Epub 2007 Dec 7.* - Evolutionary games and population dynamics: maintenance of cooperation in public goods games.[Proc Biol Sci. 2006]
*Hauert C, Holmes M, Doebeli M.**Proc Biol Sci. 2006 Oct 7; 273(1600):2565-70.* - Pattern formation and chaos in spatial ecological public goodsgames.[J Theor Biol. 2011]
*Wakano JY, Hauert C.**J Theor Biol. 2011 Jan 7; 268(1):30-8. Epub 2010 Oct 1.* - Evolutionary dynamics in structured populations.[Philos Trans R Soc Lond B Biol Sci. 2010]
*Nowak MA, Tarnita CE, Antal T.**Philos Trans R Soc Lond B Biol Sci. 2010 Jan 12; 365(1537):19-30.* - Review: Game theory of public goods in one-shot social dilemmas without assortment.[J Theor Biol. 2012]
*Archetti M, Scheuring I.**J Theor Biol. 2012 Apr 21; 299:9-20. Epub 2011 Jun 24.*

- Chemical warfare and survival strategies in bacterial range expansions[Journal of the Royal Society Interface. 201...]
*Weber MF, Poxleitner G, Hebisch E, Frey E, Opitz M.**Journal of the Royal Society Interface. 2014 Jul 6; 11(96)20140172* - Eco-evolutionary dynamics of complex social strategies in microbial communities[Communicative & Integrative Biology. ]
*Harrington KI, Sanchez A.**Communicative & Integrative Biology. 7e28230* - Extracellular enzyme production and cheating in Pseudomonas fluorescens depend on diffusion rates[Frontiers in Microbiology. ]
*Allison SD, Lu L, Kent AG, Martiny AC.**Frontiers in Microbiology. 5169* - Cell-cell contacts confine public goods diffusion inside Pseudomonas aeruginosa clonal microcolonies[Proceedings of the National Academy of Scie...]
*Julou T, Mora T, Guillon L, Croquette V, Schalk IJ, Bensimon D, Desprat N.**Proceedings of the National Academy of Sciences of the United States of America. 2013 Jul 30; 110(31)12577-12582* - The Increased Risk of Joint Venture Promotes Social Cooperation[PLoS ONE. ]
*Wu T, Fu F, Zhang Y, Wang L.**PLoS ONE. 8(6)e63801*

- PubMedPubMedPubMed citations for these articles
- TaxonomyTaxonomyRelated taxonomy entry
- Taxonomy TreeTaxonomy Tree

- Spatial dynamics of ecological public goodsSpatial dynamics of ecological public goodsProceedings of the National Academy of Sciences of the United States of America. May 12, 2009; 106(19)7910PMC

Your browsing activity is empty.

Activity recording is turned off.

See more...