Difference between revisions of "Aufgaben:Exercise 3.11Z: Extremely Asymmetrical Channel"

From LNTwww
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
{{quiz-Header|Buchseite=Informationstheorie/Anwendung auf die Digitalsignalübertragung
+
{{quiz-Header|Buchseite=Information_Theory/Application_to_Digital_Signal_Transmission
 
}}
 
}}
  
[[File:P_ID2800__Inf_Z_3_10.png|right|frame|Einseitig verfälschender Kanal]]
+
[[File:P_ID2800__Inf_Z_3_10.png|right|frame|One-sided distorting channel]]
Betrachtet wird der nebenstehend gezeichnete Kanal mit den folgenden Eigenschaften:
+
The channel shown opposite with the following properties is considered:
* Das Symbol  $X = 0$  wird immer richtig übertragen und führt stets zum Ergebnis  $Y = 0$.
+
* The symbol  $X = 0$  is always transmitted correctly and leads always to the result  $Y = 0$.
* Das Symbol  $X = 1$  wird maximal verfälscht.   
+
* The symbol  $X = 1$  is distorted to the maximum.   
  
  
Aus Sicht der Informationstheorie bedeutet dies:
+
From the point of view of information theory, this means:
 
:$${\rm Pr}(Y \hspace{-0.05cm} = 0\hspace{-0.05cm}\mid \hspace{-0.05cm} X \hspace{-0.05cm}= 1) ={\rm Pr}(Y \hspace{-0.05cm} = 1\hspace{-0.05cm}\mid \hspace{-0.05cm} X \hspace{-0.05cm}= 1) = 0.5 \hspace{0.05cm}.$$
 
:$${\rm Pr}(Y \hspace{-0.05cm} = 0\hspace{-0.05cm}\mid \hspace{-0.05cm} X \hspace{-0.05cm}= 1) ={\rm Pr}(Y \hspace{-0.05cm} = 1\hspace{-0.05cm}\mid \hspace{-0.05cm} X \hspace{-0.05cm}= 1) = 0.5 \hspace{0.05cm}.$$
Zu bestimmen sind in dieser Aufgabe:
+
To be determined in this task are:
* die Transinformation&nbsp; $I(X; Y)$&nbsp; für&nbsp; $P_X(0) = p_0 = 0.4$&nbsp; und&nbsp; $P_X(1) = p_1 = 0.6$.&nbsp; <br>Es gilt allgemein:
+
* the mutual information&nbsp; $I(X; Y)$&nbsp; for&nbsp; $P_X(0) = p_0 = 0.4$&nbsp; and&nbsp; $P_X(1) = p_1 = 0.6$.&nbsp; <br>The general rule is:
 
:$$ I(X;Y) = H(X) - H(X \hspace{-0.1cm}\mid \hspace{-0.1cm} Y)\hspace{0.05cm}=H(Y) - H(Y \hspace{-0.1cm}\mid \hspace{-0.1cm} X)\hspace{0.05cm} =\hspace{-0.15cm} H(X) + H(Y)- H(XY)\hspace{0.05cm},$$
 
:$$ I(X;Y) = H(X) - H(X \hspace{-0.1cm}\mid \hspace{-0.1cm} Y)\hspace{0.05cm}=H(Y) - H(Y \hspace{-0.1cm}\mid \hspace{-0.1cm} X)\hspace{0.05cm} =\hspace{-0.15cm} H(X) + H(Y)- H(XY)\hspace{0.05cm},$$
* die Kanalkapazität:
+
* the channel capacity:
 
:$$ C = \max_{P_X(X)} \hspace{0.15cm} I(X;Y) \hspace{0.05cm}.$$
 
:$$ C = \max_{P_X(X)} \hspace{0.15cm} I(X;Y) \hspace{0.05cm}.$$
  
