Sets Theory
Sets Theory
DEFINITION ➤
A set is a collection of objects, and these objects are the elements of the set.
1. SYMBOLS OF SETS ➤
∎ The elements of the set will be denoted with small letters, like, a, b, v, x, y, …
∎ The curly brackets { } will be to write the elements of the set irrespective of their
orders.
Some sets can be described by listing their elements in braces. For instance, the set
A consisting of the natural numbers (or positive integers) less than 6 can be expressed
as A = 1, 2, 3, 4, 5
Another way to describe a set is to enclose in braces a rule that generates all the
elements of the set. For instance, the set
3. EMPTY SET ➤
Is the set that doesn’t contains any element, denoted by the symbol 𝛟 or { }.
Illustrative Example ➤
A = {x : x2 + 9 = 0 , x is a real number }
x=3i,-3i
Since 3i, -3i are imaginary numbers, then the set A is an empty set A = { }, or A
=Φ
EXAMPLES ➤
2] X = { x : x2 + 5 x + 6 = 0 , x > 0 }
3] X = {The number of employers in the university whose ages are less than 8-years}
EXAMPLE ➤
a. 𝐷 = {𝑥 ∈ 𝑅/ 3 < 𝑥 < 2}
b. 𝐸 = {𝑥 ∈ 𝑍/ 2 < 𝑥 < 3}
SOLUTION ➤
a. Recall that a<x<b means that a<x and x<b. So D consists of all real numbers that
are both grater than 3 and less than 2. Since there are no such numbers, D has no
elements and thus 𝐷 = 𝜙
b. E is the set of all integers that are both greater than 2 and less than 3. Since no
integers satisfy this condition, E has no elements, and so 𝐸 = 𝜙
EXAMPLE ➤
Let X = { (x , y) : x + y = 2 }, then
So what does this have to do with mathematics? When we define a set, all we have
to specify is a common characteristic. Who says we can't do so with numbers?
And so on.
We can also define a set by its properties, such as {x | x > 0} which means "the set
of all x's, such that x is greater than 0".
And we can have sets of numbers that have no common property, they are
just defined that way. For example:
NOTES ➤
0 ∈ 𝑁, 0∉𝐽
−5 ∈ 𝐼, −5 ∉ 𝐽
1 1
∈ 𝑄, ∉𝑁
2 2
√3 ∈ 𝑅, √3 ∉ 𝑄
3 + 2𝑖 ∈ 𝐶, 3 + 2𝑖 ∉ 𝑅
EXAMPLE ➤
SOLUTION ➤
1 3
√2, , −√5, √14 , 𝜋, 𝑒 ∈ 𝑅
√ 3
1 1 1
∎ 22 / 7 , e = 1 + + + + ......
1! 2 ! 3 !
EXAMPLE ➤
List a few elements in the sets below and describe them in words.
The set Z is the set of integers, positive and negative whole numbers.
1. 𝐴 = {𝑥 ∈ 𝑍/ 𝑥 2 ∈ 𝑁}
2. 𝐵 = {𝑥 2 / 𝑥 ∈ 𝑁}
SOLUTION ➤
EXAMPLES ➤
X=Y
∎ If X = {x : x2 – 4 x + 3 = 0 } , and Y = {1 , 3 }, then
X=Y
Then X = Y
6. UNIVERSAL SET (U) ➤
It's a set that contains everything. Everything that is relevant to our question.
∎ In Number Theory the universal set is all the integers, as Number Theory is
simply the study of integers
∎ And in complex analysis, the universal set is all the complex numbers.
7. SUBSETS ➤
When we define a set, if we take pieces of that set, we can form what is called
a subset.
Example: the set {1, 2, 3, 4, 5}
A subset of this is {1, 2, 3}. Another subset is {3, 4} or even another is {1}, etc.
But {1, 6} is not a subset, since it has an element (6) which is not in the parent set.
A is a subset of B if and only if every element of A is in B.
EXAMPLE ➤
A] 𝑋 ⊂ 𝑌 B] 𝑋 ⊂ 𝑍 C] 𝑍 ⊂ 𝑌 D] 𝑍 ⊂ 𝑋
SOLUTIN ➤
DEFINITION ➤
1] If all elements of X are also elements of Y, but not all elements of Y are elements
of X, then we say that X is a subset of Y or Y contains X. We denote this as
X Y or Y X
There are various situations in which it is useful to consider the set of all subsets of
a particular set. The power set axiom guarantees that is a set.
DEFINITION ➤
Given a set A, the power set of A, denoted P(A), is the set of all subsets of A
EXAMPLE ➤
SOLUTION ➤
{1},{2},{3}
{ 1 , 2 } , { 1 , 3 } , { 2 , 3}
X= { 1 , 2 , 3}
EXAMPLE ➤
SOLUTION ➤
1] X1 = { 3 , 5 , 7 , 11 , 13 }
2] X2 = { 3 , 9 , 15 }
3] X3 = { 7 , 9 , 11 }
4] X4 = {1 , 3 , 11}
5] X5 = { 3 }
NOTE THAT ➤
X=Y
EXAMPLE ➤
SOLUTION ➤
- The set of even prime numbers = {2} is not the null set.
- The set of factors of 7 = {1, 7} is not the null set.
- π is an irrational number, so cannot be expressed as a rational number.
EXAMPLE ➤
1. 𝐴 ⊂ 𝐵. 4. 𝜙 ∈ 𝐴.
2. 𝐵 ⊂ 𝐴. 5. 𝜙 ⊂ 𝐴.
3. 𝐵 ∈ 𝐶. 6. 𝐴 < 𝐷.
SOLUTION ➤
4. False. A has exactly 6 elements, and none of them are the empty set.
8. OPERATIONS ON SETS ➤
8.1. UNION ➤
If X and Y are two sets, then X Y is their union and consists of all elements
belonging either to X or Y (or to both X and Y). Mathematically, this is denoted by
X Y = { a : a X or a Y }
X Y = { a : a X a Y }
The symbol (∨) means ( or). We can use Venn Diagrams to represent the union as
A∪ B
8.2. INTERSECTION ➤
be represented by
X Y = { a : a X and a Y }
X Y = { a : a X a Y }
EXAMPLE ➤
Describe each of the following sets in words and listing out enough elements to see
the pattern.
1. {𝑥: 𝑥 + 3 ∈ 𝑁}.
2. {𝑥 ∈ 𝑁: 𝑥 + 3 ∈ 𝑁}.
3. {𝑥: 𝑥 ∈ 𝑁 ∨ −𝑥 ∈ 𝑁}.
4. {𝑥: 𝑥 ∈ 𝑁 ∧ −𝑥 ∈ 𝑁}.
SOLUTION ➤
8.3. SOME SUBSET RELATIONS ➤
X − Y = { a : a X and a Y }
X −Y
EXAMPLE ➤
(X - Y) and (Y- X)
SOLUTION ➤
X − Y = 1, 2, 4, 7, 8
Y − X = 5
TWO SETS ➤
XY = ( X − Y ) (Y − X ) = ( X Y ) − ( X Y )
XY = { x : x ( X − Y ) or x (Y − X ) }
X Y
XC = U − X
Mathematically we write
XC = {a : a U , a X}
XC = U − X
EXAMPLE ➤
SOLUTION ➤
a 2 − 8 a + 15 = 0
(a − 3)(a − 5) = 0 a = 3 , a = 5
Y = 3, 5 ⟹ Y C = U − Y = 1, 2, 4
NOTE THAT ➤ ( X C )C = X
X X = X , X X = X
9.2. COMMUTATIVE LAW ➤
X Y = Y X
X Y = Y X
is an associative operation
(X Y ) Z = X (Y Z)
PROOF ➤
x (X Y ) Z x (X Y ) ( x Z )
( x X x Y ) ( x Z)
( x X ) ( x Y x Z)
( x X ) (Y Z )
x X (Y Z )
(X Y ) Z = X (Y Z)
is an associative operation
(X Y ) Z = X (Y Z)
9.4. DISTRIBUTIVE LAWS ➤
( i) X (Y Z) = ( X Y ) ( X Z)
.
( ii) X (Y Z) = ( X Y ) ( X Z)
PROOF ➤
(i) X (Y Z) = (X Y ) (X Z)
x X (Y Z) x ( X ) ( x Y Z )
( x X ) ( x Y x Z)
( x X x Y ) ( x X x Z)
( x X Y ) ( x X Z)
x ( X Y ) ( X Z )
X (Y Z) = (X Y ) (X Z)
( i) ( X Y )C = X C Y C
( ii) ( X Y )C = X C Y C
PROOF ➤
x ( X Y )C x U x ( X Y )
(x U x X) (x U x Y )
(i) (X Y )C = XC Y C (x U − X) (x U − Y )
( x XC ) ( x Y C )
( x XC Y C )
( X Y )C = X C Y C
EXAMPLE ➤
a] A B , b] A B
c] AC B , d ] A BC
( A B ) = AC B C
C
( A B ) = AC BC
C
A ( B C ) and ( A B ) ( A C )
SOLUTION ➤
a] A B = 1, 2, 4,5 ,
b] A B = 2
c] AC B = 2,3, 4,5,6
d] A B = 1
C
e] ( A B ) = 3, 6
C
(i)
( A B) = AC BC
C
Also,
( A B) = AC BC
C
( A B) ( A C ) = 1,2
A (B C ) = ( A B) ( A C ) (ii)