A relation between two sets puts pairs of elements into correspondence: it is the first step towards the concept of a function.
Definition — Relation
A relation is a set of “arrows” that connect elements of one set (the domain set) to elements of another set (the codomain set).
Example — The relation "had a puppy with"
Let and . The relation defined by ” had a puppy with ” is represented by arrows:
Each arrow connects an element of to an element of .
The same relation can be written in equivalent ways:
- Ordered pairs: .
- Cartesian representation: each arrow corresponds to a point of the plane, with on the horizontal axis and on the vertical axis.
Links
Topics: Set theory
Concepts: Ordered pair · Cartesian plane · Relation