Form 3 Mathematics

Chapter 3: Sets


3.1. Introduction
3.2. Set builder notation
3.3. Venn diagrams with two subsets
3.4. Venn diagrams with three subsets
3.5. Summary
3.6. Further reading
3.7. Test 3


3.1. Introduction

This chapter is a continuation of the topic on sets you did in Level 1. In this chapter you are going to learn about the set builder notation and how to use Venn diagrams to solve problems with at most three subsets.

Objectives

After going through this chapter, you should be able to

  • define and describe set-builder notation by listing the elements.
  • use Venn diagrams to show sets.
  • use Venn diagrams to solve problems involving at most three sets and the universal set.

Key terms

Set – A set is a collection of different things; elements or members.
Set builder notation – It is a shorthand method of describing a set and it involves use of symbols to describe elements of a set as well as their properties.
Venn diagrams – This is another way of presenting sets using diagrams, a rectangle to represent universal set and circles to represent subsets.

Time

You should not spend more than 10 hours in this chapter.

Study skills

This topic builds on the topic of inequalities. This means that for you to easily understand the topic on sets, you should have gone through inequalities. The key to mastery of mathematics is practice. You need to work out as many problems as possible about sets to have a better understanding of the subject.

3.2. Set builder notation

A set builder notation is a shorthand method for describing sets and it involves the use of symbols to describe elements of a set as well as their properties. Remember set symbols at level 1. The following table shows the symbols, their meaning and use in the topic on sets.

Table 3.1: Set symbols
SymbolsMeaningUse
ξ or ևUniversal setξ = { months of the year }
{ - - - - }A set ofW = { months of the winter }
An element ofJune = ∈ W
n(W)Number of elements in set Wn(W) = 4
Proper subset ofX ⊂ W
Improper subset ofIf all elements of X are elements of W
X contains WW ⊃ X
∅ or { }Empty or null setA = ∅
Intersection or common element of two setsA ∩ B
Union of given sets, that is, all elements from the two setsA ∪ B
Complement of or not in the setW΄ = { Nov, Dec, Jan } if W = {winter} then W΄ = {not winter}
NSet of natural numbersN = {1, 2, 3, ….}
ZSet of integersZ = {...,(-1), 0, (+1),...}
QSet of rational numbersQ = \( {...,(–1\dfrac{1}{3}), (–0.6), \dfrac{1}{2}, 3, 14,...} \)

Let us look at a few examples of what we did in Level 1 before we look into the set builder notation.

Example 1
Questions

  • State the meaning of the following.
    1. A ⊄ B, where A = {numbers}, B = {vowels}.
    2. 2 ∉ A, where A = {odd number}.

Answers

  1. A is not subset of B.
  2. 2 is not an element of set A.

In order for us to understand the set builder notation, we should be acquainted to the various ways in which information about sets is written down. Let us look into some few examples.

Example 2
Questions

  • Given that x ∈ N, list the members of the following sets.
    1. {x: x < 8}
    2. {x: x ≥ 4}
    3. {x: x ≤ 10}

Answers

  • Remember x ∈ N means that x is an element of natural members. Natural numbers are counting numbers from 1 to infinite (1, 2, 3,...).
    1. Therefore {x: x < 8} requires you to list counting numbers less than 8. In this case x is representing counting numbers: {1, 2, 3, 4, 5, 6, 7}.
    2. {x: x ≥ 4} this is a list of numbers, thus {4, 5, 6, 7...}. x is representing natural numbers from 4 to infinite where the three (3) dots (…) mean do not end.
    3. {x: x ≤ 10} = {1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 10} or {1 ,2 ,3,...,8 ,9 ,10}. This is used when the elements (members) of the set are many but end. List the first three, put three dots and the last three. Another form of set builder notation is: a ∈ Z, meaning a is an element of a set of integers.

Note: Set of Z what is it? Check key words in Table 3.1.

Let us look at some more examples, and this time the set information is in a form of an equation.

Example 3
Questions

  • Given a ∈ Z, write down the elements of:
    1. a ∈ {a: 3a + 4 ≤ 10}
    2. a ∈ {a: < 3a + 1}
Hint: Solve the equation first and list the elements.

