3. Arrangements

In the last lesson, we learned to count choices that happen in stages by multiplying the number of choices at each stage.

Four colourful pigeons sitting in a row on a wire

Now we will use exactly the same idea to count arrangements — different orders of the same objects.

What counts as a different arrangement?

In an arrangement, changing the order creates a new result.

ABCDE
≠
BACDE

These are different because the objects occupy different positions.

Three pigeons on a line

Suppose three different pigeons — a grey pigeon, a white spotted pigeon and a brown pigeon — are sitting on a line.

How many different orders can the three pigeons sit in?

Have a go before opening the answer.
💡
Learning tipChoose which pigeon sits first. Once that pigeon has taken its place, how many choices remain for the second position?
Reveal answer

Here are all the possible orders:

Grey pigeon White spotted pigeon Brown pigeon
Grey · Spotted · Brown
Grey pigeon Brown pigeon White spotted pigeon
Grey · Brown · Spotted
White spotted pigeon Grey pigeon Brown pigeon
Spotted · Grey · Brown
White spotted pigeon Brown pigeon Grey pigeon
Spotted · Brown · Grey
Brown pigeon Grey pigeon White spotted pigeon
Brown · Grey · Spotted
Brown pigeon White spotted pigeon Grey pigeon
Brown · Spotted · Grey
Can you see the shortcut?

We fill the positions one at a time. Each time a pigeon is used, there are fewer pigeons left to choose from.

First position
↓
3 choices
Second position
↓
2 choices
Third position
↓
1 choice
By the last step, the final pigeon is forced — there is no real choice left.
3 × 2 × 1 = 6
General pattern: for n different objects, the number of choices goes n → n−1 → n−2 → ... → 1.

We can list every arrangement when there are only three pigeons. For larger problems, counting the choices for each position is much quicker.

We could draw or list all six orders, but we do not need to. Counting the choices for each position gives the answer directly.

3 × 2 × 1 = 6

Main idea
Arranging objects is a choices-in-stages problem

For n different objects, there are n choices for the first position, then n−1 choices, then n−2 choices, and so on until only one object remains.

n × n−1 × n−2 × … × 2 × 1
Interactive exploration
Arrange four balls

Choose a ball for each position. Once you use a ball, it cannot be chosen again. Watch how the number of choices decreases.

Your arrangement
1
2
3
4
For position 1, you have 4 choices.
4 × 3 × 2 × 1 = 24

How shouting in mathematics can have dramatic consequences…

In ordinary writing, an exclamation mark usually means excitement:

Golden spiral shell asks How much? and a pi character replies 5!

But in mathematics, that tiny symbol changes the number completely.

5! does not mean “five!”
5 × 4 × 3 × 2 × 1 = 120

We read 5! as “five factorial”.

ExpressionValue
1!1
2!2
3!6
4!24
5!120
10!3,628,800
Think about it
Factorials grow fast. Very fast.

So how large do you think 1,000,000! is?

Bigger than a billion? Bigger than a googol? How many digits might it have?

Reveal

1,000,000! has 5,565,709 digits.

Interesting fact
What is 0!?

Mathematicians define 0! = 1. One way to think about this is that there is exactly one way to arrange no objects: the empty arrangement.

Main idea
n different objects can be arranged in n! ways

The factorial symbol is just a compact way to write the descending product that comes from the multiplication principle.

Practice puzzle
Five runners

Five runners reach the finish line. There are no ties.

How many possible finishing orders are there?
💡
Learning tipThis is an arrangement of five different people.
Reveal answer

5! = 120

There are 120 possible finishing orders.

But not every answer is enormous

Factorials can grow astonishingly quickly, but that does not mean every arrangement problem leads to a huge number. Restrictions can remove possibilities, and symmetry can mean that several arrangements should really be treated as the same. Both ideas can make the final count much smaller.

Interactive exploration
What does a restriction do?

Five different children — A, B, C, D and E — stand in a row. Turn restrictions on and off. You can use more than one restriction at the same time.

Choose restrictions
No restrictions
Five positions
1
2
3
4
5
Everyone is free to move.
5! = 120 arrangements
A restriction changes which arrangements are allowed. Combining restrictions can reduce the count even further — sometimes all the way to zero.

What if one position is fixed?

Restrictions often reduce the number of choices.

Suppose five different books are arranged on a shelf, but the dictionary must be first.

The dictionary's position is already decided. We only need to arrange the other four books:

4! = 24

Practice puzzle
Queen immediately to the left of the king

Arrange the five cards A, K, Q, J, 10 in a row.

The Q must be immediately to the left of K, so the two cards must appear together as Q K.

How many different hands are possible?
💡
Learning tipTreat QK as one object. How many objects are you arranging now?
Reveal answer

The pair QK has to stay together and in that order. Treat it as one block.

We are therefore arranging four objects:

Q K A J 10

4! = 24

Here are all 24 hands:

QKAJ10
QKA10J
QKJA10
QKJ10A
QK10AJ
QK10JA
AQKJ10
AQK10J
AJQK10
AJ10QK
A10QKJ
A10JQK
JQKA10
JQK10A
JAQK10
JA10QK
J10QKA
J10AQK
10QKAJ
10QKJA
10AQKJ
10AJQK
10JQKA
10JAQK
Pause here if you want
You are not expected to learn all of this at once

