40.01.06 · combinatorics / enumeration-generating-functions

q-Analogues, Gaussian Binomial Coefficients, and the Combinatorics of Partitions

shipped3 tiersLean: none

Anchor (Master): Stanley 2012 *Enumerative Combinatorics, Volume 1* 2e (Cambridge) §1.7-1.8 and §3 (the q-binomial as a rank-generating function of the subspace lattice, q-Vandermonde, Durfee squares); Andrews 1976 *The Theory of Partitions* Ch. 2, 7 (Jacobi triple product, Rogers-Ramanujan); Andrews-Eriksson 2004 *Integer Partitions* Ch. 7-8 (Durfee squares, Franklin, Glaisher); Cauchy 1843 *Comptes Rendus* 17 (the q-binomial theorem); Gauss 1808 (the Gaussian binomial coefficient)

Intuition Beginner

You already know the binomial coefficient: counts the ways to choose things from , and it is the number on row , position of Pascal's triangle. This unit replaces each of those plain counts by a small polynomial in a bookkeeping letter . Setting in the polynomial gives back the ordinary count, but for other values of the polynomial remembers extra structure that the plain number forgot. An object built this way is called a q-analogue: same shape as the original, with a that tracks finer information.

The simplest q-analogue is the q-integer. Instead of the number , you use . Add up its terms at and you recover , since there are ones. Build a "q-factorial" by multiplying q-integers, and then a Gaussian binomial coefficient by the same recipe that makes the ordinary binomial from factorials. The remarkable fact is that this ratio always comes out as a polynomial in with whole-number coefficients that are never negative.

What do those coefficients count? They count partitions — ways of writing a number as a sum of pieces, drawn as rows of dots — that fit inside a fixed rectangle. So the Gaussian binomial is the one polynomial that displays, all at once, how many such partitions there are of each total size. The plain count "how many fit in the box" is the value at ; the polynomial sorts them by area.

There is one more surprise waiting at the next tier. Over a finite number system with elements, the very same Gaussian binomial counts something completely different: the number of -dimensional flat subspaces sitting inside an -dimensional space. One polynomial, two unrelated-looking counting problems — that coincidence is the heart of the subject.

Visual Beginner

A partition is drawn as a Ferrers diagram: rows of dots, one row per part, longest on top. "Fits in a by box" means at most rows and each row at most dots wide. The Gaussian binomial collects every such diagram, sorting them by how many dots they use: the coefficient of is the number of diagrams of exactly dots that fit in the box.

object plain version q-analogue (the polynomial) value at
the number
choose
choose
a partition's diagram a dot picture weight

Reading the third row: the six partitions fitting in a by box have dots, and grouping them by size gives the coefficients . The polynomial is the honest, size-aware version of the plain count .

Worked example Beginner

Let us build from scratch and check that its coefficients count partitions in a by box.

Step 1. Write the q-integers. . . . .

Step 2. Form the pieces of the ratio. The recipe is — the q-analogue of . So the numerator is and the denominator is .

Step 3. Divide. First, , since . So .

Step 4. Check by listing partitions in a by box. The diagrams with at most rows, each at most wide, are: the empty one ( dots); a single dot ( dot); a row of two ( dots); two single dots stacked ( dots); a row of two over a single dot ( dots); and the full square ( dots). Grouping by dot-count gives sizes , hence coefficients — exactly the polynomial from Step 3.

What this tells us: the Gaussian binomial is genuinely a count, sorted by size. Adding its coefficients () recovers the plain "how many fit", and the value at does the adding automatically.

Check your understanding Beginner

Formal definition Intermediate+

Throughout, is an indeterminate (or a complex number with when an infinite product must converge). Standard q-series notation is introduced here and recorded in _meta/NOTATION.md: the q-Pochhammer symbol with , the Euler function , and the q-binomial symbol defined below.

Definition (q-integer, q-factorial). For the q-integer is (with ), and the q-factorial is (with ). At these specialise to and .

Definition (Gaussian binomial coefficient). For the Gaussian (q-)binomial coefficient is $$ \binom{n}{k}_q := \frac{[n]_q!}{[k]_q!,[n-k]_q!} = \frac{(q; q)n}{(q; q)k,(q; q){n-k}} = \prod{i=1}^{k}\frac{1 - q^{n-k+i}}{1 - q^{i}}, $$ with for or . Although written as a ratio, it is a polynomial in (Key theorem below). At it specialises to . The symmetry is immediate from the factorial form, and corresponds to conjugating partitions across the box.

