Q. 9.14

Question

A pair of fair dice is rolled. Let 

X=1if the sum of the dice is 60otherwise

 and let Y equal the value of the first die. Compute (a) H(Y), (b) HY(X), and (c) H(X, Y).

Step-by-Step Solution

Verified
Answer


a) H(Y)=2.58

b) HY(X)=0.65

c) H(X, Y)=3.12.

1Part (a) Step 1: Given Information

We have given value of X=1if the sum of the dice is 60otherwise

and Y equal the value of the first die.

We have to compute H(Y).

2Part (a) Step 2: Simplify

We haveY can assume each value 1,......6  with equal probabilities 12 . So, the entropy of Y is

HYipilogpi       =log16       =log6       =2.58


3Part (b) Step 1: Given Information

We have to compute HY(X).

4Part (b) Step 2: Simplify

For y1,,5, we have that X=1given that Y=ymeans that on the first die we have obtained y, and in order to obtain 6 in the sum, we need 6-y on the second die,

XY=y~015/61/6

So the entropy is given by

HY=yX=i=0,1piy log piy            =56log5616log16            =0.65 

5Part (c) Step 1: Given Information

Need  to compute H(X,Y).

6Part (c) Step 2: Explanation

From the proposition in the chapter, we have

HX,Y=HY+HYX          =2.58+0.5417          =3.12