Probability and Stochastic Processes

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 ryates@winlab.rutgers.edu.

? 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 functions 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

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

2

Problem 1.2.1 Solution

(a) An outcome specifies whether the fax is high (h), medium (m), or low (l) speed, and whether the fax has two (t) pages or four ( f ) pages. The sample space is

S = {ht, h f, mt, m f, lt, l f } .

(1)

(b) The event that the fax is medium speed is A1 = {mt, m f }.

(c) The event that a fax has two pages is A2 = {ht, mt, lt}.

(d) The event that a fax is either high speed or low speed is A3 = {ht, h f, lt, l f }.

(e) Since A1 A2 = {mt} and is not empty, A1, A2, and A3 are not mutually exclusive.

(f) Since

A1 A2 A3 = {ht, h f, mt, m f, lt, l f } = S,

(2)

the collection A1, A2, A3 is collectively exhaustive.

Problem 1.2.2 Solution

(a) The sample space of the experiment is

S = {aaa, aa f, a f a, f aa, f f a, f a f, a f f, f f f } .

(1)

(b) The event that the circuit from Z fails is

Z F = {aa f, a f f, f a f, f f f } .

(2)

The event that the circuit from X is acceptable is

X A = {aaa, aa f, a f a, a f f } .

(3)

(c) Since Z F X A = {aa f, a f f } = , Z F and X A are not mutually exclusive.

(d) Since Z F X A = {aaa, aa f, a f a, a f f, f a f, f f f } = S, Z F and X A are not collectively exhaustive.

(e) The event that more than one circuit is acceptable is

C = {aaa, aa f, a f a, f aa} .

(4)

The event that at least two circuits fail is

D = { f f a, f af, af f, f f f } .

(5)

(f) Inspection shows that C D = so C and D are mutually exclusive. (g) Since C D = S, C and D are collectively exhaustive.

3

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

1/1 . . . 1/31, 2/1 . . . 2/29, 3/1 . . . 3/31, 4/1 . . . 4/30,

S

=

5/1 . . . 5/31, 6/1 . . . 6/30, 7/1 . . . 7/31, 8/1 . . . 8/31, 9/1 . . . 9/31, 10/1 . . . 10/31, 11/1 . . . 11/30, 12/1 . . . 12/31

.

(1)

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 A1 equal the set of engineering students and A2 the non-engineers. The pair { A1, A2} 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, {B1, B2, . . . , B5} is an event space. Note that B5 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 Ci denote the subset of students of age i in years. At most universities, {C10, C11, . . . , C100} would be an event space. Since a university may have prodigies either under 10 or over 100, we note that {C0, C1, . . .} is always an event space

4. Lastly, we can categorize students by attendance. Let D0 denote the number of students who have missed zero lectures and let D1 denote all other students. Although it is likely that D0 is an empty set, {D0, D1} is a well defined event space.

Problem 1.2.6 Solution

Let R1 and R2 denote the measured resistances. The pair (R1, R2) 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

A1 = {R1 < 100, R2 < 100} , A2 = {either R1 100 or R2 100} .

(1)

4

2. If we need to check whether the first resistance exceeds the second resistance, an event space

is

B1 = {R1 > R2} B2 = {R1 R2} .

(2)

3. If we need to check whether each resistance doesn't fall below a minimum value (in this case 50 ohms for R1 and 100 ohms for R2), an event space is

C1 = {R1 < 50, R2 < 100} , C3 = {R1 50, R2 < 100} ,

C2 = {R1 < 50, R2 100} ,

(3)

C4 = {R1 50, R2 100} .

(4)

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

D1 = (1/R1 + 1/R2)-1 < 90 ,

(5)

D2 = 90 (1/R1 + 1/R2)-1 110 ,

(6)

D2 = 110 < (1/R1 + 1/R2)-1 .

(7)

Problem 1.3.1 Solution

The sample space of the experiment is

S = {L F, BF, LW, 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, HW, M F, MW} .

(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 [MF] .

(2)

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download