Thunderbird88
- 4
- 0
Homework Statement
Suppose an urn contains 6 white and 9 black numbered balls.
a) 4 balls are collected in random without replacement. What is the probability the first two are white and the last two are black?
b1) 4 balls are collected in random with replacement. What is the conditional probability the first and third balls are black, given that the quartet contains exactly 3 black balls.
b2) The same as b1, except now we collect the balls without replacement.
Homework Equations
The conditional probability P(A|B) = \dfrac{P(A \cap B)}{P(B)} and the permutations without replacement \dfrac{n!}{n1 \cdot n2 \cdot \cdot nk}
The Attempt at a Solution
a) I compute P(WWBB)=\dfrac{6}{15} \cdot \dfrac{5}{14} \cdot \dfrac{9}{13} \cdot \dfrac{8}{12} = 0.0659
b1) Suppose the events
A: the first and third balls are black
B: there are exactly 3 black balls in the quartet
The probability of B is:
P(B) = (\dfrac{9}{15})^3 , since each time we take out a ball, we replace it, thus the probability is the same.
The probability of A \cap B is:
P(A \cap B) = (\dfrac{9}{15})^3 \cdot (\dfrac{6}{15})
So, the conditional probability is:
P(A|B) = \dfrac{P(A \cap B)}{P(B)} = \dfrac{6}{15}
b2) Here, the event B has two possibilities, either BBBW or BWBB. However, since we have multiplication, each case has the same probability, so:
P(B) = \dfrac{9}{15} \cdot \dfrac{8}{14} \cdot \dfrac{7}{13} \cdot \dfrac{6}{12} = 0.00923
The total number of ways that the 15 balls can be arranged is found by:
N=\dfrac{15!}{6! \cdot 9!} = 385
Since, the possible arrangements we want are BBBW and BWBB, I find:
P(A \cap B) = \dfrac{2}{385} = 0.0052
So, the conditional probability is:
P(A|B) = \dfrac{0.0052}{0.0923} = 0.0056
Is my solution correct?Thank you.