The Balanced Product
Introduction
The bilinear maps $M \times N \to P$ of two modules are not the morphisms of a category, because they have two arguments; the balanced product, or tensor product, is the module $M \otimes_R N$ that linearises them. It is defined by a universal property, constructed as a quotient of a free module by the relations forced by that property, and it converts two modules into a third on which the calculus of linear maps applies. Over a commutative ring every bilinear map is balanced, and the product represents the bilinear maps into $R$-modules; the construction is symmetric in its two arguments.
Throughout, $R$ is a commutative ring with $1 \neq 0$ and $M,N,P$ are $R$-modules; where a statement holds for a general, possibly noncommutative, ring it is stated for a ring, and then $M$ is a right module and $N$ a left module. The article covers the universal problem for balanced maps, the generators-and-relations construction, the universal property $\operatorname{Hom}_R(M \otimes_R N,P) \cong \operatorname{Bilin}_R(M,N;P)$, the functoriality of the construction, the symmetry and associativity isomorphisms for commutative $R$, and the worked examples $\mathbb{Z}/m\mathbb{Z} \otimes_{\mathbb{Z}} \mathbb{Z}/n\mathbb{Z} \cong \mathbb{Z}/\gcd(m,n)\mathbb{Z}$ and $\mathbb{Q} \otimes_{\mathbb{Z}} \mathbb{Z}/n\mathbb{Z}=0$, together with the rank formula $\operatorname{rank}_R(M \otimes_R N)=\operatorname{rank}_R M \cdot \operatorname{rank}_R N$ for free modules. The right exactness of the tensor product, flatness and the tensor–hom adjunction are taken up in the companion article of this category on flatness and exactness.
Bilinear and Balanced Maps
Bilinear Maps
Definition. For a commutative ring $R$, a map $f:M \times N \to P$ is $R$-bilinear if it is $R$-linear in each argument separately:
$$ f(m+m',n)=f(m,n)+f(m',n), \qquad f(m,n+n')=f(m,n)+f(m,n'), $$
$$ f(rm,n)=r\,f(m,n)=f(m,rn) $$
for all $m,m' \in M$, $n,n' \in N$ and $r \in R$. The set of such maps is written $\operatorname{Bilin}_R(M,N;P)$; it is an $R$-module under pointwise operations.
Balanced Maps
For a general ring the two scalar actions live on opposite sides, and the middle condition of the definition is replaced by the requirement that the scalar can pass from the right module to the left one.
Definition. Let $R$ be a ring, $M$ a right $R$-module, $N$ a left $R$-module and $P$ an abelian group. A map $f:M \times N \to P$ is $R$-balanced if
$$ f(m+m',n)=f(m,n)+f(m',n), \qquad f(m,n+n')=f(m,n)+f(m,n'), $$
$$ f(mr,n)=f(m,rn) $$
for all $m,m' \in M$, $n,n' \in N$ and $r \in R$. The set of balanced maps is written $\operatorname{Bal}_R(M,N;P)$. When $R$ is commutative and $M,N,P$ are $R$-modules every bilinear map is balanced, since $f(mr,n)=r\,f(m,n)=f(m,rn)$; the converse fails in general, because balancedness constrains the two scalar actions only through the identification $f(mr,n)=f(m,rn)$ and does not require $f(m,\cdot)$ to be $R$-linear. The balanced product nevertheless represents the bilinear maps into $R$-modules, as the universal property below records.
The condition $f(mr,n)=f(m,rn)$ is the only place where the ring structure enters beyond additivity; it says that the two actions of $R$ may be identified in the target, which is an abelian group and not assumed to be an $R$-module.
The Universal Problem
Definition. A balanced product of $M$ and $N$ over $R$ is an abelian group $T$ together with a balanced map $\otimes:M \times N \to T$, written $(m,n) \mapsto m \otimes n$, with the following property: for every abelian group $P$ and every balanced map $f:M \times N \to P$ there is a unique group homomorphism $\bar f:T \to P$ such that $\bar f(m \otimes n)=f(m,n)$ for all $m,n$.
In the commutative case the target $P$ is an $R$-module and $\bar f$ is required to be $R$-linear. The property is a universal property: the data $(T,\otimes)$ represent the functor $P \mapsto \operatorname{Bal}_R(M,N;P)$.
Construction
Generators and Relations
Theorem. For every pair of modules $M,N$ over a ring $R$ a balanced product $M \otimes_R N$ exists, and it is unique up to a unique isomorphism commuting with the maps $\otimes$.
Proof. Let $F$ be the free abelian group on the set $M \times N$, with basis symbols $e_{(m,n)}$, and let $K$ be the subgroup generated by all elements
$$ e_{(m+m',n)}-e_{(m,n)}-e_{(m',n)}, \qquad e_{(m,n+n')}-e_{(m,n)}-e_{(m,n')}, \qquad e_{(mr,n)}-e_{(m,rn)} . $$
Put $M \otimes_R N=F/K$ and $m \otimes n=e_{(m,n)}+K$. By construction the map $(m,n) \mapsto m \otimes n$ is balanced and the elementary tensors generate $M \otimes_R N$, because the $e_{(m,n)}$ generate $F$. Given a balanced $f:M \times N \to P$, the universal property of $F$ gives a homomorphism $\tilde f:F \to P$ with $\tilde f(e_{(m,n)})=f(m,n)$; the three displayed relations are killed by the balanced condition, so $\tilde f$ factors through $K$, giving $\bar f$. Uniqueness of $\bar f$ follows because the $m \otimes n$ generate. For uniqueness of $T$, apply the property to the balanced map $\otimes':M \times N \to T'$ to obtain a map $T \to T'$ inverse to the map obtained symmetrically.
Elementary Tensors
Definition. Elements of $M \otimes_R N$ of the form $m \otimes n$ are elementary tensors; a general element is a finite sum $\sum_i m_i \otimes n_i$, not in general an elementary tensor.
Proposition. The elementary tensors satisfy, for all $m,m' \in M$, $n,n' \in N$, $r \in R$:
(i) $m \otimes (n+n')=m \otimes n+m \otimes n'$ and $(m+m') \otimes n=m \otimes n+m' \otimes n$;
(ii) $mr \otimes n=m \otimes rn$;
(iii) $0 \otimes n=m \otimes 0=0$ and $(-m) \otimes n=m \otimes (-n)=-(m \otimes n)$;
(iv) $r(m \otimes n)=(rm) \otimes n=m \otimes (rn)$ when $R$ is commutative.
Proof. All are the defining relations in $F/K$, read in the quotient. For (iii): $0 \otimes n=(0+0) \otimes n=0 \otimes n+0 \otimes n$, so $0 \otimes n=0$ by cancellation in the abelian group; similarly for $m \otimes 0$.
Remark. The relations are not a definition of $M \otimes_R N$ as a set of symbols: the scalars $r$ do not exist inside $F$, and the quotient imposes only the relations above. In particular distinct elementary tensors can coincide, as $m \otimes n=(mr) \otimes n'$ when $n=rn'$.
The Universal Property
Theorem. Let $R$ be a commutative ring and $M,N,P$ be $R$-modules. There is an isomorphism, natural in each variable,
$$ \operatorname{Hom}_R(M \otimes_R N,\,P) \;\cong\; \operatorname{Bilin}_R(M,N;P), \qquad \varphi \longmapsto \bigl((m,n) \mapsto \varphi(m \otimes n)\bigr). $$
For a general ring $R$ with $M$ a right module and $N$ a left module, the same statement holds with $\operatorname{Bilin}_R$ replaced by $\operatorname{Bal}_R$ and $\operatorname{Hom}_R$ by $\operatorname{Hom}_{\mathbb{Z}}$.
Proof. The map displayed is well defined because $m \otimes n$ depends on $(m,n)$ and is balanced. It is injective because the elementary tensors generate $M \otimes_R N$, so two maps agreeing on all of them agree. It is surjective by the universal property. Naturality is immediate from the definitions.
This adjunction-like statement is the working form of the universal property: it converts the construction of balanced maps into the construction of linear maps, and it is the source of every functoriality statement below.
Functoriality
Proposition. Let $\alpha:M \to M'$ and $\beta:N \to N'$ be $R$-linear. There is a unique $R$-linear map $\alpha \otimes \beta:M \otimes_R N \to M' \otimes_R N'$ with
$$ (\alpha \otimes \beta)(m \otimes n)=\alpha(m) \otimes \beta(n) . $$
Moreover $\operatorname{id}_M \otimes \operatorname{id}_N=\operatorname{id}_{M \otimes N}$ and $(\alpha' \otimes \beta')(\alpha \otimes \beta)=(\alpha'\alpha) \otimes (\beta'\beta)$ whenever the composites are defined. So the balanced product is a functor of two variables.
Proof. Apply the universal property to the balanced map $(m,n) \mapsto \alpha(m) \otimes \beta(n)$ to obtain $\alpha \otimes \beta$, and the stated identities follow because both sides agree on elementary tensors, which generate.
Proposition (additivity). With $\alpha,\alpha':M \to M'$ and $\beta:N \to N'$, one has $(\alpha+\alpha') \otimes \beta=\alpha \otimes \beta+\alpha' \otimes \beta$ and $\alpha \otimes (\beta+\beta')=\alpha \otimes \beta+\alpha \otimes \beta'$. Hence $\alpha \otimes \beta$ depends $R$-linearly on each variable, and the functors $M \otimes_R -$ and $-\otimes_R N$ are additive functors.
Proof. Both sides agree on elementary tensors: $((\alpha+\alpha') \otimes \beta)(m \otimes n)=(\alpha(m)+\alpha'(m)) \otimes \beta(n)$, which by bilinearity of $\otimes$ equals $\alpha(m) \otimes \beta(n)+\alpha'(m) \otimes \beta(n)$, the value of the sum on $m \otimes n$.
Symmetry and Associativity
Symmetry
Proposition. For a commutative ring $R$ and $R$-modules $M,N$ there is a natural isomorphism
$$ \sigma:M \otimes_R N \xrightarrow{\ \sim\ } N \otimes_R M, \qquad m \otimes n \longmapsto n \otimes m, $$
with $\sigma^2=\operatorname{id}$.
Proof. Both $(m,n) \mapsto n \otimes m$ and its inverse $(n,m) \mapsto m \otimes n$ are balanced, since $R$ is commutative; the universal property gives mutually inverse maps.
The commutativity hypothesis is necessary for symmetry in this form: for a general ring $M \otimes_R N$ and $N \otimes_R M$ can be very different, the first being a balanced product of a right and a left module and the second of a left and a right one.
Associativity
Proposition. For a commutative ring $R$ and $R$-modules $M,N,P$ there is a natural isomorphism
$$ (M \otimes_R N) \otimes_R P \;\cong\; M \otimes_R (N \otimes_R P), \qquad (m \otimes n) \otimes p \longmapsto m \otimes (n \otimes p). $$
Proof. Fix $p \in P$. The map $(m,n) \mapsto m \otimes (n \otimes p)$ is balanced in $m,n$, so it induces $M \otimes_R N \to M \otimes_R(N \otimes_R P)$ sending $m \otimes n$ to $m \otimes(n \otimes p)$; this is additive in $p$, so the map $\Psi:(M \otimes_R N) \times P \to M \otimes_R(N \otimes_R P)$, $(t,p) \mapsto \Psi_p(t)$, is balanced and induces a map on $(M \otimes_R N) \otimes_R P$ sending $(m \otimes n) \otimes p$ to $m \otimes(n \otimes p)$. The same construction in the other order gives an inverse, since the two agree on the generating elementary tensors.
Associativity makes it meaningful to write $M_1 \otimes_R \cdots \otimes_R M_k$ without parentheses and to speak of the tensor product of a family; the general element is a sum of $k$-fold elementary tensors.
Examples and the Rank Formula
The Basic Isomorphisms
Proposition. Let $R$ be a commutative ring and $M$ an $R$-module. Then
$$ R \otimes_R M \cong M, \qquad m \mapsto 1 \otimes m \text{ inverse}, \qquad r \otimes m \longleftrightarrow rm, $$
and more generally $R^n \otimes_R M \cong M^n$; and for free modules $M \cong R^m$, $N \cong R^n$,
$$ M \otimes_R N \cong R^{mn} . $$
Proof. The map $R \times M \to M$, $(r,m) \mapsto rm$, is balanced and induces $R \otimes_R M \to M$ with $r \otimes m \mapsto rm$; the map $m \mapsto 1 \otimes m$ is its inverse because $r \otimes m=r(1 \otimes m)$ and $1 \otimes m$ recovers $m$. For the rank formula, if $e_1,\dots,e_m$ and $f_1,\dots,f_n$ are bases then the $mn$ elements $e_i \otimes f_j$ form a basis: they generate, since elementary tensors generate and $(\sum r_ie_i) \otimes (\sum s_jf_j)=\sum_{i,j}r_is_j\,e_i \otimes f_j$; and they are independent because the balanced map $\bigl(\sum_ir_ie_i,\sum_js_jf_j\bigr) \mapsto (r_is_j)_{i,j}$ from $R^m \times R^n$ to $R^{mn}$ induces a homomorphism $R^m \otimes_R R^n \to R^{mn}$ carrying $e_i \otimes f_j$ to the standard basis vector $E_{ij}$, so a relation $\sum_{i,j}c_{ij}\,e_i \otimes f_j=0$ would give $\sum_{i,j}c_{ij}E_{ij}=0$, hence $c_{ij}=0$ for all $i,j$. Hence $\operatorname{rank}_R(M \otimes_R N)=mn=\operatorname{rank}_R M \cdot \operatorname{rank}_R N$ for free modules.
The rank formula requires $R$ to have the invariant basis number property, which is used in the companion article on direct sums, free modules and rank; over a commutative ring it holds, and the phrase $\operatorname{rank}_R$ is unambiguous.
The Tensor Product with a Quotient Ring
Proposition. Let $R$ be a commutative ring, $I \subseteq R$ an ideal and $M$ an $R$-module. Then
$$ R/I \otimes_R M \;\cong\; M/IM, \qquad (r+I) \otimes m \longmapsto rm+IM . $$
This is the form in which the tensor product is computed in practice: it identifies the tensor product with a quotient ring as a quotient of $M$.
Proof. The map $R/I \times M \to M/IM$, $(r+I,m) \mapsto rm+IM$, is balanced and surjective. The map $M/IM \to R/I \otimes_R M$, $m+IM \mapsto 1 \otimes m$, is well defined, since for $a \in I$ one has $1 \otimes am=a(1 \otimes m)=(a+I) \otimes m=0$. The two are inverse, because $r \otimes m=r(1 \otimes m) \mapsto rm+IM$ and $m+IM \mapsto 1 \otimes m \mapsto m+IM$.
Direct Sums
Proposition. For any family $\{M_i\}_{i \in I}$ of $R$-modules and any $R$-module $N$ the natural map
$$ \Bigl(\bigoplus_{i \in I}M_i\Bigr) \otimes_R N \;\cong\; \bigoplus_{i \in I}(M_i \otimes_R N), \qquad \Bigl(\sum_im_i\Bigr) \otimes n \longmapsto \sum_i(m_i \otimes n), $$
is an isomorphism, so the tensor product commutes with arbitrary direct sums in each variable.
Proof. The displayed map is induced by the universal property from the balanced map $((m_i),n) \mapsto (m_i \otimes n)$, which is well defined because the families are finitely supported; it is surjective because the elementary tensors of the direct sum are images. The inclusions $\iota_i:M_i \to \bigoplus_iM_i$ give $\iota_i \otimes \operatorname{id}$, and the sum of these over finitely supported families is a homomorphism $\bigoplus_i(M_i \otimes_R N) \to (\bigoplus_iM_i) \otimes_R N$ inverse to it, the two agreeing on elementary tensors.
Torsion Examples
Proposition. Over $R=\mathbb{Z}$:
(i) $\mathbb{Z}/m\mathbb{Z} \otimes_{\mathbb{Z}} \mathbb{Z}/n\mathbb{Z} \cong \mathbb{Z}/d\mathbb{Z}$ where $d=\gcd(m,n)$;
(ii) $\mathbb{Q} \otimes_{\mathbb{Z}} \mathbb{Z}/n\mathbb{Z}=0$ for $n \ge 1$.
Proof. (i) In the balanced product $1 \otimes 1$ generates, since $(k \bmod m) \otimes(\ell \bmod n)=k\ell(1 \otimes 1)$; and $m(1 \otimes 1)=m \cdot 1 \otimes 1=0$, $n(1 \otimes 1)=1 \otimes n\cdot 1=0$, so $d(1 \otimes 1)=0$ by Bézout, giving a surjection $\mathbb{Z}/d\mathbb{Z} \to \mathbb{Z}/m \otimes \mathbb{Z}/n$. For injectivity, the map $\mathbb{Z}/m \times \mathbb{Z}/n \to \mathbb{Z}/d$, $(k,\ell) \mapsto k\ell \bmod d$, is balanced and sends $(1,1)$ to $1$. (ii) Every $q \otimes(k \bmod n)$ equals $(q/n) \otimes (nk \bmod n)=(q/n) \otimes 0=0$, since $\mathbb{Q}$ is divisible and $n$ is invertible in it: writing $q=n(q/n)$ moves the scalar across.
Example. $\mathbb{Z}/2\mathbb{Z} \otimes_{\mathbb{Z}} \mathbb{Z}/3\mathbb{Z}=0$ is the case $d=1$: the tensor product of two finite abelian groups of coprime order vanishes, so the tensor product does not preserve the information contained in the factors. This is the first sign that the functor is not left exact, a phenomenon taken up in the companion article on flatness and exactness.
Summary
A balanced map $f:M \times N \to P$ over a ring $R$ is additive in each argument and satisfies $f(mr,n)=f(m,rn)$, and the balanced product $M \otimes_R N$ is the universal target for such maps: it is generated by the elementary tensors $m \otimes n$ subject to exactly those relations, and the universal property reads $\operatorname{Hom}_R(M \otimes_R N,P) \cong \operatorname{Bilin}_R(M,N;P)$ over a commutative ring. Uniqueness up to a unique isomorphism is a formal consequence of the universal property, so the generators-and-relations construction may be replaced by any model with the same property.
The construction is functorial in both variables, $\alpha \mapsto \alpha \otimes \beta$, preserving identities, composition and sums, so $\otimes_R$ is an additive bifunctor; for commutative $R$ it is symmetric, $M \otimes_R N \cong N \otimes_R M$, and associative, $(M \otimes_R N) \otimes_R P \cong M \otimes_R(N \otimes_R P)$, which justifies unparenthesised tensor products. The basic isomorphisms are $R \otimes_R M \cong M$ and $M \otimes_R R^n \cong M^n$; for free modules $M \cong R^m$ and $N \cong R^n$ the tensor product is free of rank $mn$, the rank being multiplicative. Over $\mathbb{Z}$, $\mathbb{Z}/m \otimes_{\mathbb{Z}} \mathbb{Z}/n \cong \mathbb{Z}/\gcd(m,n)$ and $\mathbb{Q} \otimes_{\mathbb{Z}} \mathbb{Z}/n=0$, so the tensor product is not left exact and loses torsion information; the exactness properties and the notion of flatness belong to the companion article on flatness and exactness.
Summary of Notation
| Symbol | Meaning |
|---|---|
| $R$ | a commutative ring with $1 \neq 0$, or a ring in the balanced statements |
| $M,N,P$ | $R$-modules, right and left modules in the balanced case |
| $\operatorname{Bilin}_R(M,N;P)$ | $R$-bilinear maps |
| $\operatorname{Bal}_R(M,N;P)$ | balanced maps |
| $M \otimes_R N$ | the balanced product / tensor product |
| $m \otimes n$ | elementary tensor |
| $\otimes=\otimes_R$ | the balanced map $M \times N \to M \otimes_R N$ |
| $\alpha \otimes \beta$ | tensor product of linear maps |
| $\sigma$ | symmetry isomorphism $M \otimes_R N \to N \otimes_R M$ |
| $R^n$ | free module on $n$ generators |
| $\gcd(m,n)$ | greatest common divisor |
| $\operatorname{rank}_R M$ | rank of a free module |
Further Reading
- Nicolas Bourbaki, Algebra I: Chapters 1–3 (Springer, 1998), for the balanced product over a general ring.
- Henri Cartan and Samuel Eilenberg, Homological Algebra (Princeton University Press, 1956), for the tensor product as a functor and its derived functors.
- Paul M. Cohn, Basic Algebra: Groups, Rings and Fields (Springer, 2003), for the generators-and-relations construction.
- Serge Lang, Algebra (Springer, 3rd ed. 2002), for the universal property and the tensor product of algebras.
- Saunders Mac Lane, Categories for the Working Mathematician (Springer, 2nd ed. 1998), for the tensor–hom adjunction and the categorical reading of the universal property.
- Joseph J. Rotman, An Introduction to Homological Algebra (Springer, 2nd ed. 2009), for $\otimes$ and $\operatorname{Hom}$ and the exactness properties.
- Charles A. Weibel, An Introduction to Homological Algebra (Cambridge University Press, 1994), for the tensor product in the derived setting.