Line 24: Line 24:
  
  
''Hinweise:''
+
Hints:  
*Die Aufgabe gehört zum  Kapitel&nbsp; [[Information_Theory/Anwendung_auf_die_Digitalsignalübertragung|Anwendung auf die Digitalsignalübertragung]].
+
*The exercise belongs to the chapter&nbsp; [[Information_Theory/Anwendung_auf_die_Digitalsignalübertragung|Application to digital signal transmission]].
*Bezug genommen wird insbesondere auf die Seite&nbsp;    [[Information_Theory/Anwendung_auf_die_Digitalsignalübertragung#Kanalkapazit.C3.A4t_eines_Bin.C3.A4rkanals|Kanalkapazität eines Binärkanals]].
+
*Reference is made in particular to the page&nbsp;    [[Information_Theory/Anwendung_auf_die_Digitalsignalübertragung#Channel_capacity_of_a_binary_channel|Channel capacity of a binary channel]].
*In der&nbsp; [[Aufgaben:3.14_Kanalcodierungstheorem|Aufgabe 3.14]]&nbsp; sollen die hier gefundenen Ergebnisse im Vergleich zum BSC–Kanal interpretiert werden.
+
*In&nbsp; [[Aufgaben:Exercise_3.14:_Channel_Coding_Theorem|Exercise 3.14]]&nbsp; the results found here are to be interpreted in comparison to the BSC channel.
 +
 
 
   
 
   
  
  
===Fragebogen===
+
===Questions===
  
 
<quiz display=simple>
 
<quiz display=simple>
  
{Berechnen Sie die Quellenentropie allgemein und für&nbsp; $\underline{p_0 = 0.4}$.
+
{Calculate the source entropy in general and for&nbsp; $\underline{p_0 = 0.4}$.
 
|type="{}"}
 
|type="{}"}
 
$H(X) \ = \ $ { 0.971 3% } $\ \rm bit$
 
$H(X) \ = \ $ { 0.971 3% } $\ \rm bit$
  
{Berechnen Sie die Sinkenentropie allgemein und für&nbsp; $p_0 = 0.4$.
+
{Calculate the sink entropy in general and for&nbsp; $p_0 = 0.4$.
 
|type="{}"}
 
|type="{}"}
 
$H(Y) \ = \ $ { 0.881 3% }  $\ \rm bit$
 
$H(Y) \ = \ $ { 0.881 3% }  $\ \rm bit$
  
{Berechnen Sie die Verbundentropie allgemein und für&nbsp; $p_0 = 0.4$.
+
{Calculate the joint entropy in general and for&nbsp; $p_0 = 0.4$.
 
|type="{}"}
 
|type="{}"}
 
$H(XY) \ = \ $ { 1.571 3% } $\ \rm bit$   
 
$H(XY) \ = \ $ { 1.571 3% } $\ \rm bit$   
  
{Berechnen Sie die Transinformation allgemein und für&nbsp; $p_0 = 0.4$.
+
{Calculate the mutual information in general and for&nbsp; $p_0 = 0.4$.
 
|type="{}"}
 
|type="{}"}
 
$I(X; Y) \ = \ $ { 0.281 3% } $\ \rm bit$
 
$I(X; Y) \ = \ $ { 0.281 3% } $\ \rm bit$
  
{Welche Wahrscheinlichkeit&nbsp; $p_0^{(*)}$&nbsp; führt zur Kanalkapazität&nbsp; $C$?
+
{What probability&nbsp; $p_0^{(*)}$&nbsp; leads to channel capacity&nbsp; $C$?
 
|type="{}"}
 
|type="{}"}
 
$p_0^{(*)}  \ = \ $ { 0.6 3% }  
 
$p_0^{(*)}  \ = \ $ { 0.6 3% }  
  
{Wie groß ist die Kanalkapazität des vorliegenden Kanals?
+
{What is the channel capacity of the present channel?
 
|type="{}"}
 
|type="{}"}
 
$C  \ = \ $ { 0.322 3% }  $\ \rm bit$
 
$C  \ = \ $ { 0.322 3% }  $\ \rm bit$
  
{Wie groß sind die bedingten Entropien mit&nbsp; $p_0 = p_0^{(*)}$&nbsp; gemäß Teilaufgabe&nbsp; '''(5)'''?
+
{What are the conditional entropies with&nbsp; $p_0 = p_0^{(*)}$&nbsp; according to subtask&nbsp; '''(5)'''?
 
|type="{}"}
 
|type="{}"}
 
$H(X|Y) \ = \ $ { 0.649 3% }  $\ \rm bit$
 
$H(X|Y) \ = \ $ { 0.649 3% }  $\ \rm bit$
Line 67: Line 68:
  
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp; Die Quellenentropie ergibt sich entsprechend der binären Entropiefunktion:
+
'''(1)'''&nbsp; The source entropy results according to the binary entropy function:
 
:$$H(X) = H_{\rm bin}(p_0)= H_{\rm bin}(0.4) \hspace{0.15cm} \underline {=0.971\,{\rm bit}} \hspace{0.05cm}.$$
 
:$$H(X) = H_{\rm bin}(p_0)= H_{\rm bin}(0.4) \hspace{0.15cm} \underline {=0.971\,{\rm bit}} \hspace{0.05cm}.$$
  
  
  
'''(2)'''&nbsp; Die Wahrscheinlichkeiten der Sinkensymbole sind:
+
'''(2)'''&nbsp; The probabilities of the sink symbols are:
 
:$$P_Y(1) = p_1/2 = (1 - p_0)/2 = 0.3\hspace{0.05cm},\hspace{0.2cm} P_Y(0) = 1-P_Y(1) = p_1/2 = (1 - p_0)/2 = 0.7$$
 
:$$P_Y(1) = p_1/2 = (1 - p_0)/2 = 0.3\hspace{0.05cm},\hspace{0.2cm} P_Y(0) = 1-P_Y(1) = p_1/2 = (1 - p_0)/2 = 0.7$$
 
:$$\Rightarrow \hspace{0.3cm} H(Y) = H_{\rm bin}(\frac{1+p_0}{2})= H_{\rm bin}(0.7) \hspace{0.15cm} \underline {=0.881\,{\rm bit}} \hspace{0.05cm}.$$
 
:$$\Rightarrow \hspace{0.3cm} H(Y) = H_{\rm bin}(\frac{1+p_0}{2})= H_{\rm bin}(0.7) \hspace{0.15cm} \underline {=0.881\,{\rm bit}} \hspace{0.05cm}.$$
Line 80: Line 81:
  
  
'''(3)'''&nbsp; Die Verbundwahrscheinlichkeiten &nbsp;$p_{μκ} = {\rm Pr}\big[(X = μ) ∩ (Y = κ)\big]&nbsp;$ ergeben sich zu:
+
'''(3)'''&nbsp; The joint probabilities &nbsp;$p_{μκ} = {\rm Pr}\big[(X = μ) ∩ (Y = κ)\big]&nbsp;$ are obtained as:
 
:$$ p_{00} = p_0 \hspace{0.05cm},\hspace{0.3cm} p_{01} = 0 \hspace{0.05cm},\hspace{0.3cm} p_{10} = (1 - p_0)/2 \hspace{0.05cm},\hspace{0.3cm} p_{11} = (1 - p_0)/2$$
 
:$$ p_{00} = p_0 \hspace{0.05cm},\hspace{0.3cm} p_{01} = 0 \hspace{0.05cm},\hspace{0.3cm} p_{10} = (1 - p_0)/2 \hspace{0.05cm},\hspace{0.3cm} p_{11} = (1 - p_0)/2$$
 
:$$\Rightarrow \hspace{0.3cm} H(XY) =p_0 \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ p_0} + 2 \cdot \frac{1-p_0}{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{2}{ 1- p_0} = p_0 \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ p_0} + (1-p_0) \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ 1- p_0} + (1-p_0) \cdot {\rm log}_2 \hspace{0.1cm} (2)$$
 
:$$\Rightarrow \hspace{0.3cm} H(XY) =p_0 \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ p_0} + 2 \cdot \frac{1-p_0}{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{2}{ 1- p_0} = p_0 \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ p_0} + (1-p_0) \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ 1- p_0} + (1-p_0) \cdot {\rm log}_2 \hspace{0.1cm} (2)$$
 
