Solutions To Quizzes and The Test, Chapter 01 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 108

SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 1

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 1 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 1.2

1. Suppose that jabk represents the order in which Jody is standing on the far left, Ann
next to Jody, Bill next to Ann, and Karl next to Bill. Define all other sample points
(possible outcomes) similarly. The event that, on the line, males and females alternate
is
E = {jbak, jkab, abjk, akjb, bjka, bakj, kjba, kabj}.
100
!
2. (a) E1E2 · · · E100. (b) E1 E2 · · · Ei−1 Eic Ei+1 · · · E100.
i=1

3.
(E ∪ F )(F ∪ G)(EG ∪ F c ) = (F ∪ E)(F ∪ G)(EG ∪ F c )
= (F ∪ EG)(EG ∪ F c )
= (EG ∪ F )(EG ∪ F c )
= EG ∪ F F c = EG ∪ ∅ = EG.

4. The event that a signal fed to the input is transmitted to the output is
F = E1 E2 E4 E7 ∪ E1 E2 E5 E6 E7 ∪ E1 E3 E5 E6 E7 ∪ E1 E3 E4 E7 .

Section 1.4

1. The desired probability is


" #
P (Ac B c ) = 1−P A∪B = 1−P (A)−P (B)+P (AB) = 1−1/3−1/4+0 = 5/12.

2. Let A be the event that Zack reads the book assigned on the given period. Let B
be the event that he completes his philosophy paper on or before the deadline. The
probability that he ends up meeting the deadline only for one assignment is
$ %
P (A ∪ B) − AB = P (A ∪ B) − P (AB) = 0.95 − 0.6 = 0.35.
Note that this equality holds since AB ⊆ A ∪ B.

3. Let F , E, and I be the events that a randomly selected American traveler to Europe
travels to France, Englad, and Italy, respectively. We have
" #
P F ∪ E ∪ I = P (F ) + P (E) + P (I) − P (F E) − P (F I) − P (EI) + P (EF I).
Therefore,
2 1 1 1 1 1 1
= + + − − − + P (EF I).
3 3 2 4 5 5 5
This gives that P (EF I) = 11/60.
Chapter 1 Solutions to Self-Quiz Problems 3

Section 1.7

1. No, it does not! In the experiment of choosing a random point from the interval
(0, 1), let A be the event that the outcome is either 1/3 or 1/2, and B be the event that
the outcome is either 1/5 or 1/3. Then
" AB# = {1/3}. So A and B are not mutually
exclusive. However, P (AB) = P {1/3} = 0.

2. For the experiment of choosing a point at random from the interval [0, 1], let E n =
&1 1 1 2 '
− , + , n ≥ 1. Applying the Continuity of Probability Function
3 n+2 3 n+2
to
En ’s, show that P (1/3 is selected) = 0.
Chapter 1 Solutions to Self-Test Problems 4

SOLUTIONS TO SELF-TEST PROBLEMS

1. (a) By symmetry, the probability that Crispin ends up paying for dinner is 1/3.

(b) The sample space for one round of flips is


( )
S = HHT, HTH, HTT, HHH, THT, TTH, THH, TTT .

The probability that no more than one round of flips is necessary is equal to the
probability that HHH and TTT do not occur in the first round, which is 6/8 = 3/4.

2. Let x1, x2, x3, x4 , and x5 be the production level, in hundreds, for baseballs, tennis
balls, softballs, basketballs, and soccer balls, respectively. A sample space for the
production levels of these balls by this manufacturer is
( )
S = (x1 , x2 , . . . , x5) : 8 ≤ xi ≤ 13, 1 ≤ i ≤ 5 .

The event that on this day, the difference between the number of baseballs and soccer
balls produced will exceed 100 is
( )
E = (x1 , x2, . . . , x5 ) ∈ S : |x1 − x5 | ≤ 1
( )
= (x1 , x2, . . . , x5 ) ∈ S : x5 − 1 ≤ x1 ≤ x5 + 1 .

3. (a) The sample space is

S = {A1 A2 A3 , Ac1 A2 A3 , A1 Ac2 A3 , A1 A2 Ac3 , Ac1 Ac2 A3 , Ac1 A2 Ac3 , A1 Ac2 Ac3 , Ac1 Ac2 Ac3 }.

(b) The event that the system is not operative at the random time is

E = {Ac1 A2 A3 , A1 Ac2 A3 , A1 A2 Ac3 , Ac1 Ac2 A3 , Ac1 A2 Ac3 , A1 Ac2 Ac3 , Ac1 Ac2 Ac3 }.

4. Let A be the event that a randomly selected person from the given age group at this
geographic area suffers from Parkinson’s disease. Let B be the even that he or she
suffers from Alzheimer’s disease. The desired probability is
" # * +
P (Ac B c ) = 1 − P A ∪ B = 1 − P (A) + P (B) − P (AB)
= 1 − (0.134 + 0.113 − 0.0226) = 0.7756.

This shows that 77.56% of the people in the given age group in the given geographic
area have neither of the two diseases.
" #
5. We have that E cF = E ∪ F − E and E ⊆ E ∪ F . So
" # " # * +
P E cF = P E ∪F −P (E) = 1−P (E c F c ) −P (E) = (1−0.35)−0.4 = 0.25.
" #c
Note that by DeMorgan’s first law, E ∪ F = E cF c .
Chapter 1 Solutions to Self-Test Problems 5

6. Drawing a Venn diagram, it can be easily seen that the answer is 0.02. Here is a
formal solution: Let B , C, and E be the events that the student received an A in
biology, calculus, and English, respectively. We are interested in P (CB c E c ). Now
CB c E c = C − C(B ∪ E) and C(B ∪ E) ⊆ C. So by Theorem 1.5,
" #
P (CB c E c ) = P (C) − P C(B ∪ E) = P (C) − P (CB ∪ CE)
= P (C) − P (CB) − P (CE) + P (CBE)
= 0.18 − 0.10 − 0.13 + 0.07 = 0.02.

So the probability is .02 that a randomly selected freshman from this college, last
semester, received an A in calculus, but not in biology and not in English.
,∞
7. Note that E 1 ⊇ E2 ⊇ · · · ⊇ En ⊇ En+1 ⊇ · · · and limn→∞ En = i=1 Ei = {1}.
So by the Continuity of the Probability Function (Theorem 1.8), we have
" # " # 2n + 1 2
P {1} = P lim En = lim P (En ) = lim = .
n→∞ n→∞ n→∞ 3n 3

8. For 0 ≤ i ≤ 5, let Ai be the event that exactly i of these customers buy an Android
smartphone. We have that
5
- 2
- 5
-
P (Ai ) = P (Ai ) + P (Ai ) = 1.
i=0 i=0 i=3
.
Now 5i=3 P (Ai ) = 0.54, since it is.the probability of at least three customers pur-
chasing an Android smartphone. So 2i=0 P (Ai ), the probability that at most two of
the customers purchase such a phone is, 1 − 0.54 = 0.46.

9. Let L be the event that a randomly selected town’s drinking water is contaminated
" #
with lead. Let A be the event that it is contaminated with asbestos fibers. P Lc Ac =
0.13 implies that
" # " #
P L ∪ A = 1 − P Lc Ac = 1 − 0.13 = 0.87.

Thus,
P (L) + P (A) − P (LA) = 0.87,
or 0.32 + 0.43 − P (LA) = 0.87. This gives P (LA) = 0.12. The probability that,
in a randomly selected town, the drinking water supply is contaminated with exactly
one of these two impurities is

P (L − LA) + P (A − LA) = P (L) − P (LA) + P (A) − P (LA)


= P (L) + P (A) − 2P (LA)
= 0.32 + 0.43 − 2(0.12) = 0.51.

Thus in 51% of the towns of this country, the drinking water supplies are contami-
nated with exactly one of the two impurities.
Chapter 1 Solutions to Self-Test Problems 6

10. Let E be the event that a randomly selected traveler visiting Paris on that certain week
took a trip to the Eiffel Tower. Let L and N be the events that he or she visited the
Louvre Museum and Notre Dame Cathedral, respectively. The desired probability is
"
P (E c Lc N c ) = 1 − P E ∪ L ∪ N )
* +
= 1 − P (E) + P (L) + P (N ) − P (EL) − P (EN ) − P (LN ) + P (ELN )
$1 1 1 1 1 1 % 7
=1− + + − − − +0 = .
3 2 3 4 4 4 12
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 2

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 2 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 2.2

1. There are 365 × 365 × 365 possibilities for the birth dates of three randomly selected
people. Of all these possibilities only in 365 cases all three have the same birthday.
So the desired probability is
365 1
= ≈ 0.0000075.
365 × 365 × 365 133, 225
That is, the odd is 1 in 133,225 that these three randomly selected professors have the
same birthday.

2. For each member of the board, there are three possibilities: he or she will not attend,
will attend alone, and will attend with his or her spouse. so the answer is 3 12 =
531, 441.

3. Clearly, whatever the birthdays of the first five people in line, does not affect the
probability we are interested in. The problem is equivalent to finding the probability
that, of three randomly selected people, at least two have the same birthday. The
solution is
365 × 364 × 363
1 − P (no two have the same birthday) = 1 − ≈ 0.0082.
365 × 365 × 365

278
4. The answer is ≈ 0.252.
288

Section 2.3

1. There are 104 choices for the last four digits of the faculty member’s phone number.
We are interested in the event that the remaining 4 digits of his or her phone number
be distinct digits from {0, 1, 3, 4, 5, 6, 9}; so the desired probability is

7 P4 7!/3! 21
= = ≈ 0.084.
10 4 104 250

2. In 135 ways those people can think of 5 hearts. In


13 P5 ways no two of the cards are
P
13 5 13 P5
the same. So the answer to (a) is ≈ 0.416. The answer to (b) is 1 − ≈
13 5 135
0.584.
55 P6 · 15
3. The answer is ≈ 0.0518
70 P7
Chapter 2 Solutions to Self-Quiz Problems 3

7!
4. (a) 7 P4 = = 840.
(7 − 4)!
4 P2 · 5 P2 2
(b) = = 0.286
P
7 4 7

Section 2.4

! "5
12
1. = 311, 620, 419, 551, 232.
5

1 1
2. The answer to (a) is ! " = ≈ 0.029.
7 35
4
! "! "
3 3
3 1 3
The answer to (b) is ! " = ≈ 0.086.
7 35
4

3. Suppose that passengers occupied the seats randomly. Let O stand for an occupied
chair and − for an empty chair. Since only in two cases, O−O−O−O− and O−O−
O−O, the four passengers could!take seats next to empty ones, the probability of what
# 8"
the sociologist observed is 2 ≈ 0.029. Based on this very small probability,
4
the sociologist can conclude that passengers avoid taking seats next to occupied ones
when possible.

4. The answer is:


! "! "! "! "! "! "! "! "
16 14 12 10 8 6 4 2 16!
2 2 2 2 2 2 2 2 2! 2! 2! 2! 2! 2! 2! 2!
=
8! 8!
16!
= = 2, 027, 025,
8! (2!)8

where the division by 8! is necessary since the order at which the individuals are
divided into 8 groups is immaterial.
Chapter 2 Solutions to Self-Test Problems 4

SOLUTIONS TO SELF-TEST PROBLEMS

! "
23
1. There are choices for the two students we want to share a birthday, and 365
2
possibilities for they shared birthday. For the remaining 21 students, since no two
364!
have the same birthday, the number pf possible birthdays is 364 P21 = =
(364 − 21)!
364!
. So the answer is
343!
! "
23 $23%
· 365 · 364 P21
2 · 365 · 364!
= 2 23 ≈ 0.363.
365 23 365 · 343!
! "
6
· 23 · 1
3 160
2. The solution is = ≈ 0.073.
3 7 2187
! "! " ! "! "
52 26 4 48
3. In ways the cards can be dealt among the two teams. In of
26 26 ! "! 3 " 23
4 48
these possibilities, three aces are in the hands of one team and in of them
3 23
three aces are in the hands of the other team. So the desired probability is
! "! "
4 48

3 23 416
! "! " = ≈ 0.499.
52 26 833
26 26

4. There are 26 + 26 + 10 = 62 possible letters and numbers for each element of a


62! 62!
string. Since order matters, the sample space has 62 P6 = = points.
(62 − 6)! 56!
Now we count the number of possible passwords; that is, the number of strings that
have 2 digits, 2 capital letters, and 2 small letters. The set of all such passwords can
be constructed by first choosing 2 digits, 2 capital letters, and 2 small letters, and then
writing down all 6! permutations
! "! "! of the"selected digits and letters. So the number of
10 26 26
elements of this set is · 6! and hence the desired probability is
2 2 2
! "! "! "
10 26 26
· 6!
2 2 2
≈ 0.077.
62 P6
! "
100
5. (a) There are possibilities for choosing a committee of 12 senators. To
12
count the number of possibilities in which there are no two senators from the same
Chapter 2 Solutions to Self-Test Problems 5

state, first we choose 12 states, !


and "
then from each state we choose one senator. The
50
total number of possibilities is · 212 . So the answer to part (a) is
12
! "
50
· 212
12
! " ≈ 0.473.
100
12
(b) For this part, first we choose 6 senior senators and note their states. Then we
choose 6 senators from the list of the junior senators of the remaining 44 states. The
answer is ! " ! "
50 44
·
6 6
! " ≈ 0.107.
100
12

6. In 11 ways 5 adjacent trees can be infected: trees 1 through


! 5, "
2 through 6, . . . , 11
15
through 15. If the disease strikes randomly, then there are ways for 5 trees to
5
be striken by the disease. So the probability of 5 adjacent trees becoming infected by
the fungal disease is
11
! " ≈ 0.0037.
15
5
This probability is small enough for the arborist to conclude that what has happened
is an evidence in favor of the assumption that the fungus spread from one tree to next
through root-to-root contact.

7. Suppose that from a group of n people we want to form a committee of k members


and then a chair for the committee. The left side of the relation is the number of
ways that we can first choose a committee of k members and then a chair. The right
side is the number of ways we can first choose a chair for the committee and then the
remaining k − 1 members from the remaining n − !1 people " left in
! the
" group. The
k n
second relation follows from the first by noting that = k and = n.
1 1
! "! "! "
48 32 16 48!
8. (a) There are = ways to divide 48 students randomly
16 16 16 16! 16! 16!
among 3 classes, 16 students per class. To count the number of cases in which the
three visually impaired students each end up in a different class, noter that there are
3! ways for these students to be randomly assigned each to a different class. For each
45!
of these ways, there are ways for the remaining 45 students to be divided
15! 15! 15!
randomly between the three classes, 15 students per class. So the desired probability
is
! "&! "
45! 48! 3! · 16 · 16 · 16 256
3! · = = ≈ 0.237.
15! 15! 15! 16! 16! 16! 48 · 47 · 46 1081
Chapter 2 Solutions to Self-Test Problems 6

(b) In only 3 ways the three visually impaired students can end up in the same class.
So the desired probability is
! "&! "
45! 48! 3 · 16 · 16 · 16 128
3· = = ≈ 0.118.
15! 15! 15! 16! 16! 16! 48 · 47 · 46 1081
! " ! "
n n−k
9. Clearly, the answer to (a) is . The answer to (b) is , and the answer
m m−k
'k ! "! "
k n−k
to (c) is , where ? must be determined. Note that i must be at
i m−i
i=?
least !, and we must have m − i ≤ n − k or, equivalently, i ≥ m + k − n. So
i ≥ max(!, m + k − n), and hence the answer is
k
' ! "! "
k n−k
.
i m−i
i = max(!, m + k − n)

Note that ! < k is given and m+k−n = k+(m−n) < k. So max(!, m+k−n) < k.

10. Let A1 , A2 , A3, and A4 be the events that there is no professor, no associate professor,
no assistant professor, and no instructor in the committee, respectively. The desired
probability is

P (Ac1 Ac2 Ac3 Ac4 ) = 1 − P (A1 ∪ A2 ∪ A3 ∪ A4 ),

where P (A1 ∪ A2 ∪ A3 ∪ A4 ) is calculated using the inclusion-exclusion principle:

P (A1 ∪ A2 ∪ A3 ∪ A4 ) = P (A1 ) + P (A2 ) + P (A3 ) + P (A4 )


− P (A1 A2 ) − P (A1 A3 ) − P (A1 A4 ) − P (A2 A3 ) − P (A2 A4 ) − P (A3 A4 )
+ P (A1 A2 A3 ) + P (A1 A3 A4 ) + P (A1 A2 A4 ) + P (A2 A3 A4 )
− P (A1 A2 A3 A4 )
( #! ")(! " ! " ! " ! "
34 28 28 24 22
= 1 + + +
6 6 6 6 6
! " ! " ! " ! " ! " ! "
22 18 16 18 16 12
− − − − − −
6 6 6 6 6 6
! " ! " ! " ! "
12 6 10 6
+ + + +
6 6 6 6
)
− 0 = 0.621.

Therefore, the desired probability equals 1 − 0.621 = 0.379.


SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 3

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 3 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 3.1

1. Given that the first 4 cards the player is dealt are hearts, reducing the sample space,
we have that the answer is ! "
39
9
! " ≈ 0.126.
48
9

2. Let A be the event that the outcome is 1. Let O be the event that it is an odd number.
The desired probability is
P (AO) P (A) 0.27
P (A | O) = = = ≈ 0.55.
P (O) P (O) 0.27 + 0.17 + 0.05
3. Reduce the sample space: Marlon chooses from six dramas and seven comedies two
at
! random.
" ! "What is the probability that they are both comedies? The answer is
7 # 13
= 0.269.
2 2

P (F E)
4. To find P (F | E) = , first we need to calculate P (E). Now P (E | F ) =
P (E)
P (EF )
gives that 0.46 = 0.23/P (F ). So P (F ) = 0.23/0.46 = 0.5. On the other
P (F )
hand, from $ %
P E ∪ F = P (E) + P (F ) − P (EF ),
we have that
0.67 = P (E) + 0.5 − 0.23,
which gives P (E) = 0.4. Therefore,
P (F E) 0.23
P (F | E) = = = 0.575.
P (E) 0.4

Section 3.2

1. Let R1B2 R3 be the event that the first ball drawn is red, the second one blue, and the
third one red again. Define B1 R2 B3 similarly. The desired probability is
$
P R1 B2 R3 ∪ B1 R2 B3 ) = P (R1 B2 R3 ) + P (B1 R2 B3 )
= P (R1 )P (B2 | R1 )P (R3 | R1 B2 ) + P (B1 )P (R2 | B1 )P (B3 | B1 R2 )
4 6 3 6 4 5 4
= · · + · · = ≈ 0.27.
10 9 8 10 9 8 15
Chapter 3 Solutions to Self-Quiz Problems 3

2. For 1 ≤ i ≤ 4, let Ni be the event that, on the day selected, the ith item produced by
the manufacturer is non-defective. The desired probability is

P (N1 N2 N3 N4 ) = P (N1 )P (N2 | N1 )P (N3 | N1 N2 )P (N4 | N1 N2 N3 )


= P (N1 )P (N2 | N1 )P (N3 | N2 )P (N4 | N3 )
= (1 − p)(1 − p1 )(1 − p1 )(1 − p1 ) = (1 − p)(1 − p1 )3 .

Section 3.3

1. No, she does not. Let A be the event that Nicole draws a red ball. Let R be the event
that Natalie draws a red ball, and let B be the event that she draws a blue ball. Then

P (A) = P (A | R)P (R) + P (A | B)P (B)


2 3 3 7 3
= × + × = = P (R).
9 10 9 10 10

2. For i = 1, 2, 3, let Ai be the events that the ith die is selected. Let B be the event that
the outcome is 6. We have

P (B) = P (B | A1 )P (A1 ) + P (B | A2 )P (A2 ) + P (B | A3 )P (A3 )


1 1 3 1 2 1
= · + · + · ≈ 0.276.
6 3 8 3 7 3

