Jump to content

Ordered pair: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Undid revision 422038698 by Yobot (talk) Broken mathematics; I left a note on the bot's talk page, as per instructions.
m →‎Variants: more math formulas
(8 intermediate revisions by 3 users not shown)
Line 29: Line 29:
===Hausdorff's definition===
===Hausdorff's definition===
About the same time as Wiener (1914), [[Felix Hausdorff]] proposed his definition:
About the same time as Wiener (1914), [[Felix Hausdorff]] proposed his definition:
: (a, b) := { {a, 1}, {b, 2} }
: <math>(a, b) := \left\{ \{a, 1\}, \{b, 2\} \right\}</math>
"where 1 and 2 are two distinct objects different from a and b" <ref> cf introduction to Wiener's paper in van Heijenoort 1967:224 </ref>.
"where 1 and 2 are two distinct objects different from a and b" <ref> cf introduction to Wiener's paper in van Heijenoort 1967:224 </ref>.


===Kuratowski definition===
===Kuratowski definition===
In 1921 [[Kuratowski]] offered the now-accepted definition<ref> 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.</ref> of the ordered pair (''a'', ''b''):
In 1921 [[Kuratowski]] offered the now-accepted definition<ref> 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.</ref> of the ordered pair (''a'', ''b''):
:(''a'', ''b'')<sub>K</sub> := {{''a''}, {''a'', ''b''}}.
:<math>(\textit{a}, \ \textit{b})_K \ := \ \{ \{ \textit{a} \}, \ \{ \textit{a}, \ \textit{b} \} \}.</math>
Note that this definition remains valid when the first and the second coordinates are identical:
Note that this definition remains valid when the first and the second coordinates are identical:
: <math>(x,\text{ }x) = \{\{x\},\text{ }\{x,\text{ }x\}\} = \{\{x\},\text{ }\{x\}\} = \{\{x\}\}</math>
: <math>(x,\ x) = \{\{x\},\{x, \ x\}\} = \{\{x\},\ \{x\}\} = \{\{x\}\}</math>


