A. Sets, Relations and Functions Flashcards
What are members?
The elements of a set
How to indicate a is an element of a set A?
a ∈ A
When are 2 sets identical?
(1) if every element a of set A is also an element of set B
(2) if every element b of set B is also an element of set A
Explain the difference between ∅ and {∅}
Set {∅} is a set with a member ∅, but ∅ is a set containing no member
What is the cartesian product of A x B?
A × B = {(a, 1),(a, 2), . . . ,(b, 1),(b, 2), . . . ,(h, 1),(h, 2), . . . ,(h, 8)}
What does Rˇ ⊆ R describe?
symmetry
What does A² - I say?
All pars (x, y) ∈ A² with x /= y
Describe asymmetric
∀x∀y(Rxy → ¬Ryx)
Describe irreflexivity
∀x¬Rxx
What is a serial relation?
∀x∃yRxy there is always a relation from x to y
What is a function and what is it’s property?
Relations with the property that for any (a,b) and (a,c) it has to hold that b and c are equal.
Thus a function is a relation between A en B such that for each a ∈ A there is one and only one associated b ∈ B
Give the function for mapping Kelvin to Celsius
x |→ x − 273.15
What is a characteristic function?
The characteristic function of a subset A of some universe U is a function that maps all members of A to the truth-value True and all elements of U that are not members of A to False.
What is the characterstic function of ≤ ?
f : N2 → {True, False}.
For every pair (m, n) ∈ N
2
, if m ≤ n then f((m, n)) = True, otherwise, f((m, n)) = false
What is the cartesian product of:
A x B where
A = {(1,2),(3,4)}
B {(5,6)}
A x B = {((1,2),(5,6)), ((3,4),(5,6))}