Ordered pair




In mathematics, an ordered pair (a, b) is a pair of objects. The order in which the objects appear in the pair is significant: the ordered pair (a, b) is different from the ordered pair (b, a) unless a = b. (In contrast, the unordered pair {a, b} equals the unordered pair {b, a}.)


Ordered pairs are also called 2-tuples, or sequences (sometimes, lists in a computer science context) of length 2; ordered pairs of scalars are also called 2-dimensional vectors.
The entries of an ordered pair can be other ordered pairs, enabling the recursive definition of ordered 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.




Contents






  • 1 Generalities


  • 2 Informal and formal definitions


  • 3 Defining the ordered pair using set theory


    • 3.1 Wiener's definition


    • 3.2 Hausdorff's definition


    • 3.3 Kuratowski's definition


      • 3.3.1 Variants


      • 3.3.2 Proving that definitions satisfy the characteristic property




    • 3.4 Quine–Rosser definition


    • 3.5 Cantor–Frege definition


    • 3.6 Morse definition




  • 4 Category theory


  • 5 References





Generalities


Let (a1,b1){displaystyle (a_{1},b_{1})}(a_{1},b_{1}) and (a2,b2){displaystyle (a_{2},b_{2})}(a_{2},b_{2}) 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.{displaystyle (a_{1},b_{1})=(a_{2},b_{2}){text{ if and only if }}a_{1}=a_{2}{text{ and }}b_{1}=b_{2}.}{displaystyle (a_{1},b_{1})=(a_{2},b_{2}){text{  if and only if  }}a_{1}=a_{2}{text{ and }}b_{1}=b_{2}.}

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.[1][2] For additional clarification, the ordered pair may be denoted by the variant notation a,b⟩{textstyle langle a,brangle }{textstyle langle a,brangle }, 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, πn
i
(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.[3]



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.[4]


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.[3]


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.[5] Several set-theoretic definitions of the ordered pair are given below.



Wiener's definition


Norbert Wiener proposed the first set theoretical definition of the ordered pair in 1914:[6]


(a,b):={{{a},∅},{{b}}}.{displaystyle left(a,bright):=left{left{left{aright},,emptyset right},,left{left{bright}right}right}.}left( a, b right) := <br />
left{left{ left{aright},, emptyset right},,  left{left{bright}right}right}.

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},∅}{displaystyle {{a},emptyset }}{{a}, emptyset}'s.



Hausdorff's definition


About the same time as Wiener (1914), Felix Hausdorff proposed his definition:


(a,b):={{a,1},{b,2}}{displaystyle (a,b):=left{{a,1},{b,2}right}}(a, b) := left{ {a, 1}, {b, 2} right}

"where 1 and 2 are two distinct objects different from a and b."[7]



Kuratowski's definition


In 1921 Kazimierz Kuratowski offered the now-accepted definition[8][9]
of the ordered pair (a, b):


(a, b)K:= {{a}, {a, b}}.{displaystyle (a, b)_{K};:= {{a}, {a, b}}.}(a,  b)_K ; :=   { { a },  { a,  b } }.

Note that this definition is used even when the first and the second coordinates are identical:


