Answer:
0.1667 = 16.67% probability that they are both black.
Step-by-step explanation:
The balls are drawn without replacement, which means that the hypergeometric distribution is used to solve this question.
Hypergeometric distribution:
The probability of x successes is given by the following formula:
In which:
x is the number of successes.
N is the size of the population.
n is the size of the sample.
k is the total number of desired outcomes.
Combinations formula:
is the number of different combinations of x objects from a set of n elements, given by the following formula.
In this question:
5 + 4 = 9 balls, which means that ![N = 9](https://tex.z-dn.net/?f=N%20%3D%209)
4 are black, which means that ![k = 4](https://tex.z-dn.net/?f=k%20%3D%204)
2 are chosen, which means that ![n = 2](https://tex.z-dn.net/?f=n%20%3D%202)
What is the probability that they are both black?
This is P(X = 2). So
![P(X = x) = h(x,N,n,k) = \frac{C_{k,x}*C_{N-k,n-x}}{C_{N,n}}](https://tex.z-dn.net/?f=P%28X%20%3D%20x%29%20%3D%20h%28x%2CN%2Cn%2Ck%29%20%3D%20%5Cfrac%7BC_%7Bk%2Cx%7D%2AC_%7BN-k%2Cn-x%7D%7D%7BC_%7BN%2Cn%7D%7D)
![P(X = 2) = h(2,9,2,4) = \frac{C_{4,2}*C_{5,0}}{C_{9,2}} = 0.1667](https://tex.z-dn.net/?f=P%28X%20%3D%202%29%20%3D%20h%282%2C9%2C2%2C4%29%20%3D%20%5Cfrac%7BC_%7B4%2C2%7D%2AC_%7B5%2C0%7D%7D%7BC_%7B9%2C2%7D%7D%20%3D%200.1667)
0.1667 = 16.67% probability that they are both black.