1 Introduction

If individuals of all age classes in an age-structured population are fertile, we say that the population possesses an iteroparous life history. In the case where individuals of the last age class only are fertile, the population is classified semelparous. Among several alternatives, nonlinear Leslie matrix models are widely used tools in order to capture and describe the dynamics as well as other properties of populations as described above. The usual approach in such models is to include nonlinearities (or density dependence) in fecundity terms and not in year-to-year survival probabilities. Particularly in fishery models [1], this has been motivated by the assumption that most density effects are present only in the first year of life. There are fewer studies where density dependence is incorporated in the survival or both in fecundity and survival terms, but see [2, 3]. The dynamics obtained from semelparous and iteroparous population models are often very different. Regarding the semelparous case (nonlinear fecundities, constant survival probabilities), the nontrivial fixed point (equilibrium) tends to be unstable in most of the parameter space, and in contrast to what one finds from iteroparous models, also at low population densities. Instead, one observes a cyclic state where the whole population is in just one single-year class (SYC dynamics) at each time step, confer [4,5,6,7,8,9,10,11]. Ergodic properties of semelparous models may be obtained in [12, 13], and in recent years we have seen much attention towards describing and understanding insect cycles, in particular the 17 years cicada (magicicada) cycle, confer [14, 15] and references therein. On the other hand, the dynamics found from Leslie matrix models where species who possess iteroparous life histories are targets, turns out to be quite different. Instead, by use of the compensatory Beverton and Holt recruitment function, the nontrivial fixed point was found to be stable in the whole parameter space, see [16,17,18]. However, in the overcompensatory Ricker case, the fixed point is stable at low population densities but the population may exhibit periodic, quasiperiodic as well as chaotic behaviour of stunning complexity at higher population densities, confer [19,20,21,22,23,24,25,26,27]. Regarding the work at hand, we shall use a much more sophisticated recruitment function than those referred to above, and thus, we will be able to show and prove several new and general results.

Let us now turn to ‘real’ populations. As it is well known, several fish populations of commercial interest, for example the Northeast Arctic cod stock may exhibit severe fluctuations in biomass from one year to another. In certain periods, the stock biomass seems to be dominated by strong year classes, while other periods show a more harmonic composition of the total stock biomass. Thus, by use of data from the fisheries, calibrated in order to fit, Leslie matrix models may provide important insight in complex dynamical behaviour and subsequently contribute to reliable fishing strategies.

Invading species may also become a serious problem. Both in the 1960s and the 1980s, pink salmon (also known as humpback salmon) was released in the Kola Peninsula in Russia. Later, the pink salmon has migrated to northern part of Norway, invaded rivers and represents today a severe threat to its Atlantic salmon rival, confer [28]. In 2021, local fish counts estimated up to 50,000 pink salmon in the Tana river (which is a famous ’salmon river’ in northern Norway). Therefore, analysis of \(2\times 2\) Leslie matrix models (pink salmon) \(n\times n\) models (Atlantic salmon) or a combination could provide valuable knowledge of dynamical behaviour and interaction, which again may be used in order to reduce and prevent the threat from the pink salmon.

Finally, as mentioned before, cicada cycles have on several occasions been studied by use of Leslie matrix models. Examples of insect species where such models could be excellent modelling tools may be found among caterpillars. Indeed, in recent years moth larvae have destroyed about 10,000 \(\hbox {km}^{2}\) of birch forest in northern Scandinavia. Actually, there appears to be three different species responsible for the disaster, two species with high outbursts in numbers between 9 and 11 years, while the cycle is approximately 3 years for the last species. Climate warming is allowing these species to expand their ranges northwards, see [29]. Just as in the cicada case, discrete age-structured models could be very helpful in order to understand the mechanisms that lead to such outcomes.

Hence, in order to summarize, the more we know about the complex dynamics which nonlinear Leslie matrix models may generate, the better are our chances to describe and understand complicated dynamical phenomena that occur among species in nature.

The novelties of this paper are as follows: By use of a general recruitment function, we have been able to account for much more complex dynamical behaviour including births and deaths of coexisting attractors than in previous quoted papers. In another direction, we have presented proofs of nature of bifurcations involved both in 2- and 3-age class models as well as proofs of 1 : 2 and 1 : 3 resonance phenomena which lack in the literature. Regarding species who possess overcompensatory recruitment functions, the nonstationary dynamics of species of even and odd number of age classes differ in case of sufficiently large survival probabilities. We have also succeeded in finding an upper limit of population size where the population is stable in an n-age class model given that all survivals equal unity. At this limit, all eigenvalues of the linearized map are located on the boundary of the unit circle, which signals complex dynamical behaviour beyond instability threshold.

The plan of the paper is as follows: In Sect. 2, we present the model. Section 3 focuses on general properties, while we in Sects. 4 and 5 scrutinize 2- and 3-age class dynamics, respectively. Finally, in Sect. 6 we discuss and unify results obtained from general n-age class models, which is followed by a summary, Sect. 7.

2 The model

Let \(x_{1,t},\ldots ,x_{n,t}\) be n nonoverlapping age classes of a population at time t and define the population vector \({\overline{x}}\) as \({\overline{x}}=(x_1,\ldots ,x_n)^T\). Then we may express the relation between \({\overline{x}}\) at two consecutive time steps as a map

$$\begin{aligned} h:\ {\mathbb {R}}^n\mapsto {\mathbb {R}}^n\quad {\overline{x}} \mapsto A{\overline{x}} \end{aligned}$$
(1a)

or as a system of difference equations

$$\begin{aligned} {\overline{x}}_{t+1}=A{\overline{x}}_t \end{aligned}$$
(1b)

where the \(n\times n\) Leslie matrix A is defined as

$$\begin{aligned} A= \begin{pmatrix} f_1 &{} \ldots &{} f_{n-1} &{} f_n \\ p_1 &{} &{} 0 &{} 0 \\ &{} \ddots &{} &{} \vdots \\ 0 &{} &{} p_{n-1} &{} 0 \end{pmatrix} \end{aligned}$$
(2)

Here \(f_i\) is the average fecundity (the number of daughters born per female in age class i), and \(p_i\) is the survival probability from age class i to age class \(i+1\).

The matrix elements may be density-dependent or not. In fishery models, one often assumes density-dependent fecundities and constant year-to-year survival probabilities. Moreover, it is customary to express \(f_i(x)\) as a product of a density-independent term \(F_i\ge 0\) and a density-dependent term \({\hat{f}}(x)\), i.e. \(f_i(x)=F_i{\hat{f}}(x)\). Other possibilities are to express \(f_i\) as \(f_i(y)\) where \(y=\sum a_ix_i\), i.e. a weighted sum of age classes, or \(f_i(x_i)\) which means that only age class i contributes to density effects. Frequently used fecundity functions may be found among members of the Deriso–Schnute family \(f_i(x)=F_i(1-\gamma \alpha x)^{{1}/{\gamma }}\). Observe that when \(\gamma \rightarrow 0\) \(f_i(x)\) equals the well-known overcompensatory Ricker relation \(f_i(x)=F_ie^{-\alpha x}\), and when \(\gamma =-1\), \(f_i(x)=F_i(1+\alpha x)^{-1}\) which is nothing but the compensatory Beverton and Holt formula. In cases where it is natural to consider density-dependent survival probabilities, we adopt the same strategy as above and write \(p_i(x)=P_i{\hat{p}}(x)\) where \(0<P_i\le 1\). Finally, from a biological point of view, we shall assume \(f'(x)\le 0\) and \(p'(x)\le 0\).

Map (1a) or (1b) may serve as excellent tools in order to reveal the dynamics of species with a wide range of different life histories. Species possessing precocious semelparous life histories, which is characterized by rapid development followed by only one reproduction, exemplified by annual plants, may be scrutinized by letting \(n=2\) and \(F_1=0\). Species like cicadas and salmons possess delayed semelparous life histories. They live for many years and reproduce only once just before they die. ’Translated’ to the Leslie matrix (2), this means that \(F_1=\cdots =F_{n-1}=0\) and \(F_n>0\). Whenever all or most age classes are fertile, we say that the species exhibit a precocious iteroparous life history. Examples may be found among small rodent populations, in particular when \(n\le 4\). In the final case, delayed iteroparity, we find species who live through several years before maturity and then survive to reproduce for many years. Humans and large mammals belong to this subclass. Regarding the Leslie matrix, this corresponds to \(F_1=\cdots =F_k=0\), \(F_{k+1}>0,\ldots , F_n>0\).

