设 Xi 为指示变量,表示第 i 种卡片是否至少在 6 份套餐中出现过一次:
Xi={1,0,若第 i 种卡至少出现一次,否则.
不同卡片的总数为
X=X1+X2+X3+X4.
由期望的线性性:
E[X]=E[X1+X2+X3+X4]=i=1∑4E[Xi].
对每一种卡片而言,它至少出现一次的概率为
E[Xi]=1−Pr(第 i 种卡一次都没出现)=1−(43)6.
因此
E[X]=4(1−(43)6)≈4⋅0.822=3.288.
E[X]≈3.29
Original Explanation
Let Xi be the indicator that card i appears at least once among the 6 meals:
Xi={1,0,if card i appears at least once,otherwise.
The total number of unique cards is
X=X1+X2+X3+X4.
By linearity of expectation:
E[X]=E[X1+X2+X3+X4]=i=1∑4E[Xi].
Each card appears with probability
E[Xi]=1−Pr(card i never appears)=1−(43)6.
Hence
E[X]=4(1−(43)6)≈4⋅0.822=3.288.
E[X]≈3.29