Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-1/3i/b/iii/solution
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 1 3I b iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The binary entropy isThe Shannon source coding theorem requiresfor the standard Shannon construction, while every prefix code obeys the lower bound. Numerically,Thus both codes satisfy the theorem, with the Huffman code closer to the entropy lower bound.
New to topics? Read the docs here!