For every object in a category , we can consider the "hom-in" functor that is dual to the hom-out functor, that is the functor . In general this is a functor from to , although just as with the hom-out functor in the case of -modules we can consider it a functor with values in the category of abelian groups.
We now analyze the properties of this functor, in parallel with those of the hom-out functor.
The hom-in functor and direct products, sums
How does the hom-in functor interact with direct products? At first glance, it seems somewhat differently than the hom-out functor:
The hom-out functor exchanges direct sums for direct products
Suppose is an -module and is a family of -modules. There is an -module isomorphism
given by sending a morphism to the family of morphisms , where is the canonical injection.
Recall that for finite families the direct product and direct sum constructions are isomorphic, so in that case we can replace the direct product with a direct sum. Because of this, we might sometimes say that "the hom-in functor commutes with finite direct sums." The above result is a more honest picture of the general case, though.
This is actually directly analogous to the property for the hom-out functor, once we recall that the hom-in functor is a contravariant functor; i.e., . Note that direct products in the category correspond to direct sums in the category . So the above isomorphism can be viewed as the statement that the functor commutes with direct products in the domain and codomain categories. This is the identical property enjoyed by the functor .
The hom-in functor and exact sequences
The hom-in functor is left exact
Suppose we have an exact sequence of -modules
Then the corresponding sequence of abelian groups
is also exact.
More generally, if we have a short exact sequence of -modules
then the corresponding sequence of abelian groups below is also exact:
Notice that the on the far right of the sequence is gone! We have lost the "right end" of our exact sequence. Because of the above property, we say that the functor is left exact.
Is it ever the case that the functor is exact, in other words sends short exact sequences to short exact sequences?
Definition of an injective module
An -module is injective if for every short exact sequence of -modules
the corresponding sequence of abelian groups is also exact:
Here is a nice characterization of injective modules:
Equivalent condition of injective
An -module is injective if and only if whenever is a submodule of an -module then is a direct summand of .
Here is a nice characterization of injective -modules when is a PID:
Injective modules over PIDs
Suppose is a PID. An -module is injective if and only if for every nonzero .
In particular, an abelian group is injective if and only if it's divisible.
Corollary
If is a PID, then any quotient of an injective -module is injective.
Examples of injective modules
Every vector space is injective.
The abelian group is injective.
The quotient group is injective.
Any direct sum of injective -modules is injective; e.g., is injective.
Examples of non-injective modules
The abelian group is not injective.
Any nonzero finitely generated abelian group is not injective.