<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[a4paper,12pt]{article}
\newcommand{\ds}{\displaystyle}
\newcommand{\pl}{\partial}
\parindent=0pt
\begin{document}


{\bf Question}

Consider the Markov chain having state space $\{0,1,2\}$ and
transition probability matrix $$P = \begin{array}{c} 0 \\ 1 \\ 2
\end{array} \left( \begin{array}{ccc} 0 &amp; 1 &amp; 2 \\ \frac{1}{4} &amp; 0
&amp; \frac{3}{4} \\ 0 &amp; 1 &amp; 0 \end{array} \right)$$
\begin{description}
\item[(a)] Find $P^2$
\item[(b)] Show that $P^4 = P^2$
\item[(c)] Find $P^n$, $n\leq 1.$
\end{description}
If the system starts (at step 0) in state 1, find the probability
that it occupies the different states at step $n.$



\vspace{.25in}

{\bf Answer}

\begin{eqnarray*}
P &amp;=&amp; \begin{array}{c} 0 \\ 1 \\ 2
\end{array} \left( \begin{array}{ccc} 0 &amp; 1 &amp; 2 \\ \frac{1}{4} &amp; 0
&amp; \frac{3}{4} \\ 0 &amp; 1 &amp; 0 \end{array} \right)\\ P^2 &amp;=&amp;  \left(
\begin{array}{ccc} \frac{1}{4} &amp; 0 &amp; \frac{3}{4}
\\  0 &amp; 1 &amp; 0 \\ \frac{1}{4} &amp; 0 &amp; \frac{3}{4} \end{array}
\right)\\ P^3 &amp;=&amp;  \left( \begin{array}{ccc} 0 &amp; 1 &amp; 2 \\
\frac{1}{4} &amp; 0 &amp; \frac{3}{4} \\ 0 &amp; 1 &amp; 0 \end{array} \right)= P
\end{eqnarray*}

So $P^2 = P^4$

Also $P^n = P$ if $n$ is odd and $P^n = P^2$ if $n$ is even.

So if $\ds {\bf p}_0 = (0,1,0), \hspace{.1in} {\bf p}^{(n)} = {\bf
p}_0P^n = \left\{ \begin{array}{ll} (\frac{1}{4}, 0 , \frac{3}{4})
&amp; n\ {\rm odd} \\ (0,1,0) &amp; n\ {\rm even} \end{array} \right.$

\bigskip

So after an even number of steps the system occupies state 1.
After an odd number of steps it occupies state 0 with probability
$\frac{1}{4}$ and state 2 with probability $\frac{3}{4}.$




\end{document}
</pre></body></html>