Lesson 1: The multiplication and addition principles
Locker codes in two formats
SkillsMultiplication principleAddition principle
Worked example
A school locker code is either two letters followed by two digits (such as KM47), or three digits (such as 905). Letters and digits may repeat. How many locker codes are possible?
Step 1: Split into cases
A code is in the letters-and-digits format or the digits-only format, never both. Count each format separately, then add.
The two formats have different lengths, so no code is in both. That is what the addition principle needs.
Step 2: Count the first format
Two letter slots and two digit slots: .
Step 3: Count the second format
Three digit slots: .
Step 4: Add the cases
Answer
There are possible locker codes.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Split the outcomes into cases that cannot overlap.
Use slots and multiply within each case.
Add the cases.
Watch out for
Multiplying the two cases, : that counts pairs of codes, not codes.