1 Chaos in Population Dynamics Understanding chaos in the logistic model Prepared for SSAC by *David McAvity – The Evergreen State College* © The Washington.

Slides:



Advertisements
Similar presentations
BSC 417/517 Environmental Modeling Introduction to Oscillations.
Advertisements

Example 2.2 Estimating the Relationship between Price and Demand.
Answer "What If" Questions
Microsoft Office XP Microsoft Excel
STROUD Worked examples and exercises are in the text PROGRAMME F4 GRAPHS.
ENG 1181 College of Engineering Engineering Education Innovation Center Microsoft Excel: Data Analysis Trendlines Formulas Functions Cell Addressing.
Click here to enter. Click a menu option to view more details Starters Main Courses Desserts Click on the coffee cup to return when Navigating For Vocabulary.
1 There are various techniques for estimating discharge for small watersheds. If you know the maximum discharge that you need to convey, how do you determine.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 5 Analyzing.
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 2- Advanced Microsoft Excel.
Introduction to chaotic dynamics
1 Chaos in Population Dynamics Understanding chaos in the logistic model How does chaos emerge in deterministic models of population growth? What are the.
Using Excel for Data Analysis in CHM 161 Monique Wilhelm.
First-Year Engineering Program 1 Autumn 2009 Graphing with Microsoft Excel Lecture 11 Engineering H191 Engineering Fundamentals and Laboratory.
1 Prepared for SSAC by Semra Kilic-Bahi, Colby-Sawyer College, New London NH Modified by Fred Annexstein © The Washington Center for Improving the Quality.
1 Summary Statistics Excel Tutorial Using Excel to calculate summary statistics Prepared for SSAC by *David McAvity – The Evergreen State College* © The.
Example 7.1 Pricing Models | 7.3 | 7.4 | 7.5 | 7.6 | 7.7 | 7.8 | 7.9 | 7.10 | Background Information n The Madison.
LSP 120: Quantitative Reasoning and Technological Literacy
1 Summary Statistics Excel Tutorial Using Excel to calculate descriptive statistics Prepared for SSAC by *David McAvity – The Evergreen State College*
Diversity and Distribution of Species
1 Linear Correlation Prepared for SSAC by *David McAvity – The Evergreen State College* © The Washington Center for Improving the Quality of Undergraduate.
Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209.
DECISION MODELING Chapter 2 Spreadsheet Modeling Part 1 WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and.
Illegal Software Installation Tracking Software Piracy Rates Around the World Much of the packaged software installed on PCs around the world is pirated.
Introduction to Spreadsheets CSCI-N 100 Department of Computer Science and Information Science.
DISCLAIMER This guide is meant to walk you through the physical process of graphing and regression in Excel…. not to describe when and why you might want.
Excel – Lesson 1 Pasewark & PasewarkMicrosoft Office 2007: Introductory 1 Entering a Formula (continued) Formulas can include more than one operator. The.
1 Administering Medications to Patients Calculating medication dosages in the clinical setting Prepared for SSAC by Shari Goldberg – Colby-Sawyer College.
Investing for Retirement Planning your retirement early is your ticket to maintaining your life style after 60. Time value of money – Don’t count on social.
Spreadsheets and Microsoft Excel. Introduction n A spreadsheet (called a worksheet in Excel) is a two-dimensional array of cells containing data to be.
Computers: Tools for an Information Age Chapter 12 Spreadsheets and Business Graphics: Facts and Figures.
1 How’s the water? Modeling with Exponential Functions Module 24.1 Prepared for SSAC by Vauhn Foster-Grahler – Evergreen State College © The Washington.
 Introduction to MS-Excel Introduction to MS-Excel  Entering data in EXCEL Entering data in EXCEL  Formulas & Functions in EXCEL Formulas & Functions.
