Set Theory
Set Theory
The concepts of set and member are considered basic concepts without any defi-
nition. Although the set are usually illustrated as a collection of objects whose are
called members.
3. inductively.
2 / 12
Membership relation
a∈A
where the symbol ∈ represents the membership relation. To indicate that an object
a is not membered in a set A, we can use the notation:
a∉A
For example, let us denote the set of natural numbers by N, which can be formally
defined as:
N ⇌ {1; 2; 3; : : : }
• 3 is a natural number, which can be expressed as 3 ∈ N,
3 / 12
Inductively defined sets
1. 1 ∈ N, and
2. a + 1 ∈ N if a ∈ N.
The first item of this definition is a simple declaration saying that an object is mem-
bered in the set. In contrast, the second item is the inductive step, showing how to
generate new members from existing ones.
4 / 12
Basic terms and notations
• The set A is the subset of the set B, if all members of A are membered in B.
It can be formally written as A ⊆ B.
The power set of a set A denoted by 2A is the set that contains all subsets of the
set A.
2A ⇌ {B∣B⊆A}
{0;1}
e.g. 2 = {∅; {0}; {1}; {0; 1}}
5 / 12
Basic operations
• union: A ∪ B ⇌ { a ∣ a ∈ A or a ∈ B } ;
• intersection: A ∩ B ⇌ { a ∣ a ∈ A and a ∈ B } ;
• difference: A / B ⇌ { a ∣ a ∈ A and a ∈/ B } ;
• symmetrical difference: A △ B ⇌ (A / B) ∪ (B / A):
Let U be the universal set, that is, the set of all objects under our consideration. (A
universal set is a set that contains all the elements or objects of other sets in our
discussion.)
• complement: A ⇌ U / A.
6 / 12
Ordered pair
An ordered pair is a pair of objects a and b that can be formally written as:
⟨a; b⟩
Two ordered pair ⟨a; b⟩ and ⟨c; d⟩ are equal if and only if a = c and b = d; meaning
that the order in which we enumerate the objects matters.
Remark
The term “ordered pair” can be defined with the earlier discussed tools of set theory.
One possible solution is the following:
7 / 12
Cartesian product
Let A, B be two arbitrary sets. The Cartesian product of the sets A and B is denoted
by A × B and it is defined as a set of all ordered pairs ⟨a; b⟩ where a ∈ A and b ∈ B.
Formally:
A × B ⇌ { ⟨a; b⟩ ∣ a ∈ A and b ∈ B }
The Cartesian product of the sequence of sets A1 ; A2 ; : : : ; An (n > 0) can be defined
by using n-tuples:
8 / 12
Binary relations
⟨a; b⟩ ∈ R or a R b:
9 / 12
Properties of binary relations
10 / 12
Properties of binary relations
11 / 12
Notations regarding functions
f ∶ A → B:
Set of functions
BA represents the set of functions which has the domain A and the range B or in
formal writing:
BA ⇌ { f ∣ f ∶ A → B } :
12 / 12