2tuples
A 2-tuple, also called an ordered pair, is a pair of two elements arranged in a specific order. It is typically written as (a, b), where the first component is a and the second is b. The pair belongs to the Cartesian product A × B if a ∈ A and b ∈ B. Equality of 2-tuples is defined componentwise: (a, b) = (c, d) if and only if a = c and b = d. The order matters, so (a, b) and (b, a) are generally distinct.
Notation and interpretation vary by context. In many mathematical texts, angle brackets ⟨a, b⟩ are used as
Construction and variation: If A and B are the same set, the 2-tuple (a, b) lies in
Relation to other concepts: The set of all 2-tuples from X to Y is X × Y.
See also: n-tuple, Cartesian product, ordered pair, pair type, pairing function.