题目
Problem
A random variable X has probability density function given by
f(x)={78λe−λx00<x<ln2,otherwise,
where λ is a constant.
(a) Show that λ=3.
(4)
(b) Use integration by parts to find E(X).
(4)
题目中文翻译
随机变量 X 的概率密度函数为
f(x)={78λe−λx00<x<ln2,其他情况,
其中 λ 是常数。
(a) 证明 λ=3。
(4)
(b) 用分部积分法求 E(X)。
(4)
原卷通用作答要求
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)
解法一
思路
展开
密度的总积分必须为 1。从归一化条件推出参数,而不是把目标值代回去验证。
答题过程
展开
The total probability is 1, so
78∫0ln2λe−λxdx=78[−e−λx]0ln2=78(1−e−λln2)=e−λln2=1,1,1,81=2−3.
Since e−λln2=2−λ, equating the exponents gives λ=3.
(b)
解法一
思路
展开
用(a)把密度写成确定的指数函数;分部积分令 u=x,最后保留精确值。
答题过程
展开
Using λ=3,
E(X)=724∫0ln2xe−3xdx.
Integrating by parts with u=x and dv=e−3xdx gives
E(X)===724[−e−3x(3x+91)]0ln2−7ln2−211+21831−7ln2≈0.234.