The fundamental counting principle, arrangements with n!, handling items that must stay together or that repeat, and using counting to work out a probability.
1The fundamental counting principle
the two together can be made in m × n ways.
- 1With repeats: 10 × 10 × 10 × 10 = 10 000.Every position has all ten digits available.
- 2Without repeats: 10 × 9 × 8 × 7 = 5 040.Each digit used removes one option from the next position.
2Arrangements: n!
0! = 1
n different objects can be arranged in a row in n! ways. So 5 books arrange in 5! = 120 ways, and 7 people in 7! = 5 040 ways.
3When some items must stay together
Tie them into a single block, arrange everything including the block, then arrange inside the block and multiply.
- 1Treat the 3 girls as one block. That leaves 4 boys + 1 block = 5 items.
- 2Arrange the 5 items: 5! = 120.
- 3Arrange the girls inside the block: 3! = 6.The block is not fixed internally.
- 4Total = 120 × 6 = 720.
4Counting to get a probability
- 1Favourable = 720 (from above).
- 2Total arrangements of 7 people = 7! = 5 040.No restriction.
- 3P = 720/(5 040) = 1/7.≈ 0,143.
5Repeated letters
where r1, r2, … are how many times each repeated letter appears
Divide by the factorial of every repeat count, not just one. If only ONE letter repeats, say r times, this is simply (n!)/(r!).
- 1There are 6 letters, but E appears twice and T appears twice.
- 2(6!)/(2! × 2!) = 720/4.Divide by the factorial of each repeat count.
- 3= 180.
Forgetting to divide by the repeats gives 720, which counts every identical-looking arrangement several times over.
6Tree diagrams still apply
P(tests positive) = (1/5 × 9/10) + (4/5 × 2/10) = 9/50 + 8/50 = 17/50 = 0,34.
7Venn diagrams with three events
Three overlapping circles create eight regions. There is one reliable order to fill them: from the centre outwards, because every pairwise total already includes the people in the middle.
- 1Centre (all three) = 11Always first.
- 2Novels ∩ magazines only = 27 − 11 = 16The 27 includes the 11 in the middle.
- 3Novels ∩ newspapers only = 22 − 11 = 11; magazines ∩ newspapers only = 19 − 11 = 8
- 4Novels only = 62 − 16 − 11 − 11 = 24Subtract all three overlapping regions from the novels total.
- 5Magazines only = 55 − 16 − 8 − 11 = 20; newspapers only = 48 − 11 − 8 − 11 = 18
- 6At least one = 24 + 20 + 18 + 16 + 11 + 8 + 11 = 108Add all seven inner regions.
- 7None = 120 − 108 = 12
Putting 27 straight into the novels-and-magazines overlap. That 27 is the total for both, and 11 of them also read newspapers — so only 16 belong in the two-circle region. Filling outside-in causes this every time.
8Two-way contingency tables
A contingency table splits a group by two characteristics at once. Fill in the totals row and column first — most of the missing entries then follow by subtraction.
- 1P(male) = 120/200 = 0,6
- 2P(owns a car) = 90/200 = 0,45
- 3P(male AND owns a car) = 60/200 = 0,3Read straight from the table.
- 4P(male) × P(car) = 0,6 × 0,45 = 0,27
- 50,3 ≠ 0,27, so the events are NOT independent.The test is an equality — if the two sides differ at all, the events are dependent.
Independence is decided by that one equation, never by intuition about whether the two things “feel related”. Work out both sides and compare them.
Practice exercises
Work each one out, then click to reveal the answer.
- 1How many 4-digit PINs can be formed if digits may repeat?
Show answer ▾Hide answer ▴
10⁴ = 10 000 - 2How many 4-digit PINs can be formed if no digit may repeat?
Show answer ▾Hide answer ▴
10 × 9 × 8 × 7 = 5 040 - 3In how many ways can 5 different books be arranged on a shelf?
Show answer ▾Hide answer ▴
5! = 120 - 44 boys and 3 girls sit in a row. In how many ways can they sit if the girls sit together?
Show answer ▾Hide answer ▴
5! × 3! = 120 × 6 = 720 - 5For those 7 learners, calculate the probability that the girls sit together.
Show answer ▾Hide answer ▴
720/(5 040) = 1/7 - 6How many arrangements are there of the letters of the word LETTER?
Show answer ▾Hide answer ▴
(6!)/(2!×2!) = 180 - 7Write down the value of 0!
Show answer ▾Hide answer ▴
1 - 8Using the tree diagram below, calculate the probability that a person tests positive.
Show answer ▾Hide answer ▴
1/5 × 9/10 + 4/5 × 2/10 = 0,34 - 9Of 80 learners: 40 play soccer, 32 play cricket, 28 play tennis; 15 play soccer and cricket, 12 soccer and tennis, 10 cricket and tennis, and 6 play all three. How many play none?
Show answer ▾Hide answer ▴
Centre 6 ✓; pairs only 9, 6, 4 ✓; singles: soccer 40 − 9 − 6 − 6 = 19, cricket 32 − 9 − 4 − 6 = 13, tennis 28 − 6 − 4 − 6 = 12 ✓; at least one = 19 + 13 + 12 + 9 + 6 + 4 + 6 = 69; none = 80 − 69 = 11 ✓ - 10In a group of 150 people, 90 are female and 60 wear glasses, of whom 40 are female. Determine whether ‘female’ and ‘wears glasses’ are independent.
Show answer ▾Hide answer ▴
P(F) = 90/150 = 0,6 ✓; P(G) = 60/150 = 0,4 ✓; P(F and G) = 40/150 = 0,267 ✓; P(F) × P(G) = 0,24 ≠ 0,267, so NOT independent ✓ - 11State the test for two events being independent.
Show answer ▾Hide answer ▴
P(A and B) = P(A) × P(B) ✓✓ - 12Why must a three-event Venn diagram be filled from the centre outwards?
Show answer ▾Hide answer ▴
Each pairwise total already includes those in all three ✓; starting at the centre lets you subtract that overlap so nobody is counted twice ✓
Quick Quiz
5 quick questions on what you just read. Take it when you feel ready.
Now practise it
Download Grade 12 past papers and worksheets on this topic.