Question

A total of 5 balls of two possible colours, black and white, have been put into a box. A ball is chosen uniformly at random. If the ball is black, we replace this ball in the box with a white ball. Similarly, if the ball chosen is white, we replace this ball in the box with a black one. Let {Xn,n 2 0) denote the number of white balls in the box after the n-th trial. This defines a Markov chain with state space S- 10,1, 5 (a) Determine the transition probabilities and draw the transition diagram; (b) Calculate PDG = 41X,-5];

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a)

Let there be m balls at the nth trial. Then Xn = m and number of black balls = 5 - m

For m = 1,2,3,4

Probability to choose a white ball (and replace by a black ball, so the count of white ball is reduced by 1) = m/5

Probability to choose a black ball (and replace by a white ball, so the count of white ball is increased by 1) = m/5

Thus,

P(Xn+1 = m-1 | PXn = m) = m/5

P(Xn+1 = m+1 | PXn = m) = (5 - m)/5

For m = 0,

Probability to choose a black ball (and replace by a white ball, so the count of white ball is increased by 1) = 1

P(Xn+1 = 1 | PXn = 0) = 1

For m = 5,

Probability to choose a white ball (and replace by a black ball, so the count of white ball is decreased by 1) = 1

P(Xn+1 = 4 | PXn = 5) = 1

The transition probability matrix is,

Xn \ Xn+1 0 1 2 3 4 5
0 0 1 0 0 0 0
1 1/5 0 4/5 0 0 0
2 0 2/5 0 3/5 0 0
3 0 0 3/5 0 2/5 0
4 0 0 0 4/5 0 1/5
5 0 0 0 0 1 0

The transition diagram is,

(b)

P[X2 = 4| X0 = 5] = P[X2 = 4, X1 = 4, X0 = 5] (As the transition probability from state 5 to state 4 is 1)

Now, from state 4, there is no transition again to the state 4 in one transition.

Thus,  P[X2 = 4| X0 = 5] = P[X2 = 4, X1 = 4, X0 = 5] = 0

Add a comment
Know the answer?
Add Answer to:
A total of 5 balls of two possible colours, black and white, have been put into...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A total of 5 balls of two possible colours, black and white, have been put into...

    A total of 5 balls of two possible colours, black and white, have been put into a box. A ball is chosen uniformly at random. If the ball is black, we replace this ball in the box with a white ball. Similarly, if the ball chosen is white, we replace this ball in the box with a black one. Let {Xn,n 2 0) denote the number of white balls in the box after the n-th trial. This defines a Markov...

  • 2. A box contains 5 red balls, 7 white balls, and 8 black balls. Four balls...

    2. A box contains 5 red balls, 7 white balls, and 8 black balls. Four balls are randomly chosen (without replace- ment). What is the probability that (a) 1 red ball, 2 white balls, and 1 black ball are chosen? (b) exactly two red balls are chosen? (c) the first chosen is black, the last three chosen are two white balls and one black ball?

  • 2, Five white balls and five black balls are distributed in two urns in such a...

    2, Five white balls and five black balls are distributed in two urns in such a way that each urn contains five balls. At each step we draw one ball from each urn and exchange them. Let Xn be the number of white balls in the left urn at time n. Compute the transition probability for X,

  • 5) Box 1 contains w white balls and b black balls. Box 2 contains w white...

    5) Box 1 contains w white balls and b black balls. Box 2 contains w white balls and b black balls. We take one ball from Box 1 and place it into Box 2. Then we take a ball from Box 2 and place it into Box 1. Finally we take a ball from Box 1. Compute the probability that this ball is black 6) Assume that we have n boxes and each one of them contains k white balls...

  • 5) Box 1 contains w white balls and b black balls. Box 2 contais white balls...

    5) Box 1 contains w white balls and b black balls. Box 2 contais white balls and b2 black balls. We take one ball from Box 1 and place it into Box 2. Then we take a ball from Box 2 and place it into Box 1. Finally we take a ball from Box 1. Compute the probability that this ball is black.

  • Problem 2 The diffusion of electrons and holes across a potential barrier in an electronic device...

    Problem 2 The diffusion of electrons and holes across a potential barrier in an electronic device is modeled as follows: There are m black balls (electrons) in urn A and m white balls (holes) in urn B. We perform independent trials, in each of which a ball is selected at random from each urn and the selected ball from urn A is placed in urn B, while that from urn B is placed in A. Consider the Markov chain representing...

  • 5) Box 1 contains wi white balls and bi black balls. Box 2 contains w2 white...

    5) Box 1 contains wi white balls and bi black balls. Box 2 contains w2 white balls and b2 black balls. We take one ball from Box 1 and place it into Box 2. Then we take a ball from Box 2 and place it into Box 1. Finally we take a ball from Box 1. Compute the probability that this ball is black.

  • 2. A box contains 4 white and 6 black balls. A random sample of size 4...

    2. A box contains 4 white and 6 black balls. A random sample of size 4 is chosen. Let X denote the number of white balls in the sample. An additional ball is now selected from the remaining 6 balls in the box. Let Y equal 1 if this ball is white and 0 if it is black. Find (a) Var(Y|X=0). (b) Var(X)Y= 1).

  • Suppose we have two urns (a left urn and a right urn). The left urn contains N black balls and the right urn contains N red balls.

    Suppose we have two urns (a left urn and a right urn). The left urn contains N black balls and the right urn contains N red balls. Every time step you take one ball (chosen randomly) from each urn, swap the balls, and place them back in the urns. Let Xm be the number of black balls in the left urn after m time steps. Find the Markov chain model and find the unique stationary distribution when N=5

  • We have 2 boxes, each containing 3 balls. Box number 1 contains one black and two...

    We have 2 boxes, each containing 3 balls. Box number 1 contains one black and two white balls; box number 2 contains two black and one white ball. Our friend chooses one of the boxes at random, probability of choosing box number 1 is p. Then he takes one ball from a chosen box (each of three balls can be taken chosen equally likely), and it turns out to be white. We are going to find MAP estimate for the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT