In mathematics, more specifically in algebra, the direct sum of a collection of abelian groups is an abelian group constructed by combining the given groups as described below. If the input abelian groups have additional structure (for example, are vector spaces, modules, or topological abelian groups), then the direct sum usually maintains that structure (as an example of the opposite, the direct sum of fields is not a field as it contains zero divisors). The direct sum of two abelian groups A and B is another abelian group A⊕B consisting of the ordered pairs (a,b) where a∈A and b∈B. The sum (a,b)+(c,d) is defined to be (a+c,b+d); in other words, addition is defined coordinate-wise and it is usually denoted with +. For example, the direct sum ℝ⊕ℝ, where ℝ is real coordinate space, is the Cartesian plane, ℝ2. Direct sums can also be formed with any finite number of summands; for example, A⊕B⊕C, provided A,B, and C are the same kinds of algebraic structures (e.g., all abelian groups, or all vector spaces). That relies on the fact that the direct sum is associative up to isomorphism. That is, (A⊕B)⊕C≅A⊕(B⊕C) for any algebraic structures A, B, and C of the same kind. The direct sum is also commutative up to isomorphism, (i.e. A⊕B≅B⊕A) for any algebraic structures A and B of the same kind. The direct sum of finitely many abelian groups, vector spaces, or modules is canonically isomorphic to the corresponding direct product. 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. For example, consider the direct sum and the 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, given an indexed family of structures (Ai)i∈I, the direct sum A=⨁i∈IAiis defined to be the set of tuples (ai)i∈I with ai∈Ai such that ai=0 for all but finitely many i. Each of the Ai is called a direct summand of A. If the set I is finite, the direct sum ⨁i∈IAi is contained in the direct product ∏i∈IAi, but is strictly smaller when the index set I is infinite, because an element of the direct product can have infinitely many nonzero coordinates.
Examples The xy-plane, a two-dimensional vector space, can be thought of as the direct sum of two one-dimensional vector spaces: the x and y axes. In this direct sum, the x and y axes intersect only at the origin (the zero vector). Addition and scalar mutiplication are both defined coordinate-wise; that is, (x1,y1)+(x2,y2)=(x1+x2,y1+y2), and λ(x,y)=(λx,λy) which are the same as in the xy-plane.
Internal and external direct sums A distinction is made between internal and external direct sums though both are isomorphic. If the summands are defined first, and the direct sum is then defined in terms of the summands, it is called an external direct sum. For example, if the real numbers ℝ are defined, followed by ℝ⊕ℝ, the direct sum is said to be external. If, on the other hand, some algebraic structure S is defined, and S is proven to be isomorphic to the direct sum of two (or more) substructures, the direct sum is said to be internal. In that case, each element of S is expressible uniquely as a finite algebraic combination of elements in each of the substructures. For an example of an internal direct sum, consider the ring ℤ6 (the integers modulo six), whose elements are {0,1,2,3,4,5}. This is expressible as an internal direct sum ℤ6={0,2,4}⊕{0,3}≅ℤ3⊕ℤ2.
Types of direct sums
Direct sum of abelian groups
The direct sum of abelian groups is a prototypical example of a direct sum. Given two such groups (A,∘) and (B,∙), their direct sum A⊕B is the same as their direct product. That is, the underlying set is the Cartesian product A×B and the group operation ⋅ is defined component-wise: (a1,b1)⋅(a2,b2)=(a1∘a2,b1∙b2). This definition generalizes to direct sums of finitely many abelian groups. For an arbitrary family of groups Ai indexed by i∈I, their direct sum ⨁i∈IAi is the subgroup of the direct product that consists of the elements (ai)i∈I∈∏i∈IAi that have finite support, where, by definition, (ai)i∈I is said to have finite support if ai is the identity element of Ai for all but finitely many i. The direct sum of an infinite family (Ai)i∈I of non-trivial groups is a proper subgroup of the product group ∏i∈IAi.
Direct sum of modules
The direct sum of modules is a construction that combines several modules into a new module. The most familiar examples of that construction occur in 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
An additive category is an abstraction of the properties of the category of modules. In such a category, finite products and coproducts agree, and the direct sum is either of them: cf. biproduct. More generally, 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, the direct sum is a coproduct. That is also true in the category of modules.
Direct sum of group representations
… excerpt ends here. Continue reading the full article.