Formal derivative in positive characteristic Created 2026-09-24 Updated 2026-10-03
In characteristic , the coefficient in a formal derivative vanishes exactly when divides .
Forney algorithm 2026-10-14
For distinct error locations and the syndrome convention , the displayed formula recovers the error magnitudes from the error evaluator polynomial and error locator polynomial. At , the evaluator is , whereas the locator's formal derivative is . Their quotient gives the formula; the denominator is nonzero because the locations are distinct.
// Target: polynomial.bigb
Hasse derivative 2026-10-14
The Hasse derivatives of a polynomial are the coefficients in . A point has multiplicity at least exactly when for . Unlike iterated formal derivatives divided by factorials, this definition works in positive characteristic, where factorials can vanish. For example, in characteristic two has zero first formal derivative but nonzero second Hasse derivative.
// Target: coding-theory.bigb
Newton's identities 2026-10-14
Newton's identities let two different summaries of the same polynomial roots talk to each other. Elementary symmetric polynomials record products of distinct root positions; power sums record sums of individual powers, . Either can be easier to obtain in a particular problem. The identities turn one into the other, often avoiding any need to find the individual polynomial roots.
Write and for . For every positive integer , the identity is
It is a polynomial identity over the integers, so it remains true on substitution in any commutative ring. To solve it for by division, however, must have a multiplicative inverse. Over a field of characteristic zero, the first power sums recover every elementary symmetric polynomial. The same recovery works when the positive characteristic of a field is greater than ; small characteristic needs care.[ref]
The first three relations are , , and . When division by two and three is permitted, this becomes
For the three roots , their power sums are , , and . The formulas give and , recovering the polynomial from aggregate data.
Figure 1.
Three power sums reconstruct a cubic without assigning names to its roots
. Left: exact contributions of the stipulated roots to the first three power sums. Middle: Newton's identities recover , , . Right: the resulting monic polynomial has its three roots of a polynomial at the original values. These are algebraic examples, not inferred experimental data. Details.
The beauty is that the summaries do not depend on the order of the polynomial roots. In symmetric polynomials, one can work with quantities that survive every relabeling; in linear algebra, traces of matrix powers give the same kind of aggregate information about eigenvalues. The identities convert those summaries into coefficients of a characteristic polynomial.
A short derivation packages the identities into a formal power series. Let . Since its constant coefficient is one, it has an inverse as a formal power series, and its formal derivative satisfies
Multiply by and compare the coefficient of . This gives Newton's identities without a convergence assumption or division by . The division issue arises only when using them to recover . The logarithmic-derivative approach is also developed in Newton's Identities (January 2019 notes) by Milan Mossé (§4, pp. 6–8).
The alternate name Newton-Girard identities recalls Albert Girard's earlier work. A modern historical account credits formulas through sixth powers to Albert Girard in 1629 and discusses their later appearance in Isaac Newton's Arithmetica universalis.[ref] This citation refers to that account; the original historical editions have not been inspected here.
A nonconstant polynomial is separable when it has distinct roots in a splitting field, equivalently when it is coprime to its formal derivative. For such , Bézout's identity for polynomials gives with . This identity remains valid over any extension . A repeated root would satisfy , giving the contradiction . Thus there are no repeated roots in any field extension. The argument in fact applies to every separable polynomial, whether irreducible or not.
Let afford the character , and let be the order of a group element . Then , so its minimal polynomial divides . Over the complex numbers this polynomial has distinct polynomial roots, since its formal derivative does not vanish at any of its polynomial roots. Thus is diagonalizable, with eigenvalues that are roots of unity.
Each has absolute value one, so . The eigenvalues of are , giving
This is the character inversion identity.
Represent a word in the Hamming space by the polynomial . A cyclic code is a linear code invariant under the cyclic coordinate shift . Under this identification the shift is multiplication by modulo . A shift-invariant vector subspace is closed under multiplication by every polynomial, since such multiplication is a linear combination of shifts. It is therefore an ideal of
Conversely every ideal of is a vector subspace closed under multiplication by , hence a cyclic code. Invariance means equality under the shift, since applying it times is the identity.
Let be the inverse image of the code ideal under the quotient map . It contains and is nonzero. Choose a nonzero element of of smallest degree and scale it to a monic polynomial . For any , polynomial division gives with . Since , minimality forces . Thus and in particular
This is the required generator polynomial of a cyclic code; the divisibility direction in the printed formula is reversed. The quotient-ring modulus is , with denoting the multiplicative identity of the finite field. If , every codeword has a unique representative with . Indeed reduction of modulo gives this form, and two such products cannot differ by a nonzero multiple of because their difference has degree less than . Therefore
For the zero code the convention is and this basis is empty; for the full word space .
The zeros of a cyclic code are the polynomial roots of in a splitting field of . Suppose first that the characteristic of does not divide . The formal derivative of is , which has no common root with ; all roots of are therefore simple. If they are , then is equivalent to for all . A root-evaluation parity-check matrix of a cyclic code, written with checks as rows, is consequently
Its entries may lie in , rather than in the original finite field. To obtain a parity-check matrix over , choose a basis of over and replace each equation by the equations for all of its field coordinates. The resulting matrix has the same kernel , hence rank ; retain any independent rows. More economically, choose one root from each Frobenius conjugate orbit. For , , so checking one representative checks its whole orbit. Expanding that representative's equation in a basis of gives precisely the number of checks equal to its orbit length.
No coprimality hypothesis is stated in the question, so the repeated-root cyclic code case must also be distinguished. Distinct roots alone cannot determine these codes: in , the generators and have the same zero, but generate codes of dimensions one and zero. In general write in . The correct checks are
using Hasse derivatives. Indeed , so vanishing of the first coefficients is equivalent to divisibility by . A repeated-root parity-check matrix over thus has rows indexed by and entries
As before, expand to equations over and retain independent rows. The ordinary root-evaluation matrix is exactly the special case .
For the binary Hamming code, let , , and let generate the multiplicative group of a finite field . This is possible because that group is a cyclic group. Choose a basis of over . The coordinate columns of then run through every nonzero vector of exactly once. They are a parity-check matrix for a Hamming code, possibly after permuting the columns of a given Hamming matrix. Thus
is equivalent to the Hamming code. Multiplication by modulo multiplies its evaluation at by , so is a cyclic code.
The parity-check matrix has rank because its columns contain a basis. It has no zero column or repeated column, so no nonzero word of weight one or two is in its kernel. Two distinct nonzero columns have a nonzero sum, which is a third distinct column; these three columns give a word of weight three. Hence has parameters .
A polynomial over vanishes at exactly when it is divisible by its minimal polynomial of an algebraic element . The finite-field Frobenius automorphism gives all conjugates of as . Their orbit length is : if with , then the order of would divide , which is a smaller positive integer. Therefore the Hamming code as a cyclic code has
The last exponent here is . The printed exponent would give , which is not a root of the degree- irreducible minimal polynomial of an algebraic element for .
Put and . Evaluation at is surjective, and
so its kernel is the prime ideal . In particular is naturally an -module, generated by the classes of .
For integers , including negative integers, reduction modulo gives
For negative powers, this follows from and ; the mixed product vanishes modulo . Therefore a Laurent polynomial satisfies
The formal derivatives obey the product rule, so . If , both terms vanish. Hence both vanish on and define a map
It sends to and to , and the displayed expansion gives its inverse. Thus the conormal module has the explicit basis
Let be the localization at a prime ideal, with maximal ideal . Every nonzero integer lies outside and is therefore inverted. The residue field is
Indeed there is an explicit identification
inverting and has no effect in this local ring, and a polynomial denominator lies outside precisely when its constant term is nonzero. Conversely, clearing rational denominators turns every such fraction into a fraction from .
For the Krull dimension, the prime ideal correspondence for localization preserves the strict chain
of prime ideals in . They are prime because the successive quotients are the integral domains , , and . They remain distinct after localization at a prime ideal because they are all contained in . Hence .
For the upper bound, is a Noetherian ring by the Hilbert basis theorem and Localization of a Noetherian ring. Since is generated by two elements, the Krull height theorem gives . The prime ideal correspondence for localization identifies with , so
A Noetherian local ring with residue field is a regular local ring if
By the Nakayama lemma, the dimension on the left is the minimal number of generators of ; this is also called the embedding dimension.
The localization of a module is exact and commutes with quotients and products of ideals. Applying it to the already computed conormal module gives the cotangent space of a local ring
Its dimension is two, equal to . Therefore . Notice that has a basis over , whereas the localized cotangent space of a local ring has a basis over the residue field .
Let be a splitting field of over . Its formal derivative is
The assumption on the characteristic of says that in . Any root of is nonzero, and hence . Thus and have no common root, so is a separable polynomial. Since it has degree and splits over , it has exactly distinct roots. This is the separability of roots of unity.
Fix a primitive root of unity . Define the th cyclotomic polynomial by
It is monic and has degree given by the Euler totient function . Partitioning all th roots of unity according to their exact multiplicative order gives the cyclotomic factorization
We now prove by mathematical induction that . The base case is . If the result holds for every proper divisor of , then
is monic and belongs to . Polynomial division of by the monic integer polynomial produces a quotient and remainder in . The factorization over says that the remainder is zero and the quotient is , proving the claim.
It remains to prove irreducibility of cyclotomic polynomials. Let be a monic irreducible polynomial dividing , let be a root of , and write . We claim that is a root of for every prime number . Otherwise is a root of , so is a root of . Since is the minimal polynomial of over , Gauss lemma for polynomials gives
After reduction of an integer polynomial modulo a prime, the Frobenius endomorphism gives
Choose an irreducible factor of the nonconstant monic polynomial . Then , so . The cyclotomic factorization would then make divide over . This is impossible because its derivative is coprime to it when .
Thus for every prime . Iterating this fact over a prime factorization shows that whenever . These are all primitive th roots, so
Because divides , equality holds and . Hence every cyclotomic polynomial is irreducible over .
Finally, direct multiplication gives
Also
Applying the cyclotomic factorization to the two factors on the right gives
and therefore
Since , cancellation yields
The thirtieth cyclotomic polynomial is irreducible over by the theorem just proved, so is irreducible.
Using the assumed square-free polynomial property, factor
into distinct monic polynomials that are irreducible polynomials, with . Part (b)(iii) identifies with , where .
By the first isomorphism theorem for rings, the image from part (c)(i) is , where is the kernel of a ring homomorphism. By part (a)(ii), for ideals . A field has only the zero ideal and the whole field as ideals, so each is either or the zero ring. Consequently, for a subset ,
This is the quotient of a finite product of fields principle. The subset is nonempty because , whereas the zero ring has only one unit. By part (a)(i),
Each factor is a positive integer. Since is a prime number, exactly one factor is and all remaining factors are one. Thus
so is a Mersenne prime. If with , then would be a proper divisor of ; thus is itself a prime number, although only the displayed form is needed.
The assumed square-free polynomial property can also be checked directly: in characteristic of a ring two, the formal derivative of is because is odd. These two polynomials have greatest common divisor one, since does not divide , so no repeated irreducible polynomial factor occurs.
Write and in an algebraic closure, counting multiplicity of a root. The coefficient-row convention above gives
This makes the shared-root of a polynomial test transparent: a factor vanishes precisely when one equals one . Swapping the two polynomials reverses the sign of all differences, giving .[ref]
The value measures an algebraic product, not a normalized geometric distance. Replacing by for nonzero leaves its roots of a polynomial unchanged but multiplies the resultant by . Therefore a small numerical resultant alone does not quantify how close two sets of roots of a polynomial are. Exact zero testing and numerical sensitivity are different questions.
A multiple root of a polynomial is also a root of a polynomial of its formal derivative. In characteristic zero, for , the associated discriminant is
For example, gives and . The two roots of a polynomial merge precisely at .[ref]
For an algebraic element over a field of characteristic , suppose first that is a separable algebraic element. Its minimal polynomial over divides its original separable polynomial and also . It is therefore separable with only one distinct root, so has degree one and . Conversely, if the irreducible minimal polynomial is inseparable, its formal derivative vanishes and for some of degree . Thus , proving the converse.
If the characteristic of a field does not divide the positive integer , then is separable. Its formal derivative is , and a common root would have to be both nonzero and zero.
Separable polynomial Created 2026-09-24 Updated 2026-10-14
A polynomial over a field is separable when it has no repeated root in a splitting field. Equivalently, it is coprime to its formal derivative.
Sylvester matrix Created 2026-10-14 Updated 2026-10-18
For polynomials of polynomial degrees , the Sylvester matrix has shifted coefficient rows of followed by shifted rows of , using descending-power order. It is a square matrix of size . Its transpose represents the linear map with , ; its determinant is the resultant.
For an original parameter example, choose and . Then
The two lists of coefficients become three rows because is multiplied by both and . Thus the common-root parameter values are and . At , the resultant is , so the two polynomials have no common root.
Figure 1.
A Sylvester matrix tests when a moving root of a polynomial coincides with a fixed one
. Original example , . Left: the vertical dashed line marks the root of a polynomial of ; it does not make zero. Right: the same test for all parameters is the function graph of the resultant . A crossing between two arbitrary function curves would not suffice: both values must be zero. Details.
One can verify the certificate without any determinant expansion:
For , division by gives a Bézout's identity for polynomials. At , the identity instead becomes a nontrivial cancellation between multiples of two polynomials sharing the polynomial factor .
The general proof needs only a short linear algebra outline. A common polynomial factor gives a nonzero cancelling pair within the degree bounds, making the Sylvester matrix singular. Conversely, if are coprime polynomials and , then divides ; the bound forces and then . Thus the linear map has zero kernel of a linear map exactly in the coprime case. Over an algebraic closure, a nonconstant common polynomial factor is equivalent to a common root.
In 1840, James Joseph Sylvester described forming the shifted coefficient rows and taking a signed sum of products selected by permutations. In modern notation, this is the Sylvester matrix and its determinant. The construction turns the nonlinear common-root of a polynomial question into linear algebra. His paper's word derivatives concerns elimination, rather than the formal derivative used below.[ref]