Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Extension 1 (2026) Permutations and Combinations

Counting Principle

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Counting Principle - Video - Arrangements of objects in a row Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The multiplication principle says that if a task is done in stages, the number of ways is the product of the number of choices at each stage. This Year 11 Mathematics Extension 1 page covers choices with and without repetition, why \(n\) objects can be arranged in a line in \(n!\) ways, numbers and codes with restrictions, counting by cases, and arrangements where two people must be together or apart.

The multiplication principle (also called the fundamental counting principle): if one stage of a task can be done in \(m\) ways and, for each of these, a second stage can be done in \(n\) ways, then the two stages together can be done in \(m\times n\) ways. It extends to any number of stages: multiply the number of choices at every stage.

With repetition. If the same choices are available at every stage, each stage has the same number of choices. A 2-letter code using A to Z with letters allowed to repeat has \(26\times26=26^2\) possibilities.

Without repetition. If an object cannot be used twice, each stage has one choice fewer than the stage before. Filling the positions in a line one at a time, \(n\) different objects can be arranged in a line in \(n\times(n-1)\times\dots\times2\times1=n!\) ways (see Factorial Notation).

Restrictions. Deal with the restricted stage first: a first digit that cannot be \(0\), a last digit that must be even, a letter that must be a vowel. Then fill the other stages with whatever is left. If the number of choices at one stage depends on what was chosen earlier, split the count into cases, count each case with the multiplication principle, and add the cases.

Together or apart. To keep two objects together, treat them as one block, arrange the block with the other objects, then multiply by the number of orders inside the block. To keep them apart, use the complement: total arrangements minus the arrangements with them together.

Tree diagram: 3 ways then 2 ways gives 6 pathsStage 1 has 3 branches: bus, bike and walk. Each of these splits into 2 branches at stage 2: train A or train B. There are 6 complete paths. Stage 1: 3 ways Stage 2: 2 ways bus train A bus, A train B bus, B bike train A bike, A train B bike, B walk train A walk, A train B walk, B
Each of the \(3\) ways at stage 1 is followed by \(2\) ways at stage 2, so there are \(3\times2=6\) complete paths.
Slots for even 4-digit numbers from 1 to 8 with no repeatsFour boxes for thousands, hundreds, tens and units. The units box is filled first with 4 choices (2, 4, 6 or 8), then thousands 7, hundreds 6 and tens 5 choices, giving 840. even, digits 1 to 8, no repeats thousands 7 × hundreds 6 × tens 5 × units 4 = 840 fill the units first (2, 4, 6 or 8), then the rest
Even 4-digit numbers from the digits \(1\) to \(8\), no repeats. The restricted units digit is filled first (\(4\) choices); the other places use what is left: \(4\times7\times6\times5=840\).

The multiplication principle for \(k\) stages:

\[\text{Number of ways}=m_1\times m_2\times\dots\times m_k\]
number of ways = m1 times m2 times ... times mk

Choosing \(r\) times from \(n\) options:

\[\text{with repetition: } n^r\qquad\text{without repetition: } n(n-1)\times\dots\times(n-r+1)\]
with repetition: n to the power r; without repetition: n (n - 1) ... (n - r + 1)

Arranging \(n\) different objects in a line:

\[n(n-1)(n-2)\times\dots\times2\times1=n!\]
n (n - 1)(n - 2) ... 2 times 1 = n factorial
ConditionStrategy
A position is restrictedFill that position first
Choices depend on an earlier choiceSplit into cases and add
Objects togetherOne block: (arrangements of block and others) \(\times\) (orders inside block)
Objects not togetherTotal \(-\) together
\(A\) somewhere before \(B\)Half of the total, by symmetry
Counting divisors. Every positive divisor of \(360=2^3\times3^2\times5\) has the form \(2^a\times3^b\times5^c\) with \(a\in\{0,1,2,3\}\), \(b\in\{0,1,2\}\), \(c\in\{0,1\}\). By the multiplication principle there are \(4\times3\times2=24\) positive divisors.

How to count with the multiplication principle

  1. Break the task into stages: the positions to fill or the decisions to make, in an order you choose.
  2. Fill the restricted stages first and write the number of choices for each stage, e.g. "First digit: \(9\) choices".
  3. Multiply the numbers of choices: "Number of ways \(=\dots\)". Write \(n!\) when \(n\) different objects fill \(n\) positions.
  4. Split into cases if a later stage depends on an earlier choice (or count by the number of digits), and add the cases.
  5. Use the complement for "not together" or "at least one": count the total and subtract the unwanted arrangements. Finish with a \(\therefore\) statement.
Example 1 — Three stages
A café meal deal is one sandwich, one drink and one dessert. There are \(7\) sandwiches, \(4\) drinks and \(3\) desserts. How many different meal deals are possible?
Solution

Use the multiplication principle (three stages):

Sandwich: \(7\) choices, drink: \(4\) choices, dessert: \(3\) choices

\(\text{Number of meal deals}\)\(=\)\(7\times4\times3\)
\(\)\(=\)\(84\)
number of meal deals = 7 times 4 times 3 = 84

\(\therefore\) \(84\) different meal deals are possible.

Example 2 — With and without repetition
A security code is made of \(4\) letters chosen from A, B, C, D, E and F. How many codes are possible if
(i) letters may be repeated?
(ii) no letter is repeated?
(iii) no letter is repeated and the code starts with a vowel?
Solution

(i) Each of the \(4\) positions has \(6\) choices:

\(\text{Number}\)\(=\)\(6\times6\times6\times6\)
\(\)\(=\)\(6^4\)
\(\)\(=\)\(1296\)
number = 6 to the power 4 = 1296

