Factorials and permutations

Maths · Permutation, combination and probability. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths topics

The idea

The fundamental principle of counting says that if one job can be done in m ways and a second job in n ways, the two together can be done in m × n ways. Every counting formula in this chapter comes from it.

A permutation is an arrangement of objects in a definite order, so AB and BA are different. The number of permutations of n different objects taken r at a time is written nPr. Factorial notation, n!, keeps the products short.

The count becomes smaller when some objects are alike, or when the objects are placed in a circle, because arrangements that look the same must be counted only once.

In simpler words

If one job can be done in m ways and a second in n ways, both can be done in m times n ways. A permutation is an arrangement where order matters, so AB and BA are different. n! means n times every whole number below it down to 1. If some objects are alike, or sit in a circle, there are fewer different arrangements.

An everyday comparison

Seating people round a table is different from seating them in a row. Around a round table, if everyone moves one seat to the left, the arrangement looks the same, so you fix one person and arrange the rest: (n − 1)!. A necklace can also be turned over, so you halve again. The comparison stops working if the seats are numbered, which makes them a row.

Rules to remember

Common mistake

Students use n! for a round table. In a circle one object is fixed and the others are arranged round it, giving (n − 1)!, and a necklace that can be flipped gives half of that.

In the exam

Decide first that order matters. Write the formula before substituting: nPr = n!/(n − r)!, n!/(n1! n2!) for alike objects, (n − 1)! for a circle, or (n − 1)!/2 for a necklace. Cancel factorials before multiplying. For restrictions, fix the restricted objects first and use the fundamental principle to multiply the stages. State the final number clearly.

Worked example

How many different arrangements can be made from all the letters of the word PAKISTAN?

  1. There are 8 letters, and A appears 2 times. All other letters appear once.
  2. Number of arrangements = 8!/2! = 40320/2.
  3. = 20160.

Answer: 20160 arrangements

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Harmonic progressions and meansCombinations →Take a Maths test