Three rotten apples are accidently mixed with fifteen good apples. Assuming the random variable x to be the number of rotten apples in a draw of two apples, the variance of x is
Solutions · 1
Official solution
3 bad apples, 15 good apples.
Let \[\mathrm{X}\] be no of bad apples
\[ Then P(X=0)=18C215C2=153105P(X=1)=18C23C1×15C1=15345P(X=2)=18C23C2=1533E(X)=0×153105+1×15345+2×1533=15351=31Var(X)=E(X2)−(E(X))2=0×153105+1×15345+4×1533−(31)2=15357−91=15340\]