Definition (partition, Ferrers diagram, conjugate, rank). A partition of has Ferrers diagram the left-justified array of cells in row . The conjugate is obtained by transposing the diagram (rows become columns); . We say fits in the box, written , when and . The Durfee square of is the largest square fitting in the upper-left of the diagram, i.e. the largest with ; this is the rank-of-the-Durfee-square statistic. The rank of (in the partition-theory sense) is , the largest part minus the number of parts.

Definition (box generating function). For the box set , the generating polynomial weighting each fitting partition by its size. The central identification, proved next, is .

Counterexamples to common slips Intermediate+

  • " is the q-integer raised to a power, or some power of times ." It is neither: it is a genuine polynomial of degree whose coefficients are a non-constant sequence (e.g. ). Only its value at is .

  • "The two q-Pascal recurrences are the same identity written twice." They are genuinely different decompositions — one splits partitions by whether the last column is full, the other by whether the last row is full — and produce the asymmetric factors versus . Their equality is the conjugation symmetry, not a tautology.

  • " and make sense to evaluate at by substituting into the ratio." The ratio is at ; one must first simplify to the polynomial (or to the polynomial form of ) before substituting. The limit exists, but the unreduced quotient is undefined there.

  • "Counting subspaces of works for any ." The subspace interpretation requires to be a prime power, so that exists. For general the same polynomial still counts box-partitions, but there is no field and no subspace lattice.

Key theorem with proof Intermediate+

The signature theorem is that the Gaussian binomial is simultaneously a polynomial with non-negative coefficients and the generating function for partitions in a box, with the two q-Pascal recurrences as the bijective engine.

Theorem (polynomiality and the box interpretation). For and , the Gaussian binomial coefficient is a polynomial in of degree with non-negative integer coefficients, and $$ \binom{n}{k}q ;=; G{k,m}(q) ;=; \sum_{\lambda \subseteq k \times m} q^{|\lambda|}. $$ It satisfies the two q-Pascal recurrences $$ \binom{n}{k}_q = \binom{n-1}{k-1}_q + q^{k}\binom{n-1}{k}_q = q^{,n-k}\binom{n-1}{k-1}_q + \binom{n-1}{k}_q, $$ with the boundary values .

Proof. First establish the recurrences from the box generating function , which manifestly has non-negative coefficients. A partition either has fewer than rows or has exactly rows (a full last row of the box is not forced, but consider the last column). Split on whether the rightmost column is occupied to its full height — equivalently, whether uses a part equal to in a way that leaves a sub-box once a full column is removed. Concretely, classify by its number of parts equal to versus its parts : removing the leftmost full column (when present) decrements the width. This yields, after the standard accounting, the additive split $$ G_{k,m}(q) = G_{k,m-1}(q) + q^{m},G_{k-1,m}(q), $$ where the term collects partitions with (no part of full width) and collects partitions with : deleting that first row of width contributes and leaves a partition in the box. Writing as a claim and translating, and , this is exactly the second q-Pascal recurrence . Conjugating the box () and repeating gives the first recurrence with the factor .

It remains to verify that the ratio satisfies the same recurrence and boundary data, which forces equality with the polynomial . Compute directly: $$ \binom{n-1}{k-1}q + q^{k}\binom{n-1}{k}q = \frac{(q;q){n-1}}{(q;q){k-1}(q;q){n-k}}\Big( 1 + q^k \cdot \frac{1 - q^{n-k}}{1 - q^{k}}\Big)^{!*}, $$ where the bracket, after clearing the common factor $(q;q){n-1}/((q;q){k}(q;q){n-k})\frac{(1 - q^{k}) + q^{k}(1 - q^{n-k})}{1} = 1 - q^{n}\frac{(q;q)_{n-1}(1 - q^n)}{(q;q)k (q;q){n-k}} = \frac{(q;q)_n}{(q;q)k(q;q){n-k}} = \binom{n}{k}q(1-q^k) + q^k(1-q^{n-k}) = 1 - q^n\binom{n}{0}q = \binom{n}{n}q = 1 = G{0,m} = G{k,0}nG{k,m}kmk \times m\square$

Corollary (Gaussian unimodality). The coefficient sequence of is symmetric (, from its complement in the box) and unimodal (rises then falls); the unimodality is a theorem of Sylvester, revisited at Master tier as a statement about the -action on the subspace lattice.

