返回题库

开心乐园餐开盒

Happy Meal Unveiling

专题
Probability / 概率
难度
L3

题目详情

你和五位朋友一起去麦当劳购买新的宝可梦开心乐园餐。假设每份开心乐园餐都会附带四种不同宝可梦卡片中的一种,而且每种卡片出现的概率相同。你和朋友们一共期望得到多少种不同的卡片?

You and five friends go to McDonald's for the new Pokémon Happy Meal. Suppose each Happy Meal comes with one of four unique Pokémon cards. No card is more likely to appear than the other. How many unique cards are you expecting among you and your friends?

解析

XiX_i 为指示变量,表示第 ii 种卡片是否至少在 6 份套餐中出现过一次:

Xi={1,若第 i 种卡至少出现一次,0,否则.X_i = \begin{cases} 1, & \text{若第 $i$ 种卡至少出现一次},\\ 0, & \text{否则}. \end{cases}

不同卡片的总数为 X=X1+X2+X3+X4.X = X_1 + X_2 + X_3 + X_4.

由期望的线性性: E[X]=E[X1+X2+X3+X4]=i=14E[Xi].\mathbb{E}[X] = \mathbb{E}[X_1 + X_2 + X_3 + X_4] = \sum_{i=1}^{4} \mathbb{E}[X_i].

对每一种卡片而言,它至少出现一次的概率为 E[Xi]=1Pr(第 i 种卡一次都没出现)=1(34)6.\mathbb{E}[X_i] = 1 - \Pr(\text{第 $i$ 种卡一次都没出现}) = 1 - \left(\frac{3}{4}\right)^6.

因此 E[X]=4(1(34)6)40.822=3.288.\mathbb{E}[X] = 4 \left(1 - \left(\frac{3}{4}\right)^6\right) \approx 4 \cdot 0.822 = 3.288.

E[X]3.29\boxed{\mathbb{E}[X] \approx 3.29}

Original Explanation

Let XiX_i be the indicator that card ii appears at least once among the 6 meals:

Xi={1,if card i appears at least once,0,otherwise.X_i = \begin{cases} 1, & \text{if card $i$ appears at least once},\\ 0, & \text{otherwise}. \end{cases}

The total number of unique cards is X=X1+X2+X3+X4.X = X_1 + X_2 + X_3 + X_4.

By linearity of expectation: E[X]=E[X1+X2+X3+X4]=i=14E[Xi].\mathbb{E}[X] = \mathbb{E}[X_1 + X_2 + X_3 + X_4] = \sum_{i=1}^{4} \mathbb{E}[X_i].

Each card appears with probability E[Xi]=1Pr(card i never appears)=1(34)6.\mathbb{E}[X_i] = 1 - \Pr(\text{card $i$ never appears}) = 1 - \left(\frac{3}{4}\right)^6.

Hence E[X]=4(1(34)6)40.822=3.288.\mathbb{E}[X] = 4 \left(1 - \left(\frac{3}{4}\right)^6\right) \approx 4 \cdot 0.822 = 3.288.

E[X]3.29\boxed{\mathbb{E}[X] \approx 3.29}