Suppose we have four boxes A, B, C and D containing coloured marbles as given below
Marble colourBoxRedWhiteBlackA163B622C811D064
One of the boxes has been selected at random and a single marble is drawn from it. If the marble is red what is the probability that it was drawn from box A? box B? , box C?
Let E1 : the event that box A is selected , E2 the event that box B is selected,
E3 : the event that box C is selected and E4 : the event that box D is selceted,
∴E1,E2,E3,E4 are mutually exclusive and exhaustive . Moreover,
P(E1)=P(E2)=P(E3)=P(E4)=14.
Let E: ball drawn is red,
∴P(EE1)=11+6+3=110P(EE2)=66+2+2=610P(EE3)=88+1+1=810and P(EE4)=00+6+4=0
By using Baye's theorem
P(ball is drawn from box A)=P(EE1)
=P(EE1)P(E1)P(EE1)P(E1)+P(EE2)P(E2)+P(EE3)P(E3)+P(EE4)P(E4)=110×14110×14+610×14+810×14+0×14=14014(110+610+810+0)=14014×1510=1401540=115
P(ball is drawn from box B)
P(EE2)=P(EE2)P(E2)P(EE1)P(E1)+P(EE2)P(E2)+P(EE3)P(E3)+P(EE4)P(E4)=610×14110×14+610×14+810×14+0×14=64014(110+610+810+0)=64014×1510=6401540=640×4015=25
P(ball is drawn from box C)
P(EE2)=P(EE3)P(E3)P(EE1)P(E1)+P(EE2)P(E2)+P(EE3)P(E3)+P(EE4)P(E4)=810×14110×14+610×14+810×14+0×14=84014(110+610+810+0)=84014×1510=8401540=840×4015=815