Permutation, Combination & Probability
✨ Login to trackCounting Principles: Product & Sum Rules
✨ Login to trackAlmost every counting question is built from two rules. When steps happen one after another ('and'), multiply the choices. When separate cases work ('or'), add them. Numbers and codes are built slot by slot.
What counting means
A counting question asks "in how many ways". A way is one complete choice or one complete outcome.
A menu has 3 drinks and 4 snacks. Picking one drink and one snack is one way. There are 12 such ways.
Rule: Every counting question is built from just two rules — multiply for "and", add for "or".
The product rule
Two steps happen one after another. Step 1 has options. Step 2 has options. The pair happens in ways.
A canteen has 2 shirts and 3 trousers. Outfits .
Three steps work the same way. 2 shirts, 3 trousers and 2 caps give outfits.
Tip: Underline the joining word in the question. "Shirt and trousers" means multiply.
The sum rule
Two separate cases can happen, but only one will. Case 1 has ways. Case 2 has ways. The total is .
A town has 4 direct flights and 3 direct trains to another town. Travel options .
Watch: Add only when the cases cannot happen together. Overlapping cases count some outcomes twice.
Numbers with repetition allowed
A code or a number is built slot by slot. Each slot is one step.
Digits 1, 2, 3, 4 make 3-digit codes with repetition allowed. Each slot has 4 options: codes.
With distinct items and slots, repetition allowed gives outcomes. A 4-digit PIN from ten digits: .
Numbers without repetition
No digit may be used twice. The first slot has options. The next has . Then , and so on.
3-digit numbers from 1, 2, 3, 4, 5 without repetition: .
Each such arrangement is a permutation. The permutation subtopic continues exactly from here.
When zero is in the digits
Zero cannot lead a number. Fill the restricted slot first.
Digits 0, 1, 2, 3 give 3-digit numbers without repetition. First slot: 3 options (1, 2, 3). Second slot: 3 (zero plus the two unused digits). Third: 2. Total .
Watch: counts strings like 012, which are not 3-digit numbers.
Mixing the two rules
Long questions chain both rules. Split the situation into cases first. Add the cases. Use the product rule inside each case.
From A to C: 4 direct flights, or a bus then a train through B (3 buses, 2 trains). Total ways.
Example: Numbers of 1 to 3 digits from 1, 2, 3 without repetition: .
Count each case fully before adding. Half-built cases are the main source of errors here.
Question types you will see
Each type: how to recognise it, the method step by step, and one question to try.
Multi-step choices (product rule)
Two or more choices happen one after another — shirts and trousers, a route from A to B and then B to C.
Spot the independent steps.
Count the options for each step.
Multiply all the counts together.
Each option of step 1 pairs with each option of step 2, so the counts multiply.
A man has 2 shirts, 3 trousers and 2 caps. How many different shirt-trouser-cap outfits can he wear?
Show solutionHide solution
Outfits .
.
12
Numbers or codes with repetition allowed
'Digits/letters may be repeated', or the question says nothing about repeating.
Count the available digits or letters ().
Count the slots ().
Each slot has choices, so the answer is .
For a number, keep zero out of the first slot.
Every slot is filled independently, so the counts multiply into a power.
How many 3-digit numbers can be formed using 1, 2, 3, 4 if digits may repeat?
Show solutionHide solution
Each slot has 4 choices.
.
64
Numbers without repeating a digit
'Without repeating any digit' appears in the question.
Give the first slot options.
Give each later slot one option fewer.
Multiply the slot counts.
For slots the last factor is .
A used digit cannot return, so every later slot loses one option.
How many 3-digit numbers can be formed from 1, 2, 3, 4, 5 without repetition?
Show solutionHide solution
Slots: .
.
60
Numbers with a property (even, odd, greater than)
'How many are even / odd / greater than…' — a condition on the first or last digit.
Fill the most restricted slot first.
Then fill the remaining slots.
Multiply the slot counts.
Check the condition is truly enforced.
The condition cuts the options of one slot, and the rest of the slots follow.
How many 3-digit even numbers can be formed from 1, 2, 3, 4 without repetition?
Show solutionHide solution
Units: 2 or 4 → 2 options.
Hundreds: 3 left; tens: 2 left.
.
12
Sum rule over separate cases
'Or' joins two routes or cases, or the journey/items come in disjoint types.
Split the outcomes into cases that cannot overlap.
Count each case with the product rule.
Add the case counts.
Cases that cannot happen together never share an outcome, so their counts simply add.
To reach town C from town A: 4 direct flights, or a bus from A to B and then a train from B to C (3 buses, 2 trains). How many travel options are there?
Show solutionHide solution
Direct: 4.
Via B: .
.
10
Zero cannot be the first digit
0 is among the given digits and numbers (not codes) are asked.
Fill the first slot first, skipping zero.
Fill the other slots from what remains.
Multiply the slot counts.
A leading zero makes a shorter number, so zero is banned from the first slot.
How many 3-digit numbers can be formed from 0, 2, 3, 4 without repetition?
Show solutionHide solution
First slot: 3 options (2, 3, 4).
Second: 3; third: 2.
.
18
Formula sheet
$m$ options for step 1 and $n$ for step 2, joined by 'and'.
Two cases that cannot happen together, joined by 'or'.
$r$ slots from $n$ items, repeats allowed.
$r$ ordered slots, no item reused.
Shortcuts that save time
Even numbers, numbers ending in 5, no leading zero — the condition always lives in one slot. Fill that slot first, then the rest.
How many 3-digit numbers from 1, 2, 3, 4, 5 (no repetition) end in 5?
Show solutionHide solution
Units: only 5 — 1 way.
Hundreds: 4; tens: 3.
.
12
Read the question and underline the joining words. 'And' multiplies counts; 'or' adds cases. Most counting errors are one wrong joining word.
A to B: 2 roads. B to C: 3 roads. A to C direct: 4 flights. How many ways from A to C?
Show solutionHide solution
Via B: .
Direct: 4.
.
10
Mistakes to avoid
Where most students lose marks on this subtopic.
Adding steps instead of multiplying — 3 choices and then 4 choices make outcomes, not .
Letting zero lead the number — fill the first slot before the others whenever 0 is among the digits.
Reading 'without repetition' as with repetition — and answer two different questions.
Adding overlapping cases — 'flights or morning departures' share some flights, so the plain sum double-counts.
Forgetting the condition in the middle of the work — re-check the restricted slot before answering.
Quick revision
Read this the night before the exam.
'And' multiplies; 'or' adds.
Repetition allowed: outcomes for slots.
No repetition:
Zero never leads a number — fill the first slot first.
Fill the most restricted slot first in every question.
Split into non-overlapping cases, then add the cases.
Practice: 12 questions
Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.
Topic test · 12 questions
Suggested time 8 min · wrong answers go to your mistake notebook automatically.