Permutations (DP IB Analysis & Approaches (AA)): Revision Note

Amber

Written by: Amber

Reviewed by: Mark Curtis

Updated on

Permutations

 What is a permutation?

  • A permutation is a rearrangement of different objects where order matters

    • e.g. BDAC is a permutation of ABCD

    • e.g. assigning bronze, silver and gold to Emma, Jay and Flo (in that order)

      • is different to the order 'Jay, Flo and Emma'

What are factorials?

  • Factorials (the symbol 'factorial') are a mathematical operation on a positive integer, n, where you multiply together all the integers that are less than or equal to n

    • e.g. 4 factorial equals 4 cross times 3 cross times 2 cross times 1 equals 24

  • In general

    • n factorial equals n blank cross times open parentheses n minus 1 close parentheses cross times open parentheses n minus 2 close parentheses cross times horizontal ellipsis blank cross times 2 cross times 1

  • A surprising result is that zero factorial is 1

    • 0 factorial equals 1

Examiner Tips and Tricks

Your calculator will have a factorial 'factorial' button.

How do I use factorials to rearrange n different objects?

  • If you have n different objects, you can rearrange them in n factorial ways

    • e.g. the letters ABCDE are 5 different objects

      • They can be rearranged in 5 factorial equals 5 cross times 4 cross times 3 cross times 2 cross times 1 equals 120 ways

    • e.g. if you have 8 people in a line

      • they can be rearranged in 8 factorial equals 8 cross times 7 cross times... cross times 2 cross times 1 equals 40320 ways

Examiner Tips and Tricks

A rearrangement (or an arrangement) means the same as a permutation, but a selection does not (it is not clear if order matters).

How do I rearrange when two (or more) objects must be together?

  • This is best shown through examples, by grouping objects together

  • e.g. how many ways can you rearrange the letters ABCDE such that the D and E are always together, in either order?

    • Let X = DE

    • This gives ABCX where X = DE

      • There are 4! ways to rearrange ABCX

      • There are 2! ways to rearrange DE

      • so there are 4! × 2! = 48 ways in total

  • e.g. how many ways can you rearrange the letters ABCDE such that the D and E are always together in the order DE?

    • Let X = DE

    • This gives ABCX where X = DE

      • There are 4! ways to rearrange ABCX

      • There is only 1 way to 'rearrange' DE

      • so there are 4! × 1 = 24 ways in total

  • An X can be used to group three or more letters in the same way

How do I rearrange when two objects cannot be together?

  • Start by doing the opposite: find the number of ways in which they can be together

    • Then subtract this from the total number of unrestricted arrangements

  • e.g. how many ways can you rearrange the letters ABCDE such that the D and E are never together?

    • Let X = DE

    • This gives ABCX where X = DE

      • There are 4! ways to rearrange ABCX

      • There are 2! ways to rearrange DE

      • so there are 4! × 2! ways in which the D and E are together

    • Now find the number of rearrangements of ABCDE without restrictions

      • This is 5!

    • Lastly subtract 4! × 2! from 5!

      • So there are 5! - 4! × 2! = 72 ways in which the D and E are never together

How do I rearrange when objects must be in specific places?

  • This is best shown through a example

  • e.g. how many ways can you rearrange the letters ABCDE such that the second letter is either a D or an E and the last letter is an A?

    • It is easier to start in a different order

      • There is 1 choice for the fifth letter (the A)

      • There are 2 choices for the second letter (D or E)

    • At this point, the A has been used and one out of D or E has been used, i.e. 3 letters are left

      • There are 3 choices for the first letter

      • 2 choices for the third letter

      • and 1 choice for the fourth letter

    • The total is 3 × 2 × 2 × 1 × 1 = 12 ways

Examiner Tips and Tricks

Look out for questions that ask for an alternating order, as this may need to be split into two cases (e.g. odd-even-odd-even-... and even-odd-even-odd-...).

What is  scriptbase bold P subscript r end scriptbase presubscript blank presuperscript bold italic n?

  • scriptbase straight P subscript r space end scriptbase presubscript blank presuperscript n stands for the number of ways to permute (rearrange) r objects, that have been selected out of n different objects

    • where 0 less or equal than r less or equal than n

  • The formula is scriptbase straight P subscript r space end scriptbase presubscript blank presuperscript n equals fraction numerator n factorial over denominator open parentheses n minus r close parentheses factorial end fraction

    • Note that it is not possible to select repeated objects when using scriptbase straight P subscript r space end scriptbase presubscript blank presuperscript n

Examiner Tips and Tricks

The formula for scriptbase straight P subscript r space end scriptbase presubscript blank presuperscript n is given in the formula booklet.

  • e.g. how many 3-letter passwords can be made out of 10 different letters?

    • Each of the 10 letters is different

    • You are selecting r equals 3 out of n equals 10

    • Order matters for passwords

      • so scriptbase straight P subscript 3 space end scriptbase presubscript blank presuperscript 10 equals fraction numerator 10 factorial over denominator open parentheses 10 minus 3 close parentheses factorial end fraction equals fraction numerator 10 factorial over denominator 7 factorial end fraction

    • This can be simplified by cancelling

      • fraction numerator 10 cross times 9 cross times 8 cross times up diagonal strike 7 cross times 6 cross times... end strike over denominator up diagonal strike 7 cross times 6 cross times... end strike end fraction equals 10 cross times 9 cross times 8 equals 720

Examiner Tips and Tricks

Your calculator will have an scriptbase straight P subscript r space end scriptbase presubscript blank presuperscript n button which you can use to work out the value instantly.

Worked Example

Find the number of ways nine different tasks can be carried out given that two particular tasks must not be carried out consecutively.

1-7-2-ib-aa-hl-pernutations-we-solution

You've read 0 of your 5 free revision notes this week

Unlock more, it's free!

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

the (exam) results speak for themselves:

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.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.