BCH code Created 2026-09-24 Updated 2026-11-05
Let be a finite field, let be coprime to , and choose an element of multiplicative order in an field extension. A BCH code of length , starting exponent , and design distance is the cyclic code whose generator polynomial of a cyclic code iswhere is the algebraic minimal polynomial of over . Equivalently, is the least-degree monic polynomial over the base finite field vanishing at consecutive powers. This least-degree condition distinguishes the BCH code from its proper cyclic code subcodes with additional zeros. The BCH bound gives minimum Hamming distance at least .
For example, over the field with two elements, let and let be a polynomial root of . The roots and have the same algebraic minimal polynomial, so and give , a Hamming code of length seven.[ref]
Shift-Register Synthesis and BCH Decoding by James L. Massey. Sections IV–V: BCH codes and synthesis-based decoding
Berlekamp-Massey algorithm Created 2026-09-24 Updated 2026-11-05
The Berlekamp-Massey algorithm finds a shortest linear recurrence consistent with a finite sequence over a field. It returns a register length and a connection polynomial such thatMissing coefficients are zero; for a finite prefix the polynomial degree of can be less than . The output describes the shortest recurrence for the observed prefix, rather than proving how an unknown infinite sequence continues.
Initialize , , , and . At index , compute the discrepancy . If , increase by one. Otherwise save and replace by . If , also set , , , and ; if , only increase . The saved discrepancy cancels the current failure of the linear recurrence, while the update of accounts for the extra memory it requires.[ref]
Shift-Register Synthesis and BCH Decoding by James L. Massey. Sections II–III: register length, discrepancy, and synthesis algorithm
For the binary prefix , the result is and , corresponding to over the field with two elements. This is useful both in analyzing a linear-feedback shift register and in constructing a BCH code error-locator polynomial.
Carryless multiplication 2026-10-20
Carryless multiplication treats binary digits as coefficients of a polynomial over the field with two elements. Products are formed by polynomial multiplication, with exclusive or combining equal-degree terms instead of carrying to the next binary position.
Cyclic redundancy check Created 2026-10-31 Updated 2026-11-05
A cyclic redundancy check represents a bit string as a polynomial over the field with two elements and uses a polynomial remainder as checking information. Agree on a monic polynomial of polynomial degree with constant term . Under the basic systematic convention, a message polynomial producesHere , and addition equals subtraction over the field with two elements, so divides the transmitted polynomial . The receiver tests the polynomial remainder on division by the same CRC generator polynomial.
For example, and give and . If an error polynomial changes to , the error is undetected exactly when divides . Thus the CRC generator polynomial controls which bit-error patterns the cyclic redundancy check detects. This basic convention fixes the mathematics; implementations can additionally specify initial register contents and bit-order conventions.
Dual of a Reed-Muller code Created 2026-09-24 Updated 2026-11-05
For , the standard binary bilinear form givesIndeed, the product of representing polynomials has polynomial degree at most . Each square-free monomial in that product omits at least one of the variables and therefore takes the value an even number of times on . Summing the product over all evaluation points gives zero in the field with two elements, proving orthogonality. The dimensions of the two Reed-Muller codes add to , by the symmetry , so containment is equality.
At , the Reed-Muller code is the full vector space and its dual code is zero. The same displayed identity holds if denotes the zero code, as in the boundary convention for Reed-Muller codes.
Feedback-polynomial parity condition for maximal period Created 2026-09-24 Updated 2026-11-05
For a binary linear-feedback shift register of length , a feedback polynomial with maximal period cannot have as a polynomial root. A root at would make the nonzero all-one state fixed, whereas maximal period requires all nonzero states to lie in one cycle of length greater than one.
Writing the monic polynomial as , this givesOver the field with two elements, an even number of the feedback coefficients must therefore equal one, and has an odd number of nonzero coefficients. This is a necessary condition, not a sufficient test for a primitive polynomial. The restriction matters: for , has maximal nonzero-state period despite having as a polynomial root.
Field with two elements Created 2026-10-20 Updated 2026-11-05
The field with two elements is , with elements and arithmetic modulo two. Its only nonzero element is its own multiplicative inverse; in particular, and . These rules satisfy the field axioms.
Interpreting as bits, addition is exclusive-or and multiplication is logical conjunction. For instance, in the vector space . This makes linear algebra over the field with two elements useful for binary linear codes and parity constraints.
Represent the data bits, most significant first, by a polynomial whose polynomial coefficients lie in the field with two elements . Here addition and subtraction are both exclusive or, with no carries. Choose a fixed CRC generator polynomial of polynomial degree , with leading and constant polynomial coefficients one. Both endpoints know and the bit ordering.
Multiply by , which appends zero bits. Use polynomial division to obtainReplace the appended zeros by the bits of the polynomial remainder , retaining leading zeros when necessary. The transmitted polynomial isThe last equality holds because adding cancels the existing polynomial remainder in the field with two elements. It is the simple systematic cyclic redundancy check convention used here; practical variants can add agreed initialization and final transformations.
The receiver divides the entire received polynomial by . A nonzero polynomial remainder detects corruption. If the received word is , where the ones in the error polynomial mark flipped bits, its polynomial remainder is . Thus the undetected nonzero errors are exactly the multiples of ; a zero result does not prove that transmission was error-free. Operationally, polynomial long division repeatedly cancels a leading one using a shifted copy of , implemented with exclusive or operations.
All the following polynomial coefficients and sums lie in the field with two elements, so . For the constant polynomial,For the linear polynomial, subtracting the leading multiple means adding it:For the quadratic polynomial, first cancel using , leaving ; then cancel using . ThusThe requested polynomial quotients and polynomial remainders are thereforeFor a general polynomial , write with constant . Since , polynomial evaluation at gives . This is the polynomial remainder theorem with in the field with two elements. HenceThe polynomial remainder is precisely the parity bit obtained by taking the exclusive or of all the polynomial coefficients.
Let . With CRC generator polynomial , the appended check has one bit. The preceding polynomial remainder rule gives , so put in the field with two elements. The eight transmitted bits areThey have even Hamming weight, so this cyclic redundancy check is a single parity-check code. For a substitution error polynomial , detection occurs exactly when : an odd number of the eight bits, including the check bit, have flipped. ThereforeIn particular, every single-bit error is detected, while flipping any two distinct bits passes this check. This conclusion assumes that the eight-bit word's boundaries and length are retained; it supplies no general protection against insertions, deletions or lost framing.
Past exam of the introduction to schemes course of the University of Oxford 2017 1 b Solution 2026-10-25
No. Let be the field with two elements, put , and take the closed immersioninduced by the ring homomorphism with .
For every field , a ring homomorphism must send to zero: , and a field has no nonzero nilpotent elements. Consequently factors uniquely through . Passing from ring homomorphisms to morphisms of schemes between affine schemes gives a bijectionThis concerns all morphisms of schemes, without requiring them to be over : if does not have characteristic two, both sets are empty; otherwise each contains exactly one element.
Nevertheless, is not an isomorphism of schemes. Its map on global sections is , whose kernel of a ring homomorphism contains the nonzero element , so is not a ring isomorphism. The target is the nonreduced scheme defined by the dual numbers, whereas the source is a reduced scheme. This illustrates why field-valued points do not detect nilpotents.
Polynomial multiplication parity-check matrix Created 2026-10-14 Updated 2026-11-05
Let over the field with two elements and write . In the quotient ring , multiplication by is represented on coefficient column vectors by the circulant matrixThe kernel is a cyclic code, because multiplication by preserves the condition .
More precisely, set and write , , with and coprime polynomials. Then if and only if . Hence the kernel is generated by , has dimension , and has rank . Selecting independent rows of therefore gives a parity-check matrix for this cyclic code, even when was not supplied as a canonical check polynomial. If for a divisor of , the kernel is exactly the cyclic code generated by .
// Target: algebra.bigb
Polynomial sieve Created 2026-10-20 Updated 2026-11-05
A polynomial sieve enumerates irreducible polynomials by marking polynomials divisible by smaller irreducible polynomials, analogously to a number-theoretic sieve. Over a finite field , there are only monic polynomials of each polynomial degree , so one can sieve all monic polynomials through a prescribed degree .
Process monic polynomials in increasing polynomial degree. Each unmarked nonconstant polynomial is irreducible; mark its monic polynomial multiples through degree . Every reducible polynomial of degree at most has an irreducible polynomial factor of degree at most , so these factors suffice. For example, over the field with two elements, the degree-one factors and mark , and . The remaining monic quadratic is irreducible. This gives small defining polynomials for constructing finite fields as quotient rings.
Reed-Muller code Created 2026-09-24 Updated 2026-11-05
For integers and , the binary Reed-Muller code evaluates polynomials of total polynomial degree at most on all points of . Evaluation allows every polynomial to be replaced by a square-free one, using on the field with two elements. Its parameters areThe dimension counts the independent square-free monomials of polynomial degree at most . The minimum Hamming distance follows inductively from the decomposition , with and . A product of coordinate variables attains weight .
For boundary conventions, put when , and when . The displayed parameter formula is asserted for ; in particular is a repetition code.