3. Let M be the event that a randomly selected student of the college is male, F be the
event that the student is female, and A be the event that he or she participates in a
study abroad program. We are interested in P (A | F ). By the law of total probability,

P (A) = P (A | M )P (M ) + P (A | F )P (F ).

So
0.70 = (0.55)(0.60) + P (A | F )(0.40).
Solving this equation for P (A | F ), we obtain P (A | F ) = 0.925. Therefore 92.5%
of female students participate in a study abroad program.

Section 3.4

1. Let A be the event that the student scored 1200 or higher. Let B be the event that he
or she attended the prep course. The desired probability is
P (A | B)P (B)
P (B | A) =
P (A | B)P (B) + P (A | B c )P (B c )
(0.35)(17/60)
= ≈ 0.41.
(0.35)(17/60) + (0.2)(43/60)
Chapter 3 Solutions to Self-Quiz Problems 4

2. Let E be the event that Eileen’s coin is gold. Let B be the event that Bernice’s coin
is gold. The desired probability is
P (B | E)P (E)
P (E | B) =
P (B | E)P (E) + P (B | E c )P (E c)
2 3
· 3
= 9 10 = ≈ 0.21.
2 3 3 7 14
· + ·
9 10 9 10
3. Let F be the event that the customer filled his tank. Let A 1 , A2 , and A3 be the events
that he used 87 octane, 91 octane, and 93 octane gasoline, respectively. The desired
probability is
P (F | A3 )P (A3 )
P (A3 | F ) =
P (F | A1 )P (A1 ) + P (F | A2 )P (A2 ) + P (F | A3 )P (A3 )
(0.95)(0.10)
= ≈ 0.13.
(0.70)(0.85) + (0.85)(0.05) + (0.95)(0.10)

4. Let H be the event that Harris got a passing grade on his last exam. Let T be the
event that his exam was graded by a TA. The desired probability is
P (H | T )P (T )
P (T | H) =
P (H | T )P (T ) + P (H | T c )P (T c )
(0.86)(0.75)
= ≈ 0.77.
(0.86)(0.75) + (0.78)(0.25)

Section 3.5

1. For 1 ≤ i ≤ 5, let Ri be the event that during the next 5 trading days, on the ith
trading day, the DJIA rises. Let F i be the event that on that day it falls. The desired
probability is

P (R1 )P (F2 )P (R3 )P (F4 )P (R5 ) + P (F1 )P (R2 )P (F3 )P (R4 )P (F5 )
= (0.52)3(0.48)2 + (0.48)3(0.52)2 ≈ 0.062.

2. We need to find the smallest n for which 1−(0.4) n ≥ 0.95, or, equivalently, (0.4) n ≤
ln(0.05)
0.05. This gives n ≥ ≈ 3.27. Therefore, the minimum number of such
ln(0.4)
missiles to be fired to have a probability of at least 0.95 of hitting the target is 4.

3. Let A be the event that the first inspector finds the defect and B be the event that the
second inspector finds the defect. The desired probability is
P (AB c ∪ Ac B) = P (AB c ) + P (Ac B) = P (A)P (B c ) + P (Ac )P (B)
= (0.93)(0.07) + (0.07)(0.93) ≈ 0.13.
Chapter 3 Solutions to Self-Quiz Problems 5

4. Let O, E, and R be the events that the patient needed orthodontic, extraction, and
root canal services, respectively. The desired probability is
$ %
P O ∪ E ∪ R = 1 − P (Oc E c Rc ) = 1 − P (Oc )P (E c)P (Rc )
= 1 − (1 − 0.18)(1 − 0.12)(1 − 0.10) ≈ 0.35.
Chapter 3 Solutions to Self-Test Problems 6

SOLUTIONS TO SELF-TEST PROBLEMS

1. For i ≥ 1, let Ai be the event that all border issues between Chernarus and Carpathia
will be resolved in the ith summit. The event that more than 4 summits are nec-
essary to successfully resolve all the border disputes between the two countries is
Ac1 Ac2 Ac3 Ac4 . So the desired probability is

1 − P (Ac1 Ac2 Ac3 Ac4 ) = 1 − P (Ac1 )P (Ac2 | Ac1 )P (Ac3 | Ac1 Ac2 )P (Ac4 | Ac1 Ac2 Ac3 )
3 1 1 1 1 31
= 1− · · · = 1− = ≈ 0.97.
4 2 3 4 32 32

2. Let E1, E2 , and E3 be the events that A 1 , A2 , and A3 are operative, respectively. Let
F1 and F2 be the events that B 1 and B2 are operative, respectively. By independence,
the system functions with probability
$ % & '
P (F1 F2 )P E1 ∪ E2 ∪ E3 = P (F1 )P (F2 ) 1 − P (E1c E2cE3c )
& '
= (0.85)2 1 − (1 − 0.85)3 ≈ 0.72.

Alternative Solution: The desired probability is


$ %
P E1 F1 F2 ∪ E2 F1 F2 ∪ E3 F1 F2
= P (E1 F1 F2 ) + P (E2 F1 F2 ) + P (E3 F1 F2 ) − P (E1 E2 F1 F2 )
− P (E1 E3 F1 F2 ) − P (E2 E3 F1 F2 ) + P (E1 E2 E3 F1 F2 )
= P (E1 )P (F1 )P (F2 ) + P (E2 )P (F1 )P (F2 ) + P (E3 )P (F1 )P (F2 )
− P (E1 )P (E2 )P (F1 )P (F2 ) − P (E1 )P (E3 )P (F1 )P (F2 )
− P (E2 )P (E3 )P (F1 )P (F2 ) + P (E1 )P (E2 )P (E3 )P (F1 )P (F2 )
= 3(0.85)3 − 3(0.85)4 + (0.85)5 ≈ 0.72.

3. For 1 ≤ i ≤ 3, let Ai be the event that the ith person in line does not choose Hunter’s
favorite seat. The desired probability is

P (A1 A2 A3 ) = P (A1 )P (A2 | A1 )P (A3 | A1 A2 )


15 14 13 13
= · · = ≈ 0.81.
16 15 14 16

An alternative solution for this problem is


! "
15
3 13
! "= ≈ 0.81.
16 16
3
Chapter 3 Solutions to Self-Test Problems 7

4. For the unbiased dice,


$ % $ % $ % $ % $ % $ %
P {1} + P {2} + P {3} + P {4} + P {5} + P {6} = 1.
$ % $ %
So 5 · P {1} + 2 · P {1} = 1. This gives
$ % $ % $ % $ % $ % 1 $ % 2
P {1} = P {2} = P {3} = P {4} = P {5} = , P {6} = .
7 7
Let B be the event that Tasha picked the unbiased die. Let A be the event that when
the die chosen is tossed three times, each time the outcome is 6. The desired proba-
bility is

P (A | B)P (B)
P (B | A) =
P (A | B)P (B) + P (A | B c )P (B c )
(1/6)3 · (1/2)
= ≈ 0.166.
(1/6)3 · (1/2) + (2/7)3 · (1/2)

5. For i = 0, 1, 2, let Ei be the event that the organism gives birth to i new individuals.
Let F be the event that the second generation offspring of the living organism consists
of at least one individual. Note that

P (F ) = P (F | E0 )P (E0 ) + P (F | E1 )P (E1 ) + P (F | E2 )P (E2 ).

Clearly, P (F | E0 ) = 0. To calculate P (F | E1 ), note that there will be only one


first generation offspring of the living organism. The second generation consists of
at least one individual if that offspring gives birth to one or two new individuals. So
1 1 3
P (F | E1 ) = + = . To find P (F | E2 ), note that
2 4 4
( 1 )2 15
P (F | E2 ) = 1 − P (F c | E2 ) = 1 − = .
4 16
Thus
1 3 1 15 1 39
P (F ) = 0 · + · + · = ≈ 0.61.
4 4 2 16 4 64
6. For 1 ≤ i ≤ 2, let Ai be the event that the driver finds the ith traffic light green, and
let Bi be the event that he or she finds it yellow or red. The desired probability is
$ %
P A1 B2 ∪ B1 A2 ∪ B1 B2
= P (A1 B2 ) + P (B1 A2 ) + P (B1 B2 )
= P (A1 )P (B2 | A1 ) + P (B1 )P (A2 | B1 ) + P (B1 )P (B2 | B1 )
= (0.50)(0.25) + (0.50)(0.25) + (0.50)(0.75) = 0.625.

7. For 1 ≤ i ≤ 4, let Ai be the event that the ith circle scratched has the dollar sign
Chapter 3 Solutions to Self-Test Problems 8

underneath. Let L be the event that Harlan loses. The desired probability is

P (A1 A2 Ac3 and L) P (A1 A2 Ac3 )


P (A1 A2 Ac3 | L) = =
P (L) 1 − P (A1 A2 A3 A4 )
P (A1 )P (A2 | A1 )P (Ac3 | A1 A2 )
=
1 − P (A1 )P (A2 | A1 )P (A3 | A1 A2 )P (A4 | A1 A2 A3 )
4 3 6
· · 21
= 10 9 8 = ≈ 0.1005.
4 3 2 1 209
1− · · ·
10 9 8 7

8. Let A be the event that Keith has mesothelioma and B be the event that the test result
comes back positive. We are given that P (A) = 0.0033, P (B | A) = 0.92, and
P (B c | Ac ) = 0.92. Therefore, P (B | Ac ) = 1 − 0.92 = 0.08. We are interested in
P (A | B). By Bayes’ formula,

P (B | A)P (A)
P (A | B) =
P (B | A)P (A) + P (B | Ac )P (Ac )
(0.92)(0.0033)
= ≈ 0.0367,
(0.92)(0.0033) + (0.08)(1 − 0.0033)

a rather small probability even with a positive test result.

9. (a) For 0 ≤ i ≤ n, let Ai be the event that the ith person responds positively
to Vincent’s request; let B i be the event that the ith person is a close bone marrow
match. We are given that P (Ai ) = p1 and P (Bi | Ai ) = p2 , 1 ≤ i ≤ n. Thus

P (Ai Bi ) = P (Ai )P (Bi | Ai ) = p1 p2 .

By DeMorgan’s second law,

P (Aci ∪ Bic ) = 1 − P (Ai Bi ) = 1 − p1 p2 , 1 ≤ i ≤ n.

Note that A ci ∪ Bic is the event that the ith person either responses negatively to
Vincent or is not a bone marrow match. So 1 − p 1 p2 is the probability that the ith
person will not be a donor. Now whether or not a person responds positively to
Vincent’s request and whether or not he or she is a close bone marrow match are
independent of other people’s responses and their chances to be a close bone marrow
match. So the probability is (1 − p 1 p2 )n that none of the n people will end up being
a donor. This implies that the probability is 1 − (1 − p 1 p2 )n that at least one donor is
found among this group of n people.
( 1 )1000
(b) The answer is 1 − 1 − · 0.70 ≈ 0.0676. If he asks 100,000
10, 000
people, the probability increases to almost one. In reality, patients in need of bone
marrow transplants should search in a bone marrow registry of several million genet-
ically tested potential donors, who have already agreed to donate if asked. The actual
Chapter 3 Solutions to Self-Test Problems 9

probability that two unrelated persons have a close bone marrow match can be less
than 1 in 10,000. For example, for some white Americans, it is 1 in a million and for
some African-Americans it is less than 1 in 100,000.

10. Clearly,
∞ ( )
5 2i−2 ( 1 ) 1 * ( 5 )2i−2 ( 1 )

* * ∞
P (H) = P (Ai ) = = +
6 6 6 6 6
i=1 i=1 i=2
1 1 ( 5 )−2 *∞ ( )
5 2i 1 1 ( 5 )−2 * ( 25 )i

= + · = + ·
6 6 6 6 6 6 6 36
i=2 i=2
1 1 ( 5 )−2 (25/36)2 6
= + · · = .
6 6 6 1 − (25/36) 11

Note that if the game does not start with Hillary rolling the die first, and the first
person to roll the die is selected at random, then, by symmetry, the answer would be
1/2.
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 4

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 4 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 4.2

!∞ !∞
k 1
1. We must have = 1. However, , the harmonic series, is divergent. So for
n n
n=1 n=1
!∞
k
no value of k, can be 1 (or any other finite number).
n
n=1

2. The desired probabilities are calculated as follows.


" 1# 1
P (X > 3) = 1 − P (X ≤ 3) = 1 − F (3) = 1 − 1 − = ≈ 0.11.
9 9
P (X > 5 and X > 3) P (X > 5) 1 − F (5) 1/25 9
P (X > 5 | X > 3) = = = = = ≈ 0.36.
P (X > 3) P (X > 3) 1/9 1/9 25

3. The set of possible values of X is E = {2, 3, . . ., 50}. Let p be the probability mass
function of X. We have
$ %
365 × 364 × · · · × 365 − (i − 2) × (i − 1)
p(i) = P (X = i) = , i ∈ E.
365i

Section 4.3

1. (a) Let X be the number of claims that will be filled next week. The desired prob-
ability is
23 40
P (X ≥ 1) = 1 − P (X = 0) = 1 − p(0) = 1 − = ≈ 0.63.
63 63
(b) Given that there were no more than 5 claims filed two weeks ago, the probabil-
ity that there were at least 4 claims filed is

P (4 ≤ X ≤ 5) p(4) + p(5) 23/252 1


P (X ≥ 4 | X ≤ 5) = = &5 = = ≈ 0.11.
P (X ≤ 5) i=0 p(i)
23/28 9

2. The set of possible values for X is K = {7, 8, . . ., 94}. For x ∈ K,


' (' (' (
1 x − 1 100 − x
1 6 6
P (X = x) = ' ( .
100
13
Chapter 4 Solutions to Self-Quiz Problems 3

Section 4.4

1. E(2X ) = 20 · 0.2 + 21 · 0.3 + 23 · 0.4 + 27 · 0.1 = 16.8.

2. The expected value of X is


1 3 5 7 9 11 161
E(X) = 1 · +2· +3· +4· +5· +6· = ≈ 4.47.
36 36 36 36 36 36 36

3. Let X be the amount of money a random person with one ticket will win. Clearly,
300 50 1
E(X) = 5 · + 50 · + 1000 · ≈ 0.33.
15, 000 15, 000 15, 000
Therefore, the fair price for each ticket is approximately 33 cents.

4. The probability mass function of X is

x 2 3 5 7
p(x) 0.2 0.1 0.5 0.2

Therefore, E(X) = 2(0.2) + 3(0.1) + 5(0.5) + 7(0.2) = 4.6.

Section 4.5

1. We have
1 2 3 4 5 6
E(X) = 2 · +3· +4· +5· +6· +7·
36 36 36 36 36 36
5 4 3 2 1
8· +9· + 10 · + 11 · + 12 · = 7,
36 36 36 36 36
1 2 3 4 5 6
E(X 2) = 22 · + 32 · + 42 · + 52 · + 62 · + 72 ·
36 36 36 36 36 36
5 4 3 2 1 1974
82 · + 92 · + 102 · + 112 · + 122 · = ,
36 36 36 36 36 36
$ %2 1974 35 )
Var(X) = E(X 2) − E(X) = − 49 = ≈ 5.83. σX = 35/6 ≈ 2.42.
36 6

$ %
2. E (X − 3)(4 − X) = −15 implies that E(−X 2 + 7X − 12) = −15 or −E(X 2) +
7E(X)−12 = −15. Substituting 3 for E(X), this gives E(X 2) = 24. So Var(X) =
$ %2
E(X 2)− E(X) = 24−9 = 15. Therefore, Var(−3X +8) = 9Var(X) = 9·15 =
135.
Chapter 4 Solutions to Self-Test Problems 4

SOLUTIONS TO SELF-TEST PROBLEMS

1. Note that in a year, leap or non-leap, each of April, June, September, and November
has 30 days, and each of January, March, May, July, August, October, and December
has 31 days. In leap years, February has 29 days, whereas in non-leap years, it has
28 days. So 
29
 with probability 1/12

X= 30 with probability 4/12


31 with probability 7/12.
Therefore,
1 4 7 366 61
E(X) = 29 · + 30 · + 31 · = = = 30.5.
12 12 12 12 2
1 4 7 2792
E(X 2) = 292 · + 302 · + 312 · = ;
12 12 12 3
$ %2 2792 " 61 #2 5 )
Var(X) = E(X 2) − E(X) = − = ≈ 0.417. σX = 5/12 ≈ 0.645.
3 2 12
If the month is selected from a non-leap year, then
1 4 7 365
E(X) = 28 · + 30 · + 31 · = = 30.417.
12 12 12 12

2. Let X be the number of women who will retire next year. X is a discrete random
variable with the set of possible values

E = {x : x is a positive integer, and max(n − m, 0) ≤ x ≤ min(n, w)}.

