

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to problem set #7 for the ece 313 course at the university of illinois during the spring 2003 semester. It covers various probabilities related to a sign with missing letters and a sequence of rolls in a game of craps.
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


of Illinois Page 1 of 3 Spring 2003
= 55 pairs of letters that might fall off.
The 55 pairs can be classified into the pair OO, 5 other pairs from the set {H, O, O, N}, 4×7 = 28 pairs consisting of one letter from {H, O, O, N} and one from {C, A, T, T, A, G, A}, 3 pairs AA and 1 pair TT, and 17 other pairs from {C, A, T, T, A, G, A}. If OO fell off, the sign will always read correctly. If one of 5 other pairs from {H, O, O, N} fell off, the letters will always look right side up, but will be interchanged with probability 1/2. For the 28 pairs consisting of one letter from {H, O, O, N} and one from {C, A, T, T, A, G, A}, the restored sign is correct with probability 1/4, incorrect but readable with probability 1/4, and one letter appears inverted with probability 1/2. For the AA and TT pairs, the sign is correct with probability 1/4, has one letter inverted with probability 1/2 and has both letters inverted with probability 1/4. The remaining 17 pairs are put back correctly with probability 1/8, interchanged but upright with probability 1/8, have one letter upside down with probability 1/2, and have both letters upside down with probability 1/4. This gives
≈ 25%. Not Bad!
Sanity check: The sum of the probabilities is (109+93+196+42)/440 = 1. (e) All letters seem to be right side up includes the case when the sign reads CHATTANOOGA! Now,
P(at least one vowel|all seem to be right side up) =
P(all seem to be right side up∩ at least one vowel) P(all seem to be right side up) We know from (a) and (b) that the denominator is (109+93)/440 = 101/220. Now, our list above can be further classified into 1 pair OO and 2 pairs each of the forms HO and NO (for these the letters always appear to be right side up), 14 of the form O and one from {CATTAGA} and 3 each of the form HA and NA (for these, the probability that the letters seem right side up is 1/2), 3 of the form AA, and 3 each of the form CA and GA, and 6 of the form TA (for these the probability that tbe letters seem to be right side up is 1/4). All other pairs {from the set CHTTNG} do not include a vowel. Check: P(at least one vowel) = 1 – P(no vowel) = 1 – [(6×5)/(1×2)]/55 = 40/ = (1 + 2 + 2 + 14 + 3 + 3 + 3 + 3 + 3 + 6)/55 so we got 'em all! From all this, we can readily compute P(all seem to be right side up ∩ at least one vowel) = [(1+2+2)×1 + (14 + 3 + 3)×1/2 + (3 + 3 + 3 + 6)×(1/4)]/55 = 75/220.
Hence, P(at least one vowel | all seem to be right side up) =
(f) The designated driver can correctly identify the letters that fell down if and only if the driver can see that two letters are obviously switched (possibly being turned upside down) or if two letters both appear to be upside down but in their correct places. Note that these are disjoint possibilities. For the various pairs of different types, we see that if OO fell down, the sign will still read CHATTANOOGA and the driver will not be able to identify with certainty which letters fell down.. If one of the 5 other pairs from {H, O, O, N} fell down, the driver can identify them if and only if they have been switched (probability 1/2); whether they have been flipped over doesn’t matter. For the 28 pairs consisting of one letter from {H, O, O, N} and one from {C, A, T, T, A, G, A}, the two letters must be swapped in order to be identifiable (probability 1/2), while for the 3 + 1 pairs AA and TT, both letters must be upside down to be identifiable with certainty. Finally, the remaining 17 other pairs from {C, A, T, T, A, G, A}, either both letters must be in the wrong place (probability 1/2) or they must be in the right place and both upside down (probability 1/8).
2. Let A 2 , A 3 ,... , A 12 denote the events that 2, 3, 4,... , 12 is rolled with two fair dice.
(a) P(winning on first roll) = P(A 7 ∪A 11 ) = P(A 7 ) + P(A 11 ) = 6/36 + 2/36 = 2/9.
P(losing on the first roll) = P(A 2 ∪A 3 ∪A 12 ) = 1/36 + 2/36 + 1/36 = 1/9.
of Illinois Page 2 of 3 Spring 2003
(b) P(shooter’s point is 4) = P(A 4 ) = 3/36 = 1/12 = P(A 10 ) = P(shooter’s point is 10).
P(shooter’s point is 5) = P(A 5 ) = 4/36 = 1/9 = P(A 9 ) = P(shooter’s point is 9). P(shooter’s point is 6) = P(A 6 ) = 5/36 = P(A 8 ) = P(shooter’s point is 8).
(c) For disjoint events A and B, P(event A occurs before B) = P(A)/(P(A) + P(B)). Hence, P(shooter makes point|shooter’s point is 4) = 3/(3+6) = 1/3 = P(shooter makes point|shooter’s point is 10) P(shooter makes point|shooter’s point is 5) = 4/(4+6) = 2/5 = P(shooter makes point|shooter’s point is 9) P(shooter makes point|shooter’s point is 6) = 5/(5+6) = 5/11 = P(shooter makes point|shooter’s point is 8)
i
P(making point|point is i)P(shooter’s point is i)
= (8/36) + 2×[(3/36)×(1/3) + (4/36)×(2/5) + (5/36)×(5/11)] = (8/36) + (2/36)×[1 + 8/5 + 25/11] = (8/36) + (2/36)×[55 + 88 + 125]/55 = (440 + 536)/(36×55) = 244/495 = 0.49292929… (e) P(making 8 the hard way) = P(rolling 4-4 before rolling 7 or rolling 8 the easy way) = (1/36)/(1/36 + (6/36 + 4/36)) = 1/11. Thus, in a long sequence of trials when the shooter’s point is 8, one-eleventh of the time you win $10 while ten-eleventh of the time you lose your $1. Thus, in the long run, you neither make nor lose money on the average, and the bet is perfectly fair.
3. Linguistic innocents are reminded that both Arabic and Hebrew are read from right to left. Number the links as shown. Let Vi denote the event that the i-th link is viable (i.e. working) and let A denote the event that it is possible to call from ORIAC to SUCSAMAD.
ORIAC
ZEUS
NAMMA
NONABEL
SUCSAMAD
VIVA LET
(a) If V
c 4 has occurred, i.e. the VIVA LET to NAMMA link has been severed, then, P(A|V
c 4 ) = P(V 1 V 2 V 5 V 7 ∪^ V 1 V 3 V 6 V 7 |V
c 4 ) = P(V 1 V 2 V 5 V 7 ∪^ V 1 V 3 V 6 V 7 ) by independence! = P(V 1 V 2 V 5 V 7 ) + P(V 1 V 3 V 6 V 7 ) – P(V 1 V 2 V 3 V 5 V 6 V 7 ) = 2(1 – p)^4 – (1 – p)^6 by independence! On the other hand, if V 4 has occurred, i.e the VIVA LET to NAMMA link is viable, then P(A|V 4 ) = P(V 1 (V 2 ∪ V 3 )(V 5 ∪ V 6 )V 7 |V 4 ) = P(V 1 (V 2 ∪ V 3 )(V 5 ∪ V 6 )V 7 ) by independence! = P(V 1 )×P(V 2 ∪ V 3 )×P(V 5 ∪ V 6 )×P(V 7 ) = (1 – p)^2 ×[(1 – p) + (1 – p) – (1 – p)^2 ]^2 = (1 – p)^2 (1 – p^2 )^2 = (1 – p)^4 (1 + p)^2 by repeated use of the independence of events. Hence, P(A) = p×[2(1 – p)^4 – (1 – p)^6 ] + (1 –p)×(1 – p)^4 (1 + p)^2 = (1 – p)^4 ×(1 + 2p + p^2 – 2p^3 )
(b) P(V
c 3 |A) = P(A∩^ V
c 3 )/P(A). But, P(A∩^ V
c 3 ) = P[V 1 V 2 (V 5 ∪^ V 4 V 6 )V 7 V
c 3 ) = {(1 – p)^2 ×[(1 – p) + (1 – p)^2 – (1–p)^3 ]×(1 – p)×p = (1 –p )^4 ×(1 + p – p^2 )×p. Hence,
P(V 3 |A) = 1 – P(V
c 3 |A) = 1 –^
(1–p)^4 ×(1 + p – p^2 )×p (1-p)^4 ×(1 + 2p + p^2 - 2p^3 )
(1 + p – p^3 ) 1 + 2 p + p 2 – 2p^3
(c) Clearly X is nonnegative, and cannot exceed 70. Also, X = 0 if either link #1 or link #7 has been severed
i.e. if V
c 1 ∪^ V
c 7 occurs. Thus, assume that V 1 V 7 has occurred. As in part(a), we can calculate the capacity given that V
c 4 has occurred and also given that V 4 has occurred. Thus, given that V 1 V
c 4 V 7 has occurred, the capacity from ORIAC to SUCSAMAD is 20 if only one of the paths from ZEUS to NONABEL is working, and 40 if both are working, etc.. These capacities are indicated on the two “Karnaugh” maps shown on the next page. V 1 V
c 4 V^7 occurred^ V 1 V 4 V 7 occurred V 2 V 5 → 00 01 11 10 V 2 V 3 → (^00 01 11 ) V 3 V 6 ↓ 00 0 0 20 0 V 5 V 6 ↓ 00 0 0 0 0 01 0 0 20 0 01 0 20 20 20 11 20 20 40 20 11 0 50 70 20 10 0 0 20 0 10 0 50 50 20 From this, we get P{ X = 70} = (1 – p)^7 { check: all links must work to get a capacity of 70}, P{ X = 50} = [(1 – p)^2 – (1 – p)^4 ](1 – p)^3 = (1 – p)^5 – (1 – p)^7 = (1 – p)^5 [2p – p^2 ] { check: links 1, 3, 4,