(x, x)K={{x},{x, x}}={{x}, {x}}={{x}}{displaystyle (x, x)_{K}={{x},{x, x}}={{x}, {x}}={{x}}}(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.{displaystyle forall Yin p:xin Y.}{displaystyle forall Yin p:xin Y.}

The property "x is the second coordinate of p" can be formulated as:


(∃Y∈p:x∈Y)∧(∀Y1,Y2∈p:Y1≠Y2→(x∉Y1∨x∉Y2)).{displaystyle (exists Yin p:xin Y)land (forall Y_{1},Y_{2}in p:Y_{1}neq Y_{2}rightarrow (xnotin Y_{1}lor xnotin Y_{2})).}{displaystyle (exists Yin p:xin Y)land (forall Y_{1},Y_{2}in p:Y_{1}neq Y_{2}rightarrow (xnotin Y_{1}lor xnotin Y_{2})).}

In the case that the left and right coordinates are identical, the right conjunct (∀Y1,Y2∈p:Y1≠Y2→(x∉Y1∨x∉Y2)){displaystyle (forall Y_{1},Y_{2}in p:Y_{1}neq Y_{2}rightarrow (xnotin Y_{1}lor xnotin Y_{2}))}{displaystyle (forall Y_{1},Y_{2}in p:Y_{1}neq Y_{2}rightarrow (xnotin Y_{1}lor xnotin Y_{2}))} is trivially true, since Y1Y2 is never the case.


This is how we can extract the first coordinate of a pair (using the notation for arbitrary intersection and arbitrary union):


π1(p)=⋃p.{displaystyle pi _{1}(p)=bigcup bigcap p.}pi_1(p) = bigcupbigcap p.

This is how the second coordinate can be extracted:


π2(p)=⋃{x∈p∣p≠p→x∉p}.{displaystyle pi _{2}(p)=bigcup {xin bigcup pmid bigcup pneq bigcap prightarrow xnotin bigcap p}.}{displaystyle pi _{2}(p)=bigcup {xin bigcup pmid bigcup pneq bigcap prightarrow xnotin bigcap p}.}


Variants


The above Kuratowski definition of the ordered pair is "adequate" in that it satisfies the characteristic property that an ordered pair must satisfy, namely that (a,b)=(x,y)↔(a=x)∧(b=y){displaystyle (a,b)=(x,y)leftrightarrow (a=x)land (b=y)}{displaystyle (a,b)=(x,y)leftrightarrow (a=x)land (b=y)}. In particular, it adequately expresses 'order', in that (a,b)=(b,a){displaystyle (a,b)=(b,a)}(a,b) = (b,a) is false unless b=a{displaystyle b=a}b=a. There are other definitions, of similar or lesser complexity, that are equally adequate:



  • (a,b)reverse:={{b},{a,b}};{displaystyle (a,b)_{text{reverse}}:={{b},{a,b}};}( a, b )_{text{reverse}} :=  { { b }, {a, b}};

  • (a,b)short:={a,{a,b}};{displaystyle (a,b)_{text{short}}:={a,{a,b}};}( a, b )_{text{short}} :=  { a, {a, b}};


  • (a,b)01:={{0,a},{1,b}}.{displaystyle (a,b)_{text{01}}:={{0,a},{1,b}}.}( a, b )_{text{01}} := {{0, a }, {1, b }}.[10]


The reverse definition is merely a trivial variant of the Kuratowski definition, and as such is of no independent interest. The definition short is so-called because it requires two rather than three pairs of braces. Proving that short satisfies the characteristic property requires the Zermelo–Fraenkel set theory axiom of regularity.[11] Moreover, if one uses von Neumann's set-theoretic construction of the natural numbers, then 2 is defined as the set {0, 1} = {0, {0}}, which is indistinguishable from the pair (0, 0)short. Yet another disadvantage of the short pair is the fact, that even if a and b are of the same type, the elements of the short pair are not. (However, if a = b then the short version keeps having cardinality 2, which is something one might expect of any "pair", including any "ordered pair". Also note that the short version is used in Tarski–Grothendieck set theory, upon which the Mizar system is founded.)



Proving that definitions satisfy the characteristic property


Prove: (a, b) = (c, d) if and only if a = c and b = d.


Kuratowski:
If. If a = c and b = d, then {{a}, {a, b}} = {{c}, {c, d}}. Thus (a, b)K = (c, d)K.


Only if. Two cases: a = b, and ab.


If a = b:



(a, b)K = {{a}, {a, b}} = {{a}, {a, a}} = {{a}}.

(c, d)K = {{c}, {c, d}} = {{a}}.

Thus {c} = {c, d} = {a}, which implies a = c and a = d. By hypothesis, a = b. Hence b = d.


If ab, then (a, b)K = (c, d)K implies {{a}, {a, b}} = {{c}, {c, d}}.


Suppose {c, d} = {a}. Then c = d = a, and so {{c}, {c, d}} = {{a}, {a, a}} = {{a}, {a}} = {{a}}. But then {{a}, {a, b}} would also equal {{a}}, so that b = a which contradicts ab.

Suppose {c} = {a, b}. Then a = b = c, which also contradicts ab.

Therefore {c} = {a}, so that c = a and {c, d} = {a, b}.

If d = a were true, then {c, d} = {a, a} = {a} ≠ {a, b}, a contradiction. Thus d = b is the case, so that a = c and b = d.

Reverse:

(a, b)reverse = {{b}, {a, b}} = {{b}, {b, a}} = (b, a)K.


If. If (a, b)reverse = (c, d)reverse,
(b, a)K = (d, c)K. Therefore b = d and a = c.


Only if. If a = c and b = d, then {{b}, {a, b}} = {{d}, {c, d}}.
Thus (a, b)reverse = (c, d)reverse.


Short:[12]


If: If a = c and b = d, then {a, {a, b}} = {c, {c, d}}. Thus (a, b)short = (c, d)short.


Only if: Suppose {a, {a, b}} = {c, {c, d}}.
Then a is in the left hand side, and thus in the right hand side.
Because equal sets have equal elements, one of a = c or a = {c, d} must be the case.



If a = {c, d}, then by similar reasoning as above, {a, b} is in the right hand side, so {a, b} = c or {a, b} = {c, d}.

If {a, b} = c then c is in {c, d} = a and a is in c, and this combination contradicts the axiom of regularity, as {a, c} has no minimal element under the relation "element of."

If {a, b} = {c, d}, then a is an element of a, from a = {c, d} = {a, b}, again contradicting regularity.



Hence a = c must hold.


Again, we see that {a, b} = c or {a, b} = {c, d}.



The option {a, b} = c and a = c implies that c is an element of c, contradicting regularity.

So we have a = c and {a, b} = {c, d}, and so: {b} = {a, b} {a} = {c, d} {c} = {d}, so b = d.



Quine–Rosser definition


Rosser (1953)[13] employed a definition of the ordered pair due to Quine which requires a prior definition of the natural numbers. Let N{displaystyle mathbb {N} }mathbb {N} be the set of natural numbers and define first


σ(x):={x,if x∉N,x+1,if x∈N.{displaystyle sigma (x):={begin{cases}x,&{text{if }}xnot in mathbb {N} ,\x+1,&{text{if }}xin mathbb {N} .end{cases}}}{displaystyle sigma (x):={begin{cases}x,&{text{if }}xnot in mathbb {N} ,\x+1,&{text{if }}xin mathbb {N} .end{cases}}}

σ{displaystyle sigma }sigma increments its argument, if it is a natural number and leaves it as is otherwise. Note: 0 does not appear as functional value of σ{displaystyle sigma }sigma .
As x∖N{displaystyle xsmallsetminus mathbb {N} }{displaystyle xsmallsetminus mathbb {N} } is the set of the elements of x{displaystyle x}x not in N{displaystyle mathbb {N} }mathbb {N} go on with


φ(x):=σ[x]={σ)∣αx}=(x∖N)∪{n+1:n∈(x∩N)}.{displaystyle varphi (x):=sigma [x]={sigma (alpha )mid alpha in x}=(xsmallsetminus mathbb {N} )cup {n+1:nin (xcap mathbb {N} )}.}{displaystyle varphi (x):=sigma [x]={sigma (alpha )mid alpha in x}=(xsmallsetminus mathbb {N} )cup {n+1:nin (xcap mathbb {N} )}.}

This is the (elementwise) image of a set x{displaystyle x}x under φ{displaystyle varphi }varphi , sometimes denoted by σ″x{displaystyle sigma ''x}{displaystyle sigma ''x} as well. Applying this function to a set x simply increments every natural number in it. In particular, φ(x){displaystyle varphi (x)}varphi (x) does never contain the number 0, so that for any sets x and y,


φ(x)≠{0}∪φ(y).{displaystyle varphi (x)neq {0}cup varphi (y).}{displaystyle varphi (x)neq {0}cup varphi (y).}

Further, define


ψ(x):=σ[x]∪{0}=φ(x)∪{0}.{displaystyle psi (x):=sigma [x]cup {0}=varphi (x)cup {0}.}{displaystyle psi (x):=sigma [x]cup {0}=varphi (x)cup {0}.}

By this, ψ(x){displaystyle psi (x)}psi (x) does always contain the number 0.


Finally, define the ordered pair (A, B) as the disjoint union


(A,B):=φ[A]∪ψ[B]={φ(a):a∈A}∪(b)∪{0}:b∈B}.{displaystyle (A,B):=varphi [A]cup psi [B]={varphi (a):ain A}cup {varphi (b)cup {0}:bin B}.}{displaystyle (A,B):=varphi [A]cup psi [B]={varphi (a):ain A}cup {varphi (b)cup {0}:bin B}.}

