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: Club executive
Section titled “Example 1: Club executive”A club has members. In how many ways can it choose a president, a vice-president, and a treasurer?
Solution. The 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 , 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: