Permutations (Cambridge (CIE) A Level Maths: Probability & Statistics 1): Revision Note

Exam code: 9709

Amber

Written by: Amber

Reviewed by: Dan Finlay

Updated on

Guided study available on this topic

Understand this topic with deeper explanations and understanding checks.

Permutations

Are permutations and arrangements the same thing?

  • Mathematically speaking yes, a permutation is the number of possible arrangements of a set of objects when the order of the arrangements matters

  • A permutation can either be finding the number of ways to arrange n  items or finding the number of ways to arrange r  out of n items

  • By the reasoning given in the 2.2.1 Arrangements revision note, the number of permutations of n different items is n!=n×(n−1)×(n−2)×...×2×1

    • For 5 different items there are 5! = 5 × 4 × 3 × 2 = 120 permutations

    • For 6 different items there are 6! = 6 × 5 × 4 × 3 × 2 = 720  permutations

    • It is easy to see how quickly the number of possible permutations of different items can increase

    • For 10 different items there are 10! = 3 628 800 possible permutations

How do we handle permutations if there are repeated items?

  • Again, by the reasoning given in the 2.2.1 Arrangements revision note, the number of permutations of n different items, with one of the items repeated r times, is

n!r!=n×(n−1))×...×(r+1)

  • The number of permutations of n different items, with one of the items repeated r times and another repeated s times, is n!r!s!

  • This property will need to be applied to any permutation problem with one or more item(s) repeated a number of times

How do we find r  permutations of n items?

  • If we only want to find the number of ways to arrange a few out of n  different objects, we should consider how many of the objects can go in the first position, how many can go in the second and so on

  • If we wanted to arrange 3 out of 5 different objects, then we would have 3 positions to place the objects in, but we would have 5 options for the first position, 4 for the second and 3 for the third

    • This would be 5 × 4 × 3 ways of permutating 3 out of 5 different objects

    • This is equivalent to 5!2!=5!(5−3)!

  • If we wanted to arrange 4 out of 10 different objects, then we would have 4 positions to place the objects in, but we would have 10 options for the first position, 9 for the second, 8 for the third and 7 for the fourth

    • This would be 10 × 9 × 8 × 7 ways of permutating 4 out of 10 different objects

    • This is equivalent to 10!6!=10!(10−4)!

  • If we wanted to arrange r out of n different objects, then we would have r positions to place the objects in, but we would have n options for the first position, (n−1) for the second, (n−2) for the third and so on until we reach (n−(r−1))

    • This would be n×(n−1)×...×(n−r+1) ways of permutating r out of n different objects

    • This is equivalent to n!(n−r)!

  • The function n!(n−r)!can be written as Prn

    • Make sure you can find and use this button on your calculator

  • The same function works if we have n spaces into which we want to arrange r objects, consider

    • for example arranging five people into a row of ten empty chairs

Permutations when two or more items must be together

  • If two or more items must stay together within an arrangement, it is easiest to think of these items as ‘stuck’ together

  • These items will become one within the arrangement

  • Arrange this ‘one’ item with the others as normal

  • Arrange the items within this ‘one’ item separately

  • Multiply these two arrangements together

2-2-2-diagram-1

Permutations when two or more items cannot be all together

  • If two items must be separated …

    • consider the number of ways these two items would be together

    • subtract this from the total number of arrangements without restrictions

  • If more than two items must be separated…

    • consider whether all of them must be completely separate (none can be next to each other) or whether they cannot all be together (but two could still be next to each other)

    • If they cannot all be together then we can treat it the same way as separating two items and subtract the number of ways they would all be together from the total number of permutations of the items, the final answer will include all permutations where two items are still together

2-2-2-diagram-2

Permutations when two or more items must be separated

  • If the items must all be completely separate then

    • lay out the rest of the items in a line with a space in between each of them where one of the items which cannot be together could go

    • remember that this could also include the space before the first and after the last item

    • You would then be able to fit the items which cannot be together into any of these spaces, using the r permutations of n items rule (Pr n)

    • You do not need to fill every space

2-2-2-diagram-3

