Lably
Skip to content

Faà di Bruno's formula

Generalized chain rule in calculus

  • 4 min read
  • 3 chapters

Related on Lably

Through Mathematics, Chain rule and Tuple

Perhaps the most well-known form of Faà di Bruno's formula says that

dndxnf(g(x))=∑n!m1!1!m1⋯mn!n!mn⋅f(m1+⋯+mn)(g(x))⋅∏j=1n(g(j)(x))mj,

where the sum is over all n-tuples of nonnegative integers (m1,…,mn) satisfying the constraint1⋅m1+2⋅m2+⋯+n⋅mn=n.Sometimes, to give it a memorable pattern, it is written in a way in which the coefficients that have the combinatorial interpretation discussed below are less explicit:

dndxnf(g(x))=∑n!m1!m2!⋯mn!⋅f(m1+⋯+mn)(g(x))⋅∏j=1n(g(j)(x)j!)mj.

Combining the terms with the same value of m1+m2+⋯+mn=k and noticing that mj has to be zero for j>n−k+1 leads to a somewhat simpler formula expressed in terms of partial (or incomplete) exponential Bell polynomials Bn,k(x1,…,xn−k+1):

dndxnf(g(x))=∑k=0nf(k)(g(x))⋅Bn,k(g′(x),g″(x),…,g(n−k+1)(x)).

This formula works for all n≥0, however for n>0 the polynomials Bn,0 are zero and thus summation in the formula can start with k=1.

Combinatorial form

The formula has a "combinatorial" form:

dndxnf(g(x))=(f∘g)(n)(x)=∑π∈Πf(|π|)(g(x))⋅∏B∈πg(|B|)(x)

where

  • π runs through the set Π of all partitions of the set {1,…,n},
  • "B∈π" means the variable B runs through the list of all of the "blocks" of the partition π, and
  • |A| denotes the cardinality of the set A (so that |π| is the number of blocks in the partition π and |B| is the size of the block B).

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Calculus and analysis