The Final Bugbox Model

19
The Final Bugbox Model Let L t be the number of larvae at time t. Let P t be the number of pupae at time t. Let A t be the number of adults at time t. L t+1 = s L t + f A t P t+1 = p L t A t+1 = P t + a A t

description

The Final Bugbox Model. Let L t be the number of larvae at time t. Let P t be the number of pupae at time t. Let A t be the number of adults at time t. L t +1 = s L t + f A t. P t +1 = p L t. A t +1 = P t + a A t. Discovering Model Behavior. - PowerPoint PPT Presentation

Transcript of The Final Bugbox Model

Page 1: The Final Bugbox Model

The Final Bugbox Model

Let Lt be the number of larvae at time t.

Let Pt be the number of pupae at time t.

Let At be the number of adults at time t.

Lt+1 = s Lt + f At

Pt+1 = p Lt

At+1 = Pt + a At

Page 2: The Final Bugbox Model

Discovering Model Behavior

• We now guide the students through a process of discovery:

– The students write Matlab code to run simulations with given parameters and initial data.

– We direct the students to the discovery that the proportions always approach a fixed ratio by asking them to plot P/A. We also have them plot Xt+1/Xt for each stage.

Page 3: The Final Bugbox Model

Model Behavior

• We fix p = a = 0.5, s = 0.25, f = 2, and choose initial population levels. Plot r = P/A.

The ratio r approaches a constant that

is independent of the initial conditions.

0 5 10 150

1

2

3

4

t

P/A

Page 4: The Final Bugbox Model

Analysis of the Model

• The stable growth rate is the eigenvalue of largest magnitude. The stable population ratios are given by the corresponding eigenvector.

• The students find the stable growth rate and population ratios using only basic algebra and “directed ingenuity.”

Page 5: The Final Bugbox Model

Analysis of the Model

• “P/A approaches a constant” means that P and A have the same growth rate as t → ∞.

Assume L, P, and A all have growth rate λ.

Lt+1 = λ Lt , Pt+1 = λ Pt , At+1 = λ At .

λ Lt = ¼ Lt + 2 At

λ Pt = ½ Lt

λ At = Pt + ½ At

Page 6: The Final Bugbox Model

2λ (λ - ¼) Pt = 2 At , Pt = (λ - ½) At (eqs 1,3)

λ Pt = ½ Lt

λ At = Pt + ½ At

Take Lt = 2λ Pt (equation 2)

Then

λ Lt = ¼ Lt + 2 At

Page 7: The Final Bugbox Model

2λ (λ - ¼) Pt = 2 At , Pt = (λ - ½) At (eqs 1,3)

λ Pt = ½ Lt

λ At = Pt + ½ At

Take Lt = 2λ Pt (equation 2)

Then

λ Lt = ¼ Lt + 2 At

r = ―――― , r = λ - ½1

λ (λ - ¼)(r = P/A)

Page 8: The Final Bugbox Model

2λ (λ - ¼) Pt = 2 At , Pt = (λ - ½) At (eqs 1,3)

λ Pt = ½ Lt

λ At = Pt + ½ At

Take Lt = 2λ Pt (equation 2)

Then

λ Lt = ¼ Lt + 2 At

r = ―――― , r = λ - ½1

λ (λ - ¼)

λ (λ - ¼) (λ - ½) = 1

(r = P/A)

Page 9: The Final Bugbox Model

λ (λ - ¼) (λ - ½) = 1 r = λ - ½

A constant ratio is possible only for special values of λ !

Page 10: The Final Bugbox Model

0 0.5 1 1.5

0

0.5

1

1.5

λ (λ - ¼) (λ - ½) = 1 r = λ - ½

A constant ratio is possible only for special values of λ !

λ ≈ 1.27

r ≈ 0.77

Similarly, we get L/A ≈ 1.96.

The growth rate is ≈ 1.27, and

the population ratio is ≈ 1.96 : 0.77 : 1.

Page 11: The Final Bugbox Model

Mathematical Questions• Can we improve the calculation method

by using a more sophisticated mathematical structure?

Page 12: The Final Bugbox Model

Mathematical Questions• Can we improve the calculation method

by using a more sophisticated mathematical structure?

• What happens if we allow the parameters to take on any biologically-realistic values?

Page 13: The Final Bugbox Model

Mathematical Questions• Can we improve the calculation method

by using a more sophisticated mathematical structure?

• What happens if we allow the parameters to take on any biologically-realistic values?– Are solutions always positive? – Do simulations always tend toward stable

ratio and steady growth rate?– Can there be more than one solution? – If so, what do the simulations actually do?

Page 14: The Final Bugbox Model

Improving the Method

• Introduce matrix notation.

• Redo the calculation using matrix notation. – Introduce eigenvalues and eigenvectors.

• Develop the 2-step solution method:

– det (M - λI) = 0 to find the eigenvalues.

– (M - λI) x = 0 to find the eigenvectors.

Page 15: The Final Bugbox Model

Building the Theory• We can prove there are no more than n

eigenvalues.

Page 16: The Final Bugbox Model

Building the Theory• We can prove there are no more than n

eigenvalues.

• We can prove that long-term behavior is determined by the eigenvalue of largest modulus.

Page 17: The Final Bugbox Model

Building the Theory• We can prove there are no more than n

eigenvalues.

• We can prove that long-term behavior is determined by the eigenvalue of largest modulus.

• We can state an existence theorem:– Nonnegative, irreducible, primitive matrices

have a unique eigenvalue of largest modulus. This eigenvalue is real and its eigenvector is real and strictly positive.

Page 18: The Final Bugbox Model

Results of Student Work

• We got excellent lab data to determine model parameters.

• Population growth data was consistent with model predictions, but with large experimental uncertainty.

• Predator-prey data was not useful, but we still learned the theory and mathematics.

Page 19: The Final Bugbox Model

Assessment -- Surveys

• Big positive changes from pre- to post-

– If I need to, I can write a short computer program to study a mathematical model.

– A lot of theoretical biology is mathematical.

– I can learn a lot of biology from reading articles and books.

• No negative changes