UNIT 4 – SETS

 

Exercises:   [1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]

 

INTRODUCTION

Mathematics is traditionally thought of as dealing with numbers, that is quantities like distances, angles, weights etc., but it also includes non-numerical branches such as logic. These areas have developed because the study of most disciplines is facilitated by a precise and symbolic method of expression.

The English language contains many words to designated a collection of objects. Biologists use categories such as order, family, and genus to mean collections of plants and animals which have certain characteristics in common. Sociologists subdivide the population of a country into social classes; economists subdivide it into income groups. When statisticians select individuals form a population they use the word sample. All these words collection, class, group, category, etc. have some common meaning mathematician use the term set for it.

This unit is an introduction to the language and concepts used in mathematics for discussing sets, parts of sets, combination of sets, etc.

 

OBJECTIVES

  1. To describe a set using two standard forms of notation.

  2. To perform operations on sets.

  3. To use Venn diagrams to illustrate and solve problems involving sets.

 

SETS

A set is a well-defined collection of any kind of objects: people, ideas, plants, numbers, responses, etc. It must be well-defined in the sense that there must be no ambiguity about whether an object belongs to a set or not. For example, it is easy to define, unambiguously, the set of patients in a particular hospital at a particular time, but you cannot define the set of all broad-leafed plants because the judgment of broad-leafed is subjective and might cause ambiguity.

 

Exercises 4.1 Solutions

Which of the following collections qualify as sets according to the rigorous definition above?

  1. All firms made in Australia.

  2. The chemical elements.

  3. All great Australian novels.

  4. The integers.

  5. All species in the family Eucalyptus.

 

ELEMENTS

The objects belonging to a set are called its members or elements. The symbol e is used to denote ‘is a member of’ or ‘belongs to’. If a set is denoted by T then, a e T means a is an element of T, and b Ï T means b is not an element of T’.

The number of elements is a set may be finite or infinite. For example the set of cabinet members contains a finite number of elements whereas the set of all living cells is infinite.

 

Exercises 4.2 Solutions

State whether the collections which qualified as sets in Exercises 4.1 are finite or infinite.

 

NULL SET

This is a set which has no members. It is also called the empty set and is denoted by ø. Surprisingly, perhaps, this is a useful concept; e.g. the collection of all your living aunts is a set, but for some people this set may be empty. Another empty set is the set of female prime ministers of Australia before 1979.

 

NOTATION FOR SETS

A set is described in one of the following ways.

  1. Listing all its elements,

    e.g. S is the set of the five senses,

    S = {sight, hearing, smell, touch, taste}

    e.g. A is the set of natural numbers less than 5,

    A = {1, 2, 3, 4}

    e.g. E is the set of all positive even integers,

    E = {2, 4, 5, …}.

    Note that the order in which the elements are written is not important,

    e.g. the set of natural numbers less than 5 can be written as

    A = {2, 4, 1, 3}

  2. Writing down the property which characterises the elements of the set,

e.g. ‘G is the set of all Griffith University students’ could be written as G = {x|x is a student at Griffith University} and read as ‘G is the set of all people x such that x is a student at Griffith University’.

The symbol | which is read as such that is sometimes replaced by : or ; but they all have the same meaning,

 

Exercises 4.3 Solutions

  1. List all the elements of the following sets:

    (a) A = {x|x is a natural number less than 10}

    (b) B = {s;s is a car which can travel at the speed of light}

  2. Write each of the following sets in the standard notation using {} and, if you are describing the common property of the elements, using the symbol | (or ; or : ).

  1. The set of integers between -5.1 and 2.1.

  2. The set containing all animals that have pouches to carry their young.

  3. The set consisting of natural numbers less than 20 and divisible by 3.

  1. If A = {1, 2, 3, 4, …, 20} indicate whether the following statements are true or false:

    (a) 10 e A (b) 4 Ï A (c) 25 e A

    (d) 3.5 e A (e) 0 e A (f) Ï A

  2. Write each of the following sets in standard notation, first by listing its elements and then by using the property which characterises its elements.

  1. A is the set of natural numbers that are multiples of 5.

  2. B is the set of fractions between (but not including) –1 and 1 that have 3 as a denominator.

  3. C is the set of all countries located on the Australian continent.

 

