

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!


Chapter 5 Problems
See your lecture notes.
(a) Pr{X > Y } = 0. (b) Pr{X ≥ Y } = f (2 , 2) = 1/ 16. (c) Pr{X + Y is odd} = f (1 , 2) + f (1 , 4) + f (2 , 3) = 1/ 2. (d) Pr{X − Y ≤ 1 } = 1 − Pr{X > Y + 1} = 1.
x,y
(x − y)^2 f (x , y).
Therefore, for all x 6 = y, f (x , y) must be zero. In particular,
Pr{X = Y } =
x
f (x , x) =
x,y
f (x , y) = 1.
Pr{correct transmission | symbol is zero} = p^2 + (1 − p)^2 = 1 − 2 p + 2p^2.
Similarly,
Pr{correct transmission | symbol is one} = 1 − 2 p + 2p^2.
Therefore, apply Bayes’s rule to discover that
Pr{correct transmission} = (1− 2 p+2p^2 )
+(1− 2 p+2p^2 )
= 1− 2 p+2p^2.
Define h(p) = 1 − 2 p + 2p^2 to find that h′(p) = −2 + 4p and h′′(p) = 4. Therefore, setting h′^ = 0 yields a minimum at p = 1/2, as desired. If we had three independent channels, then similar considerations yield
Pr{correct transmission} = p^3 + 3(1 − p)^2 p.
f (x , y) =
n(n − 1) if 1^ ≤^ x^6 =^ y^ ≤^ n, 0 otherwise.
Therefore, for all x = 1,... , n,
fX (x) =
∑^ n y= y 6 =x
f (x , y) =
n
For other values of x, fX (x) = 0. That is, X is distributed uniformly on { 1 ,... , n}. Similarly, Y is distributed uniformly on { 1 ,... , n}. Therefore,
∑^ n
k=
k n =^
n + 1
Also,
E(XY ) =
1 ≤i 6 =j≤n i 6 =j
ij n(n − 1) =^
1 ≤i,j≤n
ij n(n − 1) −^
1 ≤i=j≤n i=j
ij n(n − 1)
n(n − 1)
( (^) n ∑ i=
i
∑^ n j=
j
∑^ n i=
i^2
n(n − 1)
n(n + 1) 2
∑^ n i=
i^2
n(n − 1)
n^2
n + 1 2
∑^ n i=
i^2
n n − 1
n + 1 2
n(n − 1)
∑^ n
i=
i^2
n n − 1
n + 1 2
n(n − 1)
n(2n^2 + 3n + 1) 6
= n n − 1
n + 1 2
n − 1
2 n^2 + 3n + 1 6