Figures
Abstract
Many organisms undergo ontogeny, whereby individuals change in state (e.g., in size, morphology, or condition) as they age. Understanding the evolution of traits influencing ontogeny is challenging because their fitness effects unfold across an individual’s lifetime and may differ between classes such as sexes. Here, we analyse selection on non-plastic traits (e.g., fixed resource allocation strategies) that determine the development of dynamical states throughout life (e.g., body size), with consequences for fecundity and survival in age- and class-structured populations. Using invasion analysis, we derive expressions for directional and disruptive selection that decompose into age- and class-specific components. This allows us to identify convergence stable trait values, assess whether they are uninvadable or potentially experience evolutionary branching, and pinpoint the age and class pathways through which correlational and disruptive selection act. Applying our results to a model of growth under size-mediated sexual selection, we show how selection on growth rates distributes across ages and sexes, and how its relative strength depends on genetic correlations, individual ploidy and life-history. We also show how sex-specific developmental trade-offs and constraints can generate disruptive selection on male growth and favour the evolution of alternative male life histories. More broadly, our results highlight how adaptation is mediated by the interaction of development and demography, and provide tools to investigate how conflicts across ages and classes may influence senescence, sexual dimorphism, and the diversification of ontogenetic strategies.
Author summary
How does natural selection shape traits that influence how organisms develop through their lifetime? This question is difficult because the effects of such traits unfold dynamically as individuals change in states such as size or condition, which in turn influence survival and reproduction throughout life. We formulate a mathematical model that follows these causal links and characterises the gradual evolution of non-plastic traits affecting development. Our results apply to populations with different classes, such as males and females, that follow distinct developmental and demographic paths. Our model reveals when selection is stabilizing, holding populations fixed for an optimal trait value, and when it is disruptive, favouring trait diversification and the emergence of alternative life-history strategies. As an illustration, we analyse the evolution of sex-specific growth under size-based sexual selection. We show how the evolution of male and female growth rates depends on genetics, such as individual ploidy or genetic correlation between traits, but also on life history, which determines the relative strength of selection acting on trait expression at different ages. We further show how developmental trade-offs and demographic differences can generate disruptive selection on male growth, leading to the coexistence of fast-growing short-lived males and slow-growing long-lived ones. More broadly, our results link development, demography, and adaptation, and show how their interplay shapes biological diversity both within and between populations.
Citation: Weyna A, Mullon C, Lehmann L (2026) Directional and disruptive selection in populations structured by class and continuous ontogeny under incomplete plasticity. PLoS Comput Biol 22(4): e1013591. https://doi.org/10.1371/journal.pcbi.1013591
Editor: Christian Hilbe, Interdisciplinary Transformation University IT:U, AUSTRIA
Received: October 3, 2025; Accepted: February 16, 2026; Published: April 3, 2026
Copyright: © 2026 Weyna et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The authors confirm that all data underlying the findings are fully available without restriction. Mathematica notebooks that reproduce our results, and python scripts implementing our individual-based simulations are available at zenodo.org (https://doi.org/10.5281/zenodo.18303003).
Funding: The author(s) received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
1 Introduction
Many traits expressed by an organism throughout its life influence not only its survival and reproduction, but also its ontogeny. The fitness effects of such traits can be immediate, when their expression acts on current reproduction, as well as delayed, when their expression acts on future reproduction by modulating current maintenance and growth. Understanding how selection acts on traits affecting ontogeny is thus difficult because their fitness effects unfold over an individual’s entire lifetime. Additionally, these fitness effects often depend on the traits expressed by others and vary among classes of individuals, such as individuals of different sexes or ploidies, in different environments, or in different conditions. For instance, growth allocation can lead to different outcomes in males and females of the same population due to sex-specific developmental trajectories and sexual selection (e.g., more individuals of a given size can increase competition and sex-specific size variation can influence mate choice). Such interactions between ontogeny, class structure and social effects make it challenging to understand how selection shapes traits affecting ontogeny.
The inheritance and expression of traits affecting ontogeny can be conceptualised in different ways, with important implications for the operation of natural selection. Consider for example the growth allocation schedule of females and males in some vertebrate species. At one extreme, this schedule could be a completely plastic trait, with allocation varying independently across age and sex. This perspective, often adopted in evolutionary life-history models (e.g., [1–3]), allows trait expression to be adjusted optimally to each context, albeit within preset physiological constraints (e.g., physical boundaries in trait space, available resources). Such complete plasticity, however, implies the existence of a number of genetic loci large enough that expression can be matched to each possible context, with mutations able to generate age- and/or class-specific changes. It also implies that selection must be strong enough, on these numerous loci, to perfectly fine-tune trait expression. This contrasts with the fact that plasticity is often incomplete owing to genetic constraints (i.e., due to trait expression being controlled by a limited number of loci), leading to similar trait values being expressed across contexts. Under such constraints, selection acts on a shared genetic architecture, potentially generating antagonistic pressures across age [4] or classes [5]. In humans for instance, some mutations in BRCA genes are associated with increased mortality in older individuals (via higher rates of breast and ovarian cancer), but also with increased fertility in young individuals (via earlier age at paternity in men and lower miscarriage rates in women; [6]).
Mathematical models have been useful for analysing selection on traits affecting ontogeny under complete and incomplete plasticity. These models typically consider gradual trait evolution, whereby under a constant influx of mutations with small effects on traits, a population evolves under directional selection towards a local evolutionary equilibrium. Under complete age-wise plasticity, directional selection on age-specific trait expression depends on its effect on current, as well as future reproduction, via changes in development or survival (e.g., [2,7–10]). These models show that by treating ontogeny as a dynamical system at the individual level, it becomes possible to track the future fitness consequences of age-specific trait expression, such that each instant of expression can be optimized. More recent studies have applied the same future-accounting methods to cases where plasticity is incomplete [9,11]. When a shared genetic architecture forces the same trait value to be expressed at different ages or times, directional selection can be understood as a weighted sum of fitness effects over all instants where a trait value is expressed [9,11,12]. The weights in that sum then reflect the discount in selection efficiency that applies to later trait expression, due to the thinning of cohorts and to the reduction in remaining reproduction opportunities [13]. This body of theory provides a way to analyse the outcome of directional selection on traits that affect ontogeny under genetic constraints, while also accounting for age-specific demography and social interactions.
Once a population has converged towards a local evolutionary equilibrium under directional selection (a “convergence stable trait” value, [14,15]), it may either remain genetically monomorphic due to stabilising selection or become polymorphic owing to disruptive selection (e.g., [15–17]). However, disruptive selection on traits that affect ontogeny remains understudied [12]. Nevertheless, empirical evidence suggests that selection plays a role in shaping life-history polymorphisms. In the Atlantic salmon for instance, young males can adopt alternative ontogenetic trajectories that favour either short-term mating or delayed reproduction after migration and growth [18]. This polymorphism is in part explained by genetic variation in developmental thresholds, but current theory offers no general method to assess whether this variation is favoured by disruptive selection. A second limitation is that most current analyses of selection on traits affecting ontogeny consider populations structured by age only. Yet many natural populations are also structured in various discrete classes (e.g., sexes, ploidies or local environments) in which the consequences of trait expression differ. Polymorphisms in such populations can occur within a single class [18] or span multiple classes, sometimes with overlapping genetic control [19]. It is unknown to what extent genetic constraints, by coupling selection pressures acting in different classes, may affect life history evolution and diversification.
Here, we fill these gaps by extending current theory to analyse directional and disruptive selection on a finite number of quantitative traits expressed constantly throughout life history (i.e., incomplete plasticity) and that affect ontogeny in class-structured populations. We consider selection on traits expressed by individuals belonging to different classes with specific development, ploidy, demography, and social context. We derive expressions for both directional and disruptive selection on these traits, that we partition into class- and age-wise components, and provide numerical tools that facilitate the calculation of these expressions. Additionally, we use these results to study a model of size-mediated sexual selection under a sex-specific survival-growth trade-off and frequency-dependent competition. In this application, we find that under strong sexual selection, disruptive selection on male growth rates leads to the emergence of multiple male life histories: some grow rapidly to large size, thereby obtaining mating opportunities with highly fecund females but suffering higher mortality; others remain small, specialise in less fecund mates, and survive longer. Beyond this specific example, our results allow for analyses of directional and disruptive selection under a wide range of evolutionary contexts including ecological and social feedbacks, and thus open the door to a sharper understanding of the selective forces that shape life history and its variation within populations.
2 Methods
2.1 Biological assumptions
We consider a large age-structured population in continuous time, under constant global abiotic environmental conditions. Each individual in the population belongs to one of a finite number of classes, such as sex, mating type, or habitat state. The class of an individual is determined at birth and does not change during its lifetime. We leave unspecified at this point the mode of reproduction and ploidy of each class, but assume that they are constant properties of the population. To implement class-specific ontogeny, we associate to a focal individual of class j and age a a vector
of
class-specific internal state variables, where
is a scalar giving the value of the focal’s m-th internal state at age a (see Table 1 for a summary of the symbols used throughout), and where
is assumed to be independent of age. Internal states can represent any relevant biological quantitative feature that changes with age, such as the mass or size of a given organ, or the probability of occurrence of a physiological event (e.g., moulting or menopause).
We assume that the rates of change in internal states in a focal individual of age a and class j depend deterministically on its internal states and on a vector
of
class-specific evolving quantitative traits, where
is a scalar giving the value of the l-th trait expressed in class j (called trait
hereafter). Trait values are assumed to be constant properties of individuals throughout ontogeny (e.g., constant allocation proportions), fully determined by their genetic value (no stochastic environmental effects on trait expression) under additive genetic action (no dominance). All traits are assumed to be encoded by the same locus under a continuum-of-alleles model without mutational bias (e.g., [20,21]).
Besides their effect on development, the internal states and traits of an individual of class j are assumed to also influence its vital rates, that is its mortality rate , and the rate
at which it produces offspring of class i. Hereafter, we will refer to those quantities conditional on both a class j parent and a class i offspring as class-oriented quantities (e.g.,
is the class-oriented fecundity rate). An individual’s developmental rates and vital rates are further assumed to depend deterministically on a set of environmental variables, that are common to all individuals in the population but may affect individuals differently depending on their internal states. These external environmental variables can be demographic (e.g., population density) or ecological (e.g., available resources, pathogen density), and their dynamics can thus depend on the population.
Taken together, these assumptions let us derive the evolutionary dynamics of the evolving traits in populations structured by class and ontogeny. Our objective is to establish the first and second order conditions necessary to classify the singular points of gradual evolutionary dynamics [17]. To this aim, it is sufficient to carry out an invasion analysis (e.g., [12,17,22,23,24,25]), that is to focus on the invasion process of a rare mutant allele inducing a trait change in a population fixed for some resident allele (i.e., monomorphic for some resident trait).
2.2 The mutant basic reproductive number
To account for the effect of mutant alleles on mutant trait expression under arbitrary ploidy and reproductive systems, we denote by the value of trait
in a mutant individual (i.e., an individual carrying at least one mutant allele), where
is the mutant allelic value specific to trait
and
is the corresponding resident allelic value. The allelic value of an allele is defined here as the trait value induced by that allele in an individual carrying only copies of that allele. This construction allows to cover simple systems such as, for instance, haploidy (where mutants carry a single mutant allele,
), diploidy under full genetic mixing and dosage compensation (i.e., where all mutant individuals are heterozygotes with trait
) or any combination of both across classes (e.g., haplodiploidy). This notation for trait
also accounts for more complicated cases, such as systems with polyploid classes, or where mutants can carry more than one mutant allele (e.g., diploid mutants produced via selfing; see for instance [26]). With this, we let
stand for the vector collecting mutant trait values in each class, where
is the vector of traits expressed by a mutant individual of class j. Therein,
, where
stands for the vector of mutant allelic values specific to class j, and likewise
, where
stands for the vector of resident allelic values specific to class j. Under the assumptions of additive gene action and dosage compensation, individuals carrying only resident alleles have traits equal to the resident allelic value. Thus, resident trait
can conveniently be written as
(here and hereafter, we use the circle ∘ superscript to denote evaluation at resident trait values, i.e.,
), such that
.
Having defined trait values in terms of allelic values, we now turn to the conditions of spread of a mutant allele. It follows from our demographic assumptions, and from standard results on multi-type age-dependent branching processes [27], that the fate of a lineage of mutant allelic copies encoding allelic values u, and descending from a single copy introduced into a resident population monomorphic for allelic values v at equilibrium (i.e., where environmental processes have reached a fixed attractor; e.g., [23,28,29]), can be predicted from its basic reproductive number . This is the expected number of descendant mutant copies produced over its whole lifetime by an individual carrying the mutant allele, averaged over all possible individual contexts in which the mutant allele can be found in. Specifically, a mutant lineage starting from a single copy goes extinct with certainty when
, but has a positive probability of not going extinct when
.
The basic reproductive number is obtained as the leading eigenvalue of the mutant next-generation matrix , whose ij-th element is the expected number of descendant copies that a mutant allele found in an individual of class j produces over its lifetime, via descendant individuals of class i, when the population is monomorphic for v ([27,30,31]; see appendix A.1 in S1 Text for details). This element can be written as the product
, where
is the expected lifetime number of offspring of class i produced by a focal mutant individual of class j (i.e., individual class-oriented lifetime fecundity), and where
gives the expected number of mutant allelic copies transmitted to one offspring of class i by a parent of class j (i.e., converting individual fecundity into allelic fecundity and assumed to be constant). In a well-mixed diploid population with sexual reproduction for instance,
for any i and j as diploid mutants carry one mutant allele that is transmitted to half their offspring.
We express individual class-oriented lifetime fecundity as
that is as the integral over all possible ages of the product of the probability to survive to age a (i.e., survivorship) with
, which is the rate at which a mutant individual of age a and class j produces offspring of class i and depends on the individual’s state
. Survivorship and state values themselves constitute the unique solution to the system of autonomous ordinary differential equations (ODEs):
where and
are, respectively, the mortality rate and vector of developmental rates of a mutant of class j (with
being a fixed vector of initial values for the internal states).
The fact that the fecundity, mortality, and developmental rates in eqs (1) and (2) do not depend explicitly on age a reflects the modelling assumption that all environmental and physiological effects on individuals are mediated by their internal state variables. The biological rationale behind this assumption is that organisms typically respond not to time per se, but to internal cues (e.g., energy reserves, physiological state, accumulated damage) or to external cues (e.g., temperature, photoperiod) that may correlate with age or other aspects of condition. Under this rationale, the dependence of eqs (1) and (2) on the resident traits v summarizes all interactions that a focal mutant has with its environment, when this environment is at an equilibrium (which is assumed throughout and entails no global environmental fluctuations). This is because all demographic and/or ecological state variables are then fully determined by the resident population, and thus by resident traits. In other words, environmental processes, as complex as they may be, do not need to be modelled explicitly for a general characterization of selection in our model. Within specific applications however, the environment does need to be modelled, such that the effect of v on a mutant can be measured (see for instance [32] for ecological feedbacks, or [11] for behavioral feedbacks. See also the example model of section 4 where simple density-dependent fecundity is implemented).
In summary, our model decomposes class-oriented lifetime reproductive success in terms of three embedded phenotypic layers. The highest layer is composed of vital rates (i.e., fecundity and mortality rates), which depend on individual traits, current states and the environment. The second layer is that of the states, which summarize the current behavioural, physiological or morphological states of individuals resulting from past trait expression and past interactions with their environment (since the rates of change in states depend on traits and on the environment). The third layer is that of evolving traits, which depend only on allelic values and summarize how these values are aggregated and expressed by individuals. In turn, allelic values are encoded by single alleles, and the set of alleles carried by individuals constitute their genotype. Because we concentrate on invasion analyses, we need not consider more than two alleles at a time, a mutant and a resident allele.
2.3 Local analysis and evolutionary dynamics
2.3.1 Directional and quadratic selection gradients.
We now assume weak mutation effects and write the mutant’s allelic value as a small perturbation of the resident’s allelic value, where
is a trait-specific random mutation effect and
is a small parameter (assuming that mutations are such that
always lies within the domain of
, for any trait l in any class j). The basic reproductive number of a mutant allele can then be Taylor expanded around
as
where we used the fact that in a resident population at demographic equilibrium, , and
is a remainder of order
. Here,
is the effect of the mutant in class j;
is a
vector of directional selection coefficients, with element l given by
is a
matrix of quadratic selection coefficients with
-element
where we used the facts that implicitly depends on
and that
. Finally, ‘·’ denotes the dot product, and ‘
’ denotes transposition in eq (3a).
The quantity (eq 3b) is the effect of a marginal change in the mutant allelic value
on the mutant’s reproductive number. It can be decomposed as the product of two components (right-hand side of eq 3b): the marginal effect of
on
, and the effect of a change in allelic value on trait expression. Because we assume additive gene action, this second term is a constant independent of trait values for a given class j: it gives the relative genetic contribution of a mutant allele to the individual’s trait value (e.g., one-half under diploidy or one under haploidy). If
, selection favours an increase in that trait; if
, it favours a decrease (see Table 2 for a summary of the types of selection considered throughout).
Meanwhile, the quantity (eq 3c) is proportional to the multiplicative effects of joint changes in
and
on the mutant’s reproductive number, beyond their individual effects. When
or
, it quantifies how a change in the first trait modulates the effect of a change in the second. In other words,
describes correlational selection on traits
and
: positive values indicate that
increases faster with one trait when the other is larger – meaning that quadratic selective effects favour similar changes in the two traits – whereas negative values indicate that
increases faster with one trait when the other is smaller, favouring opposite changes. For
and
, a negative value of
indicates that
decelerates with increasing deviation from the resident trait along a single trait axis
, while a positive value of
indicates that
accelerates along that axis – meaning that quadratic selection favours trait values close or away from the current resident value, respectively.
2.3.2 Mutation limited evolutionary dynamics.
Directional and quadratic selection coefficients inform gradual trait evolution when mutations are rare and have weak effects on the traits. Specifically, when mutations have small effects (i.e., ), the ‘invasion implies substitution’ principle for class-structured populations [33] states that a mutant will increase (respectively, decrease) in frequency and eventually replace the resident (be lost) whenever
is positive (respectively, negative). This implies the existence of a mutation-limited regime in which evolution proceeds gradually, as a sequence of trait substitutions along the direction favoured by selection. This sequence halts only when the population reaches a phenotypic point v where
for all mutations in a close neighbourhood of v. When the trait space is bounded and v is at the boundary, new mutations can only move traits inward or along the boundary. Condition (4) can then be satisfied if directional selection opposes all admissible mutations (i.e., or equivalently if selection favours trait values outside of the authorized range, such that corresponding elements of
and
always have opposing sign). In what follows, we focus on cases where condition (4) is met in the interior of trait space.
When mutation effects on trait values are not exactly equal across traits – that is when the distribution of mutation effect is not confined to a lower-dimensional subspace of trait space (e.g., is sampled from a multi-normal distribution over
with full-rank covariance matrix) – there always exists some mutation that affects one trait without changing the others. Therefore, on the long term and unless mutation effects are fully correlated across traits, traits can be thought of as being unconstrained genetically. In this case, condition (4) is satisfied in the interior of trait space if, for some trait value vector
,
Any satisfying eq (5) will be called a singular trait value and constitutes a candidate evolutionary equilibrium. But will evolution converge to such a singular trait?
A sufficient condition for to act as a local attractor of the evolutionary dynamics – i.e., for the population to evolve toward
via a trait substitution sequence – is that the Jacobian matrix
is negative definite ([34, p. 189]). This matrix is a
block matrix whose block
is a matrix
with element
given by
The matrix is negative definite if the leading eigenvalue of its symmetric part,
, is negative. In that case,
is said to be strongly convergence stable (sensu [34]). The term ‘strongly’ reflects that convergence occurs from all nearby trait values, regardless of the mutational covariance structure. In contrast, when
is not negative semi-definite, there is some mutational covariance structure for which
is a repellor of the evolutionary dynamics ([34, p. 198]).
By eq (3a), if the population has reached a singular trait value , then a sufficient condition for local uninvadability, i.e., for any nearby mutant to be selected against and thus for selection to be stabilising at
, is that
Eq (7) holds if and only if the block matrix , whose block
is
, is negative definite (i.e.,
for all
). Since
is a symmetric real matrix, it is negative definite if and only if all its eigenvalues are negative.
When has at least one positive eigenvalue (i.e.,
is not negative semi-definite), there exists a set of mutation directions – specifically those aligned with the leading eigenvector of
– that are favoured on both sides of the singular strategy
. In other words, selection is disruptive at
: it favours divergence away from the resident trait value. A sufficient condition for
to not be negative semi-definite is that any diagonal block
is not negative semi-definite (since diagonal blocks are symmetric matrices, [35, Theorem 2.2, p. 1062]). In turn, a diagonal block
is not negative semi-definite if any of its diagonal elements is positive, i.e., if
for some trait
. At a singular strategy, the quantity
captures whether selection on trait
is locally stabilising (if negative) or disruptive (if positive) when that trait evolves in isolation from all others. More generally, when
is not negative semi-definite and
is strongly convergence stable, selection may lead to evolutionary branching, whereby two alleles with slightly different trait values near
are both maintained and subsequently diverge as they accumulate further mutations (the exact conditions for this to happen when multiple traits co-evolve remains an open question, [36]).
Eqs (3a)–(7) show that under the assumption of rare mutations with small phenotypic effects, key features of the gradual long-term evolution of traits can be predicted from the selection gradients and the Jacobian and Hessian matrices. Eqs (5)–(7) assume that mutation effects on trait values are not exactly equal across traits, thereby excluding cases where genetic constraints force traits to be expressed identically across classes. We will later visit such genetically constrained trait expression, which can in fact be analysed using the same results as above, with only minimal adjustments (see appendix A.6 in S1 Text for details). In the following, we give explicit expressions for the directional and quadratic selection coefficients.
3 Results
3.1 Directional selection
3.1.1 Age-specific coefficient of directional selection.
We show in appendix A.2 in S1 Text that the coefficient of directional selection on trait can be written as
where
is an age a specific coefficient of directional selection. This coefficient involves three quantities. (i) The leading right-eigenvector of the resident next-generation matrix
, such that
gives the frequency of alleles carried by class-j individuals among resident newborns. (ii) The leading left-eigenvector
of
, such that
is the reproductive value of an allele found in a resident newborn of class i (i.e., the expected number of copies this allele will produce over the lifetime of its carrier). We refer to
and
as allelic class frequencies and reproductive values at birth, respectively. Finally, (iii) the marginal effect
of variation in trait expression on the so-called Hamiltonian
, which we detail below in eq (10). For now simply note that this derivative measures how a change in trait
affects the production of class-i offspring by a class-j individual: directly, through a change in fecundity at age a; and indirectly through changes in survival and development at that same age (i.e., influencing future reproduction).
With these definitions in mind, in eq (9) can be read from right to left as follows. First,
gives the probability that a mutant allele occurs in a newborn of class j, so that a variation in trait
will be expressed in such an individual and affect its life history across all ages a. Second,
quantifies how such age-specific variation affects the production of class-i offspring, accounting for both current and future contributions, i.e., at age a and later. Third,
converts offspring into transmitted mutant allele copies, and finally
weights each such descendant copy by its reproductive value in class i. Summing over all offspring classes i gives the total fitness consequences of variation in trait
via its effects on fecundity, survival and development at age a. Directional selection on trait
is finally obtained by integrating these age-specific coefficients over all ages (eq 8).
3.1.2 The Hamiltonian: partitioning age-specific fitness effects.
Quantifying the fitness effects at a specific age relies on the Hamiltonian:
where and
are so-called costate variables that are given by the solution to the system of ODEs:
The costates and
respectively measure how marginal changes in survival and in internal state m at age a affect the expected remaining reproductive output of a class-j individual via offspring of class i. In particular
is a class-oriented equivalent of Fisher’s definition of the reproductive value of an individual of age a (see Box 1). The boundary conditions in eq (11) are obtained as follows. At birth, and provided fecundity is finite, we have
; namely, the resident expected lifetime class-oriented fecundity (e.g., in a haploid population without class structure
owing to demographic consistency; see appendix A.2.3 in S1 Text). Biologically, this reflects that death at birth would eliminate the entire reproductive potential of the individual. By contrast, the development costates
vanish as
, under the assumption that traits do not affect internal states at birth but do affect their finite terminal values (see appendix A.2.3 in S1 Text). Intuitively, this is because at very old ages the expected remaining reproductive output approaches zero, such that marginal changes in state values no longer influence fitness.
Box 1. Costates and reproductive values in age- and class-structured populations.
Consider the remaining number of offspring of class i that a mutant individual of class j and age a is expected to produce until its death,
such that (see eq 1). Using results from [9] (their appendix B.1), we obtain that the co-states
and
satisfy
Costates can therefore be interpreted as the change in the expected remaining class-oriented reproductive output of an individual of class j and age a, resulting from a change in its current survivorship or internal states values. The costate associated to survivorship, in particular, can be expressed as
We see from eq (I-C) that is the expected remaining class-oriented reproductive output of a resident individual, conditional on this individual having survived to age a. Thus,
is the class-oriented equivalent of Fisher’s reproductive value [37–39]. Note that, since according to eq (I-C) we have
, we obtain from the definition of the left-eigenvector
of
(eq. A-3) that
This connects costates to the elements of the leading left-eigenvector of the next-generation matrix (i.e., allelic reproductive values at birth). While costates are age-specific measures of future reproductive output at the individual level, reproductive values in
are lifetime measures at the allelic level that take into account the value of each type of descendants (i.e.,
in eq I-D).
The Hamiltonian eq (10) quantifies how a class-j individual, at age a, contributes to its lifetime production of class-i offspring through three distinct components: (1) current offspring production through fecundity ; (2) future reproductive output depending on mortality rate
at that age, weighted by
; and (3) future reproductive output depending on development rate
at that age, weighted by
. This decomposition reflects the fact that at any given age, an individual can influence its eventual production of class-i offspring not only through its immediate fecundity, but also through its current survival and developmental rates, which determine its future reproduction. The Hamiltonian can thus be interpreted as an age-specific measure of reproductive success—one that, when integrated over age (as in eq 8), allows us to quantify the total effect of a trait change on an individual’s lifetime reproductive success.
An important practical point is that in the coefficient of directional selection (eq 9) the derivative of the Hamiltonian is evaluated at resident trait values. As a result, when computing the Hamiltonian and solving the ODEs for the costates (eq 11), we only need to consider resident survivorship and state dynamics. Concretely, it is sufficient to solve
rather than the mutant system in eq (2). This can greatly simplify the analysis as we will illustrate later in our example.
3.1.3 Life history trade-offs in structured population.
The age-specific coefficient of directional selection (eq 9) is expressed in terms of the effect of a trait change on the Hamiltonian, which in turn separates the relevant fitness components at each age. To gain further insights, one can substitute eq (10) into eq (9), giving
Eq (13) highlights the fundamental trade-off between current and future reproduction, while accounting for age, class structure, ontogeny and ploidy. This is made explicit by showing that directional selection boils down to a weighted effect of a trait change on the three core life-history components: fecundity, mortality, and development. The weights ,
and
capture the relative importance of different parent and offspring classes,
weights age-specific effects by the probability of surviving to age a, and the costates
and
measure how a trait change at age a influences future reproduction through survival and development. Taken together, these weights quantify how selection balances all the potential first-order effects of trait expression. They make it possible to distinguish three types of trade-offs: (i) within-age trade-offs, between the contributions to fecundity, survival or development at a given age (the term within parentheses in eq 13); (ii) among-class trade-offs, reflecting the relative value of producing offspring of different classes (arising from the summation over classes in eq 13); and (iii) among-age trade-offs, arising when eq (13) is integrated over ages in eq (8), and which depend on how survivorship
declines with age and on how the costates
and
vary with age—either decreasing or increasing depending on developmental effects and life history.
3.1.4 Connections with previous expressions for directional selection.
Eq (13) connects to several results from the literature. First, in the absence of ontogeny, it reduces to the standard selection gradient in class-structured populations [40–43]. Second, in the absence of class structure, it reduces to the selection gradient on constant traits (controls) affecting life history [9,11,12], extended to to arbitrary ploidy. Third, the term within parenthesis in eq (13) is conceptually similar to expressions for the fitness effects of age-specific trait expression under complete plasticity (usually derived in the absence of class structure, e.g., [1–3,8,38,44–46], but see [47]).
Finally, when mutations act only on mortality at age a, eq (13) reduces to Hamilton’s first indicator of the strength of selection ([13], eq. 9, p. 17; see also [48]), with selection being proportional to i.e., to the expected remaining reproductive output (eq. I-C); while for mutations acting only on fecundity at age a, eq (13) reduces to Hamilton’s second indicator, i.e., survivorship to age a,
. Eq (13) shows that selection generally acts not only through mortality and fecundity, but through development as well, taking into account the specificities of those processes within each class. A relevant implication of including development, in particular, is that it can significantly alter among-age trade-offs between life-history components. Indeed, developmental effects can be strongly non-monotonic with respect to age (e.g., during metamorphosis), and as a result the costates associated with internal states do not necessarily decline with age. Consequently, the age-specific strength of selection also need not decrease monotonically with age [49,50], contrary to a common interpretation of Hamilton’s seminal results [13]. We illustrate this in our example model (Section 4).
3.2 Quadratic selection
Once the population expresses a singular trait value where directional selection vanishes (i.e., such that eq 5 holds), the nature of selection is given by the class-oriented Hessian matrices
(eq 3c). We show in appendix A.3 in S1 Text that the
-element of these matrices can be expressed as
where is an age-specific coefficient of quadratic selection, measuring the effects of a joint change in traits
and
on fitness through their influence on life-history components at age a (i.e., fecundity, survival, and development), that can be decomposed as
Each term captures a relevant age-specific effect that can generate correlational selection among traits and
(or disruptive selection on a trait when
and
) that we detail below.
3.2.1 Age-specific direct trait effects.
The first element in the right-hand side of eq (15) with is given by
Eq (16a) describes the direct joint effects of traits and
on the Hamiltonian
(eq 10), summed over all offspring classes m with appropriate weights. Biologically, the derivative in eq (16a) quantifies whether simultaneous changes in the two traits, expressed in the same individual of class j, increase or decrease its production of class-m offspring. As with directional selection (eq 13), these fitness effects can manifest through fecundity at age a or through survival and development at that same age, which influence future reproduction.
Eq (16a) can thus be viewed as the direct extension of the classical measure of correlational selection (i.e., described in the absence of any population structure, [51]). In that setting, correlational selection is due to multiplicative effects of traits on reproduction only. By contrast, correlational selection here can also arise because traits have multiplicative effects on survival rates (i.e., on ) or on development rates (i.e., on
) at age a. For instance, if two traits interact to determine the growth rate – say one trait sets foraging effort, which determines resource acquisition, and the other governs how much of these resources are allocated to growth – and if larger size later increases reproduction, eq (16a) indicates that selection will favour a positive association between these two traits.
These different paths, which become apparent by substituting eq (10) into eq (16a) (though we refrain from doing so explicitly for succinctness), show that population structure and ontogeny create additional opportunities for correlational selection, and thus for the emergence of polymorphism via disruptive selection. As we will now see, there are in fact many other paths for correlational selection generated by ontogeny and class structure.
3.2.2 Age-specific indirect effects.
The next element in the right-hand side of eq (15), which for is given by
describes the effect of joint change in all pairs of internal states at age a ( and
), that are induced by changes in traits
and
. Put differently, this term captures how simultaneous changes in two traits alter state variables at age a in ways that synergistically influence the different components of life history—fecundity, survival, or development—where fecundity affects reproduction at that age, while survival and development determine future reproduction (as per eq 10). As an example where eq (16b) may be relevant, consider a scenario where one trait regulates allocation to body growth while another controls allocation to sexual maturation. These respectively determine the internal state variables ‘size’ and ‘maturity’ at a given age. When particular combinations of these internal states yield higher fitness than intermediate ones (e.g., small but early-maturing individuals, or large but late-maturing ones, as observed in Atlantic salmon, [18]), eq (16b) will be positive, indicating that selection favours an association between the two traits that induce these internal state combinations.
Correlational selection may also be due to the third element in the right-hand side eq (15), which for reads
and which describes the interaction effects between traits and internal states, i.e., it captures situations where the state-mediated influence of one trait on fitness contributions at age a depends on another trait. More specifically, eq (16c) shows that correlational selection associates two traits whenever some internal state varies with the value of one trait, while the effect of that internal state on the Hamiltonian depends on the other trait.
For example, suppose the first trait determines the growth and thus morphology of some sexual traits (e.g., genital morphology) and the second determines the preference for mates with a compatible morphology. In this case, correlational selection arises because the benefit of expressing a given reproductive morphology is conditional on simultaneously expressing a preference for mates with the matching morphology. Conversely, the benefit of the preference trait depends on having the compatible morphology. Eq (16c) captures this interdependence. Similar mechanisms apply whenever behaviours or other traits have state-dependent effects, such as risk-taking behaviours that depend on body condition, or condition-dependent costs of sexual traits as in handicap models.
Another interaction with traits that can contribute to correlational selection is given by the fourth element in the right-hand side of eq (15), which for is
This term describes the interaction effects between traits and survivorship to age a. In biological terms, correlational selection arises because of this term whenever one trait modifies survivorship to age a, while another affects fecundity or mortality at that age (but not growth, since growth rates do not depend on survival, see eq 10).
As an illustration, consider a trait that improves survival to later ages, and another trait that enhances reproductive success specifically at those later ages (e.g., investment in traits expressed after maturity, such as secondary sexual displays). In this case, the benefit of the survival trait is conditional on the reproductive trait, and, conversely, the benefit of the reproductive trait depends on surviving long enough to express it. Such an interaction is captured by eq (16d), with correlational selection favouring an association between longevity and late-life reproductive investment, and disruptive selection potentially arising if intermediate strategies perform poorly compared to the extremes.
Interaction effects that are entirely mediated by life history can also generate correlational selection. This occurs when trait changes influence both internal states at a certain age and survivorship to that same age, as long as the Hamiltonian depends multiplicatively on these two components. This case is captured by the fifth element in the right-hand side of eq (15) that for reads
Eq (16e) shows that correlational selection arises whenever an internal state at age a affects the fecundity or mortality rates (since both rates are multiplied by survivorship in eq 10), provided traits influence both survivorship and the internal state.
For example, one trait may enhance survival through investment in immune function while another governs allocation to sexual development. The benefit of improved immunity is conditional on surviving long enough to express the sexual state, while the benefit of sexual development depends on immunity ensuring survival. Eq (16e) would therefore be positive in this case, indicating that correlational selection favours a positive association between these two traits through their joint effects on survivorship and development.
The final element in the right-hand side of eq (15) is
which consists of the product between the effect of one trait on the Hamiltonian for a given parental class and the effect of the other trait on the probability that mutant alleles are found in newborns of that parental class (i.e., on mutant allelic frequencies at birth ). In essence, this means that correlational selection will favour an association between two traits when one increases the likelihood of being in a certain class, while the other increases reproductive success in that class. For example, one trait may affect the development of forms that are particularly suited to reproduction as a female but not as a male, while another biases the sex ratio at birth so that a larger fraction of offspring are female. In this case, eq (16f) would be positive, indicating that correlational selection favours an association between these two traits. This is because such an association leads genotypes that produce better female forms to be more often expressed in females, while those producing better male forms are more often expressed in males.
In contrast to the previous components (eqs 16a–16e), this term contributes to correlational selection even when
(see eq 15). The reason is that a change in a trait expressed in one class i can modify the allelic class frequencies at birth in another class
with
. For example, if sex ratio is under paternal control, then a male-expressed trait that biases the proportion of daughters directly affects the allelic frequency of the female class at birth.
Taken together, the different parts of eq (15) show that correlational selection can arise not only through direct interactions among traits (eq 16a), but also indirectly via their effects on internal states, survival, or class representation at birth (eqs 16b–16f), thereby encompassing all pathways by which trait associations influence fitness in class-structured populations with ontogeny.
3.2.3 Trait effects on internal states, survivorship and class structure.
The indirect pathways through which correlational selection acts (eqs 16b–16f) ultimately depend on how traits affect internal states, survivorship, and class structure. Here we summarise how these effects, or perturbations, can be computed (see appendix A.4 in S1 Text for details).
First, we show in appendix A.4.1 in S1 Text that the effect of a trait l on internal states at age a in class j is obtained as
where is the so-called fundamental matrix collecting the cumulative effects of states on their own rates of change and satisfying
where I is the identity matrix. Usefully, in the special case where rates of change in states are constant with respect to time (i.e.,
), the fundamental matrix has an explicit exponential form that can be plugged directly into eq (17) (appendix A.4.1 in S1 Text).
The effect of trait l on survivorship to age a in class j is given by
that is, as the discounted integral of all past (direct and indirect) effects of trait expression on mortality.
Finally, appendix A.4.2 in S1 Text shows that derivatives of mutant allelic class frequencies at birth with respect to mutant traits at can be obtained as
where is a matrix of ones of dimension
. See appendix A.4.2 in S1 Text for the derivatives of mutant allele frequencies when
.
Together, the above results provide all the ingredients needed to compute the indirect pathways of correlational selection in class-structured populations with ontogeny. We will return to how to combine these ingredients more precisely in section 3.3, where we summarise our results and highlight potential computational challenges.
3.2.4 Connections with previous expressions for quadratic selection.
Eqs (14)–(16) connect to previous results on quadratic selection in class-structured populations found in the literature. First, in the absence of ontogeny, age-, and class-structure, eq (14) reduces to the standard multivariate quantitative genetics estimates of quadratic selection, where correlational selection is given by the cross derivative of individual fitness with respect to individual trait values [51–53]. Second, in the absence of ontogeny but with class structure (so that Hamiltonians reduce to fecundity rates), eq (14) reduces to the sum of eqs (16a) and (16f), consistent with the results of [54] for a single trait (see their eq 34 without relatedness). Finally, in the absence of class-structure and for a single trait, eqs (14)–(16) reduce to eq (3.13) of [12] (which can be recovered by substituting the Hamiltonian into our expressions). The model therefore extends these results not only to class-structured populations but also to arbitrary ploidy and any number of evolving traits. Moreover, whereas [54, eq. 35] provided a system of equations for the perturbation of class frequencies in terms of resident frequencies and derivatives of fitness components (that cannot always be solved by direct methods), and whereas [12] left the effects of traits on internal states and survivorship implicit, here we resolved these expressions fully (see section 3.2.3). In particular, eq (20) shows that the perturbation of class frequencies can be expressed directly in terms of resident frequencies and derivatives of fitness components. This then allows for a complete characterisation of directional, correlational, and disruptive selection in class-structured populations with and without ontogeny, opening the way for the analysis of adaptation under many biologically relevant scenarios.
3.3 Summary of the analysis of selection
Building on the above, we now outline how the different components of our model come together in practice. In particular, we summarise the steps required to evaluate directional and quadratic selection, and to classify evolutionary singular points (e.g., [17]).
Once eq (1) and (2) have been specified for a given biological scenario, the analysis proceeds as follows. First, the selection gradient is characterised using eqs (8) and (13), which requires solving for resident costate dynamics (eq 11) and state dynamics (eq 12). This allows identification of singular trait values (by solving eq 5) and assessment of their convergence stability (via the Jacobian matrix, eq 6). Second, quadratic selection is characterised using eqs (14)–(20), which makes it possible to determine whether convergence stable trait values are uninvadable or candidate evolutionary branching points leading to polymorphism (when the Hessian matrix is negative-definite or not negative semi-definite, respectively). While some calculations simplify when class proportions at birth are constant (i.e., trait independent, see Box 2), in most cases internal states and costate dynamics, as well as internal states and survivorship perturbations, cannot be solved analytically. This makes numerical approaches unavoidable.
To this end, we provide a set of Mathematica [55] functions that can help perform these computations numerically. These functions only require the specification of mutant developmental and vital rates in terms of traits, survivorship and internal state values (eq 2 and fecundity rates ). Given a set of parameter values, the workflow is as follows. The selection gradient is first computed on a grid of resident allelic values v by constructing Hamiltonians, solving eqs (11) and (12) numerically, and evaluating eqs (8) and (13). This gradient is then interpolated numerically, its zeros identified as singular trait values
, and the Jacobian matrix approximated numerically at these
to identify convergence stable trait values (eq 6). Finally, the Hessian matrix at
is computed using eq (14), via a separate calculation of each term in eq (15) (from eqs 16–20). This procedure accommodates any number of traits, and can exploit computational shortcuts available when class proportions at birth are constant (Box 2).
Box 2. Constant class proportions at birth.
In the general case described in the main text, computing selection (eq 8 or eq 14) involves solving eq (11) for each offspring class i and parental class j (i.e., a total system of size ). We show in appendix A.5.1 in S1 Text that this problem can be reduced to solving only
equations (i.e., one per parent class j) under the assumption that individuals of class j allocate a constant proportion
of their reproductive output into individuals of class i, irrespective of age or state, such that their overall fecundity
satisfies
with
. Several biological scenarios can be reduced to the case of constant class proportion. For instance, exogenous environmental sex-determination, sex chromosome systems coupled to fair meiosis, or random dispersal at birth between habitats, all fall into this category. Then, the age-specific directional selection pressure on trait (
) (i.e., eq 9) simplifies to
where
is the allelic reproductive value at birth of one average offspring of individuals of class j, and where
is the Hamiltonian specific to class j. In equation (II-G), the class-specific costates are solutions to the systems of ODEs,
Intuitively, these results mean that under constant class proportions at birth, the optimization of fitness reduces to the optimization of overall lifetime reproductive output.
Two caveats are worth keeping in mind. First, our analysis is based on the reproductive number of a mutant allele, which is sign equivalent around one to the geometric growth rate of the mutant allele, but not strictly equal to it. This means that the coefficients of selection we derive are comparable relative to one another, but in absolute terms they should be scaled by the inverse of generation time (see for instance [30]). Therefore, while our analysis is well suited to describe how natural selection acts on life-history trade-offs (e.g., allocation to growth vs. fecundity at different ages), caution is needed if one’s desire is to compare selection to other evolutionary processes such as mutation or drift. This is especially important for drift, since effective population size is also influenced by generation time [39].
Second, our analysis has so far assumed that mutation effects on trait values are not exactly equal across traits thereby excluding cases where strong genetic constraints force traits to evolve identically across classes. Such fully correlated traits are expected to play a role especially in systems where class-structure recently evolved and where genetic conflicts have not been resolved. With some adjustments, it turns out that the above results can be applied to such cases. In particular, we can readily consider the case where two traits, say and
, are underlain by the same pleiotropic genes such that the traits always mutate in the same way (i.e., with
). In this case, it is as though we have a single trait, such that
and
, and a singular trait value
must then satisfy
under the constraint that . Eq (21) shows how genetic constraints can impose additional trade-offs across classes. For instance, plugging eqs (8)–(9) into eq (21) reveals that when there is antagonism between classes (i.e., when
with
), a singular trait value will reflect a compromise between selection in both classes, giving more weight to the most common class (i.e., the class j with the largest
). We detail how such genetic constraints and resulting antagonisms modify the analyses of convergence stability and uninvadability in appendix A.6 in S1 Text.
4 Example: ontogenetic sexual niche partitioning
We now use the above results to study the joint evolution of female and male traits that govern the ontogeny of sexually relevant morphology. Our goal is twofold: (i) to illustrate the general approach and numerical procedure on a concrete biological scenario; and (ii) to gain theoretical insight into how sex-specific developmental schedules, by shaping size or structures used in competition and mate acquisition, can feed back on the strength and direction of sexual selection.
4.1 The model
4.1.1 Population and traits.
We consider a diploid, dioecious, age-structured population with two classes, females and males, denoted by subscripts and
respectively (for readability, we use these instead of using 1 and 2 to denote classes here). Sex is determined at birth with a fixed primary sex ratio c (the proportion of males in newborns, see Table 3 for symbols). Class proportions at birth are thus constants in this model. This leads to several simplifications that are detailed in Box 2. In the notation introduced there, we have
and
. Age-specific vital rates (survival, development, and offspring production) are allowed to differ between the sexes and to depend on sex-specific traits as we detail below.
We study the co-evolution of female and male traits and
that regulate the allocation of resources into the growth of a sex-specific morphological, physiological, or behavioural module, represented by the internal states
and
(and as a baseline we present the case without sex or development, where
in appendix B.2 in S1 Text). Biologically, the most straightforward way to think about this module is as overall body size or body mass, where female fecundity scales with size and male compatibility with females is mediated by size matching. For ease of presentation, this is the interpretation we will adopt throughout. However, the model also applies to specialised reproductive modules such as genital morphology, gamete recognition characters (e.g., fertilisation proteins), or sexually selected phenotypes (e.g., eyestalks, ritualised dances) when female choice correlates with her internal states.
4.1.2 Growth and survival.
We assume that the rate of change in the internal state of an individual of sex
at age a does not depend on its environment (i.e., no density dependence, no environmental effect in resource availability), and write
where is the rate at which size (or mass) is lost due to physiological constraints (e.g., respiration), and
is the trait value of a mutant individual, corresponding to its sex-specific basal growth rate, which can be thought of as the baseline energetic investment into growth. Since there is a single trait per sex, we simplify notation by writing
,
, and
.
There is a trade-off between allocation to growth and survival such that the sex-specific mortality rate of a mutant individual of sex j is
where is a constant extrinsic mortality rate (e.g., due to sex-specific risks) and
modulates the cost of growth on survival. The rate of change of survivorship in a focal mutant of sex j and age a is thus
(from eq 2).
Solving eqs (22) and (24) at resident allelic values v, the size and survivorship of a resident individual of sex j and age a are
where and
. We show in appendix B.1 in S1 Text that the corresponding equilibrium probability density of individuals of size
and sex j in the resident population is
which is defined for values of between zero and the maximal resident size
(obtained from eq 25 in the limit of
and entailing that
). Accordingly, the shape of the size density distribution in each sex qualitatively depends on the balance between
and the mortality rate
. When
, the density
increases with size
, indicating that many individuals survive to reach large sizes. When
, the density decreases with size, indicating that most individuals die before reaching their maximum size. This is illustrated in Fig 1, and plays an important role in evolutionary dynamics.
Each line represents the equilibrium probability density of individuals of size and sex j among residents. With increasing investment into growth, the maximum size increases (compare black, brown and orange lines), but so does the resident mortality rate
, such that the proportion of smaller-sized individuals also increases. Under a stronger cost
of growth on survival, the switch from a distribution with a majority of larger individuals to a population with mostly smaller individuals occurs at smaller values of
(compare plain and dotted lines). Fixed parameter values:
and
.
4.1.3 Female and male fecundity.
The remaining model components we need to specify are the female and male fecundity rates, denoted and
. We assume that a female produces eggs at a rate
and that each egg is fertilised (i.e., no mate or sperm limitation). Male fecundity
then reflects the outcome of competition among males for the fertilisation of the eggs.
For females, we assume that fecundity increases linearly with size and decreases with total population density, for example due to competition for resources. Specifically, we assume:
where controls (inversely) the strength of density dependence (large values of K mean low density-dependent competition), and
is the equilibrium total density of individuals in the resident population (sum of male and female densities). We show in appendix B.1 in S1 Text that this is given by
where is the expected lifetime production of female offspring by a single resident female in the absence of density-dependence.
For males, we assume that fecundity — that is, the fertilisation of eggs — depends on matching with female size (e.g., due to mechanical constraints during mating or female preferences for size-similar partners) and on competition with other males. Specifically, we write the fecundity rate of a focal mutant male of size , i.e., the total number of offspring he is expected to sire across all females in the population, as
where we recall that is the maximum size attainable by residents of sex j, and where
is the resident secondary sex-ratio (i.e., the proportion of males in the resident population; see appendix B.1.1 in S1 Text for derivation). Accordingly, in eq (29) is the total number of females of size
, and
is the rate at which eggs are produced by these females collectively (i.e., the total fecundity rate of females of size
). For each of these eggs, we assume that the probability that it is fertilised by a focal mutant male of size
is given by
where the numerator gives the competitive ability of the focal male to fertilise a female of size and the denominator normalises over all resident males. We assume that competitive ability declines with the difference between male and female size according to
where is a parameter controlling the strength of size matching: when
, all males are equally competitive regardless of their size (i.e.,
); as
increases, fertilisation becomes increasingly size-assortative.
Equation (32) is equivalent to the compatibility function ψ used in earlier models of sexual selection (e.g., [56,57]), where trait matching determines mating success and can favour polymorphism. However, whereas other models assume fixed trait values, here we apply this mating function to phenotypes that change with development over individuals’ lifetimes. From a mechanistic point of view, eq (32) applies indiscriminately to systems where female directly express preference for similar-sized males (e.g., as in the convict cichlid Archocentrus nigrofasciatus; [58]), where they co-occur more often with similar-sized males (e.g., as in the striped goby cichlid Eretmodus cyanostictus; [59]), or where mating success depends on size-similarity due to morphological constraints (e.g., as in the Jerusalem cricket Stenopelmatus sp.; [60]). Finally, note that eq (29) links male and female fecundity such that it satisfies Fisher’s condition (i.e., any newborn has one parent of each sex; [61,62]; see appendix A.5.2 in S1 Text).
4.2 Analysis
4.2.1 Hamiltonians and costates.
Since class proportions at birth are constant in this model, we only need class–specific Hamiltonians and costates (see Box 2). Substituting the model ingredients (eqs 22, 23, 27, and 29) into eq. (II-G) of Box 2 gives
where the sex-specific costates satisfy the system of ODEs:
These have boundary conditions and
since in a resident sexual population at demographic equilibrium, each individual has an expected lifetime reproductive output of two offspring (one daughter and one son on average). We solve these ODEs numerically.
4.2.2 Directional selection: balancing future effects of growth across ages.
Age-specific coefficients of directional selection are obtained by substituting eq (33) into eq. (II-E) of Box 2. In addition, since we are considering a diploid population with constant primary sex ratio, the class frequencies and reproductive values are ,
and
respectively (see Box 2 and appendix A.5.2 in S1 Text for derivation). Using these quantities, we have
Eq (35) shows that age-specific selection at age a on the basal growth rate balances two antagonistic effects on future reproduction. On the one hand, future fitness effects mediated by growth tend to favour larger especially at a young age (captured by
in eq (35), see Fig 2A). On the other hand, future fitness effects mediated by survival favour smaller
(captured by the term
in eq 35). The reason is that higher growth raises mortality and hence lowers the expected remaining reproductive output,
here, which itself declines with age (Fig 2B). In our model,
declines more steeply than
with age a, so the balance between these two antagonistic effects changes with age: selection favours faster growth at younger ages but slower growth later in life (Fig 2C).
A. Age-specific benefit of increased size, captured by the costate , declines with age. This reflects the diminishing marginal returns of size on future reproduction as individuals age, especially when size loss is high (
large). B. Expected remaining reproductive output at age a, given by
, also declines with age. However, it is more sensitive to
in females than in males (lighter curves). This is because higher
reduces the maximum attainable size and thus lifetime fecundity in females. These opposing age-specific effects (A vs. B) jointly generate the pattern of directional selection in panel C: early selection favours growth due to future size benefits, while late selection disfavours it due to survival costs. C. Age-specific directional selection on growth (from eqs 35 and 38) at the convergence stable strategies (
for independent traits;
for a shared trait). Each curve integrates to zero (owing to eqs 5 and 8), but its shape reveals when selection favours increased or decreased allocation to growth. Selection tends to favour faster growth at early ages but reduced allocation later in life. Parameter values:
,
,
,
, and
. Parameter
has value
in panel C.
Selection eventually favours a compromise between these antagonistic effects. This is formalised by unique convergence stable trait values in females and males that satisfy
for sex j (obtained by plugging eq 35 into eq 8). Note that eq (36) is implicit as both costates and internal states depend on . It nevertheless makes clear that the equilibrium growth rate increases when the cumulative benefits of growth (i.e.,
) outweigh the cumulative benefits of survival (i.e.,
).
A numerical analysis of eq (36) together with eq (34) allows us to investigate how key parameters influence and thus life histories and demography at evolutionary equilibrium. Unsurprisingly, greater growth costs
select for slower growth in both females (Fig 3A) and males (S1A Fig), leading to longer lives with delayed reproduction. By contrast, higher extrinsic mortality
reduces the expected remaining reproductive output
and therefore selects for faster growth in sex j (Fig 3B for females, S1B Fig for males), leading to “live-fast–die-young” types of life histories [63]. In females, faster growth partly compensates for the reduction in average size (and hence fecundity) caused by extrinsic mortality, such that population extinction (
) occurs only at relatively high values of
(Fig 3B, dark gray area).
Each panel shows convergence stable growth rates (solid lines) and corresponding average sizes (dashed lines) for females (red) and males (blue), as a function of the parameter indicated on the x-axis (computed from eq 36 for trait values and B-99 for average sizes). Trait values under genetic constraint (i.e., identical growth rate in males and females,
) and the resulting female size are shown in green (from eq 39). A. Higher cost of growth to survival in females (
) selects for slower growth and smaller average size. Males evolve smaller size in response, to match females owing to size-matching sexual selection. B. Higher female extrinsic mortality (
) favours faster growth. Above a threshold, female fecundity becomes insufficient to maintain recruitment and the population goes extinct (
; dark grey area). This extinction threshold is lower when genetic correlations constrain male and female growth to evolve identically (light grey area), because sexual antagonism prevents females from evolving growth rates high enough to offset increased mortality (green). Note that convergence stable growth rates
and average sizes are reported beyond the extinction thresholds (transparent lines) for graphical purposes, since the model provides result even when
. C. A higher rate of size loss (
) prevents individuals from reaching larger sizes. This favours faster growth in females, but slower growth in males. See main text for explanation. Parameter values (unless varied on x-axis):
,
,
,
,
, and
.
The parameter , which determines the rate at which size is lost (eq 22), has opposite consequences in the two sexes. In females, greater
selects for faster growth (larger
), while in males it selects for slower growth (smaller
; Fig 3C). The reason is that when
is large, it prevents males and females from reaching higher sizes. This is reflected in the size distributions being shifted towards smaller values when
is increased (compare the histograms of Fig 4A and 4C). In females, this prevents individuals from reaching high fecundity, lowering their remaining reproductive output at any given age (Fig 2B), and thus favouring growth over survival. For males, meanwhile, because greater
reduces average female size and male success depends on matching female size (eq 32), this favours slower growth as long as
.
Each panel shows results from individual-based simulations (appendix B.3 in S1 Text). The top part shows the expressed trait values in females (red) and males (blue): randomly sampled allelic values (dots; 10 copies every 10 time units), population mean (solid lines), and analytically predicted convergence stable trait values (dashed lines). Reported values give: the male-specific component (eq 14); its size-mediated component
(see eqs 37 and A-37, with
for diploidy); and the leading eigenvalue of
. As expected, when this eigenvalue is negative, the population remains monomorphic (panels A–C). When it is positive, evolutionary branching occurs in males (panel D, split in blue lines). The bottom part of each panel shows male and female size distributions at equilibrium as histograms (averaged between time steps
and
), along with the analytically predicted distribution at
(solid lines, eq 26). The Kullback–Leibler divergence between male and female distributions is also reported. A–B: Male and female distributions are similar in shape as both sexes have the same demographic parameters (see left-hand side of panels for parameter values). However, females grow larger on average due to direct selection on size whereas males only track female size via selection for compatibility. C–D: Sex-specific demography generates asymmetries in size distributions with a higher frequency of small females. When sexual selection is strong enough, this leads to evolutionary branching (panel D) with one morph specialising on mating with smaller females. The smaller allele is seldom found at a homozygous state and the smaller large size mode is composed of heterozygotes. Other parameters:
,
,
.
In fact, the strength of size-based competition plays a decisive role in male evolution. When
, size brings no reproductive benefit and males are selected to invest nothing in growth (
). When
is large, size matching is crucial for male fitness and selection favours growth rates that allow males to match female size. Simulations confirm this:
has no effect on female evolution
(red curves, left vs. right columns in Fig 4), but
evolves to be larger when
is large (left curves, left vs. right columns in Fig 4), thereby reducing the mismatch between female and male size distributions (compare red and blue histograms in Fig 4).
4.2.3 Quadratic selection: sexual selection based on trait matching favours life-history polymorphism in males.
Once the population has converged to the equilibrium characterized by eq (36), does it remain monomorphic under stabilising selection or can it become polymorphic due to disruptive selection? Numerical evaluations of eq (14) show that the Hessian matrix can be positive-definite, and thus selection can be disruptive, but only when
is positive and large, i.e., when positive multiplicative effects of size on male fitness at age a induced by changes in growth rate are large (eq 16b, as all other components of eq 15 were found to be too small to drive disruptive selection). Such multiplicative effects via size suggest that disruptive selection should favour males with either fast or slow growth such that small and large males of the same age coexist. Individual-based simulations confirm this (appendix B.3 in S1 Text for procedure). These show evolutionary branching leading to the coexistence of two diverged alleles coding for different growth rates, such that three types of males occur: two homozygotes with opposite growth strategies and an intermediate heterozygote (Fig 4D, blue dots). Some males thus grow substantially slower, remaining smaller for most of their lives but being longer-lived. At the population level this produces a multimodal male size distribution and a closer match with the female size distribution (compare panels C and D of Fig 4).
A closer inspection of eq (37) reveals the drivers of polymorphism. Disruptive selection on male growth is favoured when the number of competitors is large (i.e., when c is high or male survivorship is high), when size matching is strong (large ), and when individuals can attain large sizes (small
). In addition, the integral in eq (37) shows that a necessary condition is that the fecundity-weighted average of
is positive, which occurs when male and female size distributions diverge. In particular, large positive values of
, and thus disruptive selection, occur when males are predominantly large (
; see Fig 1) whereas females are predominantly small (
). In this case, at the convergence stable trait value
most males are close to the average female size, while only a few match the smaller sizes more common in females (see Fig 4C). Under high
, this leads to intense competition among larger males and thus to a fitness advantage for rare smaller males. Polymorphism therefore evolves because males specialize: some grow rapidly and die young, specializing into fertilising larger and more fecund females, while others grow slowly and live longer, and mate mostly with smaller females. In our simulations, such disruptive selection can be so strong that it overpowers directional selection before the population has completely converged to the singular strategy, leading to early branching (see Fig 4D). Under parameter values that favour a very wide distribution of female sizes, strong disruptive selection can also lead to the coexistence of more than two male morphs (see S2 Fig).
Evolutionary branching in our model hinges upon an advantage for males to specialize in different female sizes. Our results therefore connect to resource-competition and niche-partitioning models, where polymorphism evolves as individuals specialise to escape competition [e.g., 64–66], except that here the “resource” consists of potential mating partners. They also build on compatibility-based sexual selection models [56,57], which treat individual states as fixed traits determined at birth. In those models, male diversification arises in response to female genetic variation in compatibility traits generated by sexual conflict. By contrast, in our model females remain genetically monomorphic: variation in female states arises because individuals reproduce continuously while changing size through ontogeny. As a result, the population maintains a standing distribution of female sizes, which creates multiple mating niches; competition for these niches makes male fitness frequency dependent and can favour trait diversification. Another feature necessarily absent from these previous studies is that trait diversification here has knock-on effects on demography, altering the age and state structure of the population. In our model, the trait under sexual selection in males (investment into growth or sexual structures) also affects mortality via a survival–growth trade-off (eq. 23). Consequently, when selection favours alternative male growth strategies, evolutionary branching in that trait necessarily induces divergence in survival and lifespan. The resulting polymorphism therefore spans both mating strategy and life history, feeding back on population age structure and demography with the coexistence of fast-growing, short-lived males and slow-growing, long-lived males.
Alternative male mating morphs with markedly different life history traits are widespread (e.g., sneaker versus dominant males in fish, fighter versus sneaker males in beetles, and multiple morphs in isopods and ruffs). These polymorphisms are generally explained not by compatibility per se, but more often by sexual conflict (e.g., coercion versus resistance) or by condition-dependent development, where high- and low-condition males follow different trajectories [67,68]. While our results here apply mostly to the evolution of genetically determined alternative reproductive strategies [69], our model could readily be adapted to incorporate developmental plasticity and thus help disentangle the relative contributions of sexual selection, sexual conflict, and condition dependence in the evolution of sex-specific development. More generally, it provides a way to better understand the emergence and coexistence of alternative life-history strategies, together with their demographic causes and consequences.
4.2.4 Extensions.
We extended the model to explore two cases. First, we investigated the sensitivity of our results to a change in ploidy by considering a haplodiploid system, where males are haploid and females are diploid. This boils down to adjusting the weights in the sums that define selection, using ,
,
,
,
(see Box 2 and appendix A.5.2 in S1 Text), and
(i.e., assuming complete dosage compensation). Because vital rates are defined as functions of individual phenotype and genetic effects are additive, haplodiploidy does not affect the singular trait values (S3 Fig). Male haploidy does however affect quadratic selection by fully exposing mutations in the male trait. By increasing
, haploidy amplifies the male-specific component
of the Hessian matrix (see eq. 14). As a result, disruptive selection is stronger, especially under low male mortality and high sexual selection (S3D Fig). Evolutionary branching then produces the coexistence of two allelic types where the rarer, smaller type encodes larger male trait values than in the diploid case (compare S3D Fig and Fig 4D).
Second, we considered the effect of genetic constraints across sexes by assuming that males and females share the same growth rate (i.e., see eq 21). In a diploid population with additive gene action (i.e., ), the age-specific directional selection coefficient on the shared trait
is the sum of the female and male gradients shown in eq (35):
resulting in sexual antagonism (i.e., when selection favours different trait values in males and females showing genetic correlations, [70,71]; Fig 2C, green line). Solving the integral of eq (38) for zero, we obtain a unique convergence-stable singular trait
Eq. (39) captures the lifetime trade-off between growth (numerator) and survival (denominator), averaged across sexes. In spite of this averaging, the equilibrium growth rate does not fall between the female and male optima found in the absence of genetic constraints (i.e., between and
given by eq. 36) but instead evolves below both (Fig 3). This results from an evolutionary feedback: selection on males favours being smaller than females (owing to the costs of growth), genetic constraints then entail a reduction in female size, which in turn selects males to be even smaller, and so on. As a consequence of this sexually antagonistic feedback, females cannot evolve sufficiently large growth rates in response to high extrinsic mortality, making populations more prone to extinction than in the absence of genetic constraints (compare the green and red lines in Fig 3B).
Once the population has converged to , whether or not polymorphism evolves depends on the age-specific quadratic selection coefficient
which is the sum of the female and male components (given by eq. 15; note that the mixed term
is always zero in our model, see eq. A-86). By computing
numerically, we find that genetic constraints across sexes prevent disruptive selection through two mechanisms. First, stabilizing selection on females is stronger, i.e.,
is more negative at all ages, than when male and female traits evolve independently (S4 Fig, red lines). Sexual antagonism thus prevents disruptive selection from materialising in males because selection in females counteracts it. Second, because the equilibrium growth rate
(eq 39) is lower owing to sexual antagonism, the variance in female size in the population is not large enough to generate disruptive selection on males, and for rare smaller males to gain an advantage (S5 Fig). This effect is especially pronounced under strong sexual selection (see S5D and S4 Figs).
5 Discussion
We derived different quantities for understanding selection on quantitative traits that influence fecundity, mortality, and development rates in age- and class-structured populations. First, the coefficients of directional selection (eqs 8–13) allow us to determine whether rare mutant alleles inducing small trait changes can invade and fix, and thus to identify convergence stable trait values toward which the population evolves. Second, the coefficients of quadratic selection (eqs 14–20) indicate whether such trait values are evolutionarily stable or prone to diversification via evolutionary branching, depending on whether nearby allelic types are eliminated by stabilizing selection or favoured by disruptive selection. Whether evolutionary branching occurs or not, these coefficients also identify the correlations among traits that are expected to be shaped by selection.
A key feature of our approach is that both directional and quadratic selection are expressed as a sum of age-specific allelic fitness effects. This provides a biologically meaningful partition of selective forces across ages. As shown in earlier single-class models [9,11], constructing such sums requires quantifying how trait expression at a given age influences both current reproduction (via fecundity at that age) and future reproduction (via changes in development and survival). Delayed effects are tracked using costates, which measure how changes in current internal states and survivorship affect future reproductive output (eq 11). In class-structured populations, these delayed effects must be characterised not only for each parental class but also with respect to each possible offspring class, requiring systems of class-oriented costates (unless there are additional reproductive constraints, e.g., constant class proportions at birth; see Box 2). This reflects the biological reality that development can influence the production of different types of offspring in different ways, and that these effects can also depend on the parental class (e.g., sexes, ploidies, or habitats). By accounting for this, our results can be used to describe selection in systems where ontogeny interacts with reproductive choices (e.g., maternal effects on sex ratio; [72]), reproductive mode (e.g., allocation between sexual and vegetative reproduction; [73]), or dispersal (e.g., maternal effects on offspring dispersal; [74]).
With selection expressed in terms of age-specific fitness effects, we can consider and better understand the consequences of age-wise antagonistic selection, where different trait values are favoured at different ages but cannot evolve independently due to incomplete plasticity. This type of antagonism is an important aspect of life-history evolution and is often invoked in theories of senescence, because it enables the fixation of alleles that reduce survival later in life while providing advantages early on [13,4]. Nevertheless, most continuous-time life-history models neglect this possibility by assuming complete age-wise plasticity in trait expression (e.g., [1–3,7,8,38,45,46,75]). By considering non-plastic traits and properly discounting selective effects at later ages [13], our model makes it possible to analyse the coevolution of ontogeny and senescence in the presence of genetic constraints. In our application for instance, intermediate longevity evolves because higher survival (i.e., via slower growth) is counter selected in early life, showing one possible way how age-wise antagonism may influence the evolution of life history.
By partitioning quadratic selection into age-specific components, our analysis also reveals cases of age-wise antagonistic quadratic selection, where stabilizing and disruptive selection act at different ages (or positive and negative correlational selection). In the sexual selection example, selection is stabilizing on younger males but disruptive on older ones because only the latter benefit from escaping intense competition for larger females (S4 Fig). More generally, our decomposition of quadratic selection shows that age-specific effects can be generated indirectly, i.e., through the cumulative influence of trait expression on internal state dynamics, survivorship dynamics, and class-structure (eqs 16b–16f). The dominant contribution to disruptive selection in the sexual selection example came from effects mediated by internal states, i.e., by size in this case (eq 37). Because developmental effects accumulate with age, while survivorship gradually declines, the resulting quadratic selection here is strongest at intermediate ages (S4 Fig). But in other systems different components may generate disruptive selection and thus follow different patterns of antagonism. Either way, the quadratic selection coefficients presented here can disentangle the mechanisms by which correlational and disruptive selection act through ontogeny and thereby help understand phenomena such as late differentiation, where morphs diverge only after a period of shared development [76], as well as other life-history polymorphisms where alternative reproductive tactics or morphologies emerge following common juvenile growth trajectories.
Our results also reveal how genetic constraints across classes can generate another form of antagonistic selection, when the same trait is expressed in multiple classes but selection favours different values in each. Such class-wise antagonism, particularly between sexes, has been argued to play an important role in shaping life-history evolution [77]. In primates, for example, strong sexual selection for increased size in males appears to cause a correlated increase in female size, owing to the shared genetic architecture of body size across sexes, despite being deleterious for females [78]. In our example model, sex-wise antagonistic selection prevents the diversification of male life histories, both because stabilizing selection on female growth counteracts disruptive selection on male growth, and because the resulting equilibrium size distribution is less conducive to disruptive selection. In future work, the derived selection coefficients could be used to study more systematically the role of such genetic constraints in shaping sex-specific ontogeny and alternative reproductive strategies, including cases where the underlying pleiotropic genes are expressed in classes with different ploidies (e.g., when traits are encoded on sex chromosomes). In fact, we have shown in our application that ploidy at the loci encoding a given trait can affect the likelihood to observe evolutionary branching, as well as the composition of the population after such event (see S3 Fig).
Antagonistic selection across ages and classes is expected to favour the evolution of plasticity, allowing traits to vary with context [79]. At first sight, our choice to model traits as fixed scalars may therefore seem restrictive, and even a step back compared to standard life-history models assuming complete plasticity (e.g., [1,2]). However, modelling scalar traits does not mean that plasticity cannot be studied. Any dynamical system can in principle be represented by a finite recurrent neural network [80]. By treating the network’s weights as evolving scalar traits (the vector v here), it becomes possible to generate reaction norms from constant genetic values in response to environmental or internal cues [81]. In this way, scalar-trait models can be extended to capture the complex mappings between gene expression to life-history strategies, while integrating both external variables and internal state information (e.g., [82]), and these considerations apply to behavioral strategies alike [11]. Understanding how developmental and behavioral systems evolve to generate the required reaction norms, and thus studying how plasticity itself evolves gradually, remains an interesting challenge. By developing evolutionary models of scalar traits, including ontogeny and class structure, our results provide a step toward combining adaptive dynamics with systems approaches to better understand the long-term evolution of biological structures as integrated dynamical systems.
To conclude, we have decomposed directional and quadratic selection into age- and class-specific components, making it possible to identify the many trade-offs and antagonisms that can influence life-history evolution in structured populations. This provides a sharper understanding of adaptation in complex demographic settings and opens the door to a range of problems where context- or class-specific development plays a central role. These include the evolution of sex-specific ontogeny, state-dependent reproductive strategies, class-structured polymorphisms in plants and animals, dispersal strategies that depend on age or condition, and host–parasite interactions shaped by age-structure. More broadly, our approach contributes to linking the dynamics of development, demography, and adaptation, and to understanding how their interactions shape biological diversity.
Supporting information
S1 Fig. Male mortality and growth parameters influence male-specific evolution.
Each panel shows convergence stable growth rates (solid lines) and corresponding average sizes (dashed lines) for females (red) and males (blue), as a function of the parameter indicated on the x-axis (computed from eq 36 for trait values and B-99 for average sizes). Trait values under genetic constraint (i.e., identical growth rate in males and females,
) and the resulting female size are shown in green (from eq 39). A. Higher cost of growth to survival in males (
) selects for slower growth and smaller average size in males but does not affect females. B. Higher male extrinsic mortality (
) favours faster growth in males but does not affect females. Under genetic constraints, high values of
also increase the frequency of females, tipping the balance in favour of even faster growth. Parameter values (unless varied on x-axis):
,
,
,
,
and
.
https://doi.org/10.1371/journal.pcbi.1013591.s001
(TIFF)
S2 Fig. Multiple branching and the coexistence of more than two male morphs.
The figure shows results from individual-based simulations (appendix B.3 in S1 Text) with independent growth rates and diploidy. The top part shows the expressed trait values in females (red) and males (blue): randomly sampled allelic values (dots; 20 copies every 10 time units) and population mean (solid lines). The bottom part shows male and female size distributions at equilibrium as histograms (averaged between time steps and
). Parameter values:
,
,
,
,
,
,
and
.
https://doi.org/10.1371/journal.pcbi.1013591.s002
(TIFF)
S3 Fig. Evolutionary branching of male growth under haplodiploidy.
Each panel shows results from individual-based simulations (appendix B.3 in S1 Text). The top part shows the expressed trait values in females (red) and males (blue): randomly sampled allelic values (dots; 10 copies every 10 time units), population mean (solid lines), and analytically predicted convergence stable trait values (dashed lines). Reported values give: the male-specific component (eq 14); its size-mediated component
(see eqs 37 and A-37, with
for diploidy); and the leading eigenvalue of
. As expected, when this eigenvalue is negative, the population remains monomorphic (panels A–C). When it is positive, evolutionary branching occurs in males (panel D, split in blue lines). The bottom part of each panel shows male and female size distributions at equilibrium as histograms (averaged between time steps
and
), along with the analytically predicted distribution at
(solid lines, eq 26). The Kullback–Leibler divergence between male and female distributions is also reported. A–B: Male and female distributions are similar in shape as both sexes have the same demographic parameters (see left-hand side of panels for parameter values). However, females grow larger on average due to direct selection on size whereas males only track female size via selection for compatibility. C–D: Sex-specific demography generates asymmetries in size distributions with a higher frequency of small females. When sexual selection is strong enough, this leads to evolutionary branching (panel D) with one morph specialising on mating with smaller females. Under haplodiploidy, net disruptive selection is stronger at the singular trait than in the diploid case, and the smaller male morph evolves smaller genetic values (compare values in Fig 4D and S3D Fig), but the distribution of male size at the evolutionary equilibrium is similar. Other parameters:
,
,
.
https://doi.org/10.1371/journal.pcbi.1013591.s003
(TIFF)
S4 Fig. Age-specific quadratic selection.
Age-specific quadratic selection on growth (from eqs 35a and 35b) at the convergence stable strategies ( for independent traits;
for a shared trait), under parameter values that produce disruptive selection on the male growth rate (
,
,
,
,
,
,
and
, see Fig 4D). Plain lines correspond to the male and female age-specific components of disruptive selection under independent traits (given by eq 15; recall that here
). Dashed lines represent the same components, as well as their sum (green line) under genetic constraints (see eq. A-86).
https://doi.org/10.1371/journal.pcbi.1013591.s004
(TIFF)
S5 Fig. Genetic constraints between sexes prevent evolutionary branching.
Each panel shows results from individual-based simulations (appendix B.3 in S1 Text). The top part shows the expressed trait values in females and males (green): randomly sampled allelic values (dots; 10 copies every 10 time units), population mean (solid lines), and analytically predicted convergence stable trait values (dashed lines). Reported values give: the size-mediated component of quadratic selection (where
is computed as in eq. A-86 using eq. A-37, with
for diploidy); and the leading eigenvalue of
. Both are always negative showing size-mediated and net stabilising selection on growth, respectively. The bottom part of each panel shows male and female size distributions at equilibrium as histograms (averaged between time steps
and
), along with the analytically predicted distribution at
(solid lines, eq 26). The Kullback–Leibler divergence between male and female distributions is also reported. A–B: Male and female distributions are the same since both sexes have the same growth rate and demographic parameters (see left-hand side of panels for parameter values). C–D: Sex-specific demography generates asymmetries in size distributions with a higher frequency of small females. Under genetic constraints, these differences are not sufficient to generate evolutionary branching. Other parameters:
,
and
, and with simulated time steps of
time units.
https://doi.org/10.1371/journal.pcbi.1013591.s005
(TIFF)
S1 Text. Appendices containing analytical results, supplementary results and a description of individual-based simulations.
https://doi.org/10.1371/journal.pcbi.1013591.s006
(PDF)
Acknowledgments
We thank Dr. Ludovic Maisonneuve and two anonymous reviewers for constructive feedback.
References
- 1. León JA. Life histories as adaptive strategies. J Theor Biol. 1976;60(2):301–35. pmid:957718
- 2. Perrin N, Sibly RM. Dynamic models of energy allocation and investment. Annual Review of Ecology and Systematics. 1993;24:379–410.
- 3. Houston AI, Fromhage L, McNamara JM. A general framework for modelling trade-offs in adaptive behaviour. Biol Rev Camb Philos Soc. 2024;99(1):56–69. pmid:37609707
- 4. Austad SN, Hoffman JM. Is antagonistic pleiotropy ubiquitous in aging biology?. Evol Med Public Health. 2018;2018(1):287–94.
- 5. Poissant J, Wilson AJ, Coltman DW. Sex-specific genetic variance and the evolution of sexual dimorphism: a systematic review of cross-sex genetic correlations. Evolution. 2010;64(1):97–107. pmid:19659596
- 6. Kwiatkowski F, Arbre M, Bidet Y, Laquet C, Uhrhammer N, Bignon Y-J. BRCA Mutations Increase Fertility in Families at Hereditary Breast/Ovarian Cancer Risk. PLoS One. 2015;10(6):e0127363. pmid:26047126
- 7. Day T, Taylor PD. A generalization of Pontryagin’s maximum principle for dynamic evolutionary games among relatives. Theor Popul Biol. 2000;57(4):339–56. pmid:10900187
- 8. Metz JAJ, Staňková K, Johansson J. The canonical equation of adaptive dynamics for life histories: from fitness-returns to selection gradients and Pontryagin’s maximum principle. J Math Biol. 2016;72(4):1125–52. pmid:26586121
- 9. Avila P, Priklopil T, Lehmann L. Hamilton’s rule, gradual evolution, and the optimal (feedback) control of phenotypically plastic traits. J Theor Biol. 2021;526:110602. pmid:33508326
- 10. González-Forero M. A mathematical framework for evo-devo dynamics. Theor Popul Biol. 2024;155:24–50. pmid:38043588
- 11. Lehmann L. Hamilton’s rule, the evolution of behavior rules and the wizardry of control theory. J Theor Biol. 2022;555:111282. pmid:36179799
- 12. Avila P, Mullon C. Evolutionary game theory and the adaptive dynamics approach: adaptation where individuals interact. Philos Trans R Soc Lond B Biol Sci. 2023;378(1876):20210502. pmid:36934752
- 13. Hamilton WD. The moulding of senescence by natural selection. J Theor Biol. 1966;12(1):12–45. pmid:6015424
- 14. Eshel I. Evolutionary and continuous stability. J Theor Biol. 1983;103(1):99–111.
- 15. Christiansen FB. On conditions for evolutionary stability for a continuously varying character. Am Nat. 1991;138(1):37–50.
- 16. Eshel I, Motro U, Sansone E. Continuous stability and evolutionary convergence. J Theor Biol. 1997;185(3):333–43. pmid:9156083
- 17. Geritz SAH, Kisdi É, Meszéna G, Metz JAJ. Evolutionarily singular strategies and the adaptive growth and branching of the evolutionary tree. Evol Ecol. 1998;12(1):35–57.
- 18. Lepais O, Manicki A, Glise S, Buoro M, Bardonnet A. Genetic architecture of threshold reaction norms for male alternative reproductive tactics in Atlantic salmon (Salmo salar L.). Sci Rep. 2017;7:43552. pmid:28281522
- 19. Braendle C, Friebe I, Caillaud MC, Stern DL. Genetic variation for an aphid wing polyphenism is genetically linked to a naturally occurring wing polymorphism. Proc Biol Sci. 2005;272(1563):657–64. pmid:15817441
- 20. Kimura M. A stochastic model concerning the maintenance of genetic variability in quantitative characters. Proc Natl Acad Sci U S A. 1965;54(3):731–6. pmid:5217452
- 21.
Bürger R. The mathematical theory of selection, recombination, and mutation. John Wiley & Sons. 2000.
- 22. Charlesworth B. Selection in populations with overlapping generations. V. Natural selection and life histories. Am Nat. 1973;107(954):303–11.
- 23. Michod RE. Evolution of life histories in response to age-specific mortality factors. Am Nat. 1979;113(4):531–50.
- 24. Vincent TL, Brown JS. Stability in an evolutionary game. Theoretical Population Biology. 1984;26(3):408–27.
- 25. Eshel I. On the survival probability of a slightly advantageous mutant gene in a multitype population: a multidimensional branching process model. J Math Biol. 1984;19(2):201–9. pmid:6736803
- 26. Lesaffre T, Billiard S. The joint evolution of lifespan and self-fertilization. J Evol Biol. 2020;33(1):41–56. pmid:31536653
- 27. Mode CJ. Applications of generalized multi-type age-dependent branching processes in population genetics. Bull Math Biophys. 1969;31(3):575–89. pmid:5350075
- 28. Metz JAJ, Nisbet RM, Geritz SAH. How should we define ‘fitness’ for general ecological scenarios?. Trends Ecol Evol. 1992;7(6):198–202.
- 29. Lion S. Theoretical Approaches in Evolutionary Ecology: Environmental Feedback as a Unifying Perspective. Am Nat. 2018;191(1):21–44. pmid:29244555
- 30. Metz JAJ, Leimar O. A simple fitness proxy for structured populations with continuous traits, with case studies on the evolution of haplo-diploids and genetic dimorphisms. J Biol Dyn. 2011;5(2):163–90. pmid:22873438
- 31.
Inaba H. Age-structured population dynamics in demography and epidemiology. Singapore: Springer. 2017.
- 32.
de Roos AM. A Gentle Introduction to Physiologically Structured Population Models. Structured-Population Models in Marine, Terrestrial, and Freshwater Systems. Springer US. 1997. p. 119–204. https://doi.org/10.1007/978-1-4615-5973-3_5
- 33. Priklopil T, Lehmann L. Invasion implies substitution in ecological communities with class-structured populations. Theor Popul Biol. 2020;134:36–52. pmid:32387787
- 34. Leimar O. Multidimensional convergence stability. Evol Ecol Res. 2009;11:191–208.
- 35. Kierzkowski J, Smoktunowicz A. Block normal matrices and Gershgorin-type discs. ELA. 2011;22.
- 36. Geritz SAH, Metz JAJ, Rueffler C. Mutual invadability near evolutionarily singular strategies for multivariate traits, with special reference to the strongly convergence stable case. J Math Biol. 2016;72(4):1081–99. pmid:26615529
- 37.
Fisher RA. The genetical theory of natural selection. Oxford, England: Clarendon Press. 1930.
- 38. Goodman D. Optimal life histories, optimal notation, and the value of reproductive value. Am Nat. 1982;119(6):803–23.
- 39.
Charlesworth B. Evolution in age-structured populations. 2nd ed. Cambridge: Cambridge University Press. 1994.
- 40.
Rousset F. Genetic structure and selection in subdivided populations. Princeton University Press. 2004.
- 41. Taylor PD. Allele-frequency change in a class-structured population. Am Nat. 1990;135(1):95–106.
- 42. Taylor PD, Frank SA. How to make a kin selection model. J Theor Biol. 1996;180(1):27–37. pmid:8763356
- 43.
Caswell H. Matrix population models. Revised edition ed. Massachusetts: Sinauer Associates Inc. 2000.
- 44. Iwasa Y, Roughgarden J. Shoot/root balance of plants: Optimal growth of a system with many vegetative organs. Theor Popul Biol. 1984;25(1):78–105.
- 45. Schaffer WM. The application of optimal control theory to the general life history problem. Am Nat. 1983;121(3):418–31.
- 46. Parvinen K, Heino M, Dieckmann U. Function-valued adaptive dynamics and optimal control theory. J Math Biol. 2013;67(3):509–33. pmid:22763388
- 47. Avila P, Fromhage L, Lehmann L. Sex-allocation conflict and sexual selection throughout the lifespan of eusocial colonies. Evolution. 2019;73(6):1116–32. pmid:31004345
- 48. Wensink MJ, Caswell H, Baudisch A. The rarity of survival to old age does not drive the evolution of senescence. Evol Biol. 2017;44(1):5–10. pmid:28280278
- 49. Vaupel JW, Baudisch A, Dölling M, Roach DA, Gampe J. The case for negative senescence. Theor Popul Biol. 2004;65(4):339–51. pmid:15136009
- 50. Monaghan P, Charmantier A, Nussey DH, Ricklefs RE. The evolutionary ecology of senescence. Funct Ecol. 2008;22(3):371–8.
- 51. Phillips PC, Arnold SJ. Visualizing multivariate selection. Evolution. 1989;43(6):1209–22. pmid:28564514
- 52. Lande R. Quantitative genetic analysis of multivariate evolution, applied to brain:body size allometry. Evolution. 1979;33(1Part2):402–16. pmid:28568194
- 53. Lande R, Arnold SJ. The measurement of selection on correlated characters. Evolution. 1983;37(6):1210–26. pmid:28556011
- 54. Ohtsuki H, Rueffler C, Wakano JY, Parvinen K, Lehmann L. The components of directional and disruptive selection in heterogeneous group-structured populations. J Theor Biol. 2020;507:110449. pmid:32814071
- 55.
Mathematica, Version 12. Wolfram Research, Inc. 2019.
- 56. Gavrilets S. Rapid evolution of reproductive barriers driven by sexual conflict. Nature. 2000;403(6772):886–9. pmid:10706284
- 57. Gavrilets S, Waxman D. Sympatric speciation by sexual conflict. Proc Natl Acad Sci U S A. 2002;99(16):10533–8. pmid:12149438
- 58. Beeching SC, Wack CL, Ruffner GL. Female convict cichlids (Archocentrus nigrofasciatus) prefer to consort with same-sized males. Ethology Ecology & Evolution. 2004;16(3):209–16.
- 59. Taborsky B, Guyer L, Demus P. “Prudent habitat choice”: a novel mechanism of size-assortative mating. J Evol Biol. 2014;27(6):1217–28. pmid:24801110
- 60. Weissman DB, Judge KA, Williams SC, Whitman DW, Lee VF. Small-male mating advantage in a species of Jerusalem cricket (Orthoptera: Stenopelmatinae: Stenopelmatus). Journal of Orthoptera Research. 2008;17(2):321–32.
- 61. Fromhage L, Jennions MD. Coevolution of parental investment and sexually selected traits drives sex-role divergence. Nat Commun. 2016;7:12517. pmid:27535478
- 62. Houston AI, McNamara JM. John Maynard Smith and the importance of consistency in evolutionary game theory. Biol Philos. 2006;20(5):933–50.
- 63. André JB, Rousset F. Does extrinsic mortality accelerate the pace of life? A bare-bones approach. Evol Hum Behav. 2020;41(6):486–92.
- 64. Schmid M, Rueffler C, Lehmann L, Mullon C. Resource variation within and between patches: where exploitation competition, local adaptation, and kin selection meet. Am Nat. 2024;203(1):E19–34. pmid:38207145
- 65. Kisdi É, Geritz SAH. Adaptive dynamics in allele space: evolution of genetic polymorphism by small mutations in a heterogeneous environment. Evolution. 1999;53(4):993–1008. pmid:28565508
- 66.
Pásztor L, Botta-Dukát Z, Magyar G, Czárán T, Meszéna G. Theory-based ecology: a Darwinian approach. Oxford: Oxford University Press. 2016.
- 67. Gross MR. Alternative reproductive strategies and tactics: diversity within sexes. Trends Ecol Evol. 1996;11(2):92–8. pmid:21237769
- 68. Mank JE. Sex-specific morphs: the genetics and evolution of intra-sexual variation. Nat Rev Genet. 2023;24(1):44–52. pmid:35971002
- 69. Engqvist L, Taborsky M. The evolution of genetic and conditional alternative reproductive tactics. Proc Biol Sci. 2016;283(1825):20152945. pmid:26911960
- 70. Bonduriansky R, Chenoweth SF. Intralocus sexual conflict. Trends Ecol Evol. 2009;24(5):280–8. pmid:19307043
- 71. Cox RM, Calsbeek R. Sexually antagonistic selection, sexual dimorphism, and the resolution of intralocus sexual conflict. Am Nat. 2009;173(2):176–87. pmid:19138156
- 72. Macdonald DW, Johnson PJ. Sex ratio variation and mixed pairs in roe deer: evidence for control of sex allocation?. Oecologia. 2008;158(2):361–70. pmid:18813958
- 73. Méndez M, Obeso JR. Size-dependent reproductive and vegetative allocation in Arum italicum (Araceae). Can J Bot. 1993;71(2):309–14.
- 74. Massot M, Clobert J. Influence of maternal food availability on offspring dispersal. Behav Ecol Sociobiol. 1995;37(6):413–8.
- 75. Dieckmann U, Heino M, Parvinen K. The adaptive dynamics of function-valued traits. J Theor Biol. 2006;241(2):370–89. pmid:16460763
- 76. Ryan TJ, Plague GR. Hatching asynchrony, survival, and the fitness of alternative adult morphs in Ambystoma talpoideum. Oecologia. 2004;140(1):46–51. pmid:15127287
- 77. Bonduriansky R, Maklakov A, Zajitschek F, Brooks R. Sexual selection, sexual conflict and the evolution of ageing and life span. Funct Ecol. 2008;22(3):443–53.
- 78. Lindenfors P. Sexually antagonistic selection on primate size. Journal of Evolutionary Biology. 2002;15(4):595–607.
- 79. Scheiner SM, Lyman RF. The genetics of phenotypic plasticity. II. Response to selection. J Evol Biol. 1991;4(1):23–50.
- 80.
Haykin SS. Neural networks and learning machines. Prentice Hall. 1999.
- 81. Ezoe H, Iwasa Y. Evolution of condition-dependent dispersal: A genetic-algorithm search for the ESS reaction norm. Res Popul Ecol. 1997;39(2):127–37.
- 82. Deshpande JN, Fronhofer EA. A gene-regulatory network model for density-dependent and sex-biased dispersal evolution during range expansions. bioRxiv. 2025.