Relations, Partitions, Orderings Flashcards
Relations, partitions and orderings in functions and graphs
Relation
A way of describing a specific kind of relationship among objects.
Binary Relation
Subset of the Cartesian product X×X ={ (x,y) : x,y ∈ X }, a set of ordered pairs (x,y) of elements of X. We (sometimes) write aRb if (a,b) ∈ R
Reflexive
(x,x) ∈ R for all x ∈ X
Antireflexive
(x,x) ∉ R for all x ∈ X
Symmetric
(y,x) ∈ R if and only if (x,y) ∈ R
Anti-Symmetric
xRy and yRx then x = y
Transitive
if xRy and yRz then xRz
The Converse of a Relation
If R is a relation from a set A to a set B,given as a subset of A×B, then the subset {(b,a) ∈ B×A | (ab) ∈ R} is a relation from B to A, called the converse of R. The converse of every relation is defined, but might not be a function.
||
Strictly defined
Digraph (Directed Graph)
- If the relation is reflexive, then there is a loop at every vertex
- if the relation is symmetric, then each arrow will be accompanied by another arrow in the opposite direction, which means that the arrows can be dropped, and the resulting double edges replaced by single edges, to give an undirected graph.
The same sort of thing can be done for a relation R from a set X to a set Y. In this case the digraph or graph is bipartite, with every arrow or edge joining a vertex in X with a vertex in Y.
In both cases, he converse of the given relation R is obtained by reversing all the arrows.
Equivalance Relation
A relation on a set X that is reflexive, symmetric and transitive.
Equivalance Class
Let be an equivalence relation on a set X. For each x ∈ X, let us define [x] = {y ∈ X | x ∈ y} , the set of all y ∈ X that are equivalent to x under the relation ≈, with the class sometimes denoted X/≈.
If x≈y, [x]=[y], [x]∩[y], then [x], [y] are equivalent.
Any two distinct equivalence classes are disjoint (that is, they have no element in common).
Well-defined functions
Let f be a function from a set X to a set Y and let be a subset of the power set P(X) consisting of non-empty subsets of X. Define a map f∶Ω→Y by f(A)=f(a) for some a∈A. Then the map f* is well-defined if f(x) = f(y) for any x,y in A.
Thus f* is well-defined if it is independent of the choice of the representative x of A, for all A∈Ω , that is, if choosing any y∈A in place of x gives the same value for f* (A).
Partitions
A partition of a set X is a collection Ω of non-empty subsets of X such that (1) every two subsets Ω in are disjoint, that is, A∩B =∅ whenever A,B∈Ω with A≠B, and (2) the union of the subsets in Ω is X, so that every element of X lies in one of the sets in Ω.
If ≈ is an equivalence relation on a set X, then the equivalence classes under ≈ form a partition of X.
Conversely, any partition Ω of a set X induces an equivalence relation ≈ on X, given by x≈y if and only if x and y belong to the same member of Ω. This is easy to see/prove.
Orderings
Some relations induce an ordering on the elements of a set. Obvious examples include < and ≤ (on N, Z, Q and R), plus others such as divides (on N) and⊆ (on P(X)).