Consider two identical bags B1 and B2 each containing 10 balls of identical shapes and sizes. Bag B1 contains 7 Red and 3 Green balls, while bag B2 contains 3 Red and 7 Green balls. A bag is picked at random and a ball is drawn from it, which was found to be Red. The probability that the Red ball came from bag B1 (rounded off to one decimal place) is ____
GATE 2020 IN Q.32: solution and answer
Answer and solution
ANSWER
The probability that the Red ball came from bag B1 is 0.7.
Official answer: 0.7Source: Official answer key, GATE 2020 IN (IIT Delhi)
Priors: the bag is picked at random, so .
Likelihoods: each bag holds 10 balls, so and .
Total probability theorem: .
Bayes' theorem:
Check: , and . Rounded to one decimal place, the answer is .
KEY IDEA
This is Bayes' theorem. The two bags are equally likely to be picked, so the priors cancel. The posterior is then bag B1's share of all the red balls: .
WATCH OUT FOR
The common slip is to answer , the overall chance of drawing a red ball, or to multiply out only the numerator, , and forget to divide by . Both confuse the joint or total probability with the conditional probability .
From the GATE 2020 IN paper. Every question of this paper · Download the full paper · All 33 Probability & statistics questions, with notes
More Probability & statistics questions
- GATE 2018 IN Q.3 · MCQ · 1 markX and Y are two independent random variables with variances 1 and 2, respectively. Let Z = X - Y.
- GATE 2018 IN Q.5 · MCQ · 1 markConsider a sequence of tossing of a fair coin where the outcomes of tosses are independent.
- GATE 2018 IN Q.27 · MCQ · 2 marksTwo bags A and B have equal number of balls. Bag A has 20% red balls and 80% green balls.
- GATE 2026 EC Q.38 · MCQ · 2 marksLet X, N, Y and Z be random variables. The variables X and N are independent of each other.
