IB Applications and Interpretation SL · Probability · Section 1 of 4

Sample space and events: union, intersection and Venn diagrams

3 worked examples · By Álvaro López

Key idea

Before calculating a probability you need to know what can happen and what you are counting. This section gives you the vocabulary: random experiment, sample space and events, and the operations on them (union, intersection, complement). In the IB exam you will see it mostly as Venn diagrams and outcome tables, and it is the foundation of the whole topic.

Random experiment and sample space

An event occurs when the result of the experiment is one of the elements of . With a six-sided die, and . The event : "a prime number is rolled" is , with . If a 5 comes up, has occurred; if a 4 comes up, it has not.

Two events are special:

  • The certain event is : it always occurs.
  • The impossible event is the empty set, : it never occurs. It has no elements, so .

An event is called compound if it has more than one outcome (such as ) and elementary if it has only one.

Writing down the sample space

You must list the outcomes without forgetting any and without repeating them. For an experiment with one stage a list is enough. For one with two stages (two throws, two draws…) each outcome is an ordered pair, and the safest option is an outcome table (a two-way table): the rows are the outcomes of the first stage, the columns those of the second, and each cell is an outcome of .

For example, two 4-sided dice (numbered 1 to 4) are thrown and the sum is recorded:

First die \ Second die 1 2 3 4
1 2 3 4 5
2 3 4 5 6
3 4 5 6 7
4 5 6 7 8

The table has cells, so (each cell is a different pair, such as or ). The event "the sum is 5" has 4 cells: .

Operations with events

Events are sets, so they combine like sets. Let and be two events of the same experiment.

In everyday language: "or" is union, "and" is intersection and "not" is complement. The word "or" in mathematics does not exclude the case in which both occur.

Four Venn diagrams of A and B: A ∪ B (both circles shaded), A ∩ B (only the common region), A′ (everything except circle A) and A ∩ B′ (the part of A that is not in B)

With a die, "even" and "a 5" are mutually exclusive: there is no outcome that satisfies both. By contrast, "even" and "greater than 3" are not mutually exclusive, because 4 and 6 satisfy both.

De Morgan's laws

Two identities let you pass from the complement of a union or of an intersection to the complements of each event.

De Morgan's laws with Venn diagrams: (A ∪ B)′ is what lies outside both circles and (A ∩ B)′ is everything except the common region

Venn diagrams with quantities

When the question gives how many elements there are in each set, fill in the Venn diagram with numbers in each region. A diagram with two events has four regions: only , only , both, and neither.

Write in each region the number of elements, not the total of the circle: a very common mistake is to put the whole in the "only " region.

Worked examples

Example 1 Basic

Tokens numbered 1 to 12

A bag contains 12 tokens numbered from 1 to 12. One token is drawn at random, and the events : "the number is a multiple of 3" and : "the number is even" are considered.

a) Write .

b) Write .

c) Write .

d) Write .

Solution

The sample space is , and the events are

a) are the numbers that are in both: .

b) gathers those in one or the other (without repetition): .

c) are the elements of that are not in : .

d) are the multiples of 3 that are not even: .

Example 2 Medium

Two spinners and an outcome table

Two spinners are spun. The first gives a number from 1 to 3 and the second a number from 1 to 4. Each outcome is a pair , where is the number from the first spinner and the number from the second. Let be the event "the sum is even" and the event "the product is greater than or equal to 6".

a) Calculate .

b) Calculate and .

c) Write .

d) Calculate and the number of outcomes that are in neither nor .

Solution

We organise the 12 outcomes in a table, with the pair in each cell:

\ 1 2 3 4
1 (1,1) (1,2) (1,3) (1,4)
2 (2,1) (2,2) (2,3) (2,4)
3 (3,1) (3,2) (3,3) (3,4)

a) The table has cells: .

b) The sum is even when and have the same parity: The product is at least 6 for these pairs:

c) The pairs that are in both lists are and :

d) Counting the common ones only once: . Those in neither are (namely , and ).

Example 3 Hard

A survey with an unknown in the Venn diagram

In a group of 60 people, 34 read digital news and 28 listen to podcasts. There are 10 people who do neither of the two. One person from the group is chosen at random. Let be the event "reads digital news" and the event "listens to podcasts".

a) Find the number of people who do both.

b) Calculate .

c) Calculate how many people do exactly one of the two.

d) Calculate and interpret the result in words.

Solution

a) Let and fill in the Venn diagram from the inside out:

  • Only : .
  • Only : .
  • Neither: .

The sum of the four regions is the total of the group: 12 people do both.

b) is "only ": .

c) Only is 22 and only is . Since they are mutually exclusive, they are added: .

d) By De Morgan, , so These are the people who do not do both things at once (they do one or neither): , which agrees.

In the exam: you earn marks for drawing the diagram with the four regions and for setting up the equation in which the sum equals the total. If you write in full in the "only " region, the rest of the problem goes wrong. Also write which event each quantity you calculate represents.

Common mistakes

Summary

  • A random experiment has known outcomes, but it is not known which one will occur. The sample space gathers all the outcomes, and an event is a subset of ; counts its elements.
  • The certain event is and the impossible event is , with .
  • is " or (or both)", is " and ", is "not " and is " but not ".
  • and are mutually exclusive if .
  • De Morgan's laws: and .
  • With two stages, use an outcome table: is the product of the possibilities of each stage, and each outcome is an ordered pair.
  • In a Venn diagram with numbers, fill it in from the inside out, writing in each region the number of elements that belong only to that region; the sum of the four regions is .
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp