

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Spring 2007 ECE 413: Solutions to Problem Set 4
p = 0.
p = 0. 0
p = 0.
p = 0.
p = 0.
p = 0.
p = 0.
(c) The pmfs of Xp and X 1 −p are “reverses” of each other. For each choice of k, k = 0 , 1 ,... , 10, and any value of p, P {Xp = k} = P {X 1 −p = 10 − k}. Note that Xp counts the number of occurrences on 10 independent trials of an event A of probability p. But, if Xp = k, then the complementary event Ac^ (of probability 1 − p), must have occurred 10 − k times, and the number of occurrences of Ac^ is counted by X 1 −p.
(b) P {X is even} =
(1 − p)N^ +
(1 − p)N^ −^2 p^2 +
(1 − p)N^ −^4 p^4 + · · ·
Now, a minor extension to Problem 1(e) of Problem Set 2 shows that
(x + y)N^ + (x − y)N^ = 2
xN^ +
xN^ −^2 y^2 + · · ·
, and so, setting x = 1 − p,
y = p, we get P {X is even} =
(1 − p + p)N^ + (1 − p − p)N^
1 + (1 − 2 p)N^
Notice that the probability is 1/2 for p = 1/2.
(a) E[X ] =
i=
i · pX (i) = 4 by tedious calculation, or, more simply, E[X ] = np = 4.
(b) Y takes on values 1, 2 , 3 , 0 with probabilities 25628 , 2568 , 2561 , and 1 − 28+8+1 256 = 219256.
(c) i. E[Y] =
i=
i · pY (i) =
. ii. E[Y] =
i=
max{X − 5 , 0 } · pX (i) =
(d) The airline has collected $400 in fares from the passengers. The operating cost is $200 + 10(X − Y) and the airline pays out $70Y in returned fares plus penalties. Thus, $Z = 400 − 200 − 10(X − Y) − 70 Y = 200 − 10 X − 60 Y is the net profit from the flight. Hence, E[Z] = 200 − 10 E[X ] − 60 E[Y] ≈ $148. 98.. .. Notice how LOTUS and the linearity of expectation allow us to ezily compute E[Z] without finding the pmf of Z first.
(a) (b) You lose $6 if none of the dice show your chosen number. This occurs with probability ( (^5) 6
= 125216. If one of the dice matches, you win $6 with probability 3 · 16 ·
6
= 21675. You win $12 with probability 3 · 56 ·
6
= 21615 , and you win $18 with probability
6
Rationality test: 125 + 75 + 15 + 1 = 216.
(b) E[X ] = (−6)
(c) If all three dice show different numbers (which has probability 66 ··^56 ··^46 = 120216 of occurring), you win $1 on the three numbers but lose $1 on the other three for a net gain of $0. If two dice show the same number (which has probability 3 · 66 ··^16 ··^56 = 21690 of occurring) you win $2 for that number and $1 for the other number showing, but lose $1 on the remaining four for a net loss of $1. If all three dice show the same number (which has probability 6 · 16 ··^16 ··^16 = 2166 of occurring), you win $3 for that number, but lose $1 on the other five for a net loss of $2. Thus,
E[Y] = (0)
Thus, the average loss is the same regardless of whether you split your bet or not. Worse yet, your wealth will never increase if you split your bet: you will never win any money, whereas if you bet your money on one number, there is a small chance that you will be ahead at some time. (Do remember to quit while you are ahead, will ya?)
λ^2 2!
λ^4 4!
= exp(−λ) cosh(λ) by recognizing the series in square brackets.
(b)
1 + (1 − 2 p)N^
2 λ N
[1+exp(− 2 λ)] = exp(−λ)
exp(λ) + exp(−λ) 2 = exp(−λ) cosh(λ).
101
102
103
104
105 105
4
3
2
1
0
(c) We saw earlier that if X is a binomial random variable with parameters (n, p), then Y = n − X is a binomial random variable with parameters (n, 1 − p). (d) P {Y ≥ 5 } = 1 − P {Y = 0} − P {Y = 1} − P {Y = 2} − P {Y = 3} − P {Y = 4}
= 1 − exp(− 10 .5)
3 32 per drawing. A fair bet would have a prize of $32, not $29. (b) Let X denote the number of the trial on which 7 occurs for the first time. Then, X is a geo-
metric random variable with parameter 321. Your winnings are $Y =
and LOTUS gives $E[Y] = −$1. 80529.. .. On average, you lose less than (29 × $ 323 ), be- cause you don’t always bet on all 29 draws; you prudently stop when you have won.
(c) P {X > 21 } =
= 0.5133884, and so you lose $1 with probability 0.
and win $1 with probability 1 − 0 .5133884 = 0.4866116 for an average loss of $0. per Minibucks ticket.