Hello all, I am studying Markov chains in my math class, and I have some extra study problems that my professor provided but no solutions given. I would appreciate it if anyone can check over my work and kindly provide guidance if I'm understanding the problem correctly. I am having some trouble with the last 2 parts trying to solve the systems of equations for the long-term pmf, because all I get is 0. Any help with checking my work is greatly appreciated!
Problem:

Approach:
(a) The transient states are 1 and 2, since a path exists where if you leave, there is no way to get back to that state.
(b) The recurrent states are 0 and 3, once leaving these states, there is always a way back
(c) I believe states 1 and 2 are periodic with period 2, always requires an even number of paths to get back to original state
(d) The absorbing states are 0 and 3, since you cannot leave that state, i.e. the Pii=1, where i = 0 or 3
(e) The probability is 0, since you cannot get back to state 1 in just 1 step.
(f) The probability is 0.5 from the graph, with just 1 step to get from state 1 to state 0.
(g)
I believe the the transition matrix P is below.
P=⎣⎢⎢⎢⎡10.500002/3000.500001/31⎦⎥⎥⎥⎤
The question is wanting the probability P(Xk=j∣x0=i) of going from state i to j in k steps
P(x6=3∣x0=1)=(P6)1,3 or the (1,3) element of P6. Using a matrix power calculator, I find P(x6=3∣x0=1)=13/54. Is there a simpler way to compute by hand, or just exploit powers of 2?
(h) I'm somewhat struggling to find the long-term pmf because when I solve π=πP, where π=[π0π1π2π3], I get 4 equations where I can trivially find that π1=π2=0 . If I use a Markov calculator, I also find π1=0
(i) Similarly using a calculator, I find the long-term pmf as π0=0.75
Problem:

Approach:
(a) The transient states are 1 and 2, since a path exists where if you leave, there is no way to get back to that state.
(b) The recurrent states are 0 and 3, once leaving these states, there is always a way back
(c) I believe states 1 and 2 are periodic with period 2, always requires an even number of paths to get back to original state
(d) The absorbing states are 0 and 3, since you cannot leave that state, i.e. the Pii=1, where i = 0 or 3
(e) The probability is 0, since you cannot get back to state 1 in just 1 step.
(f) The probability is 0.5 from the graph, with just 1 step to get from state 1 to state 0.
(g)
I believe the the transition matrix P is below.
P=⎣⎢⎢⎢⎡10.500002/3000.500001/31⎦⎥⎥⎥⎤
The question is wanting the probability P(Xk=j∣x0=i) of going from state i to j in k steps
P(x6=3∣x0=1)=(P6)1,3 or the (1,3) element of P6. Using a matrix power calculator, I find P(x6=3∣x0=1)=13/54. Is there a simpler way to compute by hand, or just exploit powers of 2?
(h) I'm somewhat struggling to find the long-term pmf because when I solve π=πP, where π=[π0π1π2π3], I get 4 equations where I can trivially find that π1=π2=0 . If I use a Markov calculator, I also find π1=0
(i) Similarly using a calculator, I find the long-term pmf as π0=0.75
Last edited: