Permutations
A permutation is an arrangement of objects where order matters. Picking a president and vice-president, seating people in a row, or setting a lock code are all permutations: swap two people and you get a different result. Permutations are the multiplicative counting principle packed into one handy formula.
Key ideas
Section titled “Key ideas”What is a permutation?
Section titled “What is a permutation?”A permutation of objects chosen from different objects is an ordered arrangement of them. For the letters A, B, C, taken two at a time, the permutations are
AB and BA count as different, because order matters.
The formula
Section titled “The formula”The number of permutations of objects chosen from different objects is
Here’s why. There are choices for the first spot, for the second, and so on, for spots:
That’s the first factors of , which is exactly . For example, .
Arranging all objects gives .
On most calculators, use the nPr key: for , type , then nPr, then .
When to use permutations
Section titled “When to use permutations”Ask: if I swap two of the chosen items, do I get a different result? If yes, order matters, and it’s a permutation. Clues include:
| Clue | Example |
|---|---|
| Different roles or positions | president, vice-president, treasurer |
| Rankings | first, second, third place |
| Arrangements in a line | seating, photos, books on a shelf |
| Codes and “words” with no repeats | a lock code with different digits |
If swapping makes no difference (like choosing a committee), see combinations.
Handling restrictions
Section titled “Handling restrictions”- Fixed position: place the restricted item first, then arrange the rest. If Ana must sit on the left end of seats, the other people fill the remaining seats in ways.
- Kept together: glue the items into one block. Arrange the block with the other items, then multiply by the number of ways to arrange the items inside the block.
- Kept apart: use the complement. Count all arrangements, then subtract the ones where the items are together:
Worked examples
Section titled “Worked examples”Example 1: Team captains
Section titled “Example 1: Team captains”A hockey team has players. In how many ways can it choose a captain, a first alternate captain, and a second alternate captain?
Solution. The three roles are different, so order matters. Choose from :
Example 2: A fixed position
Section titled “Example 2: A fixed position”Six people line up for a photo.
- (a) In how many ways can they line up if Ana must be on the left end?
- (b) In how many ways if Ana must be on either end?
Solution. (a) Put Ana on the left end. The other people fill the other spots:
(b) Ana has choices of end, and then the other people fill the rest:
Example 3: Together and apart
Section titled “Example 3: Together and apart”Seven different books, including two math books, are placed on a shelf.
- (a) In how many ways can they be arranged if the two math books must be side by side?
- (b) In how many ways if the two math books must not be side by side?
Solution. (a) Glue the two math books into one block. Now there are items to arrange (the block and the other books): ways. Inside the block, the math books can be in either order: ways.
(b) Use the complement. All arrangements: .
Example 4: Making “words”
Section titled “Example 4: Making “words””How many four-letter arrangements can be made from the letters of PLANETS (no letter used twice)? How many of them start with a vowel?
Solution. PLANETS has different letters. Order matters, so:
For a vowel first: the vowels are A and E, so the first letter has choices. The other spots are filled from the remaining letters:
Common mistakes
Section titled “Common mistakes”Using a permutation when order doesn’t matter. Choosing people for a committee is not a permutation: the same three people in a different order are the same committee. Ask the swap question every time.
Forgetting to arrange inside the block. When items are kept together, the block can be arranged in its own ways. Two books together give a factor of ; three people together give .
Trying to count “apart” directly. It’s much easier to subtract: total minus together.
Mixing up n and r. In , is how many you have to choose from, and is how many you arrange. is (Example 1), but doesn’t make sense.
Not filling the restricted spot first. Place the item with a restriction first; otherwise you may count choices that break the rule.
Practice
Section titled “Practice”1. (Warm-up) Evaluate , , and .
Solution
. . .
2. (Warm-up) Does order matter? Say whether each is a permutation.
- (a) awarding gold, silver, and bronze medals to of skaters
- (b) choosing of students to help at a school event, all doing the same job
- (c) setting a lock code using different digits
Solution
(a) Yes: swapping gold and silver gives a different result. (b) No: the same three helpers in a different order is the same group. (c) Yes: and are different codes.
3. (Warm-up) You have songs. In how many ways can you choose and order the first songs of a playlist?
Solution
4. (Core) Eight swimmers are assigned to lanes.
- (a) How many lane assignments are possible?
- (b) How many if Wei must swim in lane ?
Solution
(a) .
(b) Wei is fixed, so the other swimmers fill lanes: .
5. (Core) The letters of FRIDAY are arranged.
- (a) How many arrangements are there?
- (b) How many start with F?
- (c) How many have the vowels I and A next to each other?
Solution
FRIDAY has different letters.
(a) .
(b) F is fixed first, and the other letters fill the rest: .
(c) Glue I and A into a block: items to arrange, then orders inside the block. .
6. (Core) Five friends sit in a row of seats. Jo and Sam don’t want to sit next to each other. How many seating arrangements are possible?
Solution
Total: . Together: treat Jo and Sam as a block, giving .
7. (Core) A bike lock code uses different digits from to .
- (a) How many codes are possible?
- (b) How many start with an even digit?
Solution
(a) .
(b) The first digit has choices (). The other digits are chosen in order from the remaining : .
8. (Challenge) Solve .
Solution
. So , which factors as . Since must be positive, .
Check: . ✓
9. (Challenge) Four boys and three girls stand in a row. In how many ways can they line up if boys and girls must alternate?
Solution
With boys and girls, the only alternating pattern is B G B G B G B (starting with a girl would need as many girls as boys). The boys fill their spots in ways and the girls fill their spots in ways:
Homework
Section titled “Homework”Try these independently after the practice questions. Show your counting setup and explain why it counts each arrangement exactly once. You may use a calculator for arithmetic, but write the expression before evaluating it. Homework solutions are not provided on the published site.
Foundations
Section titled “Foundations”H1. Evaluating permutations. Evaluate , , and . For the first expression, show how the factorials cancel.
H2. Does order matter? For each situation, explain whether swapping two chosen items changes the outcome. State whether is an appropriate counting formula; you do not need to calculate a total.
- (a) Awarding gold, silver, and bronze medals to three of eleven runners, with no ties.
- (b) Choosing four of nine volunteers to do the same job, with no separate roles.
- (c) Making a four-digit lock code when digits may repeat and the code may start with .
- (d) Arranging six different books in a row on a shelf.
H3. Roles and playlists. Count the possible outcomes in each situation.
- (a) Ten volunteers choose a coordinator, a recorder, and a presenter. Each person can hold at most one role.
- (b) You have fourteen different songs and choose and order the first five songs of a playlist. No song is repeated.
H4. A photo lineup. Eight different students, including Ana and Ben, stand in a row. How many lineups are possible in each separate situation?
- (a) There are no restrictions.
- (b) Ana must be at the left end.
- (c) Ana must be at either end.
- (d) Ana must be at the left end and Ben at the right end.
H5. Letter arrangements. Make five-letter arrangements from TRIANGLE. Each of its eight letters is different, and no letter may be repeated. An arrangement does not need to be a real word. Count arrangements that
- (a) have no further restrictions;
- (b) start with a vowel;
- (c) start and end with a vowel.
The vowels available are I, A, and E.
H6. Books on a shelf. Seven different books include three math books. Count the shelf arrangements in which
- (a) all three math books are consecutive, in any order;
- (b) all three math books are consecutive, with their titles in alphabetical order from left to right.
H7. Keeping friends apart. Eight different friends, including Nia and Sam, sit in a row of eight seats. Nia and Sam must not sit next to each other. How many seating arrangements are possible? Give a reason for each term in your counting expression.
Challenge
Section titled “Challenge”H8. Codes versus numbers. Use five different digits chosen from to .
- (a) How many five-digit lock codes are possible if the first digit may be ?
- (b) How many of those codes end with an even digit?
- (c) How many even five-digit numbers can be made? A five-digit number cannot start with . Explain why the final digit needs to be handled separately from the other even final digits.
H9. Finding the unknown. Find every permitted whole-number value of in each equation. State the smallest permitted , show your algebra, and check your answer in the original equation.
- (a)
- (b)
H10. Alternating colours. All volunteers are different people. Count the lineups in each separate situation if red and blue shirts must alternate.
- (a) There are three volunteers in red shirts and three in blue shirts.
- (b) There are four volunteers in red shirts and three in blue shirts.
- (c) There are four volunteers in each colour, and one particular red-shirted volunteer must be at the left end.
H11. Two groups of books. Eight different books include three math books, two science books, and three novels. All three math books must be consecutive, and both science books must be consecutive. The math group and science group must have at least one novel between them. How many shelf arrangements satisfy all three conditions? Books within each group may be in any order.
H12. Combining restrictions. Seven different students, including Ana, Ben, Chloe, Dana, and Eli, line up for a photo. Dana and Eli must be next to each other, while Ben and Chloe must not be next to each other.
- (a) How many lineups are possible if Ana must be at the left end?
- (b) How many are possible if Ana may be at either end?
Explain why your method respects all the conditions at the same time.