Answers

  • Z is a set of integers. Integers are {...,− 3, −2, −1, 0, 1, 2,...}. Therefore:
    1. a ∈ {a: 3a + 4 ≤ 10}
      3a + 4 ≤ 10
      3a ≤ 10 − 4
      3a ≤ 6
      a ≤ 2
      a = {2, 1, 0, −1,...}
    2. a ∈ {a: < 3a + 1}
      16 < 3a + 1
      16 − 1 < 3a
      15 < 3a
      5 < a or a > 5
      a = {6, 7, 8, 9,...}

Example 4
Questions

  • If X ∈ Z, X = {x: x > −3} and Y = {x: x < 2}. List the elements X ∩ Y
Hint: You need to first identify what is in set X and set Y then choose common numbers or elements.

Answers

  • X ∩ Y = {x: x > −3} ∩ {x: x < 2}
    From X ∈ Z, X = {−2, −1, 0, 1, 2,...} and Y = {1, 0, −1, −2,...}
    then X ∩ Y = {−1, −2, 0, 1}. These are the common elements of the two sets.

You may attempt the following exercise.

Exercise 3.1: Set builder notation
Questions

  1. If X = {x: x is an integer, 1 < x ≤ 16}, Y = {even numbers}, Z = {perfect square}.
    1. List elements of set Y.
    2. List Y ∩ Z.
  2. ξ = {x: 2 ≤ x ≤ 12, x ∈ N}, A = {x: x is a factor of 16}, B = {x: x is a prime number}.
    1. List the elements of set A.
    2. Find n (A ∪ B).
  3. Given ξ = {1, 2, 3 … 18, 19, 20}. List the elements of each set.
    1. {x: x is an odd number, x ∈ ξ }.
    2. {x: x is a multiple of 3, x ∈ ξ }.
    3. {x: x − 6 > 10, x ∈ ξ }.
    4. {(x: y): y > 14 + x, x ∈ ξ, y ∈ ξ }.
    5. \( {(y: x): 4x^2 + 2, y ∈ ξ, x ∈ ξ } \).
    6. {(x: y): y is a cube of x, 4 ≤ y ≤ 20, 2 ≤ x ≤ 8}.

Answers

    1. {2, 4, 6, 8, 10, 12, 14, 16}
    2. {4, 16}
    1. {2, 4, 8}
    2. 7
    1. {1, 3, 5, 7, 9, 11, 13, 15, 17, 19}
    2. {3, 6, 9, 12, 15, 18}
    3. {17, 18, 19, 20}
    4. {(1;16), (1;17), (1;18), (1;19), (1;20), (2;17), (2;18), (2;19), (2;20), (3;18), (3;19), (3;20), (4;19), (4;20), (5;20)}
    5. {(1;6), (2;18)}
    6. {(2;8)}

3.3. Venn diagrams with two subsets

Venn diagrams can be drawn to represent any number of sets. Let us look at examples of questions which involve drawing of Venn diagrams with 2 subsets.

Example 5
Questions

  • Out of 100 families 32 had radios and 51 had TV sets, if 40 had none of the two. How many had both?

Answers

  • Hint: Let x represent families with both radio and TV sets.
    Let ξ = {100 families}
    Let R = {families with radios}
    Let T = {families with TV sets}
    It is required to calculate n (R ∩ T)

    Figure 3.1

    Since n(R) = 32 – x
    also n(T) = 51 – x, n(T ∩ R) = x and n(R΄ ∩ T΄) = 40
    therefore 40 + (32 – x) + x + (51 – x) = 100
    40 + 32 + 51 – x + x – x = 100
    123 – x = 100
    123 – 100 = x
    23 = x
    x = 23
    Therefore 23 families have both radio and TV set.

Example 6
Questions

  • In the Venn diagram,

    Figure 3.2

    ξ = {farmers}
    A = {animal rearing}
    B = {crop farming}
    The letters a, b, c, d represent the number of farmers in each subsets.
    Given n(ξ) = 254, n(A) = 40 and n(B) = 30
    1. Express b in terms of c.
    2. Express d in terms of c.
    3. State the greatest possible value of c.
    4. Find the smallest possible value of a.
    5. Find a, b, d given that c = 4.

Answers

  1. b + c = 40
    b = 40 – c
  2. d + c = 30
    d = 30 – c
  3. c = 30
  4. 254 – (40 + 30)
    254 – 70
    184 (where c = 0)
  5. (b – c) + c + (d – c ) + a = 254
    1. From (a),
      b = 40 – c
      b = 40 – 4
      b = 36
      therefore b = 36
    2. From (b),
      d = 30 – c
      d = 30 – 4
      d = 26
      therefore d = 26
    3. a + b + c + d = 254
      a + 36 + 4 + 26 = 254
      a + 66 = 254
      a = 254 – 66
      a = 188
      therefore a = 188

