



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Questions on probability density functions and expected values
Typology: Exercises
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Winter Quarter 2017 Néhémy Lim
Problem 1. Let X be a continuous random variable whose probability density
function is:
fX ( x ) = 3 x
2 (^1) 0 , 1
(a) Verify that fX is a valid probability density function.
Answer. First, fX ( x ) is clearly nonnegative since 3 x 2 ≥ 0 for 0 ≤ x ≤ 1
and 0 otherwise. Second, let us show that
R
fX = 1 :
−∞
fX ( x ) dx =
0
3 x
2 dx = x
3
1
0
(b) What is P( X = 1 / 2)?
Answer. X is a continuous random variable. Hence, the probability that
X takes on a particular value is zero : P( X = 1 / 2) = 0.
(c) What is P(1 / 2 < X < 1)?
Answer.
1 / 2
fX ( x ) dx
1 / 2
3 x
2 dx
= x
3
1
1 / 2
(d) Give the cumulative distribution function FX of X.
Answer. The cumulative distribution function FX of X is piecewise like
its probability density function :
FX ( x ) =
∫ (^) x
−∞
fX ( t ) dt =
∫ (^) x
−∞
0 dt = 0
FX ( x ) = FX (0) +
x
0
fX ( t ) dt
x
0
3 t
2 dt
= t
3
x
0
= x
3
FX ( x ) = FX (1) +
x
1
fX ( t ) dt
3
In a nutshell, FX is given by :
FX ( x ) =
0 if x < 0
x
3 if 0 ≤ x ≤ 1
1 if x > 1
(e) What is the expected value of X?
Answer.
∞
−∞
xfX ( x ) dx
0
3 x
3 dx
x
4
1
0
(f) What is the variance of X?
x
fX ( x )
(b) Verify that fX is a valid probability density function.
Answer. It is obvious that fX is nonnegative. Let us show that
R
fX = 1
:
∞
−∞
fX ( x ) dx =
− 1
−∞
fX ( x ) dx +
0
− 1
fX ( x ) dx +
1
0
fX ( x ) dx +
∞
1
fX ( x ) dx
− 1
( x + 1) dx +
0
(1 − x ) dx + 0
x 2
− 1
x −
x 2
0
(c) Give the cumulative distribution function FX of X.
Answer. The cumulative distribution function FX of X is piecewise like
its probability density function :
FX ( x ) =
∫ (^) x
−∞
fX ( t ) dt =
∫ (^) x
−∞
0 dt = 0
FX ( x ) = FX (−1) +
∫ (^) x
− 1
fX ( t ) dt
∫ (^) x
− 1
( t + 1) dt
t 2
x
− 1
x
2
x 2
( x + 1)
2
FX ( x ) = FX (0) +
∫ (^) x
0
fX ( t ) dt
2
x
0
(1 − t ) dt
t −
t 2
] x
0
x −
x 2
x
2
FX ( x ) = FX (1) +
x
1
fX ( t ) dt
2
In a nutshell, FX is given by :
FX ( x ) =
0 if x < − 1 1 2 ( x + 1)
2 if − 1 ≤ x ≤ 0
x 2
2
1 2
if 0 < x ≤ 1
1 if x > 1