Docsity

Recursion Relations - Lecture Slide - Biology 2, Slides of Biology

Partial preview of the text

Download Recursion Relations - Lecture Slide - Biology 2 and more Slides Biology in PDF only on Docsity!

Initializing using a flag and an IF

function

 We choose a cell (e.g., C2) to hold the

value of the system and enter an IF

function along with the system formula

(e.g., xi+1=(xi+3)/2). For example,

IF(A2=0,B2,(C2+3)/2)

Initializing using a flag and an IF

function

 To allow the system to be evaluated,

set the flag to zero , then set it to

something non-zero

 Note that this must be done each time

reevaluation is desired, i.e. to see the

effect of changing the initial value

Interactive demonstration

 Calculate the difference to see if “final” value is stable and show qualitative conclusion for each value of r

Steady-state solutions

 We conclude for certain values of r that the final value of xi seems to vary with r. What determines the final value?

 We can solve the recursion relation for a steady-state value. To do so, we look for values of xi for which xi+1 is the same, i.e., xi = xi+1 = xi r (1- xi )

Steady-state solutions

 There are two solutions to the equation xi = xi r (1- xi )

 (1) xi = 0

and

 (2)?

Steady-state solutions

 There are two solutions to the equation xi = xi r (1- xi )

 (1) xi = 0

and

 (2) xi = 1 - 1/ r

Steady-state solutions

 We can mathematically determine which solution will apply and whether it can be reached by analysis of the approach to the steady-state , which involves examining the derivative of xi in the neighborhood of the solutions (e.g., by a Taylor expansion)

Steady-state solutions

 Alternatively, we can numerically (computationally) determine which solution will apply by simulation as we have done.

Parameter line

 We can update our parameter line to include the steady state values (if any).

0 1 2 3 r

x= monotonic

x=1-r- monotonic

x=1-r- oscillatory

unstable oscillatory

Transition values

 Our modeling also reveals transition values , values of the parameter that separate one type of behavior from another (e.g., r =1).