题型分析 — Probability Generating Functions
Question Type 1: Constructing PGF from a Discrete Distribution
如何识别
题目给出一个离散随机变量的概率分布(可能以文字描述——如从袋中取球、掷骰子等),要求写出 G(t)=∑P(X=x)tx。
- 确定随机变量 X 的所有可能取值
- 计算每个取值对应的概率 P(X=x)
- 代入 G(t)=∑P(X=x)tx
- 若有需要,化简合并同类项
- M1 列出所有 x 并正确计算至少一个概率
- A1 G(t) 表达式完全正确(通常接受未化简形式)
- B1 特别标注的概率(如 P(X=0))
Example 1 (S20 Q4): A bag contains 4 red balls and 2 blue balls. Two balls are drawn without replacement. Let X be the number of blue balls drawn. Find the probability generating function of X.
📝 MS 展开查看
X can take values 0, 1, 2.
P(X=0)=C26C24=156=52 B1
P(X=1)=C26C14×C12=158 M1
P(X=2)=C26C22=151 A1
GX(t)=52+158t+151t2 A1
[Total: 4]
Example 2 (W20 Q5): A biased coin has probability p of showing heads. It is tossed 3 times. Let Y be the number of heads obtained. Find GY(t).
📝 MS 展开查看
Y∼B(3,p)
P(Y=0)=(1−p)3, P(Y=1)=3p(1−p)2
P(Y=2)=3p2(1−p), P(Y=3)=p3 M1 A1
GY(t)=(1−p)3+3p(1−p)2t+3p2(1−p)t2+p3t3 A1
Alternatively: GY(t)=(1−p+pt)3 B1
[Total: 4]
Example 3 (S21 Q6): A fair dice is rolled once. Let Z be the score shown. Write down GZ(t).
📝 MS 展开查看
Z takes values 1, 2, 3, 4, 5, 6 each with probability 61. M1
GZ(t)=61(t+t2+t3+t4+t5+t6) M1 A1
[Total: 3]
- 不放回抽样时注意使用组合数,而非二项概率
- 区分 X 的取值起点(0 还是 1)——几何分布有不同的定义
- 不要遗漏 t0=1 项(即常数项)
Question Type 2: Finding E(X) and Var(X) from PGF
如何识别
给出 G(t)(可能是多项式或有理函数),要求求 E(X) 和 Var(X),或直接给出一组概率表达式要求利用 PGF 求矩。
- 对 G(t) 求导得 G′(t)
- 代入 t=1 得 E[X]=G′(1)
- 求二阶导 G′′(t),代入 t=1 得 E[X(X−1)]=G′′(1)
- Var(X)=G′′(1)+G′(1)−[G′(1)]2
- M1 对 G(t) 求导(至少正确求出一阶导)
- A1 G′(1) 或 E(X) 正确
- M1 求二阶导并代入
- A1 Var(X) 正确
Example 1 (W21 Q5): The probability generating function of X is GX(t)=61(t+t2+t3+t4+t5+t6). Find E(X) and Var(X).
📝 MS 展开查看
GX′(t)=61(1+2t+3t2+4t3+5t4+6t5) M1
GX′(1)=61(1+2+3+4+5+6)=621=3.5 A1
GX′′(t)=61(2+6t+12t2+20t3+30t4) M1
GX′′(1)=61(2+6+12+20+30)=670=335
Var(X)=G′′(1)+G′(1)−[G′(1)]2=335+27−(27)2 M1
Var(X)=335+27−449=12140+42−147=1235≈2.917 A1
[Total: 6]
Example 2 (S22 Q2): GX(t)=(21+21t)4. Find E(X) and Var(X).
📝 MS 展开查看
GX′(t)=4(21+21t)3⋅21=2(21+21t)3 M1
GX′(1)=2(21+21)3=2(1)3=2 A1
GX′′(t)=6(21+21t)2⋅21=3(21+21t)2 M1
GX′′(1)=3(1)2=3
Var(X)=3+2−(2)2=1 A1
[Alternatively: X∼B(4,0.5), E(X)=2, Var(X)=1]
[Total: 5]
Example 3 (S24 Q4): The probability generating function of Y is GY(t)=81(1+t)3. Find E(Y) and Var(Y).
📝 MS 展开查看
GY(t)=81(1+3t+3t2+t3)
GY′(t)=81(3+6t+3t2) M1
GY′(1)=81(3+6+3)=812=1.5 A1
GY′′(t)=81(6+6t) M1
GY′′(1)=81(6+6)=812=1.5
Var(Y)=1.5+1.5−(1.5)2=3−2.25=0.75 A1
[Alternatively: Y∼B(3,0.5), E(Y)=1.5, Var(Y)=0.75]
[Total: 5]
- G′(1)=E[X],不是 E[X2]
- Var(X)=G′′(1)+G′(1)−[G′(1)]2,忘记加 G′(1) 是典型错误
- 展开多项式时注意合并同类项;若 G(t) 是 (a+bt)n 形式,直接用链式法则
Question Type 3: Sum of Independent Random Variables
如何识别
题目给出两个或多个独立随机变量(有时是同分布),要求求 X+Y 的 PGF,或由和的 PGF 求概率分布。
- 写出每个变量的 PGF:GX(t) 和 GY(t)
- 乘积得和 PGF:GX+Y(t)=GX(t)⋅GY(t)
- 展开多项式(或幂级数),tk 的系数即为 P(X+Y=k)
- B1 正确写出每个变量的 PGF
- M1 GX⋅GY 乘积
- A1 乘积表达式正确
- M1 从展开系数提取概率
- A1 最终概率值正确
Example 1 (S20 Q6): X∼B(3,0.4) and Y∼B(2,0.4) are independent. Find P(X+Y=3) using PGFs.
📝 MS 展开查看
GX(t)=(0.6+0.4t)3 B1
GY(t)=(0.6+0.4t)2 B1
GX+Y(t)=(0.6+0.4t)3⋅(0.6+0.4t)2=(0.6+0.4t)5 M1
P(X+Y=3)=(35)(0.4)3(0.6)2 M1
P(X+Y=3)=10×0.064×0.36=0.2304 A1
[Total: 5]
Example 2 (W22 Q4): X and Y are independent discrete random variables with GX(t)=21(1+t) and GY(t)=41(1+t)2. Find P(X+Y=2).
📝 MS 展开查看
GX+Y(t)=GX(t)⋅GY(t)=21(1+t)⋅41(1+t)2 M1
GX+Y(t)=81(1+t)3 A1
81(1+t)3=81(1+3t+3t2+t3) M1
P(X+Y=2)=83 A1
[Total: 4]
Example 3 (W23 Q5): X1,X2,…,X5 are independent identically distributed random variables with GX(t)=31(1+t+t2). Let S=X1+X2+⋯+X5. Find P(S=2).
📝 MS 展开查看
GS(t)=[GX(t)]5=[31(1+t+t2)]5 M1
P(S=2) is coefficient of t2 in (31)5(1+t+t2)5 M1
Consider (1+t+t2)5. To get t2, possibilities:
- Two t's and three 1's: (25)=10 ways
- One t2 and four 1's: (15)=5 ways
Coefficient of t2=10+5=15 M1
P(S=2)=15×(31)5=24315=815 A1
[Total: 5]
- 和的 PGF 是乘积(GX⋅GY)而非和(GX+GY)
- 展开多项式时注意大型系数,可考虑组合解释而非完全展开
- 多个独立同分布变量的 PGF 是 [GX(t)]n,不要误写为 n⋅GX(t)
Question Type 4: Working Backwards from Sum-PGF
如何识别
给出 S=X1+X2+⋯+Xn 的 PGF(如 GS(t)=[GX(t)]n 形式),要求反推单个变量 Xi 的 PGF 或概率分布。
- 写出 GS(t)=[GX(t)]n
- 两边同时开 n 次方:GX(t)=[GS(t)]1/n
- 展开或通过系数匹配求 P(X=x)
- M1 识别 GS(t)=[GX(t)]2 或 n 次方关系
- M1 开方运算
- A1 GX(t) 正确
- M1/A1 由 GX(t) 系数得出概率分布
Example 1 (W25 Q7): S=X1+X2 where X1,X2 are independent and identically distributed. Given GS(t)=41(1+t)2, find the distribution of X1.
📝 MS 展开查看
GS(t)=[GX(t)]2 M1
[GX(t)]2=41(1+t)2 M1
GX(t)=21(1+t) (positive root) A1
Hence X1 takes values 0 and 1, each with probability 21. A1
[Total: 4]
Example 2 (S23 Q5): Y1,Y2,Y3 are independent and identically distributed. Given GY1+Y2+Y3(t)=271(1+t+t2)3, find GY1(t) and P(Y1=1).
📝 MS 展开查看
GY1+Y2+Y3(t)=[GY1(t)]3 M1
[GY1(t)]3=271(1+t+t2)3 M1
GY1(t)=31(1+t+t2) A1
P(Y1=1)= coefficient of t1 in GY1(t)=31 A1
[Total: 4]
Example 3 (S25 Q6): S=X1+X2 where X1,X2 are i.i.d. with unknown distribution. GS(t)=161(1+t)4. Find GX(t) and P(X=2).
📝 MS 展开查看
GS(t)=[GX(t)]2=161(1+t)4=[41(1+t)2]2 M1
GX(t)=41(1+t)2 A1
GX(t)=41(1+2t+t2) M1
P(X=2)=41 A1
[Total: 4]
- 开平方/开 n 次方时只取正根(概率非负)
- 注意区分 GS(t)=[GX(t)]n 和 GS(t)=[GX(t)]n 的不同 n 值
- 开方后检查各项系数是否在 [0,1] 范围内