2-SETS
2-SETS
WHAT IS A SET?
A set is an unordered well-defined collection of distinct
objects called elements or members
Well-defined set
A set is considered to be well-defined if it is
possible to establish that any given object belongs to
the set
SETS
• Finite set
It can be counted and terminates at certain natural
numbers, otherwise it is Infinite sets
Types of Sets
• Unit set
set with only one member and also called (singleton)
Examples 𝑎 , 45
• Infinite set
A set which is not finite is called an infinite set.
Example: A = {1,2,3,4,5,6,7,8,9……}
Types of Sets
• Equivalent sets
Two sets are equivalent if they have the same number of
members.
Example: Are A and B equivalent where:
A = {a, e, i, o}
B = {4, 2, 1, 3}
Types of Sets
• Equal sets
Two sets are equal if they have precisely the same
members.
Example: Are A and B equal where:
A is the set whose members are the first four positive
whole numbers
B = {4, 2, 1, 3}
Types of Sets
• Intersecting sets
if two sets have common element/s
• Subsets
When we define a set, if we take pieces of that set, we can
form what is called a subset.
NOTE
• Every set is a subset of itself. 𝑨 ⊆ 𝑨
• Empty set is a subset of every set
Types of Sets
Example: B = {1, 2, 3, 4, 5}
The subset of this is A={1, 2, 3}. Another subset is C={3, 4}
or even another is D={1}, etc.
•𝑨 ⊆ 𝑩 (A is a subset of B)
• But C={1, 6} is not a subset, since it has an element (6)
which is not in the parent set.
Types of Sets
Finding all subsets of a set
𝑨 = 𝟏, 𝟐, 𝟑
𝒔𝒖𝒃𝒔𝒆𝒕𝒔: 𝟏, 𝟐, 𝟑 , 𝟏, 𝟐 , 𝟏, 𝟑 , 𝟐, 𝟑 , 𝟏 , 𝟐 ,
𝟑,
𝟐𝒏 = 𝟐𝟑 = 𝟖
Types of Sets
Finding all subsets of a set
𝑨 = 𝒂, 𝒆
𝒔𝒖𝒃𝒔𝒆𝒕𝒔: 𝒂, 𝒆 , 𝒂 , 𝒆 ,
𝟐𝒏 = 𝟐𝟐 = 𝟒
Types of Sets
Finding all subsets of a set
𝑨= 𝟏, 𝟐 , 𝟏, 𝟒 , 𝟎, 𝟓 , 𝟔, 𝟕 𝟐𝒏 = 𝟐𝟒 = 𝟏𝟔
𝒔𝒖𝒃𝒔𝒆𝒕𝒔:
𝟏, 𝟐 , 𝟏, 𝟒 , 𝟎, 𝟓 , 𝟔, 𝟕 , 𝟏, 𝟐 , 𝟏, 𝟒 , 𝟎, 𝟓 , 𝟏, 𝟐 , 𝟏, 𝟒 , 𝟔, 𝟕 ,
𝟏, 𝟐 , 𝟎, 𝟓 , 𝟔, 𝟕 , 𝟏, 𝟒 , 𝟎, 𝟓 , 𝟔, 𝟕 , 𝟏, 𝟐 , 𝟏, 𝟒 ,
𝟏, 𝟐 , 𝟎, 𝟓 , 𝟏, 𝟐 , 𝟔, 𝟕 , 𝟏, 𝟒 , 𝟎, 𝟓 ,
𝟏, 𝟒 , 𝟔, 𝟕 , 𝟎, 𝟓 , 𝟔, 𝟕 , 𝟏, 𝟐 ,
𝟏, 𝟒 , 𝟎, 𝟓 , 𝟔, 𝟕 ,
Proper Subsets
A is a proper subset of B if and only if every element of A is
also in B, and there exists at least one element in B that is
not in A.
Example: {1, 2, 3} is a proper subset of {1, 2, 3, 4}
because the element 4 is not in the first set.
Types of Sets
Finding all proper subsets of a set
𝑨 = 𝟏, 𝟐, 𝟑
𝒔𝒖𝒃𝒔𝒆𝒕𝒔: 𝟏, 𝟐, 𝟑 , 𝟏, 𝟐 , 𝟏, 𝟑 , 𝟐, 𝟑 , 𝟏 , 𝟐 , 𝟑 ,
Proper subsets: 𝟏, 𝟐 , 𝟏, 𝟑 , 𝟐, 𝟑 , 𝟏 , 𝟐 , 𝟑 ,
𝟐 −𝟏=
𝒏 𝟑
𝟐 −𝟏=𝟕
Types of Sets
Finding all proper subsets of a set
𝑨 = 𝒂, 𝒆
𝒔𝒖𝒃𝒔𝒆𝒕𝒔: 𝒂, 𝒆 , 𝒂 , 𝒆 ,
Proper subsets: 𝒂 , 𝒆 ,
𝟐 −𝟏=
𝒏 𝟐
𝟐 −𝟏=𝟑
Understanding subset notation
1. 1, 3, 5 ⊆ 1, 3, 5, 7
2. a, b ⊂ a, b
3. x| x ∈ N and x > 10 ⊂ N
4. 2, 10 ⊈ 2, 4, 6, 8, 10
5. r, s, t ⊄ , t, r, s
OPERATION OF SETS
Union of sets
The union of two sets A and B,
symbolized by 𝑨 ∪ 𝑩 , is the set of
all elements that are in either set A or
Set B ( or both)
Finding Unions
If 𝐴 = 0, 1, 2, 3, 4, 5 , 𝐵 = 2, 4, 6, 8, 10 , and 𝐶 =
0, 1, 3, 5, 7
Find :
𝑨∪𝑩 0, 1, 2, 3, 4, 5, 6, 8, 10
𝑨∪𝑪 0, 1, 2, 3, 4, 5, 7
𝑩∪𝑪 1, 2, 3, 4, 5, 6, 7, 8, 10
OPERATION OF SETS
Intersection of sets
Find :
𝑨∩𝑩 10, 20
𝑨∩𝑪
𝑩∩𝑪 30, 40
OPERATION OF SETS
Complement of a Set
A-B 𝑏, 𝑐, 𝑑
B-A 𝑓, 𝑔
Performing set operations
If 𝑈 = { 10, 20, 30, 40, 50, 60, 70, 80, 90, 100};
𝐴 = {10, 30, 50, 70 }, B = 40, 50, 60, 70 , 𝑎𝑛𝑑
𝐶 = {20, 40, 60}, find :
Symbolically: A X B = { (a , b) / a ∈ A and b ∈ B }
PRODUCT SET
Examples: Let A = {1 ,2 ,3} and B = {a, b}, Find:
𝑨𝒙𝑩 1, 𝑎 , 1, 𝑏 , 2, 𝑎 , 2, 𝑏 , 3, 𝑎 , (3, 𝑏)
n(C) = 6
𝑩𝒙𝑨 (𝑎, 1), (𝑎, 2), (𝑎, 3), (𝑏, 1), (𝑏, 2), (𝑏, 3)
n(D) = 6
PRODUCT SET
If 𝐴 = 1, 3, 5 and B = 2, 4 , find:
𝑨𝒙𝑩 1, 2 , 1, 4 , 3, 2 , 3, 4 , 5, 2 , (5, 4)
𝑩𝒙𝑨 (2, 1), (2, 3), (2, 5), (4, 1), (4, 3), (4, 5)