hw01-sol
hw01-sol
Dr. A. B. Dieker
Homework 1
due on Friday January 31, 2025, 11:59pm EST
Include all intermediate steps of the computations in your answers. If the answer is readily
available on the web (e.g., on wikipedia), then credit is only given for the intermediate steps.
1. In the Ivy League conference of the NCAA soccer championship, Columbia University plays
seven games per season. In this problem, we model Columbia’s season as seven experiments and
choose S = {W, N }7 for the underlying sample space, where W stands for win and N stands
for a non-win (loss or tie). For i = 1, . . . , 7, we define Xi as a random variable on S signifying
whether or not the i-th match results in a win.
(a) Write down three events on S; you are completely free to choose the events you write down.
Do not use words to describe your events.
(b) Write down three outcomes in S; you are completely free to choose the outcomes you write
down.
(c) Give the value X1 assigns to each of your three outcomes in part (b).
Solution.
(a) There are many correct answers to this question. Here is one: S, ∅, {(W, W, W, W, W, W, W )}
are three events.
(b) There are many correct answers to this question. Here is one: Three outcomes are ω1 =
(W, W, W, W, W, W, W ), ω2 = (W, N, W, W, W, W, W ), and ω3 = (W, W, N, W, W, W, W ).
(c) We have X1 (ω1 ) = X1 (ω2 ) = X1 (ω3 ) = 1.
,
2. Suppose you own a four-sided (tetrahedral) die. Such a die has four faces, each of which is
equally likely to appear. (Most commonly such dice have three numbers between 1 and 4 on
each face. The number rolled is the number that appears upright on each of the three visible
faces. You do not need to use this information for this problem.) You roll this die and you
choose S = {1, 2, 3, 4} for your sample space.
(a) Specify all outcomes in S.
(b) Specify the random variable X representing the square of the number rolled.
(c) Specify all events in S.
(d) Specify the probability function P .
Solution.
(a) There are six possible outcomes in S: ω1 = 1, ω2 = 2, ω3 = 3, and ω4 = 4.
(b) We have X(ω) = ω 2 for all ω ∈ S.
(c) Since events are defined as subsets of S, we need to list all possible subsets of the sample
space S: ∅, {1}, {2}, {3}, {4}, {1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4}, {1, 2, 3}, {1, 2, 4},
{1, 3, 4}, {2, 3, 4}, and S = {1, 2, 3, 4}. Note that total number of subsets is 24 = 16.
(d) The probability function is given by
|E| |E|
P (E) = =
|S| 4
for all events E ⊆ S, where | · | stands for the cardinality of a set, i.e., the number of
elements contained in the set.
,
3. Three events A, B, and C satisfy P (A) = 4/9, P (B) = 5/9, P (A|B) = 3/5, and P (Ac ∩B c ∩C c ) =
0. Calculate P (Ac ∩ B c ∩ C).
Solution. First note that P (A ∩ B) = P (A|B)P (B) = 1/3. We have
and
,
4. Santa Claus delivers gifts with the help of eight reindeer. Answer each of the following with one
word only: What would be a reasonable distribution for:
(a) The number of reindeer with sore feet after their Christmas Eve ride.
(b) Whether or not he has a gift for you.
Solution. (a) Binomial
(b) Bernoulli ,
5. The k-th central moment of a random variable X is defined by µk = E[(X − E(X))k ]. For
instance, the second central moment equals the variance.
Compute all central moments of a standard uniform random variable. (A standard uniform
random variable is uniform on [0, 1].)
Solution. We have fU (x) = 1 for 0 ≤ x ≤ 1 (and 0 otherwise), so
Z ∞ Z 1 Z 1
E(U ) = xfU (x)dx = xfU (x)dx = xdx = 1/2.
−∞ 0 0
2
(a) Can g be a probability density function? Explain why or why not.
(b) Can g be a cumulative distribution function? Explain why or why not.
Solution.
Solution.
{X ≤ 3/2} ∩ {X > 0} =
̸ ∅.
(b) No, because we saw that P (X ≤ 3/2, X > 0) = 4/10 and we similarly find that
we deduce that P (0 < X ≤ 3/2) ̸= P (X ≤ 3/2)P (X > 0). We conclude that {X ≤ 3/2}
and {X > 0} are not independent.
3
(c) We find that
E(X) = (−1) × p(−1) + 0 × p(0) + 1 × p(1) + 2 × p(2) = 9/10.
A picture of the support of (X, Y ) is given below. (The support is the set of all points where f
is positive, more specifically the closure of this set.)
y
y = 1 + x2
2
y = x2
−1 0 1 x
−1
y = −x2
−2
2
x = −1 x = 1 y = −1 − x
Solution.
(a) It is clear that FX (a) = 0 when a ≤ −1 and FX (a) = 1 when a > 1. Now we consider the
case of −1 < a ≤ 1. We get that
Z a Z ∞ Z a Z 1+x2
1 a+1
FX (a) = f (x, y)dydx = 2 dydx = .
−∞ −∞ −1 x2 4 2
4
Therefore, the marginal cumulative distribution function of X is
0
for a ≤ −1
a+1
FX (a) = 2 for − 1 < a ≤ 1
1 for a > 1.
5
(c) We first note that XY takes values in [0, 1] since (X, Y ) takes values in [0, 1]2 . For t ∈ [0, 1],
we first calculate P (XY > t) by noting that
Z
P (XY > t) = f (x, y)dxdy
{(x,y):xy>t}
Z 1Z 1
= 2xdydx
t t/x
Z 1
= 2(x − t)dx
t
= (x − t)2 |1t
= (1 − t)2 .