All Topics  
Cartesian product

 

   Email Print
   Bookmark   Link






 

Cartesian product



 
 
Cartesian square redirects here. For Cartesian squares in category theory
Category theory

In mathematics, category theory deals in an abstract way with mathematical structures and relationships between them: it abstracts from set s and function s to objects linked in diagrams by morphisms or arrows....
, see Cartesian square (category theory).


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the Cartesian product (or product set) is a direct product
Direct product

In mathematics, one can often define a direct product of objectsalready known, giving a new one. This is generally the Cartesian product of the underlying sets, together with a suitably defined structure on the product set....
 of sets. The Cartesian product is named after René Descartes
René Descartes

Ren? Descartes , , also known as Renatus Cartesius , was a French philosophy, mathematician, scientist, and writer who spent most of his adult life in the Dutch Republic....
, whose formulation of analytic geometry
Analytic geometry

Analytic geometry, usually called coordinate geometry and earlier referred to as Cartesian geometry or analytical geometry, is the study of geometry using the principles of algebra; the modern development of analytic geometry is thus suggestively called algebraic geometry....
 gave rise to this concept.

Specifically, the Cartesian product of two sets X (for example the points on an x-axis) and Y (for example the points on a y-axis), denoted X × Y, is the set of all possible ordered pair
Ordered pair

