Analyzing the Setup
Imagine you are standing in a room with three mysterious urns, labeled A, B, and C. Each urn is a container of secrets, holding a specific mixture of red and black balls.
Urn A holds 7 red and 5 black balls. Urn B holds 5 red and 7 black balls. Urn C holds 6 red and 6 black balls.
You are asked to pick one urn at random and draw a single ball. The ball you draw is black. We must determine the probability that it came from Urn A using Bayes' Theorem.
Defining the Events
To solve this, we formalize our experiment. Let E1,E2,E3 be the events of selecting Urn A, Urn B, and Urn C, respectively.
Since the selection is random, each urn has an equal prior probability:
P(E1)=P(E2)=P(E3)=31
Let B be the event that the ball drawn is black. We want to find the conditional probability P(E1∣B), which represents the probability of having chosen Urn A given that the ball is black.
The Conditional Probabilities
Next, we calculate the likelihood of drawing a black ball from each specific urn:
For Urn A: P(B∣E1)=125
For Urn B: P(B∣E2)=127
For Urn C: P(B∣E3)=126
Applying Bayes' Theorem
Bayes' Theorem provides the following formula to update our belief:
P(E1∣B)=P(E1)P(B∣E1)+P(E2)P(B∣E2)+P(E3)P(B∣E3)P(E1)P(B∣E1)
Substituting our known values into the equation, we obtain:
P(E1∣B)=31⋅125+31⋅127+31⋅12631⋅125
Final Calculation
Notice that the term 31⋅121 is common to every part of the expression. We can factor it out and cancel it entirely from the numerator and the denominator.
This simplifies the expression to:
Calculating the sum in the denominator, we find 5+7+6=18. Thus, the final probability is: