D Full solutions to selected exercises 447
4.1 a In two independent throws of a die there are 36 possible outcomes, each
occurring with probability 1/36. Since there are 25 ways to have no 6’s, 10 ways to
have one 6, and one way to have two 6’s, we find that p
Z
(0) = 25/36, p
Z
(1) = 10/36,
and p
Z
(2) = 1/36. So the probability mass function p
Z
of Z is given by the following
table:
z 012
p
Z
(z)
25
36
10
36
1
36
The distribution function F
Z
is given by
F
Z
(a)=
⎧
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎩
0fora<0
25
36
for 0 ≤ a<1
25
36
+
10
36
=
35
36
for 1 ≤ a<2
25
36
+
10
36
+
1
36
=1 fora ≥ 2.
Z is the sum of two independent Ber(1/6) distributed random variables, so Z has
a Bin(2, 1/6) distribution.
4.1 b If we denote the outcome of the two throws by (i, j), where i is the out-
come of the first throw and j the outcome of the second, then {M =2,Z =0} =
{(2, 1), (1, 2), (2, 2) }, {S =5,Z =1} = ∅, {S =8,Z =1} = {(6, 2), (2, 6) }.Fur-
thermore, P(M =2,Z =0) = 3/36, P(S =5,Z = 1) = 0, and P(S =8,Z =1) =
2/36.
4.1 c The events are dependent, because, e.g., P(M =2,Z =0)=
3
36
differs from
P(M =2)· P(Z =0)=
3
36
·
253
36
.
4.10 a Each R
i
has a Bernoulli distribution, because it can only attain the values 0
and 1. The parameter is p =P(R
i
= 1). It is not easy to determine P(R
i
= 1), but
it is fairly easy to determine P(R
i
=0).The event{R
i
=0} occurs when none of
the m people has chosen the ith floor. Since they make their choices independently
of each other, and each floor is selected by each of these m people with probability
1/21, it follows that
P(R
i
=0)=
20
21
m
.
Now use that p =P(R
i
=1)=1− P(R
i
= 0) to find the desired answer.
4.10 b If {R
1
=0},...,{R
20
=0}, we must have that {R
21
=1}, so we cannot
conclude that the events {R
1
= a
1
},...,{R
21
= a
21
},wherea
i
is 0 or 1, are indepen-
dent. Consequently, we cannot use the argument from Section 4.3 to conclude that
S
m
is Bin (21,p). In fact, S
m
is not Bin (21,p) distributed, as the following shows.
The elevator will stop at least once, so P(S
m
=0)=0.However,ifS
m
would have
a Bin(21,p) distribution, then P(S
m
=0)=(1−p)
21
> 0, which is a contradiction.
4.10 c This exercise is a variation on finding the probability of no coincident birth-
days from Section 3.2. For m =2,S
2
= 1 occurs precisely if the two persons entering
the elevator select the same floor. The first person selects any of the 21 floors, the
second selects the same floor with probability 1/21, so P(S
2
=1)=1/21. For m =3,
S
3
= 1 occurs if the second and third persons entering the elevator both select the
same floor as was selected by the first person, so P(S
3
=1) = (1/21)
2
=1/441.
Furthermore, S
3
= 3 occurs precisely when all three persons choose a different floor.
Since there are 21 · 20 · 19 ways to do this out of a total of 21
3
possible ways, we