:$$\Rightarrow \hspace{0.3cm}H(XY) =H_{\rm bin}(p_0) + 1 - p_0 \hspace{0.05cm}.$$
 
:$$\Rightarrow \hspace{0.3cm}H(XY) =H_{\rm bin}(p_0) + 1 - p_0 \hspace{0.05cm}.$$
*Das numerische Ergebnis für&nbsp; $p_0 = 0.4$&nbsp; lautet somit:
+
*The numerical result for&nbsp; $p_0 = 0.4$&nbsp; is thus:
 
:$$H(XY) = H_{\rm bin}(0.4) + 0.6 = 0.971 + 0.6 \hspace{0.15cm} \underline {=1.571\,{\rm bit}} \hspace{0.05cm}.$$
 
:$$H(XY) = H_{\rm bin}(0.4) + 0.6 = 0.971 + 0.6 \hspace{0.15cm} \underline {=1.571\,{\rm bit}} \hspace{0.05cm}.$$
  
  
  
'''(4)'''&nbsp; Eine (mögliche) Gleichung zur Berechnung der Transinformation lautet:
+
'''(4)'''&nbsp; A (possible) equation to calculate the mutual information is:
 
:$$ I(X;Y) = H(X) + H(Y)- H(XY)\hspace{0.05cm}.$$
 
