An ordered pair is a collection of two objects such that one can be distinguished as the first element and the other as the second element. An ordered pair with first element a and second element b is usually written as (a, b).
(The notation (a, b) is also used to denote an open interval on the real number line; context should make it clear which meaning is meant. To distinguish the two meanings, the ordered pair is sometimes written as .)
Two ordered pairs (a1, b1) and (a2, b2) are equal if and only if a1 = a2 and b1 = b2.
The set of all ordered pairs whose first element is in some set X and second element in some set Y is called the Cartesian product of X and Y, and written X × Y. Subsets of X × Y can be used to define a binary relation.
Ordered triples and n-tuples (ordered lists of n terms) are defined recursively from this definition: an ordered triple (a,b,c) can be defined as (a, (b,c) ): two nested pairs. This approach is mirrored in programming languages: It is possible to represent a list of elements as a construction of nested ordered pairs. For example, the list (1 2 3 4 5) becomes (1, (2, (3, (4, (5, {}))))). The Lisp programming language uses such lists as its primary data structure.
In axiomatic set theory, where all mathematical objects are given set-theoretic definitions, the ordered pair (a, b) is usually defined as the Kuratowski pair (a, b)K :=
Note that this definition is still valid for the ordered pair p = (x,x) = { {x}, {x,x} } = { {x}, {x} } = { {x} }; in this case the statement (∀ Y1 ∈ p, ∀ Y2 ∈ p : Y1 ≠ Y2 → (x ∉ Y1 ∨ x ∉ Y2)) is trivially true, since it is never the case that Y1 ≠ Y2.
The above definition of an ordered pair is "adequate", in the sense that it satisfies the characteristic property that an ordered pair must have (namely: if (a,b)=(x,y), then a=x and b=y), but also arbitrary, as there are many other definitions which are no more complicated and would also be adequate. Examples for other possible definitions include
The first set theoretical definition of the ordered pair was given by Norbert Wiener in 1914: he defined as and observed that this would allow all the types of Principia Mathematica to be expressed using sets alone (relations of all arities were primitive in that work).
For a more general treatment, see Product (category theory). Category theory tells us that although many objects may play the role of pairs, they are all equivalent in the sense of being categorically isomorphic.
(a,b)K=(c,d)K. If a=b, (a,b)K=={ {a} }, and then (c,d)K=={ {a} }. Thus, {c}={a}={c,d}, or c=d=a=b. If a≠b, =. If {c,d}={a}, c=d=a, or ==={ {a} }. If {c}={a,b}, a=b=c, and it's a contradiction that a≠b. Therefore {c}={a}, or c=a, and {c,d}={a,b}. And if d=a, {c,d}={a,a}={a}≠{a,b}. So d=b. Thus, a=c and b=d.
Conversely, If a=c and b=d, . Thus, (a,b)K=(c,d)K.
(a,b)reverse===(b,a)K. if (a,b)reverse=(c,d)reverse, (b,a)K=(d,c)K. Therefore b=d and a=c.
Conversely, If a=c and b=d, =. Thus, (a,b)reverse=(c,d)reverse.
In Logic (1953), Rosser uses a different definition (ultimately due to Willard van Orman Quine), one which requires that a definition of the natural numbers be in place. Let Nn be the set of natural numbers, and define
That is, φ(x) contains the successor of every natural number in x, together with all the non-numbers from x. In particular, it does not contain the number 0, so that for any sets A and B, .
Then the ordered pair (A,B) may be defined by adjoining 0 to each element of φ(B), and uniting the result with φ(A):
The component A may be recovered from the pair by extracting all the elements of the pair that do not contain 0, and vice-versa for B.
It is important to note that this pair is the same type as its projections in a simple typed theory of sets, which is useful in the context of New Foundations.
In his A theory of sets, Morse defined an ordered pair suitable for use in a theory with proper classes, such as Morse-Kelley set theory. He first defined the pair for sets only using the usual definition of Kuratowski, then redefined the pair (x,y) as (where the component cartesian products are defined in terms of the usual pair on sets). This second pair has the property that pairs of classes are defined as easily as pairs of sets. Rosser's definition will also work with proper classes.
أزواج مرتبة | Geordnetes Paar | Järjestatud paar | Par ordenado | Couple (mathématiques) | זוג סדור | 순서쌍 | Coppia (matematica) | Rendezett pár | Geordend paar | Para uporządkowana | Par ordenado | Urejen par | Ordnat par | 有序对
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Ordered pair".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world