Bridge. This theorem is the foundational reason a single polynomial answers two questions: it builds toward the subspace count of Advanced results, where reappears as the number of -subspaces of , and the recurrence proved here is exactly the one the subspace count satisfies, so the two are forced equal. The box-partition reading generalises the ordinary — set and the diagram-area weighting collapses, leaving the plain count — and it is dual to conjugation: the symmetry is transposition of diagrams. Putting these together, the central insight is that the q-Pascal recurrence is the combinatorial atom from which polynomiality, positivity, the q-binomial theorem, and the subspace count all descend; this same recurrence appears again in the Durfee-square decomposition of the full partition generating function and in the finite-geometry incidence counts of 40.06.03.

Exercises Intermediate+

Advanced results Master

The elementary theory of the Gaussian binomial opens onto three deeper strata: its role as the rank-generating function of the subspace lattice, the q-series identities (q-binomial theorem, Jacobi triple product, Rogers-Ramanujan) it sits beneath, and the bijective combinatorics of partitions (Euler, Glaisher, Franklin) that the same Ferrers-diagram calculus controls.

Theorem 1 (subspace lattice and Sylvester unimodality). For a prime power, counts the -dimensional subspaces of , so the Gaussian binomial is the rank-generating function of the lattice of all subspaces of : counts all subspaces, and the rank level contributes [Stanley §1.7]. The symmetry is the orthogonal-complement duality of . Sylvester's theorem — that the coefficient sequence of is symmetric and unimodal — acquires here its conceptual proof: there is an order-raising operator and order-lowering operator on realizing an -representation, and unimodality follows from the representation theory of (the Lefschetz property), exactly as for the Boolean-lattice unimodality of ordinary binomials.

Theorem 2 (q-binomial theorem and the two q-exponentials). As an identity in and , $$ \prod_{i=0}^{n-1}(1 + q^{i}x) = \sum_{k=0}^{n} q^{\binom{k}{2}}\binom{n}{k}q x^{k}, \qquad \frac{1}{\prod{i=0}^{n-1}(1 - q^{i}x)} = \sum_{k \ge 0}\binom{n+k-1}{k}q x^{k}, $$ the second being the "negative" companion (weak compositions). Letting with gives Euler's two q-exponential identities $\sum{k} \frac{q^{\binom{k}{2}}}{(q;q)k}x^k = (-x; q)\infty\sum_k \frac{x^k}{(q;q)k} = \frac{1}{(x; q)\infty}e^x(-x;q)\infty1/(x;q)\infty$ at the appropriate specialization.

Theorem 3 (Jacobi triple product and pentagonal specialization). The Jacobi triple product $$ \prod_{m \ge 1}(1 - q^{2m})(1 + q^{2m-1}z)(1 + q^{2m-1}z^{-1}) = \sum_{k \in \mathbb{Z}} q^{k^2} z^{k} $$ is the parent identity; the specialization , yields Euler's pentagonal number theorem , whose combinatorial proof by Franklin's involution and whose analytic life as the Dedekind eta function are developed at 21.16.01. Within the present unit the triple product is the limit of finite Gaussian-binomial sums; the analytic asymptotics of via the circle method are out of scope and owned by 21.16.01.

Theorem 4 (Rogers-Ramanujan, combinatorial form). The two Rogers-Ramanujan identities $$ \sum_{k \ge 0}\frac{q^{k^2}}{(q;q)k} = \prod{m \ge 0}\frac{1}{(1 - q^{5m+1})(1 - q^{5m+4})}, \quad \sum_{k \ge 0}\frac{q^{k^2 + k}}{(q;q)k} = \prod{m \ge 0}\frac{1}{(1 - q^{5m+2})(1 - q^{5m+3})} $$ equate, combinatorially, partitions whose parts differ by at least (the sum side, where is the generating function for partitions into parts with minimal differences ) with partitions into parts congruent to (resp. ) modulo (the product side). The factor is the Durfee-square / staircase contribution; the identities sit beyond Euler's elementary toolkit and connect to affine Lie algebras and the hard-hexagon model, as noted at 21.16.01.

