Roman C. answered 08/09/15
Tutor
5.0
(851)
Masters of Education Graduate with Mathematics Expertise
Case Xn = 0:
We must have Xn+1 = 1.
Case Xn = 1:
Choosing a red ball from box 1 (1/3 chance) and a blue one from box 2 (1/3 chance) gives Xn+1 = 0 (1/9 chance).
Choosing a blue ball from box 1 (2/3 chance) and a red one from box 2 (2/3 chance) gives Xn+1 = 2 (4/9 chance).
Otherwise we have Xn+1 = 1 (4/9 chance).
Case Xn = 2:
Choosing a red ball from box 1 (2/3 chance) and a blue one from box 2 (2/3 chance) gives Xn+1 = 1 (4/9 chance).
Choosing a blue ball from box 1 (1/3 chance) and a red one from box 2 (1/3 chance) gives Xn+1 = 3 (1/9 chance).
Otherwise we have Xn+1 = 2 (4/9 chance).
Choosing a red ball from box 1 (2/3 chance) and a blue one from box 2 (2/3 chance) gives Xn+1 = 1 (4/9 chance).
Choosing a blue ball from box 1 (1/3 chance) and a red one from box 2 (1/3 chance) gives Xn+1 = 3 (1/9 chance).
Otherwise we have Xn+1 = 2 (4/9 chance).
Case Xn = 3:
We must have Xn+1 = 2.
We must have Xn+1 = 2.
Thus the transition matrix is
0 1 2 3
---------------------
0 | 0 1 0 0
1 |1/9 4/9 4/9 0
2 | 0 4/9 4/9 1/9
3 | 0 0 1 0