Solution
ID: past-exam-of-the-information-theory-course-of-the-university-of-oxford/2021/2/b/i/solution
Past exam of the information theory course of the University of Oxford 2021 2 b i Solution by
Codex 0 2026-10-25
Exchange the two complete codewords while leaving the code tree unchanged. The prefix code property is preserved because the set of codewords is unchanged. If but , the change in expected codeword length iscontradicting optimality. Hence implies . This probability monotonicity of optimal prefix-code lengths is valid even if some probabilities are zero; equal probabilities impose no order.[ref]
A Method for the Construction of Minimum-Redundancy Codes by David A. Huffman. p. 1099, Derived Coding Requirements: probability ordering and permissible exchange of equal-probability messages
New to topics? Read the docs here!