Permutations when two or more items must be in specific places

  • Most commonly this would be arranging a word where specific letters would go in the first and last place

  • Or arranging objects where specific items have to be at the ends/in the middle

    • Imagine these specific items are stuck in place, then you can find the number of ways to arrange the rest of the items around these ‘stuck’ items

  • Sometimes the items must be grouped

    • For example all vowels must be before the consonants

    • Or all the red objects must be on one side and the blue objects must be on the other

    • Find the number of permutations within each group separately and multiply them together

    • Be careful to check whether the groups could be in either place

      • e.g. the vowels on one side and consonants on the other

      • or if they must be in specific places (the vowels before the consonants)

    • If the groups could be in either place than your answer would be multiplied by two

    • If there were n groups that could be in any order then you’re answer would be multiplied by n!

Worked Example

(a) How many ways are there to rearrange the letters in the word BANANAS if the B and the S must be at each end?

 

(b) How many ways are there to rearrange the letters in the word ORANGES if

 

(i) the three vowels (A, E and O) must be together?

 

(ii) the three vowels must NOT all be together?

 

(iii) the three vowels must all be separated?

Answer:

2-2-2-we-solution-part-a
2-2-2-we-solution-part-b

Examiner Tips and Tricks

  • The wording is very important in permutations questions, just one word can change how you answer the question.

  • Look out for specific details such as whether three items must all be separated or just cannot be all together (there is a difference).

  • Pay attention to whether items must be in alternating order (e.g. red and blue items must alternate, either RBRB… or BRBR…) or whether a particular item must come first (red then blue and so on).

  • If items should be at the ends, look out for whether they can be at either end or whether one must be at the beginning and the other at the end.

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Questions students ask about Permutations

Real questions from students revising this topic on Save My Exams

How do you calculate permutations with repeated items?

Work out the arrangements as if every item were different (n!), then divide by the factorial of each repeat count.

  • One item repeated r times: n!/r!
  • One item repeated r times and another s times: n!/(r! s!)
  • Keep dividing for every group of identical items

Why: swapping identical items round does not make a new arrangement, so each distinct arrangement has been counted r! (or r! × s!) times.

Page example: 4 identical stars, 4 identical triangles and 3 identical circles in a row

  • 11 items altogether
  • 11!/(4! × 4! × 3!) = 11 550

With letters (BANANAS): 7 letters with A repeated 3 times and N repeated twice

  • 7!/(3! × 2!) = 5040/12 = 420

With a restriction, still divide at the end. For the page's three circles stuck together: (9! × 3!)/(4! × 4! × 3!) = 630.

When should you use permutations (nPr) instead of factorials?

Use n! when you arrange all n different items; use ⁿPᵣ when you only arrange r out of the n.

  • n! counts every way of arranging all n items
  • ⁿPᵣ = n!/(n − r)! counts arrangements of r out of n items, where order matters
  • They are the same idea — ⁿPᵣ is built from factorials, and ⁿPₙ = n!/0! = n!

Page examples:

  • 3 out of 5 different objects: 5 × 4 × 3 = 5!/2! = ⁵P₃ = 60
  • 4 out of 10 different objects: 10 × 9 × 8 × 7 = 10!/6! = ¹⁰P₄ = 5040
  • Using 5! here would count arrangements of all 5 objects (120) — the wrong question

Other uses of ⁿPᵣ:

  • Fitting r objects into n spaces, e.g. five people into a row of ten chairs
  • Separation problems: the page fits 3 circles into 9 gaps using ⁹P₃

Make sure you can find the ⁿPᵣ button on your calculator.

In permutations, what is the difference between items 'not together' and 'completely separated'?

'Not all together' only bans the arrangements where every one of the items is in one block; 'completely separated' means no two of them may be next to each other.

Not all together

  • Total arrangements − arrangements with all of them together
  • Page example (4 stars, 4 triangles, 3 circles): total 11!/(4! × 4! × 3!) = 11 550; all three circles together = 630; answer 11 550 − 630 = 10 920
  • This still includes arrangements where two circles sit side by side

Completely separated

  • Arrange the other items first, then drop the separated items into the gaps
  • Page example: arrange 4 stars and 4 triangles, 8!/(4! × 4!) = 70, which makes 9 gaps (including both ends)
  • Fit the 3 identical circles in: ⁹P₃/3! = 84
  • 70 × 84 = 5880

The separated answer is smaller because it also removes every arrangement where any two circles touch. For just two items the two phrases mean the same thing.

Amber

Author: Amber

Expertise: Maths Content Creator

Amber gained a first class degree in Mathematics & Meteorology from the University of Reading before training to become a teacher. She is passionate about teaching, having spent 8 years teaching GCSE and A Level Mathematics both in the UK and internationally. Amber loves creating bright and informative resources to help students reach their potential.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.