If you are new to arrangements, it is enough for today to understand:

order matters → choices shrink → factorials count arrangements

Come back later for the second half, where we explore restrictions, cases, symmetry and complements.

Going further: clever ways to count restricted arrangements

Count every choice — not just the restricted ones

Before the next problem, there is one important idea to make explicit.

Worked example
A five-runner race

Five runners — A, B, C, D and E — finish a race.

C is fixed in third place, and A must finish somewhere before C.

A? A? C · ·

C has 1 possibility: third place is fixed.

A has 2 choices: first or second place.

But we are not finished.

The other three runners are not mentioned in the restriction, but their order still matters. Once C and A have been placed, there are 3 runners left and 3 positions left.

They can be arranged in

3 × 2 × 1 = 3! = 6 ways

1 × 2 × 3! = 12

Key idea: counting the restricted runners is only part of the problem. The runners that seem “irrelevant” to the restriction still create different arrangements, so their possibilities must be counted too.

Practice puzzle
Queen somewhere to the left of the king

Arrange the five cards A, K, Q, J, 10 in a row.

The Q must be somewhere to the left of K, but they do not have to be next to each other.

How many different arrangements are possible?
💡
Learning tipTry splitting the problem into cases according to the position of K.
Reveal answer
First method: count by cases

Fix the position of K. Then count how many positions are available for Q to its left. Once Q and K have been placed, the other three cards can be arranged in 3! = 6 ways.

possible place for Q K
K in 1st
K····
0
K in 2nd
Q?K···
1 × 3! = 6
K in 3rd
Q?Q?K··
2 × 3! = 12
K in 4th
Q?Q?Q?K·
3 × 3! = 18
K in 5th
Q?Q?Q?Q?K
4 × 3! = 24

0 + 6 + 12 + 18 + 24 = 60

So there are 60 arrangements.

A quicker way of thinking
Use symmetry

The case method works, but it is a bit long. There is a faster observation.

A Q 10 J K
Q left of K
↔
A K 10 J Q
K left of Q

Every arrangement belongs to exactly one of these two groups. Swapping Q and K pairs each arrangement in the first group with exactly one arrangement in the second group.

So the 120 = 5! arrangements split equally into two groups.

120 ÷ 2 = 60

Symmetry is a useful counting idea: sometimes, instead of counting every case separately, we can recognise that the possibilities divide into equal groups.

Sometimes it is easier to count what you do not want

Restrictions do not always have to be counted directly. Sometimes it is easier to count all arrangements and subtract the ones we do not want. This is called counting by complement.

Worked example
Q is not immediately to the left of K

Arrange the five cards A, K, Q, J, 10. How many arrangements do not have Q immediately to the left of K?

All arrangements
5! = 120
QK together in that order
4! = 24

The second group is exactly the group we do not want, so subtract it from the total:

120 − 24 = 96

Complement idea: wanted = all possibilities − unwanted possibilities.

Challenge
Q is left of K — but not next to it

Arrange the five cards A, K, Q, J, 10.

The queen must be somewhere to the left of the king, but Q and K must not be next to each other.

Guided exploration

Step 1 · Start with symmetry.
There are 5! = 120 arrangements altogether. Exactly half have Q to the left of K, so:

120 ÷ 2 = 60

Step 2 · Identify the unwanted arrangements.
Among those 60, we do not want Q immediately followed by K. Treat QK as one block. Together with A, J and 10, that gives four objects:

4! = 24

Step 3 · Use the complement.
Subtract the unwanted adjacent arrangements from all arrangements with Q to the left of K:

60 − 24 = 36

So there are 36 arrangements in which Q is somewhere to the left of K but not next to it.

This one problem uses three different counting ideas: restriction, symmetry and complement.

What have we learned?

Arrangements are about order, but restrictions can change which orders are allowed and which counting method is most efficient.

1 · Order creates new arrangements
If the same objects appear in a different order, we count a different arrangement.
2 · Choices shrink into factorials
For n different objects, the choices fall as n × (n−1) × … × 1 = n!.
3 · Restrictions do not erase the other objects
After placing restricted objects, remember to arrange everything still free to move. Those “unimportant” objects still create different possibilities.
4 · Choose the smartest counting route
We can split into cases, spot symmetry, group objects into a block, or count a complement.
The question to ask before calculating
What is fixed, what is still free to move, and is there a quicker way to count the same possibilities?
A useful habit: do not reach for a factorial automatically. First understand exactly which arrangements are allowed.
Printable resources
Counting & Combinatorics Lesson 3 – Arrangements printable maths resources
Lesson 3 Handout & Exercises

Download the printable handout, exercises and answers for Arrangements.

Find the resources →

Next: Choosing without ordering

Suppose we choose Alice, Ben and Charlie for a team.

ABC, ACB, BAC, BCA, CAB and CBA all describe the same three-person team.

Our arrangement method would count the same choice six times. In the next lesson, we will learn how to correct that.

Help us improve

What did you think?

Whether you explored this together or worked independently, we would love to hear from both learners and parents. Tell us what you enjoyed, what was confusing, or what you would like to see next.

Share your feedback

The form is short and you do not need to give your name.