Past exam of the mathematics course of the University of Cambridge 2007 ii Paper 1 11G Solution Created 2026-09-24 Updated 2026-10-14
For binary linear codes of length , the bar product of binary linear codes is . The parametrization is injective and linear, so its dimension is . If , a nonzero word has Hamming weight at least ; if , . Taking and of minimum weight showsFor , the inner product of and is , since . The spaces have complementary dimensions, proving .
Define the Reed-Muller code by evaluating all multilinear polynomials of total degree at most at the points of . The squarefree monomials are independent functions, giving dimension . Splitting according to the last variable gives the Reed-Muller bar-product recursion , with the endpoint codes interpreted in the usual way. The distance recursion gives .
To identify the Dual of a Reed-Muller code, multiply a monomial of degree at most by one of degree at most . The product omits some variable, so its sum over is even and its binary inner product is zero. The binomial dimension identity then gives
Past exam of the mathematics course of the University of Cambridge 2009 ii Paper 2 12H Solution Created 2026-09-24 Updated 2026-10-14
The standard name is the Reed-Muller code. For , evaluate all multilinear polynomials over of total degree at most at every point of . These evaluation vectors form , of length . Distinct multilinear polynomials have distinct evaluations: induct on the variables using and the two restrictions . Thus the monomials of degree at most are independent andFor minimum weight, use the same splitting. A nonzero has weight at least by induction, and . If , the two identical halves give the same lower bound by induction on . The endpoint has minimum weight one, and is the repetition code. A product of distinct variables has exactly nonzero evaluations, soHere distance equals minimum nonzero weight because the code is linear.
Every monomial of degree at most in variables has an even number of ones, and parity is additive over . Thus every word of has even weight. If and , their coordinatewise product is an evaluation of degree at most , even after reducing . Its weight is therefore even, so . This proves the asserted inclusion in the dual code. Finallyby binomial symmetry. The dimensions agree with that of the orthogonal complement, proving for .
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 4 3G Solution Created 2026-09-24 Updated 2026-10-06
Work over the finite field . Reduce polynomials modulo , so their monomials are square-free. The binary Reed-Muller code consists of the evaluation vectors of polynomials of degree at most at all points of , in a fixed order. This is a linear code of length and dimension , for . Square-free monomials give independent evaluation functions, as follows inductively by splitting according to the last variable.
The minimum Hamming distance of a linear code equals its least nonzero Hamming weight. The result isHere is the repetition code, while is the full binary vector space and has distance one. For the induction step, write , where and . Its evaluation vector is , the Reed-Muller bar-product recursion. If , its nonzero Hamming weight is at least , with the full-space endpoint treated as above. If , every position where contributes exactly one to the sum of the two weights; hence the weight is at least . The monomial is one exactly on points, attaining the bound. Degrees greater than give the same full code; the zero code at negative degree has no nonzero word whose weight could define a finite minimum.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 1 11H Solution Created 2026-09-24 Updated 2026-10-03
For length- binary linear codes , their bar product of binary linear codes isThe map is injective and linear, soIf is the minimum distance of , thenFor this is at least ; for a nonzero word has weight at least . Words and attain these bounds, proving
A parity-check matrix for a code is a matrix satisfying . A pair belongs to exactly whenThus a parity-check matrix isThis is the parity-check matrix of a bar product.
The Reed-Muller code is the length- binary code obtained by evaluating every square-free polynomial in Boolean variables of degree at most on all points of . Equivalently,The square-free monomials form a basis, soA word in evaluates an affine function . The two constant functions have weights and . Every nonconstant affine function takes each value equally often, so all other codewords have weight .
Past exam of the mathematics course of the University of Cambridge 2024 ii Paper 3 3K a Solution Created 2026-09-24 Updated 2026-10-03
The Reed-Muller code is spanned by the evaluation vectors of the square-free monomialsform a basis: every Boolean function has a unique algebraic normal form, so the monomials remain independent after evaluation on . ThusInduction using the decomposition , with and , gives the lower bound for every nonzero weight. The monomial attains it, so the minimum distance is