HW 3 F 19 Solns
HW 3 F 19 Solns
HW 3 F 19 Solns
1. A die is rolled 5 times. Let X denote the number of times that you see a 1, 2, or 3.
Solution:
4 5−4
5 1 1
Pr(X = 4) = = 5/32.
4 2 2
Solution:
3
X
Pr(X > 3) = 1 − Pr(X ≤ 3) = 1 − e−2 2k /k! = 0.1429.
k=0
x −1 0 2 3
Pr(X = x) c 0.3 0.2 0.1
(a) Find the value of c that will make the p.m.f. sum to 1.
Solution: We have
0 if x < −1
0.4 if −1 ≤ x < 0
F (x) = Pr(X ≤ x) = 0.7 if 0≤x<2
0.9 if 2≤x<3
1.0 if x≥3
Solution: X
E[X] = xPr(X = x) = 0.3.
x
Solution: X
E[X 2 ] = x2 Pr(X = x) = 2.1.
x
(a) What’s the probability that the bulb will survive at least a year, Pr(X > 1)?
Solution: If X ∼ Exp(λ), we know from class that Pr(X > t) = e−λt . Thus,
in this problem, we find that Pr(X > 1) = e−2 .
(b) Suppose the bulb has already survived two years. What’s the probability
that it will survive another year, i.e., Pr(X > 3 | X > 2)?
3
(a) Find the value of c that will make the p.d.f. integrate to 1.
Solution:
0 if x < 0
F (x) = Pr(X ≤ x) = x3 if 0 ≤ x ≤ 1
1 if x ≥ 1
Solution: Z Z 1
E[X] = xf (x) dx = 3x3 dx = 3/4.
R 0
Solution: Similarly,
Z Z 1
2 2
E[X ] = x f (x) dx = 3x4 dx = 3/5.
R 0
Solution: We have
and
Var(−3Z) = Var(12X − 21) = 144Var(X) = 432.
7. When a machine is adjusted properly, 50% of the items it produces are good and
50% are bad. However, the machine is improperly adjusted 10% of the time; in
this case, 25% of the items it makes are good and 75% are bad. Suppose that
5 items produced by the machine are selected at random and inspected. If 4 of
these items are good (and 1 is bad), what’s the probability that the machine
was adjusted properly at the time? Hint: Try Bayes Theorem using Binomial
conditional probabilities.
Solution: Let X be the number of good items (out of 5). Further, define the
following events.
= 0.9897.
5
8. What Zombies song is based on Ben E. King’s “Stand By Me” (which was
performed at the recent Royal Wedding)?