
The demography of your invented creature.
The demography of your invented creature.
Eigenvalues and eigenvectors.
Before answering these exercises,
Study and then run “mat2valvecs_08.m”
1. Obtain all the eigenvectors and eigenvalues for your matrix, using the MATLAB function
«eig». Type «help eig» to learn how to get all these and to read them. Study the example of
the turtle demography in the m-script. For example, if your matrix is named «mymat» then
you should type «[V,D] = eig(mymat)». The columns of V will be the eigenvectors and the
diagonal of D will be the eigenvalues. You will want eigenvalues, eigenvectors, absolute
magnitudes of the eigenvalues, and you will want to convert the appropriate vectors to: stable
stage distribution, reproductive values and population growth rates, but first you will
investigate them more fully.
a) There is a list of eigenvalues; there are more eigenvalues than the dominant one! Some are real
numbers and some are complex numbers. Recall that a complex number is written a+bi, where a
is the real part and bi is the imaginary part and i is the square root of -1. Complex numbers occur
in conjugate pairs: a+bi and a-bi. Identify the real and the complex eigenvalues.
b) There are several eigenvectors. Each eigenvector is associated with its own eigenvalue.
Real eigenvalues have real eigenvectors, while complex eigenvalues have complex eigenvectors.
Eigenvectors are “directions” and eigenvalues are the “speeds” associated with each direction.
Both complex and real numbers affect dynamics. To understand the dynamics over time, one
needs to consider how “fast” the system will move in each direction.
2. Write the solution to the projection equation (Caswell 2001, Equation 4.49) for your matrix.
Don't try to find a numerical representation of the c's, just use the symbols for the c's. The rest of
the numbers can be found from a consideration of what is on your printout. Give a word-meaning
for the projection equation. Save the eigenvalues and eigenvectors of your creature in a “*.mat”
file, so you can call them up again when you need them.
3. Investigate eigenvalues that are real numbers in the MATLAB work space, you can just work
in the command window, then write down the results for each lambda suggested here. Make a
table in which the left hand column is the sequence: λ1, λ2, λ,3λ4, λ 5,λ 6. Across the top of the table,
enter the following column headings: λ =2, λ =1, λ =1/2, λ =-1/2, λ =-1, λ =-2. Fill in the
table. What happens as λ is raised to successively higher powers? Make some general rules: if
λ>1, if λ =1, if λ is positive but <1, if λ is negative but >-1, if λ =-1, if λ <-1., do the powers of λ
increase exponentially, decrease exponentially, exhibit damped oscillation, exhibit undamped
oscillation, exhibit diverging oscillation?
4. What about complex numbers? Evaluate the behavior of a complex number that is raised to
successively higher powers in the MATLAB command window, you don’t need a file, but you
should visualize what’s happening in the complex plane using the compass command. Try the
complex number 2+.5i; next try the complex number .5+.5i. Plot the values of successively higher