:$$ I(X;Y) = H(X) + H(Y)- H(XY)\hspace{0.05cm}.$$
*Daraus erhält man mit den Ergebnissen der ersten drei Teilaufgaben:
+
*From this, using the results of the first three subtasks, one obtains:
 
:$$I(X;Y) = H_{\rm bin}(p_0) + H_{\rm bin}(\frac{1+p_0}{2}) - H_{\rm bin}(p_0) -1 + p_0 = H_{\rm bin}(\frac{1+p_0}{2}) -1 + p_0.$$
 
:$$I(X;Y) = H_{\rm bin}(p_0) + H_{\rm bin}(\frac{1+p_0}{2}) - H_{\rm bin}(p_0) -1 + p_0 = H_{\rm bin}(\frac{1+p_0}{2}) -1 + p_0.$$
 
:$$ \Rightarrow \hspace{0.3cm} p_0 = 0.4 {\rm :}\hspace{0.5cm} I(X;Y) = H_{\rm bin}(0.7) - 0.6 = 0.881 - 0.6 \hspace{0.15cm} \underline {=0.281\,{\rm bit}}\hspace{0.05cm}.$$
 
:$$ \Rightarrow \hspace{0.3cm} p_0 = 0.4 {\rm :}\hspace{0.5cm} I(X;Y) = H_{\rm bin}(0.7) - 0.6 = 0.881 - 0.6 \hspace{0.15cm} \underline {=0.281\,{\rm bit}}\hspace{0.05cm}.$$
Line 97: Line 98:
  
  
'''(5)'''&nbsp; Die Kanalkapazität&nbsp; $C$&nbsp; ist die Transinformation &nbsp;$I(X; Y)$&nbsp; bei bestmöglichen Wahrscheinlichkeiten &nbsp;$p_0$&nbsp;  und &nbsp; $p_1$&nbsp;  der Quellensymbole.  
+
'''(5)'''&nbsp; The channel capacity&nbsp; $C$&nbsp; is the mutual information &nbsp;$I(X; Y)$&nbsp; at best possible probabilities &nbsp;$p_0$&nbsp;  and &nbsp; $p_1$&nbsp;  of the source symbols.
*Nach Differentiation erhält man die Bestimmungsgleichung:
+
*After differentiation, the determination equation is obtained:
 
:$$\frac{\rm d}{{\rm d}p_0} \hspace{0.1cm} I(X;Y) =  
 
:$$\frac{\rm d}{{\rm d}p_0} \hspace{0.1cm} I(X;Y) =  
 
\frac{\rm d}{{\rm d}p_0} \hspace{0.1cm}  H_{\rm bin}(\frac{1+p_0}{2}) +1 \stackrel{!}{=} 0
 
\frac{\rm d}{{\rm d}p_0} \hspace{0.1cm}  H_{\rm bin}(\frac{1+p_0}{2}) +1 \stackrel{!}{=} 0
 
\hspace{0.05cm}.$$
 
\hspace{0.05cm}.$$
*Mit dem Differentialquotienten der binären Entropiefunktion
+
*With the differential quotient of the binary entropy function
 
:$$ \frac{\rm d}{{\rm d}p} \hspace{0.1cm}  H_{\rm bin}(p) = {\rm log}_2 \hspace{0.1cm} \frac{1-p}{ p} \hspace{0.05cm},$$
 
:$$ \frac{\rm d}{{\rm d}p} \hspace{0.1cm}  H_{\rm bin}(p) = {\rm log}_2 \hspace{0.1cm} \frac{1-p}{ p} \hspace{0.05cm},$$
:und entsprechendes Nachdifferenzieren erhält man:
+
:and corresponding post-differentialisation one obtains:
 
