Permutations and Combinations
Permutations and Combinations
A permutation is an arrangement with an order and the order is relevant. The permutation
ABC is different to the permutation ACB.
A combination is a collection of things without an order or where the order is not relevant. The
combination ABC is the same as the combination ACB.
If the ordering is relevant, repetitions are allowed and there are 𝑛𝑛 objects to choose from,
then there are 𝑛𝑛𝑟𝑟 different arrangements of 𝑟𝑟 objects possible.
Example
Choose a 4 digit PIN from the digits 0 to 9. Repetition is allowed.
(a) Think of the number of ways you can fill the four places by filling in boxes
Example
From a group of 10 people in the club choose 3 different people to be president, secretary
and treasurer.
Number of ways to do this 10 9 8 = 10 × 9 × 8 = 720
10! 10×9×8×7×6×5×4×3×2×1
OR nPr = = = 10 × 9 × 8 = 720
7! 7×6×5×4×3×2×1
Since we do not care about the order of the 𝑟𝑟 objects 𝑛𝑛𝐶𝐶𝑟𝑟 is the number of ways to arrange 𝑟𝑟
objects without repetition given 𝑛𝑛 objects, 𝑛𝑛𝑃𝑃𝑟𝑟 , divided by the number of ways of arranging
𝑛𝑛!
those 𝑟𝑟 objects, 𝑟𝑟!. That is 𝑛𝑛𝐶𝐶𝑟𝑟 = = 𝑛𝑛𝑃𝑃𝑟𝑟 ÷ 𝑟𝑟!
𝑟𝑟!(𝑛𝑛−𝑟𝑟)!
Example
From a group of 10 people, select 3 people to form a committee.
10! 10×9×8×7×6×5×4×3×2×1 10×9×8
10C3 = = = =120
7!×3! (7×6×5×4×3×2×1)×(3×2×1) 3×2×1
Example
We have 4 different types of flour available to make our bread; rye, wheat, barley
and soy. We need 3 cups of flour for the recipe. We can use any combination of the
flours, from all 3 cups of the same type, to each cup being a different type. How
many possible combinations are there?
Think of lining up our 4 jars of flour 𝑟𝑟 𝑤𝑤 𝑏𝑏 𝑠𝑠
We start from the rye jar and end at the soy jar (this requires 3 movements between
jars) and we need to take 3 scoops. We can do these in any order. Let → indicate
moving to the next jar and ∎ mean taking a cup of flour.
OTHER PERMUTATIONS
1. Arranging n objects when p are alike, q are alike and r are alike.
Example
How many ways are there to arrange 15 folders on a bookshelf when 4 are blue, 6
are red and 5 are yellow?
If all 15 were different the answer would be 15! Here, as we can’t tell the 4 blue
folders apart we need to dive by the 4! arrangements of these blue folders, similarly
for the red folders and the yellow folders. So there are
𝑛𝑛! 15!
= = 630630 different arrangements of our folders.
𝑝𝑝!×𝑞𝑞!×𝑟𝑟! 4!×6!×5!
This is different to arranging in a line as there is no set place to start. Placing the
first object can only be done in one way as all places are considered equivalent.
After the first object is placed it becomes the same as placing the last 𝑛𝑛 − 1 objects
in a line.
Number of ways = (𝑛𝑛 − 1)!
Example
Example
EXERCISES
1. How many ways can you form a 4-person committee from 6 men and 5 women?
(a) with no restrictions
(b) the committee has 2 men and 2 women
(c) the committee has only 1 woman
2. How many ways can you arrange 3 French books, 2 history books, and 5 maths
books if
(a) All books are different
(b) All the French books look the same, all the history books look the same and
all the maths books look the same.
3. How many number plates with 6 characters can be formed using letters and
numbers from 0 to 9
(a) With no restrictions
(b) Without repetitions
(c) If you have 3 letters followed by 3 numbers (repetition allowed)
(d) If you have 2 letters, 2 numbers, then 2 letters and the 2-digit number must
be odd.
4. How many ways can you choose a president and secretary from a club
consisting of 16 members?
(a) With no restrictions
(b) With both positions held by men, if there are 7men and 9 women
(c) If Dave is the president
5. How many ways can you pick a team of 6 players from a class of 25 students
(a) With no restrictions
(b) If Harry is not on the team
(c) If Fred and Harry always fight so you can’t have both of them on the team
6. How many ways can you arrange 8 people at a round table (clockwise and
anticlockwise arrangements are considered different)
(a) With no restrictions
(b) If George and Harry must sit next to each other
(c) If Mary refuses to sit next to George
(d) If clockwise and anticlockwise arrangements are considered equivalent.
ANSWERS
1. (a) 11C4 = 330
(b) 6C2 x 5C2 = 150
(c) 5 x 6C3 = 100
6. (a) 7! = 5040
(b) 6! = 6! = 1440
(c) 5040 – 1440 = 3600
7!
(d) = 2520
2
The following link is to a website that covers this material in more depth together with
an online quiz.
http://www.mathsisfun.com/combinatorics/combinations-permutations.html