Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2006/iii/paper-30/1/a/solution
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 30 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use base-two logarithms and the convention . Write and for . The conditional entropy is the average of the information entropies of these conditional laws:The careful form of Gibbs inequality is that, for two probability mass functions on a common countable set,where a term with gives . Equality holds exactly when . This is the nonnegativity of relative entropy.
First suppose . For every of positive probability, implies . Averaging the cross-entropies givesAll the summands here are nonnegative, so interchanging the sums is valid, and each conditional cross-entropy is finite. Applying Gibbs inequality to each shows that is at most its cross-entropy. Subtracting and averaging therefore givesEvery term on the right is nonnegative. The equality in the entropy conditioning inequality is thus equivalent to for all , which is exactly factorization of the joint probability mass function. Consequently
For arbitrary countable discrete random variables, the inequality remains valid in : the case is immediate. The finite-entropy condition is necessary for the usual equality characterization. For example, let for , with the normalizing constant, and let be an independent fair bit. The series defining the probability mass function converges, whereas its information entropy diverges like . Then and are dependent, but . In the infinite case, equality means precisely that the conditional entropy is also infinite; it does not imply independent random variables.
New to topics? Read the docs here!