Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 33 2 Solution Created 2026-10-03 Updated 2026-10-14
For discrete random variables, write for the joint probability mass function and for its marginal. The conditional entropy is the average of the entropies of the conditional distributions:Conditional distributions at zero-probability values of can be chosen arbitrarily; they contribute nothing. Here denotes Shannon entropy, with one common logarithm base and .
For , use and sum with weight . Summing out in the first term givesFor countable alphabets, the entropy contributions are nonnegative, so the equality remains valid with extended values by summing nonnegative terms. Applying this identity successively to the prefix and proves the chain rule for information entropy:For , the conditioning tuple is empty and the term is .
For the subset inequalities, first suppose the marginal entropies are finite, so all joint entropies below are finite by the chain rule and the assumed conditioning reduces entropy property. Put , and let be the joint entropy with coordinate omitted. Apply the two-variable chain rule in the order to getThe inequality holds because the prefix conditioning set is contained in the set of all other coordinates. Summing over and using the chain rule givesThis proves Han's entropy inequality. In terms of the normalized subset entropy, and , hence for .
Apply the same result to each -element coordinate set . It givesWhen this is summed over all -subsets, each fixed -subset occurs once for each possible added coordinate, namely times. ThereforeSubstitute and the analogous identity at . The binomial coefficient identity cancels the common positive factor and givesThis is the monotonicity of normalized subset entropies, obtained from the local -coordinate inequality by explicit counting.
If some marginal entropy is infinite, each subset average contains at least one subset including that coordinate. The entropy of such a subset is at least that marginal entropy, by the nonnegative conditional-entropy chain rule, so every is infinite. The inequalities then hold in the extended sense. Otherwise the finite-entropy proof applies. For independent random variables the averages are all ; repeated copies of one variable instead give , illustrating the entropy reduction caused by redundancy.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 208 2 a Solution Created 2026-09-24 Updated 2026-09-25
First prove the chain rule for relative entropy. For two coordinates,Taking expectation under givesand iteration proves the chain rule for any finite product.
Write for the successive conditional distributions. Since is a product, the chain rule givesFor a fixed omitted coordinate , applying the chain rule in the remaining coordinate order givesThe convexity of Kullback-Leibler divergence implies that removing from the conditioning can only decrease each averaged conditional divergence. Summing over , each full conditional increment occurs for exactly the indices , and thereforewhich is the claimed inequality. Equivalently, this is Han's entropy inequality after expanding each divergence: the product-reference cross-entropy terms cancel because they are modular.