
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, an ordered pair, denoted (''a'', ''b''), is a pair of objects in which their order is significant. The ordered pair (''a'', ''b'') is different from the ordered pair (''b'', ''a''), unless ''a'' = ''b''. In contrast, the ''
unordered pair'', denoted , always equals the unordered pair .
Ordered pairs are also called
2-tuples, or
sequence
In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
s (sometimes, lists in a computer science context) of length 2. Ordered pairs of
scalars are sometimes called 2-dimensional
vectors. (Technically, this is an abuse of
terminology
Terminology is a group of specialized words and respective meanings in a particular field, and also the study of such terms and their use; the latter meaning is also known as terminology science. A ''term'' is a word, Compound (linguistics), com ...
since an ordered pair need not be an element of a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
.)
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 product
In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is
A\times B = \.
A table c ...
s and
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
s (and hence
functions) are defined in terms of ordered pairs, cf. picture.
Generalities
Let
and
be ordered pairs. Then the ''characteristic'' (or ''defining'') ''property'' of the ordered pair is:
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
In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is
A\times B = \.
A table c ...
of ''A'' and ''B'', and written ''A'' × ''B''. A
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
between sets ''A'' and ''B'' is a
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
of ''A'' × ''B''.
The notation may be used for other purposes, most notably as denoting
open interval
In mathematics, a real interval is the set (mathematics), set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without ...
s 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
, but this notation also has other uses.
The left and right 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, (''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 and , the ordered pair is a notation specifying the two objects and , in that order.
This is usually followed by a comparison to a set of two elements; pointing out that in a set and 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
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
is an appealing
foundation of mathematics
Foundations of mathematics are the logical and mathematical framework that allows the development of mathematics without generating self-contradictory theories, and to have reliable concepts of theorems, proofs, algorithms, etc. in particul ...
, 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
Norbert Wiener (November 26, 1894 – March 18, 1964) was an American computer scientist, mathematician, and philosopher. He became a professor of mathematics at the Massachusetts Institute of Technology ( MIT). A child prodigy, Wiener late ...
proposed the first set theoretical definition of the ordered pair in 1914:
He observed that this definition made it possible to define the
types
Type may refer to:
Science and technology Computing
* Typing, producing text via a keyboard, typewriter, etc.
* Data type, collection of values used for computations.
* File type
* TYPE (DOS command), a command to display contents of a file.
* Ty ...
of ''
Principia Mathematica
The ''Principia Mathematica'' (often abbreviated ''PM'') is a three-volume work on the foundations of mathematics written by the mathematician–philosophers Alfred North Whitehead and Bertrand Russell and published in 1910, 1912, and 1 ...
'' as sets. ''Principia Mathematica'' had taken types, and hence
relations of all arities, as
primitive.
Wiener used
instead of to make the definition compatible with type theory
In mathematics and theoretical computer science, a type theory is the formal presentation of a specific type system. Type theory is the academic study of type systems.
Some type theories serve as alternatives to set theory as a foundation of ...
where all elements in a class must be of the same "type". With ''b'' nested within an additional set, its type is equal to 's.
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."
Kuratowski's definition
In 1921 Kazimierz Kuratowski offered the now-accepted definition
of the ordered pair (''a'', ''b''):
When the first and the second coordinates are identical, the definition obtains:
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 is the case.
If then:
:
:
This is how we can extract the first coordinate of a pair (using the iterated-operation notation for arbitrary intersection and arbitrary union):
This is how the second coordinate can be extracted:
(if , then the set could be obtained more simply: , but the previous formula also takes into account the case when .)
Note that and are generalized functions, in the sense that their domains and codomains are proper classes.
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 . In particular, it adequately expresses 'order', in that is false unless . There are other definitions, of similar or lesser complexity, that are equally adequate:
*
*
*
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
In set theory, Zermelo–Fraenkel set theory, named after mathematicians Ernst Zermelo and Abraham Fraenkel, is an axiomatic system that was proposed in the early twentieth century in order to formulate a theory of sets free of paradoxes suc ...
axiom of regularity
In mathematics, the axiom of regularity (also known as the axiom of foundation) is an axiom of Zermelo–Fraenkel set theory that states that every Empty set, non-empty Set (mathematics), set ''A'' contains an element that is Disjoint sets, disjoin ...
. Moreover, if one uses von Neumann's set-theoretic construction of the natural numbers, then 2 is defined as the set = , 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".)
Proving that definitions satisfy the characteristic property
Prove: (''a'', ''b'') = (''c'', ''d'') if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
''a'' = ''c'' and ''b'' = ''d''.
Kuratowski:
''If''. If ''a'' = ''c'' and ''b'' = ''d'', then = . Thus (''a, b'')K = (''c'', ''d'')K.
''Only if''. Two cases: ''a'' = ''b'', and ''a'' ≠ ''b''.
If ''a'' = ''b'':
:(''a, b'')K = = = .
: = (''c'', ''d'')K = (''a'', ''b'')K = .
:Thus = = , which implies ''a'' = ''c'' and ''a'' = ''d''. By hypothesis, ''a'' = ''b''. Hence ''b'' = ''d''.
If ''a'' ≠ ''b'', then (''a'', ''b'')K = (''c'', ''d'')K implies = .
:Suppose = . Then ''c'' = ''d'' = ''a'', and so = = = . But then would also equal , so that ''b'' = ''a'' which contradicts ''a'' ≠ ''b''.
:Suppose = . Then ''a'' = ''b'' = ''c'', which also contradicts ''a'' ≠ ''b''.
:Therefore = , so that ''c = a'' and = .
:If ''d'' = ''a'' were true, then = = ≠ , a contradiction. Thus ''d'' = ''b'' is the case, so that ''a'' = ''c'' and ''b'' = ''d''.
Reverse:
(''a, b'')reverse = = = (''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 = .
Thus (''a, b'')reverse = (''c, d'')reverse.
Short:
''If'': If ''a = c'' and ''b = d'', then = . Thus (''a, b'')short = (''c, d'')short.
''Only if'': Suppose = .
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'' = must be the case.
:If ''a'' = , then by similar reasoning as above, is in the right hand side, so = ''c'' or = .
::If = ''c'' then ''c'' is in = ''a'' and ''a'' is in ''c'', and this combination contradicts the axiom of regularity, as has no minimal element under the relation "element of."
::If = , then ''a'' is an element of ''a'', from ''a'' = = , again contradicting regularity.
:Hence ''a = c'' must hold.
Again, we see that = ''c'' or = .
:The option = ''c'' and ''a = c'' implies that ''c'' is an element of ''c'', contradicting regularity.
:So we have ''a = c'' and = , and so: = \ = \ = , so ''b'' = ''d''.
Quine–Rosser definition
Rosser (1953) employed a definition of the ordered pair due to Quine which requires a prior definition of the natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s. Let be the set of natural numbers and define first
The function increments its argument if it is a natural number and leaves it as is otherwise; the number 0 does not appear in the range of .
As is the set of the elements of not in go on with
This is the set image of a set under , sometimes denoted by as well. Applying function to a set ''x'' simply increments every natural number in it. In particular, never contains contain the number 0, so that for any sets ''x'' and ''y'',
Further, define
By this, does always contain the number 0.
Finally, define the ordered pair (''A'', ''B'') as the disjoint union
(which is in alternate notation).
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.
For example, the pair is encoded as provided .
In type theory
In mathematics and theoretical computer science, a type theory is the formal presentation of a specific type system. Type theory is the academic study of type systems.
Some type theories serve as alternatives to set theory as a foundation of ...
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
In mathematics and theoretical computer science, a type theory is the formal presentation of a specific type system. Type theory is the academic study of type systems.
Some type theories serve as alternatives to set theory as a foundation of ...
or in NFU. J. Barkley Rosser
John Barkley Rosser Sr. (December 6, 1907 – September 5, 1989) was an American logician, a student of Alonzo Church, and known for his part in the Church–Rosser theorem in lambda calculus. He also developed what is now called the " 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).
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:
This definition is inadmissible in most modern formalized set theories and is methodologically similar to defining the cardinal
Cardinal or The Cardinal most commonly refers to
* Cardinalidae, a family of North and South American birds
**''Cardinalis'', genus of three species in the family Cardinalidae
***Northern cardinal, ''Cardinalis cardinalis'', the common cardinal of ...
of a set as the class of all sets equipotent with the given set.
Morse definition
Morse–Kelley set theory makes free use of proper class
Proper may refer to:
Mathematics
* Proper map, in topology, a property of continuous function between topological spaces, if inverse images of compact subsets are compact
* Proper morphism, in algebraic geometry, an analogue of a proper map f ...
es. 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
where the component Cartesian products are Kuratowski pairs of sets and where
This renders possible pairs whose projections are proper classes. The Quine–Rosser definition above also admits proper class
Proper may refer to:
Mathematics
* Proper map, in topology, a property of continuous function between topological spaces, if inverse images of compact subsets are compact
* Proper morphism, in algebraic geometry, an analogue of a proper map f ...
es as projections. Similarly the triple is defined as a 3-tuple as follows:
The use of the singleton set 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
In the mathematical field of category theory, the category of sets, denoted by Set, is the category whose objects are sets. The arrows or morphisms between sets ''A'' and ''B'' are the functions from ''A'' to ''B'', and the composition of mor ...
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
In mathematics, more specifically in category theory, a universal property is a property that characterizes up to an isomorphism the result of some constructions. Thus, universal properties can be used for defining some objects independently fro ...
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
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a natur ...
.
See also
* Cartesian product
In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is
A\times B = \.
A table c ...
* Tarski–Grothendieck set theory
* Trybulec, Andrzej, 1989,
Tarski–Grothendieck Set Theory
, ''Journal of Formalized Mathematics'' (definition Def5 of "ordered pairs" as )
References
{{Functions navbox
Basic concepts in set theory
Order theory
Type theory