In abstract algebra, the direct sum is a construction which combines several modules into a new, larger module. The direct sum of modules is the smallest module which contains the given modules as submodules with no "unnecessary" constraints, making it an example of a coproduct. Contrast with the direct product, which is the dual notion. The most familiar examples of this construction occur when considering vector spaces (modules over a field) and abelian groups (modules over the ring Z of integers). The construction may also be extended to cover Banach spaces and Hilbert spaces. See the article decomposition of a module for a way to write a module as a direct sum of submodules.
Construction for vector spaces and abelian groups We give the construction first in these two cases, under the assumption that we have only two objects. Then we generalize to an arbitrary family of arbitrary modules. The key elements of the general construction are more clearly identified by considering these two cases in depth.
Construction for two vector spaces Suppose V and W are vector spaces over the field K. The Cartesian product V × W can be given the structure of a vector space over K (Halmos 1974, §18) by defining the operations componentwise:
(v1, w1) + (v2, w2) = (v1 + v2, w1 + w2) α (v, w) = (α v, α w) for v, v1, v2 ∈ V, w, w1, w2 ∈ W, and α ∈ K. The resulting vector space is called the direct sum of V and W and is usually denoted by a plus symbol inside a circle: V⊕W It is customary to write the elements of an ordered sum not as ordered pairs (v, w), but as a sum v + w. The subspace V × {0} of V ⊕ W is isomorphic to V and is often identified with V; similarly for {0} × W and W. (See internal direct sum below.) With this identification, every element of V ⊕ W can be written in one and only one way as the sum of an element of V and an element of W. The dimension of V ⊕ W is equal to the sum of the dimensions of V and W. One elementary use is the reconstruction of a finite vector space from any subspace W and its orthogonal complement: ℝn=W⊕W⊥ This construction readily generalizes to any finite number of vector spaces.
Construction for two abelian groups For abelian groups G and H which are written additively, the direct product of G and H is also called a direct sum (Mac Lane & Birkhoff 1999, §V.6). Thus the Cartesian product G × H is equipped with the structure of an abelian group by defining the operations componentwise:
(g1, h1) + (g2, h2) = (g1 + g2, h1 + h2) for g1, g2 in G, and h1, h2 in H. Integral multiples are similarly defined componentwise by
n(g, h) = (ng, nh) for g in G, h in H, and n an integer. This parallels the extension of the scalar product of vector spaces to the direct sum above. The resulting abelian group is called the direct sum of G and H and is usually denoted by a plus symbol inside a circle: G⊕H It is customary to write the elements of an ordered sum not as ordered pairs (g, h), but as a sum g + h. The subgroup G × {0} of G ⊕ H is isomorphic to G and is often identified with G; similarly for {0} × H and H. (See internal direct sum below.) With this identification, it is true that every element of G ⊕ H can be written in one and only one way as the sum of an element of G and an element of H. The rank of G ⊕ H is equal to the sum of the ranks of G and H. This construction readily generalises to any finite number of abelian groups.
Construction for an arbitrary family of modules One should notice a clear similarity between the definitions of the direct sum of two vector spaces and of two abelian groups. In fact, each is a special case of the construction of the direct sum of two modules. Additionally, by modifying the definition one can accommodate the direct sum of an infinite family of modules. The precise definition is as follows (Bourbaki 1989, §II.1.6). Let R be a ring, and {Mi : i ∈ I} a family of left R-modules indexed by the set I. The direct sum of {Mi} is then defined to be the set of all sequences (αi) where αi∈Mi and αi=0 for cofinitely many indices i. (The direct product is analogous but the indices do not need to cofinitely vanish.) It can also be defined as functions α from I to the disjoint union of the modules Mi such that α(i) ∈ Mi for all i ∈ I and α(i) = 0 for cofinitely many indices i. These functions can equivalently be regarded as finitely supported sections of the fiber bundle over the index set I, with the fiber over i∈I being Mi. This set inherits the module structure via component-wise addition and scalar multiplication. Explicitly, two such sequences (or functions) α and β can be added by writing (α+β)i=αi+βi for all i (note that this is again zero for all but finitely many indices), and such a function can be multiplied with an element r from R by defining r(α)i=(rα)i for all i. In this way, the direct sum becomes a left R-module, and it is denoted ⨁i∈IMi. It is customary to write the sequence (αi) as a sum ∑αi. Sometimes a primed summation ∑′αi is used to indicate that cofinitely many of the terms are zero.
… excerpt ends here. Continue reading the full article.