28
Using Virtual Laboratories to Teach Mathematical Modeling Glenn Ledder University of Nebraska- Lincoln [email protected]

Using Virtual Laboratories to Teach Mathematical Modeling

  • Upload
    viveca

  • View
    72

  • Download
    0

Embed Size (px)

DESCRIPTION

Using Virtual Laboratories to Teach Mathematical Modeling. Glenn Ledder University of Nebraska-Lincoln [email protected]. Mathematical modeling is much more than “applications of mathematics.”. Mathematical modeling is much more than “applications of mathematics.” - PowerPoint PPT Presentation

Citation preview

Page 1: Using  Virtual Laboratories  to Teach Mathematical Modeling

Using Virtual Laboratories to Teach

Mathematical Modeling

Glenn LedderUniversity of Nebraska-Lincoln

[email protected]

Page 2: Using  Virtual Laboratories  to Teach Mathematical Modeling

Mathematical modeling is much more than “applications of mathematics.”

Page 3: Using  Virtual Laboratories  to Teach Mathematical Modeling

Mathematical modeling is much more than “applications of mathematics.”

“Mathematical modeling is the tendon that connects the muscle of mathematics to the bones of science.”

GL

Page 4: Using  Virtual Laboratories  to Teach Mathematical Modeling

Mathematical ModelingReal

WorldConceptual

ModelMathematical

Modelapproximation derivation

analysisvalidation

A mathematical model represents a simplified view of the real world.

Page 5: Using  Virtual Laboratories  to Teach Mathematical Modeling

Mathematical ModelingReal

WorldConceptual

ModelMathematical

Modelapproximation derivation

analysisvalidation

A mathematical model represents a simplified view of the real world.

• We want answers for the real world.

• But there is no guarantee that a model will give the right answers!

Page 6: Using  Virtual Laboratories  to Teach Mathematical Modeling

Mathematical Models

IndependentVariable(s)

DependentVariable(s)

Equations

Narrow View

Parameters Behavior

Broad View

(see Ledder, PRIMUS, Jan 2008)

Page 7: Using  Virtual Laboratories  to Teach Mathematical Modeling

Presenting BUGBOX-predator, a real biology lab for a virtual world.

http://www.math.unl.edu/~gledder1/BUGBOX/

The BUGBOX insect system is simple:– The prey don’t move.– The world is two-dimensional and homogeneous.– There is no place to hide.– Experiment speed can be manipulated.– No confounding behaviors.– Simple search strategy.

Page 8: Using  Virtual Laboratories  to Teach Mathematical Modeling

Presenting BUGBOX-predator, a real biology lab for a virtual world.

http://www.math.unl.edu/~gledder1/BUGBOX/

The BUGBOX insect system is simple:– The prey don’t move.– The world is two-dimensional and homogeneous.– There is no place to hide.– Experiment speed can be manipulated.– No confounding behaviors.– Simple search strategy.

But it’s not too simple:– Randomly distributed prey.– “Realistic” predation behavior, including random movement.

Page 9: Using  Virtual Laboratories  to Teach Mathematical Modeling

P. steadius Data

Page 10: Using  Virtual Laboratories  to Teach Mathematical Modeling

Linear RegressionOn mechanistic grounds, the model is y = mx, not y = b + mx.

Find m to minimize

