Chapter 5 Permutations and Combinations
Chapter 5 Permutations and Combinations
Chapter 5 Permutations and Combinations
1
Do you actually know how to count…?
2
The basic counting principle.
3
The fundamental theorem of counting:
4
5
6
7
Factorial notation
8
9
SHIFT then x-1
to get x!
We say this as ‘x
factorial’
10
11
Mini whiteboards
12
To calculate permutations of n objects
13
There are three ways to select the first letter 3
3! = 6
14
To calculate simple permutations - factorial notation
n! = n (n - 1) (n - 2) ✕ … ✕ 3 ✕ 2 ✕ 1
Note: We define 0! =1
15
16
Answers
a) 8x7x6x5x4x3x2x1= 8! = 40320
b) 8x7x6x5x4x3x2x1 = 8! = 40320
c) 6x5x4x3x2x1= 6! = 720
d) 10x9x8x7x6x5x4x3x2x1 = 10! = 3628800
17
To calculate permutations with
repeated objects
18
Remember this definition?
The first A in first place and the second A in second place is identical to the first A in
second place and the second A in first place!
19
We divide by the factorial of the number of repeated
items to ‘cancel out’ the identical arrangements
20
Examples: how many distinct arrangements are there
using the letters from the word:
appearing
mississippi
21
Think about the choices for each coin, take it step by step
22
To calculate permutations with restrictions
23
Part b and c are examples of permutation questions “with restrictions”
24
Boxes or dashes can be a helpful method for keeping track of the
working.
ALWAYS consider the restrictions first.
25
Boxes or dashes can be a helpful method for keeping track of the
working.
Strategy
When both O and R have to be together, count this as one new item.
You now have 6 objects in your set, one of which is the combined item “OR”
30
Working:
Forgetting this step is a common
exam mistake.
a) The letters O and R are together Always remember to consider the
permutations of any items you
b) The letters O and R are not together. group
31
Try this:
32
33
Note - this ONLY removes
ways where three circles
are together.
You will still have
arrangements where two
circles are together
34
Practise questions
35
To calculate permutations of only r
objects out of n
36
What if we do not want to use all the objects?
We want to select 3 out of 7 different symbols for a code
37
What if we do not want to use all the objects?
7 x 6 x 5 x 4 x 3 x 2 x 1 = 7!
We can just do the multiplication in simple cases, but we can also do this…
38
Using factorial notation
We are counting the permutations of 7 symbols, taken 3 at a time:
39
On the calculator: nPr for permutations
Shift followed by ‘x’ gets you
the nPr button
How to use:
To find 5P3
40
Example:
41
Got a restriction too? Deal with that first.
Using the underline method and thinking about the choices each time
4 x 17 x 16 x 15 = 16320
42
43
44
45
We are going to consider the SPACES for the circles to fit into. Draw a
diagram to visualise this
46
47
Try this
48
49
50
51
To calculate COMBINATIONS
(when the order does not matter!)
52
To calculate combinations
This list shows all the possible permutations of the letters ABC
But how many COMBINATIONS do we have?
53
To calculate combinations
This list shows all the possible permutations of the letters ABC
But how many COMBINATIONS do we have?
Only 1 combination.
If the order does not matter then all of
these are the same
54
Write this in your book and learn it!
55
On the calculator - nCr for Combinations
Shift followed by ‘÷’ gets you
the nCr button
How to use:
To find 5C3
56
To calculate combinations
(when order does not matter)
57
Solutions
1) We are choosing a group of three people from 10.
The order in which this happens does not matter, so this is a combination
10C3 = 120
2) Assuming we are not allocating positions to the players in the order they are picked,
we are simply choosing 11 people for a team squad from the 20
20C11 = 167960
58
Spotting the difference
59
We can also use the fundamental theorem of counting
with combinations and restrictions
A team of 6 is to be selected from 6 women and 8 men
60
A team of 6 is to be selected from 6 women and 8 men
Solutions
1. How many ways is this possible if there are no restrictions? 14C6 = 3003
2. How many ways if we must have 2 women and 4 men? 6C2 x 8C4 = 1050
3. How many ways if we must have 3 women and 3 men? 6C3 x 8C3 = 1120
4. How many ways if we must have 4 women and 2 men? 6C4 x 8C2 = 420
5. If they are all women? 6C6 = 1
6. If they are all men? 8C6 = 28
61
62
63
Problem solving - calculating probabilities
and outcomes with both P’s and C’s
64
1. For probability we must have the total as a denominator.
How many ways can we select 7 tins from 15?
2. If 5 of the tins must be soup, we consider how many ways we can choose 5 tins from 8.
3. If only 5 tins must be soup, then the other 2 must be ‘not soup’.
How many ways can choose 2 tins from the 7 that are ‘not soup’?
65
66
Option 1: they both sit on the drivers side
There are 3 ways for A to sit in a seat on the drivers side. What is the denominator for
Then there are 2 seats left for B to sit in a seat our probability?
Option 2: they both sit on the opposite side to the driver Then how many ways for B
to pick their seat?
There are 4 ways for A to pick a seat
Then there are 3 ways for B to pick a seat
4 x 3 = 12 4P3 = 12
67
Total?
68
Exam technique
A popular exam style question is to ask about ways to arrange objects such that there is a
certain number of spaces or gaps between them, or some similar constraint
Sometimes it might be easiest to work out the ways the constraints CANNOT be met, and
subtract this from the total number of ways
69
The word ‘arrangements’ tells us order matters - permutations
70
Mark Scheme
71
Once we place the 2 A’s we will have 7 letters left to arrange
How many ways in total can we have different arrangements of the remaining 7 letters?
(do not forget the T’s are identical)
Draw out 9 underlines and LOOK at where the A’s can go so there are AT LEAST 5 spaces
between them.
72
Ways to place two A’s with 5 letters between them x number of different arrangements of the remaining 7
letters
73
Ways to place two A’s with 6 letters between them x number of different arrangements of the remaining
7 letters
74
Ways to place two A’s with 7 letters between them x number of different arrangements of the remaining 7
letters
75
Ways to place two A’s with 8 letters between them x number of different arrangements of the remaining 7
letters
76
Finding the overall total?
77
78
Start with the denominator.
The question does not say ‘different arrangements’ , it says ‘selection’ which implies
choosing.
79
‘Does not contain more T’s’
To understand what this means, consider some examples of 5 letter selections
We are looking for combinations where there are more A’s than T’s, or the same number of
A’s as T’s
80
Method 1: work out all the combinations
We are looking for combinations where there are more A’s than T’s, or the same number of A’s as T’s
A A T T other letter
other letter other letter other letter other letter other letter
81
A other other other other 2 ways to chose an A. We cannot use either T. 5 letters left, we choose 4
letter letter letter letter 2 x 5C4
A A T other other 2 ways to choose a T. We have to use both A’s. 5 letters left, we choose 2
letter letter 2 x 1 x 5C2
A A T T other
letter
Complete the grid and work out the total number of ways.
Your final answer must be a probability
82
Method 2: Total - Ways there are more T’s
Can you work out the different ways this is possible?
Can you use the strategy shown on the previous method to work out the total number of
combinations for each way?
83
84
85
86
87
88
89
90