:$${1}/{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{(1-p_0)/2}{1- (1-p_0)/2} +1 \stackrel{!}{=} 0 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} {1}/{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{(1-p_0)/2}{(1+p_0)/2} +1 \stackrel{!}{=} 0$$
 
:$${1}/{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{(1-p_0)/2}{1- (1-p_0)/2} +1 \stackrel{!}{=} 0 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} {1}/{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{(1-p_0)/2}{(1+p_0)/2} +1 \stackrel{!}{=} 0$$
:$$ \Rightarrow \hspace{0.3cm} {\rm log}_2 \hspace{0.1cm} \frac{1+p_0}{1-p_0} \stackrel{!}{=} 2 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} \frac{1+p_0}{1-p_0} \stackrel{!}{=} 4 \hspace{0.3cm}\Rightarrow \hspace{0.3cm} p_0 \hspace{0.15cm} \underline {=0.6}\hspace{0.05cm}.$$
+
:$$ \Rightarrow \hspace{0.3cm} {\rm log}_2 \hspace{0.1cm} \frac{1+p_0}{1-p_0} \stackrel{!}{=} 2 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} \frac{1+p_0}{1-p_0} \stackrel{!}{=} 4 \hspace{0.3cm}\Rightarrow \hspace{0.3cm} p_0 \hspace{0.15cm} \underline {=0.6}=p_0^{(*)}\hspace{0.05cm}.$$
  
  
  
'''(6)'''&nbsp; Für die Kanalkapazität gilt dementsprechend:
+
'''(6)'''&nbsp; Accordingly, for the channel capacity:
 
:$$C = I(X;Y) \big |_{p_0 \hspace{0.05cm}=\hspace{0.05cm} 0.6} = H_{\rm bin}(0.8) - 0.4 = 0.722 -0.4 \hspace{0.15cm} \underline {=0.322\,{\rm bit}}\hspace{0.05cm}.$$
 
:$$C = I(X;Y) \big |_{p_0 \hspace{0.05cm}=\hspace{0.05cm} 0.6} = H_{\rm bin}(0.8) - 0.4 = 0.722 -0.4 \hspace{0.15cm} \underline {=0.322\,{\rm bit}}\hspace{0.05cm}.$$
*In der Aufgabe A3.14 wird dieses Ergebnis im Vergleich zum BSC–Kanalmodell interpretiert.
+
*Exercise 3.14 interprets this result in comparison to the BSC channel model.
  
  
  
  
'''(7)'''&nbsp; Für die Äquivokation gilt:
+
'''(7)'''&nbsp; For the equivocation holds:
 
:$$ H(X \hspace{-0.1cm}\mid \hspace{-0.1cm}Y) = H(X) - I(X;Y) = 0.971 -0.322 \hspace{0.15cm} \underline {=0.649\,{\rm bit}}\hspace{0.05cm}.$$
 
:$$ H(X \hspace{-0.1cm}\mid \hspace{-0.1cm}Y) = H(X) - I(X;Y) = 0.971 -0.322 \hspace{0.15cm} \underline {=0.649\,{\rm bit}}\hspace{0.05cm}.$$
*Wegen&nbsp; $H_{\rm bin}(0.4) = H_{\rm bin}(0.6)$&nbsp; ergibt sich die gleiche Quellenentropie&nbsp; $H(X)$&nbsp; wie in Teilaufgabe&nbsp; '''(1)'''.  
+
*Because of &nbsp; $H_{\rm bin}(0.4) = H_{\rm bin}(0.6)$&nbsp; the source entropy&nbsp; $H(X)$&nbsp; is the same as in subtask&nbsp; '''(1)'''.  
*Die Sinkenentropie muss neu berechnet werden.&nbsp; Mit&nbsp; $p_0 = 0.6$&nbsp; erhält man&nbsp; $H(Y) = H_{\rm bin}(0.8) = 0.722\ \rm  bit$.
+
*The sink entropy must be recalculated.&nbsp; With&nbsp; $p_0 = 0.6$&nbsp; we get&nbsp; $H(Y) = H_{\rm bin}(0.8) = 0.722\ \rm  bit$.
* Damit ergibt sich für die Irrelevanz:
+
*This gives the irrelevance:
 
:$$H(Y \hspace{-0.1cm}\mid \hspace{-0.1cm} X) = H(Y) - I(X;Y) = 0.722 -0.322 \hspace{0.15cm} \underline {=0.400\,{\rm bit}}\hspace{0.05cm}.$$
 
:$$H(Y \hspace{-0.1cm}\mid \hspace{-0.1cm} X) = H(Y) - I(X;Y) = 0.722 -0.322 \hspace{0.15cm} \underline {=0.400\,{\rm bit}}\hspace{0.05cm}.$$
  
