In mathematics, an ordered pair, denoted (a, b), is a pair of objects in which their order is significant. If a and b are different, then (a,b) is different from (b,a). In contrast, the unordered pair {a,b} always equals the unordered pair {b,a}. Ordered pairs are also called 2-tuples or sequences (sometimes called lists in computer science) of length 2. Ordered pairs of scalars are often stored as two-dimensional arrays, often called "vectors". The entries of an ordered pair can be other ordered pairs, enabling the recursive definition of n-tuples (ordered lists of n objects); for example, the ordered triple (a,b,c) can be defined as (a, (b,c)), i.e., as one pair nested in another. In the ordered pair (a, b), the object a is called the first entry, and the object b the second entry of the pair. Alternatively, the objects are called the first and second components, the first and second coordinates, or the left and right projections of the ordered pair. Cartesian products and binary relations (and hence functions) are defined in terms of ordered pairs, cf. picture.
Generalities Let (a1,b1) and (a2,b2) be ordered pairs. Then the characteristic (or defining) property of the ordered pair is: (a1,b1)=(a2,b2) if and only if a1=a2 and b1=b2. The set of all ordered pairs whose first entry is in some set A and whose second entry is in some set B is called the Cartesian product of A and B, and written A × B. A binary relation between sets A and B is a subset of A × B. The (a, b) notation may be used for other purposes, most notably as denoting open intervals on the real number line. In such situations, the context will usually make it clear which meaning is intended. For additional clarification, the ordered pair may be denoted by the variant notation ⟨a,b⟩, but this notation also has other uses. The left and right projection of a pair p is usually denoted by π1(p) and π2(p), or by πℓ(p) and πr(p), respectively. In contexts where arbitrary n-tuples are considered, πni(t) is a common notation for the i-th component of an n-tuple t.
Informal and formal definitions In some introductory mathematics textbooks an informal (or intuitive) definition of ordered pair is given, such as
For any two objects a and b, the ordered pair (a, b) is a notation specifying the two objects a and b, in that order.
This is usually followed by a comparison to a set of two elements; pointing out that in a set a and b must be different, but in an ordered pair they may be equal and that while the order of listing the elements of a set doesn't matter, in an ordered pair changing the order of distinct entries changes the ordered pair. This "definition" is unsatisfactory because it is only descriptive and is based on an intuitive understanding of order. However, as is sometimes pointed out, no harm will come from relying on this description and almost everyone thinks of ordered pairs in this manner. A more satisfactory approach is to observe that the characteristic property of ordered pairs given above is all that is required to understand the role of ordered pairs in mathematics. Hence the ordered pair can be taken as a primitive notion, whose associated axiom is the characteristic property. This was the approach taken by the N. Bourbaki group in its Theory of Sets, published in 1954. However, this approach also has its drawbacks as both the existence of ordered pairs and their characteristic property must be axiomatically assumed. Another way to rigorously deal with ordered pairs is to define them formally in the context of set theory. This can be done in several ways and has the advantage that existence and the characteristic property can be proven from the axioms that define the set theory. One of the most cited versions of this definition is due to Kuratowski (see below) and his definition was used in the second edition of Bourbaki's Theory of Sets, published in 1970. Even those mathematical textbooks that give an informal definition of ordered pairs will often mention the formal definition of Kuratowski in an exercise.
Defining the ordered pair using set theory If one agrees that set theory is an appealing foundation of mathematics, then all mathematical objects must be defined as sets of some sort. Hence if the ordered pair is not taken as primitive, it must be defined as a set. Several set-theoretic definitions of the ordered pair are given below (see also Diepert).
Wiener's definition Norbert Wiener proposed the first set theoretical definition of the ordered pair in 1914: (a,b):={{{a},∅︀},{{b}}}. He observed that this definition made it possible to define the types of Principia Mathematica as sets. Principia Mathematica had taken types, and hence relations of all arities, as primitive. Wiener used {{b}} instead of {b} to make the definition compatible with type theory where all elements in a class must be of the same "type". With b nested within an additional set, its type is equal to {{a},∅︀}'s.
Hausdorff's definition About the same time as Wiener (1914), Felix Hausdorff proposed his definition: (a,b):={{a,1},{b,2}} "where 1 and 2 are two distinct objects different from a and b."
Kuratowski's definition In 1921 Kazimierz Kuratowski offered the now-accepted definition of the ordered pair (a, b): (a, b)K:= {{a}, {a, b}}. When the first and the second coordinates are identical, the definition obtains: (x, x)K={{x},{x, x}}={{x}, {x}}={{x}} Given some ordered pair p, the property "x is the first coordinate of p" can be formulated as: ∀Y∈p:x∈Y. The property "x is the second coordinate of p" can be formulated as: (∃Y∈p:x∈Y)∧(∀Y1,Y2∈p:(x∈Y1∧x∈Y2)→Y1=Y2). In the case that the left and right coordinates are identical, the right conjunct (∀Y1,Y2∈p:(x∈Y1∧x∈Y2)→Y1=Y2) is trivially true, since Y1=Y2 is the case. If p=(x,y)={{x},{x,y}} then:
⋂p=⋂{{x},{x,y}}={x}∩{x,y}={x}, ⋃p=⋃{{x},{x,y}}={x}∪{x,y}={x,y}. This is how we can extract the first coordinate of a pair (using the iterated-operation notation for arbitrary intersection and arbitrary union): π1(p)=⋃⋂p=⋃{x}=x. This is how the second coordinate can be extracted: π2(p)=⋃{a∈⋃p|⋃p≠⋂p→a∉⋂p}=⋃{a∈{x,y}|{x,y}≠{x}→a∉{x}}=⋃{y}=y. (if x≠y, then the set {y} could be obtained more simply: {y}={a∈{x,y}|a∉{x}}, but the previous formula also takes into account the case when x=y.) Note that π1 and π2 are generalized functions, in the sense that their domains and codomains are proper classes.
… excerpt ends here. Continue reading the full article.


