

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


MATLAB Project: Using Eigenvalues to Study Spotted Owls Name: Recitation Section:
Purpose: To use eigenvalues and eigenvectors to understand the dynamics of this population and determine experimentally the critical rate for survival of juveniles to subadults ā the value which that rate must equal or exceed for the population to survive. Prerequisites: Sections 5.5 & 5. MATLAB funtions used: ā, , :, sum, abs, for, eig, plot
Background. The spotted owls have three distinct life stages: juvenile (first year), subadult (second year) and adult (third
year and older). Let xk =
jk sk ak
 (^) and A =
t 0 0
, where jk, sk and ak denote the number of owls in each
stage in year k and xk+1 = Axk. (The analysis on pages 349 to 351 in the text shows that the owl population seems to die out eventually if t = .18 and seems to increase eventually if t = .30).
Definition. A dominant eigenvalue of a matrix A is an eigenvalue λ 1 of A such that |λ 1 | ℠|λi| for all eigenvalues λi of A.
It is true that the special type of matrix we are discussing here has only one dominant eigenvalue, so we will speak of ātheā dominant eigenvalue Ī» 1. In fact, for all the matrices here, Ī» 1 is actually positive, so |Ī» 1 | = Ī» 1.
To begin, type the appropriate commands to get the matrix for t = .18, A =
, and x0 =
Then type the following lines: eig(A) (a vector containing the eigenvalues of A) abs(eig(A)) (a vector containing the modulus (absolute value) of each entry of eig(A)) You will see the largest magnitude entry is 0.9836, so that is Ī» 1. Record it in the table below, under t = .18. Next type A( 2 , 1 ) =. 19 and use the up arrow key to execute the two lines above again. Repeat this for each value of t shown in the table below, and record the dominant eigenvalue each time:
Survival rate juv ā subadult
t = .18 .20 .22 .24 .25 .26 .28.
Dominant eigenvalue of A:
Ī»
Of the values you used for t, which is the smallest one for which Ī» 1 ā„ 1? We will call this the ācritical valueā of t.
MATLAB Project: Using Eigenvalues to Study Spotted Owls Page 2 of 3
v 1 = v 2 = v 3 =
Also record the eigenvalues of A that correspond to each of these columns:
Ī» 1 = Ī» 2 = Ī» 3 = (b) (Hand) It is true that {v 1 , v 2 , v 3 } is a basis for the vector space C^3 , so any vector can be written as a linear combination of v 1 , v 2 , v 3.^1 Let x 0 denote an initial vector and define xk = Axkā 1. Suppose c 1 , c 2 and c 3 are scalars such that x 0 = c 1 v 1 + c 2 v 2 + c 3 v 3. Using this equation, explain what xk will look like after k years, and why, if c 1 6 = 0, the population of owls will not die out. You must use the fact that Ī» 1 ā„ 1.
(c) Let the initial vector be x 0 =
. Type the following lines to rearrange the columns of V so the eigen-
vector corresponding to Ī» 1 is the first column, and then to solve x 0 = c 1 v 1 + c 2 v 2 + c 3 v 3 for the cā² is:
V = V(:, [3 1 2]) (Create V = [v 1 v 2 v 3 ]) c = V\x 0 (Solve V c = x 0 for c)
Record the coefficients: (^) c 1 = c 2 = c 3 =
Notice c 1 is not zero, so the owl population will definitely not die out when x 0 =
is the initial vector.
(^1) The space C (^3) is much like R (^3) : its elements are triples of complex numbers, and its scalars are the complex numbers. Also, {(1, 0 , 0), (0, 1 , 0), (0, 0 , 1)} is a basis for C^3 so its dimension is three, hence any three independent vectors in C^3 form a basis for the space. Finally, the vectors v 1 , v 2 , v 3 found in question 2 are independent ā you can check that directly, or just notice that the eigenvalues of A are distinct.