We have that ' (' (


w m
x n−x
P (X = x) = ' ( , x ∈ E.
w+m
n

' ( for X is {0, 1, 2, 3, 4}. The number of possible ways for


3. The set of possible values
6
two cars to leave is = 15. There will be no car between the empty spots if
2
the cars that left are cars 1 and 2 , or 2 and 3 or . . . , 5 and 6. So p(0) = P (X =
0) = 5/15. Similarly, p(1) = P (X = 1) = 4/15, p(2) = 3/15, p(3) = 2/15, and
Chapter 4 Solutions to Self-Test Problems 5

p(4) = 1/15. F , the distribution function of X is





 0 t<0


5/15

 0≤t<1

9/15 1≤t<2
F (t) = P (X ≤ t) =


 12/15 2≤t<3




 14/15 3≤t<4

1 t ≥ 4.

4. Clearly,
4
P (X = 0) = F (0) = ;
33
16 4 12
P (X = 1) = F (1) − F (0) = − = ;
33 33 33
26 16 10
P (X = 2) = F (2) − F (1) = − = ;
33 33 33
30 26 4
P (X = 3) = F (3) − F (2) = − = .
33 33 33
To find P (X = 4), note that

P (X ≤ 3) + P (X = 4) + P (X > 4) = 1.

Thus
F (3) + P (X = 4) + P (X > 4) = 1.
This gives
30
+ 2 · P (X = 4) = 1.
33
3 1
Therefore, P (X = 4) = = .
66 22
5. The answer is
11 10 9 8 7a 7 6 9a 5
0· +a· + 2a · + 3a · + · + 4a · + · +
66 66 66 66 2 66 66 2 66
4 11a 3 2 13a 1 356 89
5a · + · + 6a · + · = a = a ≈ 2.697a.
66 2 66 66 2 66 132 33

6. We know that, for 1 ≤ i ≤ n, P (X = i) = 1/n. Thus, for 1 ≤ t < 2,

F (t) = P (X ≤ t) = P (X = 1) = 1/n.

For 2 ≤ t < 3,

F (t) = P (X ≤ t) = P (X = 1) + P (X = 2) = 2/n.
Chapter 4 Solutions to Self-Test Problems 6

For 3 ≤ t < 4,

F (t) = P (X ≤ t) = P (X = 1) + P (X = 2) + P (X = 3) = 3/n,

and so on. Therefore, 



 0 t<1



F (t) = [t]/n 1≤x<n





1 t ≥ n.

n(n + 1)
7. Noting that 1 + 2 + · · · + n = , and noting that the number of seats in row
2
i is 10 + 2(i − 1), we have that the total number of seats in the auditorium is
25
! $ % 24 × 25
10 + 2(i − 1) = 250 + 2(1 + 2 + · · · + 24) = 250 + 2 · = 850.
2
i=1

Clearly, the set of possible values of X is {1, 2, . . ., 25}. Let p be the probability
mass function of X. Then
10 + 2(i − 1)
p(i) = P (X = i) = , i = 1, 2, . . ., 25.
850

8. Note that
P (X = 0) + P (X = 1) + P (X = 2) = 1 − P (X > 2) = 1 − (3/13) = 10/13.

Therefore, P (X = 0) + (6/13) = 10/13, or P (X = 0) = 4/13. Now

P (X = 0) + P (X = 1) = P (X ≤ 1) = 7/13

gives P (X = 1) = 3/13, and P (X = 0) + P (X = 1) + P (X = 2) = 10/13


implies that P (X = 2) = 3/13. To find P (X = 3), note that

P (X = 0) + P (X = 1) + P (X = 2) + P (X = 3) + P (X > 3) = 1.

Noting that P (X = 3) = P (X > 3), this relation yields


4 3 3
+ + + P (X = 3) + P (X = 3) = 1,
13 13 13
which gives P (X = 3) = 3/26.

9. Let X be the number of polo shirts sold by the department store, in a random year,
between April 1st and the end September. The probability mass function of X is

P (X = i) = 1/51, 100 ≤ i ≤ 129


P (X = 130) = 21/51.
Chapter 4 Solutions to Self-Test Problems 7

Therefore,
' !
129 (
1 21
E(X) = i· + 130 ·
51 51
i=100

1 2730
= (100 + 101 + 102 + · · · + 129) +
51 51
1 2730
= (100 + 100 + 1 + 100 + 2 + · · · + 100 + 29) +
51 51
1 2730
= (3000 + 1 + 2 + · · · + 29) +
51 51
1 . 29(29 + 1) / 2730 2055
= 3000 + + = .
51 2 51 17
The net profit is Y = 15X − 10(130 − X) = 25X − 1300. We are interested in
" 2055 #
E(Y ) = 25E(X) − 1300 = 25 − 1300 ≈ 1722.06.
17
Therefore, the expected net profit of the department store from selling polo shirts is
$1722.06.

10. limt→∞ F (t) = 1 implies that θ = 1. limt→−∞ F (t) = 0 implies that 1 − α = 0 or


α = 1. Since F is non-decreasing, we must have 0 ≤ β ≤ β − γ ≤ 1. This implies
that γ ≤ 0 and 0 ≤ β ≤ 1 + γ.
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 5

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 5 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 5.1
! "# $ # $ ! "# $ # $
6 1 6 3 0 6 1 5 3
1. 1 − − ≈ 0.995.
6 4 4 5 4 4

2. Let X be the number of side effects the patient experiences. The desired probability
is
P (X = 0) + P (X = 1) + P (X = 2)
! " ! "
7 7
= (1 − 0.05) +
7
(0.05)(1 − 0.05) +
6
(0.05)2(1 − 0.05)5 ≈ 0.996.
1 2

Section 5.2

1. Let X be the number of cars with exhaust leaks among the next 5,000 cars man-
ufactured by the company. The random variable X is approximately Poisson with
parameter λ = (0.003)(5, 000) = 15. The desired probability is
15
% e−15 · (15)i
P (12 ≤ X ≤ 15) = ≈ 0.383.
i!
i=12

2. Choosing one hour as the time unit, we have that λ = 3. Therefore, the desired
probability is
& ' & '
P N (1) = 2, N (4) = 12 = P N (1) = 2, N (4) − N (1) = 10
& ' & '
= P N (1) = 2 P N (4) − N (1) = 10
& ' & '
= P N (1) = 2 P N (3) = 10

e−3 · 32 e−9 · 910


= · ≈ 0.027.
2! 10!

Section 5.3

1. Let X be the number of experiments until the first success; X is a geometric random
variable with parameter p, and Z = min(X, m). The set of possible values for Z is
{1, 2, . . ., m}. Clearly,

(1 − p)i−1 p 1≤i<m
P (Z = i) =

(1 − p)m−1 i = m,
where i = m if and only if the first m − 1 trials are all failures.
Chapter 5 Solutions to Self-Quiz Problems 3

2. Call a month “success” if, in that month, at least one car is returned for warranty
work. We are interested in the fifth “success” occurring on the 8th month. Let X be
the number of months until the 5th “success”; X is negative binomial with parameters
5 and 0.45. The probability we are interested in is
! "
8−1
P (X = 8) = (0.45)5(1 − 0.45)3 ≈ 0.107.
5−1
Chapter 5 Solutions to Self-Test Problems 4

SOLUTIONS TO SELF-TEST PROBLEMS

1. The set of possible values of the random variable X is {0, 1, . . ., 5}, and
! "! "
11 39
i 5−i
p(i) = P (X = i) = ! " i = 0, 1, . . ., 5.
50
5

The set of possible values of the random variable Y is {1, 2, . . ., 50}. By symmetry,
the third ball can have any of these possible values with equal probability. So
1
P (Y = i) = , i = 1, 2, . . . , 50.
50

2. Let X be the number of defective items in the sample. The random variable X is
binomial with parameters n = 200 and p = 0.006. The desired probability is
3 !
% "
200
P (X ≤ 3) = (0.006)i(1 − 0.006)200−i = 0.967.
i
i=0

An Alternative Solution: The random variable X is approximately Poisson with


parameter λ = np = (200)(0.006) = 1.2. So
3
% e−1.2 (1.2)i
P (X ≤ 3) ≈ = 0.967.
i!
i=0

3. The set of possible values of X is {0, 1, 2, . . .}. The random variable X + 12 is


negative binomial with parameters 12 and 0.07. So the probability mass function of
X is
! "
i + 11
p(i) = P (X = i) = P (X+12 = i+12) = (0.07)12(1−0.07)i, i ≥ 0.
11

4. Let X be the number of people who visit Ginny’s website tomorrow. Clearly, X is
binomial with parameters n = 10 7 and p = 5 × 10−8 . Since n is large, p is small,
and np is appreciable, X is approximately Poisson with parameter

λ = np = (107 )(5 × 10−8 ) = 0.5.

The desired probability is


3
% e−0.5 (0.5)i
P (X ≥ 4) = 1 − P (X < 4) = 1 − ≈ 0.0018.
i!
i=0
Chapter 5 Solutions to Self-Test Problems 5

5. The probability of 5 marked kangaroos among the 30 captured kangaroos is


! "! "
25 n − 25
5 25
pn = ! " .
n
30
Now it is logical to find the n that makes p n maximum. To do so, note that
pn (n − 25)(n − 30)
= .
pn−1 n(n − 50)
This relation implies that p n > pn−1 if and only if

(n − 25)(n − 30) > n(n − 50)


+ ,
or n ≤ (25)(30) /5 = 150. Thus n = 150 maximizes pn . Note that
n ≥ 25 + 30 − 5 = 50. Now for 50 ≤ n ≤ 150, pn increases as n increases,
but for n > 150, pn < pn−1 and the function decreases. Therefore n = 150 is the
maximum and hence there are approximately 150 kangaroos in the area.

6. The desired probability is



% ∞
%
P (X = Y ) = P (X = i, Y = i) = P (X = i)P (Y = i)
i=1 i=1
∞ # $
% 1 i−1 # 1 $ # 1 $i−1 # 1 $
= ·
2 2 2 2
i=1
∞ # $
% ∞ # $
% ∞ # $
%
1 2i 1 i 1 i
= = = −1 +
2 4 4
i=1 i=1 i=0

1 1
= −1 + = .
1 − (1/4) 3

7. Let X be the number of individuals who perform at or above the company’s threshold
on a given year. Let n be the smallest integer for which P (X > n) < 0.01, or,
equivalently, P (X ≤ n) ≥ 0.99. The random variable X is binomial with probability
of success 0.08. We need to find the smallest n for which
%n ! "
27
P (X ≤ n) = (0.08)i(0.92)27−i ≥ 0.99.
i
i=0

The following table shows that the smallest n is 6. Therefore, the company should
fund 6 × 7, 000 = $42, 000 to make sure that the probability is less than 1% that the
amount is inadequate.

n 0 1 2 3 4 5 6
P (X ≤ n) 0.105 0.352 0.632 0.834 0.940 0.982 0.996
Chapter 5 Solutions to Self-Test Problems 6

8. Let A be the event that the tornado-force winds will not damage the tornado-proof
room during the-next 70 years. Since the events {X = i}, i = 0, 1, 2, . . . are mutually
exclusive and ∞ i=0 {X = i} is the sample space, by the law of total probability
(Theorem 3.4),

% ∞
% e−21 · 21i
P (A) = P (A | X = i)P (X = i) = (1 − 0.063)i
i!
i=0 i=0

% (19.677)i
= e−21 = e−21 · e19.677 = e−1.323 ≈ 0.266.
i!
i=0

9. Let A be the event that the die selected randomly is the loaded one. Let B be the event
that, when tossed 10 times, it lands on 6 exactly four times. The desired probability
is
P (B | A)P (A)
P (A | B) =
P (B | A)P (A) + P (B | Ac )P (Ac )
! "# $ # $
10 4 4 5 6 1
·
4 9 9 2
= ! " ! " ≈ 0.82.
10 # 4 $4 # 5 $6 1 10 # 1 $4 # 5 $6 1
· + ·
4 9 9 2 4 6 6 2

10. Let N (t) be number of such devastating


+ calamities
, in [0, t]. N (t) is a Poisson random
variable with mean λt, where λ = E N (1) = 4/3. The desired expected amount is

.%

e−4/3 (4/3)n /
50, 000 (n − 1) ·
n!
n=1

.%

e−4/3 (4/3)n % e−4/3 (4/3)n /

= 50, 000 n· −
n! n!
n=1 n=1

. + , % ∞ −4/3
e (4/3)n /
= 50, 000 E N (1) − + e−4/3
n=0
n!
#4 $
= 50, 000 − 1 + e−4/3 ≈ 29, 846.52,
3
∞ −4/3
% e (4/3)n
where = 1, since it is the sum of all possible values of the proba-
n=0
n!
bility mass function of a Poisson random variable with parameter 4/3.
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 6

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 6 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 6.1

1. Clearly, we must have α ≥ 0 and


! 3
α α ""3 26α
dx = − 3 " = = 1.
1 x4 3x 1 81
So α = 81/26. Therefore,
! 2.5
81 27 ""2.5
P (1.5 < X < 2.5) = dx = − " ≈ 0.24.
1.5 26x4 26x3 1.5

2. Let X be the duration of the soap opera. We are interested in


P (X ≥ 220) 1 − F (22)
P (X ≥ 220 | X ≥ 110) = =
P (X ≥ 110) 1 − F (11)
16/(22)2 # 11 $2 1
= = = = 0.25.
16/(11) 2 22 4

Section 6.2

1. Let G be the distribution function of Y , and g be its density function. Since tan x is
an increasing function in the interval (−π/2, π/2), for −∞ < t < ∞, we have

G(t) = P (tan X ≤ t) = P (X ≤ arctan t)


arctan t − (−π/2) 1# π$
= = arctan t + .
(π/2) − (−π/2) π 2
Thus
1
g(t) = G! (t) = , −∞ < t < ∞.
π(1 + t2 )
Note that this is the density function of a Cauchy random variable.

2. The set of possible values of X is A = (0, ∞). Let h : (0, ∞) → R be defined


by h(x) = x2 . We want to find the density% function of& Y = h(X) = X . The
2

set of possible values of h(X) is B = h(a) : a ∈ A = (0, ∞). The function



h is invertible with the inverse x = h −1 (y) = y, which is differentiable, and its
1
derivative is (h −1 )! (y) = √ . Therefore, by Theorem 6.1,
2 y
' −1 (" −1 ! " √ −y/2 "" 1 ""
fY (y) = fX h (y) "(h ) (y)" = ye " √ ", y ∈ B = (0, ∞),
2 y
Chapter 6 Solutions to Self-Quiz Problems 3

" 1 " 1
" "
Since y ∈ (0, ∞), " √ " = √ and we have
2 y 2 y

 1
 e−y/2 if y > 0
fY (y) = 2


0 otherwise.

Now, by integration by parts,


! ∞
1 −y/2 1- .∞ / 1 0
E(Y ) = ye dy = − (2y + 4)e−y/2 = 0 − − (4) = 2.
0 2 2 0 2

Section 6.3

1. (i) The desired quantity is:


! !
∞ 2
3 2 10
E(X) = xf (x)dx = (x + x3 )dx = ≈ 1.42857.
−∞ 0 14 7

Hence the expected profit in a week is $1,428.57.

(ii) The probability that in a random week the profit of this store is less than $500
is ! 1/2 ! 1/2
3 1
P (X < 1/2) = f (x) dx = (x + x2 ) dx = .
−∞ 0 14 28
Since the profit from one week to another is independent, the probability that in 8
consecutive weeks the store makes less than $500 a week is (1/28) 8 ≈ 2.65 × 10−12 .

2. (i) Clearly,
! - .2 2
2
1 1 3
E(X) = x · (2 − x)3 dx = − x5 + x4 − x3 + x2 = = 0.4,
0 4 20 8 0 5
! -
2
1 1 3 3 2 .2 4
E(X 2) = x2 · (2 − x)3 dx = − x6 + x5 − x4 + x3 = ≈ 0.267.
0 4 24 10 4 3 0 15

Therefore,
/ 02 4 4 8
Var(X) = E(X 2) − E(X) = − = ≈ 0.107,
15 25 75
1
and σX = 8/75 ≈ 0.327. These imply that the expected value of X, the mean of
the claims made for partial losses is $400,000, and its standard deviation is approxi-
mately $327,000.
Chapter 6 Solutions to Self-Quiz Problems 4

(ii) The desired probability is

P (X > 1.2 and X > 0.8) P (X > 1.2)


P (X > 1.2 | X > 0.8) = =
P (X > 0.8) P (X > 0.8)
! 2
1
(2 − x)3 dx
1.2 4 0.0256
=! 2 = ≈ 0.198.
1 0.1296
(2 − x) dx
3
0.8 4
Chapter 6 Solutions to Self-Test Problems 5

SOLUTIONS TO SELF-TEST PROBLEMS

1. Let G and g be the respective distribution and density of Y . Then

G(t) = P (Y ≤ t) = P (log2 X ≤ t) = P (X ≤ 2t ) = F (2t ),

and
g(t) = G! (t) = (ln 2)2tF ! (2t) = (ln 2)2tf (2t).
Recall from calculus that the derivative of the function 2 t is (ln 2)2t.

2. The probability that Kara hits the bull’s eye in one throw of a dart is
! 3
3 3 - 2 1 3 .3 3
x(10 − x) dx = 5x − x = · 36 ≈ 0.216.
0 500 500 3 0 500

Hence the probability that she misses the bull’s eye in 7 of her next 10 throws is
approximately 2 3
10
(0.216)3(1 − 0.216)7 ≈ 0.22.
3

3. Let X be the cost to repair a vehicle after the type of accident that is under consider-
ation. Let α = d/1000. We are given that P (X < 1 + α) = 0.0724. So
! 1+α
x2 /9 dx = 0.0724.
0

Therefore, - 1 .1+α
x3 = 0.0724,
27 0

or
√ (1 + α)3 /27 = 0.0724. This implies that (1 + α) 3 = 1.9548, or 1 + α =
3
1.9548 = 1.25. So α = 0.25 and hence the amount of deductible, d, is $250.

4. (i) We must have


! - 1 .15
15
1
c· dx = 1 or c · = 1.
8 (1 − x)2 (1 − x) 8

This gives c · (1/14) = 1 or c = 14.

(ii) The desired probability is


! 15 - 1 .15
14 3
dx = 14 = ≈ 0.27.
12 (1 − x) (1 − x) 12 11
2
Chapter 6 Solutions to Self-Test Problems 6

(ii) The distribution function of the spring of a randomly selected pendulum clock
with the probability density function f is


 0 x<8




! t
14 14
F (t) = dx = 2 − 8 ≤ t < 15

 8 (1 − x) 2 t −1





1 t ≥ 15.

5. (a) We need to find the smallest α for which


!
1 6
(6 − x2 )2 dx ≤ 0.05.
875 α

By trial and error, we have that the left side is 0.0504 for α = 5.95 and 0.0494 for
α = 5.951. So the hardware store must carry at least 595.1 gallons of propane gas so
that its stock out probability for the gas is at most 0.05.

(b) Let X be the demand, in 100’s of gallons of propane gas, in the given week. We
have that ! 6
1 31
E(X) = x(6 − x2 )2 dx = ≈ 5.17.
875 1 6
So the expected value of the store’s inventory of propane gas is approximately 590-
517=73 gallons.
/ 02
6. Since Var(X) = E(X 2) − E(X) , first we calculate E(X). We have that
! π/2
1
E(X) = x cos x dx = 0,
−π/2 2

1 1
since g(x) = x cos x is an odd function; that is, g(−x) = (−x) cos(−x) =
2 2
1 1
− x cos x = −g(x). Now we calculate E(X ). Noting that g(x) = x2 cos x is an
2
2 2
1 1 2
even function; that is, g(−x) = (−x) cos(−x) = x cos x = g(x), we have
2
2 2
! π/2 ! π/2
1 2
E(X ) =
2
x cos x dx = x2 cos x dx
−π/2 2 0
- .π/2 π 2
= x2 sin x + 2x cos x − 2 sin x = − 2.
0 4
# π2 $
Therefore, Var(X) = − 2 − 02 ≈ 0.467.
4
Chapter 6 Solutions to Self-Test Problems 7

7. We have that 
 1
 √ −1 < x < 1
f (x) = F (x) = π 1 − x
! 2

0 otherwise.
Therefore, ! 1
x
E(X) = √ dx = 0
−1 π 1 − x2
since the integrand is an odd function.

8. We have that ! π/2


1
E(X) = x cos x dx = 0,
−π/2 2
1
since the integrand, x cos x, is an odd function. By integration by parts and the fact
2
1 2
that x cos x is an even function,
2
! π/2 ! π/2
1 2
E(X ) =
2
x cos x dx = x2 cos x dx
−π/2 2 0
- .π/2 π2
= 2x cos x + (x2 − 2) sin x = − 2 ≈ 0.467.
0 4
Therefore, / 02
Var(X) = E(X 2) − E(X) = 0.467.
1
To find E(cos X), note that since cos2 x is an even function,
2
! ! π/2
π/2
1
E(cos X) = cos x dx =
2
cos2 x dx
−π/2 2 0
! π/2
1 + cos 2x 1- 1 .π/2 π
= dx = x + sin 2x = .
0 2 2 2 0 4

9. (i) In order to determine fY , the probability density function of Y = e X , we use


Theorem 6.1. The set of possible values of X is A = (1, 2). Let h : (1, 2) → R be
defined by h(x) = ex . We want to find the & of Y 2= h(X) = e . The
% density function
X

set of possible values of h(X) is B = h(a) : a ∈ A = (e, e ). The function h is


invertible with the inverse x = g(y) = ln y, which is differentiable and its derivative
is g ! (y) = 1/y. Therefore, by Theorem 6.1,
" "
! 2 ln y "" 1 "" 2 ln y
fY (y) = fX (g(y))|g (y)| = = , y ∈ (e, e2 ),
3 "y " 3y

is the density of e X .
Chapter 6 Solutions to Self-Test Problems 8

(ii) By the definition of expected value,


! !
e2 e2
2 2- .e2
E(e ) =
X
yfY (y)dy = ln y dy = y ln y − y
e e 3 3 e

2 2 2 2
= (e ln e2 − e2 ) − (e ln e − e) = e2 ,
3 3 3
4
where ln y dy is calculated by integration by parts (let u = ln y, dv = dy).

10. We are interested in the following probability:


P (X > 8 and X ≥ 4) P (X > 8)
P (X > 8 | X ≥ 4) = =
P (X ≥ 4) P (X ≥ 4)
! 10 -
1
(10 − x) dx 1 2 .10
50 8 10x − x 1
= =- 2
! 10 1 .810 = ≈ 0.11.
1 9
(10 − x) dx 10x − x2
50 4 2 4

So the answer is 11%.


SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 7

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 7 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 7.1

1. Let X be a random number from (0, !). The probability of the desired event is
! !" ! ! !"
P min(X, ! − X) ≥ = P X ≥ , !−X ≥
3 3 3
2! !
!! −
2! " 3 3 1
=P ≤X≤ = = .
3 3 ! 3
2. The probability density function of X is

1/2 if −1 < x < 1
f (x) =

0 otherwise.
Now we find G, the distribution function of |X|. We have



 0 t<0



 t − (−t)
& '
G(t) = P |X| ≤ t = P (−t ≤ X ≤ t) = =t 0≤t<1

 1 − (−1)




1 t ≥ 1.
This is the distribution function of a uniform random variable over the interval (0, 1).
Hence |X| is a random number between 0 and 1 and therefore,
& ' 1+0 1 & ' (1 − 0)2 1
E |X| = = and Var |X| = = .
2 2 12 12

Section 7.2

1. Let X be the grade of a randomly selected student.


! 90 − 72 "
P (X ≥ 90) = P Z ≥ = 1 − Φ(2.57) = 0.0051.
7
Similarly,
P (80 ≤ X < 90) = P (1.14 ≤ Z < 2.57) = 0.122,
P (70 ≤ X < 80) = P (−0.29 ≤ Z < 1.14) = 0.487,
P (60 ≤ X < 70) = P (−1.71 ≤ Z < −0.29) = 0.3423,
P (X < 60) = P (Z < −1.71) = 0.0436.
Therefore, approximately 0.51% will get A, 12.2% will get B, 48.7% will get C,
34.23% D, and 4.36% F.
Chapter 7 Solutions to Self-Quiz Problems 3

2. Let X be the number of light bulbs of type I. We want to calculate P (18 ≤ X ≤ 22).
Since the number of light bulbs is large and half of the light bulbs are type I, we
can assume that)X is approximately
√ binomial with parameters 40 and 1/2. Note that
np = 20 and np(1 − p) = 10. Using De Moivre-Laplace theorem and making
correction for continuity, we have
! 17.5 − 20 X − 20 22.5 − 20 "
P (17.5 ≤ X ≤ 22.5) = P √ ≤ √ ≤ √
10 10 10
= Φ(0.79) − Φ(−0.79) = 2Φ(0.79) − 1 = 0.5704.

Remark: Using binomial distribution, the solution to this problem is


22 + ,! " ! "
* 40 1 i 1 40−i
= 0.5704.
i 2 2
i=18

As we see, up to at least 4 decimal places, this solution gives the same answer as
obtained above. This indicates the importance of correction for continuity; if it is
ignored, we obtain 0.4714, an answer which is almost 10% lower than the actual
answer.

Section 7.3

1. Let X be the loss due to the warranty


-
claim of a Seaportal Technology hard drive.
1
1 −t/8
Clearly, X = 250, with probability e dt ≈ 0.118; X = 125, with probabil-
- 2 0 8
1 −t/8
ity e dt ≈ 0.104, and X = 0 with probability 1 − 0.118 − 0.104 = 0.778.
1 8
So
E(X) = 0 · (0.778) + 125 · (0.104) + 250 · (0.118) = 42.5.

2. The time between two consecutive patients arriving for flu shots is exponential with
mean 1/λ = 1/3 hour. Since exponential is memoryless, knowing that the last patient
who took a flu shot arrived 45 minutes ago, does not change the distribution of X,
the time until the next patient arrives to have a flu shot. So X is still an exponential
random variable with parameter λ = 3 and the desired probability is

P (X > 1/4) = 1 − P (X ≤ 1/4) = 1 − (1 − e−3/4 ) = e−3/4 ≈ 0.472.

Section 7.4

1. Note that
(1/2)e−x/2 (x/2)3 (1/2)e−x/2(x/2)4−1
f (x) = = , x ≥ 0.
6 Γ(4)
Chapter 7 Solutions to Self-Quiz Problems 4

This shows that X is gamma with parameters r = 4 and λ = 1/2. So E(X) = r/λ =

8 and σX = r/λ = 2/(1/2) = 4. Therefore, the lifetime of a randomly selected
vacuum tube manufactured by this company is gamma with mean 8000 hours and
standard deviation 4000 hours.

2. Let N (t) denote the number of the upper


. fuser rolling
/ bearings produced by the
company in [0, t]. We are given that 0 N (t)1: t ≥ 0 is a Poisson process. Let one
hour be the time unit; then λ = E N (1) = 5. So X, the time that it takes to
produce 500 items, is gamma with parameters r = 500 and λ = 5. √ We readily have

that E(X) = r/λ = 500/5 = 100 hours, and σ X = r/λ = 500/5 ≈ 4.47
hours.

Section 7.5

1. Let Y be a binomial random variable with parameters 10 and 0.12. Then by Theo-
rem 7.2,
+ ,
10
P (X ≥ 0.12) = P (Y < 1) = P (Y = 0) = (0.12)0(0.88)10 ≈ 0.28.
0

2. Let F be the distribution function of Y and f be its density function. We have


√ √
F (t) = P (X 2 ≤ t) = P (− t ≤ X ≤ t )

√ t−0 √
= P (0 ≤ X ≤ t ) = = t, 0 < t < 1.
1−0
So
1
f (t) = F " (t) = √ , 0 < t < 1.
2 t
Note that since
!1 " - 1 1 - 1
1 √ 221
−1
B ,1 = x 2 (1 − x) 1−1
dx = √ dx = 2 x2 = 2,
2 0 0 x 0

we have that
1 1
f (t) = t 2 −1 (1 − t)1−1 , 0 < t < 1,
2
is the density function of a beta random variable with parameters 1/2 and 1.

Section 7.6

1. Let X be the delivery lead time. Since the hazard function of X is constant, X
is an exponential random variable with parameter λ = 1/8. Since exponential is
memoryless, the desired probability is
- 2
1 −x/8
P (X < 2) = e dx = 1 − e−1/4 ≈ 0.22.
0 8
Chapter 7 Solutions to Self-Quiz Problems 5

2. Let f be the probability density function of X. We have that


3 - t 4
f (t) = λ(t) exp − λ(u) du
0
- t
3 4
2 2
= exp − du
1−t 0 1−u

2 3 2t 4
2
= exp 2 ln(1 − u)2
1−t 0

2 0 1
= exp 2 ln(1 − t)
1−t
2 0 1
= exp ln(1 − t)2
1−t
2
= · (1 − t)2 = 2(1 − t).
1−t
Therefore, 
2(1 − t) 0<t<1
f (t) =

0 otherwise.
Chapter 7 Solutions to Self-Test Problems 6

SOLUTIONS TO SELF-TEST PROBLEMS

1. Nolan will take bus route B26 if he arrives either between 1:15 P.M. and 1:20 P.M., ex-
cluding 1:15 P.M., or between 1:30 P.M. and 1:40 P.M., excluding 1:30 P.M. The problem
is equivalent to the following: A random number is selected from the interval [5, 42].
What is the probability that it belongs to (15, 20] ∪ (30, 40]. The answer is
20 − 15 40 − 30 15
+ = ≈ 0.41.
42 − 5 42 − 5 37
2. Let Y be a binomial random variable with parameter 6 + 10 − 1 = 15 and 6/14. By
Theorem 7.2,
P (X ≤ 6/14) = P (Y ≥ 6).
Therefore, the desired probability is
5 + ,!
* 15 6 "i ! 6 "15−i
P (X > 6/14) = P (Y < 6) = 1− ≈ 0.318.
i 14 14
i=0

3. Let X be the length of the residence of a family selected at random from this town.
Since ! 96 − 80 "
P (X ≥ 96) = P Z ≥ = 0.298,
30
using binomial distribution, the desired probability is
* 2 + ,
12
1− (0.298)i(1 − 0.298)12−i = 0.742.
i
i=0
- ∞
4. The probability that a sensor lasts larger than t units of time is λe−λx = e−λt .
t
The probability that exactly k sensors are working at time t is
+ ,
n
(e−λt )k (1 − e−λt )n−k .
k

5. (a) Let X be the waiting time of Kayla at the bus station. The desired probability is
P (X > 13, X > 9) P (X > 13)
P (X > 13 | X > 9) = =
P (X > 9) P (X > 9)
15 − 13
15 − 0 2 1
= = = ≈ 0.33.
15 − 9 6 3
15 − 0
(b) In this case, X is an exponential random variable with mean 15 (λ = 1/15). By
the memoryless property of the exponential, the desired probability is
& '
P (X > 4) = 1 − P (X ≤ 4) = 1 − 1 − e(−1/15)·4 = e−4/15 ≈ 0.77.
Chapter 7 Solutions to Self-Test Problems 7

6. Let X be the number of people who visit this website on the given day. Clearly,
X is binomial with parameters n = 10, 000,)000 and p = 0.002. Since E(X) =
(10, 000, 000)(0.002) = 20, 000 and σX = (10, 000, 000)(0.002)(1 − 0.002) =
141.28, by correction for continuity and De Moivre-Laplace Theorem,
! X − 20, 000 20, 199.5 − 20, 000 "
P (X ≥ 20, 200) ≈ P (X ≥ 20, 199.5) = P ≥
141.28 141.28
! X − 20, 000 "
=P ≥ 1.41 ≈ P (Z ≥ 1.41)
141.28
= 1 − Φ(1.41) ≈ 1 − 0.9207 = 0.0793.