1 Illustrating the increased earning potential from your AA degree SSAC2007.LB2328.YS1.1 Calculating Difference in Wages for a Book- keeper (with AA Degree)
1 GEM2505M Frederick H. Willeboordse Taming Chaos.
1 What are the characteristics of an equilibrium reaction? Many important biological and ecological processes follow the equilibrium model. Until now,
Sample size vs. Error A tutorial By Bill Thomas, Colby-Sawyer College.
AP/H SCIENCE SKILLS: EXCEL & SIG FIG Suggested summer work for incoming students.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Data Presentation & Graphing Introduction to Mechanical Engineering The University of Texas-Pan American College of Science and Engineering.
DECISION MODELING Chapter 2 Spreadsheet Modeling Part 1 WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
How Populations Grow Section 5-1
HOW MUCH Understanding Mortgage Payments – I am going to pay HOW MUCH for this house? You borrow for your first home but that is NOT the amount of money.
8.5 Exponential Growth and 8.6 Exponential Decay FUNctions
CTS130 Spreadsheet Lesson 19 Using What-If Analysis.
Graphing with Excel The Basics. Working With Excel The spreadsheet program Excel is useful for constructing data tables and graphs The results can easily.
Chaos in a Pendulum Section 4.6 To introduce chaos concepts, use the damped, driven pendulum. This is a prototype of a nonlinear oscillator which can.
A Look at High School Dropout Rates
Introducing Endangered Birds to Ulva Island, NZ Modeling Exponential and Logistic Growth of the Yellowhead Population Because populations are numbers,
SSAC2007.QA154.ND1.1 What is the Largest-Volume, Open-Top, Rectangular Box You Can Make from a Sheet of Cardboard? – Exploring Polynomial Functions Core.
Motivation As we’ve seen, chaos in nonlinear oscillator systems, such as the driven damped pendulum discussed last time is very complicated! –The nonlinear.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.3 Prepared.
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
There are various techniques for estimating discharge for small watersheds. If you know the maximum discharge that you need to convey, how do you determine.
1 There are two main methods for computing interest. Do you know the difference between them? Do you know what difference it makes in a savings account.
Copyright © 2005 by Nelson, a division of Thomson Canada Limited 14-0 EXCEL CHAPTER 14 PHILIP BEDIENT.
Warm Up Write down objective and homework in agenda Lay out homework (None) Homework (Recursive worksheet) Get a Calculator!!!
STROUD Worked examples and exercises are in the text 1 STROUD Worked examples and exercises are in the text Programme F4: Graphs PROGRAMME F4 GRAPHS.
Graphing in Excel X-Y Scatter Plot SCI 110 CCC Skills Training.
Announcements Topics: -Introduction to (review of) Differential Equations (Chapter 6) -Euler’s Method for Solving DEs (introduced in 6.1) -Analysis of.
Investing for Retirement
Index Numbers: Gasoline and Inflation
What are the characteristics of an equilibrium reaction?
Exponential and Logistic Population growth
Introduction to chaotic dynamics
Microsoft Excel Chapters 6&7
Introduction to chaotic dynamics
Microsoft Excel Chapters 6&7
Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209.
Presentation transcript:

1 Chaos in Population Dynamics Understanding chaos in the logistic model Prepared for SSAC by *David McAvity – The Evergreen State College* © The Washington Center for Improving the Quality of Undergraduate Education. All rights reserved. *2007* SSAC2007.QH352.DM1.1 How does chaos emerge in deterministic models of population growth? What are the quantitative tools we need to understand and represent chaotic behavior? Supporting Quantitative concepts and skills Visual Display of Data – XY scatter plots Iteration Exponential and logistic growth Creating cobweb diagrams Curve fitting and trend lines Core Quantitative concepts and skills Modeling with difference equations

2 Slides 4-5 Implement the model and create a plot of the solution. Slides 6-7 Explore the parameter space of the logistic model – oscillations, bifurcations and chaos. Slides 8-10 Create cobweb diagrams to visualize the approach to chaos. Slides Quantify chaos with the Liapunov exponent. Slide 13 Assignment Overview of Module The logistic model describes the growth of a population subject to a carrying capacity which limits the total population. When the population grows discretely, as in the case of a population of birds that breeds yearly in spring, the population dynamics can exhibit chaotic oscillations under certain conditions. In this module we investigate what conditions lead to chaos. We will also learn a variety of quantitative methods for analyzing the route to chaos.

