Recurrence relations
A linear recurrence relation
You might have previously encountered a recurrence relation of the form
\[ u_{n+1}=au_n+b \tag{1}\] where \(a\) and \(b\) are constants.
Given numerical values for \(a\) and \(b\) and an initial condition, \(u_0\), a sequence can be computed that is a solution to Equation 1. This type of task is laborious and well suited to a computer (see Figure 1).
The population of Dundonian hobbits is observed to be declining by 5% per year. To increase the population, it is planned that 1000 of the species will be released at the end of May each year.
Let \(u_n\) represent the population of the hobbits at the beginning of June, \(n\) years after the first annual reintroduction into the population.
Suppose that \(u_n\) and \(u_{n+1}\) satisfy the recurrence relation \[ u_{n+1}=au_n+b, \] where \(a\) and \(b\) are constants.
- State the values of \(a\) and \(b\).
- Explain whether or not the population of the Dundonian hobbit will stabilise in the long term.
- The population of Dundonian hobbits at the beginning of the reintroduction programme was estimated at 5000. Explain whether or not the population will ever exceed 10000.
Explore how the computed solution depend on model parameters as follows:
- set \(b=0\) by varying the parameter \(a\) identify solutions that:
- tend to zero monotonically
- oscillate about 0
- blow up
- set b>0
- show that the solution converges to a non-zero value in the case where \(0<a<1\).
- show that the solution is oscillatory for \(-1<a<0\).
The logistic map
The recurrence relation explored in Figure 1 is linear (the right-hand-side is a linear function of \(u_n\)). When the model is generalised much richer dynamical behaviours can be observed. One famous example is the logistic map, where the governing equation can be written as \[ u_{n+1}=ru_n(1-u_n). \tag{2}\]
Note that the right-hand side is now a quadratic function of \(u_n\).
You can explore the solutions to Equation 2 using Figure 2.
- show that when \(0<r<1\) the solution converges monotonically to 0.0.
- show that when \(0<r<2\) the solution converges monotonically to a non-zero value.
- show that when \(2<r<3\) the solution is oscillatory and converges to a non-zero value.
- show that when \(r=3.2\) the solution is periodic and repeats every second step
- show that when \(r=3.47\) the solution is periodic and repeats every fourth step
- show that when \(r=3.7\) that the solution is neither periodic nor reaches a steady value.
- use the
$r$ zoomed' and
\(u\) zoomed’ sliders to magnify the third figure. Can you see self similarity (i.e. at fine scales the bifurcation structure looks similar to that at large scales?).
The logistic map provides one of the simplest mathematical formulations of a phenomenon known as chaos. Whilst a precise definition of chaos involves some technical concepts, chaotic systems are broadly characterised by:
- having non-periodic, non-steady solution
- sensitivity to initial conditions
- appearing to be unpredictable even through they are deterministic.
- self similarity
At Dundee, core concepts from calculus (e.g. differential equations) and algebra that are needed to study dynamical systems are introduced in the modules Maths 1A and Maths 1B and developed further in the modules Maths 2A and Maths 2B.
At Level 2 in the module Discrete Maths you would be introduced to discrete dynamical systems (e.g. recurrence relations, Markov chains). In the modules Introduction to Programming and Computer Algebra and Dynamical systems you would be introduced to techniques that enable you to numerically analyse difference equations.
At Level 3 in the module Mathematical Biology you would consider discrete dynamical systems model applied to Biological systems.
At Level 4 we offer a number of honours projects that investigate chaotic systems (e.g. the Lorenz equations, the double pendulum)
You can find out more about these modules here.