You may attempt the following exercise.

Exercise 3.2: Venn diagrams
Questions

  1. Shade the following sets in the Venn diagram.
    1. A ∩ B

      Figure 3.3

    2. X ∪ Y΄

      Figure 3.4

    3. H ∪ K

      Figure 3.5

  2. List the elements of the following sets.
    1. {x ∶ x ≥ 6, x ∈ N}
    2. {x ∶ x ≤ 4, x ∈ Z}
    3. {x ∶ x < 8, x ∈ Z}
    4. {x ∶ x > −3, x ∈ Z}
  3. Given ξ = {0, 1, 2, 3,..., 7, 8, 9}, list the elements:
    1. {x ∶ x = 2x + 3 ≤ 9, x ∈ ξ}
    2. {(x, y) ∶ y = x + 4, x ∈ ξ, y ∈ ξ}
  4. ξ = {x ∶ 1 ≤ x < 15, x is an integer}
    A = {x ∶ x is a multiple of 3}
    B = {x ∶ x even numbers}
    List members of each set:
    1. A = { }
    2. B = { }
    3. A ∩ B = { }

Answers

    1. A ∩ B

      Figure 3.6

    2. X ∪ Y'

      Figure 3.7

    3. H ∪ K

      Figure 3.8

    1. {6, 7, 8,...}
    2. {..., 2, 3, 4}
    3. {..., 5, 6, 7}
    4. {-2, -1, 0,...}
    1. {0, 1, 2, 3}
    2. { 0,4 }{ 1,5 }{ 2,6 }{ 3,7 }{ 4,8 }{5,9 }
    1. A = {3, 6, 9, 12}
    2. B = {2, 4, 6, 8, 10, 12, 14}
    3. A ∩ B = {6, 12}

3.4. Venn diagrams with three subsets

It is very important to identify each set in ξ.

Figure 3.9

Regions: 1 = A ∩ B ∩ C = all 3 sets
Regions: 2 = A ∩ B = A & B only
Regions: 3 = B ∩ C = B & C only
Regions: 4 = A ∩ C = A & C only
Regions: 5 = A only
Regions: 6 = C only
Regions: 7 = B only

Once you understand the different regions in a set, and you are able to place information in the correct set, then it should be easy for you to solve problems involving three subsets.

Example 7
Questions

  • At a school there are 10 boys. 6 study History, 5 study Bible and 7 study Maths, 3 study History and Bible, 2 study Bible and Maths and 4 study History and Maths. Each boy does at least one of the three subjects. How many boys do all three subjects? Use first letter of each subject to group the boys:
    H = {boys who study History}
    B = {boys who study Bible}
    M = {boys who study Maths}
    all 10 boys form your universal set (ξ)
    ξ = {all 10 boys}

Answers

  • Let x be boys how do all 3 subjects.

    Figure 3.10

    At the centre that is where you put x meaning all the three subjects. History and Bible (H ∩ B) is where you place 3 – x, Bible and Maths (B ∩ M) you place 2 – x and History and Maths (H ∩ M), you place 4 – x.
  • Those doing History only are:
    6 – (3 – x) – x – (4 – x)
    6 – 3 + x – x – 4 + x
    6 – 7 + x, which is x – 1.
  • Those doing Bible only are:
    5 – (3 – x) – x – (2 – x)
    5 – 3 + x – x – 2 + x
    5 – 5 + x, which is x.
  • Those doing Maths only are: 7 – (4 – x) – x – (2 – x)
    7 – 4 + x – x – 2 + x
    7 – 6 + x, which is 1 + x.
  • Hint: Take note of boys who do one subject are worked out first. Now all sets or subsets are filled with appropriate information.
  • So,
    (x – 1) + (3 – x) + x + x + (2 – x) + (x + 1) + (4 – x) = 10
    since H ∪ B ∪ M = ξ,
    simplifying our equation and solving for x thus,
    x – 1 + 3 – x + x + x + 2 – x + x + 1 + 4 – x = 10
    4x – 3x – 1 + 10 = 10
    x + 9 = 10
    x = 10 - 9
    x = 1
    Therefore only 1 boy does all three subjects.