3 The logistic model is used to describe the growth of a population in an environment with limited resources. When the population grows continuously (that is, when the births and deaths do not occur at fixed intervals) the logistic model always leads to smooth predictable growth of the population to a limiting value called the carrying capacity, which is the maximum value the environment can support. However, when the population grows discretely (for example, a population that reproduces at fixed intervals – such as once a year in spring) then the dynamics can be more complicated. The model can lead to a population that reaches a simple equilibrium, has periodic oscillations or exhibits chaotic behavior, depending on the population growth rate for the discrete time interval. In this module we will assume a time interval of one year and will explore the dynamics of the discrete logistic model with different growth rates. Problem The problem: What values of the growth rate in the logistic model lead to a simple equilibrium and how does the model approach this equilibrium? What values of the growth rate lead to periodic behavior and what type of periodicity can result? What values of the growth rate lead to chaotic population dynamics in the logistic model? What methods can we use to visualize and quantify the approach to chaos?

4 Our first task is to create a spread sheet implementing the difference equation for the logistic model:  P=r P(1-P/K), where P is the population number, r is the intrinsic growth rate and K is the carrying capacity. Recall that the difference equation for updating the population from one generation to the next is given by: P t+1 =P t +  P t, with initial population P 0. In this example we will start with an initial population of 1, a growth rate of 0.1 per year and a carrying capacity of 100. The Logistic Model Create a worksheet like this one, giving an iterative solution to the logistic model. = cell with a number in it = cell with a formula in it Hint: Copy the formula down for 100 cells. Make sure you use absolute references for the parameter values. Hint: Enter the equation for the logistic difference equation here Hint: Need help with entering formulas? Here is an example: If you have a number in Cell B2 and you want to calculate the square of it in Cell C2 then in C2 you type =B2^2. To use absolute references type =$B$2^2 instead.

5 Graphing the Solution Create a plot of the population of the function of time as predicted by the logistic model. Use an XY scatter plot with points connected. Label the axes and format the graph correctly. Hint: To plot a graph, select the x and y axis columns that you want to plot. Then click the chart icon and follow the instructions.

6 Now we are ready to explore how the solution to the logistic model depends on the three parameters P 0, r and K. Exploring Parameter Space Answer the following questions in a textbox in a new sheet named assignments. (a)Vary the initial population P 0 between 0 and 200 while keeping r=0.1 and K=100. Describe the solution in each case. What do the solutions have in common and how do they differ? (b)Vary the carrying capacity K between 0 and 200 while keeping r =0.1 and P 0 =. Describe the the solution in each case. What do the solutions have in common and how do they differ? (c)Vary the growth rate r, between 0 and 1 while keeping K=100 and P 0 = 1. Describe the nature of the solution in each case. What do the solutions have in common and how do they differ?

7 When the growth rate, r, varies between 0 and 1, the logistic model predicts a smooth approach to equilibrium at a population equal to the carrying capacity. However, if you consider values of the growth rate larger than 1 the model behaves in unexpected ways. For some values of r the solution overshoots the carrying capacity before approaching equilibrium, for some values it oscillates between two or more equilibria (called 2-cycles, 4- cycles, etc), and for other values the solution is chaotic. The Route to Chaos Answer the following question in your assignments sheet. 2. Find the range of r for which the model exhibits: (a) oscillating approach to equilibrium. (b) 2-cycles. (c) 4-cycles. (d) chaos.

8 In order to understand how the different types of behavior in the logistic model come about it is useful to create a cobweb plot. A cobweb plot is a graph of P t+1 vs P t and is used to illustrate how the sequence of values is generated by the difference equation, P t+1 =f(P t ). For the logistic model it follows from Slide 4 that f(x)=x + r x (1-x/K). In the cobweb plot we start with the initial input value x= P 0, move up to the curve y=f(x) to get the value y=P 1 and return to the line y=x to find the next input value x= P 1.. We then repeat the process. The sequence of points to plot is (P 0,0), (P 0,P 1 ), (P 1,P 1 ), (P 1,P 2 ) … See the graph below. Creating a Cobweb Plot – Part 1 Copy your spreadsheet to a new one and then modified it to create the rows of points as suggested below. The initial point is (P 0, 0) Insert a row for the point which brings the cobweb plot back to the y=x line. Now copy the second and third rows down. (P 0,0) (P 0,P 1 ) (P 1,P 1 ) (P 1,P 2 ) y=f(x) y=x

