Daily Homework 12 Solutions
Daily Homework 12 Solutions
(a) Find c.
|x|e−|x| + e−|x|
=
4
The marginal density of Y is
Z y 2
y − x2 −y
fY (y) = e dx
−y 8
1 3 −y
= y e (y > 0)
6
(c) Find E[X].
Solution.
Solution. We compute
Z 1Z x
6 2 xy
P (X > Y ) = x + dydx
0 0 7 2
Z 1 x
6 2 xy 2
= x y+
0 7 4
0
Z 1
6 5 3
= · x dx
0 7 4
Z 1
15 3
= x dx
0 14
1
15 4
= x
64 0
15
=
64
(d) Find P (Y > 1/2|X < 1/2).
Solution. We compute
P (X < 1/2, Y > 1/2)
P (Y > 1/2|X < 1/2) =
P (X < 1/2)
R 1/2 R 2 6 2 xy
0 1/2 7
x + 2
dydx
= R 1/2 R 2 6
x2 + xy
0 0 7 2
dydx
y=2
xy 2
R 1/2 6 2
0 7
x y + 4 dx
y=1/2
= R 1/2 6 y=2
2
x 2 y + xy
dx
0 7 4
y=0
R 1/2 6 2 1 2 x
0 7
2x + x − 2
x − 16
dx
= R 1/2 6
0 7
(2x2 + x) dx
1 3
1/2
2
x + 15 32
x2 0
= 1/2
2 3
3
x + 1 x2
2 0
1 15
16
+ 128
= 1
12
+ 81
69
=
80
3. (Chapter 6, Problem 19) Show that f (x, y) = 1/x, where 0 < y < x < 1 is a joint
density function. Assuming that f is the joint density function of X and Y , find
= − ln y 0<y<1
(c) E[X];
Solution. The expected value of X is
Z 1
E[X] = xfX (x) dx
0
Z 1
= x dx
0
1
=
2
(d) E[Y ]