In mathematics, one can often define a direct product of objects already known, giving a new one. This induces a structure on the Cartesian product of the underlying sets from that of the contributing objects. More abstractly, one talks about the product in category theory, which formalizes these notions.
Examples are the product of sets, groups (described below), rings, and other algebraic structures. The product of topological spaces is another instance.
There is also the direct sum – in some areas this is used interchangeably, while in others it is a different concept.
\R
\R x \R
\{(x,y):x,y\in\R\}.
\R
\R x \R
\{(x,y):x,y\in\R\}
\R x \R
(a,b)+(c,d)=(a+c,b+d).
\R
\R x \R
\{(x,y):x,y\in\R\}
(a,b)+(c,d)=(a+c,b+d)
(a,b)(c,d)=(ac,bd).
\R
\R x \R
(1,0)
In a similar manner, we can talk about the direct product of finitely many algebraic structures, for example,
\R x \R x \R x \R.
(A x B) x C\congA x (B x C)
A,
B,
C
A x B\congB x A
A
B
R,
\R x \R x \R x ...b.
See main article: Direct product of groups and Direct sum. In group theory one can define the direct product of two groups
(G,\circ)
(H, ⋅ ),
G x H.
G ⊕ H.
It is defined as follows:
GandH,
\{(g,h):g\inG,h\inH\};
Note that
(G,\circ)
(H, ⋅ ).
This construction gives a new group. It has a normal subgroup isomorphic to
G
(g,1)
H
(1,h)
The reverse also holds. There is the following recognition theorem: If a group
K
GandH,
K=GH
GandH
K
G x H.
As an example, take as
GandH
C2:
\{1,a\}and\{1,b\}.
C2 x C2=\{(1,1),(1,b),(a,1),(a,b)\},
(1,b)*(a,1)=\left(1*a,b*1\right)=(a,b),
(1,b)*(1,b)=\left(1,b2\right)=(1,1).
With a direct product, we get some natural group homomorphisms for free: the projection maps defined byare called the coordinate functions.
Also, every homomorphism
f
fi=\pii\circf.
For any group
(G,\circ)
n\geq0,
n
Gn
n=0,
\Zn
\Rn.
The direct product for modules (not to be confused with the tensor product) is very similar to the one defined for groups above, using the Cartesian product with the operation of addition being componentwise, and the scalar multiplication just distributing over all the components. Starting from
\R
\Rn,
n
\Rm
\Rn
\Rm+n.
Note that a direct product for a finite index is canonically isomorphic to the direct sum The direct sum and direct product are not isomorphic for infinite indices, where the elements of a direct sum are zero for all but for a finite number of entries. They are dual in the sense of category theory: the direct sum is the coproduct, while the direct product is the product.
For example, consider and the infinite direct product and direct sum of the real numbers. Only sequences with a finite number of non-zero elements are in
Y.
(1,0,0,0,\ldots)
Y
(1,1,1,1,\ldots)
X;
Y
X
Y\subsetX
The direct product for a collection of topological spaces
Xi
i
I,
Defining the topology is a little tricky. For finitely many factors, this is the obvious and natural thing to do: simply take as a basis of open sets to be the collection of all Cartesian products of open subsets from each factor:
This topology is called the product topology. For example, directly defining the product topology on
\R2
\R
The product topology for infinite products has a twist, and this has to do with being able to make all the projection maps continuous and to make all functions into the product continuous if and only if all its component functions are continuous (that is, to satisfy the categorical definition of product: the morphisms here are continuous functions): we take as a basis of open sets to be the collection of all Cartesian products of open subsets from each factor, as before, with the proviso that all but finitely many of the open subsets are the entire factor:
The more natural-sounding topology would be, in this case, to take products of infinitely many open subsets as before, and this does yield a somewhat interesting topology, the box topology. However it is not too difficult to find an example of bunch of continuous component functions whose product function is not continuous (see the separate entry box topology for an example and more). The problem that makes the twist necessary is ultimately rooted in the fact that the intersection of open sets is only guaranteed to be open for finitely many sets in the definition of topology.
Products (with the product topology) are nice with respect to preserving properties of their factors; for example, the product of Hausdorff spaces is Hausdorff; the product of connected spaces is connected, and the product of compact spaces is compact. That last one, called Tychonoff's theorem, is yet another equivalence to the axiom of choice.
For more properties and equivalent formulations, see the separate entry product topology.
On the Cartesian product of two sets with binary relations
RandS,
(a,b)T(c,d)
aRcandbSd.
RandS
T
T
RandS.
RandS
T
\leq
\N
(1,2)and(2,1).
If
\Sigma
I
\left(Ai\right)i
\Sigma
\Sigma
A
A
Ai
Ai,
n
n
f\in\Sigma,
fA
A
a1,...c,an\inA
i\inI,
i
fA\left(a1,...c,an\right)
Ai | |
f |
\left(a1(i),...c,an(i)\right).
i\inI,
i
\pii:A\toAi
\pii(a)=a(i).
\Sigma
AandAi.
As a special case, if the index set
I=\{1,2\},
\Sigma
A1andA2
A=A1 x A2.
\Sigma
f,
A1=G,A2=H,
A1 | |
f |
=\circ,
A2 | |
f |
= ⋅ , andfA= x .
See main article: Product (category theory).
The direct product can be abstracted to an arbitrary category. In a category, given a collection of objects
(Ai)i
I
A
pi\colonA\toAi
i\inI
B
fi\colonB\toAi
i\inI
B\toA
pi
fi
i
A
(pi)i
(A,(pi)i)
A
\prodiAi
In the special case of the category of groups, a product always exists: the underlying set of
\prodiAi
Ai
pi\colonA\toAi
i
Some authors draw a distinction between an internal direct product and an external direct product. For example, if
A
B
G
A+B=G
A\capB=\{0\}
A x B\congG,
G
A
B
\{(a,b)\mida\inA,b\inB\}
A
B