Seen Questions
Worked solutions on discrete stability, diagonalisation, linear systems, matrix powers and Markov models.
These exam questions use eigenvalues and diagonalisation to analyse matrix powers, stability, linear differential systems and the long-term behaviour of Markov models.
Long-term behaviour of the modes
Suppose is diagonalisable, so it has an eigenbasis. A mode contribution with decays to zero when , has constant magnitude when and grows when . Without an eigenbasis, a Jordan block can produce additional factors such as , so the diagonalisation hypothesis is what makes this scalar classification complete (especially at the unit circle).
Stability of two discrete-time systems
Let
Consider the discrete-time systems
Here “stable” uses the convention from the discrete stability notes: every solution must tend to zero in the stated time direction. A bounded but non-decaying unit-modulus mode is a boundary case, not stable under this convention.
Select all true statements:
- The first DTS is stable as .
- The first DTS is stable as .
- The second DTS is stable as .
- The second DTS is stable as .
Solution
Forward behaviour depends on the powers and . Eigenmodes with modulus less than decay as and those with modulus greater than grow. A unit-modulus eigenvalue must be checked for Jordan-block factors such as . For , the same test applies to the inverse matrix.
For the first matrix, write
For , the binomial theorem truncates because :
For , , so the binomial theorem and give
For example,
This vector is unbounded both as and as . Thus the first DTS is not stable in either direction. The cause is not the unit eigenvalue alone: the non-trivial Jordan block creates the factor .
Let
Their product is
Hence and the displayed expression is the diagonalisation , with . Its eigenmodes are constant multiples of and . Therefore
so the second DTS is stable as . In the reverse direction, the eigenvalues of are and . Writing gives with , so non-zero inverse modes grow. The second DTS is therefore not stable backwards in time.
The only true statement is
This is the matrix version of the modulus test for discrete modes. Reversing time replaces each non-zero eigenvalue by its reciprocal, which is why the second system is stable forwards but not backwards.
[exam]
First-order linear system
A first-order linear system with constant coefficient matrix has the form
where and is an matrix. Specifying makes this an initial-value problem.
A system with zero initial derivative
Consider
We wish to solve the system of differential equations
subject to the initial condition
The solutions of this system form a vector space .
(a) Find .
(b) Find a basis for .
Solution
The condition prescribes the initial derivative rather than the initial state, so may vary and the condition selects a subspace of the general solution.
Solve the triangular component equations from the bottom upwards, then impose the condition on the derivative at . Multiplying out gives
The last equation gives
for a constant . Substituting this into the second equation and integrating gives
Now substitute and into the first equation:
Integrating once more gives the general solution
Differentiate this expression and evaluate at :
The initial condition therefore gives
The second equation forces and the first then forces . The constant remains free, so
Consequently,
and one basis is
As a check, , so every function in the displayed family is constant and has zero derivative. Equivalently, the condition requires the initial vector to lie in , which gives the same one-dimensional solution space.
[exam]
- [1]:First-order linear system
- [2]:Basis
- [3]:Dimension
Diagonalisation
An matrix over a field is diagonalisable over if there are an invertible matrix and a diagonal matrix such that
The columns of are the eigenvectors in the chosen eigenbasis and the corresponding eigenvalues appear on the diagonal of .
Diagonalisation of a stress matrix
Keegan and Hongyi are engineers studying the stress on a certain physical object. This stress can be expressed as a matrix and Keegan and Hongyi are particularly interested in the diagonalisation of . After some computations, Keegan discovers that
where
where is some unknown parameter.
(a) Which statements are true?
Which of the following are true about Keegan and Hongyi's matrices? Select all that apply.
- If is an eigenvalue of , then
- The vectors are eigenvectors of .
- The columns of are linearly independent.
- .
(b) A normalised eigenvector
Keegan and Hongyi are also interested in finding a normalised set of the eigenvectors of . That is, they want eigenvectors of length .
Suppose Hongyi writes to denote an eigenvector of of length with the corresponding eigenvalue . Using Keegan's diagonalisation of , find a valid choice for .
Square roots, multiplication and exponents were to be written in Maple syntax; for example,
3\sqrt2 \quad\text{may be entered as}\quad \texttt{3*sqrt(2)} \quad\text{or}\quad \texttt{3*(2)^(1/2)}.(c) A matrix power applied to a vector
Keegan and Hongyi are also interested in finding the vector , where , for all .
In one trial, suppose Hongyi considers
Use the above diagonalisation of , or otherwise, to find the components of
(d) When does the nullity become non-zero?
A second pair of engineers, Max and Mira, uses Keegan's diagonalisation. For this part only, allow to range over all real values rather than imposing the restriction from parts (a)--(c). In Max's simulations, the program runs whenever . There exists only one choice of for which the software fails and Mira is tasked with finding this value.
Which choice of gives ? In words, briefly explain your answer.
Solution
The equation is a similarity relation. Multiplying it on the left by and on the right by gives
This relation carries eigenvalues, eigenvectors, powers and invertibility between and the diagonal matrix .
(a) Testing the statements
For positive integers , diagonalisation gives
Since , the diagonal entries do not converge to finite limits. If had a finite limit, then would also have a finite limit, which is impossible. Therefore statement 1 is false.
The eigenvalues of are the diagonal entries of , namely . Thus the correct characteristic-root equation is
not the equation with plus signs in statement 2. Statement 2 is false.
The three vectors in statement 3 are non-zero scalar multiples of the standard basis vectors. Direct multiplication gives
and
Hence statement 3 is true.
Because , and are all non-zero, is invertible. The matrix is invertible because appears in the given relation, so is invertible. An invertible square matrix has linearly independent columns, so statement 4 is true. Statement 5 is the relation derived above:
Therefore the true statements are
(b) Finding
Let
Since , the corresponding eigenvector of is :
The first column of is
whose length is
Dividing by this length gives the valid normalised choice
Then and . Its negative is an equally valid choice.
(c) Finding
The diagonal entries , and are non-zero, so is invertible and the diagonalisation power identity is valid for every , not only for non-negative . Using ,
For the given vector,
Multiplying by gives
Therefore
The factor cancels , so acts directly as a vector of diagonal coordinates.
(d) Finding the value that makes singular
Similarity preserves the nullity, so
The diagonal matrix is singular exactly when one of its diagonal entries is zero. The entries and are non-zero, so
At , has rank and nullity and so does . The required value is
This value is admissible because part (d) lifts the restriction that applies to parts (a)--(c).
Matrix representation of a linear map
Let be a linear map, where and . For ordered bases
form the coordinate columns
Then
is the unique matrix satisfying
We call the matrix representation of relative to and and may write it as .
With this notation, the subscript names the domain basis and the superscript names the codomain basis, matching the direction in the displayed coordinate identity.
The homogeneous-system test
Let and let
Then is linearly independent if and only if the homogeneous system
has only the zero solution. Equivalently, after row reduction, every column of contains a pivot. If a column has no pivot, the free variable in that column produces a non-trivial dependence relation among the original columns.
Discrete stability
For the linear systems considered here, a system is stable when every solution satisfies as and unstable when some solution is unbounded.
A linear map, bases and a discrete-time system
Consider the linear map given by
The following eigenvalue computation is useful:
T = [ 103/126 -37/126 15/56
-25/252 157/252 15/56
-11/252 19/126 115/168 ];
e = eig(T)
e = 3x1
0.4166
0.7916
0.9166(a)
Suppose is a set of three vectors. Select all of the following sets for which is a basis for :
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- .
(b)
Suppose is a basis for and let denote the matrix of with respect to the basis . Define the discrete-time system
Select all true statements about and this system:
- The eigenvalues of are not necessarily the same as those of .
- There exist some such that the stability of the DTS depends on the choice of .
- There exist some such that for all , the DTS is unstable as .
- The determinant of does not change depending on .
- There exist some such that for all , the DTS is stable as .
- The DTS has undefined behaviour for some choices of .
Solution
Put the vectors in each candidate basis into a matrix as columns. A set of three vectors in is a basis exactly when this matrix has a pivot in every column, equivalently when its determinant is non-zero.
For the first, second, eighth, ninth and tenth candidates, elementary row reduction gives
The corresponding determinants are, respectively,
so these five sets are bases.
For the remaining candidates, the row reductions give
Each of these has only two pivots and the dependence relations are respectively
The third relation follows because candidate five contains the zero vector. Therefore the correct selections in part (a) are
For part (b), if is the matrix whose columns are the vectors in the ordered basis , then
Thus is similar to , so they have the same characteristic polynomial, eigenvalues and determinant. The decimal output suggests rational eigenvalues. For a monic factorisation, use the alternative convention , which has the same roots as the course convention . An exact calculation gives
Thus the exact eigenvalues are , and .
All three eigenvalues are distinct and satisfy . Therefore the eigenvectors form a basis and every forward trajectory has the form
for eigenvectors of . Every term tends to zero as , so the DTS is asymptotically stable for every basis and every initial state.
Because is invertible, negative times are defined. If , at least one coefficient is non-zero. In the eigenbasis, the corresponding coordinate is
Since a fixed change of basis preserves boundedness, every non-zero initial state is unbounded backwards in time.
Finally,
which is independent of . The eigenvalues also cannot change and no choice of basis makes the system undefined.
Thus the true statements are
Changing the basis changes coordinates but not the linear map, so the eigenvalues and determinant are the same for every . With every eigenvalue strictly inside the unit circle, trajectories decay forwards and grow backwards, whatever the basis.
Transition matrix
An transition matrix for a Markov system has non-negative entries and each column sums to :
Markov system
A Markov system is the discrete dynamical system
where is a transition matrix and is the state vector at time .
A sufficient condition for long-term Markov behaviour
Suppose that a transition matrix satisfies:
- is an eigenvalue with algebraic multiplicity ;
- every other eigenvalue has ;
- there is a basis of eigenvectors for .
Then has a limit in the eigenspace for . It is the unique vector in that eigenspace whose component sum equals the component sum of ; it may be zero when that sum is zero. If is a probability vector, then is the stationary distribution and does not depend on the initial probabilities.
A three-state population model
Each year the populations of South Australia, Western Australia and Tasmania migrate as follows:
- four fifths of those in South Australia and four fifths of those in Tasmania move to Western Australia;
- one quarter of those in Western Australia move to South Australia and one half of those in Western Australia move to Tasmania;
- because of animosity between South Australia and Tasmania due to the infamous koala wars, no one ever moves directly between these two states.
Let be the populations of South Australia, Western Australia, and Tasmania, respectively, after years and let
Assume that the initial total population of the three states is million.
The following partially redacted computation supplies the eigenvalues and an eigenbasis once the transition matrix has been found.
>> B = [partially redacted]
B =
[partially redacted]
[partially redacted]
[partially redacted]
>> [V,D] = eig(B)
V =
-1.0000 0.5000 0.5000
0.0000 -1.5000 1.6000
1.0000 1.0000 1.0000
D =
0.2000 0 0
0 -0.5500 0
0 0 1.0000
>>(a) Find the Markov matrix that describes the population dynamics
Write the matrix explicitly.
(b) State the eigenvalues of
Give the eigenvalues as exact rational values.
(c) Find the eventual long-term population distribution
What is the eventual long-term population distribution of the three states after years as ?
Give each limiting population in millions to at least two decimal places.
Solution
Use the column convention in . Each column describes where the people from one state go.
For people starting in South Australia, one fifth remain in South Australia and four fifths move to Western Australia. For people starting in Western Australia, one quarter move to South Australia, one quarter remain in Western Australia and one half move to Tasmania. For people starting in Tasmania, one fifth remain in Tasmania and four fifths move to Western Australia. Therefore
Equivalently,
[1/5, 1/4, 0; 4/5, 1/4, 4/5; 0, 1/2, 1/5]The columns sum to , so the total population is preserved:
To find the eigenvalues exactly, use the monic convention from the previous question:
Thus
The eigenvalues, in the requested row-vector format, are
For the long-term distribution, observe that the other two eigenvalues satisfy
while is a simple eigenvalue. The three distinct eigenvalues give an eigenbasis, so the two non-stationary modes decay to zero. Every initial population vector with total million therefore converges to the same stationary vector and the initial split between the states is not needed.
The stationary vector spans the eigenspace for . Let
and solve . The first and third coordinates give
and
Therefore the stationary vector has the ratio
Write it as
The total population is million, so
Hence the limiting populations are
and
The eigenvalue- mode carries the long-term distribution, while the two decaying modes record transient migration.