Faà di Bruno's formula
{{short description|Generalized chain rule in calculus}}
{{Calculus |Differential}}
Faà di Bruno's formula is an identity in mathematics generalizing the chain rule to higher derivatives. It is named after {{harvs|txt|authorlink=Francesco Faà di Bruno|first=Francesco|last= Faà di Bruno|year=1855|year2=1857}}, although he was not the first to state or prove the formula. In 1800, more than 50 years before Faà di Bruno, the French mathematician Louis François Antoine Arbogast had stated the formula in a calculus textbook,{{harv|Arbogast|1800}}. which is considered to be the first published reference on the subject.According to {{harvtxt|Craik|2005|pp=120–122}}: see also the analysis of Arbogast's work by {{harvtxt|Johnson|2002|p=230}}.
Perhaps the most well-known form of Faà di Bruno's formula says that
where the sum is over all -tuples of nonnegative integers satisfying the constraint
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:
:
=\sum \frac{n!}{m_1!\,m_2!\,\cdots\,m_n!}\cdot
f^{(m_1+\cdots+m_n)}(g(x))\cdot
\prod_{j=1}^n\left(\frac{g^{(j)}(x)}{j!}\right)^{m_j}.
Combining the terms with the same value of
and noticing that has to be zero for leads to a somewhat simpler formula expressed in terms of partial (or incomplete) exponential Bell polynomials
:
:
This formula works for all , however for the polynomials are zero and thus summation in the formula can start with .
Combinatorial form
The formula has a "combinatorial" form:
:
where
- runs through the set of all partitions of the set ,
- "" means the variable runs through the list of all of the "blocks" of the partition , and
- denotes the cardinality of the set (so that is the number of blocks in the partition and is the size of the block ).
Example
The following is a concrete explanation of the combinatorial form for the case.
:
\begin{align}
(f\circ g)(x)
= {} & f(g(x))g'(x)^4
+ 6f'(g(x))g(x)g'(x)^2 \\[8pt]
& {} +\; 3f(g(x))g(x)^2
+ 4f(g(x))g'(x)g'(x) \\[8pt]
& {} +\; f'(g(x))g(x).
\end{align}
The pattern is:
:
\begin{array}{cccccc}
g'(x)^4
& & \leftrightarrow & & 1+1+1+1
& & \leftrightarrow & & f(g(x))
& & \leftrightarrow & & 1
\\[12pt]
g''(x)g'(x)^2
& & \leftrightarrow & & 2+1+1
& & \leftrightarrow & & f'''(g(x))
& & \leftrightarrow & & 6
\\[12pt]
g''(x)^2
& & \leftrightarrow & & 2+2
& & \leftrightarrow & & f''(g(x))
& & \leftrightarrow & & 3
\\[12pt]
g'''(x)g'(x)
& & \leftrightarrow & & 3+1
& & \leftrightarrow & & f''(g(x))
& & \leftrightarrow & & 4
\\[12pt]
g(x)
& & \leftrightarrow & & 4
& & \leftrightarrow & & f'(g(x))
& & \leftrightarrow & & 1
\end{array}
The factor corresponds to the partition 2 + 1 + 1 of the integer 4, in the obvious way. The factor that goes with it corresponds to the fact that there are three summands in that partition. The coefficient 6 that goes with those factors corresponds to the fact that there are exactly six partitions of a set of four members that break it into one part of size 2 and two parts of size 1.
Similarly, the factor in the third line corresponds to the partition 2 + 2 of the integer 4, (4, because we are finding the fourth derivative), while corresponds to the fact that there are two summands (2 + 2) in that partition. The coefficient 3 corresponds to the fact that there are ways of partitioning 4 objects into groups of 2. The same concept applies to the others.
A memorizable scheme is as follows:
:
& \frac{D^2(f\circ g)}{2!} & = \left(f^{(1)}\circ{}g\right)\frac{\frac{g^{(2)} }{2!} }{1!} & {} + \left(f^{(2)}\circ{}g\right)\frac{\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!} }{2!} \\[8pt]
& \frac{D^3(f\circ g)}{3!} & = \left(f^{(1)}\circ{}g\right)\frac{\frac{g^{(3)} }{3!} }{1!} & {} + \left(f^{(2)}\circ{}g\right)\frac{\frac{g^{(1)} }{1!} }{1!}\frac{\frac{g^{(2)} }{2!} }{1!} & {} + \left(f^{(3)}\circ{}g\right)\frac{\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!} }{3!} \\[8pt]
& \frac{D^4(f\circ g)}{4!} & = \left(f^{(1)}\circ{}g\right)\frac{\frac{g^{(4)} }{4!} }{1!} & {} + \left(f^{(2)}\circ{}g\right)\left(\frac{\frac{g^{(1)} }{1!} }{1!}\frac{\frac{g^{(3)} }{3!} }{1!}+\frac{\frac{g^{(2)} }{2!}\frac{g^{(2)} }{2!} }{2!}\right) & {} + \left(f^{(3)}\circ{}g\right)\frac{\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!} }{2!}\frac{\frac{g^{(2)} }{2!} }{1!} & {} + \left(f^{(4)}\circ{}g\right)\frac{\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!}\frac{g^{(1)} }{1!} }{4!}
\end{align}
Variations
=Multivariate version=
Let . Then the following identity holds regardless of whether the variables are all distinct, or all identical, or partitioned into several distinguishable classes of indistinguishable variables (if it seems opaque, see the very concrete example below):{{cite journal |last=Hardy |first=Michael |title=Combinatorics of Partial Derivatives |journal=Electronic Journal of Combinatorics |volume=13 |issue=1 |year=2006 |pages=R1 |doi=10.37236/1027 |s2cid=478066 |url=http://www.combinatorics.org/Volume_13/Abstracts/v13i1r1.html|doi-access=free }}
:
= \sum_{\pi\in\Pi} f^{(\left|\pi\right|)}(y)\cdot\prod_{B\in\pi}
{\partial^{\left|B\right|}y \over \prod_{j\in B} \partial x_j}
where (as above)
- runs through the set of all partitions of the set ,
- "" means the variable runs through the list of all of the "blocks" of the partition , and
- denotes the cardinality of the set (so that is the number of blocks in the partition and
is the size of the block ).
More general versions hold for cases where the all functions are vector- and even Banach-space-valued. In this case one needs to consider the Fréchet derivative or Gateaux derivative.
; Example
The five terms in the following expression correspond in the obvious way to the five partitions of the set , and in each case the order of the derivative of is the number of parts in the partition:
:
\begin{align}
{\partial^3 \over \partial x_1\, \partial x_2\, \partial x_3}f(y)
= {} & f'(y){\partial^3 y \over \partial x_1\, \partial x_2\, \partial x_3} \\[10pt]
& {} + f''(y) \left( {\partial y \over \partial x_1}
\cdot{\partial^2 y \over \partial x_2\, \partial x_3}
+{\partial y \over \partial x_2}
\cdot{\partial^2 y \over \partial x_1\, \partial x_3}
+ {\partial y \over \partial x_3}
\cdot{\partial^2 y \over \partial x_1\, \partial x_2}\right) \\[10pt]
& {} + f'''(y) {\partial y \over \partial x_1}
\cdot{\partial y \over \partial x_2}
\cdot{\partial y \over \partial x_3}.
\end{align}
If the three variables are indistinguishable from each other, then three of the five terms above are also indistinguishable from each other, and then we have the classic one-variable formula.
===Formal power series version===
Suppose and are formal power series and .
Then the composition is again a formal power series,
:
where and the other coefficient for
can be expressed as a sum over compositions of or as an equivalent sum over integer partitions of :
:
where
:
is the set of compositions of with denoting the number of parts,
or
:
where
:
is the set of partitions of into parts, in frequency-of-parts form.
The first form is obtained by picking out the coefficient of
in "by inspection", and the second form
is then obtained by collecting like terms, or alternatively, by applying the multinomial theorem.
The special case , gives the exponential formula.
The special case ,
gives an expression for the reciprocal of the formal power series
in the case .
gives a version for exponential power series.
In the formal power series
:
we have the th derivative at 0:
:
This should not be construed as the value of a function, since these series are purely formal; there is no such thing as convergence or divergence in this context.
If
:
and
:
and
:
then the coefficient (which would be the th derivative of evaluated at 0 if we were dealing with convergent series rather than formal power series) is given by
:
where runs through the set of all partitions of the set and
are the blocks of the partition , and
is the number of members of the th block, for .
This version of the formula is particularly well suited to the purposes of combinatorics.
We can also write with respect to the notation above
:
where are Bell polynomials.
=A special case=
If , then all of the derivatives of are the same and are a factor common to every term:
:
where is the nth complete exponential Bell polynomial.
In case is a cumulant-generating function, then
is a moment-generating function, and the polynomial in various derivatives of is the polynomial that expresses the moments as functions of the cumulants.
See also
- {{annotated link|Chain rule}}
- {{annotated link|Differentiation of trigonometric functions}}
- {{annotated link|Differentiation rules}}
- {{annotated link|General Leibniz rule}}
- {{annotated link|Inverse functions and differentiation}}
- {{annotated link|Linearity of differentiation}}
- {{annotated link|Product rule}}
- {{annotated link|Table of derivatives}}
- {{annotated link|Vector calculus identities}}
Notes
{{reflist|2}}
References
=Historical surveys and essays=
- {{Citation
| last = Brigaglia
| first = Aldo
| editor-last = Giacardi
| editor-first = Livia
| contribution = L'Opera Matematica
| title = Francesco Faà di Bruno. Ricerca scientifica insegnamento e divulgazione
| place = Torino
| language = it
| publisher = Deputazione Subalpina di Storia Patria
| year = 2004
| series = Studi e fonti per la storia dell'Università di Torino
| volume = XII
| pages = 111–172}}. "The mathematical work" is an essay on the mathematical activity, describing both the research and teaching activity of Francesco Faà di Bruno.
- {{Citation
| first=Alex D. D.
| last=Craik
| title=Prehistory of Faà di Bruno's Formula
| journal=American Mathematical Monthly
| volume=112
| date=February 2005
| pages=217–234
| issue=2
| jstor = 30037410
| doi=10.2307/30037410
| mr= 2121322
| zbl= 1088.01008
}}.
- {{Citation
| last = Johnson
| first = Warren P.
| title = The Curious History of Faà di Bruno's Formula
| journal = American Mathematical Monthly
| volume = 109
| issue = 3
| pages = 217–234
| date=March 2002
| url = https://www.maa.org/sites/default/files/pdf/upload_library/22/Ford/Johnson217-234.pdf
| jstor = 2695352
| doi = 10.2307/2695352
| mr = 1903577
| zbl = 1024.01010
| citeseerx = 10.1.1.109.4135
}}.
=Research works=
- {{Citation
| first = L. F. A.
| last=Arbogast
| author-link= Louis François Antoine Arbogast
| title=Du calcul des derivations
| trans-title=On the calculus of derivatives
| year=1800
| language=fr
| publisher=Levrault
| place=Strasbourg
| url=https://books.google.com/books?id=YoPq8uCy5Y8C
| pages= xxiii+404
}}, Entirely freely available from Google books.
- {{Citation
| first=F.
| last=Faà di Bruno
| author-link=Francesco Faà di Bruno
| title= Sullo sviluppo delle funzioni
| trans-title=On the development of the functions
| language = it
| journal= Annali di Scienze Matematiche e Fisiche
| lccn=06036680
| volume= 6
| year= 1855
| pages= 479–480
| url = https://books.google.com/books?id=ddE3AAAAMAAJ&pg=PA479
}}. Entirely freely available from Google books. A well-known paper where Francesco Faà di Bruno presents the two versions of the formula that now bears his name, published in the journal founded by Barnaba Tortolini.
- {{Citation
| first=F.
| last=Faà di Bruno
| title= Note sur une nouvelle formule de calcul differentiel
| trans-title=On a new formula of differential calculus
| language = fr
| journal= The Quarterly Journal of Pure and Applied Mathematics
| volume= 1
| year=1857
| pages= 359–360
| url = https://books.google.com/books?id=7BELAAAAYAAJ&pg=PA359
}}. Entirely freely available from Google books.
- {{Citation
| first = Francesco
| last= Faà di Bruno
| title=Théorie générale de l'élimination
| trans-title=General elimination theory
| year=1859
| language= fr
| publisher=Leiber et Faraguet
| place=Paris
| url=https://books.google.com/books?id=MZ0KAAAAYAAJ
| pages= x+224
}}. Entirely freely available from Google books.
- Flanders, Harley (2001) "From Ford to Faa", American Mathematical Monthly 108(6): 558–61 {{doi|10.2307/2695713}}
- {{Citation
| last = Fraenkel
| first = L. E.
| title = Formulae for high derivatives of composite functions
| journal = Mathematical Proceedings of the Cambridge Philosophical Society
| volume = 83
| issue = 2
| pages = 159–165
| year = 1978
| doi = 10.1017/S0305004100054402
| bibcode = 1978MPCPS..83..159F
| mr = 0486377
| zbl = 0388.46032
| s2cid = 121007038
}}.
- {{Citation
| last1 = Krantz
| first1 = Steven G.
| author1-link = Steven G. Krantz
| last2 = Parks
| first2 = Harold R.
| author2-link = Harold R. Parks
| title = A Primer of Real Analytic Functions
| place = Boston
| publisher = Birkhäuser Verlag
| year = 2002
| series = Birkhäuser Advanced Texts - Basler Lehrbücher
| edition = Second
| pages = xiv+205
| url = https://books.google.com/books?id=i4vw2STJl2QC
| mr = 1916029
| zbl = 1015.26030
| isbn = 978-0-8176-4264-8
}}
- {{Citation
| last = Porteous
| first = Ian R.
| author-link = Ian Robertson Porteous
| title = Geometric Differentiation
| place = Cambridge
| publisher = Cambridge University Press
| year = 2001
| edition = Second
| chapter = Paragraph 4.3: Faà di Bruno's formula
| chapter-url = https://books.google.com/books?id=BNrW0UJ_UFcC&pg=PA83
| pages = 83–85
| url = https://books.google.com/books?id=BNrW0UJ_UFcC
| mr = 1871900
| zbl = 1013.53001
| isbn = 978-0-521-00264-6
}}.
- {{Citation
| last = T. A.
| first = (Tiburce Abadie, J. F. C.)
| title = Sur la différentiation des fonctions de fonctions
| trans-title=On the derivation of functions
| language = fr
| journal = Nouvelles annales de mathématiques, journal des candidats aux écoles polytechnique et normale
| series = Série 1
| volume = 9
| pages = 119–125
| year = 1850
| url = http://www.numdam.org/item?id=NAM_1850_1_9__119_1
}}, available at [http://www.numdam.org NUMDAM]. This paper, according to {{harvtxt|Johnson|2002|p=228}} is one of the precursors of {{harvnb|Faà di Bruno|1855}}: note that the author signs only as "T.A.", and the attribution to J. F. C. Tiburce Abadie is due again to Johnson.
- {{Citation
| last = A.
| first = (Tiburce Abadie, J. F. C.)
| title = Sur la différentiation des fonctions de fonctions. Séries de Burmann, de Lagrange, de Wronski
| trans-title=On the derivation of functions. Burmann, Lagrange and Wronski series.
| language = fr
| journal = Nouvelles annales de mathématiques, journal des candidats aux écoles polytechnique et normale
| series = Série 1
| volume = 11
| pages = 376–383
| year = 1852
| url = http://www.numdam.org/item?id=NAM_1852_1_11__376_1
}}, available at [http://www.numdam.org NUMDAM]. This paper, according to {{harvtxt|Johnson|2002|p=228}} is one of the precursors of {{harvnb|Faà di Bruno|1855}}: note that the author signs only as "A.", and the attribution to J. F. C. Tiburce Abadie is due again to Johnson.
External links
- {{MathWorld|urlname=FaadiBrunosFormula|title=Faa di Bruno's Formula}}
{{DEFAULTSORT:Faa de Bruno's formula}}
Category:Differentiation rules
Category:Differential calculus
Category:Enumerative combinatorics