Markov chain: finding a general solution

Click For Summary
SUMMARY

The discussion centers on solving a system of equations represented by the matrix A derived from a stochastic matrix P. The matrices provided are P, which describes the transition probabilities among states s_1 to s_5, and A, which is a submatrix of I - P. The key equations involve determining the vector y = (x_2, x_3, x_4) that satisfies Ay = b, where b is to be determined. The conversation highlights the importance of understanding absorbing states and transient classes in Markov chains to find the solution.

PREREQUISITES
  • Understanding of stochastic matrices and their properties
  • Familiarity with Markov chains and state classifications
  • Knowledge of matrix operations and linear algebra
  • Ability to interpret transition probabilities in Markov processes
NEXT STEPS
  • Study the properties of absorbing states in Markov chains
  • Learn how to derive the fundamental matrix from a stochastic matrix
  • Explore the concept of transient and recurrent states in Markov processes
  • Investigate the application of matrix A in calculating absorption probabilities
USEFUL FOR

Mathematicians, data scientists, and researchers working with Markov processes, particularly those focusing on stochastic modeling and transition probability analysis.

Christopher T.
Messages
2
Reaction score
0
1. The problem statement
Given a stochastic matrix P with states [itex]s_1...s_5[/itex]:

[itex] P =<br /> \begin{pmatrix}<br /> 1 & p_2 & 0 & 0 & 0\\<br /> 0 & 0 & p_3 & 0 & 0\\<br /> 0 & q_2 & 0 & p_4 & 0\\<br /> 0 & 0 & q_3 & 0 & 0 \\<br /> 0 & 0 & 0 & q_4 & 1<br /> \end{pmatrix}[/itex]

