Discrete-math 4

Discrete-math 4

Cartesian product

A×B={(a,b)aA,bB}

Exercise

Prove: A×(BC)=(A×B)(A×C)Proof:(a,b)A×(BC)aA,bBCaAbBbCaAbBaAbC(aAbB)(aAbC)(a,b)(A×B)(a,b)(A×C)(a,b)(A×B)(A×C)

Relation

R over A,B:R(A×B)

Properties of relation

Reflexive

aA:(a,a)R

Symmetric

a,bA:(a,b)R(b,a)R

Transitive

a,b,cA:((a,b)R(b,c)R)(a,c)R