Docsity

Probability Theory: Chapter 5 - Covariance and Independence, Assignments of Probability and Statistics

Toggle sidebar
bg1
Chapter 5 Problems
1. See your lecture notes.
2.
(a) Pr{X > Y }= 0.
(b) Pr{X≥Y}=f(2 ,2) = 1/16.
(c) Pr{X+Yis odd}=f(1 ,2) + f(1 ,4) + f(2 ,3) = 1/2.
(d) Pr{X−Y≤1}= 1 −Pr{X > Y + 1}= 1.
4. We know that
0 = E h(X−Y)2i=X
x,y
(x−y)2f(x , y).
Therefore, for all x6=y,f(x , y) must be zero. In particular,
Pr{X=Y}=X
x
f(x , x) = X
x,y
f(x , y) = 1.
8. First consider the case that the initial symbol is a zero. In order to transmit
it correctly, you either pass it through correctly both times, or transmit
it incorrectly at both channels. That is,
Pr{correct transmission |symbol is zero}=p2+ (1 −p)2= 1 −2p+ 2p2.
Similarly,
Pr{correct transmission |symbol is one}= 1 −2p+ 2p2.
Therefore, apply Bayes’s rule to discover that
Pr{correct transmission}= (1−2p+2p2)1
2+(1−2p+2p2)1
2= 1−2p+2p2.
Define h(p)=1−2p+ 2p2to find that h0(p) = −2 + 4pand h00(p) = 4.
Therefore, setting h0= 0 yields a minimum at p= 1/2, as desired.
If we had three independent channels, then similar considerations yield
Pr{correct transmission}=p3+ 3(1 −p)2p.
10. Let us first compute the joint mass function fof (X, Y ):
f(x , y) =
1
n(n−1) if 1 ≤x6=y≤n,
0 otherwise.
1
pf3

Partial preview of the text

Download Probability Theory: Chapter 5 - Covariance and Independence and more Assignments Probability and Statistics in PDF only on Docsity!

Chapter 5 Problems

  1. 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.

  1. We know that 0 = E

[

(X − Y )^2

]

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.

  1. First consider the case that the initial symbol is a zero. In order to transmit it correctly, you either pass it through correctly both times, or transmit it incorrectly at both channels. That is,

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.

  1. Let us first compute the joint mass function f of (X, Y ):

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,

EX = EY =

∑^ 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