Product
Given a category
and collection of objects the product is an object with morphisms such that for all and collection of morphisms , there exists a unique morphism such that the following diagram commutes
Coproduct
Given a category
and collection of objects the coproduct is an object with morphisms such that for all and colection of morphisms , there exists a unique morphism such that and the following diagram commutes
Hom-functor
Let
be a category and . Define the covariant hom-functor which sends to and to , . Letting
, the contravariant hom-functor sends to and each arrow to the function ,
Show duality of product and coproduct in homset
Let
be a category. Denote as the coproduct of and the product of . Show that the following hom-functors are isomorphic
We will prove the equivalence by showing there is a natural isomorphism. For convenience, denote
(1) Let
By universal property of coproduct, for all
(2) Given an arrow

Show ring homomorphism induces homomorphism between
There are functors
and from to . Show that there is a natural transformation from to .
For a commutative ring
Consider the natural transformation
