数字位数与 0 的个数:协方差
Covariance of Digits and Zeros in Random Card Draw
题目详情
有 111 张卡片编号 1 到 111,随机均匀抽一张。
令 为卡片上的数字位数(1 到 3),令 为数字中 0 的个数。
求 。
In a scenario with 111 cards numbered from 1 to 111, a card is drawn at random.
Let be the number of digits on the card (ranging from 1 to 3), and the number of zeros.
Calculate .
解析
可列联合分布并计算:
因此
Original Explanation
Step 1: Construct the joint probability mass function (pmf)
| 1 | |||
| 2 | |||
| 3 |
Step 2: Compute expectations
- Expected number of digits:
- Expected number of zeros:
- Expected value of the product:
Step 3: Compute covariance