Fundamental Counting Principle
If stage 1 has m valid choices and stage 2 has n valid choices for each stage-1 choice, there are m×n outcomes. Extend this across all stages.
Counting & probability · Fundamental counting principle
Build codes, arrange people and solve probability by counting the sample space. Change a condition and watch the mathematics change immediately.
Use the controls to expose the structure behind codes, arrangements and probability restrictions.
—
Theory · examples · examination habits
The same principle handles codes, seating, repeated letters and probability. Restrictions decide when multiplication, subtraction or grouping is most efficient.
If stage 1 has m valid choices and stage 2 has n valid choices for each stage-1 choice, there are m×n outcomes. Extend this across all stages.
n! = n(n−1)(n−2)…2·1. It counts arrangements of n distinct objects. Also 0!=1 and 1!=1.
Deal with the strongest restriction first. Treat a required adjacent pair as one block. For “not together”, subtract the forbidden arrangements from the total when that is simpler.
A code has two letters followed by two digits. 20 letters and 10 digits are available; no repetition.
Seven people sit in a row. A and B must sit together.
For the same seven people, A and B must not sit next to each other.
Timed assessment · 25 marks
A fresh scenario set is generated for this browser session. Numerical questions use tolerance-based marking and every submission returns corrections.
The test covers codes, factorials, restrictions and probability through counting. Work on paper where needed.