midterm 2 Flashcards
def of relation
Let A and B be sets. R is a relation from A to B if R is a subset of A x B
identity relation
Ia = {(a,a): a∈A
domain of the relation R from A to B
Dom(R) = {x∈A: ∃y∈B st xRy}
range of the relation R
Rng(R) = {y∈B: ∃x∈A st xRy}
inverse relation
{(y,x): (x,y)∈R}
The composite of two relations R and S
Let R be a relation from A to B and S be a relation from B to C
S o R = {(a,c): ∃b∈B st (a,b)∈R and (b,c)∈S}
(S o R)^-1
R^-1 o S^-1
reflexive
∀x∈A, (x,x)∈R
irreflexive
∀x∈A, (x,x)∉R
transitive
if (x,y), (y,z)∈R, then (x,z)∈R
symmetric
if (x,y)∈R, then (y,x)∈R
antisymmetric
if (x,y),(y,x)∈R, then x=y
comparability property
either (x,y)∈R or (y,x)∈R
equivalence relation
R is reflexive, symmetric, and transitive
partial order
R is reflexive, antisymmetric, and transitive