Faà di Bruno's Formula

Theorem
Let $D_x^k u$ denote the $k$th derivative of a function $u$ $x$.

Then:
 * $\ds D_x^n w = \sum_{j \mathop = 0}^n D_u^j w \sum_{\substack {\sum_{p \mathop \ge 1} k_p \mathop = j \\ \sum_{p \mathop \ge 1} p k_p \mathop = n \\ \forall p \mathop \ge 1: k_p \mathop \ge 0} } n! \prod_{m \mathop = 1}^n \dfrac {\paren {D_x^m u}^{k_m} } {k_m! \paren {m!}^{k_m} }$

Also known as
Some sources refer to this as Arbogast's formula for who actually deduced this first.