(ii) Each position has one choice fewer than the one before:

\(\text{Number}\)\(=\)\(6\times5\times4\times3\)
\(\)\(=\)\(360\)
number = 6 times 5 times 4 times 3 = 360

(iii) Fill the restricted first position first. The vowels are A and E: \(2\) choices. The other \(3\) positions are filled from the \(5\) letters left:

\(\text{Number}\)\(=\)\(2\times5\times4\times3\)
\(\)\(=\)\(120\)
number = 2 times 5 times 4 times 3 = 120

\(\therefore\) (i) \(1296\) (ii) \(360\) (iii) \(120\)

Example 3 — Together, apart and in order
Seven people, including Kai and Lena, stand in a row. In how many ways can this be done if
(i) Kai and Lena stand next to each other?
(ii) Kai and Lena do not stand next to each other?
(iii) Kai stands somewhere to the left of Lena?
Solution

(i) Treat Kai and Lena as one block. The block and the other \(5\) people are \(6\) items: \(6!\) ways. Inside the block they can be ordered in \(2\) ways.

\(\text{Number}\)\(=\)\(2\times6!\)
\(\)\(=\)\(2\times720\)
\(\)\(=\)\(1440\)
number = 2 times 6 factorial = 1440

(ii) Use the complement (total minus together). All arrangements: \(7!=5040\)

\(\text{Not together}\)\(=\)\(5040-1440\)
\(\)\(=\)\(3600\)
not together = 5040 - 1440 = 3600

(iii) Use symmetry. Swapping Kai and Lena pairs each arrangement with Kai on the left with one with Kai on the right, so exactly half of the arrangements have Kai to the left:

\(\text{Number}\)\(=\)\(\dfrac{7!}{2}\)
\(\)\(=\)\(2520\)
number = 7 factorial over 2 = 2520

\(\therefore\) (i) \(1440\) (ii) \(3600\) (iii) \(2520\)

Example 4 — Splitting into cases
Four-digit numbers greater than \(4000\) are formed from the digits \(1,2,3,4,5,6\), with no digit repeated.
(i) How many of these numbers are odd?
(ii) How many are even?
Solution

(i) The first digit must be \(4,5\) or \(6\); the last digit must be \(1,3\) or \(5\). The digit \(5\) is in both lists, so split into cases on the first digit.

Case 1: first digit \(4\) or \(6\) (\(2\) choices). Last digit: \(3\) choices. Middle two digits: \(4\times3\)

\(2\times3\times4\times3\)\(=\)\(72\)
case 1: 2 times 3 times 4 times 3 = 72

Case 2: first digit \(5\) (\(1\) choice). Last digit: \(1\) or \(3\) (\(2\) choices). Middle two digits: \(4\times3\)

\(1\times2\times4\times3\)\(=\)\(24\)
\(\text{Total}\)\(=\)\(72+24\)
\(\)\(=\)\(96\)
case 2: 1 times 2 times 4 times 3 = 24; total = 72 + 24 = 96

(ii) Use the total. First digit \(4,5\) or \(6\): \(3\) choices, then \(5\times4\times3\) for the other places.

\(N_{\text{total}}\)\(=\)\(3\times5\times4\times3=180\)
\(N_{\text{even}}\)\(=\)\(180-96\)
\(\)\(=\)\(84\)
N total = 3 times 5 times 4 times 3 = 180; N even = 180 - 96 = 84

\(\therefore\) (i) \(96\) odd numbers (ii) \(84\) even numbers

Common pitfalls

Watch out for which way round the power goes. Four different prizes are given to \(3\) children, and a child may win any number of prizes. Each prize chooses a child, so there are \(3^4=81\) ways, not \(4^3=64\).
Fill the restricted position first. For a 3-digit number with no repeated digits, the hundreds digit has only \(9\) choices (not \(0\)). If you fill it last, the number of choices left depends on whether \(0\) was already used.
Multiply for stages, add for cases. Stages that all happen ("and") are multiplied. Separate cases that cannot happen together ("or") are added.
Remember the order inside a block. Two people kept together can stand in \(2\) orders, so the count is \(2\times(\text{arrangements of the items})\), not just the arrangements of the items.
Positions are still different in two rows or queues. Ten people in two rows of five fill \(10\) different positions, so there are \(10!\) ways with no restrictions.

Frequently asked questions

What is the multiplication principle in counting?

If a task is done in stages and the first stage has \(m\) choices and the second has \(n\) choices, the whole task can be done in \(m\times n\) ways. For more stages, multiply all the numbers of choices.

When do you add instead of multiply when counting?

Add when the count splits into separate cases that cannot both happen, e.g. numbers that start with \(5\) or start with \(6\). Multiply when every stage happens, e.g. choosing a first digit and then a last digit.

Why can n objects be arranged in n! ways?

Fill the positions one at a time. The first position has \(n\) choices, the second \(n-1\), and so on down to \(1\) for the last. By the multiplication principle the total is \(n(n-1)\times\dots\times2\times1=n!\).

How do you count arrangements where two people are not next to each other?

Use the complement. Count all arrangements, then subtract the arrangements where they are together (treated as one block, times \(2\) for their order). For \(5\) people in a row: \(5!-2\times4!=120-48=72\).

How many ways can boys and girls alternate in a row?

With equal numbers there are \(2\) patterns (starting with a boy or a girl); then arrange each group in its own places. For \(3\) boys and \(3\) girls: \(2\times3!\times3!=72\). With one more of one group, only \(1\) pattern is possible.