Docsity

Probability & Stochastic Processes: Solutions for Electrical & Computer Engineers, Exercises of Computer Science

Toggle sidebar
bg1
Probability and Stochastic Processes
A Friendly Introduction for Electrical and Computer Engineers
SECOND EDITION
Problem Solutions
July 26, 2004 Draft
Roy D. Yates and David J. Goodman
July 26, 2004
•This solution manual remains under construction. The current count is that 575 out of 695
problems in the text are solved here, including all problems through Chapter 5.
•At the moment, we have not confirmed the correctness of every single solution. If you find
errors or have suggestions or comments, please send email to [email protected].
•MATLAB functions written as solutions to homework probalems can be found in the archive
matsoln.zip (available to instructors) or in the directory matsoln. Other MATLAB func-
tions used in the text or in these hoemwork solutions can be found in the archive matcode.zip
or directory matcode. The .m files in matcode are available for download from the Wiley
website. Two oter documents of interest are also available for download:
–A manual probmatlab.pdf describing the matcode .m functions is also available.
–The quiz solutions manual quizsol.pdf.
•A web-based solution set constructor for the second edition is also under construction.
•A major update of this solution manual will occur prior to September, 2004.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Probability & Stochastic Processes: Solutions for Electrical & Computer Engineers and more Exercises Computer Science in PDF only on Docsity!

Probability and Stochastic Processes

A Friendly Introduction for Electrical and Computer Engineers

SECOND EDITION

Problem Solutions

July 26, 2004 Draft

Roy D. Yates and David J. Goodman

July 26, 2004

  • This solution manual remains under construction. The current count is that 575 out of 695 problems in the text are solved here, including all problems through Chapter 5.
  • At the moment, we have not confirmed the correctness of every single solution. If you find errors or have suggestions or comments, please send email to [email protected].
  • M ATLAB functions written as solutions to homework probalems can be found in the archive matsoln.zip (available to instructors) or in the directory matsoln. Other M ATLAB func- tions used in the text or in these hoemwork solutions can be found in the archive matcode.zip or directory matcode. The .m files in matcode are available for download from the Wiley website. Two oter documents of interest are also available for download: - A manual probmatlab.pdf describing the matcode .m functions is also available. - The quiz solutions manual quizsol.pdf.
  • A web-based solution set constructor for the second edition is also under construction.
  • A major update of this solution manual will occur prior to September, 2004.

Problem Solutions – Chapter 1

Problem 1.1.1 Solution

Based on the Venn diagram

M O

T

the answers are fairly straightforward:

(a) Since T ∩ M = φ, T and M are not mutually exclusive.

(b) Every pizza is either Regular ( R ), or Tuscan ( T ). Hence R ∪ T = S so that R and T are collectively exhaustive. Thus its also (trivially) true that R ∪ T ∪ M = S. That is, R , T and M are also collectively exhaustive.

(c) From the Venn diagram, T and O are mutually exclusive. In words, this means that Tuscan pizzas never have onions or pizzas with onions are never Tuscan. As an aside, “Tuscan” is a fake pizza designation; one shouldn’t conclude that people from Tuscany actually dislike onions.

(d) From the Venn diagram, M ∩ T and O are mutually exclusive. Thus Gerlanda’s doesn’t make Tuscan pizza with mushrooms and onions.

(e) Yes. In terms of the Venn diagram, these pizzas are in the set ( T ∪ M ∪ O ) c.

Problem 1.1.2 Solution

Based on the Venn diagram,

M O

T

the complete Gerlandas pizza menu is

  • Regular without toppings
  • Regular with mushrooms
  • Regular with onions
  • Regular with mushrooms and onions
  • Tuscan without toppings
  • Tuscan with mushrooms

Problem 1.2.3 Solution

The sample space is

S = { A ♣,... , K ♣, A ♦,... , K ♦, A ♥,... , K ♥, A ♠,... , K ♠}. (1)

The event H is the set H = { A ♥,... , K ♥}. (2)

Problem 1.2.4 Solution

The sample space is

S =

The event H defined by the event of a July birthday is described by following 31 sample points.

H = { 7 / 1 , 7 / 2 ,... , 7 / 31 }. (2)

Problem 1.2.5 Solution

