Im trying to solve the following question:
There is a urn with 1 black ball and 1 red ball. A ball is drawn at random from the urn, it is placed back in the urn along with 2 more balls with the same color as the ball that was drawn. Denote the random variable Xi to be the number of black balls after the i-th draw, i = 1, 2, . . .. Note that $X_i$ is the random variable for number of black balls in the urn including the two new balls added after the i-th draw. What is the probability that the first ball drawn was black, given the event $X_3 \leq 5$?
This is what I have so far:
$$P(X_3=1 | X_3\leq 5)=\frac{P(X_3=1 \cap X_3\leq 5)}{P(X_3\leq 5)}=\frac{P(X_3=1)}{P(X_3=1)+P(X_3=3)+P(X_3=5)}$$
Hence,
$$\frac{\frac{5}{16}}{\frac{5}{16}+\frac{3}{16}+\frac{3}{16}}$$
Correct?
With a decision tree, the process is long, it is certainly not optimal, but it is always a good tool to obtain the result.
We collect all options (8 options)
1st level : P(B)=1/2 , P(W)=1/2
2nd level : $P(BB)=(1/2)\times(3/4)$, $P(BW)=(1/2)\times(1/4)$,$P(WB)=(1/2)\times(1/4)$, $P(WW)=(1/2)\times(3/4)$
3rd level : $P(BBB)=(1/2)\times(3/4)\times(5/6)$, $P(BBW)=(1/2)\times(3/4)\times(1/6)$
$P(BWB)=(1/2)\times(1/4)\times(3/6)$, $P(BWW)=(1/2)\times(1/4)\times(3/6)$
$P(WBB)=(1/2)\times(1/4)\times(3/6)$, $P(WBW)=(1/2)\times(1/4)\times(3/6)$
$P(WWB)=(1/2)\times(3/4)\times(1/6)$, $P(WWW)=(1/2)\times(3/4)\times(5/6)$
We know that the result is not BBB. So, we exclude this row.
Total of remaining values is $1-P(BBB)=11/16$
Total of 'success-values' is $P(BBW)+P(BWB)+P(BWW)= 3/16$
Probability is $(3/16)/(11/16) = 3/11$