Definition 1.1.1
A permutation is a possible arrangement of objects in a set where the order of the objects matters.
How many ways can you line things up? Fill the slots one at a time and multiply the choices.
In this section you will be able to count arrangements by filling slots one at a time and multiplying the choices.
Your bike lock has 3 dials, and each dial shows a digit from 0 to 9. How many codes would a thief have to try? Guess first: is it 30? 100? 1000?
When the order of things matters, we call each arrangement a permutation. The big idea of this chapter is simple: fill the slots one at a time, and multiply the number of choices for each slot.
A permutation is a possible arrangement of objects in a set where the order of the objects matters.
How many 3-digit passwords are possible where each digit is a number from 0 to 9?
First, how many 1-digit passwords are there?
How many 3-digit numbers exist with all odd digits?
How many 3-digit numbers exist with all even digits?
A special type of license plate includes 3 distinct letters at the beginning and 4 single-digit numbers after. How many such license plates exist?
In this section you will be able to count the ways to line up n different things with n!, and know 0! to 6! by heart.
Sohil has 4 different wrapping papers and must use all of them, one layer on top of another. Unlike passwords, he can’t use the same paper twice. What changes?
Each time you use something up, the next slot has one fewer choice. Multiplying comes up so often that it gets its own name and symbol: , said “4 factorial”.
A factorial is the product of all positive integers less than or equal to a given positive integer. In other words,
For math competitions, memorise these factorials. It will save you a lot of time:
Use the flash-card mode in the widget above to practise them.
Reminder: a permutation is a possible arrangement of objects in a set where the order of the objects matters. Lining up all objects is the biggest permutation of all.
The number of ways of arranging distinct objects is just
Sohil has 1 wrapping paper in each of 4 different colours: red, orange, green and blue. He needs to wrap all of them around a box in any order. How many ways are there for him to do this?
Start with the innermost layer. How many ways are there to choose a colour for this layer?
Find the number of ways to arrange 4 different books on a bookshelf.
How many choices are there for the first book on the shelf?
There are 4 different AMC 8 videos. Every student in the class watches the videos in a different order. What is the maximum number of students in the class?
Every student watches all 4 videos. What are we really counting?
Find the number of ways to arrange 5 different books on a bookshelf.
The Dragonvale Middle School chess team consists of two boys and three girls. A photographer wants to take a picture of the team to appear in the local newspaper. She decides to have them sit in a row with a boy at each end and the three girls in the middle. How many such arrangements are possible?
Professor Chang has nine different language books lined up on a bookshelf: two Arabic, three German, and four Spanish. How many ways are there to arrange the nine books on the shelf keeping the Arabic books together and keeping the Spanish books together?
In this section you will be able to count ordered choices of k things out of n with the permutations formula.
A club of 7 people needs a president, a vice president and a secretary. Being president is not the same job as being secretary, so the order of picking matters. How many ways can the club fill the jobs?
This time we stop early: we only fill 3 positions, not all 7. So we multiply just the first 3 numbers of the countdown.
The number of ways to order objects out of total objects is
Notice how we can use this formula as a shortcut to the previous problem. Sam's stamps are just .
Why does the fraction work? multiplies all the numbers from down to 1. We only want the first of them, so we divide away the tail .
Sam has 5 different stamps and is making a Christmas card where he puts 3 different stamps in a line. How many different Christmas card designs can he make?
How many choices are there for the first stamp in the line?
Evaluate .
Compare with the formula . What are and ?
Find the number of ways of selecting a president, vice president, and secretary from a group of 7 people.
How can we approach the problem?
Evaluate and .
If you have Alice, Betty, and Chase and you need to choose two of them to be the president and vice president of the math club, how many ways are there to do this?
Find the number of ways of selecting a president, vice president, and secretary from a group of 8 people.
How many ways are there to pick your favorite and second favorite book amongst 5 books?
There are 10 students at a math contest. How many ways are there to select the first, second, and third place winners?
There is a school race with 12 students. How many different ways are there to award the gold, silver, and bronze medals if no ties are possible?
In this section you will be able to count numbers with digit rules, starting with the most restrictive digit.
Passwords, licence plates, phone numbers: all “fill in the slots” problems. But numbers have a trap: the first digit can’t be 0.
Digit problems come with rules: odd, even, all different, no leading zero. The trick is to fill the pickiest slot first, so every slot’s number of choices stays fixed.
Generally, in these problems we want to handle the most restrictive conditions first. In Example 1.8, if we started at the units digit, we would have trouble counting the options for the thousands digit (is 0 already used or not?). Then we would need casework, a more advanced technique that comes in a later chapter.
How many 4-digit numbers have all digits distinct?
For the first digit, how many choices do we have?
How many 4-digit numbers exist such that the first digit is odd and the other 3 digits are even and all digits distinct?
How many choices are there for the first digit? For the 2nd digit?
How many 5-digit palindromes are there? A palindrome is a number that reads the same forward and backward.
A 5-digit palindrome looks like . Which digits can you choose freely?
How many 6-digit numbers exist such that all the digits are distinct, the first 2 digits are 6 or more, the last 2 digits are 5 or less, and the 3rd digit is a nonzero multiple of 7?
Which digit is the most restrictive? How many choices does it have?
How many 3-digit odd numbers are there with distinct digits?
Find the number of 3-digit numbers with all of its digits distinct.
How many 4-digit numbers are not palindromes? A palindrome is a number that reads the same forward and backward.
How many integers between 1000 and 9999 have four distinct digits?
In this section you will be able to count seatings around a round table, where turning the table doesn't make a new seating.
Five friends sit around a round pizza table. If everyone shifts one seat to the left, is that a new seating? Everyone still has the same neighbours, so no!
At a round table, only who sits next to whom matters. The trick: fix one person in place and arrange everyone else around them.
The number of ways of arranging objects in a circle, where rotations of the same arrangement aren't considered distinct, is
If reflections (mirror images) of the same arrangement aren't considered distinct either, it is
This works because we can simply fix one person at the top, and then there are ways to arrange the other people. This takes care of rotations, since rotating an arrangement would put someone else on top. We divide by 2 for reflections because of the symmetry between the left and right sides of the person at the top.
How many ways are there to arrange 5 people in a circle if rotations are not counted as distinct orientations?
When people sit in a circle, what trick takes care of rotations?
How many ways are there to arrange 5 people around a circle such that 2 of the people, Alex and Bob, must sit next to each other? Note that rotations are not counted as distinct orientations.
Glue Alex and Bob together into one block. How many "units" sit around the table now?
Gauss, Pauli, Einstein, Newton, Edison, and Faraday are sitting at a circular table. Einstein, Newton, and Faraday are enemies, so they refuse to sit next to each other. With this condition, how many ways are there for the 6 physicists to sit at the table if rotations are not counted as distinct orientations?
Without the enemy rule, how many seatings are there?
Alice, Bob, Claire, Dave, and Emma are sitting around a round table. Alice refuses to sit next to Bob. How many different ways can they sit around the table? (Rotations of the same arrangement are not considered different.)
In this section you will be able to mix every trick from this chapter on contest problems.
Time to mix it all up! These problems use slots, factorials, the permutations formula, digit rules and round tables, sometimes all at once. Every problem has three hints if you get stuck.
Want every problem from this chapter on one page? Open the problem set.
7 people are lining up for a photograph. If the 2 tallest people must be at the 1st and 7th positions in any order and the shortest person must be in the center, how many ways are there for them to line up?
How many permutations of the digits 1, 2, 3, 4 have 1 before 3 and 2 before 4? One such permutation is 2134.
Alice refuses to sit next to either Bob or Carla. Derek refuses to sit next to Eric. How many ways are there for the five of them to sit in a row of 5 chairs under these conditions?
Five distinct boys and four distinct girls are going to have lunch together around a table. They decide to sit down one by one under the following conditions: no boy will sit down when more boys than girls are already seated, and no girl will sit down when more girls than boys are already seated. How many possible sequences of taking seats exist?