Of course, there are many answers to this problem. Here are four event spaces.

  1. We can divide students into engineers or non-engineers. Let A 1 equal the set of engineering students and A 2 the non-engineers. The pair { A 1 , A 2 } is an event space.
  2. We can also separate students by GPA. Let Bi denote the subset of students with GPAs G satisfying i − 1 ≤ G < i. At Rutgers, { B 1 , B 2 ,... , B 5 } is an event space. Note that B 5 is the set of all students with perfect 4.0 GPAs. Of course, other schools use different scales for GPA.
  3. We can also divide the students by age. Let C (^) i denote the subset of students of age i in years. At most universities, { C 10 , C 11 ,... , C 100 } would be an event space. Since a university may have prodigies either under 10 or over 100, we note that { C 0 , C 1 ,.. .} is always an event space
  4. Lastly, we can categorize students by attendance. Let D 0 denote the number of students who have missed zero lectures and let D 1 denote all other students. Although it is likely that D 0 is an empty set, { D 0 , D 1 } is a well defined event space.

Problem 1.2.6 Solution

Let R 1 and R 2 denote the measured resistances. The pair ( R 1 , R 2 ) is an outcome of the experiment. Some event spaces include

  1. If we need to check that neither resistance is too high, an event space is

A 1 = { R 1 < 100 , R 2 < 100 } , A 2 = {either R 1 ≥ 100 or R 2 ≥ 100 }. (1)

  1. If we need to check whether the first resistance exceeds the second resistance, an event space is B 1 = { R 1 > R 2 } B 2 = { R 1 ≤ R 2 }. (2)
  2. If we need to check whether each resistance doesn’t fall below a minimum value (in this case 50 ohms for R 1 and 100 ohms for R 2 ), an event space is

C 1 = { R 1 < 50 , R 2 < 100 } , C 2 = { R 1 < 50 , R 2 ≥ 100 } , (3) C 3 = { R 1 ≥ 50 , R 2 < 100 } , C 4 = { R 1 ≥ 50 , R 2 ≥ 100 }. (4)

  1. If we want to check whether the resistors in parallel are within an acceptable range of 90 to 110 ohms, an event space is

D 1 =

( 1 / R 1 + 1 / R 2 )−^1 < 90

D 2 =

90 ≤ ( 1 / R 1 + 1 / R 2 )−^1 ≤ 110

D 2 =

110 < ( 1 / R 1 + 1 / R 2 )−^1

Problem 1.3.1 Solution

The sample space of the experiment is

S = { L F , B F , L W , BW }. (1)

From the problem statement, we know that P [ L F ] = 0 .5, P [ B F ] = 0 .2 and P [ BW ] = 0 .2. This implies P [ L W ] = 1 − 0. 5 − 0. 2 − 0. 2 = 0 .1. The questions can be answered using Theorem 1.5.

(a) The probability that a program is slow is

P [ W ] = P [ L W ] + P [ BW ] = 0. 1 + 0. 2 = 0. 3. (2)

(b) The probability that a program is big is

P [ B ] = P [ B F ] + P [ BW ] = 0. 2 + 0. 2 = 0. 4. (3)

(c) The probability that a program is slow or big is

P [ W ∪ B ] = P [ W ] + P [ B ] − P [ BW ] = 0. 3 + 0. 4 − 0. 2 = 0. 5. (4)

Problem 1.3.2 Solution

A sample outcome indicates whether the cell phone is handheld ( H ) or mobile ( M ) and whether the speed is fast ( F ) or slow ( W ). The sample space is

S = { H F , H W , M F , M W }. (1)

The problem statement tells us that P [ H F ] = 0 .2, P [ M W ] = 0 .1 and P [ F ] = 0 .5. We can use these facts to find the probabilities of the other outcomes. In particular,

P [ F ] = P [ H F ] + P [ M F ]. (2)

Since each of the 11 possible outcomes is equally likely, the probability of receiving a grade of i , for each i = 0 , 1 ,... , 10 is P [ si ] = 1 /11. The probability that the student gets an A is the probability that she gets a score of 9 or higher. That is

P (^) [Grade of A] = P (^) [9] + P (^) [10] = 1 / 11 + 1 / 11 = 2 / 11. (2)

The probability of failing requires the student to get a grade less than 4.

P

[

Failing

]

= P [3] + P [2] + P [1] + P [0] = 1 / 11 + 1 / 11 + 1 / 11 + 1 / 11 = 4 / 11. (3)

Problem 1.4.1 Solution

From the table we look to add all the disjoint events that contain H 0 to express the probability that a caller makes no hand-offs as

P [ H 0 ] = P [ L H 0 ] + P [ B H 0 ] = 0. 1 + 0. 4 = 0. 5. (1)

In a similar fashion we can express the probability that a call is brief by

P [ B ] = P [ B H 0 ] + P [ B H 1 ] + P [ B H 2 ] = 0. 4 + 0. 1 + 0. 1 = 0. 6. (2)

The probability that a call is long or makes at least two hand-offs is

P [ L ∪ H 2 ] = P [ L H 0 ] + P [ L H 1 ] + P [ L H 2 ] + P [ B H 2 ] (3) = 0. 1 + 0. 1 + 0. 2 + 0. 1 = 0. 5. (4)

Problem 1.4.2 Solution

(a) From the given probability distribution of billed minutes, M , the probability that a call is billed for more than 3 minutes is

P [ L ] = 1 − P [3 or fewer billed minutes] (1) = 1 − P [ B 1 ] − P [ B 2 ] − P [ B 3 ] (2) = 1 − α − α( 1 − α) − α( 1 − α)^2 (3) = ( 1 − α)^3 = 0. 57. (4)

(b) The probability that a call will billed for 9 minutes or less is

P [9 minutes or less] =

∑^9

i = 1

α( 1 − α) i −^1 = 1 − ( 0. 57 )^3. (5)

Problem 1.4.3 Solution

The first generation consists of two plants each with genotype yg or gy. They are crossed to produce the following second generation genotypes, S = { yy , yg , gy , gg }. Each genotype is just as likely as any other so the probability of each genotype is consequently 1/4. A pea plant has yellow seeds if it possesses at least one dominant y gene. The set of pea plants with yellow seeds is

Y = { yy , yg , gy }. (1)

So the probability of a pea plant with yellow seeds is

P [ Y ] = P [ yy ] + P [ yg ] + P [ gy ] = 3 / 4. (2)

Problem 1.4.4 Solution

Each statement is a consequence of part 4 of Theorem 1.4.

(a) Since A ⊂ A ∪ B , P [ A ] ≤ P [ A ∪ B ]. (b) Since B ⊂ A ∪ B , P [ B ] ≤ P [ A ∪ B ]. (c) Since A ∩ B ⊂ A , P [ A ∩ B ] ≤ P [ A ]. (d) Since A ∩ B ⊂ B , P [ A ∩ B ] ≤ P [ B ].

Problem 1.4.5 Solution

Specifically, we will use Theorem 1.7(c) which states that for any events A and B ,

P (^) [ A ∪ B ] = P (^) [ A ] + P (^) [ B ] − P (^) [ A ∩ B ]. (1)

To prove the union bound by induction, we first prove the theorem for the case of n = 2 events. In this case, by Theorem 1.7(c),

P [ A 1 ∪ A 2 ] = P [ A 1 ] + P [ A 2 ] − P [ A 1 ∩ A 2 ]. (2)

By the first axiom of probability, P [ A 1 ∩ A 2 ] ≥ 0. Thus,

P [ A 1 ∪ A 2 ] ≤ P [ A 1 ] + P [ A 2 ]. (3)

which proves the union bound for the case n = 2. Now we make our induction hypothesis that the union-bound holds for any collection of n − 1 subsets. In this case, given subsets A 1 ,... , A (^) n , we define A = A 1 ∪ A 2 ∪ · · · ∪ A (^) n − 1 , B = A (^) n. (4)

By our induction hypothesis,

P [ A ] = P [ A 1 ∪ A 2 ∪ · · · ∪ A (^) n − 1 ] ≤ P [ A 1 ] + · · · + P [ A (^) n − 1 ]. (5)

This permits us to write

P [ A 1 ∪ · · · ∪ A (^) n ] = P [ A ∪ B ] (6) ≤ P [ A ] + P [ B ] (by the union bound for n = 2) (7) = P [ A 1 ∪ · · · ∪ A (^) n − 1 ] + P [ A (^) n ] (8) ≤ P [ A 1 ] + · · · P [ A (^) n − 1 ] + P [ A (^) n ] (9)

which completes the inductive proof.

Problem 1.4.7 Solution

It is tempting to use the following proof:

Since S and φ are mutually exclusive, and since S = S ∪ φ,

