Probability with Venn Diagrams
Senior 3 · Mathematics
Probability with Venn Diagrams
Lesson 1 of 3
25 min
Choose one of the whole numbers from 1 to 20 without looking, so that each is equally likely to be chosen. How likely is it that you choose a prime number? In unit 1 you drew sets inside a rectangle called the universal set. Probability uses exactly the same picture: the rectangle holds everything that can happen, and a circle inside it holds the outcomes you are interested in. The probability is then a comparison of two counts, the number of outcomes in the circle against the number in the rectangle.
In S1 and S2 you met probability as "favourable outcomes over possible outcomes". This unit writes the same idea in the language of sets, because once probability is a set problem, every tool from unit 1 (Venn diagrams, unions, intersections, complements and the formula for ) becomes a probability tool.
Definition
Example: for "choose a number from 1 to 20", and . The event "the number is prime" is , with .
Important
If all the outcomes in are equally likely, the probability of an event is
Why it lies between 0 and 1: every event satisfies , so . Dividing by gives . The impossible event is the empty set, with ; the certain event is itself, with .
Worked example 1: the numbers 1 to 20
A number is chosen at random from 1 to 20. Find the probability that it is (a) prime, (b) a multiple of 6, (c) a multiple of 25, (d) less than 21.
Solution and every number is equally likely.
(a) , using the eight primes in the diagram.
(b) The multiples of 6 are , so the probability is .
(c) No number from 1 to 20 is a multiple of 25. The event is , so the probability is 0: the event is impossible.
(d) Every number in is less than 21. The event is itself, so the probability is 1: the event is certain.
Definition
The complement of an event , written ("not "), is the set of outcomes in that are not in . On a Venn diagram it is everything inside the rectangle and outside the circle.
Example: in the diagram above, is the twelve numbers from 1 to 20 that are not prime, including 1, which is neither prime nor composite.
Important
The complement rule. Each outcome is either in or in , never both, so . Divide by :
For the primes, , which matches counting directly: .
Worked example 2: choosing a month
One month of the year is chosen at random, each month equally likely. Let be "the month has 31 days" and be "the month's name begins with J". List , and , and find , and .
Solution .
, so .
, so . Check: .
, so .
Notice that January and July belong to both and . Lesson 2 draws and as two overlapping circles and uses that overlap.
Definition
When outcomes are not equally likely, probability is estimated from data. The relative frequency of an event is
With many trials it is a good estimate of the probability, and the expected number of times the event happens in further trials is . When one person is chosen at random from a whole population, the probability of a property is simply the proportion of the population that has it.
Worked example 3: a person chosen from the 2022 census
The 2022 census counted 13,246,394 residents of Rwanda, of whom 6,817,068 were female and 1,745,555 lived in the City of Kigali (NISR). One resident is chosen at random. Find, to 3 decimal places, the probability that the person (a) is female, (b) lives in Kigali, (c) lives outside Kigali.
Solution Here is the set of all 13,246,394 residents, each equally likely to be chosen.
(a) .
(b) .
(c) "Outside Kigali" is the complement of "in Kigali": . Using the unrounded value, , the same to 3 decimal places.
Worked example 4: a germination test
Before planting, a farmer tests 200 bean seeds from a new bag, and 172 of them germinate (illustrative data). (a) Estimate the probability that a seed from the bag germinates. (b) The farmer plants 5,000 seeds from the same bag. About how many plants should the farmer expect?
Solution (a) The relative frequency is . (b) Expected number plants. This is an estimate: the real number will vary a little, and a larger test would make the estimate more reliable.
Warning
Equally likely is a condition, not a habit. "A football match can be won, drawn or lost, so the probability of a win is " is wrong: the three outcomes are not equally likely for two teams of different strength. Use only when every outcome in has the same chance; otherwise use data.
Tip
Before calculating any probability, write two lines: with , and with . Most errors in probability come from a wrong count of , and writing it out catches them.
Khan Academy: Probability explained. Watch how the probability of an event is found by counting the outcomes in the event and in the whole sample space, the counting rule in the box above.
Practice
Sources and credits