Proposition

Let RR be a commutative ring and AA any set. Then Hom⁡R−Mod(R⊕A,R)\Hom_{R\mathrm{-Mod}}(R^{\oplus A},R) satisfies the universal property of the product ∏a∈AR\prod_{a \in A} R.

Proof

We will use HH to denote Hom⁡R−Mod(R⊕A,R).\Hom_{R\mathrm{-Mod}}(R^{\oplus A},R).

Define πa:H→R\pi_a : H \to R as f↦f(ga)f \mapsto f(g_a) where ga:A→Rg_a : A \to R is a finite support map given by

ga(a′)={0Rif a≠a′,1Rif a=a′.g_a(a')={\begin{cases}0_R&{\text{if }}a \neq a',\\1_R &{\text{if }}a=a'.\end{cases}}

Let XX be some RR-module and let {fa}a∈A\{f_a\}_{a \in A} be a family of morphisms fa:X→R.f_a : X \to R. We want to show that there exists a unique morphism σ:X→H\sigma : X \to H such that for every a∈Aa \in A we have πa∘σ=fa.\pi_a \circ \sigma = f_a.

Let x∈Xx \in X be arbitrary and fix a∈A.a \in A. Now, we know that πa(σ(x))=σ(x)(ga)\pi_a(\sigma(x)) = \sigma(x)(g_a) and to make this equal to fa(x)f_a(x) we must have

σ(x)(h)=∑a∈Ah(a)fa(x).\sigma(x)(h) = \sum_{a \in A} h(a)f_{a}(x).

This map is well-defined. Even though the sum is over an infinite set, hh has finite support and hence the whole sum has only finitely many non-zero terms.

It is easy to check that σ(x)(−)\sigma(x)(-) is an RR-module homomorphism: Let r∈Rr \in R, h,h′∈R⊕Ah, h' \in R^{\oplus A}, then

σ(x)(rh)=∑a∈A(rh)(a)fa(x)=∑a∈Arh(a)fa(x)=r∑a∈Ah(a)fa(x)=rσ(x)(h),\begin{align*} \sigma(x)(rh) &= \sum_{a \in A} (rh)(a)f_{a}(x) \\ &= \sum_{a \in A} rh(a)f_{a}(x) \\ &= r\sum_{a \in A} h(a)f_{a}(x) \\ &= r\sigma(x)(h) , \end{align*}

and

σ(x)(h+h′)=∑a∈A(h+h′)(a)fa(x)=∑a∈A(h(a)+h′(a))fa(x)=∑a∈A(h(a)fa(x)+h′(a)fa(x))=∑a∈Ah(a)fa(x)+∑a∈Ah′(a)fa(x)=σ(x)(h)+σ(x)(h′).\begin{align*} \sigma(x)(h+h') &= \sum_{a \in A} (h+h')(a)f_{a}(x) \\ &= \sum_{a \in A} (h(a)+h'(a))f_{a}(x) \\ &= \sum_{a \in A} (h(a)f_{a}(x)+h'(a)f_{a}(x)) \\ &= \sum_{a \in A} h(a)f_{a}(x) + \sum_{a \in A}h'(a)f_{a}(x) \\ &= \sigma(x)(h)+\sigma(x)(h'). \end{align*}

We can also check that σ(−)\sigma(-) is an RR-module homomorphism: Let x,x′∈Xx,x' \in X, then

σ(x+x′)(h)=∑a∈Ah(a)fa(x+x′)=∑a∈Ah(a)(fa(x)+fa(x′))=∑a∈A(h(a)fa(x)+h(a)fa(x′))=∑a∈Ah(a)fa(x)+∑a∈Ah(a)fa(x′)=σ(x)(h)+σ(x′)(h),\begin{align*} \sigma(x + x')(h) & = \sum_{a \in A} h(a)f_{a}(x + x') \\ & = \sum_{a \in A} h(a)(f_{a}(x) + f_{a}(x')) \\ & = \sum_{a \in A} (h(a)f_{a}(x) + h(a)f_{a}(x')) \\ & = \sum_{a \in A} h(a)f_{a}(x) + \sum_{a \in A}h(a)f_{a}(x') \\ & = \sigma(x)(h) + \sigma(x')(h), \end{align*}

and

σ(rx)(h)=∑a∈Ah(a)fa(rx)=∑a∈Ah(a)rfa(x)=r∑a∈Ah(a)fa(x)=rσ(x)(h).\begin{align*} \sigma(rx)(h) & = \sum_{a \in A} h(a)f_{a}(rx) \\ & = \sum_{a \in A} h(a)rf_{a}(x) \\ & = r\sum_{a \in A} h(a)f_{a}(x) \\ & = r\sigma(x)(h). \end{align*}

Suppose another homomorphism σ′:X→H\sigma' : X \to H satisfies πa∘σ′=πa∘σ\pi_a \circ \sigma' = \pi_a \circ \sigma for all a∈A.a \in A. Then we can look at πa(σ′(x))=σ′(x)(ga)\pi_a(\sigma'(x)) = \sigma'(x)(g_a) for all x∈Xx \in X and observe that σ′(x)(ga)=σ(x)(ga).\sigma'(x)(g_a) = \sigma(x)(g_a).

But since σ′(x)(−)\sigma'(x)(-) is an RR-module homomorphism, it is completely determined by the values it takes on {ga}a∈A.\{g_a\}_{a \in A}. More explicitly, take any h∈R⊕Ah \in R^{\oplus A} and write it as a sum of the form

h=∑a∈Ah(a)ga.h = \sum_{a \in A}h(a)g_a.

This sum has finitely many non-zero terms, and so poses no issue to us. Then

σ′(x)(h)=∑a∈Aσ′(x)(h(a)ga)=∑a∈Ah(a)σ′(x)(ga)=∑a∈Ah(a)σ(x)(ga)=σ(x)(h). \begin{align*} \sigma'(x)(h) &= \sum_{a \in A} \sigma'(x)(h(a)g_a) \\ &= \sum_{a \in A} h(a)\sigma'(x)(g_a) \\ &= \sum_{a \in A} h(a)\sigma(x)(g_a) \\ &= \sigma(x)(h).\\ \end{align*}

So σ:X→H\sigma : X \to H is a unique morphism such that for every a∈Aa \in A we have πa∘σ=fa.\pi_a \circ \sigma = f_a. Via σ\sigma, HH satisfies the universal property of the product ∏a∈AR.\prod_{a \in A} R.

■\blacksquare

NOTE

This proof demonstrates that Hom⁡R−Mod(R⊕A,R)≅RA.\Hom_{R\mathrm{-Mod}}(R^{\oplus A},R) \cong R^{A}. It subsumes 6.6 as a special case where AA is finite. Since we have established that RA≇R⊕AR^A \not\cong R^{\oplus A} in general (6.7), we now can conclude that in general

Hom⁡R−Mod(R⊕A,R)≇R⊕A.\Hom_{R\mathrm{-Mod}}(R^{\oplus A},R) \not\cong R^{\oplus A}.