Docsity

Markov Chains: Steady State and Eigenvalues - Finding the Dominant Eigenvector - Prof. Tim, Study notes of Mathematics

Partial preview of the text

Download Markov Chains: Steady State and Eigenvalues - Finding the Dominant Eigenvector - Prof. Tim and more Study notes Mathematics in PDF only on Docsity!

Markov Chains – steady state and

eigenvalues

Tim Chartier

Department of Mathematics @

Math 381

Announcement

Wednesday’s class will be in

Communications B-027.

We will be using MATLAB.

Transition Matrix

This leads to the following transition matrix and transition diagram: A =

Taking lots of steps

Recall

v^1 = A v^0 , v^2 = A v^1 = A ( A v^0 ) = A^2 v^0 , v^3 = A v^2 = A ( A^2 v^0 ) = A^3 v^0 , .. . v n +^1 = A v n^ = A ( An −^1 v^0 ) = An +^1 v^0 ,

Therefore, v^100 = A^100 v^0. In MATLAB, v^100 would be found using the following command: v100 = Aˆ100*v

Eigenvalue and eigenvector review

Let A be a square m × m matrix with real elements. Recall from linear algebra that a scalar value λ is an eigenvalue of the matrix A if there is a nonzero vector v (the corresponding eigenvector) for which

A v = λ v.

If v is an eigenvector, then so is α v for any scalar value α.

Characteristic polynomial

In general A has m eigenvalues λ 1 ,... , λ m , which can be determined by finding the roots of a polynomial of degree m in λ. Why? A v = λ v ⇒ ( A − λ I ) v = 0 , where I is the m × m identity matrix. Since v is a nonzero null-vector of this matrix, it must be singular. Hence its determinant is zero,

det( A − λ I ) = 0.

Computing the determinant gives the polynomial.

A more complex example

Keep in mind that even real matrices can have complex eigenvalues. Consider the matrix

A =

Then to find the eigenvalues we find:

det( A − λ I ) = ( 1 − λ)( 3 − λ) + 8 = λ^2 − 4 λ + 11 ,

Setting this polynomial to zero, we find

λ =

= 2 ± i

Return to example

We know the eigenvalues of:

A =

are −1 and 5. Let’s find the eigenvectors associated with λ = −1. To find the eigenvector(s) associated with the eigenvalue λ = −1, find nonzero vectors v = ( v 1 , v 2 ) T^ satisfying ( 1 − λ 2 4 3 − λ

v 1 v 2

v 1 v 2

Using Gaussian elimination, we find: ( 2 2 0 4 4 0

Is this vector unique?

Why does the Markov process converge to an eigenvector associated with the eigenvalue 1? Further, is this even a unique eigenvector? The following theorem guarantees the uniqueness of the steady-state vector and that it will have positive entries:

Theorem (Perron) Every real square matrix P who entries are all positive has a unique eigenvector with all positive en- tries, its corresponding eigenvalue has multiplicity one, and it is the dominant eigenvalue, in that every other eigenvalue has strictly smaller magnitude.

Properties of transition matrices

Let M be a Markov transition matrix. Recall that the columns of M sum to 1. Therefore, 1 M = 1 , where 1 is the column vector of all ones. That is, 1 is an left eigenvector of M associated with the eigenvalue 1, most notably for our purposes having all positive entries. Perron’s Theorem ensures that 1 is the unique left eigenvector with all positive entries, and hence its eigenvalue must be the dominant one. The right and left eigenvalues of a matrix are the same, therefore 1 is the dominant left eigenvalue as well. So, there exists a unique steady-state vector v that satisfies∑ v M = v. Normalizing this eigenvector so that v i = 1 gives a steady-state vector.

Converging to what?

We have established convergence, but not yet to what vector. In the development to come, we will use the following:

|λ n | → 0 as n → ∞ if |λ| < 1 , |λ n | = 1 for all n if |λ| = 1 , |λ n | → ∞ as n → ∞ if |λ| > 1 ,

Full set of eigenvectors

Assume M has n linear independent eigenvectors. Thus, for an arbitrary initial guess x (^0 )^ (such that ∑ x ( i^0 )= 1), we can express it as a linear combination of the eigenvectors { v 1 , v 2 ,... , v n } of M :

x (^0 )^ = c 1 v 1 + c 2 v 2 +... + cn v n ,

Establishing a Pattern

Therefore, in general we have

x ( k^ )^ = Mk^ x (^0 ) = c 1 (λ 1 ) k^ v 1 + c 2 (λ 2 ) k^ x 2 +... + cn (λ n ) k^ v n.

Recall, we know from Perron’s theorem that λ 1 = 1 and λ i < 1 for i > 1. Therefore, our Markov process will converge to c 1 v 1. But, c 1 will equal 1 since

x ( i^0 )= 1.

Guaranteed convergence

Therefore, the Markov process is guaranteed to converge to the desired dominant eigenvector. Keep in mind, however, that this assumes that the transition matrix is irreducible. Further, we also had the uniqueness of the steady-state vector stemming from the entries of the transition matrix being positive. Next time, we will see examples that don’t meet all these assumptions.