encyclopegia.org

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 .[src] In terms of set-builder notation, that is A\times B = \{(a,b)\mid a \in A \ \mbox{ and } \ b \in B\}.[src] A table can be created by taking the Cartesian product of a set of rows and a set of columns.[src] If the Cartesian product is taken, the cells of the table contain ordered pairs of the form .[src] 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.[src] An ordered pair is a 2-tuple or couple.[src] More generally still, one can define the Cartesian product of an indexed family of sets.[src] 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.[src]

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 .[src] In terms of set-builder notation, that is A\times B = \{(a,b)\mid a \in A \ \mbox{ and } \ b \in B\}.[src] A table can be created by taking the Cartesian product of a set of rows and a set of columns.[src] If the Cartesian product is taken, the cells of the table contain ordered pairs of the form .[src] 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.[src] An ordered pair is a 2-tuple or couple.[src] More generally still, one can define the Cartesian product of an indexed family of sets.[src] 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.[src] A\times B=\{x\in\mathcal{P}(\mathcal{P}(A\cup B))\mid\exists a\in A\ \exists b\in B:x=(a,b)\}.[src] A formal definition of the Cartesian product from set-theoretical principles follows from a definition of ordered pair.[src] The most common definition of ordered pairs, Kuratowski's definition, is (x, y) = \{\{x\},\{x, y\}\} .[src] 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.[src] Therefore, the existence of the Cartesian product of any two sets in ZFC follows from the axioms of pairing, union, power set, and specification.[src] 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.[src] 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.[src] For example: ; Strictly speaking, the Cartesian product is not associative (unless one of the involved sets is empty).[src] (A\times B)\times C \neq A \times (B \times C) If for example , then .[src] (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).[src] (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 .[src] 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\![src] A \subseteq C \text{ and } B \subseteq D.[src] 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.[src] If tuples are defined as nested ordered pairs, it can be identified with .[src] 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\} \}.[src] 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\} \}.[src] An example of this is , with again the set of real numbers, and more generally .[src] The Cartesian th power of a set may be identified with the set of the functions mapping to the -tuples of elements of .[src] As a special case, the Cartesian 0th power of is the singleton set, that has the empty function with codomain as its unique element.[src] A = A_1 \times \dots \times A_n and B = B_1 \times \dots \times B_n .[src] 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 .[src] 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 .[src] To simplify the expressions, we introduce the following notation.[src] 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] .[src] In n-tuple algebra (NTA), such a matrix-like representation of Cartesian products is called a C-n-tuple.[src] 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 ].[src] Such a structure is called a C-system in NTA.[src] 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 ].[src] The diagonal components of this matrix A_i^\complement are equal correspondingly to X_i \smallsetminus A_i .[src] 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[.[src] This structure is called a D-n-tuple.[src] 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 .[src] Such a structure is called a D-system and is calculated, if necessary, as the intersection of the D-n-tuples contained in it.[src] 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 [.[src] Let us consider some new relations for structures with Cartesian products obtained in the process of studying the properties of NTA.[src] The structures defined in the same universe are called homotypic ones.[src] The intersection of C-systems.[src] Assume the homotypic C-systems are given P and Q .[src] 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 .[src] Checking the inclusion of a C-n-tuple into a D-n-tuple.[src] 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 .[src] Checking the inclusion of a C-n-tuple into a D-system.[src] 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 .[src] \prod_{i \in I} X_i = \left\{\left.[src] 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 .[src] 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.[src] \prod_{i\in I} X_i may also be denoted \underset{i\in I} \operatorname{\mathsf{X}} X_i .[src] 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.[src] Cartesian power is a Cartesian product where all the factors X i are the same set .[src] 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 .[src] This case is important in the study of cardinal exponentiation.[src] 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 .[src] 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.[src] This set is frequently denoted \mathbb{R}^\omega , or \mathbb{R}^{\mathbb{N}} .[src] (f\times g)(x, y) = (f(x), g(y)).[src] This can be extended to tuples and infinite collections of functions.[src] This is different from the standard Cartesian product of functions considered as sets.[src]

74 sentences · 74 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Cartesian product." encyclopegia.org, 2026, https://encyclopegia.org/wiki/cartesian-product. Accessed 01 December 2026.

Chicago

"Cartesian product." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/cartesian-product.

APA

encyclopegia.org. (2026). Cartesian product. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/cartesian-product

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378264277 · 0.5 · snapshot enwiki-001378264277

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.