EQUALITY OF SETS

Two sets A and B are said to be equal, in symbols

A = B

If they contain exactly the same members.

e.g. {1, 2, 3] and {3, 1, 2} have the same members of they are equal.

Also {2, 4, 6} = {6, 4, 6, 2, 4} for the same reason.

 

SUBSETS

A set P is called a subset of set Q if all the elements of P are also elements of Q. This definition includes the case of equality (that is , if P = Q, P is also a subset of Q). Symbolically ‘P is a subset of Q’ is written as:

P Í Q

The fact that equality is included in the above definition can sometimes be inconvenient. To overcome this, P is defined to be a proper subset of Q if there are some elements in Q which are not in P, (i.e. P does not equal to Q). This is written as:

P Ì Q

Notice that the symbols Ì and Í are analogous to the inequality symbols < and (recall Unit 2).

Example 4a. If A = {x : x is an animal}

B = {y : y is an animal with a tail}

C = {horses, kangaroos}

and D = {cows, guinea pigs, horses, kangaroos}

Which of the following statements are true?

(a) B Ì A (b) D Ì B

(c) C Í B (d) C Ì D

(e) A Ì B (f) A É D

Answer (a) True

(b) False: guinea pigs do not have tails

(c) True

(d) True

(e) False: guinea pigs e A but Ï B

(f) True

 

Exercises 4.4 Solutions

  1. If A = {q, r, s}, B = {p, q, r, s, u, v} and D = {u, v} are the following statements true or false?

    (a) A Ì B (b) B Í A (c) D Ì A

    (d) D Ì B (e) A É D (f) A = B

  2. Indicate whether the following statements are true or false if A = {1, 2, 3, 4}, B = {1, 2}, D = {3, 4, 5} and E = {3, 4, 5}

    (a) B Ì A (b) D Í E (c) D = E

    (d) 4 Î E (e) E Ì B (f) 4 Ï B

  3. Which, if any, of the following sets are equal?

A = {x ; x is a real number and |x-1| 2}

B = {x ; x is a four-sided triangle}

C = {-1, 0, 1, 2, 3}

D = {n ; n is a natural number and n < -1}

 

VENN DIAGRAM

A useful way of depicting sets and their relationships was devised by the English logician and theologian Johan Venn (1834-1923). In a Venn diagram sets are represented graphically by circles or rectangles (or any other suitable shape). For example the Venn diagram in Figure 4.1 illustrates the relationship P is a proper subset of Q

 

Figure 4.1: P Ì Q

Similarly the Venn diagram in Figure 4.2 shows that A and B are two sets which share some common elements (represented by the shaded area where A and B overlap).

 

Figure 4.2

Note: The size and shape of the figures are not related to the number of elements in each set.

 

UNIVERSAL SET

The set of all individuals in which you are interested is called the universal set and is usually denoted by U or W (Greek letter capital omega).

e.g If you wanted to compare characteristics of students in different faculties at your university you would need

W = {x ; x is a student at your university}.

By convention, it is represented in a Venn diagram as the outer boundary containing all the elements of interest. There is no prescribed shape for this boundary however a rectangle is frequently used for convenience.

 

COMPLEMENTARY SET

The complement of a set A is the set of all those elements of the universal set which are not in A . It is written as

or sometimes as A' or W - A. It is the shaded area in Figure 4.3.

Figure 4.3: A and

e.g. If W is the set of all medical students and A is the set of all male medical students then is the set of all female medical students.

e.g. If W = {1, 2, 3, 4, 5} and A = { 2, 3, 4} then = {1, 5}.