(which is φ″A∪ψ″B{displaystyle varphi ''Acup psi ''B}{displaystyle varphi ''Acup psi ''B} in alternate notation).


Extracting all the elements of the pair that do not contain 0 and undoing φ{displaystyle varphi }varphi yields A. Likewise, B can be recovered from the elements of the pair that do contain 0.[14]


In type theory and in outgrowths thereof such as the axiomatic set theory NF, the Quine–Rosser pair has the same type as its projections and hence is termed a "type-level" ordered pair. Hence this definition has the advantage of enabling a function, defined as a set of ordered pairs, to have a type only 1 higher than the type of its arguments. This definition works only if the set of natural numbers is infinite. This is the case in NF, but not in type theory or in NFU. J. Barkley Rosser showed that the existence of such a type-level ordered pair (or even a "type-raising by 1" ordered pair) implies the axiom of infinity. For an extensive discussion of the ordered pair in the context of Quinian set theories, see Holmes (1998).[15]



Cantor–Frege definition


Early in the development of the set theory, before paradoxes were discovered, Cantor followed Frege by defining the ordered pair of two sets as the class of all relations that hold between these sets, assuming that the notion of relation is primitive:[16]


(x,y)={R:xRy}.{displaystyle (x,y)={R:xRy}.}{displaystyle (x,y)={R:xRy}.}

