Direct product

From HandWiki
Revision as of 23:06, 6 February 2024 by LinuxGuru (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Generalization of the Cartesian product

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.[dubious ]

There is also the direct sum – in some areas this is used interchangeably, while in others it is a different concept.

Examples

  • If we think of [math]\displaystyle{ \R }[/math] as the set of real numbers without further structure, then the direct product [math]\displaystyle{ \R \times \R }[/math] is just the Cartesian product [math]\displaystyle{ \{(x,y) : x,y \in \R\}. }[/math]
  • If we think of [math]\displaystyle{ \R }[/math] as the group of real numbers under addition, then the direct product [math]\displaystyle{ \R\times \R }[/math] still has [math]\displaystyle{ \{(x,y) : x,y \in \R\} }[/math] as its underlying set. The difference between this and the preceding example is that [math]\displaystyle{ \R \times \R }[/math] is now a group, and so we have to also say how to add their elements. This is done by defining [math]\displaystyle{ (a,b) + (c,d) = (a+c, b+d). }[/math]
  • If we think of [math]\displaystyle{ \R }[/math] as the ring of real numbers, then the direct product [math]\displaystyle{ \R\times \R }[/math] again has [math]\displaystyle{ \{(x,y) : x,y \in \R\} }[/math] as its underlying set. The ring structure consists of addition defined by [math]\displaystyle{ (a,b) + (c,d) = (a+c, b+d) }[/math] and multiplication defined by [math]\displaystyle{ (a,b) (c,d) = (ac, bd). }[/math]
  • Although the ring [math]\displaystyle{ \R }[/math] is a field, [math]\displaystyle{ \R \times \R }[/math] is not, because the nonzero element [math]\displaystyle{ (1,0) }[/math] does not have a multiplicative inverse.

In a similar manner, we can talk about the direct product of finitely many algebraic structures, for example, [math]\displaystyle{ \R \times \R \times \R \times \R. }[/math] This relies on the direct product being associative up to isomorphism. That is, [math]\displaystyle{ (A \times B) \times C \cong A \times (B \times C) }[/math] for any algebraic structures [math]\displaystyle{ A, }[/math] [math]\displaystyle{ B, }[/math] and [math]\displaystyle{ C }[/math] of the same kind. The direct product is also commutative up to isomorphism, that is, [math]\displaystyle{ A \times B \cong B \times A }[/math] for any algebraic structures [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] of the same kind. We can even talk about the direct product of infinitely many algebraic structures; for example we can take the direct product of countably many copies of [math]\displaystyle{ \mathbb R, }[/math] which we write as [math]\displaystyle{ \R \times \R \times \R \times \dotsb. }[/math]

Direct product of groups

Main pages: Direct product of groups and Direct sum

In group theory one can define the direct product of two groups [math]\displaystyle{ (G, \circ) }[/math] and [math]\displaystyle{ (H, \cdot), }[/math] denoted by [math]\displaystyle{ G \times H. }[/math] For abelian groups that are written additively, it may also be called the direct sum of two groups, denoted by [math]\displaystyle{ G \oplus H. }[/math]

It is defined as follows:

  • the set of the elements of the new group is the Cartesian product of the sets of elements of [math]\displaystyle{ G \text{ and } H, }[/math] that is [math]\displaystyle{ \{(g, h) : g \in G, h \in H\}; }[/math]
  • on these elements put an operation, defined element-wise: [math]\displaystyle{ (g, h) \times \left(g', h'\right) = \left(g \circ g', h \cdot h'\right) }[/math]

Note that [math]\displaystyle{ (G, \circ) }[/math] may be the same as [math]\displaystyle{ (H, \cdot). }[/math]

This construction gives a new group. It has a normal subgroup isomorphic to [math]\displaystyle{ G }[/math] (given by the elements of the form [math]\displaystyle{ (g, 1) }[/math]), and one isomorphic to [math]\displaystyle{ H }[/math] (comprising the elements [math]\displaystyle{ (1, h) }[/math]).

The reverse also holds. There is the following recognition theorem: If a group [math]\displaystyle{ K }[/math] contains two normal subgroups [math]\displaystyle{ G \text{ and } H, }[/math] such that [math]\displaystyle{ K = GH }[/math] and the intersection of [math]\displaystyle{ G \text{ and } H }[/math] contains only the identity, then [math]\displaystyle{ K }[/math] is isomorphic to [math]\displaystyle{ G \times H. }[/math] A relaxation of these conditions, requiring only one subgroup to be normal, gives the semidirect product.

As an example, take as [math]\displaystyle{ G \text{ and } H }[/math] two copies of the unique (up to isomorphisms) group of order 2, [math]\displaystyle{ C^2: }[/math] say [math]\displaystyle{ \{1, a\} \text{ and } \{1, b\}. }[/math] Then [math]\displaystyle{ C_2 \times C_2 = \{(1,1), (1,b), (a,1), (a,b)\}, }[/math] with the operation element by element. For instance, [math]\displaystyle{ (1,b)^* (a,1) = \left(1^* a, b^* 1\right) = (a, b), }[/math] and[math]\displaystyle{ (1,b)^* (1, b) = \left(1, b^2\right) = (1, 1). }[/math]

With a direct product, we get some natural group homomorphisms for free: the projection maps defined by [math]\displaystyle{ \begin{align} \pi_1: G \times H \to G, \ \ \pi_1(g, h) &= g \\ \pi_2: G \times H \to H, \ \ \pi_2(g, h) &= h \end{align} }[/math] are called the coordinate functions.

Also, every homomorphism [math]\displaystyle{ f }[/math] to the direct product is totally determined by its component functions [math]\displaystyle{ f_i = \pi_i \circ f. }[/math]

For any group [math]\displaystyle{ (G, \circ) }[/math] and any integer [math]\displaystyle{ n \geq 0, }[/math] repeated application of the direct product gives the group of all [math]\displaystyle{ n }[/math]-tuples [math]\displaystyle{ G^n }[/math] (for [math]\displaystyle{ n = 0, }[/math] this is the trivial group), for example [math]\displaystyle{ \Z^n }[/math] and [math]\displaystyle{ \R^n. }[/math]

Direct product of modules

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 [math]\displaystyle{ \R }[/math] we get Euclidean space [math]\displaystyle{ \R^n, }[/math] the prototypical example of a real [math]\displaystyle{ n }[/math]-dimensional vector space. The direct product of [math]\displaystyle{ \R^m }[/math] and [math]\displaystyle{ \R^n }[/math] is [math]\displaystyle{ \R^{m+n}. }[/math]

Note that a direct product for a finite index [math]\displaystyle{ \prod_{i=1}^n X_i }[/math] is canonically isomorphic to the direct sum [math]\displaystyle{ \bigoplus_{i=1}^n X_i. }[/math] 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 [math]\displaystyle{ X = \prod_{i=1}^\infty \R }[/math] and [math]\displaystyle{ Y = \bigoplus_{i=1}^\infty \R, }[/math] the infinite direct product and direct sum of the real numbers. Only sequences with a finite number of non-zero elements are in [math]\displaystyle{ Y. }[/math] For example, [math]\displaystyle{ (1, 0, 0, 0, \ldots) }[/math] is in [math]\displaystyle{ Y }[/math] but [math]\displaystyle{ (1, 1, 1, 1, \ldots) }[/math] is not. Both of these sequences are in the direct product [math]\displaystyle{ X; }[/math] in fact, [math]\displaystyle{ Y }[/math] is a proper subset of [math]\displaystyle{ X }[/math] (that is, [math]\displaystyle{ Y \subset X }[/math]).[1][2]

Topological space direct product

The direct product for a collection of topological spaces [math]\displaystyle{ X_i }[/math] for [math]\displaystyle{ i }[/math] in [math]\displaystyle{ I, }[/math] some index set, once again makes use of the Cartesian product [math]\displaystyle{ \prod_{i \in I} X_i. }[/math]

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: [math]\displaystyle{ \mathcal B = \left\{U_1 \times \cdots \times U_n\ : \ U_i\ \mathrm{open\ in}\ X_i\right\}. }[/math]

This topology is called the product topology. For example, directly defining the product topology on [math]\displaystyle{ \R^2 }[/math] by the open sets of [math]\displaystyle{ \R }[/math] (disjoint unions of open intervals), the basis for this topology would consist of all disjoint unions of open rectangles in the plane (as it turns out, it coincides with the usual metric topology).

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: [math]\displaystyle{ \mathcal B = \left\{ \prod_{i \in I} U_i\ : \ (\exists j_1,\ldots,j_n)(U_{j_i}\ \mathrm{open\ in}\ X_{j_i})\ \mathrm{and}\ (\forall i \neq j_1,\ldots,j_n)(U_i = X_i) \right\}. }[/math]

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.

Direct product of binary relations

On the Cartesian product of two sets with binary relations [math]\displaystyle{ R \text{ and } S, }[/math] define [math]\displaystyle{ (a, b) T (c, d) }[/math] as [math]\displaystyle{ a R c \text{ and } b S d. }[/math] If [math]\displaystyle{ R \text{ and } S }[/math] are both reflexive, irreflexive, transitive, symmetric, or antisymmetric, then [math]\displaystyle{ T }[/math] will be also.[3] Similarly, totality of [math]\displaystyle{ T }[/math] is inherited from [math]\displaystyle{ R \text{ and } S. }[/math] Combining properties it follows that this also applies for being a preorder and being an equivalence relation. However, if [math]\displaystyle{ R \text{ and } S }[/math] are connected relations, [math]\displaystyle{ T }[/math] need not be connected; for example, the direct product of [math]\displaystyle{ \,\leq\, }[/math] on [math]\displaystyle{ \N }[/math] with itself does not relate [math]\displaystyle{ (1, 2) \text{ and } (2, 1). }[/math]

Direct product in universal algebra

If [math]\displaystyle{ \Sigma }[/math] is a fixed signature, [math]\displaystyle{ I }[/math] is an arbitrary (possibly infinite) index set, and [math]\displaystyle{ \left(\mathbf{A}_i\right)_{i \in I} }[/math] is an indexed family of [math]\displaystyle{ \Sigma }[/math] algebras, the direct product [math]\displaystyle{ \mathbf{A} = \prod_{i \in I} \mathbf{A}_i }[/math] is a [math]\displaystyle{ \Sigma }[/math] algebra defined as follows:

  • The universe set [math]\displaystyle{ A }[/math] of [math]\displaystyle{ \mathbf{A} }[/math] is the Cartesian product of the universe sets [math]\displaystyle{ A_i }[/math] of [math]\displaystyle{ \mathbf{A}_i, }[/math] formally: [math]\displaystyle{ A = \prod_{i \in I} A_i. }[/math]
  • For each [math]\displaystyle{ n }[/math] and each [math]\displaystyle{ n }[/math]-ary operation symbol [math]\displaystyle{ f \in \Sigma, }[/math] its interpretation [math]\displaystyle{ f^{\mathbf{A}} }[/math] in [math]\displaystyle{ \mathbf{A} }[/math] is defined componentwise, formally: for all [math]\displaystyle{ a_1, \dotsc, a_n \in A }[/math] and each [math]\displaystyle{ i \in I, }[/math] the [math]\displaystyle{ i }[/math]th component of [math]\displaystyle{ f^{\mathbf{A}}\!\left(a_1, \dotsc, a_n\right) }[/math] is defined as [math]\displaystyle{ f^{\mathbf{A}_i}\!\left(a_1(i), \dotsc, a_n(i)\right). }[/math]

For each [math]\displaystyle{ i \in I, }[/math] the [math]\displaystyle{ i }[/math]th projection [math]\displaystyle{ \pi_i : A \to A_i }[/math] is defined by [math]\displaystyle{ \pi_i(a) = a(i). }[/math] It is a surjective homomorphism between the [math]\displaystyle{ \Sigma }[/math] algebras [math]\displaystyle{ \mathbf{A} \text{ and } \mathbf{A}_i. }[/math][4]

As a special case, if the index set [math]\displaystyle{ I = \{1, 2\}, }[/math] the direct product of two [math]\displaystyle{ \Sigma }[/math] algebras [math]\displaystyle{ \mathbf{A}_1 \text{ and } \mathbf{A}_2 }[/math] is obtained, written as [math]\displaystyle{ \mathbf{A} = \mathbf{A}_1 \times \mathbf{A}_2. }[/math] If [math]\displaystyle{ \Sigma }[/math] just contains one binary operation [math]\displaystyle{ f, }[/math] the above definition of the direct product of groups is obtained, using the notation [math]\displaystyle{ A_1 = G, A_2 = H, }[/math] [math]\displaystyle{ f^{A_1} = \circ, \ f^{A_2} = \cdot, \ \text{ and } f^A = \times. }[/math] Similarly, the definition of the direct product of modules is subsumed here.

Categorical product

Main page: Product (category theory)

The direct product can be abstracted to an arbitrary category. In a category, given a collection of objects [math]\displaystyle{ (A_i)_{i \in I} }[/math] indexed by a set [math]\displaystyle{ I }[/math], a product of these objects is an object [math]\displaystyle{ A }[/math] together with morphisms [math]\displaystyle{ p_i \colon A \to A_i }[/math] for all [math]\displaystyle{ i \in I }[/math], such that if [math]\displaystyle{ B }[/math] is any other object with morphisms [math]\displaystyle{ f_i \colon B \to A_i }[/math] for all [math]\displaystyle{ i \in I }[/math], there exists a unique morphism [math]\displaystyle{ B \to A }[/math] whose composition with [math]\displaystyle{ p_i }[/math] equals [math]\displaystyle{ f_i }[/math] for every [math]\displaystyle{ i }[/math]. Such [math]\displaystyle{ A }[/math] and [math]\displaystyle{ (p_i)_{i \in I} }[/math] do not always exist. If they do exist, then [math]\displaystyle{ (A,(p_i)_{i \in I}) }[/math] is unique up to isomorphism, and [math]\displaystyle{ A }[/math] is denoted [math]\displaystyle{ \prod_{i \in I} A_i }[/math].

In the special case of the category of groups, a product always exists: the underlying set of [math]\displaystyle{ \prod_{i \in I} A_i }[/math] is the Cartesian product of the underlying sets of the [math]\displaystyle{ A_i }[/math], the group operation is componentwise multiplication, and the (homo)morphism [math]\displaystyle{ p_i \colon A \to A_i }[/math] is the projection sending each tuple to its [math]\displaystyle{ i }[/math]th coordinate.

Internal and external direct product

Some authors draw a distinction between an internal direct product and an external direct product. If [math]\displaystyle{ A, B \subseteq X }[/math] and [math]\displaystyle{ A \times B \cong X, }[/math] then we say that [math]\displaystyle{ X }[/math] is an internal direct product of [math]\displaystyle{ A \text{ and } B, }[/math] while if [math]\displaystyle{ A \text{ and } B }[/math] are not subobjects then we say that this is an external direct product.

See also

Notes

  1. Weisstein, Eric W.. "Direct Product" (in en). http://mathworld.wolfram.com/DirectProduct.html. 
  2. Weisstein, Eric W.. "Group Direct Product" (in en). http://mathworld.wolfram.com/GroupDirectProduct.html. 
  3. "Equivalence and Order". http://cr.yp.to/2005-261/bender1/EO.pdf. 
  4. Stanley N. Burris and H.P. Sankappanavar, 1981. A Course in Universal Algebra. Springer-Verlag. ISBN:3-540-90578-2. Here: Def. 7.8, p. 53 (p. 67 in PDF)

References

ru:Прямое произведение#Прямое произведение групп