Exercises 4.5 Solutions

  1. Consider all dogs as the universal set U. Purebred labradors constitute a subset L of U. What does the subset consist of?

  2. If U = {2, 4, 6, 8, 10, } and A = {2, 4, 6} what is ?

 

UNION

The union of two sets A and B is the set which contains all the elements of A and all the elements of B (and hence all the elements which are in both A and B). It is written as A È B and illustrated by the Venn diagram in Figure 4.4.

 

Figure 4.4: A È B

e.g. If A = {x, y, z, p, q} and B = {a, p, z}

then A È B = {x, y, z, p, q, a}

In symbols the union of A and B is written as

A È B = {x|x e A or x e B}.

Notice that the world or is used in mathematics in the sense of and/or. Thus the statement 2 + 2 = 4 or pigs can fly is true, so is pigs are mammals or quadrupeds but 2 + 2 = 5 or elephants can fly is false.

 

Exercises 4.6 Solutions

  1. If A = {1, 4, 7}, B = {1, 2, 5, 7}, D = {5, 6, 8, 7} and E ={9, 10} find the following:

    (a) A È D (b) B È D (c) A È (B È D)

    (d) A È B È D È E (e) E È (A È D)

  2. Suppose that V = {tomatoes, potatoes, carrots} and S = {yams, lettuce, potatoes, celery, pumpkin}. If R is the set of all root vegetables, is R a subset of V È S ?

  3. Are the following statements true or false?

    1. 2 + 2 = 4 or 3 + 1 = 5.

    2. It is not raining or it is raining.

    3. People have 10 fingers or people have 10 toes.

    4. 22 ¹ 4 or 16 = 2.

 

INTERSECTION

The intersection of two sets A and B is the set whose elements are common to both A and B. It is written as

A Ç B

And illustrated by the Venn diagram in Figure 4.5

e.g. If A = {a, b, c, d, x, y, z}

and B = {p, q, d, x, t, a, y, m}

then A Ç B = {d, x, a, y}

 

Figure 4.5: A Ç B

If A and B have no common elements, that is, their intersection is the empty set

A Ç B = Ø,

Then they are said to be disjoint sets (see Figure 4.6).

Figure 4.6: A and B are disjoint

 

Exercises 4.7 Solutions

  1. Let A = {1, 2, 3, 4}, B = {2, 3, 4, 5} and C = {2, 3}.

    1. What is A Ç B ?

    2. Are B and C disjoint?

  1. If C = {v, w, x}, D = {x, y, z} and E ={w} what are the following?

    (a) C È D (b) D È E (c) C È E

    (d) C Ç D (e) C Ç E (f) D Ç E

    (g) C È ø (h) C Ç ø

  2. If A = {1, 4, 7}, B = {1, 2, 5, 7}, D = {5, 6, 8, 9} and E = {9, 10} find the following:

    1. A È (B Ç D) (b) B È (E È A)

(c) (A È B È D) Ç E (d) (A Ç B) È E

  1. Suppose each individual in a population has the antigen M or the antigen N or both of them. Use set notation to describe the subset of all individuals having both M and N.

 

VENN DIAGRAMS AND PROBLEM SOLVING

The language of sets and, more particularly, Venn diagrams can be used to analyse and solve problems in many practical situations.

The first and most important step is to identify the sets involved in the problem. The process of defining appropriate sets requires clear thinking; this can be acquired with practice and is an essential skill for problem-solving scientists. In the following worked examples relevant sets are defined and used in the solution of the problem. You should try to identify sets in problems you meet in other areas of your study.

 

Example 4b A family moving into a new city wishes to buy a house so that the distance travelled each day by each member of the family does not exceed 12 km ( 6km each way). If the post office is regarded as the origin of a set of axes whose units are in kilometres, the fathers place of work lies at the point with co-ordinates (4, 2); the mothers work place is at (-2, 3) and the school attended by the children is at (-1, -5). Use a Venn diagram to locate the area which would be suitable for all members of the family.

