Suppose is a family of submodules of a fixed -module . We have four constructions available to create a new module:
Constructions as submodules
Let's first consider as a family of objects in the category (whose objects are the submodules of ).
The intersection of this family of submodules
In this category, the product of this family is called their intersection and is denoted . As a set, its elements are those elements contained in every submodule ; i.e., it is the set-theoretic intersection of the sets of elements of all . It is a submodule of , the largest submodule of contained within every submodule in the original family.
The sum of this family of submodules
Still considered as a family of objects in , the coproduct of the family is their sum and is denoted . As a set, its elements are all finite -linear sums of the form , where each and (all but finitely many of which are zero). It is a submodule of , the smallest submodule of that contains every submodule in the original family. In this module, different sums may represent the same element.
Constructions as modules
Now let's consider as a family of objects in the category .
The direct product of this family as modules
In this category, the product of this family is called the (direct) product and is denoted . As a set, its elements consist of maps from such that for every . When is finite, its elements can equivalently be viewed as -tuples of elements with for each . It is not a submodule of , nor does it literally contain any of the original submodules ; however, there are surjective morphisms from to each , and in the finite case there are injective morphisms from each into . This also means that we have an injective morphism . In the case of a finite set , this is an isomorphism.
The direct sum of this family as modules
In this category, the coproduct of this family is called their direct sum and is denoted . As a set, its elements are sometimes described as all formal finite -linear sums of the form , where each and (all but finitely many of which are zero). As mentioned previously, however, we should really view the elements of as functions where , all but finitely many zero (and where is any set containing all of the elements of every ).
In any case, it is not a submodule of , nor does it literally contain any of the modules from the original family; however, it does contain a copy of each of those submodules. In this module, different "formal sums" always represent different elements. There are no relations or simplifications, beyond that of combining or simplifying coefficients.
Relationships between these constructions
As mentioned previously, whenever is finite there is a natural isomorphism between the direct product over and the direct sum over . When is infinite, from our constructions we can see that there is an injective (but not surjective) module morphism .
There is also a special case in which the sum of a family of submodules is isomorphic to the direct sum of the family of submodules (viewed as modules).[1] We'll state the finite result for simplicity.
When a sum is a direct sum
Suppose is a family of submodules of an -module . There is an -module isomorphism
exactly when for every . In this case, the map is given simply by sending each formal sum to the corresponding (actual) sum in .
A word on language
The terms "Cartesian product" (of sets) and "direct product" (of modules, groups, etc.) is a bit antiquated. Each of these types of objects satisfies the "same" universal property from the point of view of category theory, which is simply that of a product. To make matters unnecessarily confusing, categorical products are special cases of a more general notion of limit, which was sometimes called "inverse limit" or "projective limit". This was to distinguish them from the dual of notion of colimit, which was once called "direct limit" or "inductive limit". So a direct product is an example of an inverse limit (not a direct limit), while a direct sum is an example of a colimit (or direct limit). Oof. Let's be kind to ourselves and stick simply with "product" and "coproduct".