1. How many possibilities?

Counting sounds easy. You start at one and keep going.

But what if we want to count possibilities?

Suppose you have:

  • 3 T-shirts: red, blue and green
  • 2 pairs of trousers: black and grey

How many different outfits can you make?

Counting systematically

We could simply start listing outfits:

Red + black
Red + grey
Blue + black
Blue + grey
Green + black
Green + grey

So there are 6 different outfits.

With larger problems, simply writing down possibilities as they occur to us can be dangerous.

The real challenge

Can we be sure that we counted every possibility exactly once?

A system for counting

Suppose we make a two-letter code using only the letters A, B and C. Letters are allowed to repeat.

How many different codes are possible?

Instead of writing codes down randomly, organise them according to their first letter.

A first

AA
AB
AC
B first

BA
BB
BC
C first

CA
CB
CC

There are 9 codes.

Notice that AB and BA are different. Here, order matters.

Main idea
Count every possibility exactly once

When counting possibilities, look for a system that makes it clear that nothing has been missed and nothing has been counted twice.

Practice puzzle

An ice-cream shop has three flavours: chocolate, strawberry and vanilla.

You can have your ice cream in either a cone or a cup.

How many different choices are there?
💡
Learning tip Choose one flavour and list both possibilities. Then do the same for the next flavour.
Reveal answer

There are 6 possibilities:

  • chocolate cone
  • chocolate cup
  • strawberry cone
  • strawberry cup
  • vanilla cone
  • vanilla cup

Tables

Sometimes a table makes the structure even easier to see.

Imagine four sandwich fillings and two kinds of bread.

White Brown
Cheese Cheese + white Cheese + brown
Egg Egg + white Egg + brown
Hummus Hummus + white Hummus + brown
Peanut butter Peanut butter + white Peanut butter + brown

The table contains 8 boxes, so there are 8 possible sandwiches.

Tree diagrams

Another useful way of organising choices is a tree diagram.

Build the tree. Choose a T-shirt, then choose a pair of trousers.
💡
Learning tip Follow a branch all the way from the start to the end. Each complete route represents one possible outfit.
START Red Blue Green Black Grey Black Grey Black Grey
Outfits found
0 / 6
Choose a T-shirt to open its branches.

Each complete route through the tree represents one possible outfit.

Notice how the diagram makes all the possibilities visible without relying on us to remember which ones we have already counted.

Practice puzzle
Three-digit codes

A safe uses a three-digit code.

Each digit can be 1, 2 or 3, and digits may be repeated.

How many different codes are possible?
💡
Learning tip Start by looking only at codes beginning with 1.
Need another hint?
💡
Learning tip The codes beginning with 1 are:
111   112   113
121   122   123
131   132   133
How many begin with 2? What about 3?
Reveal answer

There are 9 codes beginning with each possible first digit.

So altogether:

9 + 9 + 9 = 27

There are 27 different codes.

Does order matter?

Suppose Alice and Ben are sitting in two numbered seats on a bench.

Alice, Ben
Ben, Alice

These are different arrangements, because Alice and Ben are sitting in different seats.

But suppose instead that Alice and Ben are simply chosen to form a team. The team {Alice, Ben} is exactly the same team as {Ben, Alice}.

Always ask:

Does changing the order create a new possibility?

Practice puzzle
Handshakes

Alice, Ben, Charlie and Dom each shake hands with every other person exactly once.

How many handshakes take place?
💡
Learning tip Start with Alice. Then move to Ben, but don’t count Alice–Ben again.
Reveal answer

Alice has 3 handshakes:

AB, AC, AD

Ben has 2 new ones:

BC, BD

Charlie has 1 new one:

CD

3 + 2 + 1 = 6

There are 6 handshakes.

Alice–Ben and Ben–Alice are the same handshake, so counting both would count the same thing twice.

Challenge
How many triangles?

Five points are drawn on a page. No three lie on the same straight line.

A triangle can be made by choosing any three of the points.

How many different triangles can you make?
💡
Learning tip Label the points A, B, C, D and E. Start by listing all the triangles that contain A.
Reveal answer

The triangles containing A are:

ABC, ABD, ABE, ACD, ACE, ADE

That’s 6.

The triangles without A are:

BCD, BCE, BDE, CDE

That’s another 4.

6 + 4 = 10

So there are 10 different triangles.

Later in this course we’ll learn a much quicker way to answer questions like this.

What have we learned?

Counting is not always about arithmetic. Often the hard part is organising the possibilities.

Three useful tools:

  • systematic lists;
  • tables;
  • tree diagrams.

Two dangers:

  • missing a possibility;
  • counting the same possibility twice.

And before you count, always ask: does order matter?

Next: Choices in stages

Listing possibilities works when there aren’t too many of them. But what if there are hundreds, thousands or millions?

In the next lesson we’ll discover a simple idea that lets us count them without listing them at all.

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.


COUNTING & COMBINATORICS COURSE
Keep exploring