Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SET
OBJECTIVES
At the end of this chapter, you will be able to:
1. understand the concept of sets and subsets; and
2. understand the operations on sets such as intersection, union, difference and products.
Definition 1.1: A set is any well-defined collection of objects, called elements or members
of the set.
For example:
a) The collection of all students taking this course
b) The collection of all lecturers at the university
c) The collection of real numbers between zero and one
Notation:
A = {elements of set A}
Where A is the name of the set or could be any variable name. Example, B, C, D…
Example 1.1a:
The equation
A = { 1, 2, 3, 4 }
describes a set A made up of the four elements 1, 2, 3, and 4.
A set is determined by its elements and not by any particular order in which the elements might
be listed. Another way in writing the equation above is as follows:
A = { 1, 4, 3, 2 }
The elements making up a set are assumed to be distinct, and although for some reason we
may duplicate in our list. Only on occurrence of each element is in the set. For this reason we
my also describe the set A defined above as:
A = { 1, 2, 3, 3, 4 }
Type of elements
Representation Description
in a set
Example 1.1b
The set V of all the vowels in the English alphabet can be written as
V = { a, e, i, o, u }
Example 1.1c
The equation
B = { x | x is a positive, even integer }
describes the set B made up of all positive, even integers; that is; B consists of the integer 2, 4,
6, and so on.
The vertical bar “|” is read “such that”. Equation B above can be read “B equals the set of all x
such that x is a positive, even integer”.
Symbols Description
Is a member/elements
Is not a member/elements
Example 1.1d
Let A = { 1, 3, 6, 9 }. Then 1 ∈ A, 3 ∈ A, but 2 ∉ A.
|A| = 4
Example 1.1e
A is a set consisting of the first 5 positive integers: A = { 1, 2, 3, 4, 5 }.
So 1 ∈ A, but 6 ∉ A.
Example 1.1f
For P = { 1, 2, 3, … } is a set of positive integers.
a) A = { 1, 4, 9, 16, 25 }
={ | x ∈ P, < 30 }
={ |x∈P∧ < 30 }
={x∈P| < 30 }
b) B = { 1, 4, 9, …., 64 }
={ | y ∈ P, < 70 }
={ | y ∈ P, < 80 }
={ |y∈P∧ < 65 }
={ ∈P| ≤ 64 }
c) C = { 2, 4. 6, 8, … }
C = { 2m | m ∈ P }
A = { 1, 4, 9, 16, 25 }
={ | x ∈ P, < 30 }
={ |x∈P∧ < 30 }
={x∈P| < 30 }
Finite B = { 1, 4, 9, …., 64 }
={ | y ∈ P, < 70 }
={ | y ∈ P, < 80 }
={ |y∈P∧ < 65 }
={ ∈P| ≤ 64 }
Infinite C = { 2, 4. 6, 8, … }
C = { 2m | m ∈ P }
There is a special set that has no elements. This set is called the empty set or null set, and is
denoted by Ø. The empty set can also be denoted by { } (that is, we represent the empty set
with a pair of braces that encloses all the elements in this set).
Z+ = { x | x is a positive integer }
Positive integers Z+
Example: 1, 2, 3 …
a) 2∈A
b) 3∈A
c) a∉A
d) Ø∈A
e) {}∉A
f) A∈A
2. Let A = { x | x is a real number and x < 6 }. Identify each of the following as true or false:
a) 3∈A
b) 5∉A
c) 6∈A
d) 7∉A
e) -7 ∈ A
f) 2.5 ∉ A
a) The set of all positive integers that are less than ten
b) { x | x ∈ Z and x2 < 15 }
4. In each part, write the set in the form { x | p(x)}, where p(x) is a property that describes
the elements of the set:
a) { 2, 4, 6, 8, 10, 12 }
b) { a, e, i, o, u }
c) {1, 4, 9, 16, 25 }
d) {1, 8, 27, 64, 125 }
e) {-3, -2, -1, 0, 1, 2, 3 }
1.2 SET EQUALITY
A set is completely known when its members are all known. Thus we say two sets A and B are
equal if they have the same elements and we write A = B.
Example 1.2a
Example 1.2b
If A = { ADA, BASIC, PASCAL } and B = {PASCAL, BASIC, ADA }, then A = B.
Example 1.2c
If A = { x | + x – 6 = 0 } and B = { 2, -3 }, then A = B.
Proof:
+x–6=0
( x – 2 )( x + 3 ) = 0
( x - 2 ) = 0 or ( x + 3 ) = 0
Therefore, x = 2 or x = -3
Hence A = B
Exercise 1.2
a) { 4, 1, 2, 5, 3 }
b) { 2, 3, 4, 5 }
c) { 1. 2, 3, 4, 5, 6 }
d) { x | x is an integer and x2 ≤ 25 }
a) { 1, 1, 3, 3, 3, 5, 5, 5, 5 }, { 5, 1, 3 }
b) { { 1 } }, { 1, { 1 }}
c) Ø, { Ø }
1.2 VENN DIAGRAM
Venn diagram provides pictorial views of sets. In a Venn diagram, a rectangle depicts a
universal set. Subsets of the universal set are drawn as circles. The inside of a circle represents
the members of that set.
The idea of Venn diagram was first proposed by a mathematician by the name of John Venn.
In Venn diagrams, the universal set E will normally be denoted by a rectangle, while sets within
E will be denoted by circles as shown below.
E
A
A
Figure 1.2
Subsets of the universal set are drawn as circles. The inside of a circle represents the numbers
of the set. Refer to Figure 1.3.
A B
Figure 1.3
To represent three sets, we use three overlapping circles as below:
E
A
B C
Figure 1.4
1.4 SUBSET
The Venn diagram below represents the subset for set A and B.
A B
E
A
4
2 C
1
3
Example 1.4b
Let
A = { 1, 2, 3, 4, 5, 6 },
B = { 2, 4, 5 }, and
C = { 1, 2, 3, 4, 5 }
Then B ⊆ A, B ⊆ C and C ⊆ A
E
A C A
1 1
1 6
B 3 2
3 2
6 2 3
B 4
4 4
5 C
5 5
B⊆A B⊆C C⊆A
Definition 1.4b: If X is a subset of any Y and X does not equal Y, we say that X is a proper
subset of Y.
a) { 5, 1 } ⊆ A
b) { 8, 1 } ∈ A
c) (1, 8, 2, 11, 5 } ⊄ A
d) Ø⊆A
e) { 1, 6 } ⊄ A
f) {2}⊆A
g) { 3 } ∉A
h) A ⊆ { 11, 2, 5, 1, 8, 4 }
2. In each part, find the set of smallest cardinality that contains the given sets as subsets:
a) { A, b, c }, { a, d, e, f }, { b, c, e, g }
b) { 1, 2 }, ( 1, 3 }, Ø
c) { 1, a }, { b, 2 }
5. Suppose that A, B and C are sets such that A ⊆ B and B ⊆ C. Show that A ⊆ C.
1.5 POWER SET
Definition 1.5a: If A is a set, then the set of all subsets of A is called the power set of A
and is denoted by P (A).
Example 1.5a
If A = { a, b, c }, the members of P (A) are
P (A) = { Ø, { a }, { b }, { c }, { a, b }, { a, c }, { b, c }, { a, b, c } }
All but { a, b, c } are proper subset of A. P (A) may also be written as P ({ a, b, c }).
Example 1.5b
If A = { a, b, c }, then
| A | = 3, | P (A) | = 23 = 8
Example 1.5c
The number of P (Ø) = 1 since | Ø | = 0 and | P (Ø) | = 20 = 1
Exercise 1.4
b) { a, b }
c) { Ø, { Ø } }
2. Can you conclude that A = B if A and B are two sets with the same power set?
a) P ({ a, b, { a, b } })
b) P ({ Ø, { a, { a }, {{ a }}})
c) P (P (Ø))
4. Determine whether each of the following sets is the power set of a set:
a) Ø
b) { Ø, { a }}
c) { Ø, { a }, { Ø, a }}
d) { Ø, { a }, { b }, { a, b }}