Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2007/iii/paper-31/1/e/solution
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 31 1 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
A full binary tree has Kraft sum one. For example, place mass one at the root and divide each internal vertex's mass equally between its children; a leaf at depth receives , and the total mass on leaves remains one. Using part d gives the two equationsMultiplying the second equation by and subtracting the first gives the uniform-source Huffman length distributionIf , the first number is zero and every codeword has length . Otherwise both levels occur. The corresponding mean length is .
New to topics? Read the docs here!