What is the formula for permutations of multiple kinds in combinatorics?

Click For Summary
The discussion centers on finding the explicit formula for permutations of multiple kinds in combinatorics, specifically for a set of items divided into different categories. The formula involves calculating the unique permutations of length l from k kinds of items, represented by the counts n_1, n_2, ..., n_k. The solution requires determining combinations that sum to l and using the product of factorials of those combinations. The final expression utilizes the Multinomial Coefficient to represent the number of permutations. The professor's feedback emphasized the need for a more detailed explanation in the response.
12john
Messages
12
Reaction score
1
Thread moved from the technical forums to the schoolwork forums
My combinatorics professor has a MA, PhD from Princeton University. On our test, she asked

What's the explicit formula for the number of ##p## permutations of ##t## things with ##k## kinds, where ##n_1, n_2, n_3, \cdots , n_k## = the number of each kind of thing ?

I handwrote, but transcribed in Latex, my answer below.

To deduce the formula for all the unique permutations of length ##l## of ##\{n_1,n_2,...,n_k\}##, we must find all combinations ##C=\{c_1,c_2,...,c_k\}## where ##0 \leq c_k \leq n_k##, such that
##\sum_{i=1}^k c_i=l##.

What we need, is actually the product of the factorials of the elements of that combination:
##{\prod_{i=1}^k c_i!}##

Presuppose that the number of combinations is J. Then to answer your question, the number of permutations is
$$= \sum_{j=1}^J \frac{l!}{\prod_{i=1}^k c_i!}
= \sum_{c_1+c_2+...+c_k=l} \binom{l}{c_1,c_2, \cdots ,c_n},$$
as a closed form expression with a Multinomial Coefficient. *QED.*

How can I improve this? What else should I've written? Professor awarded me merely 50%. She wrote
Your answer is correct, but your solution is too snippy. You need to elaborate.
 
Last edited by a moderator:
Physics news on Phys.org
12john said:
I handwrote, but transcribed in Latex, my answer below.
I edited your LaTeX. At this site we use MathJax, which has to be delimited by either pairs of # characters (for inline TeX) or pairs of $ characters (standalone).
I also removed all the color stuff. We prefer that you use a minimum of extra color, bolding, italics, etc.
12john said:
How can I improve this? What else should I've written?
What she wrote was "You need to elaborate." The best explanation would come from your instructor.
 
First, I tried to show that ##f_n## converges uniformly on ##[0,2\pi]##, which is true since ##f_n \rightarrow 0## for ##n \rightarrow \infty## and ##\sigma_n=\mathrm{sup}\left| \frac{\sin\left(\frac{n^2}{n+\frac 15}x\right)}{n^{x^2-3x+3}} \right| \leq \frac{1}{|n^{x^2-3x+3}|} \leq \frac{1}{n^{\frac 34}}\rightarrow 0##. I can't use neither Leibnitz's test nor Abel's test. For Dirichlet's test I would need to show, that ##\sin\left(\frac{n^2}{n+\frac 15}x \right)## has partialy bounded sums...