Canonical: https://knowlpedia.com/algebra-modules/hom-sums-to-products/

# Hom turns sums into products

Hom out of a direct sum canonically identifies with the product of Homs.

**Hom turns sums into products**: Let \(\{M_i\}_{i\in I}\) be a family of \(R\)-modules and let \(N\) be an \(R\)-module. Restriction along the canonical maps \(\iota_i:M_i\to \bigoplus_{i\in I}M_i\) induces a [natural isomorphism](https://knowlpedia.com/algebra-category-theory/natural-isomorphism/)
\[
\operatorname{Hom}_R\Bigl(\bigoplus_{i\in I} M_i,\,N\Bigr)\;\cong\;\prod_{i\in I}\operatorname{Hom}_R(M_i,N).
\]

This expresses the [Hom functor](https://knowlpedia.com/algebra-modules/hom-module/) as converting a [direct sum](https://knowlpedia.com/algebra-modules/direct-sum-modules/) in the source into a [direct product](https://knowlpedia.com/algebra-modules/direct-product-modules/) of hom-sets, complementing how [tensor product](https://knowlpedia.com/algebra-modules/tensor-product/) behaves with sums.
