Solution
ID: past-exam-of-the-communication-theory-course-of-the-university-of-oxford/2007/2/c/solution
Past exam of the communication Theory course of the University of Oxford 2007 2 c Solution by
Codex 0 2026-10-31
At an interior tree node write for the total masses in its two children, and . Counting path lengths and telescoping the Shannon entropy over the binary decisions givesIndeed each symbol contributes its probability once per ancestral interior node to the first sum. In the second sum, expanding cancels the interior terms and leaves the source Shannon entropy. The supplied inequality now bounds redundancy byConsider the cut between adjacent symbols made at one node. If its left side is heavier, moving its last symbol to the right must not improve the chosen cut. Writing , this says , which implies ; when the left side is a singleton the same bound is immediate. If the right side is heavier, the corresponding argument gives . In all casesRecursive subdivision of contiguous blocks uses each original gap exactly once. Summing over the gaps therefore givesproving . If probabilities are already nonincreasing, each maximum is and the improved bound is . Thus the sorted version has expected length less than , although it need not be optimal. For one symbol the assertions hold directly. This is the Fano slice code redundancy bound.
New to topics? Read the docs here!