Tuples

  • a set contining no elements is the empty set.

  • a set containing 1 element is a singleton set, or unit set

  • a set containing 2 elements is a pair, unordered pair, 2-tuple

  • a set containing kk elements is a k-tuple

A set XX is called an ordered pair if X={{x},{x,y}}X = \{\{x\},\{x,y\}\} for some x,yx,y. This is commonly abbreviated by writing an ordered pair as x,y\langle x,y \rangle or {(x,y)}\{(x,y)\}.

Two ordered pairs are equal if their respective components are the same: let (a,b)(a, b) and (c,d)(c, d) be ordered pairs; then (a,b)=(c,d)(a, b) = (c, d) iff a=ca = c and b=db = d.

An ordered pair x,x\langle x, x \rangle is {{x},{x,x}}\{\{x\},\{x, x\}\} by definition, which first collapses into {{x},{x}}\{\{x\},\{x\}\} and then into {{x}}\{\{x\}\}. Therefore x,x={{x}}\langle x, x \rangle = \{\{x\}\}.

https://en.wikipedia.org/wiki/Tuple

A set containing two elements may be referred to as an unordered pair.

An ordered pair is a pair of objects, (a,b)(a,b), where the object aa is called the first entry, the object bb is the second entry of the pair. Unlike unordered pairs (i.e. sets with two elements), an ordered pair is affected by the order of its two elements, so (a,b)(b,a)(a,b)\neq (b,a).

Two ordered pairs are equal if their respective components are the same: let (a,b)(a, b) and (c,d)(c, d) be ordered pairs; then (a,b)=(c,d)(a, b) = (c, d) iff a=ca = c and b=db = d.

The Cartesian product of two sets AA and BB is another set, denoted as A×BA\times{B} and defined as A×B={(a,b):aA,bB}A\times{B} = \{(a,b) : a\in A, b\in B\}

Thus A×BA\times{B} is a set of all ordered pairs of elements from AA and BB.

If AA and BB are finite sets, then A×B=AB|A\times B| = |A|*|B|

The Cartesian (cross) product A × B of two sets is defined as A × B = {(a, b) : a ∈ A, b ∈ B}

So, the × operation pairs the elements of A with the elements of B in such a way that the elements of A appear as first components, and the elements of B appear as second components.

It is also possible to define Cartesian products for more than two factors, in which case we would not have a pair i.e. 2-tuple, but 3-tuple. Even so, all the n-tuples can be represented by an ordered pair (recursively), e.g. an 4-tuple, (a,b,c,d)(a,b,c,d), can be represented as (a,(b,(c,d)))(a,(b,(c,d))).

Last updated