Line 128: Line 129:
  
  
[[Category:Information Theory: Exercises|^3.3 Anwendung auf DSÜ-Kanäle^]]
+
[[Category:Information Theory: Exercises|^3.3 Application to Digital Signal Transmission^]]

Latest revision as of 13:56, 24 September 2021

One-sided distorting channel

The channel shown opposite with the following properties is considered:

  • The symbol  $X = 0$  is always transmitted correctly and leads always to the result  $Y = 0$.
  • The symbol  $X = 1$  is distorted to the maximum. 


From the point of view of information theory, this means:

$${\rm Pr}(Y \hspace{-0.05cm} = 0\hspace{-0.05cm}\mid \hspace{-0.05cm} X \hspace{-0.05cm}= 1) ={\rm Pr}(Y \hspace{-0.05cm} = 1\hspace{-0.05cm}\mid \hspace{-0.05cm} X \hspace{-0.05cm}= 1) = 0.5 \hspace{0.05cm}.$$

To be determined in this task are:

  • the mutual information  $I(X; Y)$  for  $P_X(0) = p_0 = 0.4$  and  $P_X(1) = p_1 = 0.6$. 
    The general rule is:
$$ I(X;Y) = H(X) - H(X \hspace{-0.1cm}\mid \hspace{-0.1cm} Y)\hspace{0.05cm}=H(Y) - H(Y \hspace{-0.1cm}\mid \hspace{-0.1cm} X)\hspace{0.05cm} =\hspace{-0.15cm} H(X) + H(Y)- H(XY)\hspace{0.05cm},$$
  • the channel capacity:
$$ C = \max_{P_X(X)} \hspace{0.15cm} I(X;Y) \hspace{0.05cm}.$$





Hints:



Questions

1

Calculate the source entropy in general and for  $\underline{p_0 = 0.4}$.

$H(X) \ = \ $

$\ \rm bit$

2

Calculate the sink entropy in general and for  $p_0 = 0.4$.

$H(Y) \ = \ $

$\ \rm bit$

3

Calculate the joint entropy in general and for  $p_0 = 0.4$.

$H(XY) \ = \ $

$\ \rm bit$

4

Calculate the mutual information in general and for  $p_0 = 0.4$.

$I(X; Y) \ = \ $

$\ \rm bit$

5

What probability  $p_0^{(*)}$  leads to channel capacity  $C$?

$p_0^{(*)} \ = \ $

6

What is the channel capacity of the present channel?

$C \ = \ $

$\ \rm bit$

7

What are the conditional entropies with  $p_0 = p_0^{(*)}$  according to subtask  (5)?

$H(X|Y) \ = \ $

$\ \rm bit$
$H(Y|X) \ = \ $

$\ \rm bit$


Solution

(1)  The source entropy results according to the binary entropy function:

$$H(X) = H_{\rm bin}(p_0)= H_{\rm bin}(0.4) \hspace{0.15cm} \underline {=0.971\,{\rm bit}} \hspace{0.05cm}.$$


(2)  The probabilities of the sink symbols are:

$$P_Y(1) = p_1/2 = (1 - p_0)/2 = 0.3\hspace{0.05cm},\hspace{0.2cm} P_Y(0) = 1-P_Y(1) = p_1/2 = (1 - p_0)/2 = 0.7$$
$$\Rightarrow \hspace{0.3cm} H(Y) = H_{\rm bin}(\frac{1+p_0}{2})= H_{\rm bin}(0.7) \hspace{0.15cm} \underline {=0.881\,{\rm bit}} \hspace{0.05cm}.$$


(3)  The joint probabilities  $p_{μκ} = {\rm Pr}\big[(X = μ) ∩ (Y = κ)\big] $ are obtained as:

$$ p_{00} = p_0 \hspace{0.05cm},\hspace{0.3cm} p_{01} = 0 \hspace{0.05cm},\hspace{0.3cm} p_{10} = (1 - p_0)/2 \hspace{0.05cm},\hspace{0.3cm} p_{11} = (1 - p_0)/2$$
$$\Rightarrow \hspace{0.3cm} H(XY) =p_0 \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ p_0} + 2 \cdot \frac{1-p_0}{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{2}{ 1- p_0} = p_0 \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ p_0} + (1-p_0) \cdot {\rm log}_2 \hspace{0.1cm} \frac{1}{ 1- p_0} + (1-p_0) \cdot {\rm log}_2 \hspace{0.1cm} (2)$$
$$\Rightarrow \hspace{0.3cm}H(XY) =H_{\rm bin}(p_0) + 1 - p_0 \hspace{0.05cm}.$$
  • The numerical result for  $p_0 = 0.4$  is thus:
