Sub topic 7
Arrangements with Repeated Letters and Identical Objects
Assume you know factorials, permutations, and combinations. The main issue in this chapter is avoiding overcounting when some objects are identical.
Why repeated objects cause overcounting
For \(n\) distinct objects, the number of arrangements is \(n!\). If some objects look identical, swapping identical copies does not create a new arrangement.
For example, consider the letters in AAB. Treating the two A's as distinct temporarily gives:
- A₁A₂B
- A₁BA₂
- A₂A₁B
- A₂BA₁
- BA₁A₂
- BA₂A₁
There are \(3! = 6\) temporary arrangements. Each visible arrangement appears \(2!\) times because A₁ and A₂ can exchange places without changing the word. Therefore,
\[ \text{different arrangements}=\frac{3!}{2!}=3. \]
The actual arrangements are AAB, ABA, and BAA.
General formula
If \(n\) objects contain:
- \(r_1\) identical copies of one type,
- \(r_2\) identical copies of another type,
- and so on,
then the number of different linear arrangements is
\[ \frac{n!}{r1!r2!\cdots}. \]
| Situation | Count |
|---|---|
| All \(n\) objects distinct | \(n!\) |
| One repeated type occurring \(r\) times | \(\frac{n!}{r!}\) |
| Several repeated types | \(\frac{n!}{r_1!r_2!\cdots}\) |
For MISSISSIPPI, there are 11 letters: 1 M, 4 I's, 4 S's, and 2 P's. Hence,
\[ \frac{11!}{4!4!2!}=34{,}650. \]
import math
# MISSISSIPPI: 1 M, 4 I, 4 S, 2 P
arrangements = math.factorial(11) // (
math.factorial(4) * math.factorial(4) * math.factorial(2)
)
print(arrangements) # 34650A reliable counting process
Use this process:
- Count the total number of objects, including repeated copies.
- Compute \(n!\), as if every copy were distinguishable.
- Divide by the factorial of each repeated count.
- Check whether the question adds a restriction such as “together” or “apart.” Handle that restriction separately.
The denominator removes duplicate descriptions of the same visible arrangement. Do not divide by the number of distinct letter types. Divide by the factorial of each multiplicity.
Visual model
Common errors
- Using \(n!\) directly when letters or objects repeat.
- Dividing by only one repeated group when several groups repeat.
- Treating different-looking objects as identical without being told they are identical.
- Applying the formula before checking whether positions or adjacency conditions create additional cases.
Exercise
How many different arrangements can be formed using all the letters of BANANA?
Show answer
BANANA has 6 letters: A occurs 3 times, N occurs 2 times, and B occurs once. The count is 6!/(3!2!) = 60.