Sets Logic and Venn Diagrams
Sets Logic and Venn Diagrams
STRAND D: SETS
Unit 10 Logic and Venn Diagrams
Student Text
Contents
Section
Example
Rachel, Tia and Millie are sisters. You need to deduce which sister is 9 years old, which
one is 12 and which one is 14. You have two clues:
Solution
You can present this information in a
logic table, shown opposite. 9 yrs 12 yrs 14 yrs
Rachel
A cross in any box means that the
statement is not true. Tia
A tick in any box means that the Millie
statement is true.
Millie
Millie ✕ ✕ ✓
Tia ✕
Millie ✕ ✕ ✓
Tia ✓ ✕ ✕
Millie ✕ ✕ ✓
Exercises
1. Jade, Billy and Kate each have one pet. They all own different types of pet.
Kate
2. Katie, John and Jodie each have a favourite sport: swimming, tennis or football.
Use these clues to decide who likes which sport.
John
Jodie
4. Amanda, Joe, Alex and Zoe each have different coloured cars. One car is red, one
blue, one white and the other is black.
Decide which person has which coloured car.
• Amanda's car is
not red or white. Red Blue White Black
5. Billy, John, Finlay and Jim are married to one of Mrs Brown, Mrs Green,
Mrs Black and Mrs White.
Use these clues and Billy John Finlay Jim
the table to decide
who is married to Mrs Brown
who. Mrs Green
Mrs Black
Mrs White
Clues
• Mrs Brown's husband's first name does not begin with J.
• Mrs Black's husband has a first name which has the same letter twice.
• The first name of Mrs White's husband has 3 letters.
6. In a race the four fastest runners were Alice, Leah, Nadida and Anna.
Decide who finished in 1st, 2nd, 3rd and 4th places.
• Alice finished before Anna.
• Leah finished before Nadida.
• Nadida finished before Alice.
Example
Emma collected information about the cats and dogs that students in her class have. She
filled in the table below, but missed out one number.
Has a cat 8 4
(a) Explain how to find the missing number if there are 30 students in Emma's
class.
(b) How many students own at least one of these pets?
(c) Do more students own cats rather than dogs?
(d) Could it be true that some of the students do not have any pets?
Solution
(a) As there are 30 students in the class, each one
has one entry in the complete table. Has a Does not have
As there are already dog a dog
8 + 4 + 12 = 24
Has a cat 8 4
entries, the missing number is
Does not have a cat 12 ?
30 − 24 = 6
(b) All the students, except those in the Has a Does not have
bottom right hand square, own at least dog a dog
one cat or dog.
Has a cat 8 4
So the answer to the question is NO, since there are more dog owners than cat
owners.
(d) There are 6 students that do not own either a cat or a dog, but they might own
another type of animal, etc., so we cannot deduce that some students have no pets.
Exercises
1. People leaving a football match were asked if they supported York United or Rivoli
United. They were also asked if they were happy. The table below gives the
results.
Happy 40 8
Not happy 2 20
2. The students in a class conducted a survey to find out how many students had
videos at home and how many had computers at home. Their results are given in
the table.
Video No Video
Computer 8 2
No Computer 20 3
3. 40 girls chose items for their student dorm rooms. Details of their colour choices
are given below.
Bedding 2 0 0
Towels 8 0
Kitchen items 1 8 0
Lamps 0 0 16
4. During one month, exactly half of the 180 babies born in a hospital were boys,
and 40 of the babies weighed 4 kg or more. There were 26 baby boys who
weighed 4 kg or more.
Less than 4 kg
4 kg or more
Boys
Girls
(a) Copy and complete the table above.
(b) How many baby girls weighed less than 4 kg when they were born?
5. In a survey about their animals, 18 families had only goats and 22 families had
only cows. In the same survey, 16 of the families had caged birds and 24 did not
have caged birds.
(a) How many families took part in the survey?
(b) Explain why it is impossible to complete the table below.
Only Only
goats cows
Caged birds
No caged birds
3
(c) Complete the table if of the families with caged birds had
4
only goats.
(d) How many families did not have caged birds and did not have cows?
Example
The sets A and B consist of numbers taken from the numbers 0, 1, 2, 3, . . . , 9 so that
Set A = { 4, 7, 9 }
Set B = { 1, 2, 3, 4, 5 }
Solution
A B
7 To complete set A, you put 7 and 9 in the part
4
that does not intersect with B.
9
A B
1
2 Similarly for B, you put 1, 2, 3 and 5 in the part
7
4 that does not intersect with A.
3
9 5
A B
1
2 Finally, since the numbers 0, 6 and 8 have not
7
4 been used in A or B, they are placed outside
3
0 9 both A and B.
5 8
6
Note
The intersection of two sets consists
A B
of any numbers (or objects) that are Intersection
in both A and B.
Note that, although the number 4 occurs in both A and B, it is not repeated when writing
down the numbers in the union.
The complement of a set consists of any numbers (or objects) that are not in that set. In
the example above,
the complement of A = { 0, 1, 2, 3, 5, 6, 8 }
the complement of B = { 0, 6, 7, 8, 9 }
Exercises
1. Set A = { 1, 4, 5, 7, 8 }
Set B = { 2, 6, 8, 10 }
(a) Copy and complete the Venn diagram. Include all the whole numbers
from 1 to 10.
A B
2. The whole numbers 1 to 10 are organised into 2 sets, set A and set B.
Set A contains all the odd numbers.
Set B contains all the numbers greater than 4.
(a) Copy and complete this diagram.
A B
1 3
A 10
2
B 5
4 8
11 6 12
9 7
4. (a) Draw a Venn diagram to illustrate the sets P and Q. Include all the whole
numbers from 1 to 15 in your diagram.
P = { 3, 5, 7, 9 }
Q = { 1, 3, 5, 7, 9, 11, 13, 15 }
5. The whole numbers 1 to 20 are organised into sets as shown in the Venn diagram
below.
S
2 6
E
1 4 8
10
9 16 12 14
18 20
3 5 7
11 13 15 17 19
© CIMT and e-Learning Jamaica 9
10.3 MEP Jamaica: STRAND D UNIT 10 Logic and Venn Diagrams: Student Text
O
M
A C E
D G
B F
H
(a) Sort the shapes using the Venn diagram below.
R Q I
9. Which of these Venn diagrams could be used to illustrate the sets described below?
Y
X
X Y X Y
A B C
Example 1
If U = { 1, 2, 3, 4, 5, 6 } and A = { 1, 2, 3, 4 }, B = { 4, 5 }
find (a) A ∩ B, (b) A∪B (c) A' (d) B'
Is B ⊂ A ?
Solution
First put the numbers in a Venn diagram.
6 U
(a) A ∩ B = {4} A
B
(b) A ∪ B = { 1, 2, 3, 4, 5 } 1
5
2 4
(c) A' = { 5, 6 }
3
(d) B ' = { 1, 2, 3, 6 }
Example 2
Use set notation to describe the shaded regions of these diagrams.
(a) (b)
U A B U
A B
C
Solution
(a) This is the intersection of B with A' , i.e. B ∩ A' .
(b) This is the intersection of A with the complement of the union of B and C,
i.e. A ∩ ( B ∪ C )' .
Example 3
On this diagram, shade the region that represents U
A B
(A ∪ B) ∩ C'
Solution U
A B
You want the union of A and B which is not
in C.
Exercises C
1. If U = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
A = { 2, 4, 6, 8 }
and B = { 3, 6, 9 }
find:
3. If U = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }
A = { 1, 3, 6, 10 }
B = { 1, 5, 10 }
and C = { 3, 6, 9, 12 },
find:
(a) A∩B (b) A∩C (c) B∩C
(d) A∪B (e) A∪C (f) C'
(g) A ∩ C' (h) B' (i) B' ∪ C'
(j) A∩B∩C (k) A∪B∪C
4.
U
A
8 B
4 3
2 6
9
1
5 7
5. Make a separate copy of this diagram for each part of the question.
U
A B
6. Use set notation to describe the region shaded in each of these diagrams.
(a) (b) U
U D
A B C
(c) (d)
U P U
A B
Q
(e) U (f) U
I J L
K
Q Q
8. If U = { a, b, c, d , e, f , g, h }
A = { a, c, e }
B = { b, d , g, h }
and C = { a, c, e, f },
say whether each of these statements is true or false. Write correct statements to
replace those that are false.
(g) A ∩ B' = C
A U
B
10. Use set notation to describe the regions shaded in each of these diagrams.
(a) (b)
A U A B U
B
C C
(c) (d)
A U U
A B
B
C
C
(e) (f)
A U U
A
B B
Example 1
In a class there are
• 8 students who play football and cricket
• 7 students who do not play football or cricket
• 13 students who play cricket
• 19 students who play football.
How many students are there in the class?
Solution
You can use a Venn diagram to show
the information.
7
U
The first two sets of students can be put H
directly on to the diagram. F
8
Example 2
A survey of 156 visitors to the Caribbean found that:
118 persons visited Barbados
98 persons visited Antigua
110 persons visited Tobago
25 persons visited Barbados and Antigua only
35 persons visited Barbados and Tobago only
30 persons visited Tobago and Antigua only
x visitors visited all three countries.
Every visitor visited at least one of the three islands.
(a) Draw a carefully labelled Venn diagram to represent the information above.
(b) Write an algebraic expression in x to represent the number of travellers who visited
Barbados only.
(c) Write an equation in x to show the total number of visitors in the survey.
(d) Calculate the number of travellers who visited all three countries.
Solution
(a)
U
B A
25
x
35 30
= 118 − 60 − x
= 58 − x
= 98 − (25 + x + 30)
= 98 − 55 − x
= 43 − x
= 110 − 65 − x
= 45 − x
(c)
U
B A
58 − x 25 43 − x
x
35 30
45 − x T
2 x = 236 − 156
= 80
x = 40
Exercises
1. In a group of six friends everybody plays football or basketball. 4 members of the
group play both sports and 1 member of the group plays only basketball. How
many play only football?
2. John's mum buys 5 hamburgers. All the hamburgers have ketchup or hot sauce on
them. Some have ketchup and hot sauce. There are 2 hamburgers with ketchup
and hot sauce and one hamburger with only hot sauce. How many hamburgers
have only ketchup on them?
3. This diagram represents a class of students. G is the set of girls and F is the set of
students who like football. Make 4 copies of this diagram.
G F
4. In a class of 32 pupils, 20 say that they like pancakes and 14 say that they
like maple syrup. There are 6 pupils who do not like either. How many of
them like both pancakes and maple syrup?
5. On a garage forecourt there are 6 new cars, 12 red cars and no others.
(a) What is the maximum possible number of cars on the forecourt?
(b) What is the smallest possible number of cars on the forecourt?
(c) If 2 of the new cars are red, how many cars are on the forecourt?
6. A pencil case contains 20 pens that are red or blue. Of these, 8 are blue and
6 do not work. How many of the blue pens do not work if there are 8 red
pens that do work?
7. In a school canteen there are 45 students. There are 16 who have finished
eating. The others are eating either sausages or fries, or both sausages and
fries. There are 26 eating fries and 17 eating sausages.
(a) How many are eating sausages and fries?
(b) How many are eating sausages without fries?
(c) How many are eating only fries?
8. Youth club members can choose tennis, running or netball. The diagram
below represents the possible combinations.
Tennis Running
Netball
9. All the members of a group of 30 teenagers belong to at least one club. There are
3 clubs: chess, drama and art.
6 of the teenagers belong to only the art club.
5 of the teenagers belong to all 3 clubs.
2 of the teenagers belong to the chess and art clubs but not to
the drama club.
15 of the teenagers belong to the art club.
2 of the teenagers belong only to the chess club.
3 of the teenagers belong only to the drama club.
(a) How many of the group belong to the chess club and the drama club,
but not the art club?