Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A pair of fair dice is rolled. Let

X=1ifthesumofthediceis60otherwise

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

Short Answer

Expert verified

a) H(Y)=2.58

b) HY(X)=0.65

c) H(X,Y)=3.12.

Step by step solution

01

Part (a) Step 1: Given Information

We have given value of X=1ifthesumofthediceis60otherwise

and Yequal the value of the first die.

We have to computeH(Y).

02

Part (a) Step 2: Simplify

We haveYcan assume each value 1,......6 with equal probabilities 12. So, the entropy of Yis

localid="1651482886925" role="math" HYipilogpi=log16=log6=2.58

03

Part (b) Step 1: Given Information

We have to computeHY(X).

04

Part (b) Step 2: Simplify

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

XY=y~015/61/6

So the entropy is given by

localid="1651482832761" HY=yX=i=0,1piylogpiy=56log5616log16=0.65

05

Part (c) Step 1: Given Information

Need to compute H(X,Y).

06

Part (c) Step 2: Explanation

From the proposition in the chapter, we have

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

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free