Ordinary Generating Functions and Coefficients

An ordinary generating function packages a sequence into a formal series. Multiplication combines objects by adding their sizes.

Source
Anbloq
Language
English
Created
Updated
Chapters
1
Reading time
1 min

If \(A(x)=\sum a_nx^n\) and \(B(x)=\sum b_nx^n\), the coefficient in \(AB\) at \(n\) is \(\sum_{j=0}^n a_jb_{n-j}\), a finite sum even when the series never converge numerically. This makes algebraic operations valid as formal operations.

\[[x^n](1-x)^{-2}=n+1.\]

A recurrence that becomes rational

For \(a_n=2a_{n-1}+a_{n-2}\), \(a_0=1,a_1=2\), multiplying the series by \(1-2x-x^2\) cancels all positive-degree coefficients. Thus \(A(x)=1/(1-2x-x^2)\). When labels are distributed among the parts of a construction, exponential generating functions handle the binomial factors.[1]

References

  1. Alexander Postnikov, 18.212 Algebraic Combinatorics ↩