7.01g, 7.01h - Counting arrangements of objects
Count arrangements when some objects look identical, a number cannot begin with zero, or specified objects must be together or apart. You will also arrange only part of a collection, splitting into cases when repeated objects or different number lengths make a single factorial unsuitable.
Indistinguishable repeated objects
How many different three-digit numbers can be made from the cards , using each card at most once? The count treats the two ones as distinct. Dividing by is valid here, but why does each visible number have exactly two labelled versions? We will explain that special case and build a method that also works when the collection changes.
First arrange all the objects. If two identical copies of were temporarily labelled and , swapping their labels would produce two labelled arrangements with exactly the same visible word. Every visible word is counted times.
You already know
counts orders of distinct objects. counts ordered selections without replacement, whereas counts unordered selections. Multiply successive choices and add disjoint cases.
With several groups of identical copies, each group's hidden labels can be permuted independently. Dividing by all those factorials removes the same overcount from every arrangement.
Arrangements with identical copies
Suppose all objects are arranged in a line, with identical copies of one type, of another, and so on, where . The number of visibly different arrangements is
Not in the formula booklet: learn it.
Different letters count as different types, even if their shapes look similar. The division concerns indistinguishable copies, not letters that happen to be adjacent.
Worked example 1: two repeated pairs
Question. Calculate the number of different arrangements of all the letters of BALLOON.
Plan. Count all labelled orders, then divide by the exchanges of the two copies of and the two copies of .
Why this step? Each visible arrangement corresponds to labelled ones, regardless of where the repeated letters occur.
Answer. arrangements.
Check. Choose the two -positions, then the two -positions, then order : .
The next example adds one distinct letter. Only the total number of positions changes; the repeated-letter divisors stay the same.
Worked example 2: one extra distinct letter
Question. Calculate the number of different arrangements of all the letters of BALLOONS.
Plan. Use eight positions, still dividing only for the two copies each of and .
Why this step? The added has no identical partner, so it adds a position but no new non-trivial divisor.
Answer. arrangements.
Check. Insert into any of the eight gaps of a BALLOON arrangement: .
Factorials account for every exchange within an identical group.
Watch out
For three identical copies, divide by , not by . There are six ways to exchange three temporary labels, all giving the same visible arrangement.
Identify the multiplicities before writing the quotient.
Numbers with no leading zero
A string of digit cards is not necessarily a number with that many digits: a leading zero shortens the number.
For example, is an arrangement of four cards but represents the three-digit number . Count valid full-length numbers by subtracting the arrangements whose first digit is zero. Once that zero is fixed, reduce its remaining multiplicity by one.
Excluding a leading zero
If a multiset of digits contains zeros and other multiplicities , the number of -digit numbers using them all is
The second term fixes a zero first. The digits are used without replacement.
Not in the formula booklet: learn it.
You can reconstruct this formula from “all minus invalid”; its conditions are more useful than memorising a long quotient.
Worked example 3: two zeros
Question. Calculate the number of six-digit numbers that can be formed using all the cards .
Plan. Count every visible six-card arrangement and subtract those beginning with zero.
Why this step? The zeros are identical: fixing the first card as zero is one case, not two choices of which zero to place first.
Answer. six-digit numbers.
Check. A first digit of , or gives respectively , or completions, totalling .
The next example adds a second copy of . This changes the repeated-digit divisor in both the total and the invalid count.
Worked example 4: another repeated digit
Question. Calculate the number of seven-digit numbers using all the cards .
Plan. Repeat the subtraction, reducing the zero multiplicity after the first place is fixed.
Why this step? Fixing a zero removes one zero only. The two ones and two threes are still indistinguishable pairs in the remaining six positions.
Answer. seven-digit numbers.
Check. The first digit is , or , giving completions.
The arithmetic may be short, but the invalid count must use the right remaining collection.
Watch out
After fixing a zero first, do not keep the original divisor. There are zeros left, so the divisor becomes . Do not multiply by , because the copies are identical.
The same subtraction idea applies whenever one forbidden first position is easier to count than all the allowed first positions.
Objects together or apart
To make specified objects consecutive, join them into a temporary block, arrange the block with the remaining objects, then arrange the objects inside it.
For two distinct objects and , the block has two internal orders, and . A named order such as “ immediately before ” allows only . A fixed position is different again: fixing first leaves only the other objects to arrange.
One consecutive block
Among distinct objects in a line, the number of arrangements in which specified objects are all consecutive is
Treat them as one unit, with unrestricted internal order. If they must follow one specified internal order, omit the factor .
Not in the formula booklet: learn it.
“Not together” is often simplest as the complement of “together”. These two cases do not overlap and account for every arrangement.
Worked example 5: two people together
Question. Seven people, including and , stand in a line. Calculate the number of arrangements in which and stand next to each other.
Plan. Treat and as one block, and include both orders inside it.
Why this step? A block preserves adjacency wherever it is placed; multiplying by allows both and .
Answer. arrangements.
Check. The block may start in any of positions, the other five people have orders, and the block has orientations: .
The next example changes only the restriction, from together to apart. The total set of arrangements is unchanged.
Worked example 6: two people apart
Question. Calculate the number of arrangements of the same seven people in which and are not next to each other.
Plan. Subtract the adjacent arrangements from all arrangements.
Why this step? Counting every possible gap between and separately would create many cases; the forbidden case has the single block count already found.
Answer. arrangements.
Check. , so the complementary counts exhaust the total.
The block's internal arrangements are part of the count.
Watch out
Wrong: when and merely have to be adjacent. That permits only one internal order. Right: , unless the question specifically fixes who stands on the left.
For a larger block the same reasoning gives internal orders, provided its members are distinct and freely ordered.
Separating repeated objects with gaps
To keep identical objects apart, arrange the other objects first and place at most one identical object in each available gap.
If five distinct letters have been arranged, there are six gaps: one before the first letter, four between successive letters and one after the last. Placing identical copies of into different gaps prevents those copies from being adjacent.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account