Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 1 11K a Solution Created 2026-09-24 Updated 2026-09-25
A binary cyclic code of odd length is an ideal of . For a primitive th root , its defining set is the set of powers at which every code polynomial vanishes. A BCH code of design distance has consecutive powersin its defining set.
If a nonzero codeword had weight , write it as . Evaluation at consecutive defining roots gives a homogeneous Vandermonde system in the nonzero values . Its determinant is nonzero because the support elements are distinct. Thus every would vanish, a contradiction. This proves the BCH bound
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 3 3K Solution Created 2026-09-23 Updated 2026-09-25
Let be a primitive th root of unity in an extension of , where . A BCH code of length , initial exponent , and design distance is the cyclic code whose generator polynomial is the least common multiple over of the minimal polynomials ofThus every codeword polynomial vanishes at these consecutive powers.
Suppose a nonzero codeword has weight , withwhere the positions are distinct modulo and every is nonzero. The first root conditions giveThe coefficient matrix is a Vandermonde matrix in the distinct elements , followed by multiplication of its columns by the nonzero factors . Its determinant is thereforeHence all would be zero, a contradiction. The minimum distance consequently satisfies .
A code of minimum distance detects every pattern of at most errors and uniquely corrects every pattern of at most errors, because Hamming balls of that radius are disjoint. A BCH code of design distance is therefore guaranteed to detect errors and to correcterrors; its actual capabilities may be larger if .