Coefficient extraction 2026-10-05
Coefficient extraction is the linear operation selecting the coefficient of a specified monomial from a polynomial or Laurent polynomial. Multiplying by the inverse of that monomial reduces the operation to taking a constant term. The coefficient form of the Combinatorial Nullstellensatz expresses certain coefficient extractions as weighted sums of evaluations on a finite product set.
For power series and , their function composition is well defined as a formal power series: the coefficient of receives contributions only from , since has zero constant term. For , expand the coefficient as
The term is one for and zero otherwise. The first four coefficients of the function composition are therefore , , , and . For convergent power series, the same calculation holds wherever lies inside the radius of convergence of .
Constant polynomial 2026-10-25
A polynomial consisting only of a constant term. Over an integral domain, a nonzero constant polynomial has polynomial degree zero; it is a unit of the polynomial ring exactly when its value is a unit of the coefficient ring.
Generating function Created 2026-10-07 Updated 2026-10-14
A generating function packages a sequence into a series so that operations on objects become operations on their encodings. An ordinary generating function uses the power series ; in counting problems, the coefficient records the number of objects of size . The variable initially marks size: it need not be assigned a numerical value. Coefficient extraction writes this recovery as . One compact expression can therefore answer infinitely many counting questions, while explaining how their answers fit together.
Start with two contributions: choose from and from , with exactly one option at each allowed value. Their individual ordinary generating functions are the polynomials and . To count ordered pairs by total , multiply:
The coefficients count the ways to obtain totals zero through three. For total two, the possibilities are and ; the two corresponding monomials both contribute . There are six ordered pairs altogether, agreeing with .
Figure 1.
Polynomial multiplication groups six ordered choices by their total contribution
. Details.
If the first contribution has two distinguishable choices when , replace by . Its product with becomes . The coefficients now carry multiplicities as well as possible totals; the exponent still records cost. This lets the same construction handle several actions with identical costs without losing their separate identities.
In general, the Cauchy product gives
For each split of the total size, the rule of product counts the choices of the two components; summing over those splits counts all possibilities. This requires each combined object to have a unique decomposition into the two components. The same idea works for costs, lengths, or other additive measures, not just the number of pieces. See MIT 18.310, generating functions, sections 1–2.
Now cover a board of length with tiles of lengths one and two, without gaps or overlaps. Let count these tilings. There is exactly one empty tiling, so , and . Removing the first tile leaves a board shorter by one or two, giving the recurrence relation
These are the Fibonacci numbers shifted by one index: under the convention , . Keeping the empty tiling is essential to both the counting rule and the resulting ordinary generating function.
Figure 2.
Length-one and length-two tiles give five coverings of a length-four board and the Fibonacci recurrence
. Details.
For , the empty board or a first tile followed by a remaining tiling gives
Equivalently, : each factor chooses one tile, and counts pieces while the exponent of records total length. The same ordinary generating function counts ordered histories of two repeatable actions costing one and two units. Histories and differ despite having the same total cost. MIT's notes use dots and dashes with these costs, including the empty message. [ref]
These identities hold in formal power series algebra: each requested coefficient uses only finitely many contributions. The repeated-choice expansion is legitimate because has zero constant term; a zero-cost repeatable action would allow infinitely many histories of the same size. Numerical evaluation separately requires a convergent series. Here the radius of convergence is , the reciprocal of the golden ratio. At , the rational function equals , but the counting series diverges: that value cannot represent its sum.
Other generating functions change the encoding: an exponential generating function divides by factorials, while a Dirichlet series uses . A counting generating function also differs from a probability generating function, whose coefficients must be nonnegative and sum to one.
A noncommutative formal power series is an element of a noncommutative formal power series ring. Its constant term is the coefficient of the empty word. Formal sums are interpreted coefficient by coefficient; analytic convergence is not required.
We construct a cube root of a matrix on each Jordan block. Since is an invertible matrix over the complex numbers, its Jordan normal form is
Consider one block , where is a Nilpotent Jordan block and . Choose a complex cube root of , so .
We need a polynomial with constant term one satisfying
This can be constructed using only polynomial multiplication. Write . Once have been chosen, the coefficient of in is plus an expression depending only on those earlier coefficients. Choose to make this coefficient one at and zero at . Division by three is possible over the complex numbers, so the recursion always succeeds. Its first coefficients are
This is the truncated binomial cube root of the identity plus a nilpotent matrix; equivalently , where the generalized binomial coefficient is and the empty product is one.
Substitute . The polynomial remainder is a multiple of , hence zero. It follows that
For , take , so the same construction covers single-entry blocks. Assemble the block diagonal matrix . Taking matrix powers respects these blocks, and conjugating back gives
Thus every invertible matrix over the complex numbers has at least one cube root of a matrix. The construction uses only finitely many matrix powers.
Work in the prime field and set . We will choose , use the other to enumerate , and ensure that the first values of are distinct. The zero-sum condition will then force the last value to be the missing field element.
Consider the polynomial
It has total degree of a polynomial . Its terms of highest total degree form the homogeneous polynomial given by the square of the Vandermonde determinant, . For coefficient extraction we need the coefficient of ; lower-degree terms of cannot contribute to it.
Apply the Dyson constant-term identity from part (i) in variables, with every exponent equal to one. Pairing its factors for gives
The constant term is . Thus the desired coefficient is
since none of is zero in the prime field.
For completeness, the coefficient form of the Combinatorial Nullstellensatz, also called the Alon-Tarsi lemma, says that if and each finite set in a field has size , then
To justify this formula, the univariate Lagrange interpolation polynomial coefficient functional kills powers below and takes the value one on . Apply the product of these functionals to each monomial of . Every monomial of total degree at most other than the target has some exponent below the corresponding , so it is killed. The target survives with coefficient one. In particular, a nonzero target coefficient ensures a point of the product set where is nonzero.
Use and for every . The degree bound holds with equality, so there is with . Its first factors ensure that the are distinct; its second factors ensure that , , are distinct. With , the enumerate the whole prime field.
Let be the unique field element missing from , and write . Since ,
The same sum is , hence . Taking completes the enumeration. We have proved zero-sum sequences as differences of permutations of a prime field:
No distinctness assumption on the was used. The argument also includes : then , the products defining are empty and equal to one. Keeping explicit avoids assuming that the sum of all field elements is zero, which would fail for .
Let denote the constant term, retaining the dimension as a subscript when it changes. We use the Good recurrence for the Dyson constant term. For algebraically independent variables, Lagrange interpolation polynomial applied to the constant polynomial one gives
At , this becomes the rational identity
When every , multiplying by the given Laurent polynomial cancels one factor in row of the product and gives
This is a polynomial identity after cancellation; no choice of an expansion of a rational function is involved.
The boundary case is essential. If , the factors in row are absent. The only factors involving are then for , and all their powers of are nonpositive. To obtain power zero in , one must select the constant term one from each of them. Taking the constant term in therefore deletes that variable and exponent:
For , the empty product is one, so . The all-zero exponent vector also gives one.
Now put , where . This multinomial coefficient obeys the same deletion rule for a zero exponent. For positive exponents,
Induction on , and within each dimension on , consequently determines uniquely and identifies it with . This proves the Dyson constant-term identity:
View as a noncommutative formal power series ring, and let take the coefficient of the empty word. This is a ring homomorphism, since the empty word has only the factorization . In particular the two-sided ideal generated by lies in .
In fact . Every noncommutative formal power series with zero constant term can be partitioned according to the first letter of its words and written
Both summands belong to the two-sided ideal .
For , define the formal geometric series
This defines an element of : since has zero constant term, every word in has length at least . Thus the coefficient of a fixed word of length receives contributions only from , each a finite sum.
For each finite partial sum , associativity gives both identities
In every fixed word degree the last term vanishes once is large enough. It follows coefficient by coefficient that . Hence
The argument is formal and uses no analytic convergence. More generally, every noncommutative formal power series with a nonzero rational constant term is a unit, after factoring out that scalar. This is the unit criterion for noncommutative formal power series.
Take . We first check that this noncommutative formal power series ring is a noncommutative domain. For nonzero , let be the smallest lengths of words with nonzero coefficients in , respectively. Their degree- and degree- parts are nonzero homogeneous polynomials in the free associative algebra.
Choose words with nonzero coefficients in . In , the coefficient of is the product of those two coefficients: a word of length has a unique splitting into a prefix of length and a suffix of length . This product is nonzero in . The degree- part of is exactly , since all lower parts of and vanish. Thus , proving that is a noncommutative domain.
By the defining property of the free associative algebra, there is a ring homomorphism
The same substitution defines a ring automorphism of , with inverse , . Composing this ring automorphism with the natural inclusion proves that is injective.
Finally,
Their constant terms are , respectively, all nonzero. By the unit criterion for noncommutative formal power series proved in c, all four elements are units. Therefore and have every required property. The embedding changes the images of the generators, so the failure of the original monomial left Ore set in b presents no obstruction.
We prove the stated Eisenstein criterion directly. Assume . Suppose in the polynomial ring . Since the principal ideal domain is an integral domain, polynomial degree is additive under polynomial multiplication, and the product of the leading coefficients of is the leading coefficient of . These two coefficients are therefore units. Multiplying and by inverse units, without changing their product, makes both factors monic polynomials.
If either factor is a constant polynomial, that factor is now , so the original factor was a unit. It remains to rule out and .
The prime element generates a maximal ideal in the principal ideal domain . Indeed, if , then , and the irreducible element property of forces either or . Consequently is a field. Apply reduction modulo an ideal to every coefficient. The monic polynomial factors retain their polynomial degrees, and the hypotheses give
The polynomial ring over a field is a unique factorization domain, and is an irreducible polynomial. Thus its only monic polynomial divisors in are powers of . Hence and . Both have zero constant term, so and . This gives , a contradiction.
The monic polynomial has positive polynomial degree, so it is a nonzero nonunit. Every factorization therefore has a unit factor, proving
A noncommutative formal power series over a field is a unit exactly when its constant term is nonzero. Necessity follows because the constant term is a ring homomorphism to the coefficient field. For sufficiency, write with and of zero constant term. The formal geometric series is well-defined because only can contribute to a word of length . Its left and right products with are , by the finite geometric-series identity in each fixed degree. Multiplying by gives the inverse of .