A particle performs a randowm walk on the vertices of a cube. At each step it remains where it is with probability 1/4, or moves to one of its neighbouring vertices each having probability 1/4. Let A and D be two diametrically opposite vertices. If the walk starts at A, find:
a. The mean number of steps until its first return to A.
b. The mean number of steps until its first visit to D.
c. The mean number of visits to D before its first return to A.
I have solved a & b. Im grouping together the vertices thats one step from A, calling them B, two steps from A, calling them C and then we have D. Then i let $\psi(i, j)$ be the expected number of steps to reach state j from state i, where i,j ={A,B,C,D}.
Then for b, i get these equations
$\psi(A,D) = 1+\frac{1}{4}\psi(A,D)+\frac{3}{4}\psi(B,D)$
$\psi(B,D) = 1+ \frac{1}{4}\psi(B,D)+\frac{1}{4}\psi(A,D)+$ $\frac{1}{2}\psi(C,D)$
$\psi(C,D) = 1+\frac{1}{4}*0+\frac{1}{4}\psi(C,D)+\frac{1}{2}\psi(B,D)$
and i solve the system to find $\psi(A,D)$
Question: I cant figure out how to solve part c though.
However, we also know that $\displaystyle \lim_{n \rightarrow \infty} p^n = \pi$. And in this case, we can see that all vertices are equally likely when you go to infinity. So we have that the invariant measure is $\pi_i = \frac{1}{8}$.
Therefore the return time is: $m_i = \frac{1}{1/8} = 8$
– Wilmer E. Henao Oct 16 '17 at 03:04