Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have the following equation, which is simply the multinomial exapnsion:

[tex]\left[\sum_{l=1}^L\,x_l\right]^n=\sum_{k_1,k_2,\ldots,k_L}{n\choose k_1,k_2,\ldots,k_L}\prod_{l=1}^L\,x_l^{k_l}[/tex]

where the summation is taken over all possibilities that the summation of the nonnegative integer indices k1,k2,...,kL equal n.

How can I program this using Mathematica??

Thanks in advance

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Multinomial Expansion in Mathematica

**Physics Forums | Science Articles, Homework Help, Discussion**