题目
Problem
The discrete random variable X has probability generating function GX(t) given by
GX(t)=(3−2t)2t.
(a) Find E(X) and Var(X).
[5]
The discrete random variable Y has probability generating function GY(t) given by
GY(t)=(3−2t)2t2.
The random variable Z is the sum of the random variables X and Y.
(b) Assuming X and Y are independent, find P(Z>4).
[5]
题目中文翻译
离散随机变量 X 的概率生成函数 GX(t) 为
GX(t)=(3−2t)2t.
(a) 求 E(X) 和 Var(X)。
(5)
离散随机变量 Y 的概率生成函数 GY(t) 为
GY(t)=(3−2t)2t2.
随机变量 Z 是随机变量 X 和 Y 的和。
(b) 假设 X 和 Y 独立,求 P(Z>4)。
(5)
原卷通用作答要求
Answer all questions. You should use a calculator where appropriate.
You must show all necessary working clearly; no marks will be given for unsupported answers from a calculator.
Give non-exact numerical answers correct to 3 significant figures, or 1 decimal place for angles in degrees, unless a different level of accuracy is specified in the question.
请回答所有题目。适当时应使用计算器。必须清楚展示所有必要的计算过程;仅给出计算器答案而没有过程,不予评分。除非题目另有精度要求,非精确数值答案保留 3 位有效数字,以度为单位的角度保留 1 位小数。
解答
(a)
解法一
思路
展开
对生成函数求一阶、二阶导数。代入 t=1 得到均值和二阶阶乘矩。
答题过程
展开
For GX(t)=t(3−2t)−2,
GX′(t)=(3−2t)−2+4t(3−2t)−3,GX′′(t)=8(3−2t)−3+24t(3−2t)−4.
Thus GX′(1)=5 and GX′′(1)=32. Hence E[X]=5 and Var(X)=32+5−52=12.
(b)
解法一
思路
展开
将独立变量的生成函数相乘。最小幂是 t3,所以求出 t3、t4 的系数即可用补事件。
答题过程
展开
The generating function of the sum is
=GZ(t)=(3−2t)4t381t3(1−32t)−4.
The constant and linear terms of (1−32t)−4 are 1 and 38t. Hence Pr(Z=3)=1/81 and Pr(Z=4)=8/243. There is no smaller possible value, so
Pr(Z>4)=1−811−2438=243232.
解法二
思路
展开
先分别从两个生成函数中读出最小两个取值的概率。独立性允许把对应概率相乘,再枚举和不超过 4 的三种情况。
答题过程
展开
The first terms of the two generating functions are
GX(t)=GY(t)=9t(1−32t)−2=9t+274t2+⋯,9t2(1−32t)−2=9t2+274t3+⋯.
Thus Pr(X=1)=Pr(Y=2)=1/9 and Pr(X=2)=Pr(Y=3)=4/27. The minimum values are X=1 and Y=2, so Z≤4 consists of the disjoint pairs (1,2), (1,3) and (2,2). By independence,
Pr(Z≤4)==9191+91274+2749124311.
Hence Pr(Z>4)=1−11/243=232/243.