Suppose is defined as a function of by an equation of the form :z = f(w) where is analytic at a point and f'(a)\neq 0. Then it is possible to
invert or
solve the equation for , expressing it in the form w=g(z) given by a
power series : g(z) = a + \sum_{n=1}^{\infty} g_n \frac{(z - f(a))^n}{n!}, where : g_n = \lim_{w \to a} \frac{d^{n-1}}{dw^{n-1}} \left[\left( \frac{w-a}{f(w) - f(a)} \right)^n \right]. The theorem further states that this series has a non-zero radius of convergence, i.e., g(z) represents an analytic function of in a
neighbourhood of z= f(a). This is also called
reversion of series. If the assertions about analyticity are omitted, the formula is also valid for
formal power series and can be generalized in various ways: It can be formulated for functions of several variables; it can be extended to provide a ready formula for for any analytic function ; and it can be generalized to the case f'(a)=0, where the inverse is a
multivalued function. The theorem was proved by
Lagrange and generalized by
Hans Heinrich Bürmann, both in the late 18th century. There is a straightforward derivation using
complex analysis and
contour integration; the complex formal power series version is a consequence of knowing the formula for
polynomials, so the theory of
analytic functions may be applied. Actually, the machinery from analytic function theory enters only in a formal way in this proof, in that what is really needed is some property of the
formal residue, and a more direct formal
proof is available. In fact, the Lagrange inversion theorem has a number of additional rather different proofs, including ones using tree-counting arguments or induction. If is a formal power series, then the above formula does not give the coefficients of the compositional inverse series directly in terms for the coefficients of the series . If one can express the functions and in formal power series as :f(w) = \sum_{k=0}^\infty f_k \frac{w^k}{k!} \qquad \text{and} \qquad g(z) = \sum_{k=0}^\infty g_k \frac{z^k}{k!} with and , then an explicit form of inverse coefficients can be given in term of
Bell polynomials: : g_n = \frac{1}{f_1^n} \sum_{k=1}^{n-1} (-1)^k n^\overline{k} B_{n-1,k}(\hat{f}_1,\hat{f}_2,\ldots,\hat{f}_{n-k}), \quad n \geq 2, where :\begin{align} \hat{f}_k &= \frac{f_{k+1}}{(k+1)f_{1}}, \\ g_1 &= \frac{1}{f_{1}}, \text{ and} \\ n^{\overline{k}} &= n(n+1)\cdots (n+k-1) \end{align} is the
rising factorial. When , the last formula can be interpreted in terms of the faces of
associahedra : g_n = \sum_{F \text{ face of } K_n} (-1)^{n-\dim F} f_F , \quad n \geq 2, where f_{F} = f_{i_{1}} \cdots f_{i_{m}} for each face F = K_{i_1} \times \cdots \times K_{i_m} of the associahedron K_n . ==Example==