2)()( ii mxymF

Solve by one-variable calculus.

Page 11: Using  Virtual Laboratories  to Teach Mathematical Modeling

P. steadius Model

Page 12: Using  Virtual Laboratories  to Teach Mathematical Modeling

P. speedius Data*

Page 13: Using  Virtual Laboratories  to Teach Mathematical Modeling

Holling Type II Model• Time is split between searching and feeding

x – prey density y(x) – overall predation rates – search speed

------- = --------- · ------- foodtotal t

spacesearch t

foodspace

xsxy )(

Page 14: Using  Virtual Laboratories  to Teach Mathematical Modeling

Holling Type II Model• Time is split between searching and feeding

x – prey density y(x) – overall predation rates – search speed

------- = --------- · --------- · ------- foodtotal t

search ttotal t

spacesearch t

foodspace

xsxy ?)(

Page 15: Using  Virtual Laboratories  to Teach Mathematical Modeling

Holling Type II Model• Time is split between searching and feeding

x – prey density y(x) – overall predation rates – search speed

------- = --------- · --------- · ------- foodtotal t

search ttotal t

spacesearch t

foodspace

Each prey animal caught decreases the time for searching.

,

xsyfxy )()(

Page 16: Using  Virtual Laboratories  to Teach Mathematical Modeling

Holling Type II Model• Time is split between searching and feeding

x – prey density y(x) – overall predation rates – search speed h – handling time

------- = --------- · --------- · ------- foodtotal t

search ttotal t

spacesearch t

foodspace

xsyfxy )()(

search ttotal t

feed ttotal t--------- = 1 – -------

is prey / total timeis feed time per prey

Page 17: Using  Virtual Laboratories  to Teach Mathematical Modeling

Holling Type II Model• Time is split between searching and feeding

x – prey density y(x) – overall predation rates – search speed h – handling time

------- = --------- · --------- · ------- foodtotal t

search ttotal t

spacesearch t

foodspace

xsyfxy )()(

search ttotal t

feed ttotal t--------- = 1 – -------

hyyf 1)(

Page 18: Using  Virtual Laboratories  to Teach Mathematical Modeling

Holling Type II Model• Time is split between searching and feeding

x – prey density y(x) – overall predation rates – search speed h – handling time

------- = --------- · --------- · ------- foodtotal t

search ttotal t

spacesearch t

foodspace

search ttotal t

feed ttotal t--------- = 1 – -------

xaqx

xhsxh

shxsxy

11

1

1

xsyfxy )()( hyyf 1)(

Page 19: Using  Virtual Laboratories  to Teach Mathematical Modeling

Fitting y = q f ( x; a):1. Let t = f (x ; a) for any given a.

2. Then y = qt, with data for t and y.

3. Define G(a) by (linear regression sum)

4. Best a is the minimizer of G.

2)(min)( iiqqtyaG

Semi-Linear Regression

Page 20: Using  Virtual Laboratories  to Teach Mathematical Modeling

P. speedius Model

Page 21: Using  Virtual Laboratories  to Teach Mathematical Modeling

Presenting BUGBOX-population, a real biology lab for a virtual world.

http://www.math.unl.edu/~gledder1/BUGBOX/

Boxbugs are simpler than real insects: They don’t move. Each life stage has a distinctive appearance.

larva pupa adult

Boxbugs progress from larva to pupa to adult. All boxbugs are female. Larva are born adjacent to their mother.

Page 22: Using  Virtual Laboratories  to Teach Mathematical Modeling

Boxbug Species 1 Model*

Let Lt be the number of larvae at time t.

Let Pt be the number of juveniles at time t.

Let At be the number of adults at time t.

Lt+1 = + f At

Pt+1 = 1 Lt

At+1 = 1Pt

Page 23: Using  Virtual Laboratories  to Teach Mathematical Modeling

Let Lt be the number of larvae at time t.

Let Pt be the number of juveniles 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

Final Boxbug model

Page 24: Using  Virtual Laboratories  to Teach Mathematical Modeling

Boxbug Computer Simulation

A plot of Xt/Xt-1 shows that all variables tend to a constant growth rate λ

The ratios Lt:At and Pt:At tend to constant values.

Page 25: Using  Virtual Laboratories  to Teach Mathematical Modeling

Finding the Growth Rate• Find the initial condition

, and growth rate for which .

Page 26: Using  Virtual Laboratories  to Teach Mathematical Modeling

Finding the Growth RateEliminate and to get

This equation is already factored. There is a unique solution larger than the maximum of and .

Page 27: Using  Virtual Laboratories  to Teach Mathematical Modeling

• Write as xt+1 = M xt .• Run a simulation to see that x evolves to a fixed

ratio independent of initial conditions.• Obtain the problem M xt = λ xt .• Develop eigenvalues and eigenvectors.• Show that the term with largest |λ| dominates

and note that the largest eigenvalue is always positive.

• Note the significance of the largest eigenvalue.• Use the model to predict long-term behavior and

discuss its shortcomings.

Follow-up

Page 28: Using  Virtual Laboratories  to Teach Mathematical Modeling

Online Resources• www.math.unl.edu/~gledder1/MathBioEd/

G.Ledder, Mathematics for the Life Sciences: Calculus, Modeling, Probability, and Dynamical Systems, Springer (2013?) [Preface, TOC]

G.Ledder, J.Carpenter, T. Comar, ed., Undergraduate Mathematics for the Life Science: Models, Processes, & Directions, MAA (2013?) [Preface, annotated TOC]

G.Ledder, An experimental approach to mathematical modeling in biology. PRIMUS 18, 119-138, 2008.

• www.math.unl.edu/~gledder1/Talks/