Loading lessons...
Counting: Permutations & Combinations
1. Basic Counting Principles
- Sum rule: if task A can be done in m ways and task B in n ways, and they cannot be done together, then A or B can be done in m + n ways.
12 boys and 10 girls → choose one student in 22 ways.
- Product rule: if a procedure is task A then task B, there are m × n ways.
One boy and one girl → 12 × 10 = 120 ways.
2. Permutations (order matters)
Permutation vs combination: arranging vs choosing
| Situation | Count |
|---|---|
| r of n distinct objects, no repetition | P(n, r) |
| r positions, each from n objects, repetition allowed | nʳ |
| all n objects with p alike, q alike, r alike | n! / (p! q! r!) |
| n distinct objects around a circle | (n − 1)! |
Solved examples
- 2-digit numbers from {1, 2, 3}, no repetition: P(3, 2) = 6.
- Numbers between 100 and 1000 using 1-5 without repetition: P(5, 3) = 60.
- 4-digit numbers with distinct digits: 9 × 9 × 8 × 7 = 4536 (first digit cannot be 0).
- 3-digit odd numbers from {1,…,6}: with repetition 6 · 6 · 3 = 108; without 3 · 5 · 4 = 60 (fix the unit digit first).
- Numbers between 4000 and 9000 from digits 2, 4, 7, 9 with repetition: first digit ∈ {4, 7}, others free → 2 × 4³ = 128.
Some notes give 192 for the last example-that wrongly allows 9 as the first digit, which gives numbers above 9000.
Words with repeated letters
- BANANA: 6!/(3! 2!) = 60
- BENZENE: 7!/(3! 2!) = 420 (E×3, N×2)
- SOCIOLOGICAL: 12!/(3! 2! 2! 2!) (O×3, C×2, I×2, L×2)
Restricted arrangements-DAUGHTER (8 distinct letters, vowels A, U, E)
| Condition | Count |
|---|---|
| all arrangements | 8! = 40320 |
| begin with D | 7! = 5040 |
| begin with D, end with R | 6! = 720 |
| vowels together (treat AUE as one block) | 6! × 3! = 4320 |
| vowels not all together | 40320 − 4320 = 36000 |
| vowels only in even places (4 even slots) | P(4, 3) × 5! = 2880 |
Strings: arrangements of ABCDEFGH containing "ABC" as a block → 6! = 720.
3. Combinations (order does not matter)
Pascal's identity: C(n, r) = C(n − 1, r − 1) + C(n − 1, r).
Solved examples
- Socks: 8 blue, 6 red. Any 2 socks: C(14, 2) = 91. Same colour: C(8, 2) + C(6, 2) = 28 + 15 = 43.
- Committee of 3 from 5 men and 2 women with exactly one woman: C(2,1)·C(5,2) = 20; at least one woman: 20 + C(2,2)·C(5,1) = 25.
- Cricket XI from 6 bowlers, 4 wicket-keepers, 11 batsmen with 1 keeper and 4 bowlers: C(4,1)·C(6,4)·C(11,6) = 4 · 15 · 462 = 27720.
Club with 6 men and 7 women, committee of 4
| Condition | Working | Answer |
|---|---|---|
| at most one man | C(7,4) + C(6,1)C(7,3) = 35 + 210 | 245 |
| at least one woman | C(13,4) − C(6,4) = 715 − 15 | 700 |
| both sexes present | 715 − 15 − 35 | 665 |
| two specific members both excluded | C(11,4) | 330 |
| two specific members not both included | 715 − C(11,2) = 715 − 55 | 660 |
> "At least one" problems: total − (none). This complementary counting is faster and less error-prone than adding cases.
Bit strings of length 10
- exactly four 1s: C(10, 4) = 210
- at most four 1s: 1 + 10 + 45 + 120 + 210 = 386
- at least four 1s: 1024 − (1 + 10 + 45 + 120) = 848
- equal 0s and 1s: C(10, 5) = 252
- Distributing Balls into Boxes (5 balls, 3 boxes, none empty)
| Balls | Boxes | Formula | Count |
|---|---|---|---|
| distinct | distinct | 3⁵ − 3·2⁵ + 3·1⁵ (onto functions) | 150 |
| identical | distinct | C(5 − 1, 3 − 1) (stars and bars) | 6 |
| distinct | identical | Stirling number S(5, 3) | 25 |
| identical | identical | partitions of 5 into 3 parts (3+1+1, 2+2+1) | 2 |
Combinations with repetition: choosing r items from n types with repetition = C(n + r − 1, r).
📝 IPU End-Term Exam Corner (5-10 Marks)
- Q1. In how many ways can the letters of DAUGHTER be arranged so that the vowels are always together? never all together? (5 Marks) → 4320, 36000.
- Q2. A club has 6 men and 7 women. Count 4-member committees with at least one woman; with both sexes. (5 Marks) → 700, 665.
- Q3. How many bit strings of length 10 have at least four 1s? (5 Marks) → 848.
- Q4. Differentiate permutation and combination with formula derivation. (5 Marks)