TheoremComplete

Generating Functions - Applications

Euler's Partition Theorem demonstrates the power of generating functions to reveal deep identities by transforming combinatorial statements into equations between power series.

DefinitionEuler's Partition Theorem

The number of partitions of nn into odd parts equals the number of partitions of nn into distinct parts.

Proof using Generating Functions:

Let O(x)O(x) be the generating function for partitions into odd parts, and D(x)D(x) be the generating function for partitions into distinct parts.

Partitions into odd parts: O(x)=k=011x2k+1O(x) = \prod_{k=0}^{\infty} \frac{1}{1-x^{2k+1}}

The factor 11x2k+1=1+x2k+1+x2(2k+1)+x3(2k+1)+\frac{1}{1-x^{2k+1}} = 1 + x^{2k+1} + x^{2(2k+1)} + x^{3(2k+1)} + \cdots represents using 0, 1, 2, ... parts of size 2k+12k+1 (odd).

Partitions into distinct parts: D(x)=k=1(1+xk)D(x) = \prod_{k=1}^{\infty} (1 + x^k)

The factor (1+xk)(1 + x^k) represents either not using or using exactly one part of size kk (distinct).

To prove: O(x)=D(x)O(x) = D(x).

We use a clever algebraic identity. For any k0k \geq 0: (1+x2k+1)(1+x2(2k+1))(1+x4(2k+1))(1+x8(2k+1))(1 + x^{2k+1})(1 + x^{2(2k+1)})(1 + x^{4(2k+1)})(1 + x^{8(2k+1)})\cdots

This product (using powers of 2) can be rewritten. Each term 1+x2j(2k+1)1 + x^{2^j(2k+1)} contributes either 0 or 1 copy of size 2j(2k+1)2^j(2k+1). Any positive integer can be uniquely written in binary as jϵj2j\sum_{j} \epsilon_j 2^j where ϵj{0,1}\epsilon_j \in \{0,1\}, so: (1+x2k+1)(1+x2(2k+1))(1+x4(2k+1))=1+x2k+1+x2(2k+1)+x3(2k+1)+=11x2k+1(1 + x^{2k+1})(1 + x^{2(2k+1)})(1 + x^{4(2k+1)})\cdots = 1 + x^{2k+1} + x^{2(2k+1)} + x^{3(2k+1)} + \cdots = \frac{1}{1-x^{2k+1}}

Therefore, for each odd number 2k+12k+1, the product of (1+xm)(1 + x^m) for all mm that are powers of 2 times 2k+12k+1 equals 11x2k+1\frac{1}{1-x^{2k+1}}.

Taking the product over all odd numbers 2k+12k+1: D(x)=k=1(1+xk)=k=0[j=0(1+x2j(2k+1))]=k=011x2k+1=O(x)D(x) = \prod_{k=1}^{\infty} (1 + x^k) = \prod_{k=0}^{\infty} \left[\prod_{j=0}^{\infty} (1 + x^{2^j(2k+1)})\right] = \prod_{k=0}^{\infty} \frac{1}{1-x^{2k+1}} = O(x)

This completes the proof. \square

ExampleVerification for Small $n$

For n=5n = 5:

Partitions into odd parts: 5,3+1+1,1+1+1+1+15, 3+1+1, 1+1+1+1+1 (3 partitions)

Partitions into distinct parts: 5,4+1,3+25, 4+1, 3+2 (3 partitions) ✓

For n=6n = 6:

Partitions into odd parts: 5+1,3+3,3+1+1+1,1+1+1+1+1+15+1, 3+3, 3+1+1+1, 1+1+1+1+1+1 (4 partitions)

Partitions into distinct parts: 6,5+1,4+2,3+2+16, 5+1, 4+2, 3+2+1 (4 partitions) ✓

Remark

Euler's theorem is one of the first examples of bijective proofs in partition theory. While the generating function proof is algebraic, there also exist explicit bijections between the two partition classes. One such bijection repeatedly splits the largest even part in half until all parts are odd (forward direction) or combines equal parts while possible (reverse direction). This theorem opened the door to partition identities like the Rogers-Ramanujan identities, which have deep connections to modular forms and the theory of qq-series. The pentagonal number theorem, another of Euler's results, provides a recurrence for p(n)p(n) and has connections to the Dedekind eta function in number theory.