To solve this problem, we use Bayes' theorem to find the probability that the ball was drawn from Bag \( B_2 \), given that a white ball is drawn. Let's denote the events as follows:
We need to find \( P(A_2 \mid W) \), the probability that the ball is from Bag \( B_2 \) given that it is white. By Bayes' theorem:
\( P(A_2 \mid W) = \frac{P(W \mid A_2)P(A_2)}{P(W)} \)
Given that each bag is equally likely to be chosen, we have:
\( P(A_1) = P(A_2) = P(A_3) = \frac{1}{3} \)
Next, we calculate \( P(W \mid A_i) \), the probability of drawing a white ball from each bag:
\( P(W \mid A_1) = \frac{6}{10} = \frac{3}{5} \)
\( P(W \mid A_2) = \frac{4}{10} = \frac{2}{5} \)
\( P(W \mid A_3) = \frac{5}{10} = \frac{1}{2} \)
The total probability of drawing a white ball, \( P(W) \), is:
\( P(W) = P(W \mid A_1)P(A_1) + P(W \mid A_2)P(A_2) + P(W \mid A_3)P(A_3) \)
\( P(W) = \frac{3}{5}\cdot\frac{1}{3} + \frac{2}{5}\cdot\frac{1}{3} + \frac{1}{2}\cdot\frac{1}{3} \)
\( P(W) = \frac{1}{5} + \frac{2}{15} + \frac{1}{6} \)
To add these probabilities, we find a common denominator, which is 30:
Thus:
\( P(W) = \frac{6}{30} + \frac{4}{30} + \frac{5}{30} = \frac{15}{30} = \frac{1}{2} \)
Using Bayes' theorem, we substitute back into \( P(A_2 \mid W) \):
\( P(A_2 \mid W) = \frac{\frac{2}{5}\cdot\frac{1}{3}}{\frac{1}{2}} \)
\( P(A_2 \mid W) = \frac{\frac{2}{15}}{\frac{1}{2}} = \frac{2}{15} \cdot 2 = \frac{4}{15} \)
Thus, the probability that the white ball was drawn from Bag \( B_2 \) is \( \frac{4}{15} \).
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop
(i) Find the probability that it was defective.