(a)
The problem can be modeled as Markov chain with 6 states - 1, 2, 3, 4, 5 and 6 denoting the compartment number at any time.
From compartment 1, there is a way to compartment 2 and 3. Thus, the transition probability from state 1 to state 2 or state 3 is 1/2.
From compartment 2, there is a way to only compartment 1. Thus, the transition probability from state 2 to state 1 is 1.
From compartment 3, there is a way to compartment 1 and 4. Thus, the transition probability from state 3 to state 1 or state 4 is 1/2.
From compartment 4, there is a way to compartment 3, 5 and 6. Thus, the transition probability from state 4 to state 3, 5 or state 6 is 1/3.
From compartment 5, there is a way to compartment 4 and 6. Thus, the transition probability from state 5 to state 4 or state 6 is 1/2.
From compartment 6, there is a way to compartment 4 and 5. Thus, the transition probability from state 6 to state 4 or state 5 is 1/2.
The one step transition matrix is,
(b)
For, time = 7, the 7-step matrix is,
The transition probability from state 4 to state 6 is 0.19849537
(c)
Let be the steady state vector (long term distribution of states)
Then,
x1 + x2 + x3 + x4 + x5 + x6 = 1
and
or,
which gives,
x2 + x3/2 = x1 --(1)
x1/2 = x2 => x1 = 2x2 --(2)
x1/2 + x4/3 = x3 --(3)
x3/2 + x5/2 + x6/2 = x4 --(4)
x4/3 + x6/2 = x5 --(5)
x4/3 + x5/2 = x6 ---(6)
Subtracting equation 5 and 6, we get
x6/2 - x5/2 = x5 - x6
=> x5 = x6
From (5)
x4/3 + x6/2 = x5 => x4/3 + x6/2 = x6 => x4 / 3 = x6 / 2 => x4 = (3/2)x6
From (4),
x3/2 + x5/2 + x6/2 = x4 => x3/2 + x6/2 + x6/2 = (3/2)x6 => x3 = x6
From (3),
x1/2 + x4/3 = x3 => x1 / 2 + (1/3)(3/2)x6 = x6 => x1 = x6
From (2),
x1 = 2x2 => x2 = x1/2 = x6/2
Now,
x1 + x2 + x3 + x4 + x5 + x6 = 1
=> x6 + x6/2 + x6 + (3/2)x6 + x6 + x6 = 1
=> (1 + 1/2 + 1 + 3/2 + 1 + 1) x6 = 1
=> 6 x6 = 1
=> x6 = 1/6
The probability that the mouse will be found in compartment 6 at some time n in the far future is 1/6
2. A mouse is let loose in the maze of Figure 1. From each compartment the mouse chooses one of the adjacent compartmen...
part b & c, please A mouse is let loose in the maze of Figure 1. From each compartment the mouse chooses one of the adjacent compartments with equal probability, independent of the past. The mouse spends 1 time unit in each compartment. Let {Xn, n 〉 0} be the Markov chain that describes the position of the mouse for times n 2 0 4 Figure 1: A maze (a) Determine the one-step transition matrix (b) Use matrix multiplication on...
Problem 4: Maze A mouse travels in a maze (shown in figure). At each discrete time-step, the mouse chooses one of the doors from the room it is curently in (uniformly at random), and moves to the chosen neighboring room. Room three has a block of cheese in it (reward for the mouse (a) Model the location of mouse as a DTMC. Ist irreducible and aperiodic? Justify your answers b) Write the one-step probability transition matrix (c) Find the steady...
Let Xn be a Markov chain with state space {0,1,2}, the initial probability vector and one step transition matrix a. Compute. b. Compute. 3. Let X be a Markov chain with state space {0,1,2}, the initial probability vector - and one step transition matrix pt 0 Compute P-1, X, = 0, x, - 2), P(X, = 0) b. Compute P( -1| X, = 2), P(X, = 0 | X, = 1) _ a. 3. Let X be a Markov chain...
6. Suppose Xn is a two-state Markov chain with transition probabilities (Xn, Xn+1), n = 0, 1, 2, Write down the state space of the Markov chain Zo, Zi, . . . and determine the transition probability matrix.
1. Let Xn be a Markov chain with states S = {1, 2} and transition matrix ( 1/2 1/2 p= ( 1/3 2/3 (1) Compute P(X2 = 2|X0 = 1). (2) Compute P(T1 = n|Xo = 1) for n=1 and n > 2. (3) Compute P11 = P(T1 <0|Xo = 1). Is state 1 transient or recurrent? (4) Find the stationary distribution à for the Markov Chain Xn.
Let Xo, X1, n 0, 1, 2, . . . . Show that YO, Yı , matrix ,... be a Markov chain with transition matrix P. Let Yn - X3n, for is a Markov chain and exhibit its transition
Let Xn be a Markov chain with state space {0, 1, 2}, and transition probability matrix and initial distribution π = (0.2, 0.5, 0.3). Calculate P(X1 = 2) and P(X3 = 2|X0 = 0) 0.3 0.1 0.6 p0.4 0.4 0.2 0.1 0.7 0.2
Problem 5. A Markov chain Xn, n probability matrix: 0 with states 1, 2, 3 has the following transition 0 1/3 2/3 1/2 0 1/2 If P(o-: 1)-P(Xo-2-1/4, calculate E(%) (use a computer). Problem 5. A Markov chain Xn, n probability matrix: 0 with states 1, 2, 3 has the following transition 0 1/3 2/3 1/2 0 1/2 If P(o-: 1)-P(Xo-2-1/4, calculate E(%) (use a computer).
Let Xo, X1,... be a Markov chain with transition matrix 1(0 1 0 P 2 0 0 1 for 0< p< 1. Let g be a function defined by g(x) =亻1, if x = 1, if x = 2.3. , Let Yn = g(x,), for n 0. Show that Yo, Xi, is not a Markov chain.
Q5. Consider a Markov chain {Xn|n ≥ 0} with state space S = {0, 1, · · · } and transition matrix (pij ). Find (in terms QA for appropriate A) P{ max 0≤k≤n Xk ≤ m|X0 = i} . Q6. (Flexible Manufacturing System). Consider a machine which can produce three types of parts. Let Xn denote the state of the machine in the nth time period [n, n + 1) which takes values in {0, 1, 2, 3}. Here...