29.5k views
1 vote
How many six-letter permutations can be formed from the letters of the word madrid?

User Mekanik
by
6.0k points

1 Answer

3 votes
If we were to write them in a line, we have six slots and six 'distinct' letters.
Thus, the total arrangement would be 6! = 720 ways.

However, letters are just letters. Since we have two 'd's', we would have overcounted by a factor of 2!, since the two d's can change in 2! ways without us noticing.

In order to understand this further, we can develop a general pattern with repeated objects.

Let's say the word was maaddrid. We have two a's and three d's that are the same each time. Thus, the a's can interchange in 2! ways, and the d's can interchange in 3! ways.

We can further develop a general rule:
When we have p repeated elements, such as in a word, we would have overcounted by a factor of p! ways, because in the end, they will still have the same arrangements. If we have p and q repeated elements, we would have overcounted by a factor of p! AND q! ways.

Thus, when taking n objects and arranging them in a line, if we have p and q repeated elements, we give this a special formula:


\boxed{P = (n!)/(p!q!)}

Going back to the original question, we can then say that the total number of DIFFERENT arrangements becomes:

P = (6!)/(2!) = (720)/(2) = 360
User Maor Veitsman
by
7.3k points