Canonical: https://knowlpedia.com/algebra-modules/direct-sum-universal-property/

# Direct sum universal property

The direct sum is characterized by a universal mapping property from the summands.

Let \(R\) be a [ring](https://knowlpedia.com/algebra-rings/ring/), let \(\{M_i\}_{i\in I}\) be a family of \(R\)-[modules](https://knowlpedia.com/algebra-modules/module/), and let \(\iota_i:M_i\to \bigoplus_{i\in I}M_i\) be the canonical maps. The **direct sum universal property** states that for every \(R\)-[module](https://knowlpedia.com/algebra-modules/module/) \(N\) and family of [homomorphisms](https://knowlpedia.com/algebra-modules/module-homomorphism/) \(f_i:M_i\to N\), there is a unique homomorphism
\[
f:\bigoplus_{i\in I}M_i\longrightarrow N
\]
such that \(f\circ\iota_i=f_i\) for every \(i\in I\).

As a diagram, the triangle commutes for every \(i\in I\):

```tikz-cd
M_i \arrow[r, "\iota_i"] \arrow[dr, "f_i"'] & \bigoplus_{j\in I} M_j \arrow[d, dashed, "\exists!\,f"] \\
& N
```

This is the defining [coproduct](https://knowlpedia.com/algebra-category-theory/coproduct/) property of the [direct sum](https://knowlpedia.com/algebra-modules/direct-sum-modules/) in the [category](https://knowlpedia.com/algebra-category-theory/category/) of \(R\)-modules, stated in terms of [module homomorphisms](https://knowlpedia.com/algebra-modules/module-homomorphism/).
