FW364 Ecological Problem Solving

Slides:



Advertisements
Similar presentations
4.1 Introduction to Matrices
Advertisements

Section 4.2 – Multiplying Matrices Day 2
Chapter 9: Leslie Matrix Models & Eigenvalues
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices n New stuff Homogenous co-ordinates 3D transformations as matrices.
Chapter 10 Review: Matrix Algebra
Matrix Algebra and Applications
Chapter 11 Section 11.4 Solving Larger Systems of Equations.
Chapter 4 Matrices By: Matt Raimondi.
Chapter 1 Section 1.1 Introduction to Matrices and systems of Linear Equations.
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
Lesson 7.6 & 7.7 Inverses of a Square Matrix & Determinant.
Unit 6 : Matrices.
Unit 3: Matrices.
Matrix Multiplication The inner dimensions must be the same (or the number of columns in the first matrix is equal to the number of rows in the second.
Chapter 4 Section 4: Inverse and Identity Matrices 1.
PHARMACOECONOMIC EVALUATIONS & METHODS MARKOV MODELING IN DECISION ANALYSIS FROM THE PHARMACOECONOMICS ON THE INTERNET ®SERIES ©Paul C Langley 2004 Maimon.
2 x 2 Matrices, Determinants, and Inverses.  Definition 1: A square matrix is a matrix with the same number of columns and rows.  Definition 2: For.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
Basic Matrix Operations Matrix – a rectangular array of numbers, variables, and both Order (dimensions) – describes the number of rows and columns in a.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
Chapter 1 Section 1.6 Algebraic Properties of Matrix Operations.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Copyright © Cengage Learning. All rights reserved. 7 Matrices and Determinants.
An Introduction to Matrix Algebra Math 2240 Appalachian State University Dr. Ginn.
College Algebra Chapter 6 Matrices and Determinants and Applications
Downhill product – Uphill product.
MTH108 Business Math I Lecture 20.
Chapter 4 Systems of Linear Equations; Matrices
Basic Matrix Operations
13.4 Product of Two Matrices
Introduction What is a matrix (One Matrix many matrices)
Multiplying Matrices.
Christmas Packets are due on Friday!!!
Matrix Operations.
FW364 Ecological Problem Solving Class 6: Population Growth
Chapter 7 Matrix Mathematics
1.5 Matricies.
FW364 Ecological Problem Solving Class 15: Stage Structure
10.5 Inverses of Matrices and Matrix Equations
Matrix Operations.
Matrix Operations Monday, August 06, 2018.
Matrix Operations.
Multiplying Matrices Algebra 2—Section 3.6.
ECON 213 Elements of Mathematics for Economists
Warm-up: Do you remember how to do long division? Try this: (without a calculator!)
FW364 Ecological Problem Solving Class 5: Population Growth
FW364 Ecological Problem Solving Class 16: Stage Structure
Using Matrices to Predict Growth
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
Unit 3: Matrices
2.2 Introduction to Matrices
Presented By Farheen Sultana Ist Year I SEM
3.5 Perform Basic Matrix Operations
Inverse of a Matrix Solving simultaneous equations.
Dimensions matching Rows times Columns
Multiplication of Matrices
Chapter 4 Matrices & Determinants
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

FW364 Ecological Problem Solving Class 13: Age Structure Oct. 21, 2013

Outline for Today Continue to make population growth models more realistic by adding in age structure Objectives for Today: Continue with age structure Matrix algebra primer Introduce the Leslie Matrix Objectives for Next Class: Complete in class examples of age structured population growth Text (optional reading): Chapter 4: Sections 4.1 – 4.5 Not covering life table information (sections 4.6+)

Recap from Last Class xSt = x+1Nt+1 / xNt Worked with helmeted honeyeater age-structured data Table 4.1 General survival rate equation (for age class, x): xSt = x+1Nt+1 / xNt Given the assumption that 1F = 2F =… = 9F General fecundity equation (for all adult age classes): adult xFt = 0Nt+1 / adult xNt Fecundity is the average # offspring per individual for each age class

Using the general survival and fecundity equations, Recap from Last Class (xS) Table 4.1 1995? 1N1995 0N1995 2N1995 3N1995 adult xF = 0.48 Using the general survival and fecundity equations, we developed a series of equations to predict population size for each age class from one year to the next

Recap from Last Class adult xF = 0.48 (xS) Table 4.1 1995? 1N1995 0N1995 2N1995 3N1995 adult xF = 0.48 How many age 0 individuals will there be in 1995? General equation: 0Nt+1 = 0F * 0Nt + 1F * 1Nt + 2F * 2Nt + 3F * 3Nt For honeyeaters, we are assuming: 0F = 0 and 1F = 2F = 3F = 4F = adult xF 0N1995 = adult xF * 1N1994 + adult xF * 2N1994 + adult xF * 3N1994 0N1995 = 0.48 * 20 + 0.48 * 14 + 0.48 * 10 = 21 age 0 honeyeaters

Used a similar process to calculate N1995 Recap from Last Class (xS) Table 4.1 1995? 1N1995 21 2N1995 3N1995 adult xF = 0.48 How many age 1 individuals will there be in 1995? General equation: 1Nt+1 = 0S * 0Nt Used a similar process to calculate N1995 for other age classes For honeyeaters, 1N1995 = 0S * 0N1994 1N1995 = 0.703 * 29 = 20 age 1 honeyeaters

Recap from Last Class adult xF = 0.48 Summary of Last Class: (xS) Table 4.1 1995? 20 21 14 11 adult xF = 0.48 Summary of Last Class: We used four different equations to forecast age-structured population size from one year to the next Mentioned a method to manipulate and organize equations that is very helpful in this situation…. MATRIX ALGEBRA! Today!

Matrix Algebra Matrix algebra is a very powerful technique to solve related sets of equations A B C D E F G H I X Y Z A*X + B*Y + C*Z D*X + E*Y + F*Z G*X + H*Y + I *Z 1 2 4 4 5 7 7 8 0 1 2 3 17 35 23 * = * =  Matrix algebra introduction / refresher

Matrix Algebra Matrix Basics: A matrix is a table of numbers arranged in rows and columns (kind of like a spreadsheet) Column 1 Column 2 Column 3 Matrices have “dimensions”, expressed as: # rows x # columns This matrix is a 3 x 3 matrix (“three-by-three matrix”) Called a “square” matrix because # rows = # columns 1 2 4 4 5 7 7 8 0 Row 1 Row 2 Row 3 Each number in the matrix is called an element

Matrix Algebra Matrix Basics: A matrix is a table of numbers arranged in rows and columns (kind of like a spreadsheet) Column 2 Can have single column matrices: Column 1 Column 3 17 35 23 1 2 4 4 5 7 7 8 0 Row 1 Row 2 Row 3 Column matrices are called column vectors The above column vector has dimensions of 3 x 1

Matrix Algebra We can multiply matrices together All of our ecological examples will involve square matrices multiplied by column vectors  Focus of my review General Form: Square matrix x Column vector = Column vector I’ll call the resulting column vector the “results vector” 1 2 4 4 5 7 7 8 0 1 2 3 17 35 23 * =

Order matters for matrix algebra! 1 2 4 4 5 7 7 8 0 1 2 3 1 2 3 1 2 4 4 5 7 7 8 0 * ≠ * Our matrix multiplication will use this order Let’s do some matrix multiplication!

Matrix Algebra General process: A B C D X Y A*X + B*Y C*X + D*Y * = Step 1: Multiply the first element in the first matrix row by the top element in the column vector Multiply the second element in the first matrix row by the second element in the column vector Add these products together to get top element in results vector

Matrix Algebra General process: A B C D X Y A*X + B*Y C*X + D*Y * = Step 2: Multiply the first element in the second matrix row by the top element in the column vector Multiply the second element in the second matrix row by the second element in the column vector Add these products together to get bottom element in results vector

Matrix Algebra Now with numbers: 1 2 3 4 100 10 1*100 + 2*10 1 2 3 4 100 10 1*100 + 2*10 3*100 + 4*10 120 340 * = = Step 2: Multiply the first element in the first matrix row by the top element in the column vector Multiply the second element in the first matrix row by the second element in the column vector Add these products together to get top element in results vector

Matrix Algebra Now with numbers: 1 2 3 4 100 10 1*100 + 2*10 1 2 3 4 100 10 1*100 + 2*10 3*100 + 4*10 120 340 * = = Step 2: Multiply the first element in the second matrix row by the top element in the column vector Multiply the second element in the second matrix row by the second element in the column vector Add these products together to get bottom element in results vector

The same process is used for larger matrices: Matrix Algebra The same process is used for larger matrices: 1 2 4 4 5 7 7 8 0 1 2 3 1*1 + 2*2 + 4*3 4*1 + 5*2 + 7*3 7*1 + 8*2 + 0*3 17 35 23 * = = Note: The results vector will always have the same dimensions as the column vector being multiplied

The same process is used for larger matrices: Matrix Algebra The same process is used for larger matrices: 1 2 4 4 5 7 7 8 0 1 2 3 1*1 + 2*2 + 4*3 4*1 + 5*2 + 7*3 7*1 + 8*2 + 0*3 17 35 23 * = = In-class exercise: 9 8 7 6 5 4 3 2 1 5 6 7 ? * =

Matrix Algebra The same process is used for larger matrices: 1 2 4 1 2 4 4 5 7 7 8 0 1 2 3 1*1 + 2*2 + 4*3 4*1 + 5*2 + 7*3 7*1 + 8*2 + 0*3 17 35 23 * = = In-class exercise: 9 8 7 6 5 4 3 2 1 5 6 7 9*5 + 8*6 + 7*7 6*5 + 5*6 + 4*7 3*5 + 2*6 + 1*7 142 88 34 * = = Let’s take this matrix algebra primer and apply it to population growth

We can take the equations we built last class: Leslie Matrix We can take the equations we built last class: 0Nt+1 = 0F * 0Nt + 1F * 1Nt + 2F * 2Nt + 3F * 3Nt 1Nt+1 = 0S * 0Nt 2Nt+1 = 1S * 1Nt Column vector of age-structured population size at time t Results vector of age-structured population size at time t+1 3Nt+1 = 2S * 2Nt and organize them using matrices: 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 0Nt 1Nt 2Nt 3Nt = *

Leslie Matrix We can take the equations we built last class: 0Nt+1 = Total # offspring 0Nt+1 = 0F * 0Nt + 1F * 1Nt + 2F * 2Nt + 3F * 3Nt 1Nt+1 = 0S * 0Nt Survival from age 0 to age 1 2Nt+1 = 1S * 1Nt Survival from age 1 to age 2 3Nt+1 = 2S * 2Nt Survival from age 2 to age 3 and organize them using matrices: 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 0Nt 1Nt 2Nt 3Nt = *

Leslie Matrix Nt+1 = L Nt 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0F 1F 2F 3F 0S 0 0 0 * A Leslie matrix is specific to the population being studied Leslie Matrix (L): Matrix of survival and fecundity rates (note: matrix and vector abbreviations are denoted in bold) The matrix multiplication above can be written as simply: Nt+1 = L Nt Where L is the Leslie matrix, and Nt and Nt+1 are vectors of age-structured population sizes Look familiar?  Nt+1 = λ Nt

Remember, ORDER MATTERS for matrix multiplication! Leslie Matrix 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 0Nt 1Nt 2Nt 3Nt = * Remember, ORDER MATTERS for matrix multiplication! 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0Nt 1Nt 2Nt 3Nt 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 = *

Leslie Matrix 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 = * Fecundities are always in the first row of the Leslie matrix When an age-class (e.g., age 0) has 0 fecundity, the Leslie matrix is sometimes written as: 0 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0

Leslie Matrix 0Nt+1 1Nt+1 2Nt+1 3Nt+1 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 When we talk about stage structure (next week), we will have values on the diagonal For age structure, the diagonal (aside from 0F) will always be zero = * Survival rates are on the sub-diagonal

Leslie Matrix A good way to remember where fecundities and survivals go is to label the matrix positions (i.e., elements) Each column represents an age class at time t Each row represents an age class at time t+1 Time, t Time, t Age 0 1 2 3 Age 0 1 2 3 1 2 3 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 1 2 3 0,0 1,0 2,0 3,0 0,1 1,1 2,1 3,1 0,2 1,2 2,2 3,2 0,3 1,3 2,3 3,3 Time, t + 1 Time, t + 1 Positions are labeled with the column first (makes sense: time t first)

Leslie Matrix Each labeled element represents a transition (from time t to t+1): 0, 0 : Transition from age 0 to age 0 0, 1 : Transition from age 0 to age 1 0, 2 : Transition from age 0 to age 2 Possible? Yes, if age 0 reproduce: 0F Absolutely! 0S No (can’t age 2 years in 1 year) Time, t Time, t Age 0 1 2 3 Age 0 1 2 3 1 2 3 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 1 2 3 0,0 1,0 2,0 3,0 0,1 1,1 2,1 3,1 0,2 1,2 2,2 3,2 0,3 1,3 2,3 3,3 Time, t + 1 Time, t + 1 Positions are labeled with the column first (makes sense: time t first)

Leslie Matrix A few more transitions: 1, 0 : Transition from age 1 to age 0 1, 1 : Transition from age 1 to age 1 Possible? Yes, if age 1 reproduce: 1F Not for age structure (possible for stage structure) Time, t Time, t Age 0 1 2 3 Age 0 1 2 3 1 2 3 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 1 2 3 0,0 1,0 2,0 3,0 0,1 1,1 2,1 3,1 0,2 1,2 2,2 3,2 0,3 1,3 2,3 3,3 Time, t + 1 Time, t + 1 Positions are labeled with the column first (makes sense: time t first)

Leslie Matrix One more transition: 3, 3 : Transition from age 3 to age 3 Not possible for age structure Assume that the oldest age class (age 3 here) dies before next time step We will relax this assumption for stage structure Time, t Time, t Age 0 1 2 3 Age 0 1 2 3 1 2 3 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 1 2 3 0,0 1,0 2,0 3,0 0,1 1,1 2,1 3,1 0,2 1,2 2,2 3,2 0,3 1,3 2,3 3,3 Time, t + 1 Time, t + 1 Positions are labeled with the column first (makes sense: time t first)

Leslie Matrix Leslie matrix includes all mathematically possible transitions including individuals getting younger, e.g., 2,1 3,1 3,2 The impossible transitions have values of zero in Leslie matrix Time, t Time, t Age 0 1 2 3 Age 0 1 2 3 1 2 3 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 1 2 3 0,0 1,0 2,0 3,0 0,1 1,1 2,1 3,1 0,2 1,2 2,2 3,2 0,3 1,3 2,3 3,3 Time, t + 1 Time, t + 1 Positions are labeled with the column first (makes sense: time t first)

Leslie Matrix To summarize: There are two ways that biologically possible transitions can occur in age-structured models Cohorts age (the sub-diagonals)  proportion aging is the survival rate (always < 1) Cohorts reproduce (first row)  per capita fecundity rates ( ≥ 0) Time, t Time, t Age 0 1 2 3 Age 0 1 2 3 1 2 3 0F 1F 2F 3F 0S 0 0 0 0 1S 0 0 0 0 2S 0 1 2 3 0,0 1,0 2,0 3,0 0,1 1,1 2,1 3,1 0,2 1,2 2,2 3,2 0,3 1,3 2,3 3,3 Time, t + 1 Time, t + 1 Positions are labeled with the column first (makes sense: time t first)

Honeyeater Leslie Matrix Let’s build the Leslie matrix for the honeyeaters!

Honeyeater Leslie Matrix General Honeyeater Leslie matrix Honeyeater xS and xF General Honeyeater Leslie matrix (xS) 0F 1F 2F 3F 4F 5F 6F 7F 8F 9F 0S 1S 2S 3S 4S 5S 6S 7S 8S 0F = 0 1F = 2F = … = 9F = 0.48

Honeyeater Leslie Matrix 0.48 0.703 0.717 0.751 0.769 0.746 0.806 0.778 0.667 We can now forecast age-structured population growth given the age distribution of the population (i.e., a column vector, Nt)! We’ll do an example next class

Continue with Age Structure Practice forecasting growth Looking Ahead Next Class: Continue with Age Structure Practice forecasting growth