Sets
Sets
Sets
SET
• is a collection of well-defined distinct objects.
• Usually represented capital letters.
• The objects of a set are separated by commas.
• Can be represented by listing its elements between braces { }.
• Well-defined means that the elements in a set are specifically listed.
Equivalent sets
are set with the same number of elements or cardinality.
A equals B, written as A = B, if and only if every element of A is in B and every element
of B is in A. Symbolically: 𝐴 = 𝐵 ↔ (𝐴 ⊆ 𝐵) ∧ (𝐵 ⊆ 𝐴). On the other hand, A is equivalent to B,
written as A ~ B, if they have the same number of elements.
• Example10: We have the following sets: P = {1, 2, 3}; Q = {2, 3, 1}; R = {a, b, c}.
o Is P = Q?
Yes! They have the same elements.
o Is Q = R?
No. They don’t have the same elements.
o Is P = R?
No. They don’t have the same elements.
o Is P ~ Q?
Yes! They have the same number of elements
o Is Q ~ R?
Yes! They have the same number of elements
o Is P ~ R?
Given a set S from universe U, the power set of S denoted by
𝓅(𝑆), is the set of all subsets of S.
For example, we have A = {2, 4} so n(A) = 2. There are 2 n = 22 =
4 subsets of A. The subsets of A are {2}, {4}, {2,4}, and 𝜙. The power
set of A is 𝓅(𝐴) = { {2}, {4}, {2,4}, 𝜙 }.
OPERATIONS ON
SETS
The operations on sets are union of sets, intersection of sets,
complement of a set, difference of two sets, and symmetric difference
of sets.
What is 𝐴 ∩ 𝐵?
Solution:
𝐴 ∩ 𝐵 = {2, 4}
COMPLEMENT OF A SET
1. A’
2. B’
3. A∩B
4. AUB
5. A’ ∩ B
6. A ∩ (B U C)
7. A U (B ∩ C)
8. A ∩ (B U C’)