Ordered pair
A two-component object where order matters.
Ordered pair
An ordered pair is a two-component object whose equality is componentwise:
In set theory one standard implementation is the Kuratowski ordered pair:
Ordered pairs are used to form the Cartesian product and to encode relations as sets of pairs.
Examples:
- because the first coordinates differ.
- If , then is still a well-defined ordered pair (with both coordinates equal).