Mathematics · Ch 12 — Permutations and Combination
Permutations when some objects are identical
Permutations when some objects are identical
This sub-section extends the permutation formula to the case where some of the objects being arranged are actually IDENTICAL to each other — a situation that arises naturally when arranging the letters of a word like GOOD, INDIA, GEOLOGY, MATHEMATICS, or PHILOSOPHY, where certain letters are repeated and hence not all the letters are genuinely distinct from each other.
The motivating idea is worked through with the small word ODD. First, temporarily treat the two D's as if they were distinguishable, labelling them and . Arranging the three 'letters' O, , (now all artificially distinct) gives arrangements: . But and are actually IDENTICAL, so several of these six 'different' arrangements are really the same word once the artificial labels are dropped: and both simply read ODD; and both read DDO; and and both read DOD. Since and can be swapped with each other in ways without changing the actual word, each genuinely distinct word has been counted exactly twice among the six labelled arrangements. So the true number of distinct words is — namely ODD, DOD, and DDO.
This motivates the general Theorem: consider a set of objects where objects are identical (copies of each other) and the remaining objects are all distinct from each other and from the repeated group (with ). The number of distinct permutations of these objects, taken all at a time, is .
Proof. Let denote the true number of distinct arrangements when of the objects are identical. If, instead, all objects were treated as fully distinct, the number of permutations would be the familiar . But each of the genuinely distinct arrangements corresponds to exactly different 'labelled' arrangements once the identical objects are artificially treated as distinguishable and rearranged among themselves — exactly as seen in the ODD example above, where each of the 3 true words corresponded to labelled versions. So , giving .
Two Remarks extend this to multiple distinct repeated groups. (1) If a set of objects, not all distinct, has objects of one kind and objects of a second kind (with , the rest distinct), the number of permutations of all objects taken together is — proved by the identical argument as the single-repeated-group theorem, applied twice. (2) More generally, if there are distinct kinds of repeated objects, with objects of the -th kind for (and ), the number of permutations of all objects taken together is .
Solved Example 1. Find the number of permutations of the letters of the word UBUNTU. UBUNTU has 6 letters, in which the letter 'U' is repeated 3 times (the rest — B, N, T — are distinct). By the theorem, the number of permutations is . …
Worked out. To motivate the identical-objects formula before it is stated as a general theorem, the text first temporarily treats the word ODD's two D's as if they were distinguishable, labelling them D1 and D2, and lists out all 3!=6 arrangements of O, D1, D2 as OD1D2, OD2D1, D1OD2, D2OD1, D1D2O, D2D1O. It then observes that once D1 and D2 are recognised as actually identical, several of these listed arrangements collapse into the same word — OD1D2 and OD2D1 both read as ODD, D1D2O and D2D1O both read as DDO, and D2OD1 and D1OD2 both read as DOD — leaving only 3 genuinely distinct words (ODD, DOD, DDO), which is exactly 6/2!=3, directly motivating why the general formula divides the 'as if all distinct' count …