In set theory, a relation (more specifically a binary relation) from the sets to is a subset of their Cartesian product . If and if an ordered pair , then we write:
i.e., and are related by . A relation from to is a relation in .
This is super abstract. For a better idea of what this means, say is in the set of husbands, and is in the set of wives. if is married to , then we can say that and are related by saying that is married to . Simple enough.
The inverse is a relation from to defined by:
Properties
The relation is:
- Reflexive if for each .
- Irreflexive if for each .
- Symmetric if implies that .
- Antisymmetric if and implies that .