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\}.

Here are some examples of binary relations from AA to BB:

Given a relation RR, if (a,b)R(a,b) \in R, we say that the element aa is related to the element bb through the relation RR. We denote this as aRbaRb. For example, the element 11 of the set AA is related to the element aa of the set BB through the relation R1R1. We write this information as 1R1a1R_1a. Similarly, we should note that 4R1a4R_1a ...

Access this course and 1400+ top-rated courses and projects.