Counting Methods • Topic 4 of 4

Overcounting & Restrictions

The hardest counting questions add a twist that makes the naïve product wrong, and there are three reliable repair tools. First, the complement: to count arrangements with "at least one" of something, count the total and subtract the arrangements with none — usually far faster than adding cases. Second, glue and treat as a block: when items must sit together, bind them into one unit, arrange the units, then multiply by the internal arrangements of the block. Third, handle the restricted slot first: if a code cannot start with 0, choose the first position from its allowed options before filling the rest. The deepest idea is overcounting — whenever your method counts each valid outcome more than once, divide by the size of that repeat. This is exactly why combinations divide permutations by r!, and why a round table divides by n. The moment a scenario feels like it double-counts, ask "by what factor?" and divide.

✅ Solved examples

1. How many ways can 5 people be arranged in a row if two particular people, A and B, must sit together?
Glue A and B into one block: arrange 4 units in 4! = 24 ways, then order A and B inside the block in 2! = 2 ways. Total = 24 × 2 = 48.
2. From tossing a coin 3 times, in how many ways do you get at least one head?
Total outcomes = 2³ = 8. The only outcome with no head is TTT (1 way). At least one head = 8 − 1 = 7.
3. How many 3-digit numbers (no leading zero) can be formed from digits 0–9 with no repeated digit, and must be even?
Split by the units digit. Units = 0: hundreds 9, tens 8 → 72. Units ∈ {2,4,6,8} (4 choices): hundreds cannot be 0 or the units digit → 8 options; tens = 8 remaining → 4 × 8 × 8 = 256. Total = 72 + 256 = 328.
4. Quantitative Comparison. 4 people sit in a row. Quantity A: arrangements where two specific people sit together. Quantity B: arrangements where they do NOT sit together. Which is greater?
Total = 4! = 24. Together (block method): 3! × 2! = 12. Not together = 24 − 12 = 12. Quantity A = Quantity B = 12. Answer: the two are equal.

✏️ Practice — try these, take hints as needed

1. How many ways can 4 books be arranged so that 2 specific books are next to each other?
Glue the two into one block.
Arrange 3 units: 3!, then order the block: 2!.
6 × 2.
12
2. Rolling a die once, how many outcomes are "not a 6"?
Total outcomes = 6.
Subtract the single unwanted outcome.
6 − 1.
5
3. From 5 people, how many ways to line up all 5 if one specific person must be first?
Fix that person in position 1.
Arrange the other 4 freely.
4!.
24
4. Tossing a coin 4 times, how many outcomes have at least one tail?
Total = 2⁴ = 16.
Only HHHH has no tail.
16 − 1.
15
5. How many 3-letter arrangements of A, B, C, D never start with A?
Total = 4P3 = 24.
Count those that DO start with A: fix A, arrange 2 of remaining 3.
24 − (3×2).
18

📝 Topic test — 8 questions

Auto-graded with full solutions; saved to your dashboard. Use the calculator and formula sheet (top-right) any time.

Loading questions…