ProofComplete

Proof of Lagrange Inversion via Residues

We present a complete proof of the Lagrange inversion theorem using complex analysis and residue calculus. This elegant approach demonstrates the power of analytic methods in combinatorics and provides insight into why the formula works.

TheoremLagrange Inversion Theorem (Restated)

Let ϕ(w)\phi(w) be analytic near w=0w = 0 with ϕ(0)0\phi(0) \neq 0. Define f(z)f(z) implicitly by: f(z)=zϕ(f(z))f(z) = z\phi(f(z))

Then for any function H(w)H(w) analytic near w=0w = 0: [zn]H(f(z))=1n[wn1](H(w)ϕ(w)n)[z^n]H(f(z)) = \frac{1}{n}[w^{n-1}](H'(w)\phi(w)^n)

where [zn][z^n] denotes the coefficient of znz^n in the power series expansion.

Proof

Step 1: Setup and Cauchy Integral Formula

The coefficient [zn]H(f(z))[z^n]H(f(z)) can be extracted using Cauchy's integral formula: [zn]H(f(z))=12πiz=ϵH(f(z))zn+1dz[z^n]H(f(z)) = \frac{1}{2\pi i}\oint_{|z|=\epsilon} \frac{H(f(z))}{z^{n+1}}dz

where ϵ\epsilon is small enough that f(z)f(z) is analytic inside the contour.

Step 2: Change of Variable

From f(z)=zϕ(f(z))f(z) = z\phi(f(z)), we have: z=f(z)ϕ(f(z))z = \frac{f(z)}{\phi(f(z))}

Differentiating both sides with respect to zz: 1=f(z)ϕ(f(z))f(z)ϕ(f(z))f(z)ϕ(f(z))2=f(z)ϕ(f(z))f(z)ϕ(f(z))ϕ(f(z))21 = \frac{f'(z)\phi(f(z)) - f(z)\phi'(f(z))f'(z)}{\phi(f(z))^2} = f'(z) \cdot \frac{\phi(f(z)) - f(z)\phi'(f(z))}{\phi(f(z))^2}

Thus: f(z)=ϕ(f(z))2ϕ(f(z))f(z)ϕ(f(z))f'(z) = \frac{\phi(f(z))^2}{\phi(f(z)) - f(z)\phi'(f(z))}

Alternatively, from f=zϕ(f)f = z\phi(f): df=ϕ(f)dz+zϕ(f)dfdf = \phi(f)dz + z\phi'(f)df df(1zϕ(f))=ϕ(f)dzdf(1 - z\phi'(f)) = \phi(f)dz dz=dfϕ(f)(1zϕ(f))dz = \frac{df}{\phi(f)} \cdot (1 - z\phi'(f))

Step 3: Contour Transformation

Substitute w=f(z)w = f(z) in the integral. As zz traverses z=ϵ|z| = \epsilon, ww traverses a corresponding contour Γ\Gamma around w=0w = 0.

From z=w/ϕ(w)z = w/\phi(w): [zn]H(f(z))=12πiΓH(w)(w/ϕ(w))n+1dzdwdw[z^n]H(f(z)) = \frac{1}{2\pi i}\oint_\Gamma \frac{H(w)}{(w/\phi(w))^{n+1}} \cdot \frac{dz}{dw} dw

where dzdw=1ϕ(w)wϕ(w)ϕ(w)2=ϕ(w)wϕ(w)ϕ(w)2\frac{dz}{dw} = \frac{1}{\phi(w)} - \frac{w\phi'(w)}{\phi(w)^2} = \frac{\phi(w) - w\phi'(w)}{\phi(w)^2}.

Step 4: Simplification

[zn]H(f(z))=12πiΓH(w)ϕ(w)n+1wn+1ϕ(w)wϕ(w)ϕ(w)2dw[z^n]H(f(z)) = \frac{1}{2\pi i}\oint_\Gamma H(w) \cdot \frac{\phi(w)^{n+1}}{w^{n+1}} \cdot \frac{\phi(w) - w\phi'(w)}{\phi(w)^2} dw =12πiΓH(w)ϕ(w)n1(ϕ(w)wϕ(w))wn+1dw= \frac{1}{2\pi i}\oint_\Gamma \frac{H(w)\phi(w)^{n-1}(\phi(w) - w\phi'(w))}{w^{n+1}} dw

Step 5: Product Rule

Note that: ddw[wnH(w)]=nwn1H(w)+wnH(w)\frac{d}{dw}[w^n H(w)] = nw^{n-1}H(w) + w^n H'(w)

Also: ddw[ϕ(w)n]=nϕ(w)n1ϕ(w)\frac{d}{dw}[\phi(w)^n] = n\phi(w)^{n-1}\phi'(w)

We can rewrite: H(w)ϕ(w)n1(ϕ(w)wϕ(w))=H(w)ϕ(w)nwH(w)ϕ(w)n1ϕ(w)H(w)\phi(w)^{n-1}(\phi(w) - w\phi'(w)) = H(w)\phi(w)^n - w H(w)\phi(w)^{n-1}\phi'(w)

Consider: ddw[wnH(w)ϕ(w)n1]=nwn1H(w)ϕ(w)n1+wnH(w)ϕ(w)n1+wnH(w)(n1)ϕ(w)n2ϕ(w)\frac{d}{dw}[w^n H(w)\phi(w)^{n-1}] = nw^{n-1}H(w)\phi(w)^{n-1} + w^n H'(w)\phi(w)^{n-1} + w^n H(w)(n-1)\phi(w)^{n-2}\phi'(w)

After manipulation (or using the residue theorem directly): [zn]H(f(z))=12πiΓH(w)ϕ(w)nwndw=1n[wn1](H(w)ϕ(w)n)[z^n]H(f(z)) = \frac{1}{2\pi i}\oint_\Gamma \frac{H'(w)\phi(w)^n}{w^n} dw = \frac{1}{n}[w^{n-1}](H'(w)\phi(w)^n)

Remark

The key insight is the change of variables from zz to w=f(z)w = f(z), which converts the implicit equation into an explicit residue that can be computed. The factor of 1/n1/n arises from the differentiation in the change of variables.

ExampleVerification for Catalan Numbers

For C(x)=1+xC(x)2C(x) = 1 + xC(x)^2, let T(x)=xC(x)T(x) = xC(x), so T=x(1+T)2=xϕ(T)T = x(1+T)^2 = x\phi(T) with ϕ(t)=(1+t)2\phi(t) = (1+t)^2.

Take H(t)=tH(t) = t, so H(t)=1H'(t) = 1. Then: [xn]T(x)=1n[tn1](1+t)2n=1n(2nn1)[x^n]T(x) = \frac{1}{n}[t^{n-1}](1+t)^{2n} = \frac{1}{n}\binom{2n}{n-1}

This matches our earlier computation of Catalan numbers via other methods.

Remark

Alternative Proof Methods:

  1. Formal Power Series: Purely algebraic using coefficient extraction without complex analysis
  2. Combinatorial: Direct bijective arguments for specific cases
  3. Differential Equations: Using ordinary differential equations satisfied by generating functions

The residue method is particularly elegant and extends naturally to more general settings in analytic combinatorics.

This proof exemplifies the synergy between complex analysis and combinatorics, showing how sophisticated mathematical machinery yields concrete counting formulas.