below is pmf of X:
P(X=-3)=P(all three are red balls)=4C3/12C3 =1/55
P(X=-2)=P(2 red and 1 black balls)=4C2*5C1/12C3 =3/22
P(X=-1)=P(2 red and 1 white balls)+P(1 red and 2 black balls)=3C14C2*5C0/12C3 +4C1*5C2/12C3 =29/110
P(X=0)=P(all three are black)+P(1 red, 1black and 1 white ball)=5C3/12C1 +3C14C1*5C1/12C3 =7/22
P(X=1)=P(1 red and 2 white balls)+P(1 white and 2 black balls)=21/110
P(X=2)=P(2 white and 1 black balls)=3/44
P(X=3)=P(all three are white balls)=1/220
hence E(X)=xP(x)=-3*(1/55)+(-2)*(3/22)+(-1)*(29/110)+0*(7/22)+1*(21/110)+2*(3/44)+3*(1/220)= -1/4 =$ -0.25
Get Answers For Free
Most questions answered within 1 hours.