Direct sum of modules
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 and abelian groups. The construction may also be extended to cover Banach spaces and Hilbert spaces.
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 generalise 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 by defining the operations componentwise:- + =
- α =
The resulting vector space is called the direct sum of V and W and is usually denoted by a plus symbol inside a circle:
It is customary to write the elements of an ordered sum not as ordered pairs, but as a sum v + w.
The subspace V × of V ⊕ W is isomorphic to V and is often identified with V; similarly for × W and W. 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:
This construction readily generalises 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. Thus the cartesian product G × H is equipped with the structure of an abelian group by defining the operations componentwise:- + =
Integral multiples are similarly defined componentwise by
- n =
The resulting abelian group is called the direct sum of G and H and is usually denoted by a plus symbol inside a circle:
It is customary to write the elements of an ordered sum not as ordered pairs, but as a sum g + h.
The subgroup G × of G ⊕ H is isomorphic to G and is often identified with G; similarly for × H and H. 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.Let R be a ring, and a family of left R-modules indexed by the set I. The direct sum of is then defined to be the set of all sequences where and for cofinitely many indices i.
It can also be defined as functions α from I to the disjoint union of the modules Mi such that α ∈ Mi for all i ∈ I and α = 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 being.
This set inherits the module structure via component-wise addition and scalar multiplication. Explicitly, two such sequences α and β can be added by writing for all i, and such a function can be multiplied with an element r from R by defining for all i. In this way, the direct sum becomes a left R-module, and it is denoted
It is customary to write the sequence as a sum. Sometimes a primed summation is used to indicate that cofinitely many of the terms are zero.
Properties
- The direct sum is a submodule of the direct product of the modules Mi. The direct product is the set of all functions α from I to the disjoint union of the modules Mi with α∈Mi, but not necessarily vanishing for all but finitely many i. If the index set I is finite, then the direct sum and the direct product are equal.
- Each of the modules Mi may be identified with the submodule of the direct sum consisting of those functions which vanish on all indices different from i. With these identifications, every element x of the direct sum can be written in one and only one way as a sum of finitely many elements from the modules Mi.
- If the Mi are actually vector spaces, then the dimension of the direct sum is equal to the sum of the dimensions of the Mi. The same is true for the rank of abelian groups and the length of modules.
- Every vector space over the field K is isomorphic to a direct sum of sufficiently many copies of K, so in a sense only these direct sums have to be considered. This is not true for modules over arbitrary rings.
- The tensor product distributes over direct sums in the following sense: if N is some right R-module, then the direct sum of the tensor products of N with Mi is naturally isomorphic to the tensor product of N with the direct sum of the Mi.
- Direct sums are commutative and associative, meaning that it doesn't matter in which order one forms the direct sum.
- The abelian group of R-linear homomorphisms from the direct sum to some left R-module L is naturally isomorphic to the direct product of the abelian groups of R-linear homomorphisms from Mi to L:
- ::
- :Indeed, there is clearly a homomorphism τ from the left hand side to the right hand side, where τ is the R-linear homomorphism sending x∈Mi to θ. The inverse of the homomorphism τ is defined by
- :
- :for any α in the direct sum of the modules Mi. The key point is that the definition of τ−1 makes sense because α is zero for all but finitely many i, and so the sum is finite.
- :In particular, the dual vector space of a direct sum of vector spaces is isomorphic to the direct product of the duals of those spaces.
- The finite direct sum of modules is a biproduct: If
- ::
- :are the canonical projection mappings and
- ::
- :are the inclusion mappings, then
- ::
- :equals the identity morphism of A1 ⊕ ··· ⊕ An, and
- ::
- :is the identity morphism of Ak in the case l=k, and is the zero map otherwise.
Internal direct sum
A submodule N of M is a direct summand of M if there exists some other submodule N′ of M such that M is the internal direct sum of N and N′. In this case, N and N′ are complementary submodules.
Universal property
In the language of category theory, the direct sum is a coproduct and hence a colimit in the category of left R-modules, which means that it is characterized by the following universal property. For every i in I, consider the natural embeddingwhich sends the elements of Mi to those functions which are zero for all arguments but i. If fi : Mi → M are arbitrary R-linear maps for every i, then there exists precisely one R-linear map
such that f o ji = fi for all i.
Grothendieck group
The direct sum gives a collection of objects the structure of a commutative monoid, in that the addition of objects is defined, but not subtraction. In fact, subtraction can be defined, and every commutative monoid can be extended to an abelian group. This extension is known as the Grothendieck group. The extension is done by defining equivalence classes of pairs of objects, which allows certain pairs to be treated as inverses. The construction, detailed in the article on the Grothendieck group, is "universal", in that it has the universal property of being unique, and homomorphic to any other embedding of a commutative monoid in an abelian group.Direct sum of modules with additional structure
If the modules we are considering carry some additional structure, then the direct sum of the modules can often be made to carry this additional structure, as well. In this case, we obtain the coproduct in the appropriate category of all objects carrying the additional structure. Two prominent examples occur for Banach spaces and Hilbert spaces.In some classical texts, the notion of direct sum of algebras over a field is also introduced. This construction, however, does not provide a coproduct in the category of algebras, but a direct product.
Direct sum of algebras
A direct sum of algebras X and Y is the direct sum as vector spaces, with productConsider these classical examples:
Joseph Wedderburn exploited the concept of a direct sum of algebras in his classification of hypercomplex numbers. See his Lectures on Matrices, page 151.
Wedderburn makes clear the distinction between a direct sum and a direct product of algebras: For the direct sum the field of scalars acts jointly on both parts: while for the direct product a scalar factor may be collected alternately with the parts, but not both:.
Ian R. Porteous uses the three direct sums above, denoting them, as rings of scalars in his analysis of Clifford Algebras and the Classical Groups.
The construction described above, as well as Wedderburn's use of the terms direct sum and direct product follow a different convention from the one in category theory. In categorical terms, Wedderburn's direct sum is a categorical product, whilst Wedderburn's direct product is a coproduct, which actually corresponds to the tensor product of algebras.
Composition algebras
A composition algebra is an algebra over a field A, an involution * and a "norm" n = x x*. Any field K gives rise to a series of composition algebras beginning with K, and the trivial involution, so that n = x2. The inductive step in the series involves forming the direct sum A ⊕ A and using the new involutionLeonard Dickson developed this construction doubling quaternions for Cayley numbers, and the doubling method involving the direct sum A ⊕ A is called the Cayley–Dickson construction. In the instance beginning with K = ℝ, the series generates complex numbers, quaternions, octonions, and sedenions. Beginning with K = ℂ and the norm n = z2, the series continues with bicomplex numbers, biquaternions, and bioctonions.
Max Zorn realized that the classical Cayley–Dickson construction missed constructing some composition algebras that arise as real subalgebras in the series, in particular the split-octonions. A modified Cayley–Dickson construction, still based on use of the direct sum A ⊕ A of a base algebra A, has since been used to exhibit the series ℝ, split-complex numbers, split-quaternions, and split-octonions.
Direct sum of Banach spaces
The direct sum of two Banach spaces X and Y is the direct sum of X and Y considered as vector spaces, with the norm |||| = ||x||X + ||y||Y for all x in X and y in Y.
Generally, if Xi is a collection of Banach spaces, where i traverses the index set I, then the direct sum ⨁i∈I Xi is a module consisting of all functions x defined over I such that x ∈ Xi for all i ∈ I and
The norm is given by the sum above. The direct sum with this norm is again a Banach space.
For example, if we take the index set I = N and Xi = R, then the direct sum ⨁i∈NXi is the space l1, which consists of all the sequences of reals with finite norm ||a|| = ∑i |ai|.
A closed subspace A of a Banach space X is complemented if there is another closed subspace B of X such that X is equal to the internal direct sum. Note that not every closed subspace is complemented, e.g. c0 is not complemented in.
Direct sum of modules with bilinear forms
Let be a family indexed by I of modules equipped with bilinear forms. The orthogonal direct sum is the module direct sum with bilinear form B defined byin which the summation makes sense even for infinite index sets I because only finitely many of the terms are non-zero.
Direct sum of Hilbert spaces
If finitely many Hilbert spaces H1,...,Hn are given, one can construct their orthogonal direct sum as above, defining the inner product as:The resulting direct sum is a Hilbert space which contains the given Hilbert spaces as mutually orthogonal subspaces.
If infinitely many Hilbert spaces Hi for i in I are given, we can carry out the same construction; notice that when defining the inner product, only finitely many summands will be non-zero. However, the result will only be an inner product space and it will not necessarily be complete. We then define the direct sum of the Hilbert spaces Hi to be the completion of this inner product space.
Alternatively and equivalently, one can define the direct sum of the Hilbert spaces Hi as the space of all functions α with domain I, such that α is an element of Hi for every i in I and:
The inner product of two such function α and β is then defined as:
This space is complete and we get a Hilbert space.
For example, if we take the index set I = N and Xi = R, then the direct sum ⨁i∈N Xi is the space l2, which consists of all the sequences of reals with finite norm. Comparing this with the example for Banach spaces, we see that the Banach space direct sum and the Hilbert space direct sum are not necessarily the same. But if there are only finitely many summands, then the Banach space direct sum is isomorphic to the Hilbert space direct sum, although the norm will be different.
Every Hilbert space is isomorphic to a direct sum of sufficiently many copies of the base field. This is equivalent to the assertion that every Hilbert space has an orthonormal basis. More generally, every closed subspace of a Hilbert space is complemented: it admits an orthogonal complement. Conversely, the Lindenstrauss–Tzafriri theorem asserts that if every closed subspace of a Banach space is complemented, then the Banach space is isomorphic to a Hilbert space.