#TODO the example
Let A be a set. A relation on the set A is a relation from A to itself.
Let A:={1,2,3,4} Which pairs are in the relation R on A, given by R:={(a,b) | a divides b}?
The relation R can be represented both graphically and by an adjacency matrix
#TODO Continue example
A relation R on a set A is called reflexive if (a,a)∈R for every element a∈A
A relation R on a set A is called symmetric, if (a,b)∈R implies (b,a)∈R for all a,b∈A
A relation R on a set A such that for all a,b∈A if (a,b)∈R and (b,a)∈R, then a=b, is called antisymmetric
A relation R on a set A is called transitive if whenever (a,b)∈R and (b,c)∈R, then (a,c)∈R, for all a,b,c∈A
A relation R on a set A is called total if all a,b∈A satisfy: (a,b)∈R or (b,a)∈R
An equivalence relation is a binary relation, that is reflexive, transitive and symmetric
Let E be an equivalence relation over a set V. For every v∈V we let[v]E:={v′∈V | (v,v′)∈E}denote the equivalence class of v with respect to E (i.e. the equivalence class [V]E consists of all elements of V that are ‘equivalent’ to v according to E). A set W⊆V is an equivalence class (of E), if there exists an element v∈V with W=[v]E The element v is then called a representative of its equivalence class W