How many different 4-digit PINs are possible? In how many ways can a class choose a 3-person committee? Questions like these ask you to count arrangements and selections without listing them all. The tools are the counting principle, permutations (where order matters) and combinations (where it does not). They are used in probability, computer science, scheduling and cryptography, and they appear in HSC Higher Mathematics.
In this lesson you will learn
- The fundamental counting principle
- Factorial notation
- Permutations ⁿPᵣ, with and without repeated items
- Combinations ⁿCᵣ and how they differ from permutations
- Problems with restrictions and circular arrangements
You should know the binomial expansion, where ⁿCᵣ first appeared, and basic probability.
The Counting Principle
Fundamental principle of counting
If one task can be done in m ways and a second, independent task in n ways, the two together can be done in m × n ways.
3 shirts and 4 trousers: 3 × 4 = 12 outfits
A 4-digit PIN (digits may repeat): 10 × 10 × 10 × 10 = 10,000
3-digit numbers with different digits from 1–9: 9 × 8 × 7 = 504
Factorials
n! (“n factorial”) = n × (n − 1) × … × 2 × 1, and by definition 0! = 1. It counts the ways to arrange n different objects in a line.
5! = 5 × 4 × 3 × 2 × 1 = 120 arrangements of 5 books on a shelf
8! = 40,320
Permutations: Order Matters
Arranging r objects chosen from n different objects
ⁿPᵣ = n! / (n − r)!
Arrange 3 of 5 books on a shelf: ⁵P₃ = 5 × 4 × 3 = 60
4-letter "words" from the letters of MATHS: ⁵P₄ = 120
Gold, silver and bronze among 8 runners: ⁸P₃ = 8 × 7 × 6 = 336
Repeated letters: divide by the factorial of each repeat
DHAKA (5 letters, A twice): 5! / 2! = 60
BANGLADESH (10 letters, A twice): 10! / 2! = 1,814,400
Combinations: Order Does Not Matter
Choosing r objects from n different objects
ⁿCᵣ = n! / [r! (n − r)!] = ⁿPᵣ / r!
A committee of 3 from 10 students: ¹⁰C₃ = 120
Handshakes among 12 people: ¹²C₂ = 66
2 boys from 6 and 1 girl from 4: ⁶C₂ × ⁴C₁ = 15 × 4 = 60
Possible 5-card hands from 52 cards: ⁵²C₅ = 2,598,960
Ask: “Would swapping two chosen items give something different?” If yes (a ranking, a password, a seating plan), use permutations. If no (a team, a hand of cards, a set of questions), use combinations. Each combination of 3 items can be arranged in 3! = 6 ways, which is why ⁿP₃ is 6 times ⁿC₃.
Restrictions and Circles
3 boys and 3 girls in a row, with all girls together:
Treat the 3 girls as one block: arrange 4 units in 4! ways,
then arrange the girls inside the block in 3! ways.
4! × 3! = 24 × 6 = 144
6 people around a round table:
Fix one person to remove identical rotations, arrange the rest:
(6 − 1)! = 5! = 120
Committee of 4 from 5 boys and 4 girls with exactly 2 girls:
⁵C₂ × ⁴C₂ = 10 × 6 = 60
Common Mistakes
- Using permutations for a committee, which overcounts each group r! times.
- Forgetting to divide by repeats when letters are repeated.
- Adding instead of multiplying for independent steps. Use “and” → multiply; “or” (separate cases) → add.
- Treating circular arrangements like straight lines: use (n − 1)!.
Practice Exercises
Exercise 1. In how many ways can 4 questions be chosen from 9?
Show answer
⁹C₄ = 126.
Exercise 2. How many arrangements of the letters of BANGLA are there?
Show answer
6 letters with A repeated twice: 6! / 2! = 360.
Exercise 3. A team of 5 is chosen from 7 men and 5 women. In how many ways can it include exactly 3 women?
Show answer
⁵C₃ × ⁷C₂ = 10 × 21 = 210.
Frequently Asked Questions
Why is 0! equal to 1?
There is exactly one way to arrange nothing. Defining 0! = 1 also keeps formulas such as ⁿCₙ = n!/(n! 0!) = 1 working correctly.
How does counting connect to probability?
For equally likely outcomes, probability = favourable outcomes ÷ total outcomes, and both are often counted with permutations or combinations. For example, P(a particular 5-card hand) = 1 / ⁵²C₅.
Summary
- Independent steps multiply: m × n ways.
- n! arranges n different objects; ⁿPᵣ = n!/(n − r)! arranges r of them.
- ⁿCᵣ = n!/[r!(n − r)!] chooses r when order does not matter.
- Divide by repeats, use blocks for “together” conditions and (n − 1)! for circles.
Next: Compound and Multiple Angles.
