Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 36 3 Solution Created 2026-10-03 Updated 2026-10-14
A root of unity over a finite field is an element satisfying , with ; the algebraic closure is essential because all roots need not lie in the base field. Write and , where . In characteristic ,The latter polynomial has distinct roots, since the derivative is nonzero at every root. Those roots are closed under multiplication and inversion and contain , so is a finite multiplicative subgroup of a field. The proof in the preceding solution makes it a cyclic group. In particularThis also explains why the coprimality qualification is needed.
The multiplicative group of a finite field is cyclic of order . It contains the entire group of th roots precisely when . For necessity, a generator of has order and Lagrange's theorem applies. For sufficiency, a cyclic group whose order is divisible by contains roots of ; since there are exactly roots in the algebraic closure, these are all of them. Hence the least positive extension degree isHere is the multiplicative order of the residue class of modulo . If is coprime to , replace by . Existence of this order follows because is a unit modulo .
A primitive th root of unity over a finite field has multiplicative order exactly . If , no such element exists, since all roots have order dividing . If , choose a generator of . The element has order , so it is primitive precisely when . Therefore there are primitive roots, with the Euler totient function.
If is primitive of order , then exactly when , equivalently . The implication from that equality to membership follows because the roots of form , as proved in the preceding solution. Consequentlyfor , and the degree is one for . This is also the length of the finite-field Frobenius automorphism orbit of .
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 36 4 Solution Created 2026-10-03 Updated 2026-10-14
A cyclic code of length over is a linear code invariant under . Associate the word with . The shift is multiplication by modulo , so shift-invariant linear subspaces are exactly the ideals of . The inverse image of such an ideal in is principal and contains ; hence it is generated by a unique monic divisor of . The code has basis , and dimension .
The defining zeros of a cyclic code are the roots of its generator in a splitting field. Since , each is a root of unity over a finite field. Every codeword vanishes at each such root. If the characteristic divides , root multiplicities must additionally be retained; in the Hamming construction below the modulus has no repeated roots.
The unrestricted ternary cyclic-equivalence assertion is false. At it would give a cyclic code. Butover , with the quadratic irreducible. A dimension-two cyclic code needs a degree-two generator, so its only possibilities are and . Each is a weight-two codeword. Therefore neither has minimum distance three, and no code equivalent to the ternary Hamming code can be cyclic. A valid general version of the asserted construction assumes odd . The usual distance-three Hamming parameters also require ; when the code is the length-one zero code.
Here is the construction with its precise qualification. A ternary Hamming code has a parity-check matrix whose columns represent each one-dimensional subspace of once. There are such subspaces. Its rank is , because the coordinate lines are included. Its minimum distance is at least three, because no column is zero and no two are proportional. For , two independent vectors and their sum determine three distinct columns, and, after adjusting their nonzero representative scalars, give a weight-three linear relation. Thus its parameters are . Permuting columns and changing their nonzero representatives produces a monomial equivalence of linear codes.
Take odd and choose of order . Since is odd, is not in the cyclic subgroup generated by . Hence lie in distinct one-dimensional -subspaces: a proportional pair would have ratio or , neither possible for two distinct powers in this list. By their number they represent all projective points. Consequentlyis monomially equivalent to the ternary Hamming code. Since , evaluation at descends to and its kernel is an ideal, so is cyclic.
The degree of over is . If it were , its generated field would have elements and its element order would givea contradiction. Its minimal polynomial of an algebraic element therefore has degree . Applying Frobenius to a polynomial relation shows that are its roots; they are distinct by the same field-degree argument. Their product polynomial is the monic minimal polynomial of an algebraic element, and it divides . ThusThis identifies all the defining zeros. For , , the defining exponents are modulo .
There is also a uniform construction for all , explaining the missing qualification. Let generate , which has order . The powers represent all projective points, since proportional powers differ by exponent or modulo . But , so the kernel of is an ideal modulo , a negacyclic code. Multiplication by gives , preserving its kernel. This code is always equivalent to the ternary Hamming code. If is odd, is odd too, and the substitution , or coordinate scaling , changes this negacyclic construction into the cyclic one. In fact then has order . These explicit constructions prove the qualified assertion rather than relying on a theorem name.
For decoding, use the printed matrix with received words as row vectors; the conventional parity-check matrix is . The received word's syndrome isA single-symbol error of value at position has syndrome , where is row of the printed matrix. HereTherefore subtract at the sixth coordinate, changing its received value to modulo three. The decoded codeword isIts syndrome is zero. The thirteen projective rows and the two nonzero scalars give all nonzero syndromes exactly once, so this is the unique codeword at distance one. It is the transmitted word under the usual assumption of at most one symbol error. If positions are designated check positions, their independent unit rows make the other ten symbols systematic data, namely .