Docsity

Assignment 2 Solutions - Information Theory | ECE 6605, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
Solutions to Homework # 2
ECE 6605 Information Theory 9/15/03
Prof. Steven W McLaughlin
1. a) From the data processing theorem we know I
X;Z

I
X;Y
then
I
X;Z

I
X;Y

H
Y

H
Y
X
H
Y
since H
Y
X

0
log2k
b) If k
1 then log21
0; therefore I
X;Z

0, but since I
X;Z

0 then I
X;Z

0. Which
confirms that no dependence can survive the bottleneck
2. We are given Xand can form Rfrom it, therefore Ris a function of X. Then from problem 4 in
HW. 1 we get H
R

H
X
.
If we are given Rand Xn(or any Xifor that matter), then we can fully specify X, this tells us that
H
X

H
Xn
R
. Expanding this we get
H
X

H
Xn
R
H
R

H
Xn
R
H
R

H
Xn
since conditioning reduces entropy
H
R

1
From the two results above we notice H
R

H
X

H
R

1.
3. First notice that for k
n
1 because of the independence of the Xi’s we get that
I
Xk
1;Xk
X1
X2

Xk
2

0, we can gain no information about Xk
1from knowing
Xk
X1
X2

Xk
2since we do not know the rest of the sequence.
Now for I
Xn
1;Xn
X1

Xn
2
we have the following
I
Xn
1;Xn
X1

Xn
2

H
Xn
X1

Xn
2

H
Xn
X1

Xn
1
1
0
1 bit
where we used the fact that the uncertainty of Xnwhen we know all other Xi’s is zero, since it is
completely specified and the uncertainty of Xnwhen we know all but Xn
1is equal to one bit.
4. For this one follow a process similar to the proof of the AEP.
lim
n
∞
p
X1
X2

Xn

1
n
lim
n
∞2log2
!
p
"
X1
#
X2
#%$%$%$ #
Xn
&('
1
)
n
2limn
*
∞
1
n∑n
i
+
1log2p
"
Xi
&
2E
"
log2p
"
X
&,&
2
H
"
X
&
where the second to last equality follows from the WLLN
pf2

Partial preview of the text

Download Assignment 2 Solutions - Information Theory | ECE 6605 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Solutions to Homework # 2

ECE 6605 Information Theory 9/15/ Prof. Steven W McLaughlin

  1. a) From the data processing theorem we know I

X ; Z  I

X ; Y  then

I

X ; Z  I

X ; Y  H

Y  H

Y X 

 H

Y  since H

Y X  0

 log 2 k

b) If k  1 then log 2 1  0; therefore I

X ; Z   0, but since I

X ; Z  0 then I

X ; Z   0. Which

confirms that no dependence can survive the bottleneck

  1. We are given X and can form R from it, therefore R is a function of X. Then from problem 4 in HW. 1 we get H

R   H

X .

If we are given R and Xn (or any Xi for that matter), then we can fully specify X , this tells us that H

X   H

Xn  R . Expanding this we get

H

X  H

Xn  R 

 H

R  H

Xn R 

 H

R  H

Xn  since conditioning reduces entropy

 H

R  1

From the two results above we notice H

R  H

X  H

R  1.

3. First notice that for k  n  1 because of the independence of the Xi ’s we get that

I

Xk  1 ; Xk X 1  X 2  Xk  2  0, we can gain no information about Xk  1 from knowing

Xk X 1  X 2  Xk  2 since we do not know the rest of the sequence.

Now for I

Xn  1 ; Xn X 1  Xn  2  we have the following

I

Xn  1 ; Xn X 1  Xn  2  H

Xn X 1  Xn  2  H

Xn X 1  Xn  1 

 1 bit

where we used the fact that the uncertainty of Xn when we know all other Xi ’s is zero, since it is

completely specified and the uncertainty of Xn when we know all but Xn  1 is equal to one bit.

  1. For this one follow a process similar to the proof of the AEP.

lim

n  ∞

p

X 1  X 2  Xn  1 n^^  lim

n  ∞

2 log^2! p^ " X^1 # X^2 #%$%$%$^ # Xn^^ &('^

1 ) n

 2 lim n *^ ∞^

1 n ∑ ni + 1 log 2 p " Xi &

^2 E^^ "log^2 p^ " X^^ &,&

 2  H^^ " X^ &

where the second to last equality follows from the WLLN

  1. a) For this one start by evaluating the limit stated

lim

n  ∞^

n

log 2 q

X 1  X 2  Xn  n lim  ∞ 

n

n

i - 1

log 2 q

Xi 

 Ep

 log 2 q

X  convergence in probability

 ∑ p

X  log 2

q

X 

adding 0  log 2^ pp^ "" XX^ &&

 ∑ p

X  log 2

p

X 

q

X 

∑^

p

X log 2 p

X 

 D

p. q   H

X 

b) Notice that there is no negative sign here, this will be important in the final answer.

n lim  ∞

n

log 2

q

X 1  X 2  Xn 

p

X 1  X 2  Xn 

lim

n  ∞

n

n

i - 1

log 2

q

Xi 

p

Xi 

 Ep

log 2

q

X 

p

X 

conv. in prob

 ∑ p

x log 2

q

X 

p

X 

  ∑ p

X log 2

p

X 

q

X 

  D

p. q 

relating this last result with the limit we get that q

X n^ / p

Xn^  2  nD^ " p^^0 %0^ q^ & for almost every

sequence X n^^ 

X 1  X 2  Xn .