Bag A contains 9 white and 8 black balls, while bag B contains 6 white and 4 black balls. One ball is randomly picked up from the bag B and mixed up with the balls in the bag A . Then a ball is randomly drawn from the bag A . If the probabi...
Solutions · 1
Official solution
Bag A : 9 white, 8 black (Total =17 )
Bag B : 6 white, 4 black (Total =10 )
One ball is moved from Bag B to Bag A. There are two mutually exclusive events for this transfer:
Case 1 : The ball moved is white
The probability of choosing a white ball from Bag B is:
P(WB)=106
After adding this white ball to Bag A, Bag A now contains 10 white and 8 black balls ( 18 total). The probability of then drawing a white ball from Bag A is :
P(WA∣WB)=1810
Case 2: The ball moved is black
The probability of choosing a black ball from Bag B is :
P(BB)=104
After adding this black ball to Bag A, Bag A now contains 9 white and 9 black balls ( 18 total). The probability of then drawing a white ball from Bag A is :
P(WA∣BB)=189
Using total probability theorem
P(WA)=P(WB)⋅P(WA∣WB)+P(BB)⋅P(WA∣BB)⇒P(WA)=(106×1810)+(104×189)P(WA)=18060+18036=18096=158
It is given that P(WA)=qp.
gcd(8,15)=1p=8q=15p+q=8+15=23