Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 11G Created 2026-09-24 Updated 2026-09-29
A binary linear code of length and rank is a -dimensional vector subspace . Its minimum distance is the least Hamming weight of a nonzero codeword, equivalently the least Hamming distance between distinct codewords.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 3 3K a Solution Created 2026-09-24 Updated 2026-09-25
For binary length- linear codes , their bar product of binary linear codes isIt is a binary linear code of length and dimension .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 3I Solution Created 2026-09-23 Updated 2026-09-25
Write for the all-one column vector. The parity-check extension of a linear code isThe defining map is linear, so is a binary linear code. If is a generator matrix and a parity-check matrix for , then one may take
The punctured code in, say, the last coordinate isCoordinate deletion is a linear map, so is linear. Its generator matrix is obtained by deleting the last column of . If the minimum distance is at least two, deletion is injective on , and hence has the same dimension as .
For its parity-check matrix, first use invertible row operations on to make its nonzero last column a coordinate vector. The last column is nonzero because otherwise the weight-one word supported there would belong to , contrary to . Delete the pivot row and the last column; the resulting matrix is a parity-check matrix for . Equivalently, is obtained by shortening the dual code at the deleted coordinate.
Finally, the shortened code in the last coordinate isIt is linear whenever is linear, because it is the puncture of the subspace .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 3I a Solution Created 2026-09-24 Updated 2026-09-25
For the standard dot product on , the dual code isIt is an intersection of kernels of linear functions, and is therefore a linear code.
Let denote cyclic right shift. If and , thenA cyclic code is closed under both and , so and the right-hand side vanishes. Hence , proving directly that the dual of a cyclic code is cyclic.
Identify words with polynomials in . If the generator polynomial of a cyclic code is the monic divisor andthen the generator polynomial of is the monic reciprocalEquivalently, the parity-check polynomial of one code becomes, after reversal, the generator polynomial of its dual.
Past exam of the mathematics course of the University of Cambridge 2026 ii Paper 1 11H a Solution Created 2026-09-24 Updated 2026-09-25
Tetracode 2026-10-07
The two-dimensional ternary linear code generated by and . Its eight nonzero words have exactly three nonzero entries, with precisely two opposite words for each position of the zero coordinate.
Weight enumerator Created 2026-10-05 Updated 2026-10-07
The homogeneous weight enumerator of a length- linear code is the polynomialIts coefficients count words of each Hamming weight. In this convention ; some references interchange .