Markov Chain Steady State (?were am i going wrong?)

Click For Summary

Homework Help Overview

The discussion revolves around finding the steady state of a transition matrix associated with a Markov chain. The transition matrix provided is a 3x3 matrix, and participants are attempting to solve for a vector that satisfies the equation involving the matrix and the vector under a normalization constraint.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants describe setting up a system of linear equations derived from the transition matrix and the steady state condition. There is mention of confusion regarding the correct formulation of the equations and the representation of the steady state vector.

Discussion Status

Some participants have raised questions about the conventions used in defining the steady state vector, particularly whether to treat it as a row or column vector. Guidance has been offered regarding the need to check the conventions used in different sources, and some participants are considering transposing the matrix as a potential solution.

Contextual Notes

There is a noted difference in conventions regarding transition matrices, with some sources using row sums and others using column sums. This has led to confusion among participants about the correct approach to solving the problem.

Tamis
Messages
7
Reaction score
0

Homework Statement



Subpart of the question requires me to find the steady state of the transition matrix:
P=\begin{bmatrix}<br /> 0.1 &amp; 0.7 &amp; 0.2 \\ <br /> 0.1 &amp; 0.8 &amp; 0.1\\ <br /> 0.3 &amp; 0.1 &amp; 0.6<br /> \end{bmatrix}

Homework Equations


We thus need to find vector \boldsymbol{v} in the equation P\boldsymbol{v}=\boldsymbol{v} under the constraint sum(\boldsymbol{v})=1.

The Attempt at a Solution


Basically a system of linear equations with the added constraint:
\begin{matrix}<br /> -0.9x_1 &amp;+&amp; 0.7x_2 &amp;+&amp; 0.2x_3 &amp; = 0 \\ <br /> 0.1x_1 &amp;+&amp; -0.2x_2 &amp;+&amp; 0.1x_3 &amp; = 0 \\ <br /> 0.3x_1 &amp;+&amp; 0.1x_2 &amp;+&amp; -0.4x_3 &amp; = 0 \\ <br /> x_1 &amp;+&amp; x_2 &amp;+&amp; x_3 &amp; = 1 <br /> \end{matrix}

I put this in matrix form:
\begin{bmatrix}<br /> -0.9 &amp; 0.7 &amp; 0.2 &amp; | 0\\ <br /> 0.1 &amp; -0.2 &amp; 0.1 &amp; | 0\\ <br /> 0.3 &amp; 0.1 &amp; -0.4 &amp; | 0\\<br /> 1 &amp; 1 &amp; 1 &amp; | 1<br /> \end{bmatrix}

and solve:
\begin{bmatrix}<br /> 1 &amp; 0 &amp; 0 &amp; | \frac{1}{3}\\ <br /> 0 &amp; 1 &amp; 0 &amp; | \frac{1}{3}\\ <br /> 0 &amp; 0 &amp; 0 &amp; | 0\\<br /> 0 &amp; 0 &amp; 1 &amp; | \frac{1}{3}<br /> \end{bmatrix}

However this is wrong as the answer states:
\boldsymbol{v}=\begin{bmatrix}<br /> 0.1+0.2\frac{3}{16} \\<br /> 0.9-1.2\frac{3}{16} \\<br /> \frac{3}{16} \\<br /> \end{bmatrix}


Can anyone tell me were i am going wrong? Not entirely sure how to find the steady state of a markov chain. The only examples i can find are examples of steady states in 2x2 transition matrices.
 
Physics news on Phys.org
Tamis said:

Homework Statement



Subpart of the question requires me to find the steady state of the transition matrix:
P=\begin{bmatrix}<br /> 0.1 &amp; 0.7 &amp; 0.2 \\ <br /> 0.1 &amp; 0.8 &amp; 0.1\\ <br /> 0.3 &amp; 0.1 &amp; 0.6<br /> \end{bmatrix}

Homework Equations


We thus need to find vector \boldsymbol{v} in the equation P\boldsymbol{v}=\boldsymbol{v} under the constraint sum(\boldsymbol{v})=1.

The Attempt at a Solution


Basically a system of linear equations with the added constraint:
\begin{matrix}<br /> -0.9x_1 &amp;+&amp; 0.7x_2 &amp;+&amp; 0.2x_3 &amp; = 0 \\ <br /> 0.1x_1 &amp;+&amp; -0.2x_2 &amp;+&amp; 0.1x_3 &amp; = 0 \\ <br /> 0.3x_1 &amp;+&amp; 0.1x_2 &amp;+&amp; -0.4x_3 &amp; = 0 \\ <br /> x_1 &amp;+&amp; x_2 &amp;+&amp; x_3 &amp; = 1 <br /> \end{matrix}

I put this in matrix form:
\begin{bmatrix}<br /> -0.9 &amp; 0.7 &amp; 0.2 &amp; | 0\\ <br /> 0.1 &amp; -0.2 &amp; 0.1 &amp; | 0\\ <br /> 0.3 &amp; 0.1 &amp; -0.4 &amp; | 0\\<br /> 1 &amp; 1 &amp; 1 &amp; | 1<br /> \end{bmatrix}

and solve:
\begin{bmatrix}<br /> 1 &amp; 0 &amp; 0 &amp; | \frac{1}{3}\\ <br /> 0 &amp; 1 &amp; 0 &amp; | \frac{1}{3}\\ <br /> 0 &amp; 0 &amp; 0 &amp; | 0\\<br /> 0 &amp; 0 &amp; 1 &amp; | \frac{1}{3}<br /> \end{bmatrix}

However this is wrong as the answer states:
\boldsymbol{v}=\begin{bmatrix}<br /> 0.1+0.2\frac{3}{16} \\<br /> 0.9-1.2\frac{3}{16} \\<br /> \frac{3}{16} \\<br /> \end{bmatrix}Can anyone tell me were i am going wrong? Not entirely sure how to find the steady state of a markov chain. The only examples i can find are examples of steady states in 2x2 transition matrices.

You need to solve πP = π for a row vector π, not Pv = v for a column vector v. Also, you should leave out one of the three equations in π = πP and replace it by sum(π) = 1.

Note that *some* sources use transition matrices where the columns sum to 1 instead of the rows; that is, their transition matrices are transposes of yours. In those cases it is, indeed, true that you would need to solve Tv = v, where T is the transition matrix (with column-sums = 1). Every textbook or research monograph I have ever seen about probability and its applications, or about Operations Research, etc., uses the convention that rows sum to 1. For some mysterious reason, many web pages use the other convention, and that can be dangerous if you do not check before using their results. Of course, there are hundreds of books I have not seen, and some of them may use the column-sum = 1 convention; I think it is more common in Asia.
 
Last edited:
Thnx for the reply! I wasn't aware of this row vector convention, seems rather strange to me. Now i just transpose the transition matrix and use the 'normal method'.
 
Tamis said:
Thnx for the reply! I wasn't aware of this row vector convention, seems rather strange to me. Now i just transpose the transition matrix and use the 'normal method'.

What I wrote is not a 'vector convention'. The steady-state distribution obeys some equations, and the issue is: how do you remember those equations? The easiest way is to recognize that they *can be written as* π = πP for a row vector π; but that is not the original source of the equations, it is just a memory aid.

The real issue is to always check with a reference as to whether their 'transition' matrices have row-sums or column-sums equal to 1.
 

Similar threads

Replies
6
Views
2K
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
7K
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
44
Views
5K
Replies
16
Views
2K