In mathematics, an ordered pair is a collection of two distinguishable objects, one being the first coordinate system , and the other being the second coordinate ....
s whose first component is a member of X and whose second component is a member of Y (e.g.






Discussion
Ask a question about 'Cartesian product'
Start a new discussion about 'Cartesian product'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Cartesian square redirects here. For Cartesian squares in category theory
Category theory

In mathematics, category theory deals in an abstract way with mathematical structures and relationships between them: it abstracts from set s and function s to objects linked in diagrams by morphisms or arrows....
, see Cartesian square (category theory).


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the Cartesian product (or product set) is a direct product
Direct product

In mathematics, one can often define a direct product of objectsalready known, giving a new one. This is generally the Cartesian product of the underlying sets, together with a suitably defined structure on the product set....
 of sets. The Cartesian product is named after René Descartes
René Descartes

Ren? Descartes , , also known as Renatus Cartesius , was a French philosophy, mathematician, scientist, and writer who spent most of his adult life in the Dutch Republic....
, whose formulation of analytic geometry
Analytic geometry

Analytic geometry, usually called coordinate geometry and earlier referred to as Cartesian geometry or analytical geometry, is the study of geometry using the principles of algebra; the modern development of analytic geometry is thus suggestively called algebraic geometry....
 gave rise to this concept.

Specifically, the Cartesian product of two sets X (for example the points on an x-axis) and Y (for example the points on a y-axis), denoted X × Y, is the set of all possible ordered pair
Ordered pair

In mathematics, an ordered pair is a collection of two distinguishable objects, one being the first coordinate system , and the other being the second coordinate ....
s whose first component is a member of X and whose second component is a member of Y (e.g. the whole of the x-y plane):

For example, the Cartesian product of the 13-element set of standard playing card ranks and the four-element set of card suits is the 52-element set of all possible playing cards . The corresponding Cartesian product has 52 = 13x4 elements.

A Cartesian product of two finite sets can be represented by a table, with one set as the rows and the other as the columns, and forming the ordered pairs, the cells of the table, by choosing the element of the set from the row and the column.

Basic Properties


Let and be sets.

In most cases, the cartesian product is not commutative

One exception is with the empty set, which acts as a "zero".

Strictly speaking, the Cartesian Product is not associative.

The Cartesian Product acts nicely with respect to intersections.

Notice that in most cases the above statement is not true if we replace intersection with union.

n-ary product


The Cartesian product can be generalized to the n-ary Cartesian product over n sets X1, ..., Xn:

Indeed, it can be identified to (
X1 × ... × Xn-1) × Xn. It is a set of n-tuples.

Cartesian square and Cartesian power

The
Cartesian square (or binary Cartesian product) of a set X is the Cartesian product X2 = X × X. An example is the 2-dimensional plane
Plane (mathematics)

In mathematics, a plane is a curvature surface. Planes can arise as subspaces of some higher dimensional space, as with the walls of a room, or they may enjoy an independent existence in their own right, as in the setting of Euclidean geometry....
 
R2 = R × R where R is the set of real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s - all points (
x,y) where x and y are real numbers (see the Cartesian coordinate system
Cartesian coordinate system

In mathematics, the Cartesian coordinate system is used to determine each Point uniquely in a Plane through two numbers, usually called the x-coordinate or abscissa and the y-coordinate or ordinate of the point....
).

The
cartesian power of a set X can be defined as:



An example of this is
R3 = R × R × R, with R again the set of real numbers, and more generally Rn.

See also:
  • Euclidean space
    Euclidean space

    Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....

Infinite products

It is possible to define the Cartesian product of an arbitrary (possibly infinite) family of sets
Family of sets

In set theory and related branches of mathematics, a collection F of subsets of a given Set S is called a family of subsets of S, or a family of sets over S....
. If
I is any index set
Index set

In mathematics, the elements of a Set A may be indexed or labeled by means of a set J that is on that account called an index set....
, and is a collection of sets indexed by
I, then the Cartesian product of the sets in X is defined to be

that is, the set of all functions defined on the index set
Index set

In mathematics, the elements of a Set A may be indexed or labeled by means of a set J that is on that account called an index set....
 such that the value of the function at a particular index
i is an element of Xi .

For each
j in I, the function defined by pj(f) = f(j) is called the
j
 -th projection map
.

An important case is when the index set is N the natural numbers: this Cartesian product is the set of all infinite sequences with the i -th term in its corresponding set X. For example, each element of can be visualized as a vector with an infinite number of real-number components.

The special case Cartesian exponentiation occurs when all the factors Xi involved in the product are the same set X. In this case, is the set of all functions from I to X. This case is important in the study of cardinal exponentiation.

The definition of finite Cartesian products can be seen as a special case of the definition for infinite products. In this interpretation, an n-tuple can be viewed as a function on that takes its value at i to be the i-th element of the tuple (in some settings, this is taken as the very definition of an n-tuple).

Nothing in the definition of an infinite Cartesian product implies that the Cartesian product of nonempty sets must itself be nonempty. This assertion is equivalent to the axiom of choice
Axiom of choice

In mathematics, the axiom of choice, or AC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of bins, each containing at least one object, it is possible to make a selection of exactly one object from each bin, even if there are infinite set many bins and there is no "rule" for which object t...
.

Abbreviated form


If several sets are being multiplied together, e.g. X1, X2, X3, …, then some authors choose to abbreviate the Cartesian product as simply ×Xi.

Cartesian product of functions

If f is a function from A to B and g is a function from X to Y, their cartesian product f×g is a function from A×X to B×Y with

As above this can be extended to tuple
Tuple

In mathematics, a tuple is a sequence of a specific number of values, called the components of the tuple. These components can be any kind of mathematical objects, where each component of a tuple is a value of a specified type....
s and infinite collections of functions.

Category theory

Although the Cartesian product is traditionally applied to sets, category theory
Category theory

In mathematics, category theory deals in an abstract way with mathematical structures and relationships between them: it abstracts from set s and function s to objects linked in diagrams by morphisms or arrows....
 provides a more general interpretation of the product
Product (category theory)

In category theory, the product of two objects in a category is a notion designed to capture the essence behind constructions in other areas of mathematics such as the cartesian product, the direct product of groups, the direct product of rings and the product topology....
 of mathematical structures. This is distinct from, although related to, the notion of a Cartesian square in category theory, which is a generalization of the fiber product.

Graph theory

In graph theory
Graph theory

In mathematics and computer science, graph theory is the study of graph : mathematical structures used to model pairwise relations between objects from a certain collection....
 the Cartesian product of two graphs
Cartesian product of graphs

In graph theory, the cartesian product G H of graphs G and H is a graph such that* the vertex set of G H is the cartesian product V ? V; and...
 G and H is the graph denoted by G×H whose vertex set is the (ordinary) Cartesian product V(GV(H) and such that two vertices (u,v) and (u′,v′) are adjacent in G×H if and only if u is adjacent to u′ and v is adjacent to v′. Unlike the ordinary Cartesian product, the Cartesian product of graphs is not a product
Product (category theory)

In category theory, the product of two objects in a category is a notion designed to capture the essence behind constructions in other areas of mathematics such as the cartesian product, the direct product of groups, the direct product of rings and the product topology....
 in the sense of category theory. Instead it is more like a tensor product
Tensor product

In mathematics, the tensor product, denoted by , may be applied in different contexts to vector spaces, matrix , tensors, vector spaces, algebra over a field, topological vector spaces, and module s....
.

See also

  • Binary relation
    Binary relation

    In mathematics, a binary relation is an arbitrary association of elements within a set or with elements of another set.An example is the "divides" relation between the set of prime numbers P and the set of integers Z, in which every prime p is associated with every integer z that is a divisibility of p, and no othe...
  • Empty product
    Empty product

    In mathematics, an empty product, or nullary product, is the result of multiplication no numbers. Its numerical value is 1 , the multiplicative identity element, just as the empty sum—the result of addition no numbers—is 0 , or the additive identity....
  • Product (category theory)
    Product (category theory)

    In category theory, the product of two objects in a category is a notion designed to capture the essence behind constructions in other areas of mathematics such as the cartesian product, the direct product of groups, the direct product of rings and the product topology....
  • Product topology
    Product topology

    In topology and related areas of mathematics, a product space is the cartesian product of a family of topological spaces equipped with a natural topology called the product topology....
  • Relation (mathematics)
    Relation (mathematics)

    In mathematics , a relation is a property that assigns truth values to combinations of k first-order logic. Typically, the property describes a possible connection between the components of a k-tuple....
  • Ultraproduct
    Ultraproduct

    The ultraproduct is a mathematics construction that appears mainly in abstract algebra and in model theory, a branch of mathematical logic. An ultraproduct is a quotient of the direct product of a family of structure ....


External links