In combinatorial mathematics, the Bell polynomials, named in honor of Eric Temple Bell, are used in the study of set partitions. They are related to Stirling and Bell numbers. They also occur in many applications, such as in Faà di Bruno's formula. Definitions. Exponential Bell polynomials. The "partial" or "incomplete" exponential Bell polynomials are a triangular array of polynomials given by formula_1 where the sum is taken over all sequences "j"1, "j"2, "j"3, ..., "j""n"−"k"+1 of non-negative integers such that these two conditions are satisfied: formula_2 formula_3 The sum formula_4 is called the "n"th "complete exponential Bell polynomial". Ordinary Bell polynomials. Likewise, the partial "ordinary" Bell polynomial is defined by formula_5 where the sum runs over all sequences "j"1, "j"2, "j"3, ..., "j""n"−"k"+1 of non-negative integers such that formula_6 formula_7 Thanks to the first condition on indices, we can rewrite the formula as formula_8 where we have used the multinomial coefficient. The ordinary Bell polynomials can be expressed in the terms of exponential Bell polynomials: formula_9 In general, Bell polynomial refers to the exponential Bell polynomial, unless otherwise explicitly stated. Combinatorial meaning. The exponential Bell polynomial encodes the information related to the ways a set can be partitioned. For example, if we consider a set {A, B, C}, it can be partitioned into two non-empty, non-overlapping subsets, which are also referred to as parts or blocks, in 3 different ways: Thus, we can encode the information regarding these partitions as formula_10 Here, the subscripts of "B"3,2 tell us that we are considering the partitioning of a set with 3 elements into 2 blocks. The subscript of each "x"i indicates the presence of a block with "i" elements (or block of size "i") in a given partition. So here, "x"2 indicates the presence of a block with two elements. Similarly, "x"1 indicates the presence of a block with a single element. The exponent of "x"ij indicates that there are "j" such blocks of size "i" in a single partition. Here, the fact that both "x"1 and "x"2 have exponent 1 indicates that there is only one such block in a given partition. The coefficient of the monomial indicates how many such partitions there are. Here, there are 3 partitions of a set with 3 elements into 2 blocks, where in each partition the elements are divided into two blocks of sizes 1 and 2. Since any set can be divided into a single block in only one way, the above interpretation would mean that "B""n",1 = "x""n". Similarly, since there is only one way that a set with "n" elements be divided into "n" singletons, "B""n","n" = "x"1"n". As a more complicated example, consider formula_11 This tells us that if a set with 6 elements is divided into 2 blocks, then we can have 6 partitions with blocks of size 1 and 5, 15 partitions with blocks of size 4 and 2, and 10 partitions with 2 blocks of size 3. The sum of the subscripts in a monomial is equal to the total number of elements. Thus, the number of monomials that appear in the partial Bell polynomial is equal to the number of ways the integer "n" can be expressed as a summation of "k" positive integers. This is the same as the integer partition of "n" into "k" parts. For instance, in the above examples, the integer 3 can be partitioned into two parts as 2+1 only. Thus, there is only one monomial in "B"3,2. However, the integer 6 can be partitioned into two parts as 5+1, 4+2, and 3+3. Thus, there are three monomials in "B"6,2. Indeed, the subscripts of the variables in a monomial are the same as those given by the integer partition, indicating the sizes of the different blocks. The total number of monomials appearing in a complete Bell polynomial "Bn" is thus equal to the total number of integer partitions of "n". Also the degree of each monomial, which is the sum of the exponents of each variable in the monomial, is equal to the number of blocks the set is divided into. That is, "j"1 + "j"2 + ... = "k" . Thus, given a complete Bell polynomial "Bn", we can separate the partial Bell polynomial "Bn,k" by collecting all those monomials with degree "k". Finally, if we disregard the sizes of the blocks and put all "x""i" = "x", then the summation of the coefficients of the partial Bell polynomial "B""n","k" will give the total number of ways that a set with "n" elements can be partitioned into "k" blocks, which is the same as the Stirling numbers of the second kind. Also, the summation of all the coefficients of the complete Bell polynomial "Bn" will give us the total number of ways a set with "n" elements can be partitioned into non-overlapping subsets, which is the same as the Bell number. In general, if the integer "n" is partitioned into a sum in which "1" appears "j"1 times, "2" appears "j"2 times, and so on, then the number of partitions of a set of size "n" that collapse to that partition of the integer "n" when the members of the set become indistinguishable is the corresponding coefficient in the polynomial. Examples. For example, we have formula_12 because the ways to partition a set of 6 elements as 2 blocks are 6 ways to partition a set of 6 as 5 + 1, 15 ways to partition a set of 6 as 4 + 2, and 10 ways to partition a set of 6 as 3 + 3. Similarly, formula_13 because the ways to partition a set of 6 elements as 3 blocks are 15 ways to partition a set of 6 as 4 + 1 + 1, 60 ways to partition a set of 6 as 3 + 2 + 1, and 15 ways to partition a set of 6 as 2 + 2 + 2. Table of values. Below is a triangular array of the incomplete Bell polynomials formula_14: Properties. Generating functions. The exponential partial Bell polynomials have the following bivariate generating function: formula_15 In other words, by what amounts to the same, by the series expansion of the "k"-th power: formula_16 The generating function for the exponential Bell polynomial is given formula_17 since formula_18 Likewise, the generating function for the "ordinary" partial Bell polynomial is formula_19 In particular, by taking the coefficient of formula_20, we have: formula_21 See also generating function transformations for Bell polynomial generating function expansions of compositions of sequence generating functions and powers, logarithms, and exponentials of a sequence generating function. Each of these formulas is cited in the respective sections of Comtet. Recurrence relations. The complete Bell polynomials satisfy a recurrence relation: formula_22 with the initial value formula_23. The partial Bell polynomials can also be computed efficiently by a recurrence relation: formula_24 where formula_25 formula_26 formula_27 In addition: formula_28 When formula_29, formula_30 The complete Bell polynomials also satisfy the following recurrence differential formula: formula_31 Derivatives. The partial derivatives of the complete Bell polynomials are given by formula_32 Similarly, the partial derivatives of the partial Bell polynomials are given by formula_33 If the arguments of the Bell polynomials are one-dimensional functions, the chain rule can be used to obtain formula_34 Stirling numbers and Bell numbers. The value of the Bell polynomial "B""n","k"("x"1,"x"2...) on the sequence of factorials equals an unsigned Stirling number of the first kind: formula_35 The sum of these values gives the value of the complete Bell polynomial on the sequence of factorials: formula_36 The value of the Bell polynomial "B""n","k"("x"1,"x"2...) on the sequence of ones equals a Stirling number of the second kind: formula_37 Convolution identity. For sequences "x""n", "y""n", "n" = 1, 2, ..., define a convolution by: formula_38 The bounds of summation are 1 and "n" − 1, not 0 and "n" . Let formula_39 be the "n"th term of the sequence formula_40 Then formula_41 For example, let us compute formula_42. We have formula_43 formula_44 formula_45 and thus, formula_46 This corrects the omission of the factor formula_51 in Comtet's book. formula_52 Examples. The first few complete Bell polynomials are: formula_53 Applications. Faà di Bruno's formula. Faà di Bruno's formula may be stated in terms of Bell polynomials as follows: formula_54 Similarly, a power-series version of Faà di Bruno's formula may be stated using Bell polynomials as follows. Suppose formula_55 Then formula_56 In particular, the complete Bell polynomials appear in the exponential of a formal power series: formula_57 which also represents the exponential generating function of the complete Bell polynomials on a fixed sequence of arguments formula_58. Reversion of series. Let two functions "f" and "g" be expressed in formal power series as formula_59 such that "g" is the compositional inverse of "f" defined by "g"("f"("w")) = "w" or "f"("g"("z")) = "z". If "f"0 = 0 and "f"1 ≠ 0, then an explicit form of the coefficients of the inverse can be given in term of Bell polynomials as formula_60 with formula_61 and formula_62 is the rising factorial, and formula_63 Asymptotic expansion of Laplace-type integrals. Consider the integral of the form formula_64 where ("a","b") is a real (finite or infinite) interval, λ is a large positive parameter and the functions "f" and "g" are continuous. Let "f" have a single minimum in ["a","b"] which occurs at "x" = "a". Assume that as "x" → "a"+, formula_65 formula_66 with "α" > 0, Re("β") > 0; and that the expansion of "f" can be term wise differentiated. Then, Laplace–Erdelyi theorem states that the asymptotic expansion of the integral "I"("λ") is given by formula_67 where the coefficients "cn" are expressible in terms of "an" and "bn" using partial "ordinary" Bell polynomials, as given by Campbell–Froman–Walles–Wojdylo formula: formula_68 Symmetric polynomials. The elementary symmetric polynomial formula_69 and the power sum symmetric polynomial formula_70 can be related to each other using Bell polynomials as: formula_71 formula_72 These formulae allow one to express the coefficients of monic polynomials in terms of the Bell polynomials of its zeroes. For instance, together with Cayley–Hamilton theorem they lead to expression of the determinant of a "n" × "n" square matrix "A" in terms of the traces of its powers: formula_73 Cycle index of symmetric groups. The cycle index of the symmetric group formula_74 can be expressed in terms of complete Bell polynomials as follows: formula_75 Moments and cumulants. The sum formula_76 is the "n"th raw moment of a probability distribution whose first "n" cumulants are "κ"1, ..., "κ""n". In other words, the "n"th moment is the "n"th complete Bell polynomial evaluated at the first "n" cumulants. Likewise, the "n"th cumulant can be given in terms of the moments as formula_77 Hermite polynomials. Hermite polynomials can be expressed in terms of Bell polynomials as formula_78 where "x""i" = 0 for all "i" > 2; thus allowing for a combinatorial interpretation of the coefficients of the Hermite polynomials. This can be seen by comparing the generating function of the Hermite polynomials formula_79 with that of Bell polynomials. Representation of polynomial sequences of binomial type. For any sequence "a"1, "a"2, …, "a""n" of scalars, let formula_80 Then this polynomial sequence is of binomial type, i.e. it satisfies the binomial identity formula_81 Example: For "a"1 = … = "a""n" = 1, the polynomials formula_82 represent Touchard polynomials. More generally, we have this result: Theorem: All polynomial sequences of binomial type are of this form. If we define a formal power series formula_83 then for all "n", formula_84 Software. Bell polynomials are implemented in: