Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 23 · Probability
GCSE Maths · Probability · Higher · Lesson 23.7

GCSE Maths: Sets and Venn diagrams (Higher)

Part of the GCSE Maths probability chapter (Higher). Chapter overview · Foundation version of this lesson · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
23.7

Sets and Venn diagrams

Edexcel 1MA1: P6, P8
Grade 3-7

A set is a collection of items called elements. We write a set in curly brackets: A = {2, 4, 6, 8}. The symbol ∈ means “is an element of”, so 4 ∈ A, and ∉ means “is not an element of”, so 5 ∉ A. The universal set, written ξ, is everything we are talking about, for example all the whole numbers from 1 to 10. The empty set {} or ∅ has no elements. n(A) means the number of elements of A, so n(A) = 4 above. If every element of B is also in A we write B ⊂ A (B is a subset of A).

Combining sets. Let A = {even numbers} and B = {multiples of 3} for ξ = {1, 2, ..., 12}, so A = {2, 4, 6, 8, 10, 12} and B = {3, 6, 9, 12}. A ∩ B (“A intersection B”) contains the elements in both A and B: {6, 12}. A ∪ B (“A union B”) contains the elements in A or B or both: {2, 3, 4, 6, 8, 9, 10, 12}. A′ (“A complement” or “not A”) contains everything in ξ that is not in A: {1, 3, 5, 7, 9, 11}. A handy way to remember: ∩ looks like the letter A for “And”, and ∪ is like a cup for “or”.

ABξ2 4 8 106 123 91 5 7 11
A Venn diagram for the sets above. The overlap holds A ∩ B = {6, 12}. The rectangle is ξ.

Venn diagrams. A Venn diagram shows sets as circles inside a rectangle that stands for ξ. The overlap of two circles is A ∩ B. Anything inside the rectangle but outside every circle is in none of the sets. We can write either the elements or the number of elements in each region. When counting, fill in the middle first and then work outwards. Be careful: a number given for a circle (such as “18 play football”) includes the overlap.

Probability from a Venn diagram. If one item is chosen at random from everything in ξ, then all the items are equally likely, so P(event) = n(event) ÷ n(ξ). For example, with 30 students in total and 13 of them in A only, P(A only) = 13/30. The total on the bottom is everything in ξ, including the numbers outside the circles.

Higher: the addition formula. The numbers in A and in B both count the overlap, so P(A) + P(B) counts the overlap twice. Subtract it once: P(A ∪ B) = P(A) + P(B) − P(A ∩ B). Also P(A′) = 1 − P(A), and P(neither) = 1 − P(A ∪ B).

Key ideas

  • ξ is the universal set. ∈ means “is in”. n(A) is the number of elements in A.
  • A ∩ B = in both A and B. A ∪ B = in A or B or both. A′ = not in A.
  • Fill in a Venn diagram from the middle outwards. Subtract the overlap from each circle total.
  • P(event) = n(event) ÷ n(ξ). The bottom number is everything in ξ.
  • Higher: P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
Worked example 23.7.1
ξ = {1, 2, 3, ..., 12}, A = {even numbers} and B = {multiples of 3}. List the elements of (a) A ∩ B, (b) A ∪ B, (c) A′.

Key words. A set is a collection of items. ξ is the universal set (everything we are considering). A ∩ B (“A intersection B”) is what is in both A and B. A ∪ B (“A union B”) is what is in A or B or both. A′ is what is not in A. n(A) is the number of items in A.

Method. Write out both sets, then use the meaning of ∩ (both), ∪ (either) and ′ (not in) to pick out the elements.

  1. Write out the sets. List every element.
    ξ = {1, 2, ..., 12}
    A = {2, 4, 6, 8, 10, 12}
    B = {3, 6, 9, 12}
  2. A ∩ B: in both sets. Find the numbers that appear in both lists.
    A ∩ B = {6, 12}
  3. A ∪ B: in A or B (or both). Combine the lists, writing each number once.
    A ∪ B = {2, 3, 4, 6, 8, 9, 10, 12}
  4. A′: not in A. Everything in ξ that is not even, so the odd numbers.
    A′ = {1, 3, 5, 7, 9, 11}

Check. n(A) + n(A′) = 6 + 6 = 12 = n(ξ), as it should. ✓

Watch out. Do not write a repeated element twice in A ∪ B.

Worked example 23.7.2
30 students were asked about sport. 18 play football (F), 12 swim (S) and 5 do both. Draw a Venn diagram to show this information.

Key words. A set is a collection of items. ξ is the universal set (everything we are considering). A ∩ B (“A intersection B”) is what is in both A and B. A ∪ B (“A union B”) is what is in A or B or both. A′ is what is not in A. n(A) is the number of items in A.

Method. Fill in the overlap first, then work outwards: subtract the overlap from each circle total, and finally find the number outside both circles from the total.

  1. Start with the overlap. The people in both sets go in the middle where the circles overlap. This is F ∩ S.
    Both football and swimming: 5
  2. Work out F only. The whole of circle F has 18 people, but 5 of them are also in S. They are already in the middle, so take them away.
    18 − 5 = 13
  3. Work out S only. In the same way, circle S has 12 people, 5 of whom are in the middle.
    12 − 5 = 7
  4. Work out the number in neither set. The numbers in the circles add up to 13 + 5 + 7 = 25. The rest of the 30 are outside both circles.
    30 − 25 = 5
  5. Draw the Venn diagram. Write each number in its region. The numbers must add up to the total.
    FSξ51375

Check. Total of all regions: 13 + 5 + 7 + 5 = 30. Circle F: 13 + 5 = 18. Circle S: 7 + 5 = 12. ✓

Watch out. The number given for a circle includes the overlap, so you must subtract the overlap to find “only”.

Worked example 23.7.3
The Venn diagram shows the number of students who have a pet cat (A) and a pet dog (B). Find n(A ∪ B) and n(A′).
ABξ4875

Key words. A set is a collection of items. ξ is the universal set (everything we are considering). A ∩ B (“A intersection B”) is what is in both A and B. A ∪ B (“A union B”) is what is in A or B or both. A′ is what is not in A. n(A) is the number of items in A.

Method. Work out which regions belong to each set, then add the numbers in those regions.

  1. Find the regions of A ∪ B. ∪ means “or”: the items in either set, or both.
    in A only: 8
    in B only: 7
    in both A and B: 5
  2. Add them. Count each region once.
    8 + 5 + 7 = 20, so n(A ∪ B) = 20
  3. Find the regions of A′. The dash ′ means “not in”: everything outside that set, including outside the circles.
    in none of the sets (outside the circles): 4
    in B only: 7
  4. Add them. A′ is everything outside circle A.
    7 + 4 = 11, so n(A′) = 11

Check. n(A) = 13, and n(A) + n(A′) = 13 + 11 = 24 = n(ξ). ✓

Watch out. A′ includes the number outside both circles.

Worked example 23.7.4
Use the Venn diagram above. A student is chosen at random from the 24 students. Find the probability that the student has a dog but not a cat, that is P(A′ ∩ B).

Key words. A set is a collection of items. ξ is the universal set (everything we are considering). A ∩ B (“A intersection B”) is what is in both A and B. A ∪ B (“A union B”) is what is in A or B or both. A′ is what is not in A. n(A) is the number of items in A.

Method. Probability = favourable outcomes ÷ total outcomes, when all the outcomes are equally likely. Count the total first, then count the outcomes we want.

  1. Find the total number of items. Add the numbers in every region, including the ones outside the circles. This goes on the bottom.
    4 + 8 + 7 + 5 = 24
  2. Find the number of items in the event. ∩ means “and”: only the items in both sets. The dash ′ means “not in”: everything outside that set, including outside the circles.
    in B only: 7
  3. Write the probability as a fraction. Probability = number of favourable outcomes ÷ total number of equally likely outcomes.
    P(dog but not cat) = 724

