

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Spring 2007 ECE 413: Problem Set 5 solutions
an+1 = P (Gn{Xn+1 = 1}c) + P (Gcn{Xn+1 = 1}) = an(1 − p) + (1 − an)p
or an+1 = p + (1 − 2 p)an. (c) The recursion in part (b) is a standard first order linear update equation, and the solution can be found in many ways. (One could even guess the solution and check it by induction on n.) Here is one way to find the solution. The recursion can be rewritten as an+1 − 12 = (1 − 2 p)(an − 12 ).
Along with the inital condition a 0 − 12 = 12 , we find that an − 12 = (1−^2 p)
n 2 , or that^ an^ =^
1+(1− 2 p)n
Ternary channel (a) P (sj received) =
i=1 P^ (sj^ received^ |^ si^ sent)^ ·^ P^ (si^ sent).^ Since^ P^ (si^ sent) = 1/3 for all^ i, the required probabilities above are found to be
s 1 s 2 s 3 P (sj received) 0. 29 0. 36 0. 35
Now, we compute P (si sent | sj received). For example, P (s 1 sent | s 1 received) = P^ (s^1 received P (s 1 | sreceived)^1 sent)·P (s^1 sent)=
Receive, j s 1 s 2 s 3 s 1 0. 920 0. 093 0. 095 Send, i s 2 0. 057 0. 8333 0. 048 s 3 0. 023 0. 074 0. 857
Therefore, P (R 2 |R 1 ) = P^ P(R (R^1 R 1 )^2 )= 187. (Note: we have essentially used Bayes’ formula.)
(c) We need to find P (E 3 |R 1 R 2 R 3 ). Now P (E 3 R 1 R 2 R 3 ) = P (E 3 )P (R 1 R 2 R 3 |E 3 ) = 13 ( 36 )^3 = 241 , and P (R 1 R 2 R 3 ) = P (R 1 R 2 R 3 |E 1 )P (E 1 ) + P (R 1 R 2 R 3 |E 2 )P (E 2 ) + P (R 1 R 2 R 3 |E 3 )P (E 3 ) = ( 16 )3 1 3 +
Therefore, P (E 3 |R 1 R 2 R 3 ) = P^ P(E (R^3 R 1 R^1 R 2 R^2 R 3 )^3 )= 1824 = 34. Note: we have essentially used Bayes formula.
(b) Now P (F 2 |G 1 ) = P P^ (F (G^2 G 1 )^1 ). By the law of total probability with the partition consisting of events E 1 , E 2 , E 3 , and E 4 ,
P (G 1 ) = P (G 1 |E 1 )0.4 + P (G 1 |E 2 )0.3 + P (G 1 |E 3 )0.2 + P (G 1 |E 4 )0. 1 = (0.1)(0.4) + (1)(0.3) + (1)(0.2) + (1)(0.1) = 0. 64.
and
P (F 2 G 1 ) = P (F 2 G 1 |E 1 )0.4 + P (F 2 G 1 |E 2 )0.3 + P (F 2 G 1 |E 3 )0.2 + P (F 2 G 1 |E 4 )0. 1 = (0)(0.4) + (0.9)(0.3) + (0)(0.2) + (0)(0.1) = 0. 27.
Thus, P (F 2 |G 1 ) = 00 ..^2764 ≈ 0. 429
(c) We are seeking P (F 4 |G 3 ) = P P^ (F (G^4 G 3 )^3 ), where
P (G 3 ) = P (G 3 |E 1 )0.4 + P (G 3 |E 2 )0.3 + P (G 3 |E 3 )0.2 + P (G 3 |E 4 )0. 1 = (0.1)(0.4) + (0.1)(0.3) + (0.1)(0.2) + (1)(0.1) = 0. 19.
and
P (F 4 G 3 ) = P (F 4 G 3 |E 1 )0.4 + P (F 4 G 3 |E 2 )0.3 + P (F 4 G 3 |E 3 )0.2 + P (F 4 G 3 |E 4 )0. 1 = (0)(0.4) + (0)(0.3) + (0)(0.2) + (0.9)(0.1) = 0. 09.
Thus, P (F 4 |G 3 ) = 00 ..^0919 ≈ 0. 474.
(d) We are seeking P (F 8 |G 7 ) = P^ P(F (^8 GG 7 )^7 ), where
P (G 7 ) = P (G 7 |E 1 )0.4 + P (G 7 |E 2 )0.3 + P (G 7 |E 3 )0.2 + P (G 7 |E 4 )0. 1 = (0.01)(0.4) + (0.01)(0.3) + (0.01)(0.2) + (0.1)(0.1) = 0. 019.
and
P (F 8 G 7 ) = P (F 8 G 7 |E 1 )0.4 + P (F 8 G 7 |E 2 )0.3 + P (F 8 G 7 |E 3 )0.2 + P (F 8 G 7 |E 4 )0. 1 = (0)(0.4) + (0)(0.3) + (0)(0.2) + (0.09)(0.1) = 0. 009.
Thus, P (F 8 |G 7 ) = 00 ..^009019 ≈ 0. 474. Note: an explanation for why the answer to (d) is the same as the answer to (c) is that if the MS is not found after the first round of four pages, the conditional distribution of which cell the MS is located in is the same as the original distribution.