Mat101 Set
Mat101 Set
Mathematics Department
Mindanao State University-Main Campus
Marawi City
Definition
A set is a well-defined collection of distinct objects.
Well-defined means that it must be clear from the way the set
is described whether any given object is in the set or not in the
set.
Example:
1. {a, b, c, d} is a set
2. {a, a, b, c, d} is not a set because a appears twice.
3. The collection of positive numbers less than 10.
4. The collection of integers between 1 to 2.
5. The collection of the best movie of all times.
Definition
If A is a set and x is an entity in A, we write x ∈ A and say
that x is an element of A.
To write x ∈ / A is to mean that x is not an element of A.
Methods of Writing a Set
A. Roster/Listing method
- a method that lists down the elements of the set.
- elements of the set are enclosed in curly braces,{}, and
separated by commas
B = {0, 1, 2, 3, 4, 5}
Let C be the set of months of the year that start with the
letter J.
C = {January, June, July}
G = {1, 2, 3, 4, 5, . . .}
G = {z : z is a natural number}
Definition
The empty set, denoted by ∅ or { } is a set containing no
objects.
Definition
Let A and B be any two sets. If every element of a set A also
belongs to a set B, we say that A is a The subset of the set B
and write A ⊆ B or B ⊇ A.
Remark
1. Two sets A and B are equal, if they have the same
element, denoted by A = B, that is, A = B if and only if
A ⊆ B and B ⊆ A.
2. If A ⊂ B but A 6= B, (i.e, B contains some elements not in
A), A is a proper subset of B.
3. ∅ ⊂ A, for every set A.
Definition
A set A is said to be finite if it is either empty or it has n
elements for some n ∈ N.
A set A is said to be infinite if it is not finite.
Definition
The cardinality of a set is its size. For a finite set, the
cardinality of a set is the number of members it contains. In
symbol, the cardinality of a set A is written |A|.
Definition
The cardinality of a set is its size. For a finite set, the
cardinality of a set is the number of members it contains. In
symbol, the cardinality of a set A is written |A|.
Example:
1. If A = ∅, the cardinality is |A| = 0.
2. If M = {0, 1, 2, 5}, the cardinality is |M | = 4.
3. If B = {0, 1, 2, ∅, {2, 4}}, the cardinality is |B| = 5.
Definition
Let A be a set. The power set of A is the set where elemets
are the subsets of A and is denoted by P (A). Thus,
P (A) = {B : B ⊆ A}
Theorem
If |A| = n, then |P (A)| = 2n .
Example:
1. The set ∅ has 0 elements. The power set is P (∅) = {∅},
which has |P (∅)| = 20 = 1 elements.
2. The set A = {0, 1, 2} has three elements. The power set is
P (A) = {∅, {0}, {1}, {2}, {0, 1}, {0, 2}, {1, 2}, {0, 1, 2}}
which has |P (A)| = 23 = 8 elements.
A ∪ B = {x : x ∈ A ∨ x ∈ B}.
A ∩ B = {x : x ∈ A ∧ x ∈ B}.
A − B = {x : x ∈ A ∧ x ∈
/ B}.
Definition
Two sets are disjoint if A ∩ B = ∅
Definition
Let U be the universe and A ⊆ U . The complement of A is
the set
A0 = {x : x ∈ U ∧ x ∈
/ A}.
Example:
A. Let A = {0, 1, 2, 3} and {−1, 2, 3, 4, 5}. Then
1 A ∪ B = {−1, 0, 1, 2, 3, 4, 5}
2 A ∩ B = {2, 3}
3 A − B = {0, 1}
4 B − A = {−1, 4, 5}
B. Let U = {−2, −1, 0, 1, 2, 3, 4} and C = {0, 1, 2, 4}. Then
Definition
Let A and B be two sets. The Cartesian product of these
sets is the set
A × B = {(a, b) : a ∈ A ∧ b ∈ B}
This is the set of all ordered pairs such that the first entry
comes from A and the second entry comes from B. We will
often refer to A × B just as the product of A and B.
Remark
A × B 6= B × A
Proposition
Let A and B be finite sets, with |A| = m and |B| = n. Then
A × B is a finite set,with |A × B| = mn.
Example:
Let A = {a, b, c} and B = {0, 1, 2}. Then
1. A×B = {(a, 0), (a, 1), (a, 2), (b, 0), (b, 1), (b, 2), (c, 0), (c, 1), (c, 2)}
2. B×A = {(0, a), (0, b), (0, c), (1, a), (1, b), (1, c), (2, a), (2, b), (2, c)}
Example 1:
Let A1 = {−3, −2, −1, 2}, A2 = {−1, 0, 1, 5}, A3 = {−4, 1, 3, 4},
A4 = {0, 2, 5}. Then
4
[
1. Ai = A1 ∪ A2 ∪ A3 ∪ A4
i=1
= {−4, −3, −2, −1, 0, 1, 2, 3, 4, 5}
4
\
2. Ai = A1 ∩ A2 ∩ A3 ∩ A4
i=1
= ∅
Example 2:
1
For i ∈ N. Let Bi = 0, . Then
i
9
1 1 1 1 1 1 1 1
1.
[
Bi = [0, 1) ∪ 0, ∪ 0, ∪ 0, ∪ 0, ∪ 0, ∪ 0, ∪ 0, ∪ 0,
i=1 2 3 4 5 6 7 8 9
= [0, 1)
9
1 1 1 1 1 1 1 1
2.
\
Bi = [0, 1) ∩ 0, ∩ 0, ∩ 0, ∩ 0, ∩ 0, ∩ 0, ∩ 0, ∩ 0,
i=1 2 3 4 5 6 7 8 9
h
= 0, 9 1
50
1 1 1 1 1 1 1
3.
\
Bi = 0, ∩ 0, ∩ 0, ∩ 0, ∩ 0, ∩ 0, ∩ . . . ∩ 0,
i=20 20 21 22 23 24 25 50
h
= 0, 501
∞
\ 1 1 1
4. Bi = [0, 1) ∩ 0, ∩ 0, ∩ 0, ∩ . . . = {0}
2 3 4
i=1
Definition
Let Λ be a nonempty set and suppose that for each j ∈ Λ, there
is a corresponding set Aj . The family of sets {Aj |j ∈ Λ} is
called an indexed family of sets indexed by Λ. Each j ∈ Λ is
called an index and Λ is called an indexing set.
Definition
Let Λ be a nonempty indexing set and let A = {Aj |j ∈ Λ} be
an indexed family of sets. The union over Λ is defined as the
set of all elements that are in at least one of sets Aj , where
j ∈ Λ . We write
[
Aj = {x ∈ U : ∃j ∈ Λ, x ∈ Aj }.
j∈Λ
Definition
Let Λ be a nonempty indexing set and let A = {Aj |j ∈ Λ} be
an indexed family of sets.
The union over Λ is defined as the set of all elements that are
in at least one of sets Aj , where j ∈ λ . We write
[
Aj = {x ∈ U : ∃j ∈ Λ, x ∈ Aj }.
j∈Λ
and
\ \ ∞
\
Bj = Bj = Bj = {0}.
j∈Λ j∈N j=1
Theorem
Let A, B and C be subsets of the universal set U . Then
1. A ⊆ A ∪ B
2. A ∩ B ⊆ A
3. A ∩ U = A; A ∪ ∅ = A (Identity Laws)
4. A ∪ U = U ; A ∩ ∅ = ∅ (Domination Laws)
5. A ∪ A = A; A ∩ A = A (Idempotent Laws)
6. (A0 )0 = A (Complementation Laws)
7. A ∪ B = B ∪ A; A ∩ B = B ∩ A (Commutative Laws)
Theorem
8. A ∪ (B ∪ C) = (A ∪ B) ∪ C; A ∩ (B ∩ C) = (A ∩ B) ∩ C
(Associative Laws)
9. A∪(B∩C) = (A∪B)∩(A∩C); A∩(B∪C) = (A∩B)∪(A∩C)
(Distributive Laws)
10. (A ∩ B)0 = A0 ∪ B 0 ; (A ∪ B)0 = A0 ∩ B 0 (De Morgan’s Laws)
11. A ∪ (A ∩ B) = A; A ∩ (A ∪ B) = A (Absorption Laws)
12. A ∪ A0 = U ; A ∩ A0 = ∅ (Complement Laws)
13. A − B = A ⊆ B 0
14. A − ∅ = A; A − U = ∅; ∅0 = U ; U 0 = ∅
Theorem
Let A, B and C be subsets of the universal set U . Then
1. A ⊆ B ⇐⇒ A ∪ B = B
2. A ⊆ B ⇐⇒ A ∩ B = A
3. If A ⊆ B, then A ∪ C ⊆ B ∪ C.
4. If A ⊆ B, then A ∩ C ⊆ B ∩ C.
5. A ⊆ B ⇐⇒ B 0 ⊆ A0
6. A ∩ B = ∅ ⇐⇒ A ⊆ B 0
Theorem
Let A, B, C, T and Y be sets. then
1. A × (B ∩ C) = (A × B) ∩ (A × C)
2. A × (B ∪ C) = (A × B) ∪ (A × C)
3. (A ∩ B) × C = (A × C) ∩ (A × C)
4. (A ∪ B) × C = (A × C) ∪ (B × C)
5. A × (B − C) = (A × B) − (A × C)
6. (A − B) × C = (A × C) − (B × C)
7. A × ∅ = ∅
8. If T ⊆ A, then T × B ⊆ A × B.
9. If Y ⊆ B, then A × Y ⊆ A × B.
Theorem
Let Λ be a nonempty indexing set and let A = {Aj : j ∈ Λ} be
an indexed family of sets. Then
\
1. For each i ∈ Λ, Aj ⊆ Ai
j∈Λ
[
2. For each i ∈ Λ, Ai ⊆ Aj
j∈Λ
0
\ [
3. Aj = A0j
j∈Λ j∈Λ
0
[ \
4. Aj = A0j
j∈Λ j∈Λ
Theorem
Let Λ be a nonempty indexing set and let A = {Aj : j ∈ Λ} be
an indexed family of sets, and let B be a set. Then
[ [
1. B ∩ Aj = (B ∩ Aj )
j∈Λ j∈Λ
\ \
2. B ∪ Aj = (B ∪ Aj )
j∈Λ j∈Λ