1 = P (^) [ S ∪ φ] = P (^) [ S ] + P (^) [φ]. (1)

Since P [ S ] = 1, we must have P [φ] = 0.

The above “proof” used the property that for mutually exclusive sets A 1 and A 2 ,

P [ A 1 ∪ A 2 ] = P [ A 1 ] + P [ A 2 ]. (2)

The problem is that this property is a consequence of the three axioms, and thus must be proven. For a proof that uses just the three axioms, let A 1 be an arbitrary set and for n = 2 , 3 ,.. ., let A (^) n = φ. Since A 1 = ∪ ∞ i = 1 A (^) i , we can use Axiom 3 to write

P [ A 1 ] = P

[

∪ ∞ i = 1 A (^) i

]

= P [ A 1 ] + P [ A 2 ] +

i = 3

P [ A (^) i ]. (3)

By subtracting P [ A 1 ] from both sides, the fact that A 2 = φ permits us to write

P [φ] +

n = 3

P [ A (^) i ] = 0. (4)

By Axiom 1, P [ A (^) i ] ≥ 0 for all i. Thus,

n = 3 P [ A^ i^ ] ≥^ 0. This implies^ P [φ] ≤^ 0. Since Axiom 1 requires P [φ] ≥ 0, we must have P [φ] = 0.

Problem 1.4.8 Solution

Following the hint, we define the set of events { A (^) i | i = 1 , 2 ,.. .} such that i = 1 ,... , m , A (^) i = Bi and for i > m , A (^) i = φ. By construction, ∪ mi = 1 Bi = ∪ ∞ i = 1 A (^) i. Axiom 3 then implies

P

[

∪ mi = 1 Bi

]

= P

[

∪ ∞ i = 1 A (^) i

]

i = 1

P [ A (^) i ]. (1)

For i > m , P [ A (^) i ] = 0, yielding

P

[

∪ mi = 1 Bi

]

∑^ m

i = 1

P [ A (^) i ] =

∑^ m

i = 1

P [ Bi ]. (2)

Problem 1.4.9 Solution

Each claim in Theorem 1.7 requires a proof from which we can check which axioms are used. However, the problem is somewhat hard because there may still be a simpler proof that uses fewer axioms. Still, the proof of each part will need Theorem 1.4 which we now prove.

For the mutually exclusive events B 1 ,... , Bm , let A (^) i = Bi for i = 1 ,... , m and let A (^) i = φ for i > m. In that case, by Axiom 3,

P [ B 1 ∪ B 2 ∪ · · · ∪ Bm ] = P [ A 1 ∪ A 2 ∪ · · ·] (1)

=

m ∑− 1

i = 1

P [ A (^) i ] +

i = m

P [ A (^) i ] (2)

m ∑− 1

i = 1

P [ Bi ] +

i = m

P [ A (^) i ]. (3)

Now, we use Axiom 3 again on A (^) m , A (^) m + 1 ,... to write

∑^ ∞

i = m

P [ A (^) i ] = P [ A (^) m ∪ A (^) m + 1 ∪ · · ·] = P [ Bm ]. (4)

Thus, we have used just Axiom 3 to prove Theorem 1.4:

P [ B 1 ∪ B 2 ∪ · · · ∪ Bm ] =

∑^ m

i = 1

P [ Bi ]. (5)

(a) To show P [φ] = 0, let B 1 = S and let B 2 = φ. Thus by Theorem 1.4,

P [ S ] = P [ B 1 ∪ B 2 ] = P [ B 1 ] + P [ B 2 ] = P [ S ] + P [φ]. (6)

Thus, P [φ] = 0. Note that this proof uses only Theorem 1.4 which uses only Axiom 3.

(b) Using Theorem 1.4 with B 1 = A and B 2 = A c , we have

P [ S ] = P

[

A ∪ A c

]

= P [ A ] + P

[

A c

]

Since, Axiom 2 says P [ S ] = 1, P [ A c ] = 1 − P [ A ]. This proof uses Axioms 2 and 3.

(c) By Theorem 1.2, we can write both A and B as unions of disjoint events:

A = ( AB ) ∪ ( AB c ) B = ( AB ) ∪ ( A c^ B ). (8)

Now we apply Theorem 1.4 to write

P [ A ] = P [ AB ] + P

[

AB c

]

, P [ B ] = P [ AB ] + P

[

A c^ B

]

We can rewrite these facts as