Check. The other 17 outcomes do not fit the event, so P(the event does not happen) = 1724. Then 724 + 1724 = 2424 = 1, as the probabilities of an event happening and not happening must add up to 1. ✓

Watch out. The total on the bottom is everything in the universal set ξ, not just the numbers inside the circles.

Worked example 23.7.5
40 students were asked which of three clubs they belong to: art (A), band (B) and chess (C). 20 are in A, 18 in B and 14 in C. 8 are in both A and B, 6 in both A and C, 5 in both B and C, and 3 are in all three. Draw a Venn diagram.

Key words. A set is a collection of items. ξ is the universal set (everything we are considering). A ∩ B (“A intersection B”) is what is in both A and B. A ∪ B (“A union B”) is what is in A or B or both. A′ is what is not in A. n(A) is the number of items in A.

Method. With three sets, work from the middle outwards: the triple overlap first, then the pairs, then the single circles, and finally the outside.

  1. Start in the very middle. The people in all three sets go where all three circles overlap.
    A ∩ B ∩ C: 3
  2. Work out the regions where exactly two circles overlap. Each pair total includes the middle region, so subtract the middle number.
    A and B only: 8 − 3 = 5
    A and C only: 6 − 3 = 3
    B and C only: 5 − 3 = 2
  3. Work out the regions that are in one circle only. Each circle total includes the middle and the two-way overlaps, so subtract all of them.
    A only: 20 − 5 − 3 − 3 = 9
    B only: 18 − 5 − 2 − 3 = 8
    C only: 14 − 3 − 2 − 3 = 6
  4. Work out the number in none of the sets. Add all seven numbers inside the circles and subtract from the total.
    9 + 8 + 6 + 5 + 3 + 2 + 3 = 36, so 40 − 36 = 4
  5. Draw the Venn diagram. Write each number in its region.
    ABCξ49856323

Check. All the regions add up to 40, the total. Circle A: 9 + 5 + 3 + 3 = 20. ✓

Watch out. Always start from the middle. Subtracting in the wrong order gives negative numbers.

Worked example 23.7.6
P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.2. Find P(A ∪ B) and the probability that neither A nor B happens.

Key words. A set is a collection of items. ξ is the universal set (everything we are considering). A ∩ B (“A intersection B”) is what is in both A and B. A ∪ B (“A union B”) is what is in A or B or both. A′ is what is not in A. n(A) is the number of items in A.

Method. Use the addition formula P(A ∪ B) = P(A) + P(B) − P(A ∩ B), then use the opposite event for “neither”.

  1. Write the formula. Adding P(A) and P(B) counts the overlap twice, so subtract it once.
    P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
  2. Put in the numbers. Add first, then subtract.
    0.5 + 0.4 − 0.2 = 0.9 − 0.2 = 0.7
  3. Find “neither”. Neither is the opposite of A or B (or both).
    P(neither) = 1 − 0.7 = 0.3

Check. A only is 0.5 − 0.2 = 0.3, B only is 0.4 − 0.2 = 0.2, both is 0.2, neither is 0.3. Total: 0.3 + 0.2 + 0.2 + 0.3 = 1. ✓

Watch out. If you forget to subtract P(A ∩ B) your total can exceed what is possible.

Watch out

In a Venn diagram the number given for a circle includes the overlap. If 18 play football and 5 play football and swim, only 13 play football only. Also remember that A′ includes the people outside both circles, and for a probability the bottom number is everyone in ξ.

Exercise 23I  Sets and Venn diagrams

