cartesian product
Link to originalCartesian product
Relation
are sets, is a relation between and .
In words: A relation is a subset of all possible ordered pairs of elements from two sets.
Binary relation
binary relation on .
(or ) is a binary relation on (a subset of the cartesian product).
(common notation)
Illustrating relations
EXAMPLE
,
Binary relations can be represented as a graph
equivalence relation
Equivalence relation
is an equivalence relation on if it is:
- reflexive, i.e. (every element is related to itself … a = a)
- symmetric, i.e.
- transitive, i.e.
The relationship in the example above is not an equivalence relation (3 would need a self-loop and 1,3 would need to be connected symmetrically).
Equivalence relations
Let be any set, → “Equality relation” on (the resulting set is the diagonal of the cartesian product).
Let be any set, → “Universal relation” on (the resulting set is the entire cartesian product).
The equality relation can also be though of as partitioning each different element into its own set, and the universal relation as a single set containing all elements.Let
, since , since (reflexive: )
(symmetric: )
(transitive )Link to originalLink to originalEquivalence Relations ↔ Partitions
Every equivalence relation induces a partition and every partition induces an equivalence relation:
Equivalence Relation → Partition:
Given equivalence relation on , the equivalence classes form a partition. Properties of ensure partition properties: reflexivity means blocks are non-empty (), symmetry and transitivity ensure blocks are disjoint ( or ), and together they guarantee blocks cover ().Partition → Equivalence Relation:
Given partition of , define . Partition properties ensure equivalence relation properties: non-empty blocks give reflexivity, disjoint blocks give symmetry, and covering gives transitivity.Like sorting items into boxes: Each item goes in exactly one box (partition), and two items are related if they’re in the same box (equivalence relation).
partition
Sets that form a partition are mutually exclusive and collectively exhaustive.
Partition
Like a school: all students are in a single class, no classs is empty and all classes together make up the school.
Partitions for equivalence relations:
, relation onEquivalence Relations ↔ Partitions
Every equivalence relation induces a partition and every partition induces an equivalence relation:
Equivalence Relation → Partition:
Given equivalence relation on , the equivalence classes form a partition. Properties of ensure partition properties: reflexivity means blocks are non-empty (), symmetry and transitivity ensure blocks are disjoint ( or ), and together they guarantee blocks cover ().Partition → Equivalence Relation:
Given partition of , define . Partition properties ensure equivalence relation properties: non-empty blocks give reflexivity, disjoint blocks give symmetry, and covering gives transitivity.Like sorting items into boxes: Each item goes in exactly one box (partition), and two items are related if they’re in the same box (equivalence relation).
Link to originalLink to originalIf is the disjoint union of , then is a partition of .
is the equivalence class of . “Die von erzeugte Equivalenzklasse”
Every equivalence relation induces a partition, and every partition induces an equivalence relation (they are the same).
(1) , equiv. relation is a partition (the set of equivalence classes is a partition of )
(2) is a partition of a, the block containing is an equivalence relation on .
is an equivalence relation. The equivalence classes of are :Proof (1):
(if two classes have a nonempty intersection, they are the same – different classes have no intersection)Proof (2):
(symmetric)
(transitive)
i
Link to originalPartial order (Halbordnung)
is a partial order on if it is: reflexive, antisymmetric, transitive
Link to originalTotal/linear order (Totalordnung)
Additional to partial order:
(any two elements are comparable – the hasse-diagram always looks like a chain).
EXAMPLE
Let → total order
Let → partial order (e.g. )
, → partial order, total order if , since the empty set is comparable to the set with one element. But if there are two elements, we can put both into a set with a single element and then the two sets are not comparable.
→ partial order (the set of all relations between two sets is partially ordered by inclusion)
can be written as a pair .
hasse-diagram
Hasse-Diagram
A hasse diagram is like a relation graph for partial orders, so we omit the reflexive edges for simplicty. Every edge signifies a relation.
There is a hierarchy: Lower elements are subsets of the upper ones, so we can omit the arrows.
Every set connected via multiple relations could be made in a single step (transitive), but we also omit those arrows.… a partial order.
= All possible subsets of
For , we mirror the diagram along the horizontal axis.
Link to originalLink to originalThe natural numbers are a linear order.
(Grundmenge , Relation auf der Menge ),
Chain: is a chain if is a linear order.
In words: A chain is a subset with linear order. The superset does not need to be a linear order.
Maximal element: is a maximal element if is not a chain.
In other words: We cannot add any more elements to without breaking the chain property.
is a non-maximal chain.
It is a chain since for every two elements, one is a subset of the other.
It is not maximal since we can add for example to the chain and it would still be a chain.
is a maximal chain.
Any power of two is a multiple of any other multiple of two i.e the divisibility relation is true.
But we cannot add any other natural number, since we would have a prime factor 2.
Minimum: is a minimum of if
We write it as
What the minimum is depends on the relation. For , the minimum is the smallest number, for it is the smallest set, for it is the smallest divisor which divides all elements of … which doesn’t have to exist.
There is no smallest element in the set of integers.
Well-ordered set (for linear orders)
is well-ordered if every non-empty subset has a minimum.
EXAMPLE
→ not well-ordered
→ well-ordered.
Finite total orders are always well-ordered, since every non-empty subset has a minimum.
→ not well-ordered because there is always an even smaller number.
Transclude of transfinite-induction