题目
Problem
Eric has three identical coins, each of which is biased so that the probability of obtaining a head when it is thrown is 31. The random variable X is the number of heads obtained when Eric throws the three coins at the same time.
(a) Find the probability generating function GX(t) of X.
[2]
Eric also has two fair 6-sided dice with faces numbered 1 to 6. The random variable Y is the number of sixes obtained when Eric throws the two dice at the same time. It is given that the probability generating function of Y is 3625+3610t+361t2.
Eric throws the three coins and the two dice. The random variable Z is the sum of the number of heads obtained and the number of sixes obtained.
(b) Find the probability generating function GZ(t) of Z, expressing your answer as a polynomial in t.
[3]
(c) Use GZ(t) to find E(Z) and Var(Z).
[5]
题目中文翻译
Eric 有三枚相同的硬币,每枚硬币都是不公平的,掷出正面的概率为 31。随机变量 X 表示 Eric 同时掷这三枚硬币时得到的正面个数。
(a) 求 X 的概率生成函数 GX(t)。
(2)
Eric 还有两枚公平的 6 面骰子,各面编号为 1 到 6。随机变量 Y 表示 Eric 同时掷这两枚骰子时得到 6 的次数。已知 Y 的概率生成函数为 3625+3610t+361t2。
Eric 掷这三枚硬币和两枚骰子。随机变量 Z 表示得到的正面个数与得到 6 的次数之和。
(b) 求 Z 的概率生成函数 GZ(t),并将答案表示为关于 t 的多项式。
(3)
(c) 使用 GZ(t) 求 E(Z) 和 Var(Z)。
(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)
解法一
思路
展开
把每枚硬币的正面指示变量写成一次生成函数。三个独立结果相加对应三次幂。
答题过程
展开
The PGF is
=GX(t)=(32+31t)3278+12t+6t2+t3.
解法二
思路
展开
先分别求得到零、一、二、三个正面的概率,再用概率生成函数的定义组成多项式。
答题过程
展开
Since X is binomial with parameters 3 and 1/3,
Pr(X=0)=Pr(X=1)=Pr(X=2)=Pr(X=3)=(32)3=278,3(31)(32)2=2712,3(31)2(32)=276,(31)3=271.
Therefore
GX(t)=278+2712t+276t2+271t3.
(b)
解法一
思路
展开
将硬币和骰子的生成函数相乘。按 t 的次数收集系数。
答题过程
展开
Independence gives
==GZ(t)972(8+12t+6t2+t3)(25+10t+t2)972200+380t+278t2+97t3+16t4+t5.
(c)
解法一
思路
展开
按题意使用 GZ。在 1 处求导,分别得到均值和二阶阶乘矩。
答题过程
展开
Differentiating the polynomial gives
GZ′(t)=GZ′′(t)=972380+556t+291t2+64t3+5t4,972556+582t+192t2+20t3.
Hence
GZ′(1)=972380+2(278)+3(97)+4(16)+5=34,
and
GZ′′(1)=9722(278)+6(97)+12(16)+20=1825.
Hence E[Z]=4/3 and
==Var(Z)GZ′′(1)+GZ′(1)−(GZ′(1))21825+34−(34)2=1817.