Add Maths · 11 Permutations and combinations
11 Permutations and combinations
Before you start
- Multiplying whole numbers and cancelling common factors in a fraction without a calculator.
- Expanding a product such as and solving a quadratic equation by factorising.
- Listing outcomes in a systematic order, for example all the orders of the letters A, B and C.
Syllabus objectives covered (3)
- Recognise the difference between permutations and combinations and know when each should be used.
- Know and use the notation n! and the expressions for permutations and combinations of n items taken r at a time.
- Solve problems on arrangement and selection using permutations or combinations.
Part 1 of 8
Counting by filling positions
- Every count in this topic is built from one rule. If one choice can be made in ways and, after it, a second choice can be made in ways, then the two choices together can be made in ways.
- Multiply, do not add, because each of the first choices can be followed by every one of the second choices. Three shirts and four pairs of trousers make outfits, not .
- Now arrange 4 different books in a row on a shelf. Fill the positions from left to right. Any of the 4 books can go first. Once one is placed, 3 are left for the second position, then 2 for the third, then 1 for the last.
- The numbers go down by one each time because a book that is already on the shelf cannot be used again.
- The syllabus leaves out problems with repeated objects (such as the two Ts in LETTER) and objects arranged in a circle. So every object you count in this topic is different from the others, and each one is used at most once.
Part 2 of 8
Factorial notation, and why 0! = 1
- The product has its own symbol, , read as '4 factorial'. For any positive whole number :
- So is the number of ways to arrange different objects in a row. Know the first few on sight: , , , , , , .
- The fact that makes factorials easy to handle: each factorial contains the one below it.
- Use it to divide factorials without a calculator. Write out the larger factorial only until you reach the smaller one, then cancel.
- Do not cancel the numbers in front of the as if they were ordinary numbers. is not . It is .
- is defined to be . Put into : it gives , and , so must be . This is the value that makes the formulas below give the right answer when you choose none of the objects or all of them.
- The binomial theorem on the List of formulas includes , but there is no formula for , and topic 11 has no note saying its formulas are given. So learn and both expressions in the next two sections. Paper 1 does not allow a calculator, so practise evaluating them by cancelling.
Part 3 of 8
Permutations: when order matters
- A permutation is an arrangement in which the order counts. 'Ann first, Ben second' and 'Ben first, Ann second' are two different permutations.
- Eight runners finish a race. In how many ways can first, second and third place be filled? Fill the three positions in turn: 8 choices for first, then 7 for second, then 6 for third.
- The notation means the number of permutations of objects taken from different objects. You have just found . In general it is factors, counting down from :
- To write it with factorials, notice that is with the tail removed. So , and in general:
- Check the extreme case. Arranging all objects means , and the formula gives . That matches the ways to arrange 4 books. If were , the formula would break here.
- If your calculator has an nPr key, you may use it on Paper 2. Still write the expression, such as , before the value: the expression is your method.
Part 4 of 8
Combinations: when order does not matter
- A combination is a selection in which the order does not count. Choosing Ann, Ben and Cara for a team gives the same team whichever of them you pick first.
- Count the teams of 3 that can be chosen from the 8 runners. Start from the ordered choices. Each team of 3 appears in that list once for every order of its members, and 3 people can be put in order in ways: ABC, ACB, BAC, BCA, CAB, CBA.
- So every team has been counted 6 times. Divide by 6 to count each team once.
- The same argument works for any and : divide the number of permutations by , the number of orders of the chosen objects.
- and are two ways of writing the same number. is the form used in the binomial theorem.
- By hand, cancel the larger factorial in the denominator first, so only factors are left on top.
- Choosing 3 people to take is the same as choosing the 5 to leave behind, so . In general . Use whichever is quicker: .
- Three values to know on sight: (one way to choose nothing), (one way to choose everything) and . The first two need in the formula.
Part 5 of 8
Permutation or combination? The swap test
- Before you write any expression, ask one question: if I swap two of the chosen objects, do I get a different outcome?
- Yes means order matters, so use a permutation. Examples: people in a queue, a number made from digits ( and are different numbers), first, second and third prizes, or a chair and a secretary (two different jobs).
- No means order does not matter, so use a combination. Examples: a committee, a team, 3 questions chosen to answer from 8, a hand of cards, or toppings on a pizza.
- Do not decide from a single word. 'Choose' appears in both kinds of question. 'Choose a chair and a secretary' is a permutation, because the two jobs are different. Look at whether the outcome has positions or roles.
- Check your answer with this fact: for the same and , the number of permutations is times the number of combinations. If an arrangement count comes out smaller than a selection count, you have used the wrong one.
- The syllabus leaves out problems that need both permutations and combinations in one answer. So once you have decided which one a problem needs, count the whole problem that way.
Part 6 of 8
Arrangements with conditions
- Fill the restricted positions first, then fill the others freely. If you fill the free positions first, you no longer know how many choices are left for the restricted one.
- Example: four-digit numbers made from the digits 1, 2, 3, 4, 5, 6, with no digit used twice, that are even. The last digit must be 2, 4 or 6: 3 choices. Then the first three positions are filled from the 5 digits that are left.
- Watch for among the digits. A four-digit number cannot begin with , so the first position has one choice fewer. If can also be the last digit, the count for the first position changes with the last digit, so split into two cases (last digit , last digit not ) and add them.
- Objects that must be together. Tie them into one block. Arrange the block with the other objects, then multiply by the number of orders inside the block. Six people in a row with A and B together: 5 items (the block and 4 others) give , and the block can be AB or BA.
- Objects that must be apart. Count the opposite and subtract it from the total. A and B not next to each other: every arrangement either has them together or does not.
- Adding and multiplying have different jobs. Multiply the stages of one outcome: first digit and middle digits and last digit. Add separate cases that cannot happen at the same time: last digit or last digit not .
Part 7 of 8
Selections with conditions
- Choosing from two groups. Choose from each group separately, then multiply. A committee of 2 teachers and 3 students from 6 teachers and 8 students:
- Multiply because any pair of teachers can sit with any set of three students.
- A named person must be in. Put them in first, then choose the other members from the other people: . A named person must be out. Remove them and choose all from the other : .
- 'At least' and 'at most'. Either list the allowed cases and add them, or subtract the cases you do not want from the total. Use the way with fewer cases.
- Example: a committee of 3 from 4 men and 3 women, with at least one woman. The only case you do not want is no women at all, which is 3 men chosen from 4. Subtract it from the total.
- The trap here: 'pick one woman first, then any two of the other six' gives , which is too many. A committee with two women is counted twice, once for each woman who could have been 'picked first'.
- Two people who must not both be chosen. Count the selections that contain both of them, then subtract that from the total.
Part 8 of 8
Algebraic problems: finding n
- Some questions give the size of a count and ask for . Replace each or with its product of factors, then solve the equation.
- Write the small cases as expressions in . Each one comes from the factorial form by cancelling: for example , because .
- Example: gives , so and .
- counts objects, so it must be a positive whole number, at least as big as . Reject and give . Write down that you reject the negative root, and why.
- If both sides share a factor such as , divide it out instead of expanding everything. This is allowed because is not zero for any the question can mean. The last worked example does this.
Worked examples
Example 1. A club has 12 members. (a) A captain, a vice-captain and a treasurer are to be chosen from the members, and no member may hold more than one job. Find the number of ways this can be done. (b) Instead, 3 members are to be chosen to go to a meeting. Find the number of ways this can be done.
Show the working
- Apply the swap test to (a). If Ali is captain and Bea is treasurer, swapping them gives a different outcome. The jobs make order matter, so this is a permutation.
- Fill the three jobs in turn: 12 choices for captain, then 11 for vice-captain, then 10 for treasurer.
- Apply the swap test to (b). Three people going to a meeting are the same group whatever order you list them in, so this is a combination.
- Each group of 3 was counted times in part (a), once for each way of giving its members the three jobs. Divide by 6.
- Check: the permutation count is times the combination count, as it must be for the same and .
Answer: (a) (b)
Example 2. The 7 letters of the word PROBLEM are arranged in a row, each letter used once. Find the number of arrangements in which (a) there is no restriction, (b) the arrangement begins and ends with a vowel, (c) the two vowels are not next to each other.
Show the working
- All 7 letters are different, and swapping two letters gives a new arrangement, so order matters. (a) There are arrangements.
- (b) The vowels are O and E. Fill the restricted positions first. The first letter is O or E: 2 choices. The last letter must be the other vowel: 1 choice.
- The 5 consonants P, R, B, L, M fill the 5 middle positions in ways.
- (c) Count the opposite first: O and E next to each other. Tie them into one block. That leaves 6 items to arrange: the block and the 5 consonants.
- The is for the order inside the block, OE or EO. Leaving it out would count only half of these arrangements.
- Every arrangement has the vowels either together or apart, so subtract from the total.
Answer: (a) (b) (c)
Example 3. A committee of 5 people is to be chosen from 6 teachers and 8 students. Find the number of different committees that (a) contain exactly 2 teachers, (b) contain at least 1 teacher. (c) One of the teachers and one of the students refuse to serve together. Find the number of committees that do not contain both of them.
Show the working
- A committee is the same whatever order its members are chosen in, so every count here is a combination.
- (a) Exactly 2 teachers means the other 3 members are students. Choose from each group, then multiply.
- (b) 'At least 1 teacher' covers 1, 2, 3, 4 or 5 teachers: five cases. Its opposite is one case, no teachers, so subtract that from the total.
- Work out by cancelling: in , the on top cancels the underneath, leaving . Also .
- (c) Count the committees that contain both of them, then subtract. If both are in, the other 3 members come from the remaining 12 people.
- Subtract from the total number of committees.
Answer: (a) (b) (c)
Example 4. Given that , find the value of .
Show the working
- Write each side as a product in , using the factorial formula and cancelling.
- only has a meaning when , so is not zero. Divide both sides by it. The right-hand side becomes .
- Multiply both sides by 6: , so .
- Check by substituting back: and . Since , the answer is right.
Answer:
Where people go wrong
Mistake: Using for a committee or team, for example giving as the number of teams of 3 from 8 people.
Instead: Use : . Apply the swap test before you choose.
counts each group once for every order of its members, so it is times too big when order does not matter.
Mistake: Taking .
Instead: .
forces . With , would mean dividing by zero.
Mistake: Adding the choices from two groups: for 2 teachers and 3 students.
Instead: Multiply: .
Every pair of teachers can go with every set of three students. Add only for separate cases joined by 'or'.
Mistake: For 'at least one woman' on a committee of 3 from 4 men and 3 women, choosing one woman first and then any two others: .
Instead: Subtract the unwanted case from the total: .
A committee with two women is counted twice and one with three women three times, once for each woman who could have been chosen first.
Mistake: Leaving out the order inside a block: giving as the number of ways 6 people can stand in a row with A and B together.
Instead: .
AB and BA are different arrangements of the row, and both have A and B together.
Check yourself
- Work out without a calculator.
Answer
. This is . - Write down the values of and . Use them to find and .
Answer
and . and . - State whether each count needs a permutation or a combination, then work it out. (a) Four-digit codes for a lock, made from the digits 0 to 9 with no digit repeated (a code may begin with 0). (b) Choosing 3 books from 10 to take on holiday. (c) Giving gold, silver and bronze medals to 3 of 9 skaters.
Answer
(a) Permutation, because 1234 and 4321 are different codes: . (b) Combination: . (c) Permutation, because the medals are different: . - Five different books are placed in a row on a shelf. Two particular books must be at the two ends. Find the number of arrangements.
Answer
Ends first: the two books go at the ends in ways. The other 3 books fill the middle in ways. Total . - A team of 4 is chosen from 9 people, one of whom is Ana. Find the number of teams that include Ana, and the number that do not.
Answer
Include Ana: . Leave her out: . Check: . - In a group of people, every pair shakes hands exactly once, and there are 66 handshakes. Explain why this is a combination count, and find the number of people.
Answer
A handshake between A and B is the same as one between B and A, so order does not matter. gives , so and . There are people ( is rejected). - Show that without working out either value, and explain what this means in words.
Answer
and , which is the same expression. Choosing 7 objects to take is the same as choosing the 3 to leave. (Both equal .)
Exam questions
Try each part first. Open the mark scheme after you have written your answer.
Question 1. Four-digit numbers are to be formed from the digits 0, 2, 3, 5, 7, 8 and 9. No digit may be used more than once in a number, and a number cannot begin with 0.
(a) Find the number of different four-digit numbers that can be formed. 2 marks No calculator
Mark scheme
- M1 oe, with 6 choices for the first digit because 0 is excluded, or
- A1 cao
(b) Find how many of these four-digit numbers are even. 3 marks No calculator
Mark scheme
- M1 case last digit 0 counted as oe
- M1 case last digit 2 or 8 counted as oe, with 5 choices for the first digit
- A1 cao. Alternative method: (all numbers ending in 0, 2 or 8, minus those that begin with 0) earns M1 M1 A1
Question 2. A team of 6 people is to be chosen from a group of 7 girls and 5 boys.
(a) Explain why the number of possible teams is counted using combinations and not permutations. 1 mark
Mark scheme
- B1 the order in which the members are chosen does not matter: the same 6 people form the same team oe
(b) Find the number of different teams that can be chosen. 1 mark
Mark scheme
- B1 cao (from )
(c) Find the number of teams that contain exactly 4 girls. 2 marks
Mark scheme
- M1 oe, e.g.
- A1 cao
(d) Find the number of teams that contain at least 2 boys. 3 marks
Mark scheme
- M1 total minus the teams with 0 boys and with 1 boy, or the sum of the cases with 2, 3, 4 and 5 boys
- A1 correct values for their cases: and , or , , and
- A1 cao
(e) Two of the girls are sisters who must either both be in the team or both be left out. Find the number of teams that meet this condition. 3 marks
Mark scheme
- M1 both sisters in:
- M1 both sisters out:
- A1 cao, from the two cases added. Alternative method: total minus teams with exactly one sister, , earns M1 M1 A1
Question 3.
(a) Show that for . 2 marks No calculator
Mark scheme
- M1
- A1 and shown, reaching the given result with no errors; nfww
(b) Hence, given that , find the value of . 3 marks No calculator
Mark scheme
- M1 , divided by to give oe
- M1 solves their three-term quadratic, e.g. ,
- A1 only; if (or ) is also found, it must be rejected
How this is examined
- Counting selections with a condition: from two groups, exactly so many, at least so many, a named person in or out: a Find about a committee or team, split into parts of one to three marks each A product such as for a split between two groups (M1). For 'at least', either every allowed case listed and added, or the total minus the unwanted cases (M1). Then the correct whole number (A1). Write the expression before the value, so the method can be credited even if the arithmetic slips.
- Arrangements with a restriction: fixed ends, objects together or apart, digits where 0 cannot come first: a two- or three-mark Find about the letters of a word, people in a row, or numbers formed from given digits The restricted positions counted first and multiplied by the free ones, such as . A block counted as one item and multiplied by the orders inside it, such as . 'Apart' found as the total minus 'together'. With 0 among the digits, separate cases for the last digit, added.
- Turning or into an equation in and solving it: a two-mark Show (that) a combination equals a given product in n, followed by a Find for n The factorial form written and cancelled to a product such as , a correct equation in , a valid solving method, and only the positive whole-number root given, with any negative root rejected in writing.
- Deciding between a permutation and a combination, and saying why: the first step of every counting part, or a one-mark Explain asking why order does or does not matter A reason tied to the context, such as 'a team is the same 6 people whatever order they are chosen in, so order does not matter'. Writing only 'it is a combination' gives no reason.
- Evaluating , and without a calculator: the arithmetic inside any counting question on Paper 1 Factorials cancelled before multiplying, such as , and used when or . A count must be a whole number, so a fraction left over means a cancelling error.
Words to know
- Factorial
- for a positive whole number , with . It is the number of ways to arrange different objects in a row.
- Permutation
- An arrangement in which order matters. is the number of ways to arrange objects taken from different objects.
- Combination
- A selection in which order does not matter. is the number of ways to choose objects from different objects.
- Multiplication rule
- If one choice can be made in ways and then a second choice in ways, the two together can be made in ways.
- Swap test
- The check used in this lesson: swap two chosen objects. A different outcome means order matters (permutation); the same outcome means it does not (combination).
- Block method
- For objects that must be together: count them as one item, arrange the items, then multiply by the number of orders inside the block.