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,b)\mid a \in A \ \mbox{ and \ b \in B\ . A table can be created by taking the Cartesian product of a set of rows and a set of columns. If the Cartesian product is taken, the cells of the table contain ordered pairs of the form . One can similarly define the Cartesian product of sets, also known as an -fold Cartesian product, which can be represented by an -dimensional array, where each element is an -tuple. An ordered pair is a 2-tuple or couple. More generally... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
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,b)\mid a \in A \ \mbox{ and } \ b \in B\}. A table can be created by taking the Cartesian product of a set of rows and a set of columns. If the Cartesian product is taken, the cells of the table contain ordered pairs of the form . One can similarly define the Cartesian product of sets, also known as an -fold Cartesian product, which can be represented by an -dimensional array, where each element is an -tuple. An ordered pair is a 2-tuple or couple. More generally still, one can define the Cartesian product of an indexed family of sets. The Cartesian product is named after René Descartes, whose formulation of analytic geometry gave rise to the concept, which is further generalized in terms of direct product. A\times B=\{x\in\mathcal{P}(\mathcal{P}(A\cup B))\mid\exists a\in A\ \exists b\in B:x=(a,b)\}. A formal definition of the Cartesian product from set-theoretical principles follows from a definition of ordered pair. The most common definition of ordered pairs, Kuratowski's definition, is (x, y) = \{\{x\},\{x, y\}\} . Under this definition, (x, y) is an element of \mathcal{P}(\mathcal{P}(X \cup Y)) , and X\times Y is a subset of that set, where \mathcal{P} represents the power set operator. Therefore, the existence of the Cartesian product of any two sets in ZFC follows from the axioms of pairing, union, power set, and specification. Since functions are usually defined as a special case of relations, and relations are usually defined as subsets of the Cartesian product, the definition of the two-set Cartesian product is necessarily prior to most other definitions. A \times B \neq B \times A, because the ordered pairs are reversed unless at least one of the following conditions is satisfied: is equal to , or or is the empty set. For example: ; Strictly speaking, the Cartesian product is not associative (unless one of the involved sets is empty). (A\times B)\times C \neq A \times (B \times C) If for example , then . (A \cap B) \times (C \cap D) = (A \times C) \cap (B \times D) In most cases, the above statement is not true if we replace intersection with union (see rightmost picture). (A \cup B) \times (C \cup D) \neq (A \times C) \cup (B \times D) In fact, we have that: (A \times C) \cup (B \times D) = [(A \smallsetminus B) \times C] \cup [(A \cap B) \times (C \cup D)] \cup [(B \smallsetminus A) \times D] For the set difference, we also have the following identity: (A \times C) \smallsetminus (B \times D) = [A \times (C \smallsetminus D)] \cup [(A \smallsetminus B) \times C] Here are some rules demonstrating distributivity with other operators (see leftmost picture): \begin{align} A \times (B \cap C) &= (A \times B) \cap (A \times C), \\ A \times (B \cup C) &= (A \times B) \cup (A \times C), \\ A \times (B \smallsetminus C) &= (A \times B) \smallsetminus (A \times C), \end{align} (A \times B)^\complement = \left(A^\complement \times B^\complement\right) \cup \left(A^\complement \times B\right) \cup \left(A \times B^\complement\right)\!, where A^\complement denotes the absolute complement of . Other properties related with subsets are: \text{if } A \subseteq B \text{, then } A \times C \subseteq B \times C; \text{if both } A,B \neq \emptyset \text{, then } A \times B \subseteq C \times D \!\iff\! A \subseteq C \text{ and } B \subseteq D. X_1\times\cdots\times X_n = \{(x_1, \ldots, x_n) \mid x_i \in X_i \text{ for every } i \in \{1, \ldots, n\} \} of -tuples. If tuples are defined as nested ordered pairs, it can be identified with . If a tuple is defined as a function on that takes its value at to be the -th element of the tuple, then the Cartesian product is the set of functions \{ x:\{1,\ldots,n\}\to X_1\cup\cdots\cup X_n \mid x(i)\in X_i \text{ for every } i \in \{1, \ldots, n\} \}. X^n = \underbrace{ X \times X \times \cdots \times X}_{n}= \{ (x_1,\ldots,x_n) \mid x_i \in X \text{ for every } i \in \{1, \ldots, n\} \}. An example of this is , with again the set of real numbers, and more generally . The Cartesian th power of a set may be identified with the set of the functions mapping to the -tuples of elements of . As a special case, the Cartesian 0th power of is the singleton set, that has the empty function with codomain as its unique element. A = A_1 \times \dots \times A_n and B = B_1 \times \dots \times B_n . Then A \sube B , if and only if A_i \sube B_i for all i = 1, 2,\ldots, n ; A \cap B = (A_1 \cap B_1) \times \dots \times (A_n \cap B_n) , at the same time, if there exists at least one i such that A_i \cap B_i = \varnothing , then A \cap B = \varnothing ; A \cup B \sube (A_1 \cup B_1) \times \dots \times (A_n \cup B_n) , moreover, equality is possible only in the following cases: A \sube B or B \sube A ; for all i = 1, 2,\ldots, n \quad A_i = B_i \quad except for one from i . The complement of a Cartesian product A = A_1 \times \dots \times A_n can be calculated, if a universe is defined U = X_1 \times \dots \times X_n . To simplify the expressions, we introduce the following notation. Let us denote the Cartesian product as a tuple bounded by square brackets; this tuple includes the sets from which the Cartesian product is formed, e.g.: A = A_1 \times A_2 \times \dots \times A_n =[A_1\quad A_2\quad \dots \quad A_n] . In n-tuple algebra (NTA), such a matrix-like representation of Cartesian products is called a C-n-tuple. With this in mind, the union of some Cartesian products given in the same universe can be expressed as a matrix bounded by square brackets, in which the rows represent the Cartesian products involved in the union: A \cup B = (A_1 \times A_2 \times \dots \times A_n) \cup (B_1 \times B_2 \times \dots \times B_n) = \left [\begin{array} {cccc} A_1 & A_2 & \dots & A_n\\ B_1 & B_2 & \dots & B_n \end{array}\right ]. Such a structure is called a C-system in NTA. Then the complement of the Cartesian product A will look like the following C-system expressed as a matrix of the dimension n \times n : A^\complement =\left [\begin{array} {ccccc} A_1^\complement & X_2 & \cdots & X_{n-1} & X_n \\ X_1 & A_2^\complement & \cdots & X_{n-1} & X_n \\ \vdots & \vdots & & \vdots & \vdots \\ X_1 & X_2 & \cdots & A_{n-1}^\complement & X_n \\ X_1 & X_2 & \cdots & X_{n-1} & A_n^\complement \end{array}\right ]. The diagonal components of this matrix A_i^\complement are equal correspondingly to X_i \smallsetminus A_i . In NTA, a diagonal C-system A^\complement , that represents the complement of a C-n-tuple A , can be written concisely as a tuple of diagonal components bounded by inverted square brackets: A^\complement = \left] A_1^\complement \quad A_2^\complement \quad \dots \quad A_n^\complement \right[. This structure is called a D-n-tuple. Then the complement of the C-system R is a structure R^\complement , represented by a matrix of the same dimension and bounded by inverted square brackets, in which all components are equal to the complements of the components of the initial matrix R . Such a structure is called a D-system and is calculated, if necessary, as the intersection of the D-n-tuples contained in it. For instance, if the following C-system is given: R_1 = \left [\begin{array} {cccc} A_1 & A_2 & \dots & A_n\\ B_1 & B_2 & \dots & B_n \end{array}\right ], then its complement will be the D-system R_1^\complement = \left ]\begin{array} {cccc} A_1^\complement & A_2^\complement & \dots & A_n^\complement \\ B_1^\complement & B_2^\complement & \dots & B_n^\complement \end{array}\right [. Let us consider some new relations for structures with Cartesian products obtained in the process of studying the properties of NTA. The structures defined in the same universe are called homotypic ones. The intersection of C-systems. Assume the homotypic C-systems are given P and Q . Their intersection will yield a C-system containing all non-empty intersections of each C-n-tuple from P with each C-n-tuple from Q . Checking the inclusion of a C-n-tuple into a D-n-tuple. For the C-n-tuple P = [P_1 \quad P_2 \quad \cdots \quad P_N] and the D-n-tuple Q = \left]Q_1 \quad Q_2 \quad \cdots \quad Q_N\right[ holds P \sube Q , if and only if, at least for one i holds P_i \sube Q_i . Checking the inclusion of a C-n-tuple into a D-system. For the C-n-tuple P and the D-system Q is true P \sube Q , if and only if, for every D-n-tuple Q_i from Q holds P \sube Q_i . \prod_{i \in I} X_i = \left\{\left. f: I \to \bigcup_{i \in I} X_i\ \right|\ \forall i\in I.\ f(i) \in X_i\right\}, that is, the set of all functions defined on the index set such that the value of the function at a particular index is an element of X i . Even if each of the X i is nonempty, the Cartesian product may be empty if the axiom of choice, which is equivalent to the statement that every such product is nonempty, is not assumed. \prod_{i\in I} X_i may also be denoted \underset{i\in I} \operatorname{\mathsf{X}} X_i . For each in , the function \pi_{j}: \prod_{i \in I} X_i \to X_{j}, defined by \pi_{j}(f) = f(j) is called the -th projection map. Cartesian power is a Cartesian product where all the factors X i are the same set . In this case, \prod_{i \in I} X_i = \prod_{i \in I} X is the set of all functions from to , and is frequently denoted X I . This case is important in the study of cardinal exponentiation. An important special case is when the index set is \mathbb{N} , the natural numbers: this Cartesian product is the set of all infinite sequences with the -th term in its corresponding set X i . For example, each element of \prod_{n = 1}^\infty \mathbb R = \mathbb R \times \mathbb R \times \cdots can be visualized as a vector with countably infinite real number components. This set is frequently denoted \mathbb{R}^\omega , or \mathbb{R}^{\mathbb{N}} . (f\times g)(x, y) = (f(x), g(y)). This can be extended to tuples and infinite collections of functions. This is different from the standard Cartesian product of functions considered as sets.
Cite this
"Cartesian product". 1791046704. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378264277 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy