Permutations of words from original word.

735 Views Asked by At

How many distinct 4-letter arrangements can be made with the letters in the word "PARALLEL"?

My approach: Because we are only looking at how many different permutations there are and not the frequency at which these permutations exist, we can delete the repeated letters and leave only one. This leaves us with the following set of letters: $\{P, A, R, L, E\}$ So $5$ permute $4$ is $120$. It was only then that I realized that deleting repeats will remove words such as $LLLE$ to exist. At this point, I do not know how to add on these possibilities to my approach.

I would appreciate help, and as always, bash me whenever you see a typical blunder of mine.

4

There are 4 best solutions below

2
On

There are a few cases:

  1. All $4$ letters distinct. There are $\binom{5}{4} = 5$ ways to pick the letters and $4!$ ways to order them.

  2. Two letters distinct, one letter repeated twice. Either two A's or two L's. If we have two A's, then we have $\binom{4}{2} = 6$ ways to pick the other letters. $4!$ ways to order them, but divide by $2!$ to account for the doubled letter. Then do the same thing again for the double-L case.

  3. Two letters repeated twice. Two A's, two L's. $4!$ ways to order the letters, divide by $2!2!$ to account for the repetitions.

  4. One letter by itself, one letter repeated three times. Just the L here. Once we have the triple L, there are $4$ choices for the final letter. $4!$ ways to arrange the letters, divided by $3!$ for the triple L.

$$5 \cdot 4! + \frac{6 \cdot 4! \cdot 2}{2!} + \frac{4!}{2! \cdot 2!} + \frac{4 \cdot 4!}{3!} = 286$$

0
On

Arranging the letters in alphabetical order yields AA E LLL P R. In the four-letter word there may be

  • no repeats: this has been calculated in the question, and there are 120 words of this form.
  • two of A, the rest distinct: There are $\binom42=6$ ways to place the A's, and 4 × 3 = 12 ways to place two more letters in the word. This makes 72 ways for this case.
  • two of L, the rest distinct: this has the same number of words as the previous case (72).
  • two of A and two of L: Again, 6 ways to place A's, but then there is only one way to place the L's. Hence 6 ways.
  • three of L: there are $\binom43=4$ ways to place the L's, and 4 possibilities for the remaining letter. This makes 16 ways.

Summing all cases up (which are mutually exclusive and exhaustive) yields 286 4-letter words from PARALLEL.

5
On

As you can see, the case approach can be quite error prone, especially for more complex problems:

An alternative approach using generating functions is to find:

coefficient of $x^4$ in $4!(1+x)^3(1+x+\frac{x^2}{2!})(1+x+\frac{x^2}{2!}+\frac{x^3}{3!}) = 286$

For a detailed explanation of why this works, you can see this answer on MSE

0
On

If you use $j$ A's and $k$ L's, there are $\binom3{4-j-k}$ ways to select the remaining letters, and there are $\frac{4!}{j!k!}$ different ways to arrange the $4$ letters, so in total there are

$$ \sum_{j=0}^2\sum_{k=0}^3\binom3{4-j-k}\frac{4!}{j!k!}=286 $$

admissible words (Wolfram|Alpha computation of the double sum).