sim_df_pos <- run_exponential_model(time = 50, params = c(r = 0.1), init = c(N1 = 100))
plot_continuous_population_growth(sim_df_pos) +
scale_x_continuous(expand = c(0,0)) +
labs(title = "r = 0.1")
Principles of Ecology Week 2
Calendar available on Moodle
Also on Moodle: Please complete “Who’s in class” survey and fill out coworking hours poll (these will start next week, I will announce time on Friday).
Individuals of the same species living together
Individuals interact with one-another
e.g. mating, facilitating, competing
Photo by Jeffrey Hamilton on Unsplash
Photo by National Cancer Institute on Unsplash
For now, we will consider a ‘closed’ population
In a closed population, population size (\(N\)) only changes due to births and deaths
\[N_{t+1} = N_{t} + B - D\]
\[N_{t+1} - N_{t} = B-D\]
\[\Delta N = B-D\]
\[\frac{dN}{dt} = B-D\]
\[\frac{dN}{dt} = B-D\]
We need to know: What determines \(B\) and \(D\)?
Depends on the birth rate and mortality (death) rate:
\[B = bN\]
\[D = dN\]
\[\frac{dN}{dt} = B-D\]
\[B = bN \text{ and } D = dN\]
\[\frac{dN}{dt} = bN - dN\]
\[\frac{dN}{dt} = (b- d) N\]
\[\boxed{\frac{dN}{dt} = rN}\]
Populations grow when there are more births than deaths (\((b-d) > 0\); aka \(r > 0\))
Populations shrink when there are more deaths than births (\((b-d) < 0\); aka \(r < 0\))
The magnitude of \(r\) determines the rate of growth
Source: Wikimedia
Recall that the magnitude of \(r\) determines the rate of growth
What happens when \(r = 0\)?
\(r = 0\), when the rates of birth and death are equal to one another (\(b-d = 0\))
When this is true, the total number of births cancels out the total number of deaths, meaning the population size does not change.
\[\frac{dN}{dt} = rN = 0\]
This is the equilibrium state of the system.
Note that “equilibrium” doesn’t mean “nothing is changing”: there might be new births, and new deaths.
But they cancel each other, and the population size remains constant.
\[\frac{dN}{dt} = rN = 0\]
This is the equilibrium state of the system.
The exponential growth model has two equilibrium conditions. One is that \(r = 0\). What is the other?
We will be exploring the equilibrium conditions for many of the models we introduce through the semester, because it has been a central concept in ecology.
\[\frac{dN}{dt} = rN\]
\[N_t = N_0*e^{rt}\]
\[t_{\text{doubling}} = \frac{ln(2)}{r}\]
\[\frac{dN}{dt} = rN\]
Key assumptions of the exponential growth model
No immigration or emigration (Closed population)
Constant birth and death rate (\(b\) and \(d\) don’t vary with \(N\))
No variation within population (all individuals have similar \(b\) and \(d\))
Continuous population growth without time lags
(e.g. no seasonality)
Key assumptions of the exponential growth model
No immigration or emigration (Closed population)
Constant birth and death rate (\(b\) and \(d\) don’t vary with \(N\))
No variation within population (all individuals have similar \(b\) and \(d\))
Continuous population growth without time lags
(e.g. no seasonality)
Photo by Mike Erskine on Unsplash
Consider a bird species where each (female) adult lays \(10\text{ eggs}\). Only \(10\%\) of eggs sucessfully hatch into juveniles, and \(50\%\) of juveniles survive and mature into adults. Adults die after reproduction.
$arr
row col Angle Value rad ArrowX ArrowY TextX TextY
1 2 1 0 0.1 0.1666667 0.3325479 0.2333352 0.3333333 0.2133333
2 3 2 0 0.5 0.1666667 0.6658813 0.2333352 0.6666667 0.2133333
3 1 3 0 10 0.3333333 0.5005236 0.7333329 0.5000000 0.7533333
$comp
x y
[1,] 0.1666667 0.4
[2,] 0.5000000 0.4
[3,] 0.8333333 0.4
$radii
x y
[1,] 0.1 0.1189873
[2,] 0.1 0.1189873
[3,] 0.1 0.1189873
$rect
xleft ybot xright ytop
[1,] 0.06666667 0.2810127 0.2666667 0.5189873
[2,] 0.40000000 0.2810127 0.6000000 0.5189873
[3,] 0.73333333 0.2810127 0.9333333 0.5189873
Photo by Mike Erskine on Unsplash
Consider a short-lived plant that lives for 6 years. Each year, only \(1\%\) of seeds survive and germinate into seedlings. (The other seeds are eaten by squirrels and jays). \(50\%\) of seedlings survive to a juvenile stage, and \(95\%\) of juvenlies transition into reproductive sub-adults. Each sub-adult makes \(10\text{ seeds}\) per year, and \(95\%\) of sub-adults transition into fully-mature adults. Each mature adult makes \(450\text{ seeds}\) per year, and \(10\%\) of adults survive to a post-reproductive adult stage, which are incapable of making new seeds.
These transition diagrams can be represented mathematically as transition matrices.
For a population with \(n\) stages, we can capture the demographic transitions in an \(n\mathrm{-by-}n\) matrix.
Consider a bird species where each (female) adult lays \(10\text{ eggs}\). Only \(10\%\) of eggs successfully hatch into juveniles, and \(50\%\) of juveniles survive and mature into adults. Adults die after reproduction.
\[ \begin{bmatrix} ~ & ~ & ~ & ~ & ~& ~ & ~ \\ ~ & ~ & ~ & ~ & ~& ~ & ~ \\ ~ & ~ & ~ & ~ & ~& ~ & ~ \\ ~ & ~ & ~ & ~ & ~& ~ & ~ \\ ~ & ~ & ~ & ~ & ~& ~ & ~ \\ ~ & ~ & ~ & ~ & ~& ~ & ~ \end{bmatrix} \]
Consider a bird species where each (female) adult lays \(10\text{ eggs}\). Only \(10\%\) of eggs successfully hatch into juveniles, and \(50\%\) of juveniles survive and mature into adults. Adults die after reproduction.
\[ \begin{bmatrix} 0 & 0 & 10 \\ 0.1 & 0 & 0 \\ 0 & 0.5 & 0 \end{bmatrix} \]
Your turn
Consider a species of fish whose individuals live for 3 years (age classes 0, 1, 2, and 3). Newborn fish have a \(30\%\) survival rate to year 1; year 1 fish have a \(80\%\) survival rate to year 2; year 2 fish have a \(50\%\) survival rate to year 3; and all fish die in their third year.
Newborn fish are sexually immature and cannot give birth. Year 1 fish can give birth to \(1\) newborn per year; Year 2 fish can give birth to \(8\) newborns per year; and Year 3 fish can only give birth to \(0.5\) newborns per year.
Draw a transition diagram and write the transition matrix for this population.
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \]
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \]
At time \(t=0\), the population has \(52\) individuals in stage 0, \(10\) in stage 1, \(15\) in stage 2, and \(30\) in stage 3.
What is the expected distribution of individuals at \(t=1\)?
Matrix product of the transition matrix and the current distrubition:
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \times \begin{bmatrix} 52 \\ 10 \\ 16 \\ 30 \end{bmatrix} \]
Matrix product of the transition matrix and the current distrubition:
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \times \begin{bmatrix} 52 \\ 10 \\ 16 \\ 30 \end{bmatrix} = \begin{bmatrix} 153 \\ 15 \\ 8 \\ 8 \end{bmatrix} \]
For timestep \(2\):
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \times \begin{bmatrix} 153 \\ 15 \\ 8 \\ 8 \end{bmatrix} \]
For timestep \(2\):
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \times \begin{bmatrix} 153 \\ 15 \\ 8 \\ 8 \end{bmatrix} = \begin{bmatrix} 83 \\ 45.9 \\ 12 \\ 4 \end{bmatrix} \]
For timestep \(3\):
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \times \begin{bmatrix} 83 \\ 45.9 \\ 12 \\ 4 \end{bmatrix} = \dots \]
\[ \begin{bmatrix} 0 & 1 & 8 & 0.5 \\ 0.3 & 0 & 0 & 0 \\ 0 & 0.8 & 0 & 0 \\ 0 & 0 & 0.5 & 0 \end{bmatrix} \xrightarrow[]{\text{Eigenvalue}} 1.33 \]