3 Some general properties

We start by considering the case where \(f_i(x)=F_i(1-\gamma \alpha x)^{{1}/{\gamma }}\), \(i=1,\ldots ,n\) (which means that the fecundities belong to the Deriso–Schnute family) and constant year-to-year survival probabilities \(p_i=P_i\), \(i=1,\ldots ,n-1\), \(0<P_i\le 1\), that is

$$\begin{aligned} \begin{aligned} x_{1,t+1}&= \sum _{i=1}^n F_i(1-\gamma \alpha x)^{{1}/{\gamma }}x_{i,t} \\ x_{2,t+1}&= P_1x_{1,t} \\&\hspace{5.0pt}\vdots \\ x_{n,t+1}&= P_{n-1}x_{n-1,t} \end{aligned} \end{aligned}$$
(3)

Let \(L_i=P_1P_2\cdots P_{i-1}\), where \(L_1=1\) and define the net inherent reproductive number as

$$\begin{aligned} R_0=L_1F_1+\cdots +L_nF_n=\sum _{i=1}^nL_iF_i \end{aligned}$$
(4)

and throughout the paper we will assume \(R_0>1\) in order to obtain a feasible equilibrium population

$$\begin{aligned} x^*=\frac{1}{\gamma \alpha }\big (1-R_0^{-\gamma }\big ) \end{aligned}$$
(5)

The equilibrium point of (3) may be expressed as

$$\begin{aligned}{} & {} \left( x_1^*,\ldots ,x_i^*,\ldots ,x_n^*\right) \nonumber \\{} & {} \quad =\bigg (\frac{L_1}{K}x^*,\ldots ,\frac{L_i}{K}x^*,\ldots ,\frac{L_n}{K}x^*\bigg ) \end{aligned}$$
(6)

where \(K=\sum _{i=1}^nL_i\).

Regarding stability properties of (6), we find under the assumption \(F_1=\cdots =F_n=F\) (which is a reasonable assumption for many species who possess a precocious iteroparous life history), that the eigenvalues \(\lambda \) of the linearization of (3) satisfy the equation

$$\begin{aligned} \lambda ^n-\frac{1}{K}\sum _{i=1}^nL_i\bigg (\frac{1-(\gamma +1)\alpha x^*}{1-\gamma \alpha x^*}\bigg )\lambda ^{n-i}=0 \end{aligned}$$
(7)

Here, we may notice, due to (5), that \(\alpha \) drops out of the equation. Therefore, we shall in the following assume \(\alpha =1\). The equilibrium point (6) is stable as long as all eigenvalues of (7) are located on the inside of the unit circle \(|z|=1\) in the complex plane.

Theorem 1

Assume that \(F_1=\cdots =F_n=F\). Then, equilibrium point (6) of map (3) is always locally asymptotic stable provided

$$\begin{aligned} x^*<\frac{2}{2\gamma +1} \end{aligned}$$
(8)

where \(x^*\) is given by (5).

Proof

Let

$$\begin{aligned} P_n(\lambda )= & {} \lambda ^n-\frac{1}{K}\sum _{i=1}^nL_i\bigg (\frac{1-(\gamma +1)x^*}{1-\gamma x^*}\bigg )\lambda ^{n-i}\\= & {} 0 \end{aligned}$$

and assume that \(|(1-[\gamma +1]x^*)(1-\gamma x^*)^{-1}|<1\). Then, write the left-hand side of the equation as \(P_n(\lambda )=g(\lambda )+h(\lambda )\) where \(g(\lambda )=\lambda ^n\) and \(h(\lambda )\) consist of the remaining terms. Clearly, g and h are analytic functions on and inside the unit circle \(|z|=1\) and the equation \(g(\lambda )=0\) has n roots inside \(|z|=1\). On the boundary, we have

$$\begin{aligned} \begin{aligned}&\bigg |-\frac{1}{K}\sum L_i \bigg (\frac{1-(\gamma +1)x^*}{1-\gamma x^*}\bigg )\bigg | \\&\quad \le \bigg | \frac{L_1}{K}\bigg (\frac{1-(\gamma +1)x^*}{1-\gamma x^*}\bigg )\bigg |\\&\qquad +\cdots +\bigg | \frac{L_n}{K}\bigg (\frac{1-(\gamma +1)x^*}{1-\gamma x^*}\bigg )\bigg | \\&\quad \le \bigg |\frac{1-(\gamma +1)x^*}{1-\gamma x^*}\bigg |<\big |g(\lambda )\big |=1 \end{aligned} \end{aligned}$$

Then, according to Rouché’s theorem \(P_n(\lambda )=g(\lambda )+h(\lambda )\) and \(g(\lambda )\) have the same number of zeros located inside the unit circle, i.e. n-zeros, which proves that \(|(1-[\gamma +1]x^*)(1-\gamma x^*)^{-1}|<1\) is sufficient to guarantee a stable equilibrium which is equivalent to say

$$\begin{aligned} x^*<\frac{2}{2\gamma +1} \end{aligned}$$

\(\square \)

Hence, in the Ricker case (’worst’ case), \(x^*<2\), \(\gamma =-{1}/{4}\) implies \(x^*<4\), \(\gamma =-{1}/{3}\) implies \(x^*<6\) and in the Beverton and Holt case the equilibrium point will always be stable. Note that the regions above (\(x^*<a\)) are regions where stability is guaranteed. Depending on the number of age classes and parameters, the actual instability thresholds may be larger.

4 2-Age classes

When \(n=2\), \(\alpha =1\) and \(F_1=F_2=F\), equilibrium point (6) may be expressed as

$$\begin{aligned} (x_1^*,x_2^*)=\bigg (\frac{1}{1+P_1}x^*,\frac{P_1}{1+P_1}x^*\bigg ) \end{aligned}$$
(9)

where \(R_0=F(1+P_1)\) and \(x^*\) is given by (5). The corresponding eigenvalue Eq. (7) is on the form

$$\begin{aligned} \lambda ^2+a_1\lambda +a_2=0 \end{aligned}$$
(10)

where

$$\begin{aligned} a_1&=(f'x^*+f)=-\frac{1}{1+P_1}\bigg (1-\frac{x^*}{1-\gamma x^*}\bigg ) \\ a_2&=P_1(f'x^*+f)=-\frac{P_1}{1+P_1}\bigg (1-\frac{x^*}{1-\gamma x^*}\bigg ) \end{aligned}$$

