next up previous
Next: The data processing theorem Up: Exercises Previous: Exercises

Expectations and entropies

You are probably familiar with the idea of computing the expectation of a function of x,
equation2460
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 tex2html_wrap_inline3798, tex2html_wrap_inline3800, tex2html_wrap_inline3802. Let f(a) = 10, f(b) = 5, and f(c) = 10/7. What is tex2html_wrap_inline3810? What is tex2html_wrap_inline3812? For an arbitrary ensemble, what is tex2html_wrap_inline3812? Let tex2html_wrap_inline3798, tex2html_wrap_inline3800, tex2html_wrap_inline3802. Let g(a) = 0, g(b) = 1, and g(c) = 0. What is tex2html_wrap_inline3828? Let tex2html_wrap_inline3798, tex2html_wrap_inline3800, tex2html_wrap_inline3802. What is the probability that tex2html_wrap_inline3836? What is
displaymath3788
Prove the assertion that tex2html_wrap_inline3612 with equality iff tex2html_wrap_inline3614 for all i. (|X| denotes the number of elements in the set tex2html_wrap_inline3537.) Prove the assertion that entropy is additive for independent random variables (equation (1.21)). Consider three independent random variables u,v,w with entropies tex2html_wrap_inline3850. Let tex2html_wrap_inline3852 and tex2html_wrap_inline3854. 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 tex2html_wrap_inline3862 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 tex2html_wrap_inline3872 satisfies H(X;Y) = H(Y;X) and tex2html_wrap_inline3664. Prove that the entropy distance tex2html_wrap_inline3878 satisfies the axioms for a distance -- tex2html_wrap_inline3674, tex2html_wrap_inline3676, tex2html_wrap_inline3678, and tex2html_wrap_inline3680. [Incidentally, we are unlikely to see tex2html_wrap_inline3888 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 tex2html_wrap_inline3716 (Gibbs' inequality) with equality only if tex2html_wrap_inline3718. You may find this helps with the previous two exercises. Note tex2html_wrap_inline3894.   A joint ensemble XY has the following joint distribution.
displaymath3789
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?


next up previous
Next: The data processing theorem Up: Exercises Previous: Exercises

David J.C. MacKay
Sat May 10 23:05:10 BST 1997