and the matrix A (which is obviously related to P, but I can't see how... ):

[itex] A =<br /> \begin{pmatrix}<br /> 1 & -q_2 & 0 \\<br /> -p_3 & 1 & -q_3 \\<br /> 0 & -p_4 & 1<br /> \end{pmatrix}[/itex]

The question is how the vector [itex]y = (x_2,x_3, x_4)[/itex] is a solution to the system [itex]Ay =b[/itex] for a certain b that I am supposed to find.

Homework Equations


The relevant equations are:
[itex] x_j^K = 1[/itex]
for all closed states

[itex] x_j^K = \sum_{i=1}^n p_{ij }x_i^K[/itex]
for all non-closed states

The Attempt at a Solution


I started by expanding Ay:

[itex] Ay=<br /> \left(<br /> \begin{matrix}<br /> 1 & -q_2 & 0 \\<br /> -p_3 & 1 & -q_3 \\<br /> 0 & -p_4 & 1<br /> \end{matrix}<br /> \right)<br /> \left(<br /> \begin{matrix}<br /> x_2\\<br /> x_3\\<br /> x_4<br /> \end{matrix}<br /> \right)<br /> =<br /> \left(<br /> \begin{matrix}<br /> 1x_2 + -q_2x_3 \\<br /> -p_3x_2 + x_3 -q_3x_4 \\<br /> -p_4x_3 + x_4<br /> \end{matrix}<br /> \right)<br /> = b[/itex]

But that seems to get me nowhere. The question hints to using the formulas listed above, but I can't see how I can use them to find b.

I appreciate all help.
 
Physics news on Phys.org
Christopher T. said:
1. The problem statement
Given a stochastic matrix P with states [itex]s_1...s_5[/itex]:

[itex] P =<br /> \begin{pmatrix}<br /> 1 & p_2 & 0 & 0 & 0\\<br /> 0 & 0 & p_3 & 0 & 0\\<br /> 0 & q_2 & 0 & p_4 & 0\\<br /> 0 & 0 & q_3 & 0 & 0 \\<br /> 0 & 0 & 0 & q_4 & 1<br /> \end{pmatrix}[/itex]

and the matrix A (which is obviously related to P, but I can't see how... ):

[itex] A =<br /> \begin{pmatrix}<br /> 1 & -q_2 & 0 \\<br /> -p_3 & 1 & -q_3 \\<br /> 0 & -p_4 & 1<br /> \end{pmatrix}[/itex]

The question is how the vector [itex]y = (x_2,x_3, x_4)[/itex] is a solution to the system [itex]Ay =b[/itex] for a certain b that I am supposed to find.

Homework Equations


The relevant equations are:
[itex] x_j^K = 1[/itex]
for all closed states

[itex] x_j^K = \sum_{i=1}^n p_{ij }x_i^K[/itex]
for all non-closed states

The Attempt at a Solution


I started by expanding Ay:

[itex] Ay=<br /> \left(<br /> \begin{matrix}<br /> 1 & -q_2 & 0 \\<br /> -p_3 & 1 & -q_3 \\<br /> 0 & -p_4 & 1<br /> \end{matrix}<br /> \right)<br /> \left(<br /> \begin{matrix}<br /> x_2\\<br /> x_3\\<br /> x_4<br /> \end{matrix}<br /> \right)<br /> =<br /> \left(<br /> \begin{matrix}<br /> 1x_2 + -q_2x_3 \\<br /> -p_3x_2 + x_3 -q_3x_4 \\<br /> -p_4x_3 + x_4<br /> \end{matrix}<br /> \right)<br /> = b[/itex]

But that seems to get me nowhere. The question hints to using the formulas listed above, but I can't see how I can use them to find b.

I appreciate all help.

Your question uses the exact opposite convention for ##P## used in all the books on my shelves and all the papers I have ever read on the subject: usually, in the English-speaking world, stochastic matrices have rows summing to 1, not the columns. I would love to replace your ##P## by its transpose, but that would create too much confusion; so I will write ##P(i \to j)## for the one-step transition probability from state i to state j. (In your convention, ##p_{ij} = P(j \to i)##, but in my convention---by far the majority--- ##p_{ij} = P(i \to j)##.) The clumsier notation avoids confusion.

Anyway, if ##I## is the ##5 \times 5## identity matrix, your matrix ##A## is the submatrix of ##I - P## consisting of rows 2--4 and columns 2--4, so it has to do with the equations (a): ##x_i = \sum_{j \neq 1,5} P(i \to j) x_j + b_i, \; i = 2,3,4##, or maybe the equations (b): ##X_j = \sum_{i \neq 1,4} X_i P( i \to j) + R_j, \; j = 2,3,4##.

First, note that states 1 and 5 are absorbing, and states {2,3,4} form an intercommunicating but transient class. That is, starting from state 2, 3 or 4, the process will eventually (i.e., with probability 1) be absorbed into state 1 or state 4. One way equations like (a) arise is in computing the absorption probability for state 1, starting from states 2, 3 or 4. If we let ##f_i = ## probability of absorption in state 1, starting from state ##i##, then these can be found from the standard equations
[tex]f_i = P(i \to 1) + \sum_{j =2}^4 P(i \to j) f_j, \; i = 2,3,4[/tex] If you re-write these as ##f_i - \sum P(i \to j) f_j = \text{something}## you essentially involve the matrix ##A## you were given.

Other than that, I have no idea what the questioner wants.
 
  • Like
Likes   Reactions: Christopher T.
Ray Vickson said:
Your question uses the exact opposite convention for ##P## used in all the books on my shelves and all the papers I have ever read on the subject: usually, in the English-speaking world, stochastic matrices have rows summing to 1, not the columns. I would love to replace your ##P## by its transpose, but that would create too much confusion; so I will write ##P(i \to j)## for the one-step transition probability from state i to state j. (In your convention, ##p_{ij} = P(j \to i)##, but in my convention---by far the majority--- ##p_{ij} = P(i \to j)##.) The clumsier notation avoids confusion.

Anyway, if ##I## is the ##5 \times 5## identity matrix, your matrix ##A## is the submatrix of ##I - P## consisting of rows 2--4 and columns 2--4, so it has to do with the equations (a): ##x_i = \sum_{j \neq 1,5} P(i \to j) x_j + b_i, \; i = 2,3,4##, or maybe the equations (b): ##X_j = \sum_{i \neq 1,4} X_i P( i \to j) + R_j, \; j = 2,3,4##.

First, note that states 1 and 5 are absorbing, and states {2,3,4} form an intercommunicating but transient class. That is, starting from state 2, 3 or 4, the process will eventually (i.e., with probability 1) be absorbed into state 1 or state 4. One way equations like (a) arise is in computing the absorption probability for state 1, starting from states 2, 3 or 4. If we let ##f_i = ## probability of absorption in state 1, starting from state ##i##, then these can be found from the standard equations
[tex]f_i = P(i \to 1) + \sum_{j =2}^4 P(i \to j) f_j, \; i = 2,3,4[/tex] If you re-write these as ##f_i - \sum P(i \to j) f_j = \text{something}## you essentially involve the matrix ##A## you were given.

Other than that, I have no idea what the questioner wants.
Thank you, this gave me something to work on.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
2
Views
1K
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 12 ·
Replies
12
Views
3K