Skip to content
← All questions

Why do we divide by the factorials of the counts of repeating letters when calculating permutations?

We divide by these factorials to correct for overcounting. When calculating n!n!, we treat all items as distinct. However, swapping identical items (like the three 'A's) does not produce a visually or logically new arrangement. There are k!k! ways to arrange kk identical items among themselves, so we must divide the total count by k!k! for each group of identical items to get the true number of unique permutations.

Conditions

  • Calculating permutations of a multiset.
  • Some elements in the set are indistinguishable.

Reasoning, step by step

  1. Start with the assumption that all nn items are distinct, yielding n!n! arrangements.
  2. Recognize that identical items (e.g., three 'A's) are interchangeable without changing the outcome.
  3. Calculate the number of internal swaps for the identical group, which is k!k!.
  4. Divide the total n!n! by k!k! to remove the redundant counts generated by treating identical items as distinct.
  5. Repeat this division for every group of identical items.

Example

The script explains: 'Swapping identical letters does not create a new arrangement. To correct the overcounting from the 7!7! calculation, we divide by the factorial of the counts of each repeating letter group.'

Common misconceptions

  • Believing that dividing by the count itself (e.g., 3) is sufficient instead of its factorial (3!).
  • Thinking that identical items still contribute to uniqueness based on their original position.

Watch the explanation

This platform does not support timestamp links. Locate this interval in the original video.If embedding is unavailable, use the original source.

Connected concepts

Explore next

Related questions

Find a method

↗
Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.