hw11
hw11
Sundry
Before you start writing your final homework submission, state briefly how you worked on it. Who
else did you work with? List names and email addresses. (In case of homework party, you can just
describe the group.)
Note 19 It’s that time of the year again—Safeway is offering its Monopoly Card promotion. Each time you
visit Safeway, you are given one of n different Monopoly Cards with equal probability. You need
to collect them all to redeem the grand prize.
Let X be the number of
visits you have to make before you can redeem the grand prize. Show that
2 n
Var(X) = n ∑i=1 i −2 − E[X].
Note 15 You are dealt 5 cards from a standard 52 card deck. Let X be the number of distinct values in your
Note 16 hand. For instance, the hand (A, A, A, 2, 3) has 3 distinct values.
(a) Calculate E[X]. (Hint: Consider indicator variables Xi representing whether i appears in the
hand.)
(b) Calculate Var(X). The answer expression will be quite involved; you do not need to simplify
anything.
Note 16 (a) You roll a fair six-sided die and record the result X. You roll the die again and record the
result Y .
(i) What is cov(X +Y, X −Y )?
(ii) Prove that X +Y and X −Y are not independent.
4 Dice Games
Note 20 (a) Alice rolls a die until she gets a 1. Let X be the number of total rolls she makes (including
the last one), and let Y be the number of rolls on which she gets an even number. Compute
E[Y | X = x], and use it to calculate E[Y ].
(b) Bob plays a game in which he starts off with one die. At each time step, he rolls all the dice
he has. Then, for each die, if it comes up as an odd number, he puts that die back, and adds
a number of dice equal to the number displayed to his collection. (For example, if he rolls a
one on the first time step, he puts that die back along with an extra die.) However, if it comes
up as an even number, he removes that die from his collection.
Compute the expected number of dice Bob will have after n time steps. (Hint: compute the
value of E[Xk | Xk−1 = m] to derive a recursive expression for Xk , where Xi is the random
variable representing the number of dice after i time steps. )
5 Iterated Expectation
Note 20 In this question, we will try to achieve more familiarity with the law of iterated expectation.
(a) You lost your phone charger! It will take D days for the new phone charger you ordered
to arrive at your house (here, D is a random variable). Suppose that on day i, the amount
of battery you lose is Bi , where E[Bi ] = β . Let B = ∑D
i=1 Bi be the total amount of battery
drained between now and when your new phone charger arrives. Apply the law of iterated
expectation to show that E[B] = β E[D].
(Here, the law of iterated expectation has a very clear interpretation: the amount of battery
you expect to drain is the average number of days it takes for your phone charger to arrive,
multiplied by the average amount of battery drained per day.)