Given some ordered pair ''p'', the property "''x'' is the first coordinate of ''p''" can be formulated as:
Given some ordered pair ''p'', the property "''x'' is the first coordinate of ''p''" can be formulated as:
Line 54: Line 54:
==== Variants ====
==== 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 <math>(a,b) = (x,y) \leftrightarrow (a=x) \and (b=y)</math>. There are other definitions, of similar or lesser complexity, that are equally adequate:
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 <math>(a,b) = (x,y) \leftrightarrow (a=x) \and (b=y)</math>. There are other definitions, of similar or lesser complexity, that are equally adequate:
* (''a'', ''b'')<sub>reverse</sub> := {{''b''}, {''a'', ''b''}};
* <math>( \{ \textit{a}, \textit{b} \} )</math><sub>reverse</sub> := <math>( \{ \{ \textit{b} \}, \{\textit{a}, \textit{b}\}\}</math>;
* (''a'', ''b'')<sub>short</sub> := {''a'', {''a'', ''b''}};
* <math>( \{ \textit{a}, \textit{b} \} )</math><sub>short</sub> := <math>( \{ \{ \textit{a} \}, \{\textit{a}, \textit{b}\}\}</math>;
* (''a'', ''b'')<sub>01</sub> := {{0,''a''}, {1, ''b''}}.
* <math>( \{ \textit{a}, \textit{b} \} )</math><sub>01</sub> := <math>\{\{0,\textit{a}\}, \{1, \textit{b}\}\}</math>.
'''reverse''' is merely a trivial variant of the Kuratowski definition, and as such is of no further interest. '''short''' is so-called because it requires two rather than three pairs of [[bracket|braces]]. Proving that '''short''' satisfies the characteristic property requires the [[Zermelo–Fraenkel set theory]] [[axiom of regularity]]<ref>Tourlakis, George (2003) ''Lectures in Logic and Set Theory. Vol. 2: Set Theory''. Cambridge Univ. Press. Proposition III.10.1.</ref> Moreover, if one accepts the [[Natural_number#A_standard_construction|standard 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)<sub>short</sub>.
'''reverse''' is merely a trivial variant of the Kuratowski definition, and as such is of no further interest. '''short''' is so-called because it requires two rather than three pairs of [[bracket|braces]]. Proving that '''short''' satisfies the characteristic property requires the [[Zermelo–Fraenkel set theory]] [[axiom of regularity]]<ref>Tourlakis, George (2003) ''Lectures in Logic and Set Theory. Vol. 2: Set Theory''. Cambridge Univ. Press. Proposition III.10.1.</ref> Moreover, if one accepts the [[Natural_number#A_standard_construction|standard 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)<sub>short</sub>.


Line 132: Line 132:
<references />
<references />


{{logic}}
{{Logic}}


{{DEFAULTSORT:Ordered Pair}}
[[Category:Basic concepts in set theory]]
[[Category:Basic concepts in set theory]]
[[Category:Order theory]]
[[Category:Order theory]]

Revision as of 13:29, 4 April 2011

In mathematics, an ordered pair is a collection (of objects) having two coordinates (or entries or projections), such that it is distinguishable, which object is the first coordinate (or first entry or left projection) of the pair and which object is the second coordinate (or second entry or right projection) of the pair. If the first coordinate is a and the second is b, the usual notation for an ordered pair is (a, b). The pair is "ordered" in that (a, b) differs from (b, a) unless a = b.

Cartesian products and binary relations (and hence the ubiquitous functions) are defined in terms of ordered pairs.

Generalities

Let and be two ordered pairs. Then the characteristic (or defining) property of the ordered pair is:

The entries of an ordered pair can be other ordered pairs, enabling the recursive definition of ordered n-tuples (ordered lists of n terms). For example, the ordered triple (a,b,c) can be defined as (a, (b,c)), i.e., as one pair nested in another. This approach is mirrored in computer programming languages that enable constructing a list of elements by nesting cons cells. For example, the list (1 2 3 4 5) becomes (1, (2, (3, (4, (5, {}))))). The Lisp programming language employs such lists as its primary data structure.

The set of all ordered pairs whose first element is in some set X and whose second element is in some set Y is called the Cartesian product of X and Y, and written X×Y. A binary relation over the field XY is a subset of X×Y.

If one wishes to employ the notation for a different purpose (such as denoting open intervals on the real number line) the ordered pair may be denoted by the variant notation

Defining the ordered pair using set theory

The above characteristic property of ordered pairs 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, long after Kuratowski discovered his reduction (below). The Kuratowski definition was added in the second edition of Theory of Sets, published in 1970.

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.[1] 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 [2]:

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.

Hausdorff's definition

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

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

Kuratowski definition

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

Note that this definition remains valid when the first and the second coordinates are identical:

Given some ordered pair p, the property "x is the first coordinate of p" can be formulated as:

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

In the case that the left and right coordinates are identical, the right conjunct 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):

This is how the second coordinate can be extracted:

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 . There are other definitions, of similar or lesser complexity, that are equally adequate:

  • reverse := ;
  • short := ;
  • 01 := .

reverse is merely a trivial variant of the Kuratowski definition, and as such is of no further interest. 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[5] Moreover, if one accepts the standard 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.

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:[6]

If: Obvious.

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)[7] employed a definition of the ordered pair, due to Quine and requiring a prior definition of the natural numbers. Let be the set of natural numbers, and define

Applying this function simply increments every natural number in x. In particular, does not contain the number 0, so that for any sets x and y,

Define the ordered pair (A, B) as

Extracting all the elements of the pair that do not contain 0 and undoing yields A. Likewise, B can be recovered from the elements of the pair that do contain 0.

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).[8]

Morse definition

Morse-Kelley set theory (Morse 1965)[9] makes free use of proper classes. 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) as , where the component Cartesian products are Kuratowski pairs on sets. This second step renders possible pairs whose projections are proper classes. The Quine-Rosser definition above also admits proper classes as projections.

Category theory

A category-theoretic product A x 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. ^ 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".
  2. ^ 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".
  3. ^ cf introduction to Wiener's paper in van Heijenoort 1967:224
  4. ^ 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.
  5. ^ Tourlakis, George (2003) Lectures in Logic and Set Theory. Vol. 2: Set Theory. Cambridge Univ. Press. Proposition III.10.1.
  6. ^ For a formal Metamath proof of the adequacy of short, see here (opthreg). Also see Tourlakis (2003), Proposition III.10.1.
  7. ^ J. Barkley Rosser, 1953. Logic for Mathematicians. McGraw-Hill.
  8. ^ Holmes, 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. Copyright is reserved.
  9. ^ Morse, Anthony P., 1965. A Theory of Sets. Academic Press