The Trinomial Triangle: Ab Abc
The Trinomial Triangle: Ab Abc
1 1 1 1 1 1
1 2 3 4 5
1 3 6 10
1 4 10
1 5
Table 1
Next, multiply the entries in each row of Pascals triangle by the number in the far-left column (see Table 2).
0 0 1 2 3 4 5 1 n 2 3 4 5
1 5 10 10 5 1
5 20 30 20 5
10 30 30 10
10 20 10
5 5
Table 2
We will call the resulting array of numbers the trinomial triangle of order 5. The (m, n) element of this triangle is the coefficient of the term a 5 mb n c m n in the expansion of (a + b + c) 5 . For example, the number 30 in row m = 3 and column n = 2 corresponds to the term 30a 2b 2 c1 . The complete expansion, with terms written in positions corresponding to the trinomial triangle is ( a + b + c )5 = a5 + 5 a4 c + 10 a3 c2 + 10 a2 c3 + 5 a c4 + c5 + 5 a4 b + 20 a3 b c + 30 a2 b c2 + 20 a b c3 + 5 b c4 + 10 a3 b2 30 a2 b2 c + 30 a b2 c2 + 10 b2 c3 + 10 a2 b3 + 20 a b3 c + 10 b3 c2 + 5 a b4 + 5 b4 c + b5
Notice that the powers of a descend with the rows, while the powers of b increase from column to column. The power of c is most easily calculated so that the sum of all three powers is 5. Just as in the binomial theorem, the powers of the variables are easily determined once the pattern is recognized. To see why the algorithm works, consider the following manipulations. Using the binomial theorem twice we have (a + (b + c)) p =
p
m= 0
FG pIJ a H mK
pm
(b + c) m
FG pIJ a FG mIJ b c H mK H nK F pI F mI (2) = G JG J a b c . H mK H n K F mI The binomial coefficients G J multiplying b c in (1) are the terms in row m of Pascals H nK F pI triangle and the factors G J multiplying a correspond to the column written to the left of H mK
(1) =
p pm m n m n m= 0 n=0 p m p m n m n m= 0 n = 0 n m n pm
Pascals triangle in Table 1. Thus, the (m, n) elements of the trinomial triangle correspond to the coefficients
a p mb n c m n term in (2).
The expansion of a trinomial to a power considered in this note is a special case of the socalled multinomial theorem (nicely described in [1]): (a1 + a2 + + aq ) p =
k1 + k 2 ++ k q = p
F p Ia GH k , k ,, k JK
1 2 q
k1 1
k2 a2 aq q ,
F p I = p! . GH k , k ,, k JK k ! k ! k !
1 2 q 1 2 q
It is worth noting that, in the trinomial case ( q = 3 ) , the multinomial coefficient can be expressed as
[1] R. L. Graham, D. E. Knuth, O. Patashnik, Concrete Mathematics, Addison-Wesley, 1989, pp. 166-172.