How do we count the number of ordered arrangements of a set of objects?
Use the multiplication principle and the permutation formula to count ordered arrangements, including restrictions and repeated elements
A focused answer to the HSC Maths Extension 1 dot point on permutations. The multiplication principle, the formula for arrangements of from , permutations of objects with repeats, circular permutations, and counting with restrictions, with stepped diagrams and worked examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
What this dot point is asking
NESA wants you to count ordered arrangements (permutations) of objects, with or without repeats, in circular or linear settings, and to apply the common restrictions: objects that must or must not be adjacent, objects fixed at particular positions, and so on. The whole topic rests on one idea, the multiplication principle, so the real skill is learning to break a counting problem into a sequence of independent choices and then deciding which standard pattern it matches.
The answer
The multiplication principle
If a procedure can be performed in ways at step 1, and (independent of step 1) in ways at step 2, , and ways at step , then the total number of ways to complete the procedure is
This is the foundation of every counting problem in the course. The word "independent" is doing real work: the number of options at step 2 must not depend on which option you took at step 1 (the options themselves can change, only the count must stay fixed). When you arrange distinct people in seats, choosing person A for seat 1 versus person B for seat 1 leaves a different set of people for seat 2, but the same number () of them, so the principle applies.
Permutations of distinct objects
The number of ways to arrange all distinct objects in a row is
Reasoning straight from the multiplication principle: choices for the first position, for the second (one object is used up), for the third, and so on down to for the last. By convention , which is what makes the from formula below work when .
Permutations of from
The number of ways to choose and arrange objects from distinct objects (order matters, no repetition) is
The product form on the right is usually faster by hand: it is just descending factors starting at . For example , four factors, with no need to compute and separately. The notation is sometimes or ; NESA tends to write .
Watch the multiplication principle fill the positions, stage by stage
Counting (arrange of the distinct letters ) is the clearest way to see why the formula is a product of descending factors. Fill the positions left to right; each time a letter is used it leaves the available pool, so the choice count drops by one.
Stage 1, choose the first position. All letters are available, so there are ways to fill position 1.
Stage 2, choose the second position. Say took position 1. It is now used, so only remain: ways to fill position 2.
Stage 3, choose the third position. Two letters are now used, so remain for position 3. By the multiplication principle the total is the product of the choice counts: . Notice this is exactly , the descending product stopping after factors.
Permutations with repeats (identical objects)
If you have objects of which are alike, are alike, , are alike (with ), the number of distinct arrangements is
Here is why you divide. Pretend for a moment the identical objects are labelled and distinct: then there are arrangements. But swapping the identical objects among themselves does not produce a new arrangement, and there are such swaps; likewise for the second group, and so on. So over-counts each genuinely different arrangement by a factor of , and dividing corrects it. This "divide out the over-count" move is exactly the same idea that turns permutations into combinations on the next dot point.
Circular permutations
The number of distinct circular arrangements of distinct objects is
Reasoning: around a round table there is no fixed "first seat", so every arrangement looks the same under rotation. There are rotations of each seating, so the linear arrangements over-count by a factor of , giving . The standard way to do a circular problem is to fix one person in a seat to kill the rotational symmetry, then arrange the remaining people linearly in the other seats. If reflections are also counted as the same (turning a bracelet or necklace over), divide by a further to get .
Restrictions: the standard moves
- Two (or more) objects must be together
- Glue them into a single block and arrange the block among the other objects: if there were objects, you now arrange items, giving , then multiply by the internal arrangements of the block ( for two glued objects, for a block of ). "All the vowels together" is the same move: glue every vowel into one block.
- Two objects must not be together
- Do not try to count this directly. Use the complement: (not together) (total) (together). This is almost always faster and is what markers expect.
- A particular object in a fixed position
- Lock that object in place and arrange the rest. With one object fixed, you arrange the remaining in ways.
Some objects in particular kinds of slots (for example, an arrangement must start with a vowel, or the sexes must alternate). Count the restricted positions first, then fill the rest, multiplying the stage counts together.
Summary recipe
- Decide whether order matters. Yes for permutations; no for combinations (the next dot point).
- Decide whether repetition is allowed. With unlimited repeats and slots the count is (each slot independently has options); without repeats use .
- Decide whether you arrange all or only of them.
- Apply restrictions by gluing (together), subtracting (not together) or locking (fixed position), and handle circles by fixing one object.
How exam questions ask about permutations
- "In how many ways can ... be arranged in a row / a line / on a shelf?": a straight (all distinct) or (only of them).
- "How many arrangements of the letters of the word ...?": check for repeated letters; if any, use .
- "... seated around a circular / round table?": circular, answer (fix one person).
- "... if [two named people] sit together / are next to each other?": glue into a block, .
- "... if [two named people] do not sit together / must be separated?": complement, total minus together.
- "... if it must begin with [a vowel / a specific object] / [object] is in a fixed seat?": lock that position, then arrange the rest.
- "How many [codes / numbers / arrangements] with no repeated [digit / letter]?": . If repeats are allowed it is instead.
- The word "different" or "distinct" is the cue to divide out repeats; its absence when identical objects are present is the classic trap.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2021 HSC Q62 marksHow many five-letter arrangements of the letters in the word "CHAIR" are there?Show worked answer β
All five letters are distinct. The number of arrangements of distinct letters is .
Markers reward identifying distinct objects and applying directly.
2020 HSC Q233 marksIn how many different ways can the letters of the word "BANANAS" be arranged?Show worked answer β
Letters: B, A, N, A, N, A, S. Total letters. Repeats: A's, N's.
Number of distinct arrangements: .
Markers reward identifying the multiset structure, applying the formula for permutations of objects with repeats, and clean arithmetic.
