Consider a Markov chain having state space $S = \{1,2,3,4\}$ with transition probability matrix $P = (p_{i,j})$ given by
$$\begin{matrix} & \begin{matrix} 1 & \quad 2 & \quad 3 & \quad 4 \end{matrix} \\ \begin{matrix} 1 \\ 2 \\ 3 \\ 4 \end{matrix} & \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 1/4 & 1/4 & 1/4 & 1/4 \\ 1/3 & 0 & 1/3 & 1/3 \\ 1/2 & 0 & 1/2 & 0 \end{bmatrix} \end{matrix}$$
Then
We need to analyze the behavior of the Markov chain described by the transition probability matrix $P$ for state 2.
The state space is $S = \{1, 2, 3, 4\}$ and the transition matrix is:
$ P = \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 1/4 & 1/4 & 1/4 & 1/4 \\ 1/3 & 0 & 1/3 & 1/3 \\ 1/2 & 0 & 1/2 & 0 \end{bmatrix} $
We are interested in the properties of state 2, specifically $\lim_{n \to \infty} p_{2,2}^{(n)}$ and $\sum_{n=0}^\infty p_{2,2}^{(n)}$.
Combining the findings:
This corresponds to the properties of a transient state in a Markov chain.
Bag A contains 3 Red and 4 Black balls while Bag B contains 5 Red and 6 Black balls. One ball is drawn at random from one of the bags and is found to be red. Then, the probability that it was drawn from Bag B is
Suppose that the random variable X takes on the values: -1, 0, and 2 with probability $\frac{1}{8}$, $\frac{1}{2}$ and $\frac{3}{8}$. Find the expected value of X.