Binary Relations

Learn about binary and inverse relations, visualization of relations, and some special relations, such as universal, equality, and empty relations.

Binary relation

Take two arbitrary sets, AA and BB. Remember that the Cartesian product A×BA\times B is a set containing ordered pairs (a,b)(a,b) so that aAa\in A and bBb\in B. Any subset RR of A×BA\times B is a relation from AA to BB. We call this a binary relation because it’s defined for two sets. We’ll simply use the term “relation” for binary relations unless mentioned otherwise.

Examples

Let A={1,2,3,4}A=\{1,2,3,4\} and B={a,b,c}B=\{a,b,c\}.

Get hands-on with 1200+ tech skills courses.