Binary Relation R, from set A to B : subset of AxB

Binary Relation R on set A : subset of AxA
Reflexive Relations R is reflexive ↔ (a,a) ∈ R for all a ∈A *공집합에서의 관계는 reflexive
Symmetric Relations R is symmetric ↔ (a,b) ∈ R , (b,a) ∈ R for all a,b ∀x∀y[(x,y) ∈ R → (y,x) ∈R)]
Antisymmetric Relations R is antisymmetric ↔ (a,b) ∈ R and (b,a) ∈ R → a=b ∀x∀y [ (x,y) ∈ R ∧ (y,x) ∈ R → x=y ]
Transitive Relations ∀x∀y∀z [ (x,y) ∈ R ∧ (y,z) ∈ R → (x,z) ∈ R ]
ex)
Composition 합성 R1: A to B, R2: B to C composition of R2 with R1: A to C (x,y): R1, (y,z): R2, (x,z): R2 * R1
Power R^1 = R R^n+1 = R^n ◦ R
zero-one matrix: if (i,j) ∈R Mij = 1 else 0


Directed Graph if (i,j) ∈R , (i,j) is edge
Reflexivity all nodes have loop
Symmetry (x,y) is edge ↔ (y,x)
Antisymmetry if (x,y) is edge, (y,x) is not edge
Transivity (x,y) and (y,z) are edges → (x,z) is edge
Power R^n의 (x,y): x에서 y의 path 존재시에만 존재

Paths R on set A에서, length n의 a to b path ↔ (a,b) ∈ R^n
R={(a,b)|a ≡ b (mod m))}
Equivalence Class for equi relation R on a [a]_R = {s|(a,s)∈R} (동치인거 집합) if b ∈ [a]_R: b is representative(표상) of this equi class
