290 likes | 437 Views
Using Virtual Laboratories to Teach Mathematical Modeling. Glenn Ledder University of Nebraska-Lincoln gledder@math.unl.edu. Mathematical modeling is much more than “applications of mathematics.”. Mathematical modeling is much more than “applications of mathematics.”
E N D
Using Virtual Laboratories to Teach Mathematical Modeling Glenn Ledder University of Nebraska-Lincoln gledder@math.unl.edu
Mathematical modeling is much more than “applications of mathematics.”
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
Mathematical Modeling Real World approximation Conceptual Model derivation Mathematical Model validation analysis A mathematical model represents a simplified view of the real world.
Mathematical Modeling Real World approximation Conceptual Model derivation Mathematical Model validation analysis • 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!
Mathematical Models Equations Independent Variable(s) Dependent Variable(s) Parameters Behavior Narrow View Broad View (see Ledder, PRIMUS, Jan 2008)
Presenting BUGBOX-predator, a realbiology 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.
Presenting BUGBOX-predator, a realbiology 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.
Linear Regression On mechanistic grounds, the model is y=mx, not y=b+mx. Find m to minimize Solve by one-variable calculus.
Holling Type II Model • Time is split between searching and feeding x – prey density y(x) – overall predation rate s – search speed space search t food total t food space ------- = --------- · -------
Holling Type II Model • Time is split between searching and feeding x – prey density y(x) – overall predation rate s – search speed food total t space search t food space search t total t ------- = --------- · --------- · -------
Holling Type II Model • Time is split between searching and feeding x – prey density y(x) – overall predation rate s – search speed food total t space search t food space search t total t ------- = --------- · --------- · ------- Each prey animal caught decreases the time for searching. ,
Holling Type II Model • Time is split between searching and feeding x – prey density y(x) – overall predation rate s – search speed h – handling time food total t search t total t space search t food space search t total t feed t total t ------- = --------- · --------- · ------- --------- = 1 – ------- is prey / total time is feed time per prey
Holling Type II Model • Time is split between searching and feeding x – prey density y(x) – overall predation rate s – search speed h – handling time food total t search t total t space search t food space search t total t feed t total t ------- = --------- · --------- · ------- --------- = 1 – -------
Holling Type II Model • Time is split between searching and feeding x – prey density y(x) – overall predation rate s – search speed h – handling time food total t search t total t space search t food space search t total t feed t total t ------- = --------- · --------- · ------- --------- = 1 – -------
Semi-Linear Regression Fitting y=qf(x;a): Let t=f(x;a) for any givena. Then y=qt,with data for t and y. Define G(a) by (linear regression sum) Best ais the minimizer of G.
Presenting BUGBOX-population, a realbiology 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. larvapupaadult • Boxbugs progress from larva to pupa to adult. • All boxbugs are female. • Larva are born adjacent to their mother.
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 = +fAt Pt+1 = 1Lt At+1 = 1Pt
Final Boxbug 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 = sLt+fAt Pt+1 = pLt At+1 = Pt+aAt
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:Attend to constant values.
Finding the Growth Rate • Find the initial condition , and growth rate for which .
Finding the Growth Rate Eliminate and to get This equation is already factored. There is a unique solution larger than the maximum of and .
Follow-up • Write as xt+1 = Mxt. • Run a simulation to see that x evolves to a fixed ratio independent of initial conditions. • Obtain the problem Mxt= λ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.
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. PRIMUS18, 119-138, 2008. • www.math.unl.edu/~gledder1/Talks/