Theorem 5 (Glaisher's bijection, structural form). Euler's theorem (partitions into distinct parts partitions into odd parts) is the case of Glaisher's theorem: partitions of with no part divisible by are equinumerous with partitions of with no part repeated or more times, via the explicit bijection that writes each multiplicity in base and redistributes. At the generating-function level this is ; the bijection makes the equality cell-by-cell, refining the GF proof of 21.16.01 into a concrete map on Ferrers diagrams.

Synthesis. Putting these together, the q-Pascal recurrence is the foundational reason the finite and the asymptotic theories of partitions are one subject: the Gaussian binomial is at once a box-partition generating function, the rank-generating function of the subspace lattice , and the finite truncation whose limits are Euler's q-exponentials and, through the Jacobi triple product, the pentagonal and Rogers-Ramanujan identities. The central insight is that conjugation of Ferrers diagrams, the -duality of the subspace lattice, and the symmetry are the same symmetry read three ways, and this is exactly why Sylvester unimodality, Franklin's involution, and Glaisher's redistribution are not separate tricks but instances of one diagram calculus. The box generating function generalises the ordinary binomial — erases the area grading — and is dual to the subspace count under the substitution prime power; the bridge is that the elementary identities proved here become, in the limit, the modular and Lie-theoretic structures of 21.16.01, so that this unit supplies the combinatorial bedrock on which the analytic partition theory and the finite-geometry incidence counts of 40.06.03 both stand. The Durfee-square decomposition is the hinge: it turns the unrestricted partition generating function into a sum of squared Gaussian-binomial limits, making the finite q-binomial the atom of the whole theory.

Full proof set Master

Proposition 1 (polynomiality and degree). For , is a polynomial of degree with constant term and leading coefficient .

Proof. By the Key theorem, , a finite sum of monomials with non-negative integer coefficients, hence a polynomial in . The empty partition gives the unique term of degree , so the constant term is ; the full rectangle is the unique partition of maximal size in the box, so the degree is with leading coefficient . Non-negativity and integrality are automatic from the counting interpretation.

Proposition 2 (q-binomial theorem). In , .

Proof. Induct on . For both sides equal . Assume the identity for and multiply both sides by . The coefficient of in the product is . Since , the second summand is . Factoring , the bracketed sum is , which equals by the second q-Pascal recurrence (Key theorem). Hence the coefficient of is , completing the induction.

Proposition 3 (subspace enumeration). Let be a prime power. The number of -dimensional subspaces of is .

Proof. The number of ordered linearly independent -tuples in is : must avoid the vectors of . Each ordered independent -tuple spans a unique -subspace , and a fixed -subspace has ordered bases by the same count inside . Thus the number of -subspaces satisfies , so $$ N = \prod_{i=0}^{k-1}\frac{q^n - q^i}{q^k - q^i} = \prod_{i=0}^{k-1}\frac{q^{n-i} - 1}{q^{k-i}-1} = \frac{(q^n-1)(q^{n-1}-1)\cdots(q^{n-k+1}-1)}{(q^k - 1)(q^{k-1}-1)\cdots(q-1)} = \binom{n}{k}_q, $$ the middle equality cancelling the factor from numerator and denominator of each term, and the last equality being the definition of rewritten with (the sign factors cancel between numerator and denominator).

Proposition 4 (Durfee-square identity).

Proof. Each partition has a unique Durfee square of side , contributing the block of size . Removing it leaves two independent partitions: the cells right of the square in rows form with parts, and the cells below in columns form with all parts . Partitions with at most parts have generating function (a part of size corresponds to incrementing one of rows), and partitions with parts have the conjugate generating function, also . The triple is in bijection with via , so . Equality with is Euler's product (Proposition 1 of 21.16.01).

Connections Master

  • The Gaussian binomial is the q-deformation of the ordinary binomial coefficient and the twelvefold-way counts of 40.01.01: setting collapses every q-integer to and every to , so the entire q-Pascal triangle degenerates to ordinary Pascal. The box-partition reading refines the plain "choose " into a polynomial graded by diagram area, and the same refinement upgrades the inclusion-exclusion and surjection counts of 40.01.01 to their q-analogues.

  • The generating-function machinery this unit deploys — infinite products , the q-exponentials, and coefficient extraction from — is exactly the ordinary/exponential generating-function calculus of 40.01.03 specialized to q-series, where the bookkeeping variable additionally tracks a size statistic. The q-binomial theorem is the q-lift of the binomial series, and Euler's two q-exponentials are the q-lifts of that 40.01.03 introduces in the classical limit.

  • The analytic and arithmetic theory of the partition function — the pentagonal number theorem by Franklin's involution, the Jacobi triple product as parent identity, the Hardy-Ramanujan asymptotic, and the Ramanujan congruences — is owned by 21.16.01; this unit supplies the finite, bijective, q-binomial bedrock (Durfee squares, box partitions, Glaisher) on which that asymptotic theory rests, and cross-refs it for everything modular. The division of labour is exact: finite and combinatorial here, infinite and analytic there.

  • The subspace count of is the entry point to finite projective and affine geometry: the lines and planes it enumerates are the points and flats of the projective space , whose incidence structure underlies the symmetric designs and the perfect codes of 40.06.07 and the subspace-incidence counts developed at 40.06.03. The Gaussian binomial is thus the combinatorialist's bridge between partition theory and finite geometry. This material is co-produced with the q-series unit 40.01.05 and the poset/lattice-theoretic treatment of the subspace lattice in 40.03.02.

Historical & philosophical context Master

The Gaussian binomial coefficient is named for Gauss, who introduced the polynomials around 1808 in his work on the determination of the sign of the quadratic Gauss sum [Gauss 1808], where the identity and the q-Pascal recurrence appear as tools for manipulating sums of roots of unity. The q-binomial theorem in its general form is due to Cauchy (1843) [Cauchy 1843], with closely related identities found independently by Heine in his development of the basic hypergeometric series , the q-analogue of the Gauss hypergeometric function; Heine's q-Gauss summation is the q-Vandermonde of this unit.

The combinatorial reading of as a partition generating function, and the systematic Ferrers-diagram calculus (conjugation, Durfee squares, Franklin's 1881 involution), were consolidated in the partition-theory tradition running from Sylvester's 1882 "constructive theory of partitions", where unimodality of the Gaussian coefficients was first asserted and attacked, through MacMahon's Combinatory Analysis (1915-16). The subspace interpretation over belongs to the finite-geometry and q-analogue tradition that treats as the "-deformation" of a finite set, with recovering set combinatorics — a viewpoint crystallized by Cohn and others under the slogan of the "field with one element". Sylvester's unimodality assertion was given its conceptual -representation-theoretic proof only much later, by Proctor (1982), using the Lefschetz property of the order-raising operator on the subspace lattice.

Bibliography Master

@book{stanley2012ec1,
  author    = {Stanley, Richard P.},
  title     = {Enumerative Combinatorics, Volume 1},
  series    = {Cambridge Studies in Advanced Mathematics},
  volume    = {49},
  edition   = {2},
  publisher = {Cambridge University Press},
  year      = {2012}
}

@book{andrews1976partitions,
  author    = {Andrews, George E.},
  title     = {The Theory of Partitions},
  series    = {Encyclopedia of Mathematics and its Applications},
  volume    = {2},
  publisher = {Addison-Wesley},
  year      = {1976}
}

@book{andrewseriksson2004,
  author    = {Andrews, George E. and Eriksson, Kimmo},
  title     = {Integer Partitions},
  publisher = {Cambridge University Press},
  year      = {2004}
}

@book{kaccheung2002quantum,
  author    = {Kac, Victor and Cheung, Pokman},
  title     = {Quantum Calculus},
  series    = {Universitext},
  publisher = {Springer},
  year      = {2002}
}

@article{cauchy1843memoire,
  author  = {Cauchy, Augustin-Louis},
  title   = {M\'{e}moire sur les fonctions dont plusieurs valeurs sont li\'{e}es entre elles par une \'{e}quation lin\'{e}aire},
  journal = {Comptes Rendus de l'Acad\'{e}mie des Sciences (Paris)},
  volume  = {17},
  pages   = {523--531},
  year    = {1843}
}

@book{gauss1808summatio,
  author    = {Gauss, Carl Friedrich},
  title     = {Summatio quarumdam serierum singularium},
  publisher = {Commentationes Societatis Regiae Scientiarum Gottingensis},
  year      = {1808}
}

@article{sylvester1882constructive,
  author  = {Sylvester, James Joseph},
  title   = {A constructive theory of partitions, arranged in three acts, an interact and an exodion},
  journal = {American Journal of Mathematics},
  volume  = {5},
  pages   = {251--330},
  year    = {1882}
}

@article{proctor1982bruhat,
  author  = {Proctor, Robert A.},
  title   = {Solution of two difficult combinatorial problems with linear algebra},
  journal = {American Mathematical Monthly},
  volume  = {89},
  number  = {10},
  pages   = {721--734},
  year    = {1982}
}