9 Creating a Cobweb Plot – Part 2 In order to create the full cobweb plot we need to plot the line y=x, the curve y= f(x)=x + r x (1-x/K) and the sequence of points from the previous slide. Add new columns in your spreadsheet that will allow you to plot y=x and y= f(x)=x + r x (1-x/K). You need to first include a column of x values. These should range between 0 and 200 (or twice the carrying capacity). When you have added your columns, plot y=x and y= f(x) and P t+1 vs P t on the same graph. Use XY scatter plot with connected points. Use different colors for each curve.

10 Answer the following question in your assignments sheet. 3. Choose values of r corresponding to each of the cases below and create cobweb plots. describe the cobweb plots, qualitatively noting differences between the cases. Find values of r corresponding to transitions between two types of behavior and then note, if possible, what feature of the plot is changing at that point. Pay particular attention to how the cobweb plot behaves near the intersection between y=f(x) and y=x, and the sign of the slope of y=f(x) there. (a) smooth approach to equilibrium (b) oscillating approach to equilibrium (c) 2-cycles (d) 4-cycles (e) chaos Illustrating Dynamics of the Logistic Model with Cobweb Plots As you discovered earlier, the logistic model exhibits a range of different behaviors depending on the values of the growth rate r. The cobweb diagram looks qualitatively different in each case, and illustrate why the model model changes its behavior at particular values of the growth rate.

11 Quantifying Chaos The word chaos is often used in imprecise ways. In this module, a chaotic system means one that exhibits sensitive dependence on initial conditions. If a model predicts two vastly different results for two populations which initially differ by only a small amount then the model is said to be chaotic. More precisely, if we define the absolute value of the difference between two populations as , then if the ratio of  to the initial absolute difference   diverges exponentially the system is chaotic. Make a copy of your first spreadsheet to a new sheet. Then create an entry for the initial difference in populations  . Add a new population column, whose initial value is P 0 +  . You may also want to format the columns so that they show enough decimal places to illustrate the small difference in the populations. Finally make a column where you calculate  . This column only needs to extend about 30 time steps. You might observe that this value jumps around a bit, However you should see that it has a tendency to grow when r is in regions where the population dynamics is chaotic.

12 The Liapunov Exponent Plot  /   vs t. Then add an exponential trend line. Make sure you choose the option to include the equation and R 2 value of trend line on the graph. Now vary the value of the growth rate r and determine the value of the Liapunov exponent for different values of r. 4. Find the range of values for r where the Liapunov is positive (indicating chaos). To determine if the ratio  /   grows exponentially we plot  /   vs time and then fit an exponential curve to the data. The exponent is called the Liapunov exponent, which is a quantitative measure of chaos. A value of less than or equal to zero implies that the system is not chaotic. Hint: Need help with trend lines? Right click on a data point in your graph. Select add trend line from the menu. Choose the exponential fit and then under options check the boxes for display equation on chart and display R-squared value on chart.

13 1.Answer the questions about the parameters of the logistic model on Slide 6. 2.Answer the questions about the range of of values of the growth rate r corresponding to different types of behavior of the logistic model on Slide 7. 3.Answer the questions about the cobweb diagrams on Slide Answer the question about the Liapunov exponent on Slide Is the the fact that the logistic model yields chaotic solutions for high values of the growth rate reasonable on biological grounds? Explain your answer. 6.The logistic model is a good enhancement to an exponential growth model because it provides a mechanism to limit the growth through the carrying capacity. It has several deficiencies, however. One is that the per capita growth rate goes below -1. Why is this unrealistic?. 7.A model that fixes this problem is the Ricker model. Show that the per capita growth rate for the Ricker model is always larger than Repeat the analysis of this lab on the Ricker model. In particular, give a complete account of how the behavior of the model depends on the growth rate r and compare and contrast this with the logistic model. Write your answers to the following questions in your “Assignment” spreadsheet. When you are finished the lab submit your spreadsheet to the program drop box using the naming conventions Lastname_Firstname_Lab1.xls. Due Tuesday, January 22 nd at 1:00 pm. Assignment