Answer Let F, M and S be the areas within a radius of 6 km from the fathers place of work, the mothers place of work and the school respectively (i.e. F represents the area which would be suitable for the father).

The universal set U for this problem is the area within the city boundary.

 

Figure 4.7

The shaded are M Ç F Ç S in Figure 4.7 represents the area containing the houses which would be suitable for all members of the family.

Example 4c When blood is analysed the presence or absence of each of three antigens (Rh, A and B) is noted. An individual is classified in two ways:

    1. with respect to the presence (Rh+) or absence (Rh-) of the Rh antigen, and

    2. if neither of the antigens A or B is present he has blood group 0, if only A is present he belongs to group A, if only B is present he belongs to group B, and of both A and B are present he has blood group AB.

    1. Use a Venn diagram to illustrate all the possible blood types that may occur.

    2. Express these blood types as intersections of sets.

Answer in Figure 4.8 let R be the set of individuals in whom the Rh antigen is present. A be the set of individuals with the A antigen present, and B be the set of individuals with the B antigen present.

The universal set, U will be the set of all individuals.

 

Figure 4.8

The eight possible blood types are then represented as follows

Area on diagram

Type

Set

a

A Rh+

A Ç R Ç

b

B Rh+

Ç R Ç B

c

AB Rh+

A Ç R Ç B

d

O Rh+

Ç R Ç

e

A Rh-

A Ç Ç

f

B Rh-

Ç Ç B

g

AB Rh-

A Ç Ç B

h

O Rh-

Ç Ç

 

Example 4d This type of problem involves looking at the number of elements in a set.

Suppose that a class consists of 100 students of whom 40 are women, 73 take history and 12 women do not take history. How many men do not take history?

Answer Let W = set of all women (so = set of all men)

And H = set of people who take history.

Now draw a Venn diagram and label each area (Figure 4.9). U is the set of all students in the class.

 

Figure 4.9

Find the number of people represented by each area.

Description

Symbol

Number

Women not taking history

W È

12

Women taking history

W Ç H

40 – 12 = 28

Men taking history

Ç H

73 – 28 = 45

Men not taking history

Ç

(100 – 40) – 45 = 15

Alternatively this problem can be solved using ideas about sets and algebra.

Define the sets W, H and U as before.

Draw the Venn diagram but place in each area a symbol representing the number of elements in that set (Figure 4.10).

 

Figure 4.10

Use the given information to evaluate a, b, c and d.

(i) a + b + c + d = 100 (total number of students)

(ii) b + c = 40 (women)

(iii) c + d = 73 (history)

(iv) b = 12 (women without history)

Substituting b = 12 into equation (ii) gives c = 28.

Substituting c = 28 into (iii) gives d = 45

Substituting these values for b, c and d into (i) gives: a = 100 12 28 45 = 15.

The area representing the set of men who do not take history contains the letter a, thus the number in this set is 15.

 

Exercises 4.8 Solutions

  1. A high school class consists of 60 students. Each student may take one or more of the three sports, swimming, squash and karate, if he wishes. 5 students take no sport at all. Of the 31 who attend swimming 14 take no other sport and 5 take both karate and squash as well. 10 students take only squash and a further 23 take squash plus one or more other sports. Karate as a single sport is taken by 6 students. How many students take both karate and swimming but not squash?

  2. Describe the shaded area in the Venn diagram in Figure 4.11 in terms of unions, intersections and complements in two different ways.

     

    Figure 4.11

  3. Using Venn diagrams show that

    (AÈ B) Ç () = ( A Ç ) È ( Ç B)

  4. The following results were reported by a market researcher from interviews with 100 people:

(i) number using washing powder J 17

(ii) number using washing powder K 33

(iii) number using washing powder L 78

(iv) number using washing powder J and K 14

(v) number using washing powder J and L 16

(vi) number using washing powder K and L 23

(vii) number using none of these washing powders 14

Using this information to find now many people use

  1. all three types of washing powders,
  2. only washing powder J.