This definition is inadmissible in most modern formalized set theories and is methodologically similar to defining the cardinal of a set as the class of all sets equipotent with the given set.[17]



Morse definition


Morse–Kelley set theory makes free use of proper classes.[18]Morse defined the ordered pair so that its projections could be proper classes as well as sets. (The Kuratowski definition does not allow this.) He first defined ordered pairs whose projections are sets in Kuratowski's manner. He then redefined the pair


(x,y)=({0}×s(x))∪({1}×s(y)){displaystyle (x,y)=({0}times s(x))cup ({1}times s(y))} (x, y) = ({0} times s(x)) cup ({1} times s(y))

where the component Cartesian products are Kuratowski pairs of sets and where


s(x)={∅}∪{{t}∣t∈x}{displaystyle s(x)={emptyset }cup {{t}mid tin x}}{displaystyle s(x)={emptyset }cup {{t}mid tin x}}

This renders possible pairs whose projections are proper classes. The Quine–Rosser definition above also admits proper classes as projections. Similarly the triple is defined as a 3-tuple as follows:


(x,y,z)=({0}×s(x))∪({1}×s(y))∪({2}×s(z)){displaystyle (x,y,z)=({0}times s(x))cup ({1}times s(y))cup ({2}times s(z))} (x, y, z) = ({0} times s(x)) cup ({1} times s(y)) cup ({2} times s(z))

The use of the singleton set s(x){displaystyle s(x)} s(x) which has an inserted empty set allows tuples to have the uniqueness property that if a is an n-tuple and b is an m-tuple and a = b then n = m. Ordered triples which are defined as ordered pairs do not have this property with respect to ordered pairs.



