Mathematics · Ch 12 — Permutations and Combination
Permutations when repetitions are allowed
Permutations when repetitions are allowed
This sub-section proves Theorem 2: when repetitions ARE allowed, the number of arrangements of distinct objects taken at a time is .
Proof. The problem is again the same as filling places in a row, but now with repetitions of the available objects permitted. Consider the same style of table as in §3.5.1, listing the places across the top and the number of ways to fill each place across the bottom — but this time, BECAUSE repetitions are allowed, using an object at one place does not remove it from the pool available for the next place, so every single place, from 1st through to th, independently has all objects available. By the Multiplication Principle, the total is
Solved Example 1. It is required to arrange 8 books on a shelf; find the number of ways if two specified books are (i) always together, (ii) never together. (i) Treat the two specified books as a single combined unit — this leaves 7 items to arrange (the combined unit plus the other 6 books), giving ways; the 2 books WITHIN the combined unit can themselves be swapped in ways. Total . (ii) One method: take one of the two specified books together with the other 6 (i.e. 7 books), arrange these 7 in ways; then the REMAINING (second specified) book must be placed so as to avoid the 2 positions immediately adjacent to the first specified book — leaving 6 valid positions out of the gaps created — giving . Alternative method: subtract the 'always together' count from the unrestricted total: , confirming the same answer by the complement approach.
Solved Example 2. In how many ways can 7 examination papers be arranged so that papers 6 and 7 are never together? By the same reasoning as the previous example's alternative method, the count of arrangements where any two specified papers (out of 7 total) are never together is .
Solved Example 3. A family of 3 brothers and 5 sisters is to be arranged for a photograph so that (i) all brothers sit together, (ii) no two brothers sit together. (i) Treating the 3 brothers as one combined unit gives 'persons' to arrange, in ways; the 3 brothers within their unit can then be arranged among themselves in ways. Total . (ii) First arrange the 5 sisters among themselves: ways. This creates a pattern with a gap before, between, and after each sister — shown as , where each marks a position where at most one brother could be placed so that no two brothers end up adjacent. Since there are 6 such gap-positions and 3 brothers to place into them (at most one per gap, and order matters since the brothers are distinct), the number of ways is . The required total is then .
A general Theorem follows for when some of the objects must always stay together: the number of permutations of objects taken all at a time, when specified objects among them must always come together, is . Proof: since the specified objects always come together, treat them as a SINGLE combined object — this reduces the count of distinct objects (for permutation purposes) from down to . These objects can be arranged, taken all at a time, in ways. Within any one such arrangement, the original specified objects (still together as a block) can be rearranged among THEMSELVES in ways. Since this internal rearrangement is possible for each and every one of the outer arrangements, the total number of permutations is . …
Place: 1st, 2nd, 3rd, ..., (r-2)th, (r-1)th, rth | Number of ways: n, n, n …