7. We are given that


P (120 < X < 200) = 0.85.
Let the standard deviation of X be σ, then
+ ,
120 − 160 X − 160 200 − 160
P < < = 0.85.
σ σ σ

Thus P (−40/σ < Z < 40/σ)


0 = 0.85. Therefore,
1 Φ(40/σ) − Φ(−40/σ) = 0.85, or
equivalently, Φ(40/σ) − 1 − Φ(40/σ) = 0.85. This gives that Φ(40/σ) = 0.925.
Now by Table 2 of the Appendix Tables, Φ(1.44) ≈ .925. Therefore, 40/σ ≈ 1.44,
and so σ ≈ 40/1.44 ≈ 27.78. Hence the variance is given by Var(X) = σ 2 ≈
771.73.

8. (a) Clearly,
- ∞
F̄ (t) = P (X > t) = (2e−2x + 4e−4x − 6e−6x ) dx = e−2t + e−4t − 6e−6t .
t

This yields
f (t) 2e−2t + 4e−4t − 6e−6t
λ(t) = = −2t , t ≥ 0.
F̄ (t) e + e−4t − 6e−6t

(b) The instantaneous failure rate of the system, if it has survived 6,000 hours, is
λ(0.6) ≈ 2.198. An approximate probability for the system to fail within 100 hours
if it has survived 6000 hours is (1/100) · λ(0.6) ≈ 0.02198.

9. Let X be the number of voters in the random sample who voted for Tasoula. The
random variable X is)binomial with parameters n = 100 and p = 1000/5000 = 1/5.
Since np = 20 and np(1 − p) = 4, using correction for continuity, the desired
probability, P (X > 15), can be approximated by the De Moivre-Laplace theorem as
follows.
Chapter 7 Solutions to Self-Test Problems 8

! X − 20 15.5 − 20 "
P (X > 15) = P (X ≥ 16) = P (X > 15.5) = P >
4 4
! X − 20 " ! X − 20 "
=P > −1.13 = P − 1.13 < <∞
4 4
- ∞
1 2
≈√ e−x /2 dx
2π −1.13
- ∞ - −1.13
1 −x2 /2 1 2
=√ e dx − √ e−x /2 dx
2π −∞ 2π −∞
0 1
= 1 − Φ(−1.13) = 1 − 1 − Φ(1.13) = Φ(1.13) ≈ .8708,

where Φ(1.13) is found by using Table 2 of the Appendix Tables.

10. Suppose that the lifetime of a chip manufactured by the company’s own plant is

gamma with parameters r1 and λ1 . We are given that r1 /λ1 = 4 and r1 /λ1 = 2.
These two equations imply that r 1 = 4, and λ1 = 1. Thus the probability density
function of the lifetime of a chip manufactured by the company is

e−x · x3 1
f (x) = = x3 e−x , x ≥ 0.
Γ(4) 6

Suppose that the lifetime of a chip purchased from the supplier is gamma with pa-

rameters r2 and λ2 . We are given that r2 /λ2 = 6 and r2 /λ2 = 6. These two
equations imply that r 2 = 1, and λ2 = 1/6. Thus the probability density function of
the lifetime of a chip purchased from the supplier is

(1/6)e−x/6 (x/6)0 1
g(x) = = e−x/6 , x ≥ 0.
Γ(1) 6

Now, let X be the lifetime of the chip of a randomly selected cell phone manufactured
by the wireless phone company. Let A be the event that the chip was manufactured by
the company’s own plant. Let B be the event that it was purchased from the supplier.
The probability that the chip of the cell phone fails before the warranty period is

P (X ≤ 1) = P (X ≤ 1 | A)P (A) + P (X ≤ 1 | B)P (B)


!- 1 1 " !- 1 1 "
3 −x
= x e dx · 0.4 + e−x/6 dx · 0.6
0 6 0 6

≈ (0.019) · 0.4 + (0.15) · 0.6 ≈ 0.098.

Therefore, the company must replace 9.8% of the cell phones it sells within a year
due to chip failure warranty.
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 8

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 8 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 8.1

1. (a) The device functions for at least 2 years with probability


! 3"! 5 # ! 3$
1 1 21 % 3
(x + y) dy dx = 3x + dx = = 0.3.
2 2 60 60 2 2 10
(b) Let F be the joint distribution function of X and Y . For 0 ≤ t < 3, we have
! t "! 5 # ! t
1 1 1
FX (t) = (x + y) dy dx = (2x + 5) dx = (t2 + 5t).
0 0 60 24 0 24
Therefore, 

0 t<0




1 2
FX (t) = (t + 5t) 0≤t<3

 24




1 t ≥ 3.

2. (a) By definition,
! 5
1 1 1
fY (y) = (2x + 3y) dx = y + , 1 < y < 7.
1 432 36 18
(b) We are asked to find E(X + Y ), which is calculated as follows
! 5 *! 7 +
1
E(X + Y ) = (x + y)(2x + 3y) dy dx
432 1 1
! 5
1 23
= (12x2 + 120x + 344) dx = ≈ 7.66666667.
432 1 3
Therefore, the expected value of the sum of the annual losses under medical coverage
and under comprehensive and collision is $7,666,666.67.

Section 8.2

1. If f (x, y) = fX (x)fY (y), then X and Y are independent. Otherwise, they are not.
Note that ! 2
1 3 −2x
fX (x) = y e dy = 2e−2x , x ≥ 0;
0 2
! ∞
1 3 −2x 1
fY (y) = y e dx = y 3 , 0 ≤ y ≤ 2.
0 2 4
Since f (x, y) = fX (x)fY (y), X and Y are independent.
Chapter 8 Solutions to Self-Quiz Problems 3

2. Since X and Y are independent, the joint probability density function of X and Y is

λe−λx · µe−µy = λµe−λx e−µy x > 0, y > 0
f (x, y) =

0 otherwise.

The probability that X < Y is given by


! ∞*! ∞ + ! ∞
λ
P (X < Y ) = λµe−λx e−µy dy dx = λe−(λ+µ)x dx = .
0 x 0 λ+µ

Section 8.3

1. Let p(x, y) be the joint probability mass function of X and Y . Clearly,


* +* +* +
5 7 4
x y 8−x−y
p(x, y) = P (X = x, Y = y) = * + ,
16
8

where 0 ≤ x ≤ 5, 0 ≤ y ≤ 7, and 4 ≤ x + y ≤ 8.

p(x, y)
Now pX|Y (x|y) = , where
pY (y)
* +* +
7 9
y 8−y
pY (y) = P (Y = y) = * + , 0 ≤ y ≤ 8.
16
8

Hence * +* +
5 4
x 8−x−y
pX|Y (x|y) = * + ,
9
8−y
where 0 ≤ x ≤ 5, 0 ≤ y ≤ 7, and 4 ≤ x + y ≤ 8.

To find P (X = 3 | Y = 3), note that


* +* +
5 4
3 2 10
P (X = 3 | Y = 3) = pX|Y (3|3) = * + = ≈ 0.48.
9 21
5
Chapter 8 Solutions to Self-Quiz Problems 4

2. By definition,
f (x, y)
fX|Y (x|y) = ,
fY (y)
where,
! 1 ! 1, -
fY (y) = f (x, y) dx = 1 + α(1 − 2x)(1 − 2y) dx = 1, 0 < y < 1.
0 0
Note that, as expected, fY is a uniform random variable over the interval (0, 1). Thus
f (x, y)
fX|Y (x|y) = = 1 + α(1 − 2x)(1 − 2y), 0 < x < 1, 0 < y < 1.
fY (y)
Therefore, for 0 < y < 1,
! 1 ! 1 , - 1
E(X | Y = y) = xfX|Y (x|y) dx = x 1+α(1−2x)(1−2y) dx = (2αy−α+3).
0 0 6

Section 8.4

1. Let f (x, y) be the joint probability density function of X and Y . We are given that

1 0<x<1
fX (x) =

0 otherwise.

1 0<y<1
fY (y) =

0 otherwise.
Since X and Y are independent,

1 if 0 < x < 1 and 0 < y < 1
f (x, y) = fX (x)fY (y) =

0 otherwise.
Consider the system of two equations in two unknowns
.
x+y = u
x − y = v.
This system has the unique solution

 u+v
x = 2


y = u − v ,

2
/ 0
and it defines a one-to-one
/ transformation of R = (x, y) : 0 <
0 x < 1, 0 < y < 1
onto the region Q = (u, v) : 0 < u + v < 2, 0 < u − v < 2 , where Q is sketched
in Figure 8a.
Chapter 8 Solutions to Self-Quiz Problems 5

Figure 8a Region Q of self-quiz problem #1 of Section 8.4.

Now
1 1
1 1/2 1/2 1
1 1
J =1 1 = −1/2 %= 0.
1 1/2 −1/2 1

Therefore, by Theorem 8.8, g(u, v), the joint probability density function of U and
V , is given by

1/2 0 < u + v < 2, 0 < u − v < 2
g(u, v) = f (u, v)|J| =

0 otherwise.


 1/2 0 < u < 1, −u < v < u



= 1/2 1 < u < 2, u − 2 < v < 2 − u





0 otherwise.

2. Since 
e−x · 2e−2y x ≥ 0, y ≥ 0
f (x, y) =

0 otherwise,
and fX (x) = e−x for x ≥ 0, and fY (y) = 2e−2y for y ≥ 0, we have that X and Y
are independent random variables. To find h, we use the convolution theorem. Since

2e−2(t−x) if 0 ≤ x ≤ t
fY (t − x) =

0 otherwise,
! t ! t
h(t) = 2e−2(t−x) · e−x dx = 2e−2t · e−x dx = 2(e−t − e−2t ), t ≥ 0.
0 0
Chapter 8 Solutions to Self-Test Problems 6

SOLUTIONS TO SELF-TEST PROBLEMS

Figure 8b Geometric Model of Self-Test Problem #1.

1. As Figure 8b shows, the point is selected from the disk centered at the origin with
radius 2. The probability that it falls inside E, the disk centered at the origin with
radius 1 is
area (E) π(1)2 1
= = .
area (S) π(2) 2 4
Similarly, the probability that it falls inside the square F is
√ √
area (F ) 2 2·2 2 2
= = .
area (S) π(2) 2 π

Note
√ that, by √
the Pythagorean Theorem, the length of each side of the square is
2 + 2 = 2 2.
2 2

2. We will show that E(XY ) %= E(X)E(Y ). That implies that X and Y are not
independent. We have
! 1 $ ! 1−x % ! 1 $! 1−x %
E(XY ) = 60 x y dy dx = 60
3 2 3
x y 2 dy dx
0 0 0 0
! 1
1
= 20 x3 (1 − x)3 dx = ;
0 7
Chapter 8 Solutions to Self-Test Problems 7

! 1 $ ! 1−x % ! 1 $! 1−x %
E(X) = 60 x y dy dx = 60
3
x 3
y dy dx
0 0 0 0
! 1
1
= 30 x3 (1 − x)2 dx = ;
0 2
! 1 $ ! 1−x % ! 1 $! 1−x %
E(Y ) = 60 x y dy dx = 60
2 2
x 2
y 2 dy dx
0 0 0 0
! 1
1
= 20 x2 (1 − x)3 dx = .
0 3
We have established that
1 1 1 1
= E(XY ) %= E(X)E(Y ) = · = .
7 2 3 6
So X and Y are not independent.

