Direct sum

From HandWiki
Short description: Operation in abstract algebra composing objects into "more complicated" objects

The direct sum is an operation between structures in abstract algebra, a branch of mathematics. It is defined differently, but analogously, for different kinds of structures. To see how the direct sum is used in abstract algebra, consider a more elementary kind of structure, the abelian group. The direct sum of two abelian groups [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] is another abelian group [math]\displaystyle{ A\oplus B }[/math] consisting of the ordered pairs [math]\displaystyle{ (a,b) }[/math] where [math]\displaystyle{ a \in A }[/math] and [math]\displaystyle{ b \in B }[/math]. To add ordered pairs, we define the sum [math]\displaystyle{ (a, b) + (c, d) }[/math] to be [math]\displaystyle{ (a + c, b + d) }[/math]; in other words addition is defined coordinate-wise. For example, the direct sum [math]\displaystyle{ \Reals \oplus \Reals }[/math], where [math]\displaystyle{ \Reals }[/math] is real coordinate space, is the Cartesian plane, [math]\displaystyle{ \R ^2 }[/math]. A similar process can be used to form the direct sum of two vector spaces or two modules.

We can also form direct sums with any finite number of summands, for example [math]\displaystyle{ A \oplus B \oplus C }[/math], provided [math]\displaystyle{ A, B, }[/math] and [math]\displaystyle{ C }[/math] are the same kinds of algebraic structures (e.g., all abelian groups, or all vector spaces). This relies on the fact that the direct sum is associative up to isomorphism. That is, [math]\displaystyle{ (A \oplus B) \oplus C \cong A \oplus (B \oplus 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 sum is also commutative up to isomorphism, i.e. [math]\displaystyle{ A \oplus B \cong B \oplus A }[/math] for any algebraic structures [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] of the same kind.

The direct sum of finitely many abelian groups, vector spaces, or modules is canonically isomorphic to the corresponding direct product. This is false, however, for some algebraic objects, like nonabelian groups.

In the case where infinitely many objects are combined, the direct sum and direct product are not isomorphic, even for abelian groups, vector spaces, or modules. As an example, consider the direct sum and direct product of (countably) infinitely many copies of the integers. An element in the direct product is an infinite sequence, such as (1,2,3,...) but in the direct sum, there is a requirement that all but finitely many coordinates be zero, so the sequence (1,2,3,...) would be an element of the direct product but not of the direct sum, while (1,2,0,0,0,...) would be an element of both. Often, if a + sign is used, all but finitely many coordinates must be zero, while if some form of multiplication is used, all but finitely many coordinates must be 1. In more technical language, if the summands are [math]\displaystyle{ (A_i)_{i \in I} }[/math], the direct sum [math]\displaystyle{ \bigoplus_{i \in I} A_i }[/math] is defined to be the set of tuples [math]\displaystyle{ (a_i)_{i \in I} }[/math] with [math]\displaystyle{ a_i \in A_i }[/math] such that [math]\displaystyle{ a_i=0 }[/math] for all but finitely many i. The direct sum [math]\displaystyle{ \bigoplus_{i \in I} A_i }[/math] is contained in the direct product [math]\displaystyle{ \prod_{i \in I} A_i }[/math], but is strictly smaller when the index set [math]\displaystyle{ I }[/math] is infinite, because an element of the direct product can have infinitely many nonzero coordinates.[1]

Examples

The xy-plane, a two-dimensional vector space, can be thought of as the direct sum of two one-dimensional vector spaces, namely the x and y axes. In this direct sum, the x and y axes intersect only at the origin (the zero vector). Addition is defined coordinate-wise, that is [math]\displaystyle{ (x_1,y_1) + (x_2,y_2) = (x_1+x_2, y_1 + y_2) }[/math], which is the same as vector addition.

Given two structures [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math], their direct sum is written as [math]\displaystyle{ A\oplus B }[/math]. Given an indexed family of structures [math]\displaystyle{ A_i }[/math], indexed with [math]\displaystyle{ i \in I }[/math], the direct sum may be written [math]\displaystyle{ A=\bigoplus_{i\in I}A_i }[/math]. Each Ai is called a direct summand of A. If the index set is finite, the direct sum is the same as the direct product. In the case of groups, if the group operation is written as [math]\displaystyle{ + }[/math] the phrase "direct sum" is used, while if the group operation is written [math]\displaystyle{ * }[/math] the phrase "direct product" is used. When the index set is infinite, the direct sum is not the same as the direct product since the direct sum has the extra requirement that all but finitely many coordinates must be zero.

Internal and external direct sums

A distinction is made between internal and external direct sums, though the two are isomorphic. If the summands are defined first, and then the direct sum is defined in terms of the summands, we have an external direct sum. For example, if we define the real numbers [math]\displaystyle{ \mathbb{R} }[/math] and then define [math]\displaystyle{ \mathbb{R} \oplus \mathbb{R} }[/math] the direct sum is said to be external.

If, on the other hand, we first define some algebraic structure [math]\displaystyle{ S }[/math] and then write [math]\displaystyle{ S }[/math] as a direct sum of two substructures [math]\displaystyle{ V }[/math] and [math]\displaystyle{ W }[/math], then the direct sum is said to be internal. In this case, each element of [math]\displaystyle{ S }[/math] is expressible uniquely as an algebraic combination of an element of [math]\displaystyle{ V }[/math] and an element of [math]\displaystyle{ W }[/math]. For an example of an internal direct sum, consider [math]\displaystyle{ \mathbb Z_6 }[/math] (the integers modulo six), whose elements are [math]\displaystyle{ \{0, 1, 2, 3, 4, 5\} }[/math]. This is expressible as an internal direct sum [math]\displaystyle{ \mathbb Z_6 = \{0, 2, 4\} \oplus \{0, 3\} }[/math].

Types of direct sum

Direct sum of abelian groups

Main page: Direct product of groups

The direct sum of abelian groups is a prototypical example of a direct sum. Given two such groups [math]\displaystyle{ (A, \circ) }[/math] and [math]\displaystyle{ (B, \bullet), }[/math] their direct sum [math]\displaystyle{ A \oplus B }[/math] is the same as their direct product. That is, the underlying set is the Cartesian product [math]\displaystyle{ A \times B }[/math] and the group operation [math]\displaystyle{ \,\cdot\, }[/math] is defined component-wise: [math]\displaystyle{ \left(a_1, b_1\right) \cdot \left(a_2, b_2\right) = \left(a_1 \circ a_2, b_1 \bullet b_2\right). }[/math] This definition generalizes to direct sums of finitely many abelian groups.

For an arbitrary family of groups [math]\displaystyle{ A_i }[/math] indexed by [math]\displaystyle{ i \in I, }[/math] their direct sum[2] [math]\displaystyle{ \bigoplus_{i \in I} A_i }[/math] is the subgroup of the direct product that consists of the elements [math]\displaystyle{ \left(a_i\right)_{i \in I} \in \prod_{i \in I} A_i }[/math] that have finite support, where by definition, [math]\displaystyle{ \left(a_i\right)_{i \in I} }[/math] is said to have finite support if [math]\displaystyle{ a_i }[/math] is the identity element of [math]\displaystyle{ A_i }[/math] for all but finitely many [math]\displaystyle{ i. }[/math][3] The direct sum of an infinite family [math]\displaystyle{ \left(A_i\right)_{i \in I} }[/math] of non-trivial groups is a proper subgroup of the product group [math]\displaystyle{ \prod_{i \in I} A_i. }[/math]

Direct sum of modules

Main page: Direct sum of modules

The direct sum of modules is a construction which combines several modules into a new module.

The most familiar examples of this construction occur when considering vector spaces, which are modules over a field. The construction may also be extended to Banach spaces and Hilbert spaces.

Direct sum in categories

Main page: Coproduct

An additive category is an abstraction of the properties of the category of modules.[4][5] In such a category, finite products and coproducts agree and the direct sum is either of them, cf. biproduct.

General case:[2] In category theory the direct sum is often, but not always, the coproduct in the category of the mathematical objects in question. For example, in the category of abelian groups, direct sum is a coproduct. This is also true in the category of modules.

Direct sums versus coproducts in category of groups

However, the direct sum [math]\displaystyle{ S_3 \oplus \Z_2 }[/math] (defined identically to the direct sum of abelian groups) is not a coproduct of the groups [math]\displaystyle{ S_3 }[/math] and [math]\displaystyle{ \Z_2 }[/math] in the category of groups. So for this category, a categorical direct sum is often simply called a coproduct to avoid any possible confusion.

Direct sum of group representations

The direct sum of group representations generalizes the direct sum of the underlying modules, adding a group action to it. Specifically, given a group [math]\displaystyle{ G }[/math] and two representations [math]\displaystyle{ V }[/math] and [math]\displaystyle{ W }[/math] of [math]\displaystyle{ G }[/math] (or, more generally, two [math]\displaystyle{ G }[/math]-modules), the direct sum of the representations is [math]\displaystyle{ V \oplus W }[/math] with the action of [math]\displaystyle{ g \in G }[/math] given component-wise, that is, [math]\displaystyle{ g \cdot (v, w) = (g \cdot v, g \cdot w). }[/math] Another equivalent way of defining the direct sum is as follows:

Given two representations [math]\displaystyle{ (V, \rho_V) }[/math] and [math]\displaystyle{ (W, \rho_W) }[/math] the vector space of the direct sum is [math]\displaystyle{ V \oplus W }[/math] and the homomorphism [math]\displaystyle{ \rho_{V \oplus W} }[/math] is given by [math]\displaystyle{ \alpha \circ (\rho_V \times \rho_W), }[/math] where [math]\displaystyle{ \alpha: GL(V) \times GL(W) \to GL(V \oplus W) }[/math] is the natural map obtained by coordinate-wise action as above.

Furthermore, if [math]\displaystyle{ V,\,W }[/math] are finite dimensional, then, given a basis of [math]\displaystyle{ V,\,W }[/math], [math]\displaystyle{ \rho_V }[/math] and [math]\displaystyle{ \rho_W }[/math] are matrix-valued. In this case, [math]\displaystyle{ \rho_{V \oplus W} }[/math] is given as [math]\displaystyle{ g \mapsto \begin{pmatrix}\rho_V(g) & 0 \\ 0 & \rho_W(g)\end{pmatrix}. }[/math]

Moreover, if we treat [math]\displaystyle{ V }[/math] and [math]\displaystyle{ W }[/math] as modules over the group ring [math]\displaystyle{ kG }[/math], where [math]\displaystyle{ k }[/math] is the field, then the direct sum of the representations [math]\displaystyle{ V }[/math] and [math]\displaystyle{ W }[/math] is equal to their direct sum as [math]\displaystyle{ kG }[/math] modules.

Direct sum of rings

Main page: Product of rings

Some authors will speak of the direct sum [math]\displaystyle{ R \oplus S }[/math] of two rings when they mean the direct product [math]\displaystyle{ R \times S }[/math], but this should be avoided[6] since [math]\displaystyle{ R \times S }[/math] does not receive natural ring homomorphisms from [math]\displaystyle{ R }[/math] and [math]\displaystyle{ S }[/math]: in particular, the map [math]\displaystyle{ R \to R \times S }[/math] sending [math]\displaystyle{ r }[/math] to [math]\displaystyle{ (r, 0) }[/math] is not a ring homomorphism since it fails to send 1 to [math]\displaystyle{ (1, 1) }[/math] (assuming that [math]\displaystyle{ 0 \neq 1 }[/math] in [math]\displaystyle{ S }[/math]). Thus [math]\displaystyle{ R \times S }[/math] is not a coproduct in the category of rings, and should not be written as a direct sum. (The coproduct in the category of commutative rings is the tensor product of rings.[7] In the category of rings, the coproduct is given by a construction similar to the free product of groups.)

Use of direct sum terminology and notation is especially problematic when dealing with infinite families of rings: If [math]\displaystyle{ (R_i)_{i \in I} }[/math] is an infinite collection of nontrivial rings, then the direct sum of the underlying additive groups can be equipped with termwise multiplication, but this produces a rng, that is, a ring without a multiplicative identity.

Direct sum of matrices

For any arbitrary matrices [math]\displaystyle{ \mathbf{A} }[/math] and [math]\displaystyle{ \mathbf{B} }[/math], the direct sum [math]\displaystyle{ \mathbf{A} \oplus \mathbf{B} }[/math] is defined as the block diagonal matrix of [math]\displaystyle{ \mathbf{A} }[/math] and [math]\displaystyle{ \mathbf{B} }[/math] if both are square matrices (and to an analogous block matrix, if not). [math]\displaystyle{ \mathbf{A} \oplus \mathbf{B} = \begin{bmatrix} \mathbf{A} & 0 \\ 0 & \mathbf{B} \end{bmatrix}. }[/math]

Direct sum of topological vector spaces

Main pages: Complemented subspace and Direct sum of topological groups

A topological vector space (TVS) [math]\displaystyle{ X, }[/math] such as a Banach space, is said to be a topological direct sum of two vector subspaces [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] if the addition map [math]\displaystyle{ \begin{alignat}{4} \ \;&& M \times N &&\;\to \;& X \\[0.3ex] && (m, n) &&\;\mapsto\;& m + n \\ \end{alignat} }[/math] is an isomorphism of topological vector spaces (meaning that this linear map is a bijective homeomorphism), in which case [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] are said to be topological complements in [math]\displaystyle{ X. }[/math] This is true if and only if when considered as additive topological groups (so scalar multiplication is ignored), [math]\displaystyle{ X }[/math] is the topological direct sum of the topological subgroups [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N. }[/math] If this is the case and if [math]\displaystyle{ X }[/math] is Hausdorff then [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] are necessarily closed subspaces of [math]\displaystyle{ X. }[/math]

If [math]\displaystyle{ M }[/math] is a vector subspace of a real or complex vector space [math]\displaystyle{ X }[/math] then there always exists another vector subspace [math]\displaystyle{ N }[/math] of [math]\displaystyle{ X, }[/math] called an algebraic complement of [math]\displaystyle{ M }[/math] in [math]\displaystyle{ X, }[/math] such that [math]\displaystyle{ X }[/math] is the algebraic direct sum of [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] (which happens if and only if the addition map [math]\displaystyle{ M \times N \to X }[/math] is a vector space isomorphism). In contrast to algebraic direct sums, the existence of such a complement is no longer guaranteed for topological direct sums.

A vector subspace [math]\displaystyle{ M }[/math] of [math]\displaystyle{ X }[/math] is said to be a (topologically) complemented subspace of [math]\displaystyle{ X }[/math] if there exists some vector subspace [math]\displaystyle{ N }[/math] of [math]\displaystyle{ X }[/math] such that [math]\displaystyle{ X }[/math] is the topological direct sum of [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N. }[/math] A vector subspace is called uncomplemented if it is not a complemented subspace. For example, every vector subspace of a Hausdorff TVS that is not a closed subset is necessarily uncomplemented. Every closed vector subspace of a Hilbert space is complemented. But every Banach space that is not a Hilbert space necessarily possess some uncomplemented closed vector subspace.

Homomorphisms

The direct sum [math]\displaystyle{ \bigoplus_{i \in I} A_i }[/math] comes equipped with a projection homomorphism [math]\displaystyle{ \pi_j \colon \, \bigoplus_{i \in I} A_i \to A_j }[/math] for each j in I and a coprojection [math]\displaystyle{ \alpha_j \colon \, A_j \to \bigoplus_{i \in I} A_i }[/math] for each j in I.[8] Given another algebraic structure [math]\displaystyle{ B }[/math] (with the same additional structure) and homomorphisms [math]\displaystyle{ g_j \colon A_j \to B }[/math] for every j in I, there is a unique homomorphism [math]\displaystyle{ g \colon \, \bigoplus_{i \in I} A_i \to B }[/math], called the sum of the gj, such that [math]\displaystyle{ g \alpha_j =g_j }[/math] for all j. Thus the direct sum is the coproduct in the appropriate category.

See also

Notes

  1. Thomas W. Hungerford, Algebra, p.60, Springer, 1974, ISBN:0387905189
  2. 2.0 2.1 Direct Sum in nLab
  3. Joseph J. Rotman, The Theory of Groups: an Introduction, p. 177, Allyn and Bacon, 1965
  4. "p.45"
  5. "Appendix". http://www.princeton.edu/~hhalvors/aqft.pdf. 
  6. Math StackExchange on direct sum of rings vs. direct product of rings.
  7. Lang 2002, section I.11
  8. Heunen, Chris (2009). Categorical Quantum Models and Logics. Pallas Proefschriften. Amsterdam University Press. p. 26. ISBN 978-9085550242. 

References