$$H(XY) = H_{\rm bin}(0.4) + 0.6 = 0.971 + 0.6 \hspace{0.15cm} \underline {=1.571\,{\rm bit}} \hspace{0.05cm}.$$


(4)  A (possible) equation to calculate the mutual information is:

$$ I(X;Y) = H(X) + H(Y)- H(XY)\hspace{0.05cm}.$$
  • From this, using the results of the first three subtasks, one obtains:
$$I(X;Y) = H_{\rm bin}(p_0) + H_{\rm bin}(\frac{1+p_0}{2}) - H_{\rm bin}(p_0) -1 + p_0 = H_{\rm bin}(\frac{1+p_0}{2}) -1 + p_0.$$
$$ \Rightarrow \hspace{0.3cm} p_0 = 0.4 {\rm :}\hspace{0.5cm} I(X;Y) = H_{\rm bin}(0.7) - 0.6 = 0.881 - 0.6 \hspace{0.15cm} \underline {=0.281\,{\rm bit}}\hspace{0.05cm}.$$


(5)  The channel capacity  $C$  is the mutual information  $I(X; Y)$  at best possible probabilities  $p_0$  and   $p_1$  of the source symbols.

  • After differentiation, the determination equation is obtained:
$$\frac{\rm d}{{\rm d}p_0} \hspace{0.1cm} I(X;Y) = \frac{\rm d}{{\rm d}p_0} \hspace{0.1cm} H_{\rm bin}(\frac{1+p_0}{2}) +1 \stackrel{!}{=} 0 \hspace{0.05cm}.$$
  • With the differential quotient of the binary entropy function
$$ \frac{\rm d}{{\rm d}p} \hspace{0.1cm} H_{\rm bin}(p) = {\rm log}_2 \hspace{0.1cm} \frac{1-p}{ p} \hspace{0.05cm},$$
and corresponding post-differentialisation one obtains:
$${1}/{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{(1-p_0)/2}{1- (1-p_0)/2} +1 \stackrel{!}{=} 0 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} {1}/{2} \cdot {\rm log}_2 \hspace{0.1cm} \frac{(1-p_0)/2}{(1+p_0)/2} +1 \stackrel{!}{=} 0$$
$$ \Rightarrow \hspace{0.3cm} {\rm log}_2 \hspace{0.1cm} \frac{1+p_0}{1-p_0} \stackrel{!}{=} 2 \hspace{0.3cm} \Rightarrow \hspace{0.3cm} \frac{1+p_0}{1-p_0} \stackrel{!}{=} 4 \hspace{0.3cm}\Rightarrow \hspace{0.3cm} p_0 \hspace{0.15cm} \underline {=0.6}=p_0^{(*)}\hspace{0.05cm}.$$


(6)  Accordingly, for the channel capacity:

$$C = I(X;Y) \big |_{p_0 \hspace{0.05cm}=\hspace{0.05cm} 0.6} = H_{\rm bin}(0.8) - 0.4 = 0.722 -0.4 \hspace{0.15cm} \underline {=0.322\,{\rm bit}}\hspace{0.05cm}.$$
  • Exercise 3.14 interprets this result in comparison to the BSC channel model.



(7)  For the equivocation holds:

$$ H(X \hspace{-0.1cm}\mid \hspace{-0.1cm}Y) = H(X) - I(X;Y) = 0.971 -0.322 \hspace{0.15cm} \underline {=0.649\,{\rm bit}}\hspace{0.05cm}.$$
  • Because of   $H_{\rm bin}(0.4) = H_{\rm bin}(0.6)$  the source entropy  $H(X)$  is the same as in subtask  (1).
  • The sink entropy must be recalculated.  With  $p_0 = 0.6$  we get  $H(Y) = H_{\rm bin}(0.8) = 0.722\ \rm bit$.
  • This gives the irrelevance:
$$H(Y \hspace{-0.1cm}\mid \hspace{-0.1cm} X) = H(Y) - I(X;Y) = 0.722 -0.322 \hspace{0.15cm} \underline {=0.400\,{\rm bit}}\hspace{0.05cm}.$$