P [ AB c ] = P [ A ] − P [ AB ], P [ A c^ B ] = P [ B ] − P [ AB ]. (10)

Note that so far we have used only Axiom 3. Finally, we observe that A ∪ B can be written as the union of mutually exclusive events

A ∪ B = ( AB ) ∪ ( AB c ) ∪ ( A c^ B ). (11)

(b) The conditional probability that 6 is rolled given that the roll is greater than 3 is

P [ R 6 | G 3 ] =

P [ R 6 G 3 ]

P [ G 3 ]

P [ s 6 ] P [ s 4 , s 5 , s 6 ]

(c) The event E that the roll is even is E = { s 2 , s 4 , s 6 } and has probability 3/6. The joint probability of G 3 and E is P [ G 3 E ] = P [ s 4 , s 6 ] = 1 / 3. (3) The conditional probabilities of G 3 given E is

P [ G 3 | E ] =

P [ G 3 E ]

P [ E ]

(d) The conditional probability that the roll is even given that it’s greater than 3 is

P [ E | G 3 ] =

P [ E G 3 ]

P [ G 3 ]

Problem 1.5.3 Solution

Since the 2 of clubs is an even numbered card, C 2 ⊂ E so that P [ C 2 E ] = P [ C 2 ] = 1 /3. Since P [ E ] = 2 /3, P (^) [ C 2 | E ] =

P [ C 2 E ]

P [ E ]

The probability that an even numbered card is picked given that the 2 is picked is

P [ E | C 2 ] =

P [ C 2 E ]

P [ C 2 ]

Problem 1.5.4 Solution

Define D as the event that a pea plant has two dominant y genes. To find the conditional probability of D given the event Y , corresponding to a plant having yellow seeds, we look to evaluate

P [ D | Y ] =

P [ DY ]

P [ Y ]

Note that P [ DY ] is just the probability of the genotype yy. From Problem 1.4.3, we found that with respect to the color of the peas, the genotypes yy , yg , gy , and gg were all equally likely. This implies P [ DY ] = P [ yy ] = 1 / 4 P [ Y ] = P [ yy , gy , yg ] = 3 / 4. (2)

Thus, the conditional probability can be expressed as

P [ D | Y ] =

P [ DY ]

P [ Y ]

Problem 1.5.5 Solution

The sample outcomes can be written i jk where the first card drawn is i , the second is j and the third is k. The sample space is S = { 234 , 243 , 324 , 342 , 423 , 432 }^. (1)

and each of the six outcomes has probability 1/6. The events E 1 , E 2 , E 3 , O 1 , O 2 , O 3 are

E 1 = { 234 , 243 , 423 , 432 } , O 1 = { 324 , 342 } , (2) E 2 = { 243 , 324 , 342 , 423 } , O 2 = { 234 , 432 } , (3) E 3 = { 234 , 324 , 342 , 432 } , O 3 = { 243 , 423 }. (4) (a) The conditional probability the second card is even given that the first card is even is

P [ E 2 | E 1 ] =

P [ E 2 E 1 ]

P [ E 1 ]

P [243, 423]

P [234, 243 , 423 , 432]

(b) The conditional probability the first card is even given that the second card is even is

P [ E 1 | E 2 ] =

P [ E 1 E 2 ]

P [ E 2 ]

P [243, 423]

P [243, 324 , 342 , 423]

(c) The probability the first two cards are even given the third card is even is

P [ E 1 E 2 | E 3 ] =

P [ E 1 E 2 E 3 ]

P [ E 3 ]

(d) The conditional probabilities the second card is even given that the first card is odd is

P [ E 2 | O 1 ] =

P [ O 1 E 2 ]

P [ O 1 ]

P [ O 1 ]

P [ O 1 ]

(e) The conditional probability the second card is odd given that the first card is odd is

P [ O 2 | O 1 ] =

P [ O 1 O 2 ]

P [ O 1 ]

Problem 1.5.6 Solution

The problem statement yields the obvious facts that P [ L ] = 0 .16 and P [ H ] = 0 .10. The words “10% of the ticks that had either Lyme disease or HGE carried both diseases” can be written as

P [ L H | L ∪ H ] = 0. 10. (1) (a) Since L H ⊂ L ∪ H ,

P [ L H | L ∪ H ] =

P [ L H ∩ ( L ∪ H )]

P [ L ∪ H ]

P [ L H ]

