题目
Problem
The continuous random variable X has probability density function f(x) given by
f(x)=⎩⎨⎧20x3,0⩽x⩽2,106−x,2<x⩽6,0,otherwise.
(a) Sketch the graph of f(x) for all values of x
(3)
(b) Write down the mode of X
(1)
(c) Show that P(X>2)=0.8
(2)
(d) Define fully the cumulative distribution function F(x)
(4)
Given that
P(X<a∣X>2)=85
(e) find the value of F(a)
(2)
(f) Hence, or otherwise, find the value of a. Give your answer to 3 significant figures.
(3)
(Total for Question 6 is 15 marks)
题目中文翻译
连续随机变量 X 的概率密度函数 f(x) 为
f(x)=⎩⎨⎧20x3,0⩽x⩽2,106−x,2<x⩽6,0,其他情况.
(a) 画出 f(x) 对所有 x 值的图像。
(3)
(b) 写出 X 的众数。
(1)
(c) 证明 P(X>2)=0.8。
(2)
(d) 完整定义累积分布函数 F(x)。
(4)
已知
P(X<a∣X>2)=85
(e) 求 F(a) 的值。
(2)
(f) 由此或其他方法,求 a 的值。答案保留 3 位有效数字。
(3)
(第 6 题共 15 分)
解答
(a)
解法一
思路
展开
在 0≤x≤2 上,图像是从原点上升的三次曲线,并到达 (2,0.4);在 2<x≤6 上,图像是从 (2,0.4) 下降到 (6,0) 的直线。其余位置的密度为零。
答题过程
展开
For 0≤x≤2, the graph is the increasing cubic
f(x)=20x3,
from (0,0) to (2,0.4). For 2<x≤6, it is the straight line
f(x)=106−x,
from (2,0.4) to (6,0). Also, f(x)=0 outside [0,6].
(b)
解法一
思路
展开
众数是概率密度达到最大值的位置。图像在 x=2 处达到高度 0.4,两侧都从该点向下,因此众数为 2。
答题过程
展开
The maximum value of the probability density occurs at x=2. Therefore,
Mode(X)=2.
(c)
解法一
思路
展开
X>2 对应密度图像右侧的区域。将第二段密度积分,写出原函数并代入两个端点,即可求出这部分概率。
答题过程
展开
Using the second part of the density function,
=====P(X>2)∫26106−xdx101[6x−2x2]26101[(36−18)−(12−2)]1018−100.8,
as required.
解法二
思路
展开
右侧密度是一条直线,下面的区域是底为 6−2、高为 0.4 的三角形,因此可直接用面积求概率。
答题过程
展开
The region under the density for 2<X<6 is a triangle. Hence,
P(X>2)==21(6−2)(0.4)0.8,
as required.
解法三
思路
展开
也可先积分第一段密度求 P(X≤2),再从总概率 1 中减去它。
答题过程
展开
====P(X>2)1−∫0220x3dx1−[80x4]021−8016−00.8,
as required.
(d)
解法一
思路
展开
CDF 定义为从负无穷累积到 x 的概率。依密度函数的分段点 0,2,6 分成四段:中间两段分别积分;在支撑集左侧为 0,右侧为 1。
答题过程
展开
For 0≤x≤2,
F(x)====∫0x20t3dt[80t4]0x80x4−080x4.
In particular, F(2)=8016=0.2. For 2<x≤6,
======F(x)F(2)+∫2x106−tdt51+101[6t−2t2]2x51+101(6x−2x2−10)2012x−x2−162020−(x2−12x+36)1−20(6−x)2.
Therefore, the cumulative distribution function is
F(x)=⎩⎨⎧0,x<0,80x4,0≤x≤2,1−20(6−x)2,2<x≤6,1,x>6.
解法二
思路
展开
分别对两段密度求不定积分,再用 CDF 在支撑区间两端的值确定积分常数。第一段用 F(0)=0,第二段用 F(6)=1。
答题过程
展开
For 0≤x≤2,
F(x)==∫20x3dx80x4+C1.
Since F(0)=0, C1=0. Thus F(x)=x4/80 on this interval.
For 2<x≤6,
F(x)==∫106−xdx−20(6−x)2+C2.
Since F(6)=1,
1=−20(6−6)2+C2,
so C2=1. Hence,
F(x)=1−20(6−x)2.
At x=2, both expressions give F(2)=1/5, so the pieces agree. Together with F(x)=0 for x<0 and F(x)=1 for x>6, this gives the full CDF above.
(e)
解法一
思路
展开
条件 X>2 已知其概率为 0.8。事件 2<X<a 的概率是 F(a)−F(2),所以把条件概率写成分式,并使用 (d) 中的 F(2)=0.2 求 F(a)。
答题过程
展开
Since P(X>2)=0.8 and F(2)=0.2,
==P(X<a∣X>2)P(X>2)P(2<X<a)0.8F(a)−0.2.
Therefore,
0.8F(a)−0.2=F(a)−0.2=85,0.5.
Hence,
F(a)=0.7.
(f)
解法一
思路
展开
由 (e) 得 F(a)=0.7。由于 F(2)=0.2、F(6)=1,可知 2<a<6,因此使用 CDF 的第三段。解平方方程时,6−a>0,所以只取正平方根。
答题过程
展开
Since 2<a<6, use the third part of the cumulative distribution function:
1−20(6−a)2=0.7.
Thus,
(6−a)2=6−a=6,6,
because 6−a>0. Therefore,
a==≈6−63.550510…3.55.
The answer is given to 3 significant figures.
解法二
思路
展开
由 F(a)=0.7,可知右侧尾概率为 0.3。在 2<a<6 内,尾部图形是底为 6−a、高为 (6−a)/10 的三角形,用面积建立方程。
答题过程
展开
From part (e),
P(X>a)==1−F(a)0.3.
Since F(2)=0.2, F(a)=0.7 and F(6)=1, we have 2<a<6. The triangular tail has base 6−a and height f(a)=(6−a)/10. Therefore,
21(6−a)106−a=(6−a)2=0.3,6.
As 6−a>0, we take the positive square root:
6−a=a=≈6,6−63.55.
The answer is given to 3 significant figures.
解法三
思路
展开
尾部小三角形与 2 到 6 下面的整个三角形相似。面积比等于对应边长比的平方;大三角形面积是 (c) 的 0.8,小三角形面积是 1−F(a)=0.3。
答题过程
展开
The triangular tail for a<X<6 is similar to the triangle for 2<X<6. Their respective areas are 0.3 and 0.8, while their bases are 6−a and 6−2=4.
Hence,
(46−a)2=(6−a)2==0.80.3,16(83)6.
Since 2<a<6, 6−a>0. Thus,
a=6−6≈3.55,
to 3 significant figures.