Category theory


A category-theoretic product A × B in a category of sets represents the set of ordered pairs, with the first element coming from A and the second coming from B. In this context the characteristic property above is a consequence of the universal property of the product and the fact that elements of a set X can be identified with morphisms from 1 (a one element set) to X. While different objects may have the universal property, they are all naturally isomorphic.



References





  1. ^ Lay, Steven R. (2005), Analysis / With an Introduction to Proof (4th ed.), Pearson / Prentice Hall, p. 50, ISBN 978-0-13-148101-5.mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  2. ^ Devlin, Keith (2004), Sets, Functions and Logic / An Introduction to Abstract Mathematics (3rd ed.), Chapman & Hall / CRC, p. 79, ISBN 978-1-58488-449-1


  3. ^ ab Wolf, Robert S. (1998), Proof, Logic, and Conjecture / The Mathematician's Toolbox, W. H. Freeman and Co., p. 164, ISBN 978-0-7167-3050-7


  4. ^ Fletcher, Peter; Patty, C. Wayne (1988), Foundations of Higher Mathematics, PWS-Kent, p. 80, ISBN 0-87150-164-3


  5. ^ Quine has argued that the set-theoretical implementations of the concept of the ordered pair is a paradigm for the clarification of philosophical ideas (see "Word and Object", section 53).
    The general notion of such definitions or implementations are discussed in Thomas Forster "Reasoning about theoretical entities".



  6. ^ Wiener's paper "A Simplification of the logic of relations" is reprinted, together with a valuable commentary on pages 224ff in van Heijenoort, Jean (1967), From Frege to Gödel: A Source Book in Mathematical Logic, 1979–1931, Harvard University Press, Cambridge MA,
    ISBN 0-674-32449-8 (pbk.). van Heijenoort states the simplification this way: "By giving a definition of the ordered pair of two elements in terms of class operations, the note reduced the theory of relations to that of classes".



  7. ^ cf introduction to Wiener's paper in van Heijenoort 1967:224


  8. ^ cf introduction to Wiener's paper in van Heijenoort 1967:224. van Heijenoort observes that the resulting set that represents the ordered pair "has a type higher by 2 than the elements (when they are of the same type)"; he offers references that show how, under certain circumstances, the type can be reduced to 1 or 0.


  9. ^ Kuratowski, Casimir (1921). "Sur la notion de l'ordre dans la Théorie des Ensembles" (PDF). Fundamenta Mathematicae. 2 (1): 161–171.


  10. ^ This differs from Hausdorff's definition in not requiring the two elements 0 and 1 to be distinct from a and b.


  11. ^ Tourlakis, George (2003) Lectures in Logic and Set Theory. Vol. 2: Set Theory. Cambridge Univ. Press. Proposition III.10.1.


  12. ^ For a formal Metamath proof of the adequacy of short, see here (opthreg). Also see Tourlakis (2003), Proposition III.10.1.


  13. ^ J. Barkley Rosser, 1953. Logic for Mathematicians. McGraw–Hill.


  14. ^ Holmes, M. Randall: On Ordered Pairs, on: Boise State, March 29, 2009. The author uses σ1{displaystyle sigma _{1}}sigma _{1} for φ{displaystyle varphi }varphi and σ2{displaystyle sigma _{2}}sigma _{2} for ψ{displaystyle psi }psi .


  15. ^ Holmes, M. Randall (1998) Elementary Set Theory with a Universal Set. Academia-Bruylant. The publisher has graciously consented to permit diffusion of this monograph via the web.


  16. ^ Frege, Gottlob (1893). Grundgesetze der Arithmetik (PDF). Jena: Verlag Hermann Pohle. §144


  17. ^ Kanamori, Akihiro (2007). Set Theory From Cantor to Cohen (PDF). Elsevier BV. p. 22, footnote 59


  18. ^ Morse, Anthony P. (1965). A Theory of Sets. Academic Press.









Comments

Popular posts from this blog

Information security

Lambak Kiri

章鱼与海女图