P [ L ∪ H ]

Thus, P [ L H ] = 0. 10 P [ L ∪ H ] = 0. 10 ( P [ L ] + P [ H ] − P [ L H ]). (3) Since P [ L ] = 0 .16 and P [ H ] = 0 .10,

P [ L H ] =

(c) Since C and D are independent, P [ C ∩ D ] = P [ C ] P [ D ] = 15 / 64. (3) The next few items are a little trickier. From Venn diagrams, we see

P

[

C ∩ D c

]

= P [ C ] − P [ C ∩ D ] = 5 / 8 − 15 / 64 = 25 / 64. (4)

It follows that P

[

C ∪ D c

]

= P [ C ] + P

[

D c

]

− P

[

C ∩ D c

]

Using DeMorgan’s law, we have P

[

C c^ ∩ D c

]

= P

[

( C ∪ D ) c

]

= 1 − P [ C ∪ D ] = 15 / 64. (7)

(d) Since P [ C c^ D c ] = P [ C c ] P [ D c ], C c^ and D c^ are independent.

Problem 1.6.4 Solution

(a) Since A ∩ B = ∅, P [ A ∩ B ] = 0. To find P [ B ], we can write

P [ A ∪ B ] = P [ A ] + P [ B ] − P [ A ∩ B ] (1) 5 / 8 = 3 / 8 + P [ B ] − 0. (2)

Thus, P [ B ] = 1 /4. Since A is a subset of B c , P [ A ∩ B c ] = P [ A ] = 3 /8. Furthermore, since A is a subset of B c , P [ A ∪ B c ] = P [ B c ] = 3 /4. (b) The events A and B are dependent because

P [ AB ] = 0 = 3 / 32 = P [ A ] P [ B ]. (3)

(c) Since C and D are independent P [ C D ] = P [ C ] P [ D ]. So

P [ D ] =

P [ C D ]

P [ C ]

In addition, P [ C ∩ D c ] = P [ C ] − P [ C ∩ D ] = 1 / 2 − 1 / 3 = 1 /6. To find P [ C c^ ∩ D c ], we first observe that P [ C ∪ D ] = P [ C ] + P [ D ] − P [ C ∩ D ] = 1 / 2 + 2 / 3 − 1 / 3 = 5 / 6. (5) By De Morgan’s Law, C c^ ∩ D c^ = ( C ∪ D ) c. This implies

P

[

C c^ ∩ D c

]

= P

[

( C ∪ D ) c

]

= 1 − P [ C ∪ D ] = 1 / 6. (6)

Note that a second way to find P [ C c^ ∩ D c ] is to use the fact that if C and D are independent, then C c^ and D c^ are independent. Thus

P

[

C c^ ∩ D c

]

= P

[

C c

]

P

[

D c

]

= ( 1 − P [ C ])( 1 − P [ D ]) = 1 / 6. (7)

Finally, since C and D are independent events, P [ C | D ] = P [ C ] = 1 /2.

(d) Note that we found P [ C ∪ D ] = 5 /6. We can also use the earlier results to show

P

[

C ∪ D c

]

= P [ C ] + P [ D ] − P

[

C ∩ D c

]

(e) By Definition 1.7, events C and D c^ are independent because

P

[

C ∩ D c

]

= 1 / 6 = ( 1 / 2 )( 1 / 3 ) = P [ C ] P

[

D c

]

Problem 1.6.5 Solution

For a sample space S = { 1 , 2 , 3 , 4 } with equiprobable outcomes, consider the events

A 1 = {^1 ,^2 }^ A 2 = {^2 ,^3 }^ A 3 = {^3 ,^1 }^.^ (1)

Each event A (^) i has probability 1/2. Moreover, each pair of events is independent since

P [ A 1 A 2 ] = P [ A 2 A 3 ] = P [ A 3 A 1 ] = 1 / 4. (2)

However, the three events A 1 , A 2 , A 3 are not independent since

P [ A 1 A 2 A 3 ] = 0 = P [ A 1 ] P [ A 2 ] P [ A 3 ]. (3)

Problem 1.6.6 Solution

There are 16 distinct equally likely outcomes for the second generation of pea plants based on a first generation of { r w yg , r w gy , w r yg , w rgy }. They are listed below

rr yy rr yg rrgy rrgg r w yy r w yg r w gy r w gg w r yy w r yg w rgy w rgg ww yy ww yg ww gy ww gg

