Lecture 6
Lecture 6
1
A relation is a set of ordered pairs.
The domain is the set of all x values in the relation
domain = {-1,0,2,4,9}
3
Relations
• Let A, B be any sets. A binary relation or relation R from A
to B, written R:A×B, or R:A,B, is a subset of the set A×B.
4
Complementary Relations
• Let R:A,B be any binary relation.
• Then, R:A×B, the complement of R, is the
binary relation defined by
R :≡ {(a,b) | (a,b)R} = (A×B) − R
• The a R b or aRb say “a is not related to b ”, if
(a,b) R.