1 Introduction

The relationship between ecology and evolution is one of the major topics under current development in biology. This research perspective was formulated by Evelyn Huthinson in his essay “Ecological Theatre and the Evolutionary Play” (Hutchinson 1965) describing the necessity of the investigation of ecological factors that shape natural selection. This idea was very influential, and the topic of feedback between ecology and evolution originated by this work is still discussed (Post and Palkovacs 2009). The basic methodology applied to the modeling of ecological and evolutionary problems is that of population dynamics. As postulated by Geritz and Kisdi (2011), realistic mathematical models should be mechanistic and derived from basic principles describing individual behaviour. A natural methodology which satisfies this assumption is evolutionary game theory. Methods of evolutionary game theory (Maynard Smith 1982; Hofbauer and Sigmund 1988, 1998; Cressman 1992; Weibull 1995) are very popular in many fields not related to biology, such as social sciences, economics and even telecommunication engineering. However, in the field of evolutionary ecology modern developments in evolutionary games are somewhat marginalized. Criticism of mathematical methods arise from the individual based approach (Uchmański and Grimm 1986) presented by Adam Lomnicki in the first book in the field, “Population ecology of individuals” (Lomnicki 1988). This approach inspired the development of computer simulation techniques based on multiagent systems (Grimm and Railsback 2005. One of the most serious complaints about evolutionary games is that they lack ecological details and that game theoretic models are too abstract and idealized (as was convincingly highlighted by Mylius 1999 by example of the Battle of the Sexes game). This problem can be shown by the example of the extensively used Hawk–Dove game, described by the payoff matrix:

$$\begin{aligned} T=\left( \begin{array}{c|cc}&H&D \\ \hline H&0.5(G-C)&G \\ D&0&0.5G \end{array} \right) \end{aligned}$$

where \(G\) means the “benefit” in fitness of obtaining the reward and \(C\) the additive “cost” of conflict. The problem is as follows. In the standard approach to evolutionary games and replicator dynamics, differences in fitness can be interpreted as an excess from the mean Malthusian growth rate in the population (Roff 2008). In the underlying reasoning, related to an analysis of “costs” and “benefits”, there is the implicit assumption that fitness can be described in some kind of units. However, in most cases these units of measure are not explicitly specified. Then the question arises: are these theories testable? How can we measure “benefit” or “cost”? In the case of the above matrix it is possible that the pure benefit \(G\) can be estimated from observations of outcomes of interactions between Doves. However, imagine some generalization of this basic model, where Doves’ reproductive success is influenced by a different cost caused by for example females mating preferences for Hawks. In this case there are no strategies that obtain the pure benefit \(G\). When “benefit” is an expected increase in reproductive success and “cost” is a decrease in the same value, how can we empirically measure the number of offspring that were never raised? Models should ideally be formulated in parameters that can be easily measured in nature. A good alternative to this abstract additive cost/benefit analysis is the language of classical demography that is strongly bonded with reality. Also the application of demographic notions in game theoretic models can build a bridge between evolutionary game theory and life history theory where demographic tools are widely applied (Roff 1993; Stearns 1992). In the terminology of demography payoffs in evolutionary games can be described in two types of currency: mortality and fertility. Therefore instead of the above payoff matrix, we shall consider these two components separately, summarized by two matrices of payoffs. The survival or mortality matrix,

$$\begin{aligned} S=\left( \begin{array}{c|cc}&H&D \\ \hline H&s&1 \\ D&1&1 \end{array} \right) \end{aligned}$$

where \(s<1\) is the survival probability of a fight between Hawks, and the fertility matrix containing the expected number of newborns produced in effect from the interaction,

$$\begin{aligned} F=\left( \begin{array}{c@{\quad }c@{\quad }c}&H&D \\ H&0.5W&W \\ D&0&0.5W \end{array} \right). \end{aligned}$$

How can these matrices be combined into the individual’s payoff function? This is the goal of this paper. To find an answer we should investigate how population dynamics induced by these demographic parameters determine the selection of strategies.

2 The basic assumptions of classical theory

When a population with a finite number of individual strategies is considered, then a system of differential equations called replicator dynamics can be defined. It describes changes of population state in time and can be derived in the following way. Assume that we have a finite number \(I\) arbitrary chosen strategies. For each strategy some payoff function \(r_{i}\) is assigned (for example matrix form, as in the classical Hawk–Dove game, however the form of payoff function depends on the modelled problem and can be more complicated). Then the growth of the population of \(i\)-strategists can be described by the Malthusian equation

$$\begin{aligned} \dot{n}_{i}=n_{i}r_{i}. \end{aligned}$$
(1)

Then by following a change of coordinates,

$$\begin{aligned} q_{i}=\dfrac{n_{i}}{n} \end{aligned}$$
(2)

where \(n=\sum _{i=1}^{I}n_{i}\) is the population size, we can derive a system of ordinary differential equations (see, e.g. Cressman 1992),

$$\begin{aligned} \dot{q}_{i}=q_{i}(r_{i}-\bar{r}) \end{aligned}$$
(3)

where \(\bar{r}=\sum _{i=1}^{I}q_{i}r_{i}\) is the average payoff in the population. It has been shown that the replicator dynamics for every complicated multipopulation and density dependent evolutionary game can be reduced to the consideration of the replicator dynamics of the relative frequencies within a single population together with a single equation for the population size dynamics (Argasinski 2006). Therefore the equation

$$\begin{aligned} \dot{n}=n\bar{r} \end{aligned}$$
(4)

together with (3) describes the evolution of the population. Thus the values of the functions \(r_{i}\) should be interpreted as Malthusian parameters and their arguments should be strategy frequencies \(q\) and population size \(n\) (although we can imagine more complicated models, therefore arguments of payoffs will be not explicitly specified in the formulas). The importance of the turnover of individuals for selection dynamics in density dependent models has also been shown (Argasinski and Kozłowski 2008). To induce turnover, some neutral mortality (the same for all strategies while payoffs are interpreted as per capita number of newborns) on adult individuals should be explicitly considered in the model. However, selection is driven by differences in fertility. It is obvious that in some cases survival of parental individuals may be a reward in the game. In this paper we will generalize this result to the cases where adult mortality may differ for different strategies. Therefore instead of the Malthusian function \(r_{i}\), we shall consider the fertility payoff \(W_{i}\), the per capita number of offspring of the \(i\)-th type, and the mortality payoff \(d_{i}\) (or survival \(s_{i}=1-d_{i}\)), the probability of death of a single adult individual of the \(i\)-th type for each strategy.

3 Models of fertility and mortality

As described above, our model will consist of the parameters \(n_{i}\) and functions \(W_{i}\) and \(d_{i}\). This is a natural language for discrete systems while the continuous approach uses for example the mortality rate instead of the probability of death. However this meaning is important for our mechanistic interpretation and empirical tests of predictions of developed models. A rate parameter describes change with respect to time while the probability of death is a parameter characterizing a single interaction, therefore the mortality rate should be a function of the probability of death during a single event and the number of these events in a unit of time. This interpretation is natural for discrete systems, whereas continuous models are described by phenomenological rates of change during an infinitesimal time-step. This derivation method, natural from the point of view of classical mechanics can be problematic to the mechanistic interpretation in population dynamics models. The problem is that below some critical threshold there are no significant changes of the population state and the model falls into Markovian processes described by intensities of events which are parameters which are difficult to measure. This makes empirical testing and falsification of the theory difficult. Fortunately, changes in the population size can be approximated using Taylor series operating on a non-infinitesimal time interval when the trajectory is nearly linear. In effect model parameters are described by the average outcome of an ensemble of events realised during that interval described by the number of newborns and the fraction of dead individuals. In that case there is no need to use the word probability, while the model can be described by empirically measurable fractions. In effect the mechanistic interpretation from discrete models can be transferred to the continuous case too (the equivalence of discrete and continuous models for values of fitness near 1 was mentioned by Hartl and Clark 2006). This is justified in Appendix 1 where the similarities and differences between the discrete and continuous cases are analyzed, and we see that we can write our basic population growth equation as

$$\begin{aligned} \dot{n}_{i}=n_{i}W_{i}-n_{i}d_{i}=n_{i}(W_{i}-d_{i}). \end{aligned}$$
(5)

Where \(W_i\) is the number of newborns and \(d_i\) is the fraction of dead individuals. In the following we introduce a modelling framework based upon four factors, fertility and three distinct types of mortality. We shall build up to our model with a number of applied frameworks, introducing new factors at each stage.

3.1 Framework I: fertility and post-reproduction mortality

Here we will extend the replicator dynamics to the case where mortality and fertility can be explicitly considered, not only the Malthusian parameter.

The basic population growth equation in this case will be given by Eq. (5). We can then derive the dynamics on the related frequencies in the same way as in classical replicator dynamics. In effect we obtain the following variant of the replicator equations that can be called the sex and violence equations,

$$\begin{aligned} \dot{q}_{i}=q_{i}(W_{i}-\bar{W}-d_{i}+\bar{d})=q_{i}((W_{i}-\bar{W})-(d_{i}- \bar{d})) \end{aligned}$$
(6)

where \(\bar{W}=\sum q_{i}W_{i}\) and \(\bar{d}=\sum q_{i}d_{i}\) are averages over the population (as in the standard replicator dynamics). Similar equations are known and applied in population genetics (see Hofbauer and Sigmund 1988, 1998; Cressman 1992). However, in the field of evolutionary games this type of equation has not been sufficiently appreciated and rigorously analyzed.

Alternatively to using the probability of death, we can use the survival probability given by \(s_{i}=1-d_{i}\). We may wish to talk in terms of either of these factors, but for convenience from now on we will use survival probabilities in our formulae (except for the latter part of the section on the Hawk–Dove example game). Equation (6) thus becomes

$$\begin{aligned} \dot{q}_{i}=q_{i}(W_{i}-\bar{W})-(1-s_{i}-1+ \bar{s})=q_{i}(W_{i}-\bar{W} )+(s_{i}-\bar{s}), \end{aligned}$$
(7)

where \(\bar{s}=\sum _{i}q_{i}s_{i}.\)

Therefore, in this case selection is driven by the interplay between the fertility and mortality stages (both described by terms in brackets). In the case where mortality or fertility are selectively neutral (i.e. the same for all strategies, for example when the game affects mortality and there are no increments in fertility) one factor vanishes and we obtain the standard replicator dynamics. Since payoffs \(W_{i}\) and \(s_{i}\) may be density dependent, the above system should be completed by an equation on the population size \(n=n_{1}+\cdots +n_{I}\) (Argasinski 2006):

$$\begin{aligned} \dot{n}&= n\sum \limits _{i}q_{i}(W_{i}+s_{i}-1)\end{aligned}$$
(8)
$$\begin{aligned} \dot{n}&= n\left(\sum \limits _{i}q_{i}W_{i}+\sum \limits _{i}q_{i}s_{i}-1\right) =n( \bar{W}+\bar{s}-1). \end{aligned}$$
(9)

3.2 Framework II: fertility and pre-reproduction mortality with mortality-fertility frequency dependent trade-offs

It is clear that in continuous models the probability of two independent events occurring within a given time interval tends to zero as the length of the time interval tends to zero. However, we should remember that biological reality can be very complicated and the outcomes of a single event can be very complex. For example, consider a male involved in a mating conflict where victory will lead to an immediate mating opportunity, i.e. there is a chain of conditional stages caused by a single interaction event. He may be killed instantly during a fight, or survive then mate successfully and die afterwards due to infection of his wounds. Death has occurred in both cases, but in the second case mating has also occurred, and it is important to distinguish the two different types of mortality. A similar idea has been known in population genetics for a long time (Prout 1965).

Framework I is a good model when mortality pressure acts after reproduction, i.e. individuals reproduce first and are then eliminated, so mortality does not affect fertility. However, the idea of the trade-off that is the cornerstone of life history models states that individuals should die or reproduce, but cannot do both of these things at the same time. There are situations when conflicts occur between individuals before mating and mortality acts before reproduction. Note that in Eq. (5) \(n_{i}\) describes the initial number of individuals prior to deaths caused by mortality pressure. When mortality is acting before reproduction then only \((1-d_{i})n_{i}=s_{i}n_{i}\) will reproduce. This leads to a modification of the above formalism that can be called the sex or violence equations, and here we approach unknown ground. Let us start from equations on the sizes of the subpopulations of the different types, where (5) is replaced by

$$\begin{aligned} \dot{n}_{i}=s_{i}n_{i}W_{i}-n_{i}(1-s_{i})=n_{i}( s_{i}W_{i}+s_{i}-1) . \end{aligned}$$
(10)

However, this form is relevant only when \(s_{i}\) and \(W_{i}\) are constants or frequency independent functions. If \(s_{i}(q)\) and \(W_{i}(q)\) (where \(q\) is the vector of relative frequencies of strategies) are frequency dependent functions, then they are the mean payoffs of \(i\)-strategists averaged over interactions with other strategists. Therefore the term \(s_{i}W_{i}\) should be an average over the product of mortality and fertility payoffs against a random opponent strategy, rather than just a multiplication of average values. To fix this problem we introduce a frequency dependent mortality-fertility trade-off function

$$\begin{aligned} V_{i}(q,s_{i},W_{i})=\sum \limits _{j}q_{j}s_{i}(e_{j})W_{i}(e_{j}) \end{aligned}$$
(11)

(where \(e_{j}\) is the unit vector with 1 in the \(j\)-th position), later for simplicity denoted \(V_{i}\) [note that in the specific case where \(s_{i}\) and \(W_{i}\) are not frequency dependent, then (11) collapses to \( V_{i}=s_{i}W_{i}\)]. Therefore in the general case (10) is replaced by

$$\begin{aligned} \dot{n}_{i}=n_{i}V_{i}-n_{i}(1-s_{i})=n_{i}( V_{i}+s_{i}-1). \end{aligned}$$
(12)

Dividing by \(n\) as in Eq. (2), and using (7), we obtain the frequency equations

$$\begin{aligned} \dot{q}_{i}=q_{i}\left(\left(V_{i}- \sum _{j}q_{j}V_{j}\right)+\left(s_{i}-\bar{s}\right)\right). \end{aligned}$$
(13)

The difference between (7) and (13) is that \(W_{i}\) is replaced by \(V_{i}\). Then the equation on the population size will be;

$$\begin{aligned} \dot{n}=n\sum \limits _{i}q_{i}(V_{i}+s_{i}-1) =n( \bar{V}+\bar{s} -1) \end{aligned}$$
(14)

which is Eq. (9) with \(\bar{V}\) replacing \(\bar{W}\), where \(\bar{V}=\sum _{i}q_{i}V_{i}\).

3.3 Framework III: combining different mortality pressures

Imagine now that there are two separate mortality pressures on our population. One mortality pressure described by \(d_{i}=1-s_{i}\) affects fertility by excluding dead individuals from reproduction as described in Framework II, the second mortality pressure, described by \(m_{i}=1-b_{i}\), only removes some fraction of adult individuals from the population after reproduction, as described earlier in Framework I, where \(m_{i}\) is the probability of death after reproduction and so \(b_{i}\) is the equivalent probability of survival. As before we will only include \(b_{i}\) in our formulae for the sake of convenience. Let us start from the equation on the number of individuals, where (5) and (12) are now special cases of

$$\begin{aligned} \dot{n}_{i}=n_{i}V_{i}-n_{i}(1-s_{i})-n_{i}(1-b_{i})s_{i}=n_{i}( V_{i}-1+b_{i}s_{i}). \end{aligned}$$
(15)

Again, by dividing by \(n\) we obtain frequency equations

$$\begin{aligned} \dot{q}_{i}=q_{i}\left(\left(V_{i}-\sum \limits _{j}q_{j}V_{j}\right) +\left(s_{i}b_{i}-\sum \limits _{i}q_{i}s_{i}b_{i}\right)\right). \end{aligned}$$
(16)

The equation on the population size has the form

$$\begin{aligned} \dot{n}=\sum \limits _{i}n_{i}(s_{i}(W_{i}+b_{i})-1) =n\sum \limits _{i}q_{i}(s_{i}(W_{i}+b_{i})-1)=n(\bar{V}+\bar{B}-1) \qquad \end{aligned}$$
(17)

where \(\bar{V}\) is as in Eq. (14) but \(\bar{s}\) is replaced by \(\bar{B}=\sum _{i}q_{i}s_{i}b_{i}\). Note that we can imagine more complex cases combining many mortality sources of both types.

3.4 Framework IV: adding neutral density dependence

Populations cannot grow to infinity, therefore there should always be some density dependence. We can extend the model to include density dependence by adding offspring mortality described by the logistic suppression coefficient \((1-n/K)\), where we multiply all fertility parameters \(W_{i}\) by this coefficient. Such logistic suppression is used in population genetics (Hofbauer and Sigmund 1988, 1998), and in game theoretic models of the ideal free distribution (Cressman et al. 2004; Cressman and Krivan 2006, 2010). However, in the classical phenomenological form it may produce paradoxical and unrealistic predictions (Geritz and Kisdi 2011). Our approach to logistic growth was originated in Kozłowski (1982). Logistic suppression can be interpreted as the per capita mortality of juvenile individuals, which is selectively neutral, i.e. the same for each strategy. It was shown that without an additional mortality pressure on adult individuals that induces turnover of individuals, selection stops when the population reaches carrying capacity. However by the addition of some background neutral mortality of adult individuals this suppression of selection is avoided (Argasinski and Kozłowski 2008). We note that carrying capacity can be interpreted as a number of habitats rather that a population equilibrium. Therefore, under the assumption that individuals cannot live without a habitat, it makes no sense to consider an initial population size greater than the carrying capacity, and we shall assume that population size cannot exceed the carrying capacity.

The approach developed in this paragraph is a generalization of results from (Argasinski and Kozłowski 2008) to the case when additive adult mortality pressure can differ for different strategies. Thus the system (16) and (17) will become

$$\begin{aligned} \dot{q}_{i}&= q_{i}\left(1-\frac{n}{K}\right) \left( \left(V_{i}-\sum \limits _{j}q_{j}V_{j}\right)+\left(s_{i}b_{i} -\sum \limits _{j}q_{j}s_{j}b_{j}\right)\right),\end{aligned}$$
(18)
$$\begin{aligned} \dot{n}&= n\left( \bar{V}\left( 1-\frac{n}{K}\right) +\bar{B}-1\right). \end{aligned}$$
(19)

This is the most complex case of our framework; mortality pressure can be easily introduced to the simpler cases analyzed before by setting \(s_{i}\) or \(b_{i}\) equal to 1. We have introduced a number of terms in the paper so far. A summary of the important components of our framework is given in Table 1.

Table 1 Important symbols for our modelling framework

The stationary population sizes of Eq. (19) are \(\tilde{n}=0\) and

$$\begin{aligned} \bar{V}\left(1-\frac{n}{K}\right) +\bar{B}-1=0. \end{aligned}$$
(20)

Equation (20) satisfies

$$\begin{aligned}&1-\frac{\check{n}}{K}=\frac{1-\bar{B}}{\bar{V}}\Rightarrow \end{aligned}$$
(21)
$$\begin{aligned}&\check{n}(q)=K\left( 1-\frac{1-\bar{B}}{\bar{V}}\right)=K\left( 1-\frac{1-\sum _{i}q_{i}s_{i}b_{i}}{\sum _{i}q_{i}V_{i}}\right). \end{aligned}$$
(22)

The stability of (22) comes directly from the negative linearity in \(n\) of the expression from Eq. (19). Note that (22) describes an attractor manifold of the population size dynamics, conditional on the current population state described by the vector of strategy frequencies. For a population not to be become extinct we need \(\check{n}>0\) and so \(1-\bar{B}<\bar{V}\), which means that the per capita death rate of adult individuals should be smaller than the per capita reproductive success. For a zero death rate we obtain \(\check{n}=K\). We note Eq. (19) behaves properly in the sense that the trajectory of the dynamics will not leave the interval \([0,K]\).

3.5 The system in ecological equilibrium

We can imagine situations when we are interested in modelling only frequency dependence. In some papers only frequency dynamics is considered under the assumption that the population is in balance between mortality and fecundity, so that we can “forget” about population size. In addition, in many papers this is realized by the assumption of “weak selection”, which means that most birth and death events are independent of strategy. This is problematic in, for example, mating conflicts where the majority of births and deaths are affected by strategies, and the chance to mate without competition with other candidates can be quite low. Therefore, the ecological dynamics can be seriously affected by outcomes of the evolutionary game. However, instead of forgetting about density or separating it from the game dynamics, it is biologically more realistic to assume that the population size is determined by the balance between mortality and fecundity (Argasinski and Kozłowski 2008). Therefore the phase space of the system is reduced to a stable manifold described by the stationary points of the size equation, where the population size traces changes of population composition (an assumption used in adaptive dynamics Vincent and Brown 2005; Dercole and Rinaldi 2008). This approach is similar to the concept of the stationary density surface (Cressman and Garay 2003). The difference is that here we do not assume separation of timescales between size and frequency dynamics. Substituting \(\check{n}\) into the logistic suppression coefficient and using (22) we obtain the frequency dependent multiplicative modifier

$$\begin{aligned} 1-\frac{n}{K}=\frac{1-\sum _{i}q_{i}s_{i}b_{i}}{\sum _{i}q_{i}V_{i}}. \end{aligned}$$
(23)

Then (18) becomes

$$\begin{aligned} \dot{q}_{i}=q_{i}\left( \left( \dfrac{1-\sum _{j}q_{j}s_{j}b_{j}}{ \sum _{j}q_{j}V_{j}}\right) \left(V_{i}-\sum \limits _{j}q_{j}V_{j}\right)+ \left(s_{i}b_{i}-\sum \limits _{j}q_{j}s_{j}b_{i}\right)\right) \end{aligned}$$
(24)

which together with (22) represents the whole system.

Then from the mathematical point of view the system is simplified because, instead of a system of two differential equations, we obtain a single differential equation (24) and the function of the population state \( \check{n}\) (22), describing the population size. On the other hand the equation on frequency dynamics is more complicated and behaviour may be more complex. There is a unique restpoint for the density independent case which now become a function of \(n\), because then the fertility bracket is multiplied by formula (23). Thus, stationary states should be described by stable frequencies and densities.

3.6 Is background fitness really background?

In the classical approach to evolutionary games and replicator dynamics some additive constant that vanishes in the replicator equation is called the background fitness. Following the distinction between mortality and fertility this concept splits into background mortalities of both types that can be modelled by selectively neutral \(d=1-s\) and \(m=1-b\) and background fertility \(W_{b}\) that can be added for each \(W_{i}.\) In the new approach only pre-reproduction mortality is really neutral, because it appears as a multiplicative factor of the whole right side of equations, affecting the rate of convergence. The background mortality \(1-b\) reduces the influence of the mortality stage, because it appears as a multiplicative factor of the bracket describing this stage \(b(s_{i}-\sum _{i}q_{i}s_{i})\) (see Eq. 18). The introduction of background fertility causes reinforcement of the mortality stage by increasing the multiplicative weight of the bracket containing the dynamics of this stage. By adding \(W_{b}\) to all of the fertility values \(W_{i}\), we obtain

$$\begin{aligned} \breve{V}_{i}=\sum \limits _{j}q_{j}s_{i}(e_{j})W_{b}+ \sum \limits _{j}q_{j}s_{i}(e_{j})W_{i}(e_{j})=W_{b}s_{i}+V_{i}. \end{aligned}$$
(25)

In effect (18) and (19) become

$$\begin{aligned} \dot{q}_{i}&= q_{i}\left( \left( 1-\frac{n}{K}\right) \left(V_{i}-\sum \limits _{j}q_{j}V_{j}\right)+\left( 1-\frac{n}{K}\right) W_{b}\left(s_{i}-\sum \limits _{j}q_{j}s_{j}\right)\right.\nonumber \\&\left.+\left(s_{i}b_{i}-\sum \limits _{j}q_{j}s_{j}b_{j}\right)\right),\end{aligned}$$
(26)
$$\begin{aligned} \dot{n}&= n\left( \left( 1-\frac{n}{K}\right) \left( W_{b}\sum _{i}q_{i}s_{i}+\sum _{i}q_{i}V_{i}\right) +\sum _{i}q_{i}s_{i}b_{i}-1\right), \end{aligned}$$
(27)

where the equilibrium population size from (22) is

$$\begin{aligned} \check{n}=K\left( 1-\dfrac{1-\sum _{i}q_{i}s_{i}b_{i}}{W_{b} \sum _{i}q_{i}s_{i}+\sum _{i}q_{i}V_{i}}\right). \end{aligned}$$
(28)

A second effect is an increase in the value of the equilibrium population size and in effect greater suppression of the fertility stage (a lower value of the logistic coefficient); exclusion creates an additional penalty for dead individuals because they lose their whole reproductive success \(W_{b}+W_{i}\).

4 An application: a Hawk–Dove example game

We can apply our model to an example game, a version of the Hawk–Dove game of Maynard Smith. The game is summarised by the following four parameters: \( W\in (0,\infty )\) is the expected number of offspring produced after winning an interaction, \(W_{b}\in [0,\infty )\) is the background fertility (the number of offspring that can be obtained without fighting), \(s\in (0,1)\) is the survival probability of fighting (affecting fertility), and \(b\) is the basic survival probability due to senescence, seasonal mortality etc. (not affecting fertility). Then the survival matrix is now \(bS\), and the fertility matrix is \(F\), where \(S\) and \(F\) are as defined in the Sect. 1. We shall write \(F=WP\), so that the matrix \(P\) is

$$\begin{aligned} P=\left( \begin{array}{c|cc}&H&D \\ \hline H&0.5&1 \\ D&0&0.5 \end{array} \right). \end{aligned}$$

Then to apply the methods described in the previous sections we use the following expressions: \(s_{i}=(Sq^{T})_{i}=e_{i}Sq^{T}, \sum q_{i}s_{i}=qSq^{T}, V_{i}=(S\cdot Pq^{T})_{i}=e_{i}(S\cdot P)q^{T}\), and \(\sum q_{i}V_{i}=q(S\cdot P)q^{T}.\)

Given that there are only two strategies, \(q_{d}=1-q_{h}\) so that we only need to evaluate the population size and the fraction of Hawks at any time. Using \(e_{1}\) as the vector \((1,0)\) we obtain the following equations from (26) and (27)

$$\begin{aligned} \dot{q}_{h}&= q_{h}\left( \left( 1-\dfrac{n}{K}\right) \left( W_{b}\left( e_{1}Sq^{T}-qSq^{T}\right) +W\left( e_{1}S\cdot Pq^{T}-qS\cdot Pq^{T}\right) \right)\right.\nonumber \\&\left.+\,b(e_{1}Sq^{T}-qSq^{T})\right) \end{aligned}$$
(29)

and

$$\begin{aligned} \dot{n}=n\left( \left( qSq^{T}W_{b}+qS\cdot Pq^{T}W\right) \left( 1-\frac{n}{K}\right) +qSq^{T}b-1\right). \end{aligned}$$
(30)

After calculations and auxiliary substitution \(d=1-s\) (see Appendix 2 for details) we obtain:

$$\begin{aligned} \dot{q}_{h}&= q_{h}(1-q_{h}) \left( \left( 1-\dfrac{n}{K}\right) (0.5W( 1-q_{h}d) -W_{b}q_{h}d)-bq_{h}d\right),\end{aligned}$$
(31)
$$\begin{aligned} \dot{n}&= n\left((1-q_{h}^{2}d) \left( \left( W_{b}+0.5W\right) \left( 1-\frac{n}{K}\right) +b\right) -1\right) . \end{aligned}$$
(32)

Two rest points of this system are \(q_{h}=0\) and \(1\). A nontrivial rest point, which becomes the attractor manifold for the density dependent case, (for detailed calculation see Appendix 3) is given by

$$\begin{aligned} \tilde{q}_{h}(n)=\dfrac{0.5W\left( 1-\dfrac{n}{K}\right) }{d\left( \left(W_{b}+0.5W\right) \left( 1-\dfrac{n}{K}\right) +b\right)}. \end{aligned}$$
(33)

We find a stable population size if either \(\tilde{n}=0\) or the following positive restpoint which is conditional on the actual Hawk strategy frequency (describing the attractor manifold parametrized by \(q_{h}\))

$$\begin{aligned} \tilde{n}(q_{h})=K\left( 1-\dfrac{1-b(1-q_{h}^{2}d) }{(W_{b}+0.5W) (1-q_{h}^{2}d) }\right) . \end{aligned}$$
(34)

We must consider whether such a rest points exists. The rest point \(\tilde{q}_{h}\) exists if and only if it is smaller than 1 which gives:

$$\begin{aligned} 0.5W\left( 1-\dfrac{n}{K}\right) <d\left( \left( W_{b}+0.5W\right) \left( 1- \dfrac{n}{K}\right) +b\right) . \end{aligned}$$
(35)

meaning that the expected number of newborns surviving to maturity raised by survivors of a Hawk–Hawk fight should be lower than the expected reproductive success lost due to death from injuries.

The nontrivial stable size is positive, when

$$\begin{aligned} q_{h}<\sqrt{\dfrac{1}{d}\left( 1-\dfrac{1}{\left( W_{b}+0.5W+b\right) } \right) } \end{aligned}$$
(36)

which requires that \((W_{b}+0.5W+b)>1\). Let us examine the above formula for \(q_{h}=1\). We would have a positive population size if

$$\begin{aligned} (1-d)(W_{b}+0.5W+b)>1 \end{aligned}$$
(37)

which is equivalent to the expected reproductive success exceeding 1. Thus if (37) holds, persistence of the population is certain.

Now we will analyze the relationship between the classical approach and our new approach.

Theorem 1

The classical Hawk–Dove game is equivalent to the new model without density dependence if \(W_{b}=0\) and \(b=1.\) Then the benefit \(G=W\) and cost \(C=d(W+2)\).

(for a proof see Appendix 4).

Thus the benefit is the expected fertility \(W\). It is interesting that cost is a function of benefit, which is an effect of the application of pre reproduction mortality. Now we can express abstract costs and benefits from the classical Hawk–Dove game in empirically measurable demographic parameters. For example consider the simplified case without density dependence and with \(W_{b}=0, W=2\) and \(b=1\). Then inequality (35) collapses to \(d>0.5\), which means that a Hawk’s probability of death from a Hawk versus Hawk contest should be \(>\)0.5. However a lack of details such as density dependence or background mortality supported by our new model suggests that this classical approach cannot be realistic. From the point of view of the new approach, in classical model Doves are immortal, Hawks can die during fight only and population growth is unlimited. The absence of density dependence is especially problematic. In the next section the model in ecological equilibrium will be analyzed and differences between unlimited exponential growth and the more realistic new approach will be shown.

4.1 The system in ecological equilibrium

According to the theory developed in Sect. 3.5 we now consider the situation when the system is in ecological equilibrium, i.e. with population size tracing the stable equilibrium determined by the actual Hawk frequency. This can be done by the substitution of a stable point into the suppression coefficient. Considering (31), (33) and (34) the system reduces to (34) (for the population size) and

$$\begin{aligned} \dot{q}_{h}=q_{h}(1-q_{h}) \left(\dfrac{1-b( 1-q_{h}^{2}d)}{(W_{b}+0.5W)(1-q_{h}^{2}d) } (0.5W(1-q_{h}d) -W_{b}q_{h}d)-bq_{h}d\right)\nonumber \\ \end{aligned}$$
(38)

Now let us analyze the rest points of this system. These are the intersections of the manifolds described by (33) and (34) However, we will limit analysis to frequencies, leaving eco-evolutionary interactions for the next paper.

Theorem 2

For this Hawk–Dove game: there is a unique mixed strategy stable equilibrium if

$$\begin{aligned} \sqrt{b\frac{1-b}{d}}-0.5<\dfrac{W_{b}}{W}\quad \text{ and}\quad \frac{W_{b}}{W} >0.5(1-b)\left(\frac{1}{d}-1\right) , \end{aligned}$$
(39)

a mixed stable equilibrium and a pure Hawk stable equilibrium if

$$\begin{aligned} \sqrt{b\frac{1-b}{d}}-0.5<\dfrac{W_{b}}{W}<0.5(1-b) \left(\frac{1}{d}-1\right)\quad \text{ and}\quad \frac{2W_{b}}{W}+1<2b \end{aligned}$$
(40)

and a pure Hawk stable equilibrium otherwise.

If it exists, the stable mixed equilibrium has the form

$$\begin{aligned} \check{q}_{h}=\dfrac{\left( 2\dfrac{W_{b}}{W}+1\right) d-\sqrt{\left( 2 \dfrac{W_{b}}{W}+1\right) d^{2}-4bd\left( 1-b\right) }}{2bd} \end{aligned}$$

and an invasion barrier for a stable pure Hawk equilibrium [where under (38) \(q_{h}\) converges to Hawk if and only if \(q_{h}>\hat{q}_{h}\)]:

$$\begin{aligned} \hat{q}_{h}=\dfrac{\left( 2\dfrac{W_{b}}{W}+1\right) d+\sqrt{\left( 2\dfrac{ W_{b}}{W}+1\right) d^{2}-4bd\left( 1-b\right) }}{2bd} \end{aligned}$$

(for a proof see Appendix 5).

In the case without background fertility \(W_{b}\) the general system has the form

$$\begin{aligned} \dot{q}_{h}=q_{h}\left( 1-q_{h}\right) \left( 0.5W\left( 1-\dfrac{n}{K} \right) \left( 1-dq_{h}\right) -bdq_{h}\right) \end{aligned}$$
(41)

with the scaling parameter

$$\begin{aligned} \dot{n}=n\left((1-q_{h}^{2}d) \left( 0.5W\left( 1-\frac{n}{K} \right) +b\right) -1\right) . \end{aligned}$$
(42)

Under assumption of ecological equilibrium parameter \(W\) vanishes from equations. In this case the rest points from Theorem 2 become \(\check{q}_{h}= \dfrac{d-\sqrt{d^{2}-4bd(1-b) }}{2bd}\) and \(\hat{q}_{h}=\dfrac{d+\sqrt{d^{2}-4bd(1-b)}}{2bd}\). For either of these solutions to be biologcially meaningful, they must lie within \((0,1)\). Both solutions lie within this range if conditions \(0<4b(1-b)<d\) and \(b>0.5\) hold. Note that it is not possible that there is exactly one zero point within (0,1). Following the replicator equation (38), if \(\check{q}_{h}\) and \(\hat{q}_{h}\) lie in the interval \((0,1)\), then \(\hat{q}_{h}\) is stable and pure Hawk is also a stable point with invasion barrier \(\check{q}_{h}\). It is also perhaps surprising that density dependence has made the pure Hawk population stable. Therefore in the new model the situation known from the classical approach that there is only one rest point in the interior does not occur without background fertility \(W_{b}\). We note that without background mortality \((b=1)\) Doves are immortal. This leads to extinction of Hawks and density reaches \(K\) (as in Argasinski and Kozłowski 2008).

4.2 Numerical examples

This section contains numerical simulations. Numerical solutions were prepared in two variants: a growing population with initial size \(n=20\) and carrying capacity \(K=10{,}000\) and a population in ecological equilibrium. The initial Hawk frequency is \(q_{h}(0)=0.2\) for Figs. 1 and 2, \(q_{h}(0)=0.05\) for Fig. 3. Our new approach is less abstract, and can be used to develop more detailed models. For example, the new model can be interpreted as a mating conflict where individuals compete for females and strategy genes are sex linked and inherited by males. In this case all reproductive success is an outcome of a game, therefore there is no background fertility \(W_{b}\) as in the system (41, 42). In this case at low density it is profitable to be a Hawk because of the high payoff from the number of surviving juveniles, however an increase of the population size increases juvenile mortality described by logistic suppression, and in effect the payoff decreases. Thus at high density the Hawk frequency stops growing and begins to decline (Fig. 1).

Fig. 1
figure 1

The Hawk frequency increases in low population size but decreases in high population size. This is caused by newborn mortality increasing with population growth, thus making the Hawk strategy not profitable when the population size is large. Parameter values are \(W=5,W_{b}=0,d=0.8,b=0.99\) [initial conditions \(n(0)=20, q_{h}(0)=0.2]\). The system converges to the mixed equilibrium \(\check{q}_{h}=0.0126\), population size \(\tilde{n}=9{,}959\), where the Hawk invasion barrier is \(\hat{q}_{h}=0.9974\)

Fig. 2
figure 2

The stable population size is a dynamic equilibrium between mortality and fecundity. An increase of mortality caused by the spreading of Hawks can reduce the population size, even to extinction. a A plot of strategy frequencies. The attractor manifold \(\tilde{q}_{h}(n)\) exceeds 1, causing the extinction of Doves. b The corresponding trajectory of the population size. c The stable population size as a function of Hawk frequency. Parameter values are \(W=10,W_{b}=0,d=0.8,b=0.7\). In this case there are no mixed equilibria, Hawks outcompete Doves and the population size converges to \(\tilde{n}=1{,}400\)

Fig. 3
figure 3

For the same frequency initial conditions \((q_{h}(0)=0.05),\) at low densities (case a, initial population size \(n_{0}=20\)) Hawks outcompete Doves, when at ecological equilibrium [case b where initial size is determined by (34) and equals \(n_{0}=9{,}763\)] the system converges to a mixed equilibrium \(\check{q}_{h}=0.2616\). Parameters are \(W=10, W_{b}=0.1,d=0.5,b=0.9\). The population size converges to \(\tilde{n} =7{,}843\). in case a and \(\tilde{n}=9{,}734\); in case b, the Hawk invasion barrier is \(\hat{q}_{h}=0.8709\)

The model can be extended to the case when individuals are foraging for some resource and when two individuals find a resource then conflict begins. Then the probability of conflict will depend on the density and the availability of the resource. In this case the number of free resources can be described by the background fertility \(W_{b}\) and should decrease as the population grows, while the number of resources that can be obtained by conflict \((W)\) should increase. In this case Hawks will decrease in low densities and increase in high ones. This case is worthy of rigorous analysis in subsequent research.

In the preceding paragraph only the frequency dynamics was analyzed in detail. However, the model produces another interesting prediction on density dependence. At ecological equilibrium the frequency dynamics can affect the population size, for example the spread of Hawks can reduce the population size (even to extinction); this is shown in Fig. 2b.

The relationship described by (34) is plotted in Fig. 2c. It shows why the Hawk population becomes fixed in ecological equilibrium. Simply, with the increase of the Hawk frequency, the population size decreases which causes an increase in newborn survivability. Therefore a reduction of the population size makes the Hawk strategy profitable again. This mechanism is shown in Fig. 3. For the same frequency and initial conditions, at low densities Hawks outcompete Doves, whilst at ecological equilibrium the system converges to a mixed equilibrium. This example shows how sensitive the game theoretic structure is to ecological mechanisms such as density dependence.

5 Summary of results

5.1 Game theoretic results

In our new approach the game theoretic structure splits into two stages: the mortality and fertility stages. The equilibrium is an effect of the interplay between both stages.

Background fitness can be expressed as background mortality and fertility and it does not vanish from the replicator equations but appears as a multiplicative factor of the mortality stage which has the form \((1-\frac{n}{K})W_{b}+b\).

When the population reaches a stable size manifold consisting of equilibria of the size equation (a type of stationary density surface; Cressman and Garay 2003), conditional on actual strategy frequencies, then the game theoretic structure may change. “Benefit” is affected by density dependent juvenile mortality described by the modifier (23), and in effect the respoint becomes an attractor manifold. Thus, global stationary points are intersections of size and frequency manifolds, and this allows a population of Hawks to become stable. This mechanism is induced by the decrease of population size caused by increased average mortality, which causes a decrease of newborn mortality. The invasion barrier is the Hawk frequency that when surpassed makes the number of offspring surviving to maturity high enough to make the Hawk strategy profitable. Therefore the value of the “benefit” can be modified by neutral density dependence which can in effect seriously change the rules of the game.

This new approach allows us to explicitly describe the cause and effect structure of the modelled phenomenon. The classical theory is phenomenological at the level of determining payoff values expressed in terms of excess over the average growth rate. There are no rules describing how the value of deviation from the average growth rate is determined by strategy. We can always pose the question: why is it not greater (or lower)? In our new approach it can be determined by mortality risk (the probability of death during an interaction with an opponent) and the number of successful reproduction events (for example successful matings). Therefore our new approach can be called “event based modelling”.

5.2 Ecological results

Modern ecological modelling uses very sophisticated mathematical tools such as Lyapunov exponents (Metz et al. 1992). This may cause problems with the understanding of the results obtained by readers with lesser mathematical skills. The framework presented in this paper is an attempt at a solution of this problem, by providing a simple interpretation of parameters. Empirical testing of models formulated under the new framework will be much easier because mortalities (fractions of dead individuals) and fertilities (per capita number of newborns) can be easily measured unlike abstract “costs” and “benefits”. Also costs and benefits are not separated quantities. The Hawk–Dove example shows that “cost” is a function of expected “benefit” defined as a number of offspring. In effect, the general but abstract condition that “cost” should exceed “benefit” collapses to specific but clear and empirically testable statements such as: “if the expected number of offspring is 2 than over half of Hawks should die during a fight for there to be a mixed stable equilibrium”.

Density dependence may affect the structure of the game by increasing newborn mortality; in effect some strategies can be profitable in low densities but not profitable in high densities. The opposite situation can be obtained by density dependent background fertility. Therefore, costs and benefits are not constants. The assumption of constant payoff coefficients was criticized by Dieckmann and Metz (2006) as not realistic. Our model supports their arguments. It shows that even in the application of classical methods, such as logistic suppression, we obtain a varying value of benefit.

The system in ecological equilibrium is not equivalent to the purely frequency dependent case. The equation on frequencies is more complicated, additional rest points may exist (for example in the Hawk–Dove game, a pure Hawk population may become evolutionarily stable). Trajectories of selection determine trajectories of stable population size.

Our new approach shows that the rules of the evolutionary game are not constant but written by ecological conditions and are very sensitive to changes of those conditions. We believe that abstract reasonings related to unspecified “costs” and “benefits” are insufficient. A strong bond with reality via empirically measurable parameters with a clear mechanistic meaning is necessary to produce realistic models. It was clearly shown using the example of the Battle of the Sexes model (Mylius 1999) that more realistic details included in the model (such as realistic pair-formation and the mechanistic interpretation of “costs” as time delays during courtship) can seriously affect predictions, which thus can differ from the “abstract” game model. Therefore, when developing an abstract game theoretic model such a mechanistic analysis should be considered. Our work supports those conclusions.