Abstract
Dispersal determines gene flow among groups in a population and so plays a major role in many ecological and evolutionary processes, from biological invasions to species extinctions. Because patterns of gene flow shape kin structure, dispersal is also important to the evolution of social behaviours that influence reproduction and survival within groups. Conversely, dispersal patterns depend on kin structure and social behaviour. Dispersal and social behaviour therefore co-evolve but the nature and consequences of this interplay are not well understood. Here, we model this co-evolution and show that it readily leads to the emergence and maintenance of two broadly-defined social morphs: a sessile, benevolent morph expressed by individuals who tend to increase the fecundity of others within their group relative to their own; and a dispersive, selfserving morph expressed by individuals who tend to increase their own fecundity relative to others’ within their group. This social polymorphism arises as a consequence of a positive linkage between the loci responsible for dispersal and social behaviour, leading to benevolent individuals preferentially interacting with relatives and self-serving individuals with non-relatives. We find that this positive linkage is favoured under a large spectrum of conditions, which suggests that an association between dispersal proclivity and other social traits should be common in nature. In line with this prediction, dispersing individuals across a wide range of organisms have been reported to differ in their social tendencies from non-dispersing individuals.
Introduction
Dispersal, the movement away from natal habitat to reproduce, is an important step in the life-history of most organisms (1, 2). At the population level, dispersal patterns shape kin structure which determines whether individuals interact and compete with relatives. This in turn influences the evolution of social behaviour such as helping or aggression (3, 4). At the same time, dispersal decisions are often influenced by kin and social interactions (5, 6, 7, 1, 8), resulting in the co-evolution among dispersal between groups and social behaviours within groups (e.g., 9, 10, 11, 12). However, the consequences of this co-evolution for within-species behavioural diversity (e.g., 13) remain elusive. Here, we model the co-evolution between unconditional dispersal and social behaviours, and show that it readily leads to a stable social polymorphism whereby individuals who disperse behave differently than non-dispersers.
To model social interactions within groups and dispersal between groups, we assume that the population is structured according to the standard island model (14, 5, 15), in which individuals belong to local groups of size N and interact socially only with other locals. As a baseline, we assume that individuals reproduce asexually and then die so that generations do not overlap. An offspring either remains in its natal population (with probability 1–d), or disperses to another randomly chosen one (with probability d) at a cost Cd. Social interactions are modelled with a simple classical matrix game (16): individuals randomly pair up within their group and each independently chooses between two actions denoted B (with probability z) and M(with probability 1–z). Depending on the action of each player, each reaps a material payoff (labelled R, S, T and P, Fig. 1a) that in turn linearly increases its fecundity. We assume that T – S > 0, which means that an individual who plays B more often that its partner increases the partner’s fecundity relative to its own, we therefore refer to action B as benevolent and conversely, M as self-serving (M.1 for details).
Results
First, we study mathematically the co-evolution of the probability d of dispersing with the probability z of adopting the benevolent action B when they are encoded by two linked loci that experience rare mutations with small quantitative effects (17) (M.2 for mathematical method). Initially monomorphic for both traits d and z, the population evolves gradually to converge towards an equilibrium for both traits. Whatever the initial population, dispersal always converges to an interior equilibrium d* that depends on the cost of dispersal and group size, in agreement with previous results (5, 18) (Fig. 1b). There are four possible outcomes for the probability z of adopting the benevolent action B depending on payoffs (Fig. 1c): (1) when R > T and S > P, it is always better to play B and so z evolves to one; (2) conversely, when R < T and S < P, it is always better to play M so z evolves to zero; (3) when R > T and S < P, it is better to play the same action, B or M, as the rest of the population, so z evolves to either one or zero, depending on the initial z in the population; and (4) when R < T and S > P, it is better to play B in a M population and M in a B population, so z evolves to an interior equilibrium value 0 < z* < 1.
Once the population has converged to an interior equilibrium (d*, z*) for both dispersal and benevolence, the population either is maintained at this equilibrium by stabilising selection (i.e., the population is at a local ESS), or undergoes disruptive selection. Mathematical analysis reveals that disruptive selection occurs under a wide range of model parameters (Fig. 1d), and that it favours the emergence of two morphs: a more benevolent, sessile morph, and a more self-serving, dispersive morph (M.2 for details). To understand why selection favours these two morphs, consider an individual that expresses the more benevolent, sessile morph. Social behaviour and dispersal are genetically linked so its relatives are also more sessile, which in turn means that the recipients of its increased benevolence are more likely to be relatives. This positive interaction among kin then favours the invasion of the sessile, benevolent morph. Conversely an individual expressing the more self-serving, dispersive morph is more likely to decrease the fitness of non-relatives, and this negative interaction among unrelated individuals favours the dispersive self-serving morph. When social behaviour and dispersal are genetically linked, polymorphism therefore arises due to the combined effects of dispersal on kin interaction and social behaviour on neighbours’ fitness. In line with this, when only one trait, dispersal or benevolence, evolves and the other trait is fixed, the population remains monomorphic for a local ESS for all model parameters (M.2).
a. Payoff to a player according to its behaviour and its partner’s behaviour, b. Dispersal equilibrium d* for different group sizes N. c. Outcomes for the probability z of adopting benevolent action B in terms of T – R and S – P: (1) convergence to one (blue region); (2) convergence to zero (red region); (3) convergence to zero or one (yellow region); and (4) convergence to 0 < z* = (S – P)/(S – P + T – R) < 1 (grey region with z* values shown by lines), d. Parameter region under which disruptive selection leads to polymorphism at the interior equilibrium (d*, z*) (shaded region, here shown with T – R+S – P=1). Disruptive selection is therefore favoured when groups are small, dispersal cost is low and benevolence has large effects (measured by T – S).
To check our mathematical analyses and investigate the long-term effects of disruptive selection, we ran computer simulations under conditions that should lead to polymorphism (M.3 for details). As predicted, the population first converges to the interior equilibrium for dispersal d* and the probability z* to adopt benevolent action B, and splits into two morphs, a more benevolent, sessile morph, and a more self-serving, dispersive morph (Fig. 2a). Competition among the two morphs then creates a positive feedback that favours more extreme variants: benevolent individuals become increasingly benevolent and sessile to compensate for noxious interactions with self-serving individuals, while self-serving individuals become increasingly self-serving to take advantage of benevolence, and increasingly dispersive to avoid decreasing the fitness of relatives. The population eventually stabilises for two highly-differentiated genetic morphs, resulting in a strong association among dispersal and social behaviour (Fig. 2b).
a. Dispersal d and benevolence z in a simulated population of 10’000 individuals (trait values of 50 individuals randomly sampled every 500 generations, see colour legend for colouring scheme) and predicted interior equilibrium (solid black line, with R = 50, S = 0, T = 100, P = −15, N = 8, Cd = 0.1). b. Phenotypic distribution of whole population at generation 15 × 104 (same parameters as a.).
An important assumption made in the baseline model is that generations do not overlap. We relaxed this assumption by performing a mathematical analysis of dispersal and social behaviour co-evolution when generations overlap (M.4). This revealed that polymorphism is also often favoured in this scenario. In fact, in comparison to our baseline model, polymorphism is favoured for an even greater diversity of payoff variables, which means that a greater diversity of social behaviours may become associated with dispersal when generations overlap (M.4 for details).
We also determined the importance of genetic linkage in the emergence of highly-differentiated social morphs by studying the effects of various levels of recombination between the loci that control dispersal and social behaviour in simulations. These revealed that the emergence of distinct morphs depends on the level of recombination and that beyond a threshold, recombination prevents polymorphism and the population remains monomorphic (Fig. 3a). This is because recombination breaks the positive genetic linkage among the dispersal and social behaviour loci that is necessary for benevolent individuals to preferentially direct their benevolence towards relatives, and self-serving individuals to avoid harming their own.
Since disruptive selection promotes an association among dispersal and social behaviour, it should also promote a genetic architecture that makes this association heritable (19). We tested this by adding a third locus that controls recombination and let it evolve by introducing two alleles that mutate from one another, one recessive wild-type that codes for a recombination probability of 1/2 and one dominant mutant that stops recombination (M.5 for details). Starting with a wild-type population at the predicted equilibrium (d*, z*) for dispersal and social behaviour, the mutant allele at the recombination modifier locus eventually invades so that recombination is shut down, which then permits the emergence of distinct morphs (Fig. 3b). Disruptive selection therefore leads to the genetic integration of dispersal and social behaviours to form a “supergene” (20), which allows benevolent individuals to preferentially interact with relatives, and self-serving individuals with non-relatives. This type of kin association through genetic and spatial assortment may constitute a first step towards more complicated conditional dispersal (21) or conditional social behaviours (9, 22), which allow individuals to fine tune their behaviours towards relatives.
Discussion
These analyses reveal that the co-evolution of dispersal and behaviour readily leads to a social polymorphism and dispersal syndrome. Two broad-brush predictions can be made from our results. The first is that associations between dispersal and social behaviour should be common. This prediction finds echo in multiple organisms ranging from protozoa to primates (8, 23, 24, 25, 26, 27, 28, 29, 30). For example, in the ciliate Tetrahymena thermophila, cooperative strains disperse at a lower rate than non-cooperative strains at intermediate population densities (30). Similarly, in prairie voles Microtus pennsylvanicus, individuals that disperse are more aggressive than those who do not (23).
The second prediction is that dispersal and social behaviour should be genetically linked when polymorphism is present. Data to test this prediction are scarce because few studies combine dispersal, behavioural and heritability assays. A notable exception is found in western bluebirds Sialia mexicana, for which a multi-generational pedigree analysis revealed that dispersal and social behaviour are genetically correlated such that dispersive males are more likely to produce aggressive offspring and non-dispersive males, non-aggressive offspring (31).
a. Phenotypic distribution of whole population at generation 15 × 104 when recombination probability is fixed (value shown above graphs, other parameters same as in Fig 2a, M.5 for details), b. Upper panel: effective recombination rate in the population (number of recombination events/population size) every 100 generation when recombination evolves in a population of l0’000 individuals (for 30 replicates, each replicate is shown by a grey line, average recombination rate over replicates is shown in black). Lower panel: benevolence z of 50 individuals randomly sampled every 500 generations (coloured according to colour legend in Fig 2) for one replicate (shown in green in upper panel). Polymorphism arose in all 30 replicates.
Eusocial species, who typically exhibit rich and variable patterns of dispersal and social behaviours, also provide a good model to test our predictions. Many ant species show a dispersal syndrome that associates dispersal with social organisation. Queens either disperse far away from their natal nest and form single-queen (monogyne) colonies, or disperse short distances and form multiple-queen (polygyne) colonies (32). In line with the predictions of our model, individuals from monogyne colonies typically exhibit high intra-specific aggression towards non-nestmates while individuals from polygyne colonies are much less aggressive (32). The genetic underpinning of social organisation has been uncovered in two ant species, Solenopsis invicta (33) and Formica selysi (34). Remarkably, in both cases, the social polymorphism and dispersal syndrome is controlled by a large non-recombining region that has independently arisen in each species, which suggests that integration of dispersal and social behaviour into a supergene like in our model can readily occur in nature.
Our simple model of course cannot explain all associations among dispersal and social behaviour which canbe influenced by many other factors, e.g., (28, 35). Yet, the selection that associates dispersal and social behaviour that we revealed will act under most ecological settings because it only depends on kin structure which, due to limited dispersal, is ubiquitous in nature (36). While current data support the notion that individuals who disperse behave towards conspecifics in a way that is different to non-dispersers, further pedigree and genomic analyses will provide a better picture of how associations among dispersal and social behaviour are genetically constructed.
Materials and Methods
M.1 Matrix game
We use a pairwise matrix game (16) to model social interactions within groups. Here, we highlight some properties of this game and of the actions possible in this game. The payoff matrix (Fig 1a) entails that the average payoff to a focal player who adopts action B with probability z1 against a partner who adopts this action with probability z2 is
We assume that the payoff that an individual receives increases its fecundity linearly, in which case the fecundity of the partner, relative to the fecundity of the focal player, can be written as
where f0 is a baseline fecundity that ensures that fecundity is positive. Eq. (2) shows that when T – S > 0 and the the focal is more likely to express B than its partner (z1 – z2 > 0), this results in an increase of its partner’s fecundity relative to its own (note, eq. (2) also entails ∂[(f0 + π(z2, z1)/(f0 + π(z1, z2))]/∂z1|z1=z2 = (T – S)/π(z2, z2) > 0 when T – S > 0). Conversely, when the focal is less likely to express B than its partner (z1 – z2 < 0), this results in a decrease of its partner’s fecundity relative to its own. The quantity T – S can therefore be thought of as the relative fecundity effect of action B.
We assume throughout that T – S > 0 so that expressing action B increases the fecundity of its recipients (for all z2 < 1) relative to its actor, and we therefore call behaviour B “benevolent”. Conversely, expressing M increases the fecundity of its actor relative to its recipient (for all z2>0), and we call behaviour M “self-serving”. The condition that T – S > 0 includes well-known games. For instance, when T > R > S > P, B behaviour is equivalent to “Dove” in the Hawk-Dove game, or “Cooperate” in the Snow-Drift (or Volunteers’ dilemma) game. When T > R > P > S, B is equivalent to “Cooperate” in the Prisoner’s dilemma game. B behaviour therefore generally encompass cooperative and altruistic behaviours but not necessarily. Whether behaviour B is cooperative or altruistic sensu evolutionary biology depends on its fitness effects (15, 37), which themselves depend on population structure and life-cycle.
M.2 Evolutionary invasion analysis in the island model
M.2.1 Invasion and the average mutant growth rate
In general, the fate of a mutation that codes for a rare mutant phenotype xm = (zm, dm) when the resident population has phenotype x = (z, d) can be deduced from the geometric growth rate W (xm, x) of that mutation. In a population of constant size, the geometric growth rate is given as the time-averaged mean cumulative growth over different replicates or sample paths of the invasion dynamics (38, 39). If the geometric growth rate is less or equal to one (W (xm, x) ≤ 1), then the mutation will eventually go extinct in the population, otherwise it invades when rare (40, 41).
When the mutant and residents only differ by a small amount (‖xm - x‖ ≪ 0), the growth rate can be approximated by Taylor expanding W(xm, x) close to resident phenotype x,
where S(x) is a 2 x 1 vector and H(x) is a 2 x 2 matrix that respectively give the first- and second-order effects of selection. When mutations are rare with weak phenotypic effects, evolutionary dynamics can be decomposed into two time-scales (17), and S(x) and H(x) each capture a specific time-scale that we detail below for the infinite island model.
M.2.2 Directional selection in the infinite island model
On a fast time scale, the population evolves under directional selection, whereby selected new mutations rapidly sweep the population before a new mutation arises, so that the population “jumps” from one monomorphic state to another (17). The direction of evolution under directional selection is indicated by the selection gradient vector
In the infinite island model, the selection gradient on trait u ∈ {z, d}, which captures the directional coefficient of selection on trait u, has been shown (15, 12) to be equal to
where w(x1, x–1, x) is the individual fitness of a focal individual that we arbitrarily label as individual “1” (i.e., the expected number of adult offspring produced by individual “1”), when he has phenotype x1 = (z1, d1), his N−1 neighbours have phenotypes x-1 = (x2, ⋯, xN), and the resident has phenotype x; and rl (xm, x) is defined as the probability that l −1 randomly drawn (without replacement) neighbours of a mutant are also mutants (i.e., that they all belong to the same lineage). In a monomorphic population (so that xm = x), rl (x, x) reduces to the probability of sampling l individuals without replacement whose lineages are identical-by-descent, which is the standard lth-order measure of relatedness for the island model (42). The selection gradient (eq. 5) is therefore the sum of the direct fitness effects of trait u and the pairwise relatedness (r2 (x, x)) weighted indirect fitness effects of trait u (note: x–1 = x means x2 = x3 = ⋯ = xN = x) (15, 12).
In two-dimensional phenotypic space, S(x) points towards the direction of directional selection close to the resident, so adaptive dynamics will first settle for an equilibrium
when the equilibrium is an attractor of selection. The equilibrium is a local attractor, or a so-called convergence stable point (43), if the Jacobean matrix
is negative-definite, or equivalently if it has eigenvalues with negative real parts (44, 12).
M.2.3 Stabilising/disruptive selection in the infinite island model
Once the population is at an equilibrium x* that is convergence stable, the leading eigenvalue λ(x*) of the Hessian matrix,
tells us whether selection is stabilising (when λ(x*) ≤ 0 and all mutations close to the resident vanish) or disruptive (when λ(x*) > 0). Note that the Hessian necessarily has real eigenvalues because it is symmetric with real entries. In the infinite island model, it has been shown (12) that the huv (x*) entry of the Hessian for u ∈ {z, d} and v ∈ {z, d}, which is the quadratic coefficient of selection on traits u and v, can be decomposed as
where
captures the second-order fitness effects when the relatedness among mutants is the same as among residents (since r2(x*, x*) and r3(x*, x*) are evaluated when the population is monomorphic for the resident at equilibrium), and where
depends on the effects that the traits have on pairwise relatedness (i.e., on ∂r (xm, x*)/∂v and ∂r(xm, x*)/∂u). For the models considered here, previous works (45, 46, 12) have shown that this effect can be expressed as
where m(x*) is the neutral backward probability of dispersal (i.e., the probability that a breeding spot is filled by an immigrant in a population monomorphic for the resident), and wP (x1, x-1, x) is the expected number of offspring of individual 1 that remain in the focal island (i.e., its expected number of philopatric offspring).
The quadratic coefficient of selection on a single trait (hzz (x*) and hdd (x*)) tell us about selection on that trait when it is evolving in isolation from the other. For instance, when hzz (x*) ≤ 0, selection on z is stabilising, but when hzz (x*) > 0 selection is disruptive and z will diversify whether or not dispersal is also evolving. Meanwhile, the quadratic coefficient of selection on z and d, hzd (x*), captures the types of associations or correlations among z and d that are favoured by selection. It is therefore referred to as the correlational coefficient of selection (47). When hzd (x*) is positive, selection favours a positive correlation among both traits close to the resident and conversely, when it is negative, selection favours a negative correlation. It follows from standard linear algebra results (48), that if
then the leading eigenvalue of H(x*) is positive (λ(x*) > 0), which in biological terms means that if the correlational coefficient of selection is strong relative to the quadratic coefficient of selection on both traits, it causes selection to be disruptive and polymorphism arises.
M.2.4 Fitness and genetic structure for baseline model
We now use eqs. (5)–(12) to derive the dynamics for the baseline model set out in the main text, in which generations do not overlap (i.e., Wright-Fisher life cycle). We first express the necessary components for our analysis in terms of z and d: the individual fitness function (of individual “1”, w (x1, x–1, x)), and pairwise and three-way relatedness (r2 (x, x) and r3 (x, x)). The fecundity of individual “1” is
where recall that f0 is a baseline fecundity that ensures that fecundity is positive and the payoff function π is given in eq. (1). According to the life-cycle set out in the main text, the expected number of philopatric of individual “1” is
and the overall fitness of individual 1 is
We turn to pairwise and three-way relatedness that appear on the selection gradient (eq. 5) and Hessian matrix (eqs. 9-12). The neutral backward probability of dispersal, which recall is the probability that a breeding spot is filled by an immigrant in a monomorphic population, is given by
the ratio of the number immigrant offspring to the total number of offspring in a group. Pairwise and threeway relatedness are found using m(x) and standard identity-by-descent arguments (49, 15), giving
and
We now have all that is necessary to infer on the adaptive dynamics of dispersal and benevolence using the selection gradient and Hessian matrix (eqs. 5–12).
M.2.5 Directional selection on dispersal
Equilibrium dispersal. We first look at the selection gradient on dispersal. Substituting eqs. (16) and eq. (18) into eq. (5) (with u = d) gives the selection gradient on dispersal,
where
The equilibrium d* for dispersal then solves l (d*) = 0, which gives
in agreement with previous works on the evolution of dispersale.g., eq.(14) of (45).
Convergence stability of equilibrium dispersal. The equilibrium eq. (22) is an attractor when dispersal is evolving in isolation from z if
which is always the case because the derivative l’ (d) = −1–2cd(N(1-d)-d) < 0 is always negative (since N ≥ 2, 0 ≤ cd < 1 and 0 < d ≤ 1).
M.2.6 Directional selection on benevolence
Equilibrium benevolence. To look at the selection gradient on the probability z of adopting benevolent behaviour B, it is advantageous to use the following transformation for payoffs (50, 51, 52)
which results in a payoff matrix with the form
If transformation (24) can be used to study any symmetric game between two players, it is particularly useful for cooperative problems wherein a B-player gives benefit B > 0 to its partner at cost –C < 0, but if the partner is also B, there is a synergistic bonus D > 0 or discount D < 0 (eq. 25). Note that in terms of these new payoff variables, our assumption that action B is benevolent, T – S > 0, is B + C > 0. Substituting eqs. (16) and eq. (18) into eq. (5) (with u = z) gives the selection gradient,
so that the equilibrium x* which solves Sz (x*) = 0 is
in agreement with previous works on the evolution of z alone (53)eq.(9) with k=0. Substituting the original payoff variables eq. (24) then gives the equilibrium value presented in Fig. 1c. Eq. (26) shows that dispersal has no effect on the convergence of z to an equilibrium here. This is because how limited dispersal influences convergence of z depends on the effects of dispersal on genetic relatedness, which favours benevolent behaviour, and on kin competition, which favours self-serving behaviour (54), and when local population size is constant (fixed N) and generations do not overlap, these effects cancel out regardless of payoffs (55).
Convergence stability of equilibrium benevolence. The equilibrium eq. (27) is an attractor point when z is evolving alone if
which occurs when D < 0 (since 0 < m(x) ≤ 1). So, in order for an internal equilibria to be an attractor, we must have 0 < C/D < 1 and D < 0, i.e., R < T and P > S, which we will assume for the rest of this section.
M.2.7 Directional selection when dispersal and benevolence co-evolve
When both traits co-evolve, whether the point x* = (z*, d*) is an attractor depends on the eigenvalues of the Jacobean matrix (eq. 7). Since both off-diagonal entries of the Jacobean are zero, i.e.,
the eigenvalues of the Jacobean are equal to the diagonal entries (eqs. 23 and 28), and so the conditions for
to be an attractor are the same as for z* and d* to be attractors when evolving in isolation from one another, which we have already derived. Thus, provided 0 < C/D < 1 and D < 0, the population will converge to x* = (z*, d*) under directional selection. Note that these conditions preclude the existence of a convergence stable internal equilibrium for cooperative behaviour since it requires that the cost of cooperation is positive –C > 0. The conditions for the other possible outcomes for the evolution of z (convergence to zero or one) are found
similarly, by considering the selection gradient at z = 0 and z = 1.
M.2.8 Stabilising selection on dispersal and benevolence
Substituting eqs. (15), (16), (18) and (19) into eqs. (9)-eqs. (12) (with u = v = d), we find that we can express the quadratic coefficient of selection on dispersal at the equilibrium as a product
where
So, hdd (x*) < 0 is negative, and selection on dispersal when it is evolving alone is always stabilising (as previously found for this life-cycle (45)).
Similarly, substituting eqs. (15), (16), (18) and (19) into eqs. (9)–(12) (with u = v = z), the quadratic coefficient of selection on z at the equilibrium can be expressed as
where
Then, since we assume D < 0 here, hzz (x*) < 0 is non-positive, and mutations that only change z will eventually vanish. So, selection on z when it is evolving alone is stabilising for all model parameters.
M.2.9 Disruptive selection on dispersal and benevolence when they co-evolve
Correlational coefficient of selection. When dispersal and benevolence co-evolve, selection at the equilibrium also depends on the correlational coefficient of selection, and by substituting eqs. (15), (16), (18) and (19) into eqs. (9)-eqs. (12) (with u = z and v = d), we find that it can be expressed as
where
is positive (showing Gzd (x*) > 0 can be easily achieved with an algebraic computer program (56) once having substituted for the dispersal equilibrium eq. 22). Since we assume B + C > 0, eq. (35) shows that the correlational coefficient of selection is negative, hzd (x*) < 0.
Disruptive selection. Substituting eqs. (31), (33) and (35) into eq. (13) shows that the correlational coefficient of selection will cause disruptive selection whenever
This can be re-arranged to
so that the left hand side only depends on ecological variables: group size N and dispersal cost cd. Meanwhile, the right hand-side D/(B + C)2 f (x*, x*) only depends on the properties of the game and can be re-arranged as
Substituting for the original payoff variables (eq. 24) into eq. (39), which is in turn substituted into eq. (38) then allows to produce Fig. 1d (with T – R + S – P = 1 and f0 = 1).
In summary, the correlational coefficient of selection can cause polymorphism when z and dispersal co-evolve. In order to gain more understanding about this result, let us consider a mutation that arises in a monomorphic population for the equilibrium x* and that changes dispersal by Δd = dm – d* and z by Δz = zm – z*. This mutation will invade whenever its growth rate is greater than one, i.e., whenever
From eq. (35), the correlational coefficient of selection hzd (x*) < 0 is negative. Then, since hdd (x*) < 0 and hzz (x*) < 0, eq. (40) shows that the only mutations that have a chance of invading are those that have opposite effects on dispersal and z, i.e., mutations with Δd Δz < 0. Thus, two types of mutation can invade the population, one type that increase z and decrease d and another type that decreases z and increases d. Further insights can be brought by looking at the correlational coefficient of selection when dispersal cost is low (i.e., when cd is small),
which reveals that what causes the correlational coefficient of selection to be negative, is the combination of the effect of dispersal on pairwise relatedness (∂r (xm, x*)/∂d) with the indirect fitness effects of social interactions (∂w (x1, x-1, x*)/∂z1). The correlational coefficient of selection therefore favours mutations or morphs that ensure that its carriers either provide (1) more indirect benefits to their own kin;or (2) less indirect benefits to non-kin.
M.3 Computer simulations
We performed individual based simulations for a population composed of Nd = 1250 groups, each populated by N = 8 haploid individuals, using Mathematica 11.0.1.0 (56). Starting with a population monomorphic for no dispersal d = 0 and full benevolence z = 1, we track the evolution of the multidimensional phenotypic distribution as small mutations continuously arise. Each individual i = 1,…, 10000 is characterised by a dispersal value di and a benevolence value Zi. At the beginning of a generation, we calculate the fecundity fi of each individual according to its benevolence and that of its neighbours (eq. 14, with f0 = 1, R = 50, S = 0, T = 100, P = −15). Then, we form the next generation of adults by sampling N individuals in each group with replacement, where each individual from the parental generation is weighted according to whether they belong to the group on which the breeding spot is filled or not. If an individual belongs to the same group in which a breeding spot is filled, then its weight is fi(1–di). If it belongs to another group, then its weight is fidi (1–cd)/(Nd–1) (with cd = 0.1). Once an individual is chosen to fill the breeding spot, each locus independently mutates with probability 0.01. If they do not mutate, then the offspring has the same phenotypic values as its parent. If they mutate, then we add to parental values a small perturbation that is sampled from a normal distribution with mean 0 and variance 0.0052. The resulting phenotypic values are truncated to remain between 0 and 1. We repeated the procedure for 15 × 104 generations.
M.4 Analysis when generations overlap
We here study the adaptive dynamics of dispersal and benevolence when generations overlap. We assume that after reproduction, a random individual in each group dies and that offspring then compete for the single open breeding spot left vacant in each group at each generation.
M.4.1 Fitness and genetic structure
Following previous works (12), philopatric fitness and total individual fitness respectively now are
and,
Meanwhile, pairwise and three-way relatedness (12) are given by
and
which completes the necessary expressions to derive the adaptive dynamics of dispersal and benevolence.
M.4.2 Directional selection on dispersal
Equilibrium probability of dispersal. Substituting eq. (43) and (44) into eq. (5) (with u = d) yields the selection gradient on dispersal,
which shows that the equilibrium probability of dispersal (d* such that Sd (d*) = 0) is,
(in agreement with previous work (12)eq.(26)) which is greater than the equilibrium when generations do not overlap (eq. 22) because kin competition is greater when generations overlap (12).
Convergence stability of equilibrium probability of dispersal. If only dispersal is evolving, the equilibrium eq. (47) is a local attractor when
which is always true.
M.4.3 Directional selection on benevolence
Equilibrium benevolence. Substituting eq. (43) and (44) into eq. (5) (with u = z), and evaluated at dispersal equilibrium d* = 1/(1 + CdN) gives the selection gradient on the probability z of adopting benevolent behaviour B:
Solving the above for zero gives the equilibrium

Unlike when generations do not overlap (eq. 27), group size N and dispersal cost Cd now affect the equilibrium benevolence. This is because these variables determine dispersal (eq. 22), and when generations overlap, dispersal has greater effects on genetic relatedness than on kin competition (57). As a consequence, the indirect fitness benefits of z, as measured by B + C > 0, play a larger role on its evolution, and the equilibrium benevolence z* is greater when generations overlap than when they do not (eq. 50 versus eq. 27).
Convergence stability of equilibrium benevolence. If only benevolence is evolving, equilibrium eq. (50) is a
local attractor if
Therefore, the equilibrium for benevolence is internal (0 < z* < 1) and an attractor when only benevolence is evolving if
Thus, unlike when generations do not overlap, a cooperative behaviour (B > 0, ‒ C < 0) here can have a convergence stable internal equilibrium (with synergistic discount D < 0).
M.4.4 Directional selection when dispersal and benevolence co-evolve
When dispersal and benevolence co-evolve, whether the equilibrium
is an attractor depends on the eigenvalues of the Jacobean (eq. 7). Because we find that one of the non-diagonal entry of this matrix is zero
the eigenvalues are the diagonal entries that we have already calculated (eq. 48 and 51), and thus the conditions for the joint equilibrium eq. (53) to be internal and a local attractor are eq. (52), which we will henceforth assume to hold.
M.4.5 Stabilising selection on dispersal and benevolence
Once the population has converged to the equilibrium eq. (53), the quadratic coefficient of selection on dispersal is found by substituting eqs. (42)-(45) into the Hessian entry eqs. (9)-(12) (with u = v = d), which we can express as
where
Thus, hdd (x*) < 0 is always negative and selection on dispersal alone is stabilising for all model parameters. Similarly, the quadratic coefficient of selection on benevolence at the equilibrium eq. (53) is found by substituting eqs. (42)–(45) into the Hessian entry eqs. (9)–(12) (with u = v = z), and we find it can be written as
where
So hzz (x*) ≤ 0 (since D < 0 at an internal attractor equilibrium - eq. 52), and selection on z alone is also stabilising for all model parameters.
M.4.6 Disruptive selection on dispersal and benevolence when they co-evolve
When dispersal and benevolence co-evolve, whether selection is disruptive depends on the correlational coefficient of selection, which is found by substituting eqs. (42)-(45) into the Hessian entry eqs. (9)-(12) (with u = z and v = d), and which can be expressed as
where
Substituting eqs. (55), (57) and (59) into eq. (13) reveals after some re-arrangements that whenever
the correlational coefficient of selection will cause selection to be disruptive. Unlike the left hand side of eq. (38), the left hand side of eq. (61) is always negative. This means that unlike when generations do not overlap, for any ecological parameters N and cd, there exists a game that leads to disruptive selection when generations overlap. In addition, since cooperative games can have an internal convergence stable equilibrium when generations overlap (eq. 53), it is possible for such games to lead to polymorphism, which was not the case when generations do not overlap.
M.4.7 Selection when dispersal is cost-free
When dispersal is cost-free (cd = 0), analysis is much simplified. The population first converges to the equilibrium point
(provided 0 < C/D < 1 and D < 0), at which there is no kin structure since dispersal is full (d* = 1). In other words, the population is well-mixed and individuals interact at random. At this equilibrium, the Hessian matrix simply reads as,
and its dominant eigenvalue is,
Then, since
disruptive selection always occurs and leads to a polymorphism that creates kin structure: benevolent individuals that have z greater than z* = C/D also disperse less, allowing for relatedness among benevolent individuals to build up. In contrast, when dispersal is fixed at one (d = 1), the population will remain monomorphic for the convergence stable equilibrium z* for linear games (58).
M.5 Computer simulations for recombination and recombination evolution
M.5.1 Fixed recombination
We incorporated recombination in our model by adding a stage of diploidy in the life-cycle of our population. After social interactions within groups, haploid individuals produce haploid gametes that disperse according to their genotype at the dispersal locus. Then, gametes randomly fuse within groups to make diploid individuals whose genome recombine according to a probability R, and that in turn produce a single haploid adult. In terms of simulations, this modified life-cycle entails that after calculating the fecundity fi of each individual (as in M.3), each of the N breeding spots are filled by first sampling two haploid individuals from the parental generation according to the weighted sampling described in M.3 and fuse to make a diploid individual. Then, say a diploid individual has parent indexed i and j with genotypes (zi, di) and (zj, dj) respectively. With a probability R, recombination occurs in this diploid, which produces two recombinant haploid genotypes, (zi, dj) and (zj, di). With complementary probability 1 - R, recombination does not occur and the two haploid genotypes are the parental ones, (zi, di) and (zj, dj). The breeding spot is filled by sampling one of the haploid genotypes at random (with equal probability). The rest of the simulation is as in M.3.
M.5.2 Recombination evolution
In order to model recombination evolution, we added a third quantitative locus that controls the recombination probability at the diploid stage. The genome of a haploid individual therefore carries three quantitative loci: (z, d, τ), where as before z encodes the probability of adopting B action, d the probability of dispersal at birth, and τ controls the probability of recombination among z and d loci. For simplicity, we assume that the τ locus is completely linked to the d locus. Two alleles segregate at the recombination locus τ: a wild-type R which codes for a recombination probability of 1/2 and a dominant mutant r for zero recombination.
Diploid individuals are formed as in M.5.1. Then, say a diploid individual has parent indexed i and j with genotypes (zi, di, τi) and (zj, dj, τj) respectively. Recombination in this individual occurs with a probability 1/2 if τi = τj = R, or zero otherwise. If recombination occurs, the haplotypes produced are (zi, dj, tj) and (zj, di, τi) since the τ locus is completely linked to the d locus. Mutation occurs at each locus independently with probability 0.01. Quantitative effects of mutation at the z and d loci are as in M.3, while mutations at the τ locus changes r to R and R to r. The rest of the simulation is as in M.3.