You are probably familiar with the idea of computing the expectation
of a function of x,
![]()
Maybe you are not so comfortable with computing this expectation
in cases where f(x) has a dependence on P(x). The next few
examples address this.
Let
,
,
.
Let f(a) = 10, f(b) = 5, and f(c) = 10/7.
What is
?
What is
?
For an arbitrary ensemble, what is
?
Let
,
,
.
Let g(a) = 0, g(b) = 1, and g(c) = 0.
What is
?
Let
,
,
.
What is the probability that
?
What is
![]()
Prove the assertion that
with equality iff
for all i.
(|X| denotes the number of elements in the set
.)
Prove the assertion that entropy is additive for independent random variables
(equation (1.21)).
Consider three independent random variables u,v,w
with entropies
.
Let
and
.
What is H(X,Y)?
What is H(X|Y)?
What is H(X;Y)?
Referring to the definitions of conditional entropy
(1.22-1.23),
confirm
(with an example) that it is possible for
to exceed H(X), but
that the average, H(X|Y) is less than H(X). So data is
helpful -- it doesn't increase uncertainty, on average.
Prove the chain rule for entropy, equation (1.24).
[H(X,Y) = H(X) + H(Y|X)].
Prove that the mutual information
satisfies H(X;Y) = H(Y;X) and
.
Prove that the entropy distance
satisfies the axioms for a distance --
,
,
, and
. [Incidentally, we
are unlikely to see
again in this book, but it is a good
function on which to practice inequality-proving.]
Prove that the relative entropy (equation (1.27))
satisfies
(Gibbs'
inequality) with equality only if
.
You may find this helps with the previous two exercises. Note
.
A joint ensemble XY has the following joint distribution.

What is the joint entropy H(X,Y)?
What are the marginal entropies H(X) and H(Y)?
For each value of y, what is the conditional entropy H(X|y)?
What is the conditional entropy
H(X|Y)?
What is the conditional entropy of Y given X?
What is the mutual information between X and Y?