You may attempt the following exercise.

Exercise 3.3: Venn diagrams with three subsets
Questions

  1. Shade the following sets in the Venn diagram.
    1. P ∩ Q ∩ R
    2. P ∪ Q ∪ R
    3. (P ∪ Q) ∩ R
    4. (P ∩ Q) ∪ R
    5. P ∪ (Q ∩ R)
    6. Q΄ ∩ ( P ∪ R)
    7. P΄ ∪ ( Q ∩ R)
    8. Q΄ ∩ ( P ∩ R)

    Figure 3.11

  2. If in a group of learners, 24 play Handball, 28 play Baseball and 21 play Softball. 8 play Handball only, 14 play Baseball only and 7 play Handball and Baseball only and 4 play Baseball and Softball only. How many play:
    1. All three games?
    2. Handball and Softball only?
    3. Softball only?
    4. If 10 play none, how many learners are at the school?

Answers

    1. P ∩ Q ∩ R

      Figure 3.12

    2. P ∪ Q ∪ R

      Figure 3.13

    3. (P ∪ Q) ∩ R

      Figure 3.14

    4. (P ∩ Q) ∪ R

      Figure 3.15

    5. P ∪ (Q ∩ R)

      Figure 3.16

    6. Q΄ ∩ ( P ∪ R)

      Figure 3.17

    7. P΄ ∪ ( Q ∩ R)

      Figure 3.18

    8. Q΄ ∩ ( P ∩ R)

      Figure 3.19

  1. In the diagram,

    Figure 3.20

    ξ = {all learners}
    H = {Handball}
    B = {Baseball}
    S = {Softball}
    Note: Start by finding x since those who play baseball = 28
    1. Hence, x = 28 – (7 + 14 + 4)
      x = 28 – 25
      x = 3
      Therefore 3 play all the three games.
    2. y represent those who play handball and softball. Since those who play handball are 24 you can find y thus,
      y + 8 + x + 7 = 24
      y + 8 + 3 + 7 = 24
      y + 18 = 24
      y = 24 – 18
      y = 6
      Therefore 6 play handball and softball only.
    3. If those who play softball are 21 then,
      x + 4 + y + z = 21
      3 + 4 + 6 + z = 21
      13 + z = 21
      z = 21 – 13
      z = 8
      Therefore those who play softball only are 8.
    4. 8 + 7 + 14 + 4 + 3 + 6 + 8 + 10 = 60
      Therefore the total number of learners is 60.

You may attempt the following exercise.

Exercise 3.4: Solving problems involving sets
Questions

  1. The Venn diagram shows elements in their appropriate regions.

    Figure 3.21

    If n(ξ) = 42, calculate the following.
    1. X
    2. n(B)
    3. n(A ∪ C)
    4. n(A ∩ C)
    5. n(C΄ ∩ B΄)
    6. n(A΄ ∪ B)
  2. The Venn diagram shows sets H and K.

    Figure 3.22

    State:
    1. n(H ∩ K)
    2. n(H ∪ K)
    3. (H ∪ K)΄
  3. In a group of drivers, 40 like fish, 31 like beef and 45 like chicken. 10 like fish only, 15 like beef only and 20 like chicken and fish. If 14 like fish and beef, and 6 like beef and chicken.
    1. Calculate how many like
      1. Chicken only?
      2. All three dishes?
    2. How many drivers were there?

