ConceptComplete

Formal Power Series and Operations

Formal power series provide an algebraic framework for generating functions, allowing manipulations without convergence concerns. The ring structure supports powerful techniques including composition, inversion, and extraction of coefficients.

DefinitionFormal Power Series Ring

The set R[[x]]R[[x]] of formal power series over a ring RR consists of infinite sequences (a0,a1,a2,…)(a_0, a_1, a_2, \ldots) written as: A(x)=βˆ‘n=0∞anxnA(x) = \sum_{n=0}^\infty a_n x^n

where an∈Ra_n \in R. Unlike analytic power series, convergence is not requiredβ€”these are purely algebraic objects. The ring operations are:

  • Addition: (A+B)(x)=βˆ‘n=0∞(an+bn)xn(A + B)(x) = \sum_{n=0}^\infty (a_n + b_n) x^n
  • Multiplication: (AB)(x)=βˆ‘n=0∞cnxn(AB)(x) = \sum_{n=0}^\infty c_n x^n where cn=βˆ‘k=0nakbnβˆ’kc_n = \sum_{k=0}^n a_k b_{n-k} (Cauchy product)
  • Scalar multiplication: (rA)(x)=βˆ‘n=0∞(ran)xn(rA)(x) = \sum_{n=0}^\infty (ra_n) x^n for r∈Rr \in R
DefinitionMultiplicative Inverse

A formal power series A(x)=βˆ‘n=0∞anxnA(x) = \sum_{n=0}^\infty a_n x^n has a multiplicative inverse in R[[x]]R[[x]] if and only if a0a_0 is a unit in RR. When RR is a field and a0β‰ 0a_0 \neq 0, we can compute: 1A(x)=1a0β‹…11βˆ’(1βˆ’A(x)/a0)=1a0βˆ‘k=0∞(a0βˆ’A(x)a0)k\frac{1}{A(x)} = \frac{1}{a_0} \cdot \frac{1}{1 - (1 - A(x)/a_0)} = \frac{1}{a_0} \sum_{k=0}^\infty \left(\frac{a_0 - A(x)}{a_0}\right)^k

For example, 11βˆ’xβˆ’x2\frac{1}{1-x-x^2} can be computed by treating it as 11βˆ’(x+x2)\frac{1}{1-(x+x^2)} and expanding geometrically.

ExampleComputing Fibonacci Numbers

The Fibonacci generating function satisfies: F(x)=x1βˆ’xβˆ’x2F(x) = \frac{x}{1-x-x^2}

To find coefficients, use partial fractions. Factor the denominator: 1βˆ’xβˆ’x2=βˆ’(xβˆ’Ο•)(xβˆ’Ο•^)1 - x - x^2 = -(x - \phi)(x - \hat{\phi}) where Ο•=1+52\phi = \frac{1+\sqrt{5}}{2} and Ο•^=1βˆ’52\hat{\phi} = \frac{1-\sqrt{5}}{2}.

Then: F(x)=x1βˆ’xβˆ’x2=15(11βˆ’Ο•xβˆ’11βˆ’Ο•^x)=15βˆ‘n=0∞(Ο•nβˆ’Ο•^n)xnF(x) = \frac{x}{1-x-x^2} = \frac{1}{\sqrt{5}}\left(\frac{1}{1-\phi x} - \frac{1}{1-\hat{\phi} x}\right) = \frac{1}{\sqrt{5}}\sum_{n=0}^\infty (\phi^n - \hat{\phi}^n) x^n

Thus Fn=Ο•nβˆ’Ο•^n5F_n = \frac{\phi^n - \hat{\phi}^n}{\sqrt{5}}.

DefinitionComposition of Series

For formal power series A(x)A(x) and B(x)B(x) with B(0)=0B(0) = 0 (constant term zero), the composition A(B(x))A(B(x)) is well-defined: A(B(x))=βˆ‘n=0∞an[B(x)]nA(B(x)) = \sum_{n=0}^\infty a_n [B(x)]^n

The condition B(0)=0B(0) = 0 ensures that each coefficient in the composition involves only finitely many terms. This operation corresponds to substituting one combinatorial structure into another.

ExampleSpecies Composition

The species of binary trees T(x)T(x) satisfies T(x)=x(1+T(x))2T(x) = x(1 + T(x))^2, which can be written as: T(x)=x+2xT(x)+xT(x)2T(x) = x + 2xT(x) + xT(x)^2

This is a quadratic equation in T(x)T(x) giving: T(x)=1βˆ’2xβˆ’1βˆ’4x2xT(x) = \frac{1 - 2x - \sqrt{1-4x}}{2x}

The coefficient [xn]T(x)[x^n]T(x) gives the Catalan number Cnβˆ’1C_{n-1}.

DefinitionLagrange Inversion Formula

If A(x)=xΟ•(A(x))A(x) = x\phi(A(x)) where Ο•\phi is a formal power series with Ο•(0)β‰ 0\phi(0) \neq 0, then: [xn]A(x)=1n[tnβˆ’1]Ο•(t)n[x^n]A(x) = \frac{1}{n}[t^{n-1}]\phi(t)^n

This powerful formula solves implicit functional equations. It's the cornerstone for analyzing tree enumeration and many recursive structures.

Remark

The coefficient extraction operator [xn][x^n] satisfies:

  • [xn](A(x)+B(x))=[xn]A(x)+[xn]B(x)[x^n](A(x) + B(x)) = [x^n]A(x) + [x^n]B(x) (linearity)
  • [xn](xkA(x))=[xnβˆ’k]A(x)[x^n](x^k A(x)) = [x^{n-k}]A(x) (shift property)
  • [xn](A(x)B(x))=βˆ‘k=0n([xk]A(x))([xnβˆ’k]B(x))[x^n](A(x)B(x)) = \sum_{k=0}^n ([x^k]A(x))([x^{n-k}]B(x)) (convolution)
  • [xn]Aβ€²(x)=(n+1)[xn+1]A(x)[x^n]A'(x) = (n+1)[x^{n+1}]A(x) (differentiation)

These operations form the algebra of combinatorial enumeration.

ExampleAdvanced Coefficient Extraction

To find [xn]1(1βˆ’x)k[x^n]\frac{1}{(1-x)^k}: 1(1βˆ’x)k=(βˆ‘m=0∞xm)k\frac{1}{(1-x)^k} = \left(\sum_{m=0}^\infty x^m\right)^k

Using the multinomial theorem or stars-and-bars: [xn]1(1βˆ’x)k=(n+kβˆ’1kβˆ’1)=(n+kβˆ’1n)[x^n]\frac{1}{(1-x)^k} = \binom{n+k-1}{k-1} = \binom{n+k-1}{n}

This counts ways to place nn indistinguishable balls into kk distinguishable bins.

DefinitionDirichlet Series and Convolution

A Dirichlet series is a formal series of the form: D(s)=βˆ‘n=1∞annsD(s) = \sum_{n=1}^\infty \frac{a_n}{n^s}

The Dirichlet convolution of sequences {an}\{a_n\} and {bn}\{b_n\} is: (aβˆ—b)(n)=βˆ‘d∣nadbn/d(a * b)(n) = \sum_{d|n} a_d b_{n/d}

This appears in multiplicative number theory, where the Riemann zeta function ΞΆ(s)=βˆ‘n=1∞nβˆ’s\zeta(s) = \sum_{n=1}^\infty n^{-s} plays a central role.

Formal power series techniques unify algebraic and combinatorial reasoning, providing a powerful toolkit for solving enumeration problems across mathematics.