Given: A bag is chosen uniformly at random from the three bags.
Find: Conditional probabilities P(B1∣R) and P(B3∣G).
For a red ball,
P(B1∣R)=P(B1)P(R∣B1)+P(B2)P(R∣B2)+P(B3)P(R∣B3)P(B1)P(R∣B1)
Since each bag is chosen with probability 31,
p=31⋅103+31⋅104+31⋅10531⋅103=3+4+53=41Similarly, for a green ball,
P(B3∣G)=P(B1)P(G∣B1)+P(B2)P(G∣B2)+P(B3)P(G∣B3)P(B3)P(G∣B3)
So,
q=31⋅105+31⋅103+31⋅10431⋅104=5+3+44=31Hence,
p1+q1=1/41+1/31=4+3=7
Therefore, the required value is 7 and the correct option is B.