3. The probability density function of the lifetime of such a tablet PC is



 1
 e−t/8 t≥0
f (x) = 8


0 t < 0.
Let X be the lifetime of a randomly selected tablet PC manufactured by the company.
The probability that the tablet fails within a year of purchase is
! 1
1 −t/8
P (X ≤ 1) = e dt ≈ 0.118.
0 8
The probability that it fails during the second year following the purchase is
! 2
1 −t/8
P (1 < X ≤ 2) = e dt ≈ 0.104.
1 8
Now let N 1 be the number of tablet PC’s that will fail within 12 months from the
purchase. Then N1 is binomial with parameter 11,000 and 0.118. Let N 2 be the
number of tablet PC’s that will fail within 12 to 24 months from the purchase. Then
N2 is binomial with parameters 11,000 and 0.104. The expected value of the total
refund amount the manufacturer pays each year is
E(960N1 + 480N2 ) = 960E(N1) + 480E(N2)
≈ 960(11, 000 × 0.118) + 480(11, 000 × 0.104) ≈ 1, 795, 200.

4. Let g(x, y) be the joint probability density function of X and Y . Let g X (x) and
gY (y) be the marginal probability density functions of X and Y , respectively. Since
X and Y are independent, g(x, y) = g X (x)gY (y). Since

 8
 2 4≤x≤8
gX (x) = x


0 otherwise,
Chapter 8 Solutions to Self-Test Problems 8

8

 2 4≤y≤8
y
gY (y) =


0 otherwise.
We have that  64

 2 2 4 ≤ x ≤ 8, 4 ≤ y ≤ 8
x y
g(x, y) =


0 otherwise.
Hence the desired probability, P (X + Y ≥ 13), is the double integral of g(x, y) over
the shaded area of Figure 8c.

Figure 8c The shaded area is the region of integration of Self-Test Problem #4.

So
! 8$! 8 %
64
P (X + Y ≥ 13) = dy dx
5 13−x x2 y 2
! 8
64 $ 1 1%
= − dx ≈ 0.125.
5 x2 13 − x 8
Chapter 8 Solutions to Self-Test Problems 9

5. (a) We know that f (x, y), the joint probability density function of X and Y is given
by 
 1

 (x, y) ∈ D
area(D)
f (x, y) =


0 elsewhere.
Therefore, 
 1
 x2 + y 2 ≤ 1
f (x, y) = π


0 elsewhere.

Figure 8d Geometric model of Self-Test Problem #5, Chapter 8.

f (x, y)
By definition, fX|Y (x|y) = , where, as Figure 8d shows,
fY (y)
! √1−y2
22
fY (y) = √ f (x, y) dx = 1 − y2 , −1 ≤ y ≤ 1.
− 1−y2 π

Therefore,

1/π 1 2 2
fX|Y (x|y) = 2 = 2 , − 1 − y2 ≤ x ≤ 1 − y2.
(2/π) 1 − y 2 2 1 − y2

As a function of x, fX|Y (x|y) is a constant, and this is the probability density function
3 2 2 4
of a uniform random variable over the interval − 1 − y 2 , 1 − y 2 .
Chapter 8 Solutions to Self-Test Problems 10

(b) By part (a),


2 2
− 1 − y2 + 1 − y2
E(X | Y = y) = = 0,
2
and ,2 2 -2
1 − y 2 − (− 1 − y 2 1
2
σX|Y = = (1 − y 2 ).
=y
12 3
6. Note that ! 3

 xy x
 dy = 1<x<3
fX (x) = 1 16 4



0 otherwise.
Similarly, ! 3

 xy y
 dx = 1<y<3
fY (y) = 1 16 4


0 otherwise.
Since f (x, y) = fX (x)fY (y), the random variables X and Y are independent and
the convolution theorem is applicable. Let h be the probability density function of
X + Y . Then ! ∞
h(t) = fX (x)fY (t − x) dx.
−∞
The integrand is nonzero if 1 < x < 3 and 1 < t − x < 3. That is, if 1 < x < 3 and
t − 3 < x < t − 1. Clearly, if t < 2 or t > 6, then the integrand is 0, so h(t) = 0.
Now, as Figure 8e shows, for 2 < t < 4, we have 1 < x < t − 1, and, for 4 ≤ t < 6,
we have t − 3 < x < 3. Thus, for 2 < t < 4,
! t−1
x t−x 1 $1 3 2%
h(t) = · dx = t −t+ ,
1 4 4 16 6 3

and, for 4 ≤ t < 6,


! 3
x t−x 1 $ 1 3 %
h(t) = · dx = − t + 9t − 18 .
t−3 4 4 16 6

Thus  $
 1 1 3 2%

 t −t+ 2<t<4


 16 6 3
 $ %
h(t) = 1 1 3
 − t + 9t − 18 4≤t<6

 16 6




0 elsewhere.
Chapter 8 Solutions to Self-Test Problems 11

Figure 8e The region of integration for Self-Test Problem #6.

7. Let F be the distribution function of |X − Y |. By definition, for t > 0,


3 4
F (t) = P |X − Y | ≤ t = P (−t ≤ X − Y ≤ t) = P (X − t ≤ Y ≤ X + t).

Since X and Y are independent, the joint probability density function of X and Y is
given by

λe−λx · µe−µy = λµe−λx e−µy x > 0, y > 0
f (x, y) =

0 otherwise.

Therefore, F (t) is the double integral of f (x, y) over the shaded area of Figure 8f
between the line x − y = t and x − y = −t. Thus

P (X − t ≤ Y ≤ X + t)
! t * ! x+t + ! ∞ * ! x+t +
= λµe−λx −µy
e dy dx + λµe−λx −µy
e dy dx
0 0 t x−t
! t *! x+t + ! ∞ *! x+t +
−λx −µy −λx −µy
= λe µe dy dx + λe µe dy dx
0 0 t x−t
! t ! ∞
3 4 3 4
= −λx
λe 1−e −µt−µx
dx + e µt
−e −µt
λe−λxe−µx dx
0 t
Chapter 8 Solutions to Self-Test Problems 12

3 4 $ λ λ −λt−µt % 3 µt 4 λ −λt−µt
= 1 − e−λt − e−µt − e + e − e−µt e
λ+µ λ+µ λ+µ
λ −µt µ −λt
= 1− e − e .
λ+µ λ+µ

So, F , the distribution function of |X − Y | is




0
 t<0
F (t) =

 λ −µt µ −λt
1 − e − e t ≥ 0.
λ+µ λ+µ

f , the probability density function of |X − Y | is obtained by differentiating F . Thus




 λµ 3 −λt 4
 e + e−µt t ≥ 0.
# λ+µ
f (t) = F (t) =


0 otherwise.

-t

Figure 8f The region of integration for Self-Test Problem #7 of Chapter 8.


Chapter 8 Solutions to Self-Test Problems 13

8. Let f (x, y) be the joint probability density function of X and Y . We are given that

2e−2y y>0
fY (y) =

0 otherwise

and 
ye−yx x ≥ 0, y > 0
fX|Y (x|y) =

0 otherwise.
Therefore,

2ye−(x+2)y x ≥ 0, y > 0
f (x, y) = fX|Y (x|y)fY (y) =

0 otherwise.

We are interested in
f (x, y)
fY |X (y|x) = ,
fX (x)
where
! ∞ ! ∞
fX (x) = f (x, y) dy = 2ye−(x+2)y dy
0 0
5 2 2 6∞ 2
= − ye−(x+2)y − e−(x+2)y
= , x ≥ 0.
x+2 (x + 2)2 0 (x + 2)2

Thus

2ye−(x+2)y
fY |X (y|x) = 7 = (x + 2)2 ye−(x+2)y
2 (x + 2)2
, -2−1
(x + 2)e−(x+2)y · (x + 2)y
= .
Γ(2)

Therefore, the probability density function of the rate at which the emergency room
serves the non-life threatening patients, when the waiting time is the constant x, is
gamma with parameters
√ (2, x + 2). Its expected value and standard deviation are
2/(x + 2) and 2/(x + 2), respectively.

9. Let V = X. We will first find the joint probability density function of U and V ,
and then we calculate the marginal probability density function of U . To apply The-
orem 8.8, let h1 (x, y) = x/(x + y) and h2 (x, y) = x. The system equations
 x
x + y = u



x=v
Chapter 8 Solutions to Self-Test Problems 14

has the unique solution 


x = v

y = v − v,

u
and
1 1
1 0 11
1 1
J = 11 1 = v %= 0.
v 1 1 2
1 − 2 −1 1 u
u u
Now x > 0, y > 0, u = x/(x + y), and v = x imply that v > 0 and 0 < u < 1.
Hence, by Theorem 8.8, g(u, v), the joint probability density function of U and V ,
is given by
4v
g(u, v) = 2 e−2v/u , 0 < u < 1, v > 0.
u
Hence
! ∞
4 4 u2 5 2 −2v/u −2v/u 6∞
gU (u) = 2 ve−2v/u dv = 2 · − ve −e = 1, 0 < u < 1.
u 0 u 4 u 0

This shows that U is a uniform random variable over the interval (0, 1).

10. Let f (x, y) be the joint probability density function of X and Y . We are given that

1 if 0 < x < 1
fX (x) =

0 elsewhere.

1 if 0 < y < 1
fY (y) =

0 elsewhere.
Since X and Y are independent,

1 if 0 < x < 1 and 0 < y < 1
f (x, y) = fX (x)fY (y) =

0 elsewhere.
Now the system of equation 
x + y = u

 x
 =v
x+y
has the unique solution x = uv and y = u − uv. We have that u > 0, v > 0, and
1 − v > 0. That is, u > 0, v > 0, and v < 1. Also
1
0<x<1 ⇐⇒ 0 < uv < 1 ⇐⇒ 0<u< ,
v
1
0<y<1 ⇐⇒ 0 < u(1 − v) < 1 ⇐⇒ 0<u< .
1−v
Chapter 8 Solutions to Self-Test Problems 15

Now, if 0 < v < 1/2, then 1/(1 − v) < 1/v, and if 1/2 < v < 1, then 0 < u < 1/v.
Thus the system of two equations in two unknowns

x + y = u

 x
 =v
x+y
/ 0
defines a one-to-one correspondence from R = (x, y) : 0 < x < 1 and 0 < y < 1
to
8 1 19 : 8 1 1 9
Q = (u, v) : 0 < u < , 0<v< (u, v) : 0 < u < , < v < 1 .
1−v 2 v 2
Since x = uv and y = u − uv, we have
1 1
1 v u 11
1
J =1 1 = −vu − u + vu = −u %= 0.
1 1 − v −u 1

Hence, by Theorem 8.8, g(u, v), the joint probability density function of U and V , is
given by
g(u, v) = f (u, v)|J| = u, (u, v) ∈ Q.
(b) For 0 < v < 1/2,
! 1/(1−v)
1
gV (v) = u du = .
0 2(1 − v)2

For 1/2 < v < 1,


! 1/v
1
gV (v) = u du = .
0 2v 2
Thus 
 1

 2(1 − v)2 0 < v < 1/2
gV (v) =

 1

1/2 < v < 1.
2v 2
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 9

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 9 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 9.1
!
1. Let K = (x, y, z, u, v) : 0 ≤ x ≤ 15," 0 ≤ y ≤ 10, 0 ≤ z ≤ 6, 0 ≤ u ≤ 4,
0 ≤ v ≤ 5, x + y + z + u + v = 20 . p(x, y, z, u, v), the joint probability mass
function of X, Y , Z, U , and V is given by
# $# $# $# $# $
15 10 6 4 5
x y z u v
p(x, y, z, u, v) = # $ , (x, y, z, u, v) ∈ K.
40
20
The marginal probability mass function of U and V is given by
# $# $# $
4 5 31
u v 20 − u − v
pU,V (u, v) = # $ , 0 ≤ u ≤ 4, 0 ≤ v ≤ 5.
40
20

2. We have
% ∞&% ∞'% ∞ ( )
P (X < Y < Z) = 2y e−(2x+y+z) dz dy dx
0 x y
% ∞'% ∞ (
= 2y e−2x−2y dy dx
0 x
%
1 ∞
3
= (2x + 1) e−4x dx = ≈ 0.19.
2 0 16

Section 9.2

1. Let X1 and X2 be the points *selected randomly


+ and independently from the interval
(0, 1). We are interested in E X(2) − X(1) . Note that, by Theorem 9.7, f12 (x1 , x2 ),
the joint probability density function of X (1) and X(2) is given by

2! f (x1)f (x2 ) 0 < x1 < x2 < 1
f12 (x1 , x2 ) =

0 otherwise,

where, 
1 0<x<1
f (x) =

0 otherwise.
Chapter 9 Solutions to Self-Quiz Problems 3

So 
2 0 < x1 < x2 < 1
f12 (x1 , x2 ) =

0 otherwise.
The desired expected value is calculated as follows
% 1% 1
* +
E X(2) − X(1) = (x2 − x1 ) · 2 dx2 dx1
0 x1
% &1 )1
1
1
= (x21 − 2x1 + 1) dx1 = x31 − x21 + x1 = .
0 3 0 3

2. Let X1 , X2, . . . , X5 be the number of minutes past 2:10 P. M . that horses 1,


2, . . . , and 5 crossed the finish line, respectively. Clearly X 1 , X2 , . . . , X5 are in-
dependent uniform random variables over (0, 12). Hence f and F , the respective
probability density and distribution functions of X i ’s, are given by

1/12 0 < x < 12
f (x) =

0 otherwise,


 0 x<0



F (x) = x/12 0 ≤ x < 12





1 x ≥ 12

Therefore, by Theorem 9.5, the probability density functions of X (1) and X(5) are
calculated as follow.
5! * +0 * +5−1
f1 (x) = f (x) F (x) 1 − F (x)
0! 4!
* +4 5' x (4
= 5f (x) 1 − F (x) = 1− , 0 < x < 12,
12 12
and f1 (x) = 0, otherwise.
5! * +4 * +5−5
f5 (x) = f (x) F (x) 1 − F (x)
4! 0!
* +4 5 ' x (4
= 5f (x) F (x) = , 0 < x < 12,
12 12

