Relation
A subset of a Cartesian product A×B, viewed as a set of ordered pairs
Relation
Let and be sets . A (binary) relation from to is a subset of the Cartesian product ; its elements are ordered pairs interpreted as “ is related to .”
A relation on a set means a subset . A function is a relation with a uniqueness/existence property (each input is related to exactly one output).
Examples:
- The usual on is a relation on .
- Divisibility on is a relation: means “ divides .”
- If , then is a relation on .