Math-Chapter 1
Math-Chapter 1
Math-Chapter 1
Set theory
• A set is a collection of elements/objects.
• Operations on sets: (i) Intersection X ∩ Y ; (ii) Union X ∪ Y ; (iii) Com-
plement: Z → Z c ; (iv) Difference: X ∩ Y c .
• Union and intersection are commutative and associative.
• Additional laws:
Functions, mappings
• f : X → Y has domain X and values/image in Y . It associates with every
x ∈ X an element y = f (x) in Y .
• The range of f is the set f (X) = {y ∈ Y |∃ x ∈ X : y = f (x)}.
• The graph of f is the subset of X × Y : Γf ⊂ X × Y = {(x, f (x) | x ∈
X, f (x) = y ∈ Y )}.
It is sometimes convenient to identify a function with its graph: then a
function is defined as a subset X × Y such that every x-section contains
exactly one y ∈ Y .
• The set of functions from X to Y is denoted X Y .
• The set of subsets of X is denoted 2X .
1
• Some definitions: let f : X → Y .
. idX denotes the identity mapping of X, i.e. idX (x) = x for all x. If
f ∈ Y X is a bijection, we have f ◦ f −1 = idY ; f −1 ◦ f = idX .
. The composition is an associative operation, but it is not commuta-
tive.
. If f ∈ Y X and g ∈ X Y are such that g ◦ f = idX , we cannot deduce
g = f −1 , or f = g −1 . If g ◦ f = idX and f ◦ g = idY , we can.
. Notation: F : X ⇒ Y or F : X Y .
. The graph of F is the set ΓF = {(x, y) ∈ X × Y | y ∈ F (x)}.
. The range of F is F (X) = ∪x∈X F (x).
. Composition of F : X Y and G : Y Z is G ◦ F (x) ∪y∈F (x) G(y).
The composition is associative.
Cardinals
• It is the measure of “how big is a set” (# of elements). We call |X| the
cardinal of X.
2
. |X| > |Y | ⇒ |X| ≥ |Y | but not |Y | ≥ |X|.
. |X| = |Y | ⇔ there is a one-to-one f ∈ Y X and a one-to-one g ∈ X Y
⇔ there is an onto f ∈ Y X and an onto g ∈ X Y
⇔ there is a bijection h from X into Y (proof in Appendix).
. If X ⊂ Y , then |X| ≤ |Y |.
• A set X is finite iff for any X 0 ⊂ X, we have |X 0 | < |X|.
• A set X is infinite iff for some X 0 ⊂ X, we have |X 0 | = |X|.
. An infinite set can be countable or uncountable.
• The set N of natural integers is the set of finite cardinals. It is an infinite
set. Conventional notation N = {0, 1, 2, · · · , n, · · · }. Note that |N| is the
smallest infinite cardinal. A set with cardinality |N| is called enumerable.
Examples:
. Q, the set of rational numbers, is enumerable.
. R, the set of real numbers, is not: |R| > |N| (this important fact is
an easy consequence of the decimal development of real numbers).
. N × N × · · · × N is enumerable:|Nk | = |N|
| {z }
k times