Coefficient extraction recovers every probability mass:
Indeed, termwise differentiation of a power series is valid inside ; evaluating the th derivative at zero kills every term except . Thus two probability generating functions with the same coefficients describe the same probability distribution, without any finite-moment assumption.
At one, approach along the real line from below. For each positive integer , termwise differentiation of a power series followed by the monotone convergence theorem gives the factorial moment
For integer , set . The limit may be infinite; it is a finite boundary value only when the corresponding factorial moment is finite. In particular, a finite first moment gives
and a finite second moment gives
The variance formula follows from . These are boundary limits of derivatives; they do not assert that the probability generating function extends smoothly through one.
For a nonnegative integer-valued random variable, its moment-generating function satisfies wherever finite. The guaranteed probability generating function domain therefore supplies finite values for real ; it does not guarantee positive exponential moments or a finite moment-generating function on a neighborhood of zero. Bounded nonnegative integer-valued random variables have polynomial probability generating functions, but their convenient behavior is not a general existence theorem.
Constant term Created 2026-10-05 Updated 2026-10-06
The constant term of a Laurent polynomial is the coefficient of the monomial with exponent zero in every variable. Taking the constant term in just one variable leaves a Laurent polynomial in the other variables; successive extractions recover the full constant term. This operation is linear, but need not preserve products. The Dyson constant-term identity is a multivariate example of coefficient extraction.
Exponential generating function Created 2026-10-07 Updated 2026-10-20
An exponential generating function encodes a sequence using . For labelled counting, is the number of structures on a fixed set of distinct labels. Labels distinguish otherwise similar objects: changing which person belongs to a group can change the structure. Recover the count by coefficient extraction as . The raw coefficient is , not .
The factorial makes multiplication account automatically for distributing labels. To combine an -structure on labels and a -structure on the remaining , choose the first label subset in ways, then choose the two structures. The binomial coefficient counts how the two groups of labels interleave within the full label set. Thus
The normalization works because . This explains the usefulness of exponential generating functions for labelled counting: an ordinary Cauchy product would omit the choices of labels. See Peter Magyar, Math 482, notes for 2/7, labelled product principle.
For a concrete example, there is one undecorated set on any given collection of labels. Its exponential generating function is the exponential function . Combine a red set and a blue set, allowing either to be empty:
Every label independently receives one of two colours, giving assignments by the rule of product. With three labels, the counts by number of red labels are , totalling eight. Choosing only the two group sizes would give the four possibilities ; it would forget which labels are red.
Indeed, the ordinary generating function for the constant sequence is the geometric series . Its square has coefficient , counting pairs of nonnegative sizes. Both encodings are correct for their respective questions. The decision is whether identity matters when objects are combined.
For unordered sets of labelled components of positive size, an exponential generating function becomes : the term forgets the ordering of components. The existing rooted-tree generating function develops the richer example . A labelled rooted tree consists of its root of a tree and an unordered set of smaller labelled rooted trees, connecting the same label-distribution mechanism to recursive counting.
Gaussian binomial coefficient Created 2026-10-13 Updated 2026-10-20
A Gaussian binomial coefficient refines an ordinary binomial coefficient into a polynomial that remembers a size statistic. For nonnegative integers and , write
The product represents a polynomial; it is not an instruction to divide by zero when or a denominator vanishes. The Gaussian binomial coefficient recurrence gives a way to compute it with only addition and multiplication. The empty product for is one, and as well. Setting after obtaining the polynomial recovers .
For example,
At this gives six objects, but its coefficients reveal how those six objects are distributed across sizes : there are two of size two and one of each other size. The lattice-path interpretation of Gaussian binomial coefficients makes that information visible. Take unit steps north or east from to . A north step at horizontal coordinate contributes shaded cells to its left. The six step words have total shaded areas .
Figure 1.
The six lattice paths counted by , weighted by the number of shaded cells
. Original exact enumeration of paths with two north and two east steps. Reading shaded row lengths from top to bottom gives a partition in a rectangle. Equal-sized diagrams contribute to the same coefficient. Details.
This is useful because an aggregate count can hide the feature one actually wants. A generating function retains the distribution of a statistic, so coefficient extraction answers questions such as “how many allowed diagrams contain exactly two cells?” The partition interpretation of Gaussian binomial coefficients makes every coefficient a nonnegative integer without relying on cancellation in the product formula.
An unexpected second use comes from linear algebra. If is a prime power, the value counts the -dimensional vector subspaces of . Thus the same expression that counts six paths at counts 35 two-dimensional subspaces of at . The Gaussian binomial coefficient counts finite-field subspaces article explains why selecting a vector subspace differs from selecting a subset of coordinates. [ref]
This relationship illustrates a q-analogue: the parameter can encode a statistic in one interpretation and the size of a finite field in another. Here denotes the formal variable, while denotes a finite field's cardinality when we evaluate the polynomial. The interpretation using a finite field requires to be a prime power; evaluating the polynomial at an arbitrary number does not construct a field of that size.
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.
For integer partitions , set . A semistandard Young tableau on it has weakly increasing rows, strictly increasing columns and positive integer entries. Its weight is ; their sum is the Skew Schur function . Define
The Jacobi–Trudi identity, including its skew form, is
where is any common padded length at least . Taking empty gives the ordinary Schur function formula.
For a proof, first use finitely many variables . A directed northeast path from to has one horizontal step for each unit of the horizontal displacement. Give such a step at height weight , and vertical steps weight one. The weakly increasing sequence of step heights shows that the sum of its weights is .
The determinant result needed is the nonintersecting lattice-path determinant: in an acyclic weighted network, the determinant of the single-path sums is the signed sum over vertex-disjoint path families, with sign the permutation of the paired endpoints. To prove it, expand the determinant and its products of path sums. An intersecting family has a first intersection in a fixed topological order. Choose the first two indexed paths there and swap their tails. Their total weight stays the same, their endpoint permutation changes by one transposition, and the operation is its own inverse. All intersecting families cancel. Only the disjoint families remain.
In this planar network the starting and finishing points occur in the same strict left-to-right order, so disjoint paths have identity endpoint pairing. For the path in row , associate its horizontal step from coordinate to with cell . Reading its height gives the tableau entry. Weak increase follows from northward movement; nonintersection with the path for the next row is exactly the strict column condition. Conversely a tableau constructs the paths, and the strict column inequalities keep them disjoint. This weight-preserving bijection proves the determinant formula. Arbitrary gives its stable symmetric function version.
The dual determinant will also be useful below. Allow steps or , assigning weight to a diagonal step reaching level . A single path uses distinct levels, so its sum is the elementary symmetric function , rather than . The same cancellation proof leaves tableaux with strict rows and weak columns. Transposing them gives
with and for .
Put . A squarefree weight in uses every label once, so it is counted by the number of standard skew Young tableaux. In one determinant product , the signed permutation gives . If any the product is zero; otherwise the squarefree coefficient is the number of ways to distribute the distinct labels into groups of sizes , namely . Coefficient extraction therefore gives the standard skew tableau determinant
Negative factorial arguments mean zero entries, and . The empty skew shape has count one, as this convention requires.
Use the corrected generating series of the Kostant partition function and the permitted Weyl character formula:
For a fixed , the coefficient of arises exactly when
There are only finitely many Weyl-group terms, and the partition function vanishes outside the cone of nonnegative root combinations. Coefficient extraction is therefore legitimate in the formal completion used in the preceding part. Summing the signed contributions proves
This proves the Kostant multiplicity formula for every compact connected Lie group, not just the unitary groups. In the presence of a central torus, roots have zero central component, so the partition function automatically gives zero for any incompatible central weight. Also need not itself be an integral weight for the given global group: always belongs to the root lattice, so every argument in the formula is nevertheless integral whenever and are integral group weights.
As a normalization check, for write a highest weight as the nonnegative integer , with positive root and . The two Weyl-group terms give
Since precisely when is even and nonnegative, this is one for and zero otherwise, including the cancellation below the lowest weight. This recovers the full familiar weight string.
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 .