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
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?
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.
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}
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
(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}
(a) 10 e A (b) 4 Ï A (c) 25 e A
(d) 3.5 e A (e) 0 e A (f) 6½ Ï A
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
(a) A Ì B (b) B Í A (c) D Ì A
(d) D Ì B (e) A É D (f) A = B
(a) B Ì A (b) D Í E (c) D = E
(d) 4 Î E (e) E Ì B (f) 4 Ï B
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
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
(a) A È D (b) B È D (c) A È (B È D)
(d) A È B È D È E (e) E È (A È D)
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
(a) C È D (b) D È E (c) C È E
(d) C Ç D (e) C Ç E (f) D Ç E
(g) C È ø (h) C Ç ø
(c) (A È B È D) Ç E (d) (A Ç B) È E
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:
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+ |
|
|
c |
AB Rh+ |
A Ç R Ç B |
|
d |
O Rh+ |
|
|
e |
A Rh- |
A Ç
|
|
f |
B Rh- |
|
|
g |
AB Rh- |
A Ç
|
|
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 |
|
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
Figure 4.11
(AÈ
B) Ç
(
)
= ( A Ç
)
È
(
Ç
B)
(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