Non-calculator
1
Fξ = {1, 2, 3, ..., 12}, A = {odd numbers} and B = {prime numbers}. List the elements of...
(a)A
(b)B
(c)A ∩ B
(d)A ∪ B
(e)A′
(f)(A ∪ B)′
2
FA = {1, 2, 3, 4, 5, 6} and B = {4, 5, 6, 7, 8}, and ξ = {1, 2, ..., 9}. Work out...
(a)n(A)
(b)n(A ∩ B)
(c)n(A ∪ B)
(d)n((A ∪ B)′)
3
FFor each question, draw a Venn diagram with two circles, A and B, and write the number in each region.
(a)30 students. 18 play football (A), 12 play swimming (B) and 5 do both.
(b)40 people. 25 own a cat (A), 17 own a dog (B) and 6 own both.
(c)50 students. 28 study French (A), 25 study Spanish (B) and 10 study both.
4
FUse the Venn diagram to find...
ABξ3964
(a)A
(b)A ∩ B
(c)A ∪ B
(d)A′
(e)A ∩ B′
(f)(A ∪ B)′
5
FDescribe the shaded region using set notation.
(a)
ABξ
(b)
ABξ
(c)
ABξ
(d)
ABξ
(e)
ABξ
6
RA and B are two sets. Explain what A ∩ B = ∅ tells you about A and B. Give an example.
7
PSIn a class of 28 students, 15 have brothers (B) and 12 have sisters (S). 7 have both. Work out how many students have neither a brother nor a sister.
8
RA and B are sets with n(A) = 14, n(B) = 9 and n(A ∩ B) = 4. Show that n(A ∪ B) = 19.
9
PSThe Venn diagram shows the number of students in three clubs, A, B and C. Find...
ABCξ55436241
(a)A ∩ B ∩ C
(b)A ∪ B ∪ C
(c)A ∩ B ∩ C′
(d)(A ∪ B ∪ C)′
(e)B ∩ C′
10
PS60 students were asked which of three subjects they study: art (A), biology (B) and chemistry (C). 30 study A, 28 study B and 25 study C. 12 study A and B, 10 study A and C, 9 study B and C, and 4 study all three. Draw a Venn diagram and find how many students study none of the three subjects.

Exercise 23J  Probability from Venn diagrams

Non-calculator
1
FThe Venn diagram shows 24 students. A student is chosen at random. Find the probability that the student is in...
ABξ4875
(a)A
(b)B
(c)A ∩ B
(d)A ∪ B
(e)A′
(f)A ∩ B′
2
PS30 students were asked about sport. 18 play football (F), 12 swim (S) and 5 do both. A student is chosen at random. Find the probability that the student...
(a)plays football but does not swim
(b)plays neither sport
(c)plays at least one of the sports
(d)plays exactly one of the sports
3
PS40 people were asked about pets. 25 own a cat (C), 17 own a dog (D) and 6 own both. A person is chosen at random. Find the probability that the person owns...
(a)a cat only
(b)a dog
(c)no cat
(d)neither pet
4
FThe numbers of students in a year group who walk (W) and cycle (C) to school are shown. Find the probability that a student chosen at random walks or cycles.
WCξ2820120
5
PSIn a Venn diagram, n(A) = 12, n(B) = 9, n(A ∩ B) = 4 and n(ξ) = 30. Find the probability that a randomly chosen element is in neither A nor B.
6
RIn a group of 24 students, 13 are in set A and 12 are in set B, and 5 are in both. Ali says: “P(A) = 1324 and P(B) = 1224, so P(A or B) = 2524.” Explain why Ali must be wrong.
7
PSThe Venn diagram shows how 40 students use three types of transport to school: bus (A), bike (B) and car (C). A student is chosen at random. Find the probability that the student uses...
ABCξ127536241
(a)all three types of transport
(b)bus and bike only
(c)exactly one type of transport
(d)no transport from these three
8
PSP(A) = 0.6, P(B) = 0.3 and P(A ∩ B) = 0.1. Work out...
(a)P(A ∪ B)
(b)P(neither)
(c)P(A ∩ B′)
9
RP(A) = 0.45, P(B) = 0.35 and P(A ∪ B) = 0.65. Find P(A ∩ B). Are A and B mutually exclusive? Give a reason.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings