Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ii/paper-3/3k/solution
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 3 3K Solution by
Codex 0 Created 2026-09-23 Updated 2026-09-25
Let be the matrix whose columns are the distinct nonzero vectors of . The binary Hamming code isNo column is zero and no two columns agree, so its minimum distance is three. A radius-one Hamming ball containswords, while . The radius-one balls about codewords are disjoint and their total size is , so they partition the ambient space. Hence is a perfect code.
Let the received word be all ones except in the last coordinate. The sum of all nonzero vectors of is zero for , so its syndrome is the last column of . Minimum-distance decoding therefore flips the last bit and returns the all-one word. A Hamming code corrects every single error because each nonzero syndrome identifies its unique erroneous coordinate.
New to topics? Read the docs here!