Difference between revisions of "Cartesian product"

(See Also)
(Proof of Existence)
Line 1: Line 1:
 
The '''Cartesian product''' of two [[set]]s <math>A</math> and <math>B</math> is the set of all [[ordered pair]]s <math>(a,b)</math> such that <math>a</math> is an [[element]] of <math>A</math> and <math>b</math> is an [[element]] of <math>B</math>.  More generally, the Cartesian product of an ordered family of sets <math>A_1, A_2, \dotsc</math> is the set <math>A_1 \times A_2 \times \dotsb</math> of [[ordered tuples]] <math>(a_1, a_2, \dotsb)</math> such that <math>a_j</math> is an element of <math>A_j</math>, for any positive integer <math>j</math> for which we have specified a set <math>A_j</math>.
 
The '''Cartesian product''' of two [[set]]s <math>A</math> and <math>B</math> is the set of all [[ordered pair]]s <math>(a,b)</math> such that <math>a</math> is an [[element]] of <math>A</math> and <math>b</math> is an [[element]] of <math>B</math>.  More generally, the Cartesian product of an ordered family of sets <math>A_1, A_2, \dotsc</math> is the set <math>A_1 \times A_2 \times \dotsb</math> of [[ordered tuples]] <math>(a_1, a_2, \dotsb)</math> such that <math>a_j</math> is an element of <math>A_j</math>, for any positive integer <math>j</math> for which we have specified a set <math>A_j</math>.
  
== Proof of Existence ==  
+
== Existence ==
 +
 
 +
 
 +
=== Ordered Pairs ===
 +
In the language of set theory, it is not trivial to define an ordered pair since the set <math>\{a,b\}</math> and <math>\{b,a\}</math> are equivalent. Thus, the definition of an ordered pair <math>(a,b)</math> is the set <math>\{\{a\}, \{a,b\}\}</math> Through this definition, the pair <math>(a,b)</math> does not equal the pair <math>(b,a)</math> since the set <math>\{\{a\}, \{a,b\}\}</math> and <math>\{\{b\}, \{b,a\}\}</math> are not equivalent. However, for the ordered pair <math>(a,a)</math> the resulting set reduces to <math>{{a}}</math> (do you see why?). Thus reversing the positions of <math>a</math> in the ordered pair does not change the resulting set.
 +
 
 +
Generally, the ordered pair <math>(a, b, c, \dots )</math> can be though of as nested ordered pairs: <math>(a, (b, (c, (\dots))))</math>.
  
 
== See Also ==
 
== See Also ==

Revision as of 17:11, 29 August 2024

The Cartesian product of two sets $A$ and $B$ is the set of all ordered pairs $(a,b)$ such that $a$ is an element of $A$ and $b$ is an element of $B$. More generally, the Cartesian product of an ordered family of sets $A_1, A_2, \dotsc$ is the set $A_1 \times A_2 \times \dotsb$ of ordered tuples $(a_1, a_2, \dotsb)$ such that $a_j$ is an element of $A_j$, for any positive integer $j$ for which we have specified a set $A_j$.

Existence

Ordered Pairs

In the language of set theory, it is not trivial to define an ordered pair since the set $\{a,b\}$ and $\{b,a\}$ are equivalent. Thus, the definition of an ordered pair $(a,b)$ is the set $\{\{a\}, \{a,b\}\}$ Through this definition, the pair $(a,b)$ does not equal the pair $(b,a)$ since the set $\{\{a\}, \{a,b\}\}$ and $\{\{b\}, \{b,a\}\}$ are not equivalent. However, for the ordered pair $(a,a)$ the resulting set reduces to ${{a}}$ (do you see why?). Thus reversing the positions of $a$ in the ordered pair does not change the resulting set.

Generally, the ordered pair $(a, b, c, \dots )$ can be though of as nested ordered pairs: $(a, (b, (c, (\dots))))$.

See Also

This article is a stub. Help us out by expanding it.