Respuesta :
Answer:
a) The probability that the chosen ball is blue is 56.84%
b) If the chosen ball is blue, there is a 35.19 probability that it came from the first urn.
Step-by-step explanation:
a) What is the probability (as a %) that the chosen ball is blue?
First the urn is chosen, then the ball. There can be a blue ball from urn 1 and from urn 2.
-The probability of a blue ball being chosen from urn 1 is:
40%(8 blue balls among 20 in urn 1, 8 of 20 is 40%) of 50%(the chance of urn 1 being chosen is 50%)
So [tex]P_{1} = 0.4*0.5 = 0.20[/tex]
-The probability of a blue ball being chosen from urn 2 is:
73.68%(14 blue balls among 20 in urn 2, 14 of 19 is 73.68%) of 50%(the chance of urn 2 being chosen is 50%)
So [tex]P_{2} = 0.7368*0.5 = 0.3684[/tex]
The probability that the chosen ball is blue is [tex]P = P_{1} + P_{2} = 0.20 + 0.3684 = 0.5684 = 56.84[/tex]%.
b) If the chosen ball is blue, what is the probability (as a %) that it came from the first urn?
This item can be formulated as the following problem:
What is the probability of B happening, knowing that A has happened.
It can be calculated by the following formula
[tex]P(B/A) = \frac{P(B).P(A/B)}{P(A)}[/tex]
Where P(B) is the probability of B happening, P(A/B) is the probability of A happening knowing that B happened and P(A) is the probability of A happening.
In this item, A(what has happened) is the ball being blue. In item a), we found that P(A) = 0.5684.
B is the blue ball coming from the first urn. P(B), the probability of the first urn being chosen, is 50% = 0.5.
P(A/B), the probability of the blue ball being chosen from the first urn is 40% = 0.4.
So:
[tex]P(B/A) = \frac{0.5*0.4}{0.5684} = 0.3519 = 35.19%[/tex]
If the chosen ball is blue, there is a 35.19 probability that it came from the first urn.