A plant has yellow seeds, that is event Y occurs, if a plant has at least one dominant y gene. Except for the four outcomes with a pair of recessive g genes, the remaining 12 outcomes have yellow seeds. From the above, we see that

P [ Y ] = 12 / 16 = 3 / 4 (2)

and P [ R ] = 12 / 16 = 3 / 4. (3) To find the conditional probabilities P [ R | Y ] and P [ Y | R ], we first must find P [ RY ]. Note that RY , the event that a plant has rounded yellow seeds, is the set of outcomes

RY = { rr yy , rr yg , rrgy , r w yy , r w yg , r w gy , w r yy , w r yg , w rgy }. (4)

Since P [ RY ] = 9 /16,

P (^) [ Y | R (^) ] =

P [ RY ]

P [ R ]

Problem 1.6.9 Solution

A AB B

AC C BC

In the Venn diagram at right, assume the sample space has area 1 cor- responding to probability 1. As drawn, A , B , and C each have area 1/ 3 and thus probability 1/3. The three way intersection ABC has zero probability, implying A , B , and C are not mutually independent since

P [ ABC ] = 0 = P [ A ] P [ B ] P [ C ]. (1)

However, AB , BC , and AC each has area 1/9. As a result, each pair of events is independent since

P [ AB ] = P [ A ] P [ B ] , P [ BC ] = P [ B ] P [ C ] , P [ AC ] = P [ A ] P [ C ]. (2)

Problem 1.7.1 Solution

A sequential sample space for this experiment is



1 / (^4)  H 1  3 / 4 ^ T 1



1 / (^4)  H 2 3 / 4^ T^2

^1 /^4^ H 2 3 / 4 ^ T 2

  • H 1 H 2 1 / 16
  • H 1 T 2 3 / 16
  • T 1 H 2 3 / 16
  • T 1 T 2 9 / 16

(a) From the tree, we observe

P [ H 2 ] = P [ H 1 H 2 ] + P [ T 1 H 2 ] = 1 / 4. (1)

This implies P [ H 1 | H 2 ] =

P [ H 1 H 2 ]

P [ H 2 ]

(b) The probability that the first flip is heads and the second flip is tails is P [ H 1 T 2 ] = 3 /16.

Problem 1.7.2 Solution

The tree with adjusted probabilities is





1 / (^2)  G^1

   (^) R 1 / (^21)



3 / (^4)  G 2  1 / 4 ^ R 2



1 / (^4)  G 2  3 / 4 ^ R 2

  • G 1 G 2 3 / 8
  • G 1 R 2 1 / 8
  • R 1 G 2 1 / 8
  • R 1 R 2 3 / 8

From the tree, the probability the second light is green is

P [ G 2 ] = P [ G 1 G 2 ] + P [ R 1 G 2 ] = 3 / 8 + 1 / 8 = 1 / 2. (1)

The conditional probability that the first light was green given the second light was green is

P [ G 1 | G 2 ] =

P [ G 1 G 2 ]

P [ G 2 ]

P [ G 2 | G 1 ] P [ G 1 ]

P [ G 2 ]

Problem 1.7.3 Solution

Let G (^) i and Bi denote events indicating whether free throw i was good ( G (^) i ) or bad ( Bi ). The tree for the free throw experiment is





^ 1 / 2 G^1

   (^) B 1 / (^21)



3 / (^4)  G 2  1 / 4 ^ B 2



1 / (^4)  G 2  3 / 4 ^ B 2

  • G 1 G 2 3 / 8
  • G 1 B 2 1 / 8
  • B 1 G 2 1 / 8
  • B 1 B 2 3 / 8

The game goes into overtime if exactly one free throw is made. This event has probability

P [ O ] = P [ G 1 B 2 ] + P [ B 1 G 2 ] = 1 / 8 + 1 / 8 = 1 / 4. (1)

Problem 1.7.4 Solution

The tree for this experiment is



1 / (^2)  A  1 / 2 ^ B



1 / (^4)  H 3 / 4^ T

^3 /^4 H 1 / 4 ^ T

  • AH 1 / 8
  • AT 3 / 8
  • B H 3 / 8
  • BT 1 / 8

The probability that you guess correctly is

P [ C ] = P [ AT ] + P [ B H ] = 3 / 8 + 3 / 8 = 3 / 4. (1)