and f5 (x) = 0, otherwise. The probability that the winning horse passed the finish
line between 2:10 P. M . and 2:11 P. M . is
% 1 '
5 x (4 87, 781
1− dx = ≈ 0.35.
0 12 12 248, 832
Chapter 9 Solutions to Self-Quiz Problems 4

The probability that the time that the last horse crossed the finish line was after
2:21 P. M . is % 12 ' (
5 x 4 87, 781
dx = ≈ 0.35.
11 12 12 248, 832

Section 9.3

1. The desired probability is


30! 30!
(0.40)12(0.35)11(0.25)7 + (0.40)12(0.35)10(0.25)8 ≈ 0.054.
12! 11! 7! 12! 10! 8!

2. Let X1 , X2, and X3 be the number of personal, work-related, and unsolicited com-
mercial emails among the 25 emails in Samanthas inbox. The probability we are
asked to calculate is
4
0
P (X1 = 15 − i, X2 = 10, X3 = i)
i=0
4
0 25!
= (0.45)15−i(0.40)10(0.15)i ≈ 0.11.
(15 − i)! 10! i!
i=0
Chapter 9 Solutions to Self-Test Problems 5

SOLUTIONS TO SELF-TEST PROBLEMS

4 3
1. (a) The volume of a sphere with radius R is πR . Since the volume of the unit
3
4
sphere is π, by (9.10),
3

 3
 if x2 + y 2 + z 2 ≤ 1
f (x, y, z) = 4π


0 otherwise.

% √1−x2 −y2
3 3 1
(b) fX,Y (x, y) = √ dz = 1 − x2 − y 2 , x2 + y 2 ≤ 1.
− 1−x2 −y2 4π 2π

% % √
1−x2 −z2
1
3
(c) fZ (z) = dy dx. However, it is much easier if we calculate
−1

− 1−x2 −z2 4π
this

double integral by changing it to polar coordinates. Note


√ that, in polar coordinates,
dx dy = rdrdθ, 0 ≤ θ < 2π, and r changes from 0 to 1 − z 2 . Therefore,
% % √
1−z2

3
fZ (z) = r dr dθ
0 0 4π
% 2π
3 3
= (1 − z 2 ) dθ = (1 − z 2 ), −1 ≤ z ≤ 1.
0 8π 4

2. Let f be the joint probability density function of X 1, X2, . . . , Xn . We have

f (x1 , x2 , . . ., xn ) = fX1 (x1 )fX2 |X1 (x2 |x1 )fX3 |X1 ,X2 (x3 |x1 , x2 )
· · · fXn |X1 ,X2 ,...,Xn−1 (xn |x1 , x2 , . . ., xn−1 ).

Therefore, for 0 < xn < xn−1 < · · · < x2 < x1 < 1,


1 1 1 1
f (x1 , x2 , . . . , xn) = 1 · · · ··· · = ,
x1 x2 xn−1 x1 x2 · · · xn−1
and f (x1 , x2 , . . . , xn ) = 0, otherwise.

3. We need to find c so that it satisfies


% ∞% ∞% ∞% ∞
1
c· dt dz dy dx = 1.
0 0 0 0 (1 + x + y + z + t)6
Chapter 9 Solutions to Self-Test Problems 6

Now
% ∞% ∞% ∞% ∞
1
dt dz dy dx
0 0 0 0 (1 + x + y + z + t)6
% ∞% ∞% ∞
1
= dz dy dx
0 0 0 5(1 + x + y + z)5
% ∞% ∞
1
= dy dx
0 0 20(1 + x + y)4
% ∞
1 1
= dx = .
0 60(1 + x) 3 120
Therefore, c · (1/120) = 1 implies that c = 120. Now we calculate
P (X < Y < Z < T ).
We have
% ∞% ∞% ∞% ∞
1
P (X < Y < Z < T ) = 120 dt dz dy dx
0 x y z (1 + x + y + z + t)6
% ∞% ∞% ∞
1
== 24 dz dy dx
0 x y (1 + x + y + 2z)5
% ∞% ∞
1
=3 dy dx
0 x (1 + x + 3y)4
%
1 ∞
1 1
= dx = ≈ 0.0417.
3 0 (1 + 4x) 3 24

4. (a) Let X1, X2, . . . , X7 be the lifetimes of the components of the system. For
1 ≤ i ≤ 7, f , the probability density function of X i , and F , its distribution function
are given by
f (x) = e−x , x ≥ 0;
F (x) = 1 − e−x x ≥ 0.
Note that the system is still functional two years from now if and only if X (7) > 2.
By Remark 9.2, the probability density function of X (7) is given by

f7 (x) = 7e−x (1 − e−x )6 , x ≥ 0.


Therefore, % ∞
P (X(7) > 2) = 7e−x (1 − e−x )6 dx ≈ 0.64.
2

(b) At least three components of the system are functional two years from now if
and only if X (5) > 2. By Theorem 9.5, the probability density function of X (5) is
7! −x * +2
f5 (x) = e (1 − e−x )4 1 − (1 − e−x ) = 105 e−3x(1 − e−x )4 , x ≥ 0.
4! 2!
Chapter 9 Solutions to Self-Test Problems 7

Therefore,
% ∞
P (X(5) > 2) = 105 e−3x (1 − e−x )4 dx ≈ 0.057.
2

5. Let X1, X2, and X3 be, respectively, the number of physicians among the group who
retired at ages 64 and below, 65-69, and 70 or later. Let p(x 1 , x2 , x3 ) be the joint
probability mass function of X 1 , X2 , and X3 . The median age of the five randomly
selected retired physicians is below 65 if and only if the ages of at least three of them
are below 65. Therefore, the desired probability is

p(5, 0, 0) + p(4, 1, 0) + p(4, 0, 1) + p(3, 2, 0) + p(3, 0, 2) + p(3, 1, 1)


5! 5! 5!
= (0.2)5 (0.3)0(0.5)0+ (0.2)4 (0.3)1(0.5)0+ (0.2)4 (0.3)0(0.5)1
5! 0! 0! 4! 1! 0! 4! 0! 1!
5! 5! 5!
+ (0.2)3(0.3)2 (0.5)0 + (0.2)3 (0.3)0(0.5)2 + (0.2)3(0.3)1(0.5)1
3! 2! 0! 3! 0! 2! 3! 1! 1!
≈ 0.058.
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 10

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 10 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 10.1

1. Let X be the number of disk storage wallets that Shiante should search to find the
DVD. For i = 1, 2, . . ., 11, let Xi = 1 if the DVD is stored in the ith wallet that
Shiante searches, and Xi = 0, otherwise. Then

X = 1 · X1 + 2 · X2 + · · · + 11 · X11 ,

and, therefore,

E(X) = 1 · E(X1) + 2 · E(X2) + · · · + 11 · E(X11)


1 1 1 1 1 11 × 12
=1· +2· + · · · + 11 · = (1 + 2 + · · · + 11) = · = 6.
11 11 11 11 11 2

2. By the Cauchy-Schwarz inequality,


! ! "
!E(XY )! ≤ E(X 2)E(Y 2 ) .

Note that XY = X and Y 2 = Y . Since X is nonnegative, and avoiding trivial cases,


E(X) > 0, we have
! ! ! ! "
E(X) = !E(X)! = !E(XY )! ≤ E(X 2)E(Y 2 ).

However,
E(Y 2 ) = E(Y ) = P (X > 0).
Thus "
E(X) ≤ E(X 2)P (X > 0).
This implies that
# $2
E(X 2)P (X > 0) ≥ E(X) .
Hence # $2
E(X)
P (X > 0) ≥ ,
E(X 2)
or #
$2
E(X)
1 − P (X > 0) ≤ 1 − ,
E(X 2)
which establishes the relation
# $2
E(X 2) − E(X) Var(X)
P (X = 0) ≤ = .
E(X )2 E(X 2)
Chapter 10 Solutions to Self-Quiz Problems 3

Section 10.2

1. Clearly, E(Xi) = E(Xj ) = 1/4. For 1 ≤ i ≤ 8, let Ai be the event that the ith card
drawn is a heart. Then

1 if Ai Aj occurs
Xi Xj =

0 otherwise.

Therefore,
12 1 3
E(XiXj ) = P (Ai Aj ) = P (Aj | Ai )P (Ai ) = · = .
51 4 51
Hence
3 1 1
Cov(Xi, Xj ) = E(XiXj ) − E(Xi)E(Xj ) = − =− .
51 16 272

2. Suppose that X and Y are the lifetimes of two devices each with mean 1/λ. V is the
time when the first device dies; U − V is the additional lifetime of the other device,
which, by the memoryless property of the exponential, is itself an exponential random
variable with mean 1/λ independently of V . So, by independence of U − V and V ,
Cov(U − V, V ) = 0. Hence

Cov(U, V ) = Cov(U − V, V ) + Cov(V, V ) = 0 + Var(V ).

Note that
( )
P (V > t) = P min(X, Y ) > t

= P (X > t, Y > t) = P (X > t)P (Y > t) = e−λt · e−λt = e−2λt

implies that V is exponential with mean 1/(2λ) and variance 1/(4λ 2). Therefore,
Cov(U, V ) = Var(V ) = 1/(4λ2).

Section 10.3

1. With these answers, we have

Cov(X, Y ) = E(XY ) − E(X)E(Y ) = 23 − 4 = 19,

Var(X) = 13 − 4 = 9, and Var(Y ) = 40 − 4 = 36. Therefore,

Cov(X, Y ) 19
ρ(X, Y ) = = > 1.
σX σY 18

This is not possible, since −1 ≤ ρ(X, Y ) ≤ 1.


Chapter 10 Solutions to Self-Quiz Problems 4

2. Note that
n
* **
Var(X1 + X2 + · · · + Xn ) = Var(Xi ) + 2 Cov(Xi, Xj )
i=1 i<j

n−1 *
* n
= 4n + 2 Cov(Xi , Xj ).
i=1 j=i+1

Now
Cov(Xi , Xj ) Cov(Xi , Xj ) 1
ρ(Xi, Xj ) = = =−
σXi σXj 4 16
+n−1 +n
implies that Cov(X i , Xj ) = −1/4. Since i=1 j=i+1 Cov(Xi , Xj ) has

(n − 1)n
(n − 1) + (n − 2) + · · · + 1 =
2
identical terms, we have
, 1 - n(17 − n)
Var(X1 + X2 + · · · + Xn ) = 4n + (n − 1)n − = .
4 4

Section 10.4

1. Due to the memoryless property of exponential random variables, it does not matter
who cried last or how many times before. Let X be the time until Hannah cries next
and Y be the time until Joshua cries next; X and Y are independent exponential ran-
dom variables with parameters 10 and 7, respectively. By Remark 10.2, the desired
probability is
7 7
P (Y < X) = = .
7 + 10 17

2. Let midnight be labeled t = 0. It should be clear that the percentage of the cars
parked illegally in the time interval (0, 30) and caught is equal to the percentage of
all cars parked illegally and caught. Between 0 and 30, let Y be the time a random
car is illegally parked on the street; Y is a uniform random variable over (0, 30).
Suppose that the car parked illegally at Y is left parked for X units of time. Let A be
the event that it is caught. The desired percentage is 100 · P (A).
. 30 . 30
1 1
P (A) = P (A | Y = y) dy = P (X > 30 − y) dy
0 30 0 30
. 30
1
= e−(1/10)(30−y) · dy = 0.317.
0 30
Therefore, the percentage of the cars that are parked illegally and caught is 31.7%.
Note that, as expected, the final answer does not depend on λ.
Chapter 10 Solutions to Self-Quiz Problems 5

Section 10.5

1. The conditional probability density function of of Y , given that X = 0.97 is normal


with mean
σY , 0.19 -
µY + ρ (x − µX ) = 0.53 + (0.2) (0.97 − 0.95) ≈ 0.5327
σX 0.28
and standard deviation
" "
σY 1 − ρ2 = (0.19) 1 − (0.2)2 ≈ 0.1862.

Therefore, the desired probability is calculated as follows:


/ 0
Y − 0.5327 0.60 − 0.5327 !!
P (Y ≥ 0.60 | X = 0.97) = P ≥ ! X = 0.97
0.1862 0.1862

= P (Z ≥ 0.36) = 1 − Φ(0.36) = 1 − 0.6409 = 0.3594,

where Z is a standard normal random variable and Φ is its distribution function.

2. By (10.24), f (x, y) is maximum if and only if Q(x, y) is minimum. Let z 1 =


x − µX y − µY
and z2 = . Then |ρ| ≤ 1 implies that
σX σY

Q(x, y) = z12 − 2ρz1 z2 + z22 ≥ z12 − 2|ρz1 z2 | + z22


( )2
≥ z12 − 2|z1 z2 | + z22 = |z1 | − |z2 | ≥ 0.

This inequality shows that Q is minimum if Q(x, y) = 0. This happens at x = µ X


and y = µY . Therefore, (µX , µY ) is the point at which the maximum of f is obtained.
Chapter 10 Solutions to Self-Test Problems 6

SOLUTIONS TO SELF-TEST PROBLEMS

1. Let X be the period between two consecutive calls made to extension 1247; X is an
exponential random variable with mean 1/λ. We have
. ∞
( ) ( )
P (N = i) = P N2 (X) = i = P N2 (X) = i | X = x λe−λx dx
0
. .
∞ ( ) ∞
e−µx (µx)i −λx
= P N2 (x) = i λe−λx dx = λe dx
0 0 i!
. ∞
µi λ
= xi e−(λ+µ)x dx.
i! 0

Making the substitution (λ + µ)x = y yields


. . ∞
µi λ ∞ yi 1 µi λ 1
P (N = i) = e−y
dy = · e−y y i dy
i! 0 (λ + µ)i λ+µ i! (λ + µ)i+1 0
µi λΓ(i + 1) λ , µ -i
= =
i! (λ + µ)i+1 λ+µ λ+µ
, λ - i , λ -
= 1− , i = 0, 1, 2, . . . .
λ+µ λ+µ

2. Let X be the annual calamity loss of the business in a random year. Let Y be the
annual calamity loss of the business that year paid by the insurance company. We are
interested in E(Y ):
. 0.4 . ∞
# $
E(Y ) = E E(Y | X) = E(Y | X = x)f (x) dx + E(Y | X = x)f (x) dx
0.25 0.4
. 0.4 . ∞
= xf (x) dx + (0.4)f (x) dx
0.25 0.4
. .
1
0.4 ∞
1
= x· dx + (0.4) dx
0.25 64x5 0.4 64x5
≈ 0.251953 + 0.061035 = 0.312988.

Therefore, the expected value of the annual loss of the business paid by the insurance
company is $312,988.

3. Note that
n
* **
Var(X1 + X2 + · · · + Xn ) = Var(Xi ) + 2 Cov(Xi, Xj ),
i=1 i<j
Chapter 10 Solutions to Self-Test Problems 7

** n−1
* n
*
where Cov(Xi, Xj ) = Cov(Xi, Xj ) has
i<j i=1 j=i+1

(n − 1)n
(n − 1) + (n − 2) + · · · + 1 =
2
terms, and Cov(Xi , Xj ) = ρ(Xi, Xj )σXi σXj = aσ 2 . Hence

Var(X1 + X2 + · · · + Xn ) ≥ 0

yields
nσ 2 + (n − 1)naσ 2 ≥ 0,
1
which implies that 1 + (n − 1)a ≥ 0 or a ≥ − .
n−1
4. Clearly X is exponential with parameter λ. Let Y 1 , Y2 , and Y3 be the lifetimes of
the electron guns of Dan’s monitor. Then Y 1 , Y2 , and Y3 are independent exponential
random variables each with parameter λ. Hence, Y = min(Y1 , Y2 , Y3 ) is exponential
with parameter 3λ. This gives
λ 1
P (X < Y ) = = ;
λ + 3λ 4
# $ 1
E min(X, Y ) = .

# $
To find E max(X, Y ) , note that, by Remark 6.4,
. ∞
# $ ( )
E max(X, Y ) = P max(X, Y ) > t dt
0
. ∞1 ( )2
= 1 − P max(X, Y ) ≤ t dt
0
. ∞# $
= 1 − P (X ≤ t, Y ≤ t) dt
0
. ∞# $
= 1 − P (X ≤ t)P (Y ≤ t) dt
0
. ∞# $
= 1 − (1 − e−λt )(1 − e−3λt) dt
0
1 1 1 −3λt 1 −4λt 2∞ 13
= − e−λt − e + e = λ.
λ 3λ 4λ 0 12
5. Let X be the time until the seismograph placed in the New Mexico desert is replaced.
Let L be its lifetime. L is an exponential random variable with parameter λ = 1/7.
Let 
1 if L ≥ 5
Y =

0 if L < 5.
Chapter 10 Solutions to Self-Test Problems 8

We are interested in E(X). We have


# $
E(X) = E E(X | Y ) = E(X | Y = 0)P (Y = 0) + E(X | Y = 1)P (Y = 1)
= E(L | L < 5)P (L < 5) + E(X | L ≥ 5)P (L ≥ 5).
Clearly,
. 5
1 −t/7
P (L < 5) = e dt = 1 − e−5/7 ≈ 0.51,
0 7
P (L ≥ 5) ≈ 1 − 0.51 = 0.49.
E(X | L ≥ 5) = 5.
To find E(L | L < 5), first we find the distribution function of L given that L < 5,
we have 


 0 t<0



 P (L ≤ t)
P (L ≤ t | L < 5) = 0≤t<5

 P (L < 5)




1 t ≥ 5.
So 


0 t<0




1 − e−t/7
P (L ≤ t | L < 5) = 0≤t<5

 1 − e−5/7




1 t ≥ 5.
Let fL|L<5 be the conditional probability density function of L given L < 5. f L|L<5
is obtained by differentiating the right side of the distribution function of L given that
L < 5. Thus 

 (1/7)e−t/7
 0≤t<5
fL|L<5 (t) = 1 − e−5/7


0 otherwise.
Therefore,
.
1/7 5
E(L | L < 5) = te−t/7 dt
1 − e−5/7 0

1 1 25
−t/7
= − (7t + 49)e ≈ 2.205.
7(1 − e−5/7 ) 0

So the probability we are interested in is


E(X) = E(L | L < 5)P (L < 5) + E(X | L ≥ 5)P (L ≥ 5)
= (2.205)(0.51) + (5)(0.49) ≈ 3.57.
Chapter 10 Solutions to Self-Test Problems 9

Figure 10a Region R of Self-Test Problem #6 of Chapter 10.

6. Region R is the shaded area of Figure 10a. Since the area of R is 9π − 4π = 5π, the
joint probability density function of X and Y is given by

 1
 if (x, y) ∈ R
f (x, y) = 5π


0 otherwise.

As Figure 10b shows,

P (0 < X < 1) = 2P (0 < X < 1 | Y > 0).

Since P (0 < X < 1 | Y > 0) '= P (0 < X < 1), X and Y are dependent. To show
that X and Y are uncorrelated, we need to calculate E(X), E(Y ), and E(XY ). To
calculate ..
E(X) = f (x, y) dx dy,
R
we convert from Cartesian to polar coordinates. We have x = r cos θ, y = r sin θ,
and dx dy = r dr dθ. So
. 2π . 3 . 2π / . 3 0
1 1
E(X) = (r cos θ) · r dr dθ = (r cos θ) r dr dθ
2
0 2 5π 5π 0 2
. 2π
19 19 1 22π
= cos θ dθ = sin θ = 0.
15π 0 15π 0
Chapter 10 Solutions to Self-Test Problems 10

y
x =1

The shaded regions show that


Figure 10b
P (0 < X < 1 | Y > 0) '= P (0 < X < 1)

Similarly E(Y ) = 0. The fact that E(X) = E(Y ) = 0 must be evident since X and
Y assume positive and negative values with the same probabilities. Now we calculate
E(XY ). We have
. .
2π 3
1
E(XY ) = (r cos θ)(r sin θ) ·
r dr dθ
0 2 5π
. 2π /. 3 0
1
= sin θ cos θ 3
r dr dθ
5π 0 2
. .
13 2π 13 2π , 1 -
= sin θ cos θ dθ = sin 2θ dθ
4π 0 4π 0 2
13 1 1 22π 13 , 1 1-
= − cos 2θ = − + = 0.
8π 2 0 8π 2 2
Hence
Cov(X, Y ) = E(XY ) − E(X)E(Y ) = 0 − 0 · 0 = 0.
This shows that X and Y are uncorrelated.

7. Let N (t) be the number of claims received by the insurance company at or prior to
time t. Let4 Λ be the average
5 number of claims during a one month period. We are
given that N (t) : t ≥ 0 is a Poisson process with parameter Λ, where Λ is a gamma
Chapter 10 Solutions to Self-Test Problems 11

random variable with parameters n and λ. To calculate the distribution of N (12), the
desired random variable, we will condition on Λ.
. ∞
( ) ( ) λe−λx (λx)n−1
P N (12) = i = P N (12) = i | Λ = x dx
0 (n − 1)!
. ∞ −12x
e (12x)i λe−λx (λx)n−1
= · dx
0 i! (n − 1)!
. ∞
12iλn # $
= e−(λ+12)x xn+i−1 dx Now let y = (λ + 12)x.
i! (n − i)! 0
. ∞
12i λn 1
= · e−y y n+i−1 dy
i! (n − 1)! (λ + 12)n+i 0
12i λn 1
= · Γ(n + i)
i! (n − 1)! (λ + 12)n+i
, 12 -i , λ -n (n + i − 1)!
=
λ + 12 λ + 12 i! (n − 1)!
/ 0, -
n+i−1 λ n , 12 -i
= , i = 0, 1, 2, . . ..
n−1 λ + 12 λ + 12
For i ≥ 0, letting j = n + i, we have shown that
/ 0
( ) j − 1 , λ -n , 12 -j−n
P n+N (12) = j = , j = n, n+1, n+2, . . ..
n − 1 λ + 12 λ + 12
6
This shows that n + N (12) is negative binomial with parameter n and λ (λ + 12).

8. For i = 1, 2, . . ., 10, j = i + 1, i + 2, . . ., 11, and k = j + 1, j + 2, . . . , 12, let


Xijk = k if the ith, the jth, and the kth movies withdrawn are Marlon Brando
10 *
* 11 *12
movies. Let Xijk = 0, otherwise. Then X = Xijk is the number
i=1 j=i+1 k=j+1
of movies Professor Jackson withdraws until all Brando movies are pulled out. The
desired quantity is
,*
10 *
11 12
* - *10 *
11 12
*
E(X) = E Xijk = E(Xijk )
i=1 j=i+1 k=j+1 i=1 j=i+1 k=j+1

* 11
10 * 12
* 10 11 12
1 1 * * *
= k· / 0= k.
12 220
i=1 j=i+1 k=j+1 i=1 j=i+1 k=j+1
3
Now
12
* 12
* j
* 12 × 13 j(j + 1) 1
k= k− k= − = (156 − j 2 − j).
2 2 2
k=j+1 k=1 k=1
Chapter 10 Solutions to Self-Test Problems 12

So
11
* 12
* 11
1 *
k= (156 − j 2 − j)
2
j=i+1 k=j+1 j=i+1

7 11 i 8
1 * *
= (156 − j 2 − j) − (156 − j 2 − j)
2
j=1 j=1
7
1 11 × 12 × 23 11 × 12
= 1716 − − − 156i
2 6 2
8
i(i + 1)(2i + 1) i(i + 1)
+ +
6 2

i(i + 1)(i + 2)
= 572 − 78i + .
6
Therefore,

1 *1 i(i + 1)(i + 2) 2
10
E(X) = 572 − 78i +
220 6
i=1

1 * 1 i(i + 1)(i + 2) 2
10
78 10 × 11
= 26 − · +
220 2 220 6
i=1

39 1 39
= 26 − + · 4290 = = 9.75.
2 1320 4

9. Let X1 = 1 for counting the first person that Amber will meet. Let X 2 be the number
of people Amber will meet until she finds a person whose birthday is different from
the birthday of the first person she met. Clearly, X 2 is a geometric random variable
with probability of success p given by p = 364/365. Let X 3 be the number of people
Amber will meet until she finds a person whose birthday is different from the first two
birthdays that she has already recorded. Then X 3 is geometric with p = 363/365.
In general, for 2 ≤ i ≤ 365, let Xi be the number of people Amber will meet until
she finds a person whose birthday is different from the first i − 1 birthdays she has
already recorded. Then Xi is a geometric random variable with

365 − (i − 1) 366 − i
p= = .
365 365
Clearly, X, the number of people that Amber will need to meet in order to achieve
her goal, satisfies the following equation.

X = X1 + X2 + X3 + · · · + X365.

Since the expected value of a geometric random variable with parameter p is 1/p, we
Chapter 10 Solutions to Self-Test Problems 13

have

E(X) = E(X1) + E(X2) + E(X3 ) + · · · + E(X365)


365 365 365
= 1+ + +···+
364 363 1
364
* 1
= 1 + 365 ≈ 1 + 365(6.47574252996) ≈ 2364.65.
i
i=1

1−p
Now, since the variance of a geometric random variable with parameter p is ,
p2
and since X1 , X2 , . . . , X365 are independent random variables,
365
* 365
*
Var(X) = Var(Xi ) = Var(Xi )
i=1 i=2

366 − i
365 1 −
* 365
*
365 365(i − 1)
= , 366 − i -2 = ≈ 216, 417.19.
(366 − i)2
i=2 i=2
365
"
Therefore, σX = Var(X) ≈ 465.20.

10. The set of possible outcomes of this experiment is


4
N N N N, 6NN N, N 6N N, NN 6N, NN N6, 66NN, 6N6N, 6NN 6, N66N,
5
N 6N 6, N N 66, 666N, 66N 6, 6N 66, N666, 6666 .

The probability of obtaining N N N N is (5/6) 4 = 625/1296. The probability of each


of the possible outcomes 6N N N , N 6N N , N N 6N , and N N N 6 is (1/6)(5/6) 3 =
125/1296. The probability of each of the possible outcomes 66N N , 6N 6N , 6N N 6,
N 66N , N 6N 6, and N N 66 is (1/6)2(5/6)2 = 25/1296. The probability of each
of the possible outcomes 666N , 66N 6, 6N 66, N 666 is (1/6) 3(5/6) = 5/1296.
Finally, the probability of obtaining 6666 is (1/6) 4 = 1/1296. Based on these prob-
abilities, for example,
( ) 25 25 25 75
P (X = 2, Y = 2) = P {66N N, N 66N, NN66} = + + = .
1296 1296 1296 1296
Similar calculations yield the following table, which represents p(x, y), the joint
probability mass function of X and Y , p X (x), the marginal probability mass function
of X, and pY (y), the marginal probability mass function of Y .
Chapter 10 Solutions to Self-Test Problems 14

x 0 1 2 3 4 p X (x)

0 625/1296 0 0 0 0 625/1296

1 0 500/1296 0 0 0 500/1296

2 0 75/1296 75/1296 0 0 150/1296

3 0 0 10/1296 10/1296 0 20/1296

4 0 0 0 0 1/1296 1/1296

pY (y) 625/1296 575/1296 85/1296 10/1296 1/1296

To calculate the correlation coefficient of X and Y , among other quantities, we need


to calculate Cov(X, Y ) and hence E(XY ). So first we calculate the probability mass
function of XY , which is represented in the following table.

i 0 1 2 3 4 6 8 9 12 16

625 500 75 75 10 10 1
P (XY = i) 0 0 0
1296 1296 1296 1296 1296 1296 1296

Now we will calculate all the quantities that we need to find ρ(X, Y ). We have

625 500 150 20 1 864 2


E(X) = 0 · +1· +2· +3· +4· = = ,
1296 1296 1296 1296 1296 1296 3
625 500 150 20 1 1296
E(X 2) = 02 · + 12 · + 22 · + 32 · + 42 · = = 1,
1296 1296 1296 1296 1296 1296
# $2 , 2 -2 5
Var(X) = E(X 2) − E(X) = 1 − = ,
3 9

5
σX = .
3

625 575 85 10 1 779


E(Y ) = 0 · +1· +2· +3· +4· = ,
1296 1296 1296 1296 1296 1296
625 575 85 10 1 1021
E(Y 2 ) = 02 · + 12 · + 22 · + 32 · + 42 · = ,
1296 1296 1296 1296 1296 1296
# $2 1021 , 779 -2 716, 375
Var(Y ) = E(Y 2 ) − E(Y ) = − = ,
1296 1296 1, 679, 616
Chapter 10 Solutions to Self-Test Problems 15

9 √
716, 375 6480 28, 655
σY = = .
1, 679, 616 1, 679, 616

625 500 75 75
E(XY ) = 0 · +1· +2· +3·0+4·
1296 1296 1296 1296
10 10 1 31
+6· +8·0+9· + 12 · 0 + 16 · = .
1296 1296 1296 36

31 2 779 895
Cov(X, Y ) = E(XY ) − E(X)E(Y ) = − · = ,
36 3 1296 1944
Cov(X, Y ) 895/1944
ρ(X, Y ) = = √ / √ 0 ≈ 0.946.
σX σY 5 6480 28, 655
3 1, 679, 616

As expected, this shows that there is almost a linear relation, hence a strong positive
correlation, between X and Y .
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 11

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 11 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 11.1

1. By Example 11.2, MX (t) = (pet + q)n . Therefore,


! "
MY (t) = E(etY ) = E et(n−X) = ent MX (−t)
! "n
= ent (pe−t + q)n = et (pe−t + q) = (p + qet )n .

This shows that Y is a binomial random variable with parameters n and q. This
should be obvious because Y is the number of failures in n independent Bernoulli
trials, where, for each trial, the probability of failure is q.

2. No! If MX (t),
# the$moment generating function of a random variable X exists, then
MX (0) = E e0 ·X = 1. However,
% 1 1 &5 % 7 &5
f (0) = + = "= 1.
3 4 12
So f cannot be a moment generating function.

3. Clearly, p, the probability mass function of X is


i α 2α 3α
p(i) 1/8 3/8 1/2

It follows that
1 3 1 19α
E(X) = α · + 2α · + 3α · = ,
8 8 2 8

1 3 1 49α2
E(X 2) = α2 · + 4α2 · + 9α2 · = ,
8 8 2 8

49α2 % 19α &2 31 2


Var(X) = − = α .
8 8 64
31 2 279
For Var(X) to equal 279/64, we must have α = . This gives α 2 = 9, and
64 64
since α > 0, α = 3.

4. By relation (11.2),

' ∞
'
2n (2t)n
MX (t) = t =
n
= e2t .
n! n!
n=0 n=0

This shows that X = 2 with probability 1.


Chapter 11 Solutions to Self-Quiz Problems 3

Section 11.2

1. Let Y be the total loss of the company from house fires in these regions next year.
Then Y = X1 + X2 + X3 and, by Theorem 11.7, Y ∼ N (6, 9). Therefore,
%4 − 6 6 − 6&
P (4 ≤ Y ≤ 6) = P ≤Z≤
3 3

= P (−2/3 ≤ Z ≤ 0) = Φ(0) − Φ(−2/3) ≈ 0.5 − 0.2546 = 0.2454.

2. Let Y = α(Z1 + Z2 + · · · + Zn ) and W = Z1 + Z2 + · · · + Zn . By Lemma 11.1

MY (t) = MW (αt) = MZ1 (αt)MZ2 (αt) · · · MZn (αt)

2 t2 /2 2 t2 /2 2 t2 /2 2 t2 /2
= eα eα · · · eα = enα .

Clearly, MY (t) is the moment generating function of a standard normal random vari-

able if and only if nα 2 = 1 or α = 1/ n.

Section 11.3

1. Let X be the number of days prior to the appointment day that Margie needs to
call Dr. O’Neill’s clinic. We want to find the smallest positive integer n for which
P (X ≤ n) ≥ 0.95, or equivalently, P (X > n) ≤ 0.05. Since n is a positive integer,
P (X > n) ≤ 0.05 if and only if P (X ≥ n + 1) ≤ 0.05. By Chebyshev’s Inequality,
# $ 9
P (X ≥ n + 1) = P (X − 10 ≥ n − 9) ≤ P |X − 10| ≥ n − 9 ≤ .
(n − 9)2

Therefore, we should determine the smallest n for which 9/(n − 9) 2 ≤ 0.05. It is


straightforward to see that n = 23 is the smallest integer satisfying this inequality.
Therefore, Margie should call Dr. O’Neill’s clinic for an appointment 23 days prior
to her desired appointment day.

2. For 1 ≤ i ≤ 120, let Xi be the outcome of the ith toss. Then

Y = X1 + X2 + · · · + X120 .

Clearly, for 1 ≤ i ≤ 120,


1 21
E(Xi) = (1 + 2 + 3 + 4 + 5 + 6) = ,
6 6
1 91
E(Xi2) = (12 + 22 + 32 + 42 + 52 + 62 ) = .
6 6
Chapter 11 Solutions to Self-Quiz Problems 4

Thus Var(Xi) = 91/6−441/36 = 35/12. It follows that E(Y ) = 120·(21/6) = 420


and Var(Y ) = 120 · (35/12) = 350. Note that
# $
P (330 < Y < 510) = P (−90 < Y − 420 < 90) = P |Y − 420| < 90
# $
= 1 − P |Y − 420| ≥ 90 .

Now, by Chebyshev’s Inequality,


# $ Var(Y ) 350 35
P |Y − 420| ≥ 90 ≤ = = ,
902 8100 810
or, equivalently,
# $ 35 155
1 − P |Y − 420| ≥ 90 ≥ 1 − = .
810 162
Thus
155
P (330 < Y < 510) ≥ ≈ 0.96.
162

Section 11.4

1. We know that, for 1 ≤ i ≤ n, E(X i) = (a + b)/2, and Var(Xi ) = (b − a)2/2. So


! "2 (b − a)2 (a + b)2 1
E(Xi2) = Var(Xi) + E(Xi) = + = (a2 + ab + b2 ).
12 4 3
Since X12 , X22 , . . . , Xn2 are also independent random variables, by the strong law of
large numbers,

X1 + X2 + · · · + Xn a+b
lim = with probability 1,
n→∞ n 2

X12 + X22 + · · · + Xn2 1


lim = (a2 + ab + b2 ) with probability 1.
n→∞ n 3
Therefore, with probability 1,

X1 + X2 + · · · + Xn (X1 + X2 + · · · + Xn )/n
lim = lim
n→∞ X1 + X2 + · · · + Xn
2 2 2 n→∞ (X12 + X22 + · · · + Xn2 )/n

(a + b)/2 3(a + b)
= = .
(a2 + ab + b )/3
2 2(a + ab + b2 )
2

This shows that


3(a + b)
α= .
2(a2 + ab + b2 )
Chapter 11 Solutions to Self-Quiz Problems 5

2. Note that
%X & 1 1
n
E = E(Xn) = · np = p
n n n
%X & 1 1 p(1 − p)
n
Var = 2 Var(Xn ) = 2 · np(1 − p) = .
n n n n
Therefore, by Chebyshevs inequality,
%( X ( & Var(X /n) p(1 − p)
( n ( n
P ( − p( ≥ ε ≤ 2
= .
n ε nε2
This shows that, for all ε > 0,
%( X ( & %( X ( &
( n ( ( n (
P ( − p( > ε ≤ P ( − p( ≥ ε → 0.
n n
That is, X n /n converges to p in probability.

Section 11.5

1. Let n be the desired sample size, let X¯n be the sample mean, and µ be the population
mean. The actuary should find the smallest n for which
# $
P |X¯n − µ| < 300 ≥ 0.95

or
% −300 X¯n − µ 300 &
P (−300 < X¯n − µ < 300) = P √ < √ < √
4050/ n 4050/ n 4050/ n

% −2√n X¯n − µ

2 n&
=P < √ < ≥ 0.95.
27 4050/ n 27

X¯n − µ
Now by the version of the central limit theorem stated in Remark 11.3, √ is
4050/ n
approximately N (0, 1). So all we need to do is to find the smallest n for which
% 2 √n & % −2√n & % 2 √n &
Φ −Φ = 2Φ − 1 ≥ 0.95,
27 27 27
or % 2 √n &
Φ ≥ 0.975.
27

From Table 2 of the Appendix Tables, it follows that 2 n/27 ≥ 1.96 or n ≥
700.1316. Thus the actuary should sample 701 totaled vehicles to find the desired
estimate for µ.
Chapter 11 Solutions to Self-Quiz Problems 6

2. Let X1 , X2, . . . , X7000 be the amounts of contributions to the relief fund, respec-
tively. We want to find x so that

P (X1 + X2 + · · · + X7000 ≤ x) ≈ 0.95.

By the central limit theorem,

X1 + X2 + · · · + X7000 − 7000(220)

90 7000
is approximately a standard normal random variable. Since, from Table 2 of the
Appendix Tables, Φ(1.645) ≈ 0.95, we must have

x − 7000(220)
√ ≈ 1.645.
90 7000
This gives x ≈ 1, 552, 386.
Chapter 11 Solutions to Self-Test Problems 7

SOLUTIONS TO SELF-TEST PROBLEMS

1. Let A be the event that next month the ombudsman will receive at least one complaint
from a freshman. Let B be the event that next month he or she will receive at least
one complaint from a sophomore. Let C be the event that next month the number of
complaints by the freshmen is greater than the number of complaints by the sopho-
mores. Let X and Y be the number of complaints next month from freshmen and
sophomores, respectively. We are given that if A occurs, then X ∼ N (2, 9), and if B
occurs, then Y ∼ N (3, 16). If A and B both occur, then X − Y ∼ N (−1, 25). The
probability we are interested in is

P (AB c ) + P (ABC) = P (A)P (B c ) + P (A)P (B | A)P (C | AB)


= P (A)P (B c ) + P (A)P (B)P (C | AB)
= P (A)P (B c ) + P (A)P (B)P (X − Y > 0 | AB)
% 0 − (−1) &
= P (A)P (B c ) + P (A)P (B)P Z >
5
= P (A)P (B c ) + P (A)P (B)P (Z > 0.2)
! "
= P (A)P (B c ) + P (A)P (B) 1 − Φ(0.2)
≈ (0.53)(1 − 0.73) + (1 − 0.53)(1 − 0.73)(1 − 0.5793)
≈ 0.196.

2. We will show that, for −1 < t < 1, M X (t) = MW (t). We have


)
1 ∞
MX (t) = E(e tX
)= etx · e−|x| dx
2 −∞

) )
1 0
1 ∞
= etx · ex dx + etx · e−x dx
2 −∞ 2 0

) )
1 0
1 ∞
= e(t+1)x dx + e(t−1)x dx.
2 −∞ 2 0

Restricting the domain of M X (t) to −1 < t < 1 yields


(0 (∞
1 (
(t+1)x ( 1 (
(t−1)x (
MX (t) = e ( + e (
2(t + 1) −∞ 2(t − 1) 0

1 1 1
= (1 − 0) + (0 − 1) = , |t| < 1.
2(t + 1) 2(t − 1) 1 − t2
Chapter 11 Solutions to Self-Test Problems 8

To find MW (t), since U and V are independent and by Example 11.3,


1
MU (t) = MV (t) = , t < 1,
1−t
we have
! " # $ # $ # $
MW (t) = E et(U −V ) = E etU · e−tV = E etU · E e−tV

1 1 1
= MU (t)MV (−t) = · = , |t| < 1.
1−t 1+t 1 − t2
Since, for |t| < 1, X and W have the same moment generating function, by
Theorem 11.2, they are identically distributed. Therefore, W is a Laplace random
variable.

3. It follows that, for a < t < b,


# $
P (Yn ≤ t) = P max(X1 , X2, . . . , Xn) ≤ t

= P (X1 ≤ t, X2 ≤ t, . . . Xn ≤ t)
% t − a &n
= P (X1 ≤ t)P (X2 ≤ t) · · · P (Xn ≤ t) = .
b−a
This implies that
# $ # $
P |Yn − Y | ≤ ε = P |Yn − b| ≤ ε = P (−ε ≤ Yn − b ≤ ε)

= P (b − ε ≤ Yn ≤ b + ε) = P (Yn ≤ b + ε) − P (Yn ≤ b − ε)
% b − ε − a &n
=1− .
b−a
% b − ε − a &n b−ε−a
As n → ∞, → 0, since < 1. So, as n → ∞,
b−a b−a
# $
P |Yn − Y | ≤ ε → 1
or, equivalently, # $
P |Yn − Y | > ε → 0.
That is, Yn Converges to Y in probability.

4. First note that, for 1 ≤ i ≤ n,


) ∞
5
E(e ) =
Xi
ex · 5e−5x dx = ,
0 4
)
! " ∞
5
E (eXi )2 = E(e2Xi ) = e2x · 5e−5x dx = ,
0 3

5 25 5
Var(eXi ) = − = .
3 16 48
Chapter 11 Solutions to Self-Test Problems 9

Since n is large, by Remark 11.3, ∀t,


% Y − 5/4 t − 5/4 & % t − 5/4 &
P (Y ≤ t) = P * ≤* ≈Φ * .
5/48n 5/48n 5/48n
%5 5 &
Let W ∼ N , . Then
4 48n
% W − 5/4 t − 5/4 & % t − 5/4 &
P (W ≤ t) = P * ≤* =Φ * .
5/48n 5/48n 5/48n
%5 5 &
These show that Y is approximately N , .
4 48n
5. It follows that X 1 is the time between the natural disaster at t = 0 and the one after
that. For i ≥ 2, Xi is the natural disaster between the (i − 1)st disaster and the ith
disaster after t = 0. We are given that {X 1 , X2 , . . .} is a sequence of independent
random variables with a gamma distribution with parameters r = 3 and λ = 2. Since
X1 + X2 + · · · + Xn is the time of the nth disaster, the rate at which natural disasters
n
occur should be defined by lim n→∞ , which by the strong law
X1 + X2 + · · · + Xn
of large numbers is
n 1
lim = lim
n→∞ X1 + X2 + · · · + Xn n→∞ (X1 + X2 + · · · + Xn )/n

1 1 2
= = = .
E(Xi) 3/2 3

Note that the expected value of a gamma random variable with parameters r and λ is
r/λ.

6. Since, for any positive integer n,



' xi xn
ex = ≥ ,
i! n!
i=0

it follows that that, for any t > 0,

# Y$ + (teY )n , tn
MX (t) = E(etX ) = E ete ≥ E = E(enY ).
n! n!
% 1 &
By part (b) of Example 11.5, MY (t) = exp µt + σ 2 t2 . Therefore,
2
tn tn % 1 &
MX (t) ≥ MY (n) = exp nµ + σ 2 n2
n! n! 2

1 % 1 & 1 + % 1 &,
= exp(n ln t) exp nµ + σ 2 n2 = exp n ln t + µ + σ 2 n .
n! 2 n! 2
Chapter 11 Solutions to Self-Test Problems 10

Now, for any given t > 0, since t and µ are fixed, for sufficiently large n, it follows
1
that ln t + µ + σ 2 n > 0. Hence
4
1 1 1 1
ln t + µ + σ 2 n = ln t + µ + σ 2 n + σ 2 n ≥ σ 2 n,
2 4 4 4
and thus, as n → ∞,
1 + %1 &, 1 %1 &
MX (t) ≥ exp n σ 2 n = exp σ 2 n2 → ∞.
n! 4 n! 4
This shows that the moment generating function of X does not exist in any neighbor-
hood (−δ, δ), δ > 0, around 0.

7. (a) we have
%X + X + · · · + X &
1 2 m
Var(X̄) = Var
m
m
' 1 1 1
= 2
Var(Xi) = m · 2 · p(1 − p) = p(1 − p).
m m m
i=1

Let f (p) = p(1 − p) = p − p2 . Setting f $ (p) = 0, it follows that the maximum of


f (p) occurs at p = 1/2. So f (p) ≤ 1/4. Therefore,
1 1 1
Var(X̄) = p(1 − p) ≤ ≤ .
m 4m 8
(b) We have that (p + p + · · · + p (
( 1 2 n (
( − p( ≤ 0.05
n
with a probability of at least 0.96 if and only if
%( p + p + · · · + p ( &
( 1 2 n (
P ( − p( > 0.05 ≤ 0.04.
n
%p + p + · · · + p &
1 2 n
Let σ 2 = Var . Applying Theorem 11.9, Chebyshev’s Inequal-
n
ity, to the random variable (p 1 + p2 + · · · + pn )/n, it follows that
%( p + p + · · · + p ( & σ2
( 1 2 n (
P ( − p( > 0.05 ≤ = 400σ 2.
n (0.05)2

By part (a), Var(pi ) ≤ 1/8. So


%p + p + · · · + p & 1 1
1 2 n
σ 2 = Var = 2 · n · Var(pi ) ≤ .
n n 8n
So the desired inequality,
%( p + p + · · · + p ( &
( 1 2 n (
P ( − p( > 0.05 ≤ 0.04
n
Chapter 11 Solutions to Self-Test Problems 11

is satisfied if 400σ 2 ≤ 400/(8n) ≤ 0.04 or n ≥ 50/0.04 = 1250. That is, if the


sociologist takes 1250 samples independently from the population of California, then
the mean of the proportions of foreign-born residents of California in these samples
is within 0.05 of p with probability of at least 0.96.

(c) If the sizes of the n samples taken are all equal to 50, then by part (a), Var(p i) ≤
1 1 1
= . By part (b), we need to have 400σ 2 ≤ 0.04. Since σ 2 = Var(pi ) ≤
4(50) 200 n
1 1 2
, it suffices that 400 · ≤ 0.04 or n ≥ = 50.
200n 200n 0.04
8. Let X1, X2, . . . , Xn be independent Poisson random variables, each with parameter
1. By Theorem 11.5, X and X1 +X2 +· · ·+Xn are identically distributed. Therefore,
since n is large, by the central limit theorem,
P (X ≤ t) = P (X1 + X2 + · · · + Xn ≤ t)
%X + X + · · · + X − n · 1 t − n& %t − n&
1 2 n
=P √ ≤ √ ≈Φ √ .
1· n n n
Since for a random variable U , U ∼ N (n, n),
%U − n t − n& %t − n&
P (U ≤ t) = P √ ≤ √ =Φ √ ,
n n n
X is approximately N (n, n).

Let Y1 , Y2 , . . . , Yn be independent exponential random variables, each with mean


1/λ. Then Y and Y1 + Y2 + · · · + Yn are identically distributed. Therefore, since n
is large, by the central limit theorem,
P (Y ≤ t) = P (Y1 + Y2 + · · · + Yn ≤ t)

% Y + Y + · · · + Y − n · (1/λ) t − (n/λ) & % t − (n/λ) &


1 2 n
=P ≤ ≈Φ .
(1/λ)n n/λ n/λ
%n n &
Since for a random variable V , V ∼ N , ,
λ λ2
% V − (n/λ) t − (n/λ) & % t − (n/λ) &
P (V ≤ t) = P √ √ ≤ =Φ .
( n/λ) n n/λ n/λ
%n n &
Y is approximately N , .
λ λ2
Let W1 , W2 , . . . , Wn be independent Bernoulli random variables, each with parame-
ter p. Then W and W1 + W2 + · · · + Wn are identically distributed. Therefore, since
n is large, by the central limit theorem,
P (W ≤ t) = P (W1 + W2 + · · · + Wn ≤ t)
% W + W + · · · + W − np t − np & % t − np &
1
=P *2 √
n
≤* ≈Φ * .
p(1 − p) · n np(1 − p) np(1 − p)
Chapter 11 Solutions to Self-Test Problems 12

# $
Since for a random variable T , T ∼ N np, np(1 − p) ,
% T − np t − np & % t − np &
P (T ≤ t) = P * ≤* =Φ * ,
np(1 − p) np(1 − p np(1 − p)
# $
W is approximately N np, np(1 − p) .

9. Note that
1 t 3 2t 2 3t 1 4t 4 5t 1 6t
MX (t) = e + e + e + e + e + e .
12 12 12 12 12 12
Let Y be the sum of the outcomes when the die is tossed 8 times. Then, by Theorem
11.3,
%1 3 2t 2 3t 1 4t 4 5t 1 6t &8
MY (t) = et + e + e + e + e + e .
12 12 12 12 12 12
The coefficient of e11t in the expansion of M Y (t) is the probability that the sum of
the outcomes is 11. Note that the sum 11 is obtained if we obtain 7 ones
! and "a8four;
6 ones, a two, and a 3; or 5 ones and 3 twos. So, in the expansion of MX (t) , e11t
appears in exactly three terms. Using Theorem 2.6, the multinomial expansion, those
three terms are the terms of the following sums.

8! % 1 &7 % 3 &0 % 2 &0 % 1 &1 % 4 &0 % 1 &0


et e2t e3t e4t e5t e6t
7! 0! 0! 1! 0! 0! 12 12 12 12 12 12

8! % 1 &6 % 3 &1 % 2 &1 % 1 &0 % 4 &0 % 1 &0


+ et e2t e3t e4t e5t e6t
6! 1! 1! 0! 0! 0! 12 12 12 12 12 12

8! % 1 &5 % 3 &3 % 2 &0 % 1 &0 % 4 &0 % 1 &0


+ et e2t e3t e4t e5t e6t
5! 3! 0! 0! 0! 0! 12 12 12 12 12 12

8 11t 336 11t 1512 11t 1856 11t


= e + 8e + e = e ≈ 0.000004316 e11t.
128 12 128 128
Therefore, when an unbiased die with the given probability mass function is tossed 8
times, the probability of obtaining the sum 11 is 0.000004316.

10. Let X 1 be the time until the first earthquake. For i ≥ 2, let X i be the time between
the (i − 1)st and the ith earthquakes. The sequence {X 1 , X2, . . .} is an independent
sequence of exponential random variables each with parameter λ. Let N be the num-
ber of earthquakes until the one that the bridge cannot withstand; N is a geometric
random variable with parameter p. Thus

P (N = i) = (1 − p)i−1 p, i = 1, 2, . . . .
-
The lifetime of the bridge is L = Nk=1 Xk . To identify the distribution function of
Chapter 11 Solutions to Self-Test Problems 13

L, we now calculate its moment-generating function.


! "
ML (t) = E(etL) = E E(etL | N )

' ∞
' # Pi $
= E(e tL
| N = i)P (N = i) = E et k=1 Xk | N = i P (N = i)
i=1 i=1

' # Pi $
= E et k=1 Xk (1 − p)i−1 p.
i=1
# Pi $ ! "i # Pi $
Note that E et k=1 Xk = λ/(λ−t) since E et k=1 Xk is the moment-generating
function of gamma with parameters i and λ. Thus
∞ %
λ &i p ' % λ &i
' ∞
ML (t) = (1 − p) p =
i−1
(1 − p)i
λ−t 1−p λ−t
i=1 i=1

p ' + λ(1 − p) ,i

= .
1−p λ−t
i=1

λ(1 − p)
Restricting the domain of M L (t) to t < λp, we have that < 1 and hence,
λ−t
by the geometric series theorem,

λ(1 − p)
p λ−t λp
ML (t) = · = .
1−p λ(1 − p) λp − t
1−
λ−t
This shows that L, the lifetime of the bridge, is an exponential random variable with
parameter λp. For example, if the average time between two earthquakes is 6 months,
then, in years, 1/λ = 1/2, or λ = 2. If p = 1/200, then λp = 1/100, showing that
the lifetime of the bridge is, on average, 1/(λp) = 100 years.
SOLUTIONS TO SELF-QUIZZES AND SELF-TESTS

CHAPTER 12

FUNDAMENTALS
OF PROBABILITY
WITH STOCHASTIC PROCESSES

FOURTH EDITION

SAEED GHAHRAMANI
Western New England University
Springfield, Massachusetts, USA

A CHAPMAN & HALL BOOK


Chapter 12 Solutions to Self-Quiz Problems 2

SOLUTIONS TO SELF-QUIZ PROBLEMS

Section 12.2

! "
1. Call
! an event a “success”
" if it belongs to N1 (t) : t ≥ 0 , a failure if it belongs
to N2 (t) : t ≥ 0 . Thus, by Theorem 12.3, an event is a success with probability
λ/(λ + µ) and is a failure with probability µ/(λ + µ). Clearly, the nth success occurs
before the mth failure if and only if there are at least n successes in the first n+m−1
events occurred. So the desired probability is
n+m−1
#
P (exactly i successes in the first n + m − 1 events)
i=n

# $
n+m−1 %
n + m − 1 & λ 'i & µ 'n+m−1−i
= .
i λ+µ λ+µ
i=n

2. Solution 1: By Theorem 12.4, the problem is equivalent to the following: 8 points are
selected at random from the interval [0, 4]. What is the probability that exactly one
point falls in each of the intervals (0, 1/2), (1/2, 1), . . . , (7/2, 4)? This is equivalent
to placing 8 balls randomly into 8 cells. The probability that each cell is occupied is
8!/88 = 0.0024. Another way to solve this is using Multinomial distribution, which
gives

8! & 1 '1 & 1 '1 & 1 '1 & 1 '1 & 1 '1 & 1 '1 & 1 '1 & 1 '1 8!
= 8 ≈ 0.0024.
1! 1! 1! 1! 1! 1! 1! 1! 2 2 2 2 2 2 2 2 8

Solution 2: The desired probability is


& '
P N (1/2)−N (0) = 1, N (1)−N (1/2) = 1, . . ., N (4)−N (7/2) = 1 | N (4) = 8 .

By the independent increment property and stationarity of Poisson processes, this


probability equals
& '
P N (1/2) − N (0) = 1, N (1) − N (1/2) = 1, . . . , N (4) − N (7/2) = 1
( )
P N (4) = 8
, e−(1/2)λ[(1/2)λ]1 -8
* ( )+8
P N (1/2) − N (0) = 1 1! 8!
= ( ) = = 8 ≈ 0.0024.
P N (4) = 8 e (4λ)
−4λ 8 8
8!
Chapter 12 Solutions to Self-Quiz Problems 3

Section 12.3

1. Clearly, the Markov chain is irreducible, aperiodic, and recurrent. Since it is finite
state, it is also positive recurrent. Let π 1 , π2 , and π3 be the proportion of days Dr. Fish
devotes to reading, gardening, and writing, respectively. Then, by Theorem 12.7, π 1 ,
π2 , and π3 are obtained from solving the system of equations
    
π1 0.30 0.40 0.25 π1
π2  = 0.25 0.10 0.40 π2 
π3 0.45 0.50 0.35 π3

along with π 1 + π2 + π3 = 1. The preceding matrix equation gives the following


system of equations:

π1 = 0.30π1 + 0.40π2 + 0.25π3

π2 = 0.25π1 + 0.10π2 + 0.40π3


π3 = 0.45π1 + 0.50π2 + 0.35π3 .

By choosing any two of these equations along with the relation π 1 + π2 + π3 = 1,


we obtain a system of 3 equations in 3 unknowns. Solving that system yields π 1 =
0.306163, π2 = 0.272366, and π3 = 0.421471. Therefore, Dr. Charles Fish devotes
approximately 31% of the days to reading, 27% of the days to gardening, and 42% to
writing.

2. Let Y be the lifetime, in semesters, of a new computer installed in the lab. Then
6
Xn − 1 if Xn ≥ 1
Xn+1 =
Y −1 if Xn = 0

shows that {X n : n = 0, 1, . . .} is a Markov chain with transition probabilities

p0j = P (Xn+1 = j | Xn = 0) = P (Y = j + 1) = pj+1 , j ≥ 0,

and for i ≥ 1,
6
1 if j = i − 1
pij = P (Xn+1 = j | Xn = i) =
0 if j $= i − 1.

Therefore, the transition probability matrix for the Markov chain {X n : n = 0, 1, . . .}


is  
p1 p2 p3 . . .
 1 0 0 . . .
 
 
P =  0 1 0 . . . .
 0 0 1 . . .
 
..
.
Chapter 12 Solutions to Self-Quiz Problems 4

Section 12.4

! "
1. Let X(t) be the number of components working at time t. Clearly, X(t) : t ≥ 0
is a continuous-time Markov chain with state space {0, 1, 2}. Let π 0 , π1 , and π2 be
the long-run proportion
! of time the process
" is in states 0, 1, and 2, respectively. The
balance equations for X(t) : t ≥ 0 are as follows:

State Input rate to = Output rate from

0 λπ1 = µπ0
1 2λπ2 + µπ0 = µπ1 + λπ1
2 µπ1 = 2λπ2

µ µ2
From these equations, we obtain π 1 = π0 and π2 = 2 π0 . Using π 0 +π1 +π2 = 1
λ 2λ
yields
2λ2
π0 = 2 .
2λ + 2λµ + µ2
Hence the desired probability is

µ(2λ + µ)
1 − π0 = .
2λ2 + 2λµ + µ2

2. Let X(t) = 0 if the businessman is free, let X(t) =! 1 if he is negotiating,


" and let
X(t) = 2 if he is giving a sightseeing tour. Clearly, X(t) : t ≥ 0 is a continuous-
time Markov chain with state space {0, 1, 2}. Let π 0 , π1 , and π2 be the long-run
proportion of time the businessman! is free, negotiating,
" and giving a tour, respec-
tively. The balance equations for X(t) : t ≥ 0 are as follows:

State Input rate to = Output rate from

0 αµ1 π1 + µ2 π2 = λπ0
1 λπ0 = µ1 π1
2 (1 − α)µ1 π1 = µ2 π2

By these equations, π 1 = (λ/µ1 )π0 and π2 = (1 − α)(λ/µ2 )π0 . Substituting π 1 and


π2 in π0 + π1 + π2 = 1, we obtain
µ1 µ2
π0 = .
µ1 µ2 + λµ2 + λµ1 (1 − α)
Chapter 12 Solutions to Self-Quiz Problems 5

Section 12B of the Companion for Chapter 12

! "
1. By applying Theorem 12.9 to Y (t) : t ≥ 0 with t1 = 0, t2 = t, y1 = 0, y2 = y,
and t = s, it follows that
* + y−0 s
E Y (s) | Y (t) = y = 0 + (s − 0) = y,
t−0 t
and
* + (t − s)(s − 0) s
Var Y (s) | Y (t) = y = σ 2 · = σ 2 (t − s) .
t−0 t

2. Let the current price of the stock, per share, be v 0. Noting that 27.04 = 5.2, we
have
V (t) = v0 e3t+5.2W (t),
! "
where W (t) : t ≥ 0 is a standard Brownian motion. Hence W (t) ∼ N (0, t). The
desired probability is calculated as follows:
( ) ( )
P V (2) ≥ 2v0 = P v0 e6+5.2W (2) ≥ 2v0
( ) ( )
= P 6 + 5.2W (2) ≥ ln 2 = P W (2) ≥ −1.02
& W (2) − 0 '
=P √ ≥ −0.72
2
= P (Z ≥ −0.72) = 1 − P (Z < −0.72)
= 1 − Φ(−0.72) = 0.7642.

3. By Theorem 12.10,
9
( ) 2 x
P (U < x and T > y) = P no zeros in (x, y) = 1 − arccos .
π y
Chapter 12 Solutions to Self-Test Problems 6

SOLUTIONS TO SELF-TEST PROBLEMS

1. Let 
1 if the nth ball is drawn by Carmela

Xn = 2 if the nth ball is drawn by Daniela


3 if the nth ball is drawn by Lucrezia.
The process {Xn : n = 1, 2, . . .} is an irreducible, aperiodic, positive recurrent
Markov chain with transition probability matrix
 
7/31 11/31 13/31
P = 7/31 11/31 13/31 .
7/31 11/31 13/31
Let π1 , π2 , and π3 be the long-run proportion of balls drawn by Carmela, Daniela,
and Lucrezia, respectively. Intuitively, it should be clear that these quantities are
7/31, 11/31, and 13/31, respectively. However, that can be seen also by solving the
following matrix equation along with π 0 + π1 + π3 = 1.
    
π1 7/31 7/31 7/31 π1
π2  = 11/31 11/31 11/31 π2  .
π3 13/31 13/31 13/31 π3
! "
2. Let X(t) be the population size at time t. Then X(t) : t ≥ 0 is a birth and death
process with birth rates λ n = nλ, n ≥ 1, and death rates µn = nµ, n ≥ 0. For i ≥ 0,
let Hi be the time, starting from i, until the population size reaches i + 1 for the first
:
time. We are interested in 4i=1 E(Hi). Note that, by Lemma 12.2,
1 µi
E(Hi) = + E(Hi−1 ), i ≥ 1.
λi λi
Since E(H0) = 1/λ,
1 µ 1 1 µ
E(H1) = + · = + 2,
λ λ λ λ λ
1 2µ & 1 µ' 1 µ µ2
E(H2) = + · + 2 = + 2 + 3,
2λ 2λ λ λ 2λ λ λ
1 3µ & 1 µ µ2 ' 1 µ µ2 µ3
E(H3) = + + 2+ 3 = + 2+ + ,
3λ 3λ 2λ λ λ 3λ 2λ λ3 λ4
1 4µ & 1 µ µ2 µ3 ' 1 µ µ2 µ3 µ4
E(H4) = + + 2+ 3 + 4 = + + + + .
4λ 4λ 3λ 2λ λ λ 4λ 3λ2 2λ3 λ4 λ5
Therefore, the answer is
4
# 25λ4 + 34λ3µ + 30λ2 µ2 + 24λµ3 + 12µ4
E(Hi) = .
12λ5
i=1
Chapter 12 Solutions to Self-Test Problems 7

3. For n ≥ 0, let Hn be the time, starting from n, until the process enters state n + 1 for
the first time. Clearly, E(H0 ) = 1/λ and, by Lemma 12.2,
1
E(Hn) = + E(Hn−1 ), n ≥ 1.
λ
Hence
1
E(H0) =
,
λ
1 1 2
E(H1) = + = ,
λ λ λ
1 2 3
E(H2) = + = .
λ λ λ
Continuing this process, we obtain,
n+1
E(Hn) = , n ≥ 0.
λ
The desired quantity is
j−1
# j−1
# n+1 1* +
E(Hn) = = (i + 1) + (i + 2) + · · · + j
λ λ
n=i n=i

1* +
= (1 + 2 + · · · + j) − (1 + 2 + · · · + i)
λ
1 , j(j + 1) i(i + 1) - j(j + 1) − i(i + 1)
= − = .
λ 2 2 2λ
4. Let DN denote the state at which the last movie Mr. Gorfin watched was not a drama,
but the one before that was a drama. Define DD, N D, and N N similarly, and label
the states DD, DN , N D, and N N by 0, 1, 2, and 3, respectively. Let X n = 0 if
the nth and (n − 1)st movies Mr. Gorfin watched were both dramas. Define X n = 1,
2, and 3 similarly. Then {X n : n = 1, 2, . . .} is a Markov chain with state space
{0, 1, 2, 3} and transition probability matrix
 
7/8 1/8 0 0
 0 0 1/2 1/2
P = 1/2 1/2 0
.
0 
0 0 1/8 7/8

(a) If the first two movies Mr. Gorfin watched last weekend were dramas, the
probability that the fourth one is a drama is p 200 + p202 . Since
 
49/64 7/64 1/16 1/16
 1/4 1/4 1/16 7/16 
P2 =   7/16 1/16 1/4
,
1/4 
1/16 1/16 7/64 49/64
the desired probability is (49/64) + (1/16) = 53/64.
Chapter 12 Solutions to Self-Test Problems 8

(b) Let π0 denote the long-run probability that Mr. Gorfin watches two dramas in
a row. Define π1 , π2 , and π3 similarly. We have that,
    
π0 7/8 0 1/2 0 π0
π1  1/8 0 1/2 0  π1 
 =  
π2   0 1/2 0 1/8 π2  .
π3 0 1/2 0 7/8 π3

Solving this system along with π 0 + π1 + π2 + π3 = 1, we obtain π0 = 2/5,


π1 = 1/10, π2 = 1/10, and π3 = 2/5. Hence the probability that Mr. Gorfin
watches two dramas in a row is 2/5.

5. Every time a customer enters the bank for service, or a customer is served and departs
we say that an “event” occurs. Let us call an “event” a success if it is an arrival, and
a failure if it is a departure. Let S be the time until the next departure, and T be the
time until the next arrival. By memoryless property of exponential random variables,
S and T are independent exponential random variables with parameters µ and λ. The
next event is a departure with probability
; ∞ ; ∞
−µx
P (S < T ) = P (S < T | S = x)µe dx = P (x < T | S = x)µe−µx dx
0 0
; ∞ ; ∞
µ
= P (T > x)µe−µx dx = e−λx µe−µx dx = .
0 0 λ+µ

Thus the next event is an arrival with probability

µ λ
P (T < S) = 1 − = .
λ+µ λ+µ
Since arrivals and departures occur independently, “events,” as defined in this exam-
ple, are Bernoulli trials with probability of success λ/(λ + µ). Considering these
facts, N = i if and only if, in a successive performance of independent Bernoulli
trials with probability of success λ/(λ + µ), the ith success occurs on the (n + i)th
trial. Hence, by the formula for the probability mass function of negative binomial
random variables,
&
 µ 'n

 i=0
 λ+µ
P (N = i) = $ %


 n + i − 1 & λ 'i & µ 'n
 i ≥ 1.
i−1 λ+µ λ+µ

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy