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

A random variable can take on any of n possible values x1, ... , xn with respective probabilities p(xi), i = 1, ... , n. We shall attempt to determine the value of X by asking a series of questions, each of which can be answered “yes” or “no.” For instance, we may ask “Is X = x1?” or “Is X equal to either x1 or x2 or x3?” and so on. What can you say about the average number of such questions that you will need to ask to determine the value of X?

Show that for any discrete random variable Xand functionf

H(f(X))H(X)

Consider Example 2a. If there is a 50–50 chance of rain today, compute the probability that it will rain 3 days from now if α = .7 and β = .3.

In transmitting a bit from location A to location B, if we let X denote the value of the bit sent at location A and Y denote the value received at location B, then H(X) − HY(X) is called the rate of transmission of information from A to B. The maximal rate of transmission, as a function of P{X = 1} = 1 − P{X = 0}, is called the channel capacity. Show that for a binary symmetric channel with P{Y = 1|X = 1} = P{Y = 0|X = 0} = p, the channel capacity is attained by the rate of transmission of information when P{X = 1} = 1 2 and its value is 1 + p log p + (1 − p)log(1 − p).

Customers arrive at a bank at a Poisson rate λ. Suppose that two customers arrived during the first hour. What is the probability that

(a) both arrived during the first 20 minutes?

(b) at least one arrived during the first 20 minutes?

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