Answers

    1. 10 + 5 + 3 + 8 + x + 14 = 42
      40 + x = 42
      x = 42 – 40
      x = 2
    2. n(B) = 3 + 8 + 2
      = 13
    3. n(A ∪ C) = (5 + 3) + (2 + 14)
      = 8 + 16
      = 24
    4. n(A ∩ C) = 0 (There are no common elements for set A and set C, i.e., they are disjoint sets.)
    5. n(C΄ ∩ B΄) = 5 + 10
      = 15
    6. n(A΄ ∪ B) = 8 + 10 + 14 + 2
      = 34
    1. n(H ∩ K) = 3
    2. n(H ∪ K) = 11
    3. H΄ = {7, 9, 10, 11}
    4. (H ∪ K)΄ = { } (There are no elements outside the two sets. This is a null set.)
  1. In the diagram,

    Figure 3.23

    let
    F = {drivers who like fish}
    B = {drivers who like beef}
    C = {drivers who like chicken}
    Hint: Note the word only. This will help you to identify sets as shown in the diagram above, and let those who like chicken only be y. Those who like fish and beef may like chicken too, this is why 14 – x and those who like beef and chicken might like fish.
    1. You should start by calculating x, taking those who like beef or fish:
      Beef => (14 – x) + x + (6 – x) + 15 = 31
      14 – x + x + 6 – x + 15 = 31
      15 + 14 + 6 – x = 31
      35 – x = 31
      x = 35 – 31
      x = 4
      or Fish => 10 + (14 – x) + x + (20 – x) = 40
      10 + 14 – x + x + 20 – x = 40
      44 – x = 40
      x = 44 – 40
      x = 4
      1. Therefore those who like all three dishes are 4.
      2. Those who like chicken only are:
        (20 – x) + x + (6 – x) + y = 45
        20 – x + x + 6 – x + y = 45
        20 – 4 + 4 + 6 – 4 + y = 45
        20 + 6 – 4 + y = 45
        22 + y = 45
        y = 45 – 22
        y = 23
        Therefore 23 drivers like chicken only.
    2. 10 + 10 + 4 + 16 + 2 + 15 + 23 = 80
      Therefore the total numbers of drivers is 80.

3.5. Summary

In this chapter you have learnt about sets, set builder notations, Venn diagrams with two, and three subsets, and the application of Venn diagrams in solving real-life problems.

3.6. Further reading

  1. Macrae, M. F., Madungwe, L. and Mutangadura, A. (2017). New General Mathematics Book 3. Pearson Capetown.
  2. Macrae, M. F., Madungwe, L. and Mutangadura, A. (2017). New General Mathematics Book 4. Pearson Capetown.
  3. Meyers, C., Graham, B., Dawe, L. (2004). Mathscape Working Mathematically. 9th Edition. MacMillan.
  4. Pimentel, R. and Wall, T. (2011). International Mathematics. Hodder UK.
  5. Rayner, D. (2005). Extended Mathematics. Oxford New York.

3.7. Test 3

Questions

  1. Given
    ξ = {x: 0 ≤ x < 100, x is an integer}
    M = {x: x is a multiple of 4}
    P = {x: x is a perfect square}
    1. List the elements of M.   [2]
    2. List the elements of P.   [2]
    3. Find n(M ∩ P).   [1]
    4. List the elements of (M ∪ P).   [1]
    5. Find n(M ∪ P).   [1]
  2. Given
    ξ = {x: x < 15, x ∈ Z } (consider positive integers only)
    A = {even number}
    B = {odd number}
    C = {3, 6, 9, 12}
    Find
    1. n (B ∩ C)   [2]
    2. A'   [2]
    3. (A ∩ C)'   [2]
    4. (B ∪ C)   [2]
  3. If ξ = {1, 2, 3, . . . 18, 19, 20} , list the members of the following sets.
    1. {x: x + 2 > 16 }   [2]
    2. {(x, y): y = 15 + x, y ∈ ξ, x ∈ ξ}   [3]
    3. {(x, y): y = 3x7 – 5, x ∈ ξ, y ∈ ξ}   [3]
  4. 54 girls chose a drink each with at least one of the following flavours. The Venn diagram represents the number of girls in the subsets.
    Guava (G)
    Peach (P)
    Apple (A)

    Figure 3.24

    1. Write down the total number of girls who chose apple.
    2. Express a in terms of b in its simplest form.
    3. Girls who chose apple only were 3 more than those whose who chose peach only.
      1. Write an equation in b.
      2. Solve your equation.
      3. Calculate the number of girls who chose peach only.

Answers

    1. M = {4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96}
    2. P = {1, 4, 9, 16, 25, 36, 49, 64, 81}
    3. 4
    4. {4, 8, 9, 12, 16, 20, 24, 25, 28, 32, 36, 40, 42, 44, 48, 49, 52, 56, 60, 64, 68, 72, 76, 80, 81, 84, 84, 88, 92, 96}
    5. 31
    1. 2
    2. {1, 3, 5, 7, 9, 11, 13}
    3. {1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14}
    4. {1, 3, 5, 6, 7, 9, 11, 12, 13}
    1. {15, 16, 17, 18, 19, 20}
    2. {(1, 16), (2, 17), (3, 18), (4, 19), (5, 20)}
    3. (2, 7)
    1. 24
    2. a = 25 – b
      1. 2b + 3 = 24 - b
      2. b = 7
      3. 14