Trinomial expansion

From testwiki
Revision as of 01:24, 15 October 2024 by imported>LR.127 (Adding short description: "Formula in mathematics")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description

Layers of Pascal's pyramid derived from coefficients in an upside-down ternary plot of the terms in the expansions of the powers of a trinomial – Template:Nowrap is clearly a triangular number

In mathematics, a trinomial expansion is the expansion of a power of a sum of three terms into monomials. The expansion is given by

(a+b+c)n=i,j,ki+j+k=n(ni,j,k)aibjck,

where Template:Math is a nonnegative integer and the sum is taken over all combinations of nonnegative indices Template:Math and Template:Math such that Template:Math.[1] The trinomial coefficients are given by

(ni,j,k)=n!i!j!k!.

This formula is a special case of the multinomial formula for Template:Math. The coefficients can be defined with a generalization of Pascal's triangle to three dimensions, called Pascal's pyramid or Pascal's tetrahedron.[2]

Derivation

The trinomial expansion can be calculated by applying the binomial expansion twice, setting d=b+c, which leads to

(a+b+c)n=(a+d)n=r=0n(nr)anrdr=r=0n(nr)anr(b+c)r=r=0n(nr)anrs=0r(rs)brscs.

Above, the resulting (b+c)r in the second line is evaluated by the second application of the binomial expansion, introducing another summation over the index s.

The product of the two binomial coefficients is simplified by shortening r!,

(nr)(rs)=n!r!(nr)!r!s!(rs)!=n!(nr)!(rs)!s!,

and comparing the index combinations here with the ones in the exponents, they can be relabelled to i=nr,j=rs,k=s, which provides the expression given in the first paragraph.

Properties

The number of terms of an expanded trinomial is the triangular number

tn+1=(n+2)(n+1)2,

where Template:Math is the exponent to which the trinomial is raised.[3]

Example

An example of a trinomial expansion with n=2 is :

(a+b+c)2=a2+b2+c2+2ab+2bc+2ca

See also

References

Template:Reflist