Project 3: Discrete logistic growth

MCSB Bootcamp — Mathematical and Computational Track

Author

Jun Allard

Model statement

Suppose a rabbit colony has a population x(n)x(n) at month nn, where xx is measured in thousands. If the population were growing in an unbounded environment, the population obeys

x(n+1)=x(n)+r⋅x(n)x(n+1) = x(n) + r \cdot x(n)

where rr is the per-capita growth rate. Suppose instead the population is in a bounded environment (like an island), so growth is limited and the population obeys

x(n+1)=x(n)+r(1−x(n)K)x(n)x(n+1) = x(n) + r \left( 1 - \frac{x(n)}{K}\right) x(n)

where KK is a parameter we refer to as the carrying capacity.

Part I

Suppose r=0.1r=0.1 and K=0.6K=0.6.

  1. According to your intuition, what population sizes are steady states, meaning that if the population had that value at time n=0n=0, then it would remain at that value?

Your answer here.

  1. Sketch your intuition for the population x(t)x(t) from a starting population x(1)=0.2x(1)=0.2.

Your answer here.

Part II

Write code to solve the dynamical system, and answer the following questions:

  1. Suppose r=0.1r=0.1 and K=0.6K=0.6. Generate time series of the populations for a few starting populations x(1)x(1). Does it match your intuition?
# Your code here.
  1. Suppose r=2.1r=2.1 and K=0.6K=0.6. Generate time series of the populations for a few starting populations x(1)x(1).
# Your code here.

Part III

In a discrete-time dynamical system, if the population cycles between two values, the solution is called a two-cycle. Cycling between NN values is called an NN-cycle.

  1. Check that at r=2.5r=2.5 and K=0.6K=0.6 there is a 4-cycle.
# Your code here.
  1. (Optional) Can you find a value of rr, KK and x(1)x(1) that gives a 3-cycle?
# Your code here.
  1. In this part, we will do a parameter sweep for 0<r<3.00<r<3.0, with fixed K=0.6K=0.6. The goal is to generate a diagram where the horizontal axis is the parameter value rr. On the vertical axis, if there is a stable steady state, plot the steady-state population. If there is an NN-cycle, plot the NN values of xx that it cycles through.

Hint: One way to plot the steady state or the NN-cycle is to simulate the system until nmaxn_\mathrm{max}, and plot the last half of the values of x(n)x(n). You need to choose nmaxn_\mathrm{max} large enough so that the dynamics have settled into their steady state (or steady cycle) by nmax/2n_\mathrm{max}/2.

Hint: How many rr values should you explore?

# Your code here.

This type of behavior in a dynamical system is called chaos! This particular type of chaos is called period-doubling chaos.