and \(f,f'\) are evaluated at equilibrium. In order for \((x_1^*,x_2^*)\) to be locally asymptotic stable, the Jury criteria

$$\begin{aligned}&1+a_1+a_2 >0 \end{aligned}$$
(11a)
$$\begin{aligned}&1-a_1+a_2 >0 \end{aligned}$$
(11b)
$$\begin{aligned}&1-|a_2| >0 \end{aligned}$$
(11c)

must hold. Easy calculations show that (11a) is satisfied for any \(x^*>0\). Hence, \((x_1^*,x_2^*)\) will never experience a saddle node bifurcation at instability threshold. (11b) may be written as \((1+2\gamma -P_1)x^*<2\). If \(\gamma \le (P_1-1)/2\), then (11b) is valid for any \(x^*>0\). Whenever \(\gamma >(P_1-1)/2\), (11b) holds if \(x^*<2/(1+2\gamma -P_1)\) and a flip bifurcation will occur at threshold \(x^*=2/(1+2\gamma -P_1)\) for \(x^*\) sufficiently large. Regarding (11c), \((P_1+[1+2P_1]\gamma )x^*<1+2P_1\), it holds for any \(x^*>0\) provided \(\gamma \le -P_1/(1+2P_1)\). When \(\gamma >-P_1/(1+2P_1)\), (11c) is still valid if \(x^*<(1+2P_1)/(P_1+[1+2P_1]\gamma )\) and \((x_1^*,x_2^*)\) will lose its hyperbolicity through a Neimark–Sacker (hereafter shortened NS) bifurcation at threshold \(x^*=(1+2P_1)/(P_1+[1+2P_1]\gamma )\).

Thus, if \(\gamma \le (P_1-1)/2\) and \(\gamma \le -P_1/(1+2P_1)\), then \((x_1^*,x_2^*)\) will be locally asymptotic stable for any \(x^*>0\). Whenever \(\gamma >(P_1-1)/2\), \(\gamma >-P_1/(1+2P_1)\) and \(x^*<\min \{2/(1+2\gamma -P_1),(1+2P_1)/(P_1+\gamma [1+2P_1])\}\), the equilibrium will also be stable. At thresholds \(x^*=2/(1+2\gamma -P_1)\), \(x^*=(1+2P_1)/(P_1+\gamma [1+2P_1])\), \((x_1^*,x_2^*)\) will undergo a flip or a NS bifurcation respectively. If a flip shall occur prior to a NS bifurcation, then

$$\begin{aligned} \frac{2(P_1-{1}/{2})(P_1+1)}{(1+2\gamma -P_1)\big (P_1+\gamma (1+2P_1)\big )}<0 \end{aligned}$$
(12)

In Fig. 1, we show the graphs that separate stable and unstable parameter regions in the cases \(\gamma =-{1}/{6}\), \(\gamma =-{1}/{8}\) and \(\gamma \rightarrow 0\) and clearly, the larger the \(\gamma \), the smaller the stable parameter region.

Fig. 1
figure 1

Graphs that separate stable and unstable parameter regions in the case \(\gamma =-{1}/{6}\) (blue graph), \(\gamma =-{1}/{8}\) (red graph) and \(\gamma \rightarrow 0\) (green graph). The stable parameter regions are located below the graphs

Our next goal is to scrutinize what happens at the various instability thresholds and we start by considering the interval \(0<P_1<{1}/{2}\).

Theorem 2

Consider the map

$$\begin{aligned} (x_1,x_2)\mapsto & {} \big (F(1-\gamma x)^{{1}/{\gamma }}x_1\nonumber \\{} & {} +F(1-\gamma x)^{{1}/{\gamma }}x_2,P_1x_1 \big ) \end{aligned}$$
(13)

whose equilibrium is

$$\begin{aligned} \left( x_1^*,x_2^*\right) =\bigg (\frac{1}{1+P_1}x^*,\frac{P_1}{1+P_1}x^* \bigg ) \end{aligned}$$

where

$$\begin{aligned} x^*=\frac{1}{\gamma }\Big (1-\big (F(1+P_1)\big )^{-\gamma }\Big ) \end{aligned}$$

Then, in case of \(\gamma >(P_1-1)/2\) and a fixed \(P_1\), \(0<P_1<{1}/{2}\), \((x_1^*,x_2^*)\) will undergo a supercritical flip bifurcation at threshold

$$\begin{aligned} x^*= & {} \frac{2}{1+2\gamma -P_1} \nonumber \\\Leftrightarrow & {} F=\frac{1}{1+P_1}\bigg (\frac{1+2\gamma -P_1}{1-P_1}\bigg )^{{1}/{\gamma }} \end{aligned}$$
(14)

Hence, when \((x_1^*,x_2^*)\) fails to be stable, an attracting period 2 orbit is established. For a formal proof, confer Appendix A.

Regarding the dynamics beyond instability threshold the results are as follows: As proved, independent of the value of \(P_1\) (\(0<P_1<{1}/{2}\)) there will always be an F interval just beyond threshold (14) where we find stable orbits of period 2. Through further increase of F there may be stable orbits of period \(2^k\) as well as chaotic dynamics as exemplified in the bifurcation diagram, Fig. 2a blue graph, and the Lyapunov exponent graph, Fig. 2b blue graph, in the case \(\gamma \rightarrow 0\) (i.e. \(F(1-\gamma x)^{{1}/{\gamma }}=Fe^{-x}\)) and \(P_1=0.4\). (If the Lyapunov exponent \(L<0\), it corresponds to a stable fixed point or a stable periodic orbit, \(L=0\) means that the dynamics occurs on an attracting invariant curve, while \(L>0\) corresponds to chaotic oscillations). However, in nonlinear systems one may not rule out the possibility of multiple attractors. Indeed, still referring to Fig. 2a, in the interval \(34.18<F<39.42\) we observe that the stable 2-cycle coexists with a 3-cycle red graph and in case of larger values of F there is coexistence between the 2-cycle and a chaotic attractor which disappears when \(F=46.13\). The structure of the attractor is displayed in Fig. 3a and b; we provide a corresponding time-series graph. Coexistence has also been detected for smaller values of \(\gamma \). For example, when \(\gamma =-{1}/{6}\) the 3-cycle coexists with \((x_1^*,x_2^*)\) as well, and the smaller the \(\gamma \), the larger becomes the F interval where coexistence is possible. Hence, in all intervals where we find coexistence, the ultimate fate of an orbit depends on the initial condition. We postpone a more thorough analysis of the 3-cycle to the \(P_1=1\) case.

Fig. 2
figure 2

a Bifurcation diagram generated by map (13). \(\gamma =0\), \(P_1=0.4\). b Values of Lyapunov exponent L

Fig. 3
figure 3

a Chaotic attractor (blue graph) generated by map (13) when \((P_1, F)=(0.4,44)\) together with a magnification of the lower left branch (red graph). Initial values \((x_{1,0},x_{2,0})=(0.5,6.0)\). b Time series obtained from map (13), \(x_1\) blue and \(x_2\) red. Same parameters as in a

When \(P_1={1}/{2}\), the solution of the eigenvalue Eq. (10) at instability threshold becomes \(\lambda _1=\lambda _2=-1\), i.e. a codimension 2 bifurcation which is also referred to as a 1 : 2 resonance, cf [30] (p. 411). In this case, the procedure used in order to prove Theorem 2 does not apply anymore. Instead we have the following result:

Theorem 3

Assume \(P_1={1}/{2}\) and \(-{1}/{4}<\gamma <0\). Then map (13) undergoes a 1 : 2 resonance at threshold \(x^*=4/(1+4\gamma )\) and the map may be cast in 1 : 2 resonance form as

$$\begin{aligned} \begin{pmatrix} \xi _1 \\ \xi _2 \end{pmatrix}\mapsto & {} \begin{pmatrix} -1 &{} 1 \\ \beta _1 &{} -1+\beta _2 \end{pmatrix} \begin{pmatrix} \xi _1 \\ \xi _2 \end{pmatrix}\nonumber \\{} & {} + \begin{pmatrix} 0 \\ C\big ({\overline{\beta }}\big )\xi _1^3+D\big ({\overline{\xi }}\big )\xi _1^2\xi _2 \end{pmatrix} \end{aligned}$$
(15)

where

$$\begin{aligned} C(0)&=\frac{1}{18}(4\gamma +1)^2(-4\gamma ^2+3\gamma -2) \\ D(0)&=\frac{1}{9}(4\gamma +1)^2(8\gamma ^2-5\gamma +5) \end{aligned}$$

For a formal proof confer Appendix B.

Now, in order to analyse in somewhat more detail what happens at threshold, one possibility is to approximate (15) by a flow. However, since the eigenvalues of the matrix are negative when \({\overline{\beta }}=0\), this will not work. Therefore, we consider the second iterate of (15) which in difference equation form may be expressed as

$$\begin{aligned} \begin{pmatrix} \xi _1 \\ \xi _2 \end{pmatrix}_{t+2}= & {} \begin{pmatrix} 1+\beta _1 &{} -2+\beta _2 \\ -2\beta _1+\beta _1 \beta _2 &{} 1+\beta _1-2\beta _2+\beta _2^2 \end{pmatrix} \nonumber \\{} & {} \begin{pmatrix} \xi _1 \\ \xi _2 \end{pmatrix}_t+ \begin{pmatrix} E\big ({\overline{\xi }}_t,{\overline{\beta }}\big ) \\ F\big ({\overline{\xi }}_t,{\overline{\beta }}\big ) \end{pmatrix} \end{aligned}$$
(16)

where

$$\begin{aligned} E\big ({\overline{\xi }},{\overline{\beta }}\big ) = C\big ({\overline{\beta }}\big )\xi _1^3+D\big ({\overline{\beta }}\big )\xi _1^2\xi _2 \end{aligned}$$

and

$$\begin{aligned} \begin{aligned} F\big ({\overline{\xi }},{\overline{\beta }}\big )&=\Big (-2C\big ({\overline{\beta }}\big )+\beta _1D\big ({\overline{\beta }}\big )+\beta _2C\big ({\overline{\beta }}\big )\Big )\xi _1^3\\&\quad +\Big (3C\big ({\overline{\beta }}\big )-2D\big ({\overline{\beta }}\big ) -2\beta _1D\big ({\overline{\beta }}\big )\\&\quad +\beta _2D\big ({\overline{\beta }}\big )\Big )\xi _1^2\xi _2+\Big (-3C\big ({\overline{\beta }}\big )+2D\big ({\overline{\beta }}\big )\\&\quad +\beta _1D\big ({\overline{\beta }}\big )-2\beta _2D\big ({\overline{\beta }}\big )\Big )\xi _1\xi _2^2\\&\quad +\Big (C\big ({\overline{\beta }}\big )-D\big ({\overline{\beta }}\big ) +\beta _2D\big ({\overline{\beta }}\big )\Big )\xi _2^3+O\big (|\xi |^4\big ) \end{aligned} \end{aligned}$$

and any nontrivial fixed point of (16) corresponds to a single period to orbit of (15). Moreover, following the procedure outlined in [30] it is possible to approximate (16) by a flow which may be cast in the form

$$\begin{aligned} \begin{pmatrix} {\dot{\eta }}_1 \\ {\dot{\eta }}_2 \end{pmatrix}= & {} \begin{pmatrix} 0 &{} 1 \\ \epsilon _1 &{} \epsilon _2 \end{pmatrix} \begin{pmatrix} \eta _1 \\ \eta _2 \end{pmatrix}\nonumber \\{} & {} + \begin{pmatrix} 0 \\ C_1\eta _1^3+D_1\eta _1^2\eta _2 \end{pmatrix} +O\big (|\eta |^4\big ) \end{aligned}$$
(17)

where

$$\begin{aligned} \epsilon _1&=\epsilon _1\big ({\overline{\beta }}\big )=4\beta _1+O\big (|\beta |^2\big ) \\ \epsilon _2&=\epsilon _2\big ({\overline{\beta }}\big )=-2\beta _1-2\beta _2 \\ C_1&=C_1\big ({\overline{\beta }}\big ) \\ D_1&=D_1\big ({\overline{\beta }}\big ) \end{aligned}$$

such that

$$\begin{aligned} C_1(0)&= 4C(0)=\frac{2}{9}(4\gamma +1)^2\big (-4\gamma ^2+3\gamma -2\big )\\&<0 \\ D_1(0)&= -2D(0)-6C(0)\\&=-\frac{1}{9}(4\gamma +1)^2\big (4\gamma ^2-\gamma +4\big )<0 \end{aligned}$$

so the nondegeneracy conditions \(C_1(0)\ne 0\), \(D_1(0)\ne 0\) hold. Finally, by use of \(s=\text {sign}\ C_1(0)=-1\), \(D_1(0)<0\) and scaling we may rewrite (17) as

$$\begin{aligned} \begin{aligned} {\dot{\varOmega }}_1&=\varOmega _2 \\ {\dot{\varOmega }}_2&=\delta _1\varOmega _1+\delta _2\varOmega _2+s\varOmega _1^3-\varOmega _1^2\varOmega _2 \end{aligned} \end{aligned}$$
(18)

Clearly, (0, 0) is a trivial fixed point of (18) and since \(s=-1\) there are also two nontrivial fixed points of the form \((\pm \sqrt{\delta _1},0)\) provided \(\delta _1>0\). Moreover, (0, 0) bifurcates to \((\pm \sqrt{\delta _1},0)\) through a pitchfork bifurcation at \(\delta _1=0\). Now, if we relate our findings above to our original discrete system (16) the nontrivial fixed point corresponds to a period 2 orbit of (15). Consequently, when \(P_1={1}/{2}\) the fixed point will bifurcate to a stable period 2 orbit.

Next, focus on the \(P_1\) interval \({1}/{2}<P_1<1\).

Theorem 4

If \({1}/{2}<P_1<1\) and \(-P_1/(1+2P_1)<\gamma <0\) the fixed point \((x_1^*,x_2^*)\) of map (13) will undergo a supercritical NS bifurcation at threshold

$$\begin{aligned} x^*= & {} \frac{1+2P_1}{P_1+\gamma (1+2P_1)} \nonumber \\\Leftrightarrow & {} F=\frac{1}{1+P_1}\bigg (1+\gamma \frac{1+2P_1}{P_1}\bigg )^{{1}/{\gamma }} \end{aligned}$$
(19)

For a formal proof see Appendix C.

From Theorem 4, it follows that when \((x_1^*,x_2^*)\) fails to be stable, an attracting invariant curve is established and in Fig. 4 we show such a curve in the case \(\gamma \rightarrow 0\) (Ricker Case) and \((P_1,F)=(0.6,26)\). On such a curve map (13) is topologically equivalent to a circle map with associated irrational rotation number \(\sigma \). However, as a result of increasing the fecundity, \(\sigma \) approaches \({1}/{5}\) and through frequency locking there exists an F interval where the invariant curve turns to a 5-cyclic attractor. This scenario is displayed in the bifurcation diagram in Fig. 5a, as well as in the Lyapunov exponent diagram, Fig. 5b. For larger values of \(P_1\), the dynamics may change. Indeed, cf Fig. 6a, when \(P_1=0.8\) there exist parameter intervals \(F_3\le F\le F_B\) and \(F_B\le F\le F_C\) where the stable fixed point (first interval) and an invariant curve (second interval) coexist with a stable 3-cycle with large amplitude, respectively. The 3-cycle is created at \(F_3=11.851\) (through a saddle node bifurcation) and disappears when \(F=F_C=16.216\). \(F_B=14.328\) is the bifurcation value computed from (19). Regarding the trapping regions we have the following: When \(F>F_3\) but \(F-F_3\) is small the trapping region for the invariant curve consist of all initial points located on the inside of the curve as well as three regions outside the curve as displayed in Fig. 6c. Through an increase of F but \(F<F_C\) the regions of points outside the invariant curve become smaller and when F is located close to \(F_C\) the trapping region for the invariant curve consists mostly of points located on the inside of the curve, as illustrated in Fig. 6d. The rationale behind this may be understood along the following line. Through the saddle node bifurcation at \(F=F_3\), three branches of unstable (repelling) points are created too. When \(F>F_B\) but \(F-F_B\) is small the distance between these branches and the invariant curve is ’large’, hence the invariant curve is perfectly capable of attracting points located at some distance outside the curve. However, as F is approaching \(F_C\) the branches of unstable points are located very close to the invariant curve. Hence, a majority of points in the vicinity (outside) the invariant curve are pushed away from the region and towards the stable 3-cycle. Consequently, the trapping region for the invariant curve consists mainly of points located on the inside of the curve. Whenever \(F>F_C\) but \(F-F_C\) is small the 3-cycle is the only attractor and as F is further increased periodic orbits of period \(3\cdot 2^k\) are established and eventually the dynamics becomes chaotic. These findings are visualized in Fig. 6a and b. Thus an increase of \(P_1\) acts in a destabilizing fashion. When \(P_1\rightarrow 1\), the value of \(\lambda \) approaches third root of unity which implies that \(\sigma \rightarrow {1}/{3}\). Thus, in this part of parameter space the large 3-cycle coexists with an almost 3-periodic orbit restricted to an invariant curve as accounted for in Fig. 7. The ultimate fate on an orbit depends on the initial condition. The trapping region for the invariant curve consists almost exclusively of initial points located on the inside of the curve.

Fig. 4
figure 4

An invariant curve generated by map (13), \(\gamma \rightarrow 0\) and \((P_1,F)=(0.6,26)\)

Fig. 5
figure 5

a Bifurcation diagram generated by map (13) when \(\gamma \rightarrow 0\) and \(P_1=0.6\). b Values of Lyapunov exponent L when \(P_1=0.6\)

Fig. 6
figure 6

a Bifurcation diagram generated by map (13) when \(\gamma \rightarrow 0\) and \(P_1=0.8\). b Values of Lyapunov exponent L when \(P_1=0.8\). c Trapping region (red) for the invariant curve, \(F=14.5\). d Trapping region (red) for the invariant curve, \(F=16.215\)

Next, consider smaller values of \(\gamma \), and as proved, smaller values of \(\gamma \) imply better stability properties. For example, when \(P_1=0.8\) we find from Theorem 4 in the Ricker case (\(\gamma \rightarrow 0\)) that \((x_1^*,x_2^*)\) undergoes a supercritical NS bifurcation when \(F=14.33\) while the corresponding bifurcations when \(\gamma =-{1}/{8}\) and \(\gamma =-{1}/{6}\) occur at \(F=35.97\) and \(F=59.93\) respectively. Otherwise the qualitative picture is in many respects quite similar. However, since \((x_1^*,x_2^*)\) is stable in much larger F intervals we find that the fixed point when \(P_1=0.8\) may coexist with \(3\cdot 2^k\) cycles which we do not find when \(\gamma \rightarrow 0\). Actually, when \(P_1=0.6\) there exists an interval where \((x_1^*,x_2^*)\) coexists with a chaotic attractor.

Next, consider the remaining case \(P_1=1\). At instability threshold \(\lambda \) equals third root of unity (\(\lambda =-{1}/{2}\pm {1}/{2}\cdot \sqrt{3}i\)), and in accordance with [30], we refer to this case as the 1:3 resonance case. \(P_1=1\) implies that the normal form of map (13) (cf Eq. (C.8) in Appendix C) contains an additional resonant term of degree 2 and we have the following result:

Theorem 5

If \(P_1=1\) and \(-{1}/{3}<\gamma <0\) map (13) undergoes a 1 : 3 resonance and may be written in complex form as

$$\begin{aligned} w_{t+1}= & {} \lambda w_t+C(\gamma ){\overline{w}}_t^2+D(\gamma )w_t|w_t|^2\nonumber \\{} & {} +O\big (|w_t|^4\big ) \end{aligned}$$
(20)

where

$$\begin{aligned} C(\gamma )&= -\frac{1-9\gamma ^2}{16\sqrt{3}}\big (\sqrt{3}-i\big ) \\ D(\gamma )&= \frac{(1+3\gamma )^2}{192}\big (9\gamma ^2+6\gamma +5+\sqrt{3}\gamma (3\gamma -7)i\big ) \end{aligned}$$

For a formal proof, confer Appendix D.

Next, consider the dynamics. As accounted for there are F intervals both when \(P_1<{1}/{2}\) and \(P_1>{1}/{2}\) where a stable 3-cycle coexists with the stable fixed point \((x_1^*,x_2^*)\). Moreover, when \(P_1>{1}/{2}\), the 3-cycle may coexist with an invariant curve as well but the F intervals where this occurs shrink as \(P_1\) approaches unity. Now, considering the 3-cycle, we have verified numerically that it is established as the third iterate of map (13) undergoes a saddle node bifurcation. When \(P_1=1\), this occurs in the Ricker case when \(F=F_K=8.9438\). Hence, at \(F=F_K\) three branches of stable equilibria are born but also three branches of unstable equilibria. In Fig. 8, we see two stable branches (solid lines). (The reason that we see two and not three is that when \(P_1=1\) the sum \(x=x_1+x_2\) is the same for two of the points in the cycle. For example, when \(F=10.5\) the points in the cycle are (3.8300, 0.5680), (0.5680, 3.8300) and (0.5680, 0, 5680), but the sum \(x=x_1+x_2\) is the same for the first two points). The figure also displays the branches of unstable points (dashed lines). It is a tedious task to compute these points, but we have managed to do so by backward iterations

$$\begin{aligned} \begin{pmatrix} x_{1,t} \\ x_{2,t} \end{pmatrix}= & {} \begin{pmatrix} 0 &{} 1 \\ \big (Fe^{-x_t}\big )^{-1} &{} -1 \end{pmatrix} \begin{pmatrix} 0 &{} 1 \\ \big (Fe^{-x_{t+1}}\big )^{-1} &{} -1 \end{pmatrix}\nonumber \\{} & {} \begin{pmatrix} 0 &{} 1 \\ \big (Fe^{-x_{t+2}}\big )^{-1} &{} -1 \end{pmatrix} \begin{pmatrix} x_{1,t+3} \\ x_{2,t+3} \end{pmatrix} \end{aligned}$$
(21)

where \(x_{t+2}\), \(x_{t+1}\) and \(x_t\) satisfy

$$\begin{aligned} x_{t+2}&= W_0\bigg (\frac{x_{1,t+3}}{F}\bigg ) \\ x_{t+1}&= W_0\bigg (\frac{x_{2,t+2}}{F}\bigg ) \\ x_t&= W_0\bigg (\frac{x_{t+2}-x_{2,t+3}}{F}\bigg ) \end{aligned}$$

and \(W_0\) is the Lambert function. Therefore, from our calculations and Fig. 8, we conclude that \((x_1^*,x_2^*)\) undergoes a subcritical bifurcation at \((P_1,F)=(1,({1}/{2})e^3)\) where it collides with the three branches of unstable periodic points generated by the third iterate of (13). Consequently, when F exceeds threshold \(({1}/{2})e^3\) and \(|F-({1}/{2})e^3|\) is small the only attractor is the 3-cycle which in turn bifurcates to orbits of period \(3\cdot 2^k\) and chaotic dynamics through further enlargement of F. Finally, our conjecture is that a similar phenomenon occurs for smaller values of \(P_1\) as well. Referring to Fig. 6a, the invariant curve disappears when \(F=16.125\). Numerical experiments clearly suggest that this happens as the curve is hit by branches of unstable periodic points generated by the third iterate of (13) at \(F=11.851\).

Fig. 7
figure 7

Coexisting attractors. \((P_1,F)=(0.95,10.945\)), with initial conditions \((x_{1,0},x_{2,0})=(0.7,3.3)\) and \((x_{1,0},x_{2,0})=(1.6,1.4)\) for the 3-cycle and almost 3 periodic orbit, respectively

5 3-Age classes

Next, let us focus on three age classes, i.e. the map

$$\begin{aligned} \begin{aligned} (x_1,x_2,x_3)&\mapsto \big (F_1(1-\gamma \alpha x)^{{1}/{\gamma }} x_1+F_2(1-\gamma \alpha x)^{{1}/{\gamma }}x_2\\&\quad +F_3(1-\gamma \alpha x)^{{1}/{\gamma }}x_3,P_1x_1,P_2x_2 \big ) \end{aligned} \end{aligned}$$
(22)

By use of results from Sect. 3 we find the nontrivial fixed point as

$$\begin{aligned} (x_1^*,x_2^*,x_3^*)= & {} \bigg (\frac{1}{1+P_1+P_2}x^*,\frac{P_1}{1+P_1+P_2}x^*,\nonumber \\{} & {} \frac{P_1P_2}{1+P_1+P_2}x^* \bigg ) \end{aligned}$$
(23)

where

$$\begin{aligned} x^*&=\frac{1}{\gamma \alpha }\big (1-R_0^{-\gamma }\big ) \\ R_0&=\sum _{i=1}^3L_iF_i \end{aligned}$$

Moreover, assuming \(\alpha =1\) and equal fecundities (\(F_1=F_2=F_3=F\)) the eigenvalue equation may be cast in the form

$$\begin{aligned} \lambda ^3+a_1\lambda ^2+a_2\lambda +a_3=0 \end{aligned}$$
(24)

where

$$\begin{aligned} a_1&=-\frac{1}{1+P_1+P_1P_2}\bigg (\frac{1-(\gamma +1)x^*}{1-\gamma x^*}\bigg ) \\ a_2&=P_1a_1 \\ a_3&=P_1P_2a_1 \end{aligned}$$

In order for the fixed point to be stable, the eigenvalues \(\lambda \) must satisfy \(|\lambda |<1\) which is ensured whenever the Jury criteria

$$\begin{aligned}&1+a_1+a_2+a_3 >0 \end{aligned}$$
(25a)
$$\begin{aligned}&1-a_1+a_2-a_3 >0 \end{aligned}$$
(25b)
$$\begin{aligned}&1-|a_3| >0 \end{aligned}$$
(25c)
$$\begin{aligned}&|1-a_3^2|-|a_2-a_3a_1| >0 \end{aligned}$$
(25d)

are satisfied. Now, in case of \(x^*\approx (\gamma +1)^{-1}\) all coefficients \(a_i\) are close to zero and subsequently all four criteria clearly hold. Hence, fixed point (23) (equal fecundities) is locally asymptotic stable in case of \(x^*\) small. Criteria (25a) hold for any \(x^*>0\). Denoting the values of \(x^*\) where (25b)–(25d) fail for \(x_F^*\), \(x_{NS1}^*\) and \(x_{NS2}^*\), respectively, we find after some algebra

$$\begin{aligned}{} & {} x_F^*-x_{NS1}^*\\{} & {} \quad =\frac{P_1^2-1-P_1P_2(1-P_1)}{\big (1-P_1+P_1P_2 +2\gamma (1+P_1P_2)\big )\big ((1+P_1+2P_1P_2)\gamma +P_1P_2\big )}<0 \end{aligned}$$

Moreover, in order for \(x_{NS2}^*-x_F^*\) to be negative, the inequality

$$\begin{aligned} (1-P_1)(1-2P_1+3P_1P_2)<0 \end{aligned}$$
(26)

must be satisfied. Therefore, whenever (26) is valid, a NS bifurcation will take place prior to a flip bifurcation and this is only possible in parameter regions where \(P_1>{1}/{2}\) and \(P_2\ll P_1\). Thus, we conclude that in case of \(x^*\) small the fixed point \((x_1^*,x_2^*,x_3^*)\) is stable and when \(x^*\) is increased (as a result of increasing F) a NS bifurcation will occur at threshold \(x^*=x_{NS2}^*\) if \(1-2P_1+3P_1P_2<0\) or alternatively a flip bifurcation at threshold \(x^*=x_F^*\) if \(1-2P_1+3P_1P_2>0\).

In Fig. 9a where \(\gamma \rightarrow 0\) we have drawn the graphs of \(x_F^*\) and \(x_{NS2}^*\) in the cases \(P_1=0.8\) (blue graph), \(P_1=0.5\) (red graph) and \(P_1=0.2\) (green graph). The stable parameter region is located below the graphs. When \(P_1=0.2\) or 0.5 the transfer from stability to instability will always go through a flip bifurcation, but when \(P_1=0.8\) and \(P_2<0.25\), the fixed point will experience a NS bifurcation at threshold. Figure 9b, where \(\gamma =-{1}/{10}\), displays qualitatively the same situation. The difference is that the size of \(x^*\) at threshold is larger which in many respects is nothing but a consequence of Theorem 1.

Fig. 8
figure 8

Branches of stable points (solid lines) and unstable points (dashed lines) generated by the third iterate of map (13) together with \((x_1^*,x_2^*)\) generated by map (13), \(P_1=1\) (Ricker case)

Fig. 9
figure 9

Values of \(x_F^*\) and \(x_{NS2}^*\) in the cases \(P_1=0.8\) (blue graph), \(P_1=0.5\) (red graph) and \(P_1=0.2\) (green graph). a \(\gamma =0\). b \(\gamma =-{1}/{10}\)

Next, assuming \(x_F^*<x_{NS2}^*\), let us study the flip bifurcation in somewhat more detail. At threshold \(x^*=x_F^*\), the value of F becomes

$$\begin{aligned} F=\frac{1}{1+P_1+P_1P_2}\bigg (1+\gamma \frac{2(1+P_1P_2)}{1-P_1+P_1P_2}\bigg )^{{1}/{\gamma }} \end{aligned}$$
(27)

and from (24) we obtain the solutions

$$\begin{aligned} \begin{aligned} \lambda _1&=-1 \\ \lambda _{2,3}&=-\frac{P_1(1-P_2)}{2(1-P_1+P_1P_2)}\\&\quad \pm \frac{\sqrt{4(1-P_1+P_1P_2)P_1P_2-P_1^2(1-P_2)^2}}{2(1-P_1+P_1P_2)}\, i \end{aligned} \end{aligned}$$
(28)

with property

$$\begin{aligned} |\lambda _{2,3}|=\sqrt{\frac{P_1P_2}{1-P_1+P_1P_2}}<1 \end{aligned}$$

Regarding the nature of the flip bifurcation we have the following result:

Theorem 6

Assume \(0<P_1<1\), \(0<P_2<1\) and \(x_F^*<x_{NS2}^*\) (i.e. \(1-2P_1+3P_1P_2>0\)). Then, the fixed point (23) of map (22) where \(F_1=F_2=F_3=F\) will undergo a supercritical flip bifurcation at threshold \(x^*=x_F^*\).

For a formal proof, confer Appendix E.

Let us now turn to the dynamics. Assuming \(x_F^*<x_{NS2}^*\), (which is the case in most of the parameter space), \(\gamma =0\), and \(x^*>x_F^*\) Theorem 6 implies that as long as \(|x^*-x_F^*|\) is small the dynamics is stable period 2 orbits. As we continue to increase \(x^*\) (as a result of increasing F), stable orbits of period 4 are detected but through further enlargement of F a NS bifurcation occurs so the dynamics now turns quasiperiodic and is restricted to four disjoint invariant curves which are visited once every fourth iteration. This is exemplified in Fig. 10a. In case of larger values of F, the dynamics turns chaotic, confer the Lyapunov exponent calculations presented in Fig. 10b. For small negative values of \(\gamma \), we find much of the same dynamics. The main difference is that the value of F and \(x^*\) at bifurcation threshold \(x_F^*\) is much larger which clearly suggests that a decrease of \(\gamma \) acts stabilizing. Otherwise, no other qualitative changes have been found.

Fig. 10
figure 10

a Four disjoint invariant curves generated by map (22). Parameter values \(P_1=P_2=0.8\), \(\gamma =0\), \(F=26\). Each curve is visited once every fourth iteration. b Values of Lyapunov exponent. \(P_1=P_2=0.8\), \(\gamma =0\), \(10\le F\le 30\)

Next, assuming \(\gamma =0\), consider \(x_{NS2}^*<x_F^*\) and \(x^*<x_{NS2}^*\) which occurs in regions where \(P_1\) is ’large’ and \(P_2\) ’small’. Here, through an increase of F, Jury criterion (25d) fails before criterion (25b) and subsequently the eigenvalues at bifurcation threshold are complex. Thus, at threshold \(x^*=x_{NS2}^*\), the fixed point \((x_1^*,x_2^*,x_3^*)\) undergoes a (supercritical) NS bifurcation. Hence, beyond threshold the dynamics is quasiperiodic. Through further enlargement of F the dynamics alternates between quasiperiodic orbits and periodic orbits of long period before it turns chaotic. Moreover, no qualitative changes have been observed for small negative values of \(\gamma \).

Finally, the case \(P_1=P_2=1\) is special. Then at bifurcation threshold

$$\begin{aligned} x^*=x_F^*=x_{NS1}^*=\frac{4}{1+4\gamma } \end{aligned}$$
(29)

(see (25b) and (25c)) and the solutions of the eigenvalue Eq. (24) become \(\lambda _1=-1\), \(\lambda _{2,3}=\pm i\), i.e. all eigenvalues are located on the boundary of the unit circle. What we observe here is that when \((x_1^*,x_2^*,x_3^*)\) fails to be stable, the dynamics immediately turns chaotic. Such a sudden appearance of a chaotic attractor is called a crisis. There are several different mechanisms that may lead to crises, see [31,32,33] and references therein. The attractor we observe, and display in Fig. 11, is a result of a boundary crisis which acts as a root to chaos, cf [33].

Fig. 11
figure 11

A chaotic attractor (blue graph) generated by (22). \(P_1=P_2=1\), \(\gamma =0\) and \(F=19\). An enlarged version of the subset to the right is shown in red. Each of the (blue) subsets are visited every fourth iteration

6 Discussion

First, let us comment on survival probabilities. As shown earlier, when \(n=3\) and \(1-2P_1+3P_1P_2<0\) (which implies \(P_1\gg P_2\)), the transfer from stability to instability does not go through a flip bifurcation but through a NS bifurcation. If the inequality is reversed the flip is the only possibility. The biological rationale behind this is as follows. When \(P_2\) becomes small, age class 3 does not contribute in any essential way to the size of \(x^*\). Consequently, if \(P_2\) is small the dynamics in the 3-age class model should be retained already when \(n=2\). Therefore large values of \(P_1\) combined with \(P_2\) small should result in quasiperiodic behaviour beyond instability threshold while \(P_1\) and \(P_2\) both small should lead to periodic dynamics of period \(2^k\). Moreover, assuming n arbitrary and \(P_1,P_2,\ldots ,P_{n-1}\) small one may in fact argue that the general model (3) degenerates to the one-population model (\(x_1\approx x\))

$$\begin{aligned} x_{t+1}=f(1-\gamma x_t)^{{1}/{\gamma }}x_t \end{aligned}$$
(30)

An easy calculation shows that the equilibrium \(x^*\) of model (30) is stable as long as \(x^*<2(2\gamma +1)^{-1}\) which is the same stability criteria as we found in Theorem 1. Thus we may interpret the content of Theorem 1 as to say that \(x^*<2(2\gamma +1)^{-1}\) guarantees that \((x_1^*,\ldots ,x_n^*)\) is stable in case of small survival probabilities. Since \(\lambda =-1\) at threshold \(x^*=2(2\gamma +1)^{-1}\), the dynamics beyond threshold will be periodic of period \(2^k\). When F becomes large the dynamics turns chaotic as a result of successive flip bifurcations.

Let us now turn to the general n-age class model. As already proved (see Theorem 1) there exists a parameter region \(x^*<2/(\gamma +1)\) where the fixed point \((x_1^*,\ldots ,x_n^*)\) is guaranteed to be stable. Outside this region, we have shown in our 2- and 3-age class analysis that the transfer from stability to instability may occur in different ways. If \(n=2\), the fixed point will undergo a supercritical flip bifurcation in the interval \(0<P_1<{1}/{2}\) and a supercritical NS bifurcation whenever \({1}/{2}<P_1<1\). When \(n=3\), the region where \((x_1^*,x_2^*,x_3^*)\) may undergo a NS bifurcation is small. In case of equal survival probabilities \(P_1=P_2=P\), the transfer from stability to instability will always go through a flip. Now, assuming \(\lambda =-1\) at threshold, the value of \(x^*\) becomes

figure a

and we observe that when the survival probabilities \(P_i\), \(i=1,\ldots ,n-1\) approach unity, \(x^*\) (depending on \(\gamma \)) tends to infinity in the even number of age classes. Consequently, we may rule out the possibility of a flip bifurcation for large survival probabilities if n is even. In Fig. 12 where \(n=4\) and \(P_1=P_2=P_3=P\) we show the values of \(x^*\) at bifurcation threshold. \(x^*\) is computed from

$$\begin{aligned} x^*=\frac{1+Ka_1}{1+(1+Ka_1)\gamma } \end{aligned}$$
(32)

where \(K=\sum _{i=0}^3P^i\) and \(a_1\) is defined through

$$\begin{aligned} \lambda ^4+a_1\lambda ^3+Pa_1\lambda ^2+P^2a_1\lambda +P^3a_1=0 \end{aligned}$$
(33)

and is determined by use of the Jury criteria \(J_i\). (A general formulation of the Jury criteria may be obtained in [34]).

Fig. 12
figure 12

Jury criteria when \(n=4\). The stable parameter region is located below the graphs

In the flip case \(J_2\) (blue graph in Fig. 12)

$$\begin{aligned} a_1=\frac{1}{\sum _{i=0}^3(-1)^iP^i} \end{aligned}$$

In the NS cases \(J_3\) (red graph), \(J_4\) (green graph)

$$\begin{aligned} a_1&=\frac{1}{P^3} \\ a_1&=\frac{P^2-\sqrt{P^4-P^3(1-P^3)}}{2P^3(1-P^3)} \end{aligned}$$

respectively, while \(a_1\) in the NS case \(J_5\) (orange graph) must be found by means of numerical methods from

$$\begin{aligned}{} & {} -P^6\big (1+P^4\big )\big (1-P^2\big )a_1^4-P^3\big (1-2P^2\big )a_1^3\\{} & {} \quad +P^2\big (1-2P^4\big )a_1^2-Pa_1+1=0 \end{aligned}$$

The stable parameter region is located below all graphs. In other words, if \(x^*\) is small, the fixed point \((x_1^*,x_2^*,x_3^*,x_4^*)\) will always be stable, if \(P<0.6061\) an increase of \(x^*\) (i.e. an increase of F) eventually leads to a flip bifurcation, while the fixed point will undergo a NS bifurcation if P exceeds 0.6061. Hence, we conclude that there is a great resemblance between the \(n=2\) and \(n=4\) cases. The main difference is that the P interval where a flip bifurcation may occur has been extended when \(n=4\). Moreover, when \(P\rightarrow 1\) we find that \(a_1\) in the flip case \(J_2\) tends to infinity. In the remaining cases \(J_3\), \(J_4\) and \(J_5\), \(a_1\rightarrow 1\) which proves that

$$\begin{aligned} x^*=\frac{5}{1+5\gamma } \end{aligned}$$
(34)

at bifurcation threshold. Now, from formulas (29), (32) and (34), we find it natural to conjecture that if all survival probabilities equal unity in a general n-age class model the value of the total equilibrium population \(x^*\) at bifurcation threshold should be

$$\begin{aligned} x^*=\frac{n+1}{1+(n+1)\gamma } \end{aligned}$$
(35)

We shall now explore this further. When \(P_i=1\), \(i=1,\ldots ,n-1\) then \(K=n\) and the eigenvalue equation may be cast in the form

$$\begin{aligned} P(\lambda )= & {} \lambda ^n+\frac{(\gamma +1)x^*-1}{n(1-\gamma x^*)}\nonumber \\{} & {} \big (\lambda ^{n-1}+\lambda ^{n-2}+\cdots +\lambda +1\big )=0 \end{aligned}$$
(36)

Further, define

$$\begin{aligned} P_0(\lambda )&=\sum _{i=1}^n\lambda ^i \\ P_1(\lambda )&=\sum _{i=1}^{n-1}\lambda ^i \end{aligned}$$

and

$$\begin{aligned} \epsilon =\frac{(n+1)-\big (1+(n+1)\gamma \big )x^*}{n(1-\gamma x^*)} \end{aligned}$$

Then, we may rewrite (36) as

$$\begin{aligned} P(\lambda )=P_0(\lambda )-\epsilon P_1(\lambda )=0 \end{aligned}$$
(37)

and if

$$\begin{aligned} \frac{n+1}{1+(n+1)\gamma }-x^* \end{aligned}$$

is small, \(\epsilon \) is small too.

Our next goal is to show that whenever \(x^*<(n+1)/(1+[n+1]\gamma )\), i.e. \(\epsilon >0\), all eigenvalues of (37) are located on the inside of the unit circle. To this end, following the procedure outlined in [21], assume that \(\lambda _0\) is a root of \(P_0(\lambda )=0\). Clearly, \(\lambda _0\ne 0\) may equal \(-1\) if n is even, otherwise complex. Next, suppose that \(\lambda =\lambda _0+\epsilon \lambda _1+\cdots \) is a solution of (37) when \(\epsilon >0\) and \(\epsilon \) small. Then

$$\begin{aligned} \sum _{i=1}^n\lambda _0^i+\epsilon \lambda _1 \sum _{i=0}^{n-1}(i+1)\lambda ^i-\epsilon \sum _{i=1}^{n-1}\lambda _0^{n-1}=0 \end{aligned}$$

from which we obtain

$$\begin{aligned} \begin{aligned} \lambda _1&= -\frac{\lambda _0^n}{\sum _{i=0}^{n-1}(i+1)\lambda ^i} =-\left( \frac{1}{n}\lambda _0-\frac{1}{n}\,\frac{\sum _{i=1}^{n-1}i\lambda _0^i}{\sum _{i=0}^{n-1}(i+1)\lambda _0^i} \right) \\&= -\bigg (\frac{1}{n}\lambda _0-\frac{1}{n}(1-\lambda _1)\bigg ) \end{aligned} \end{aligned}$$

which in turn implies that \(\lambda _1=(n+1)^{-1}(1-\lambda _0)\) and

$$\begin{aligned} \lambda =\bigg (1-\frac{\epsilon }{n+1}\bigg )\lambda _0+\frac{\epsilon }{n+1}+O\big (\epsilon ^2\big ) \end{aligned}$$
(38)

Finally, let \(\lambda _0=e^{i\theta }\) and consider \(\lambda _0\) and \(\lambda _1\) as vectors. Then

$$\begin{aligned} {\overline{\lambda }}_0\cdot \epsilon {\overline{\lambda }}_1{} & {} =\frac{1}{2}\epsilon (\lambda _0^*\lambda _1+\lambda _0\lambda _1^*)\\{} & {} =\frac{\epsilon }{n+1}(\cos \theta -1)<0 \end{aligned}$$

and we conclude that all eigenvalues are located on the inside of the unit circle so our conjecture is supported. \(x^*\) as defined in (35) is the bifurcation threshold when all survival probabilities equal unity. From a dynamical point of view the result above signals that in case of large survival probabilities, the region where the fixed point retains its stability will increase as n becomes larger. Hence, an increase of the number of age classes acts in a stabilizing fashion.

Next, consider an even number of age classes and equal survival probabilities. When \(n=2\) and \(n=4\) we have proved the existence of an interval \(P_k<P<1\) where the fixed point will undergo a NS bifurcation at threshold (\(n=2\ \Rightarrow \ P_k=0.5\), \(n=4\ \Rightarrow \ P_k=0.6061\)). In Fig. 13 we show the value of \(P_k\) as function of n, and clearly, the larger the n, the smaller becomes the interval. However, there are limits as to how small such intervals may be. This is due to our previous finding that an increase of n (especially when P is large) acts in a stabilizing way. If \(P_k\) shall approach unity, this will only be possible in case of extreme (unrealistic) F values. Therefore, we conclude that there will always be an interval \(P_k<P<1\) where the dynamics beyond threshold consists of quasiperiodic orbits and possible chaotic dynamics.

Fig. 13
figure 13

Values of \(P_k\) (dots) when n is even

Regarding an odd number of age classes it follows from Theorem 6 that whenever \(P_1=P_2=P\) the flip is the only possibility when \(n=3\). Now, assume equal survival probabilities, n odd and \(n\ge 3\). If the fixed point shall undergo a flip at threshold, \(x^*\) must equal (31a) from which we obtain the associated eigenvalue equation

$$\begin{aligned}{} & {} \lambda ^n+\frac{1}{\sum _{i=0}^{n-1}(-1)^iP^i}\nonumber \\{} & {} \quad \big (\lambda ^{n-1}+P\lambda ^{n-1}+\cdots +P^{n-2}\lambda +P^{n-1}\big )=0 \end{aligned}$$
(39)

\(\lambda =-1\) is necessarily a solution of (39). The remaining solutions must be obtained from

$$\begin{aligned} \begin{aligned}&\lambda ^{n-1}+\frac{1}{\sum _{i=0}^{n-1}(-1)^iP^i}\Bigg (\bigg (\sum _{i=1}^{n-1}(-1)^{i+1}P^i\bigg )\lambda ^{n-2}\\&\quad +\bigg (\sum _{i=2}^{n-1}(-1)^{i}P^i\bigg )\lambda ^{n-3}\\&\quad +\bigg (\sum _{i=3}^{n-1}(-1)^{i+1}P^i\bigg ) \lambda ^{n-4}+\cdots \\&\quad +\big (P^{n-2}-P^{n-1}\big )\lambda +P^{n-1}\Bigg )=0 \end{aligned} \end{aligned}$$
(40)

Applying Rouche’s theorem on (40) in the same way as in the proof of Theorem 1, we find that all roots \(\lambda \) of (40) will satisfy \(|\lambda |<1\) if

$$\begin{aligned} \frac{P+P^3+\cdots +P^{n-2}}{1-P+P^2-\cdots +P^{n-1}}<1 \end{aligned}$$
(41)

When \(n=3\), (41) is satisfied for any \(0<P\le 1\), but when n becomes large, (41) is satisfied only if \(0<P\le {1}/{2}\). Thus \(0<P\le {1}/{2}\) is sufficient to guarantee that there will be a flip bifurcation at threshold. However, our conjecture is that in case of any \(n\ge 3\) the transfer from stability to instability will go through a flip bifurcation also when \({1}/{2}<P<1\). In order to support this, we have rewritten the general eigenvalue Eq. (7) under the assumption \(F_1=\cdots =F_n=F\), \(P_1=\cdots =P_{n-1}=P\) and \(\alpha =1\) as

$$\begin{aligned} \lambda ^{n+1}+R\lambda ^n=S \end{aligned}$$
(42)

where

$$\begin{aligned} R&=-\frac{P\big (1-P^n\big )+(1-P)(1-x^*)-\big (1-P^{n+1}\big )\gamma x^*}{\big (1-P^n\big )(1-\gamma x^*)} \\ S&=-\frac{(1-P)P^n\big (1-(\gamma +1)x^*\big )}{\big (1-P^n\big )(1-\gamma x^*)} \end{aligned}$$

\(\lambda =P\) is one solution of (42). The others are the same as the solutions of (7). Moreover, any solution \(\lambda =e^{i\theta }\) located on the boundary of the unit circle satisfies

$$\begin{aligned}&\cos (n+1)\theta +R\cos n\theta -S =0 \end{aligned}$$
(43a)
$$\begin{aligned}&\sin (n+1)\theta +R\sin n\theta =0 \end{aligned}$$
(43b)

Lots of numerical experiments show that when n is odd both equations are satisfied for the first time when \(\theta =\pi \) which implies \(\lambda =\cos \pi +i\sin \pi =-1\) and thus a flip bifurcation. This is exemplified in Fig. 14a where \(n=7\), \(P=0.8\) and the curves equal zero simultaneously for the first time when \(x^*=6.8795\). For comparison reasons, we have also performed similar experiments when n is even. In Fig. 14b, we show how the curves develop when \(n=8\) and \(P=0.8\). Here both curves become zero simultaneously when \(x^*\) is increased to the value \(x^*=7.8612\). Moreover, \(\theta _{1,2}=\pi \pm 0.2522\) which leads to \(\lambda =-0.9684\pm 0.2495i\) with property \(|\lambda |=1\), i.e. a NS bifurcation.

Fig. 14
figure 14

Solution of Eqs. (43a) and (43b). a \(n=7\), \(P=0.8\). b \(n=8\), \(P=0.8\)

7 Summary

In this paper, we have focused on nonlinear iteroparous Leslie matrix models. Nonlinearities are incorporated in fecundity terms by use of the general Deriso–Schnute recruitment function. Survival probabilities \(P_i\) are regarded as constants. Under the assumption of equal fecundities \(F_1=\cdots =F_n=F\), it is proved (Theorem 1), independent of degree of compensatory/overcompensatory recruitment (measured by parameter \(\gamma \), \(-1\le \gamma <0\)), that there always exists a region where the model possesses a nontrivial stable equilibrium \((x_1^*,\ldots , x_n^*)\) and that the region becomes smaller as \(\gamma \rightarrow 0\). This is in contrast to what one obtains from semelparous models where the equilibrium is unstable also at low population densities. Considering \(n=2\) age classes, it is shown that the bifurcations that occur at instability threshold (flip when \(P_1<{1}/{2}\), NS when \({1}/{2}<P_1<1\)) are of supercritical nature (Theorem 2 and 4) and we also provide normal form expressions of 1 : 2 and 1 : 3 resonance cases (Theorem 3 and 5). Still assuming \(n=2\), we also elaborate findings about coexisting attractors. It is shown, depending on \(P_1\), that fixed points, 2 period orbits and invariant curves may coexist with a 3-cyclic attractor with large amplitude. (In some cases the 3-cycle turns chaotic through a series of flip bifurcations which gives births to other coexistences as well). In this part of the parameter space, the ultimate fate of an orbit depends on the initial condition. A general finding is that for a fixed value of \(P_1\) (in particular when \(P_1>{1}/{2}\)) an increase of F (\(F_1=F_2=F\)) makes the trapping region for the fixed point or the invariant curve smaller and for \(P_1\) values close to unity the trapping region for the invariant curve consists almost exclusively of points located inside the curve.

When \(n=3\), the transfer from stability to instability goes through a supercritical flip bifurcation (Theorem 6) in most of parameter space. Hence, close to but above threshold the dynamics is 2-periodic, but in contrast to the \(n=2\) case when F is further increased there are regions where the dynamics occurs on 4 disjoint invariant curves. Moreover, in the special case \(P_1=P_2=1\) all eigenvalues are located on the boundary of the unit circle at instability threshold. Through further increase of F a crisis occurs and the dynamics turns instantly chaotic.

Next let us summarize our results about the dynamics when n is arbitrary. It is necessary to distinguish between even and odd number of age classes. In the former, there exists a P (\(P_1=\cdots =P_{n-1}=P\)) interval \(P_k<P<1\), \(P_k>{1}/{2}\), where the fixed point will undergo a NS bifurcation at instability threshold and as shown the interval becomes smaller as n becomes larger. Consequently, when F is sufficiently large and \(P_k<P<1\) the nonstationary dynamics just beyond instability threshold is restricted to invariant curves. On the other hand, if n is odd or \(0<P<P_k\) when n is even, periodic dynamics of period \(2^k\), \(k\ge 1\), is the most likely outcome, but confer Fig. 10a for a counter example.

Finally, let us comment on number of age classes. Whenever \(P_i\), \(i=2,\ldots , n-1\), are small our findings clearly suggest that the dynamics found in a general n-age class model to a large extent will be retained already in a 2-age class model. When all survival probabilities approach unity, \(x^*=x^*(n)\) at instability threshold (see (35)) is found to be an increasing function. The impact of this is that the stable parameter region expands as n is increased from which we conclude that an increase of number of age classes acts in a stabilizing fashion.

Finally, we want to stress that we have not considered any concrete species in our analysis, but what we have done, besides proving some general theorems of nature of bifurcations involved, is to show and unify results about possible dynamical outcomes in a more general setting than in previous quoted papers. Therefore, results obtained should be valuable and may contribute to a better understanding of mechanisms behind observed dynamical behaviour in nature.