# Tensor product of modules

In mathematics, the tensor product of modules is a construction that allows arguments about bilinear maps (e.g. multiplication) to be carried out in terms of linear maps. The module construction is analogous to the construction of the tensor product of vector spaces, but can be carried out for a pair of modules over a commutative ring resulting in a third module, and also for a pair of a right-module and a left-module over any ring, with result an abelian group. Tensor products are important in areas of abstract algebra, homological algebra, algebraic topology, algebraic geometry, operator algebras and noncommutative geometry. The universal property of the tensor product of vector spaces extends to more general situations in abstract algebra. It allows the study of bilinear or multilinear operations via linear operations. The tensor product of an algebra and a module can be used for extension of scalars. For a commutative ring, the tensor product of modules can be iterated to form the tensor algebra of a module, allowing one to define multiplication in the module in a universal way.

## Balanced product

For a ring R, a right R-module M, a left R-module N, and an abelian group G, a map φ: M × NG is said to be R-balanced, R-middle-linear or an R-balanced product if for all m, m′ in M, n, n′ in N, and r in R the following hold:

{\displaystyle {\begin{aligned}\phi (m,n+n')&=\phi (m,n)+\phi (m,n')&&{\text{Dl}}_{\phi }\\\phi (m+m',n)&=\phi (m,n)+\phi (m',n)&&{\text{Dr}}_{\phi }\\\phi (m\cdot r,n)&=\phi (m,r\cdot n)&&{\text{A}}_{\phi }\\\end{aligned}}}

The set of all such balanced products over R from M × N to G is denoted by LR(M, N; G).

If φ, ψ are balanced products, then each of the operations φ + ψ and −φ defined pointwise is a balanced product. This turns the set LR(M, N; G) into an abelian group.

For M and N fixed, the map G ↦ LR(M, N; G) is a functor from the category of abelian groups to the category of sets. The morphism part is given by mapping a group homomorphism g : GG to the function φgφ, which goes from LR(M, N; G) to LR(M, N; G′).

Remarks
1. Property (Dl) states the left and property (Dr) the right distributivity of φ over addition.
2. Property (A) resembles some associative property of φ.
3. Every ring R is an R-R-bimodule. So the ring multiplication (r, r′) ↦ rr in R is an R-balanced product R × RR.

## Definition

For a ring R, a right R-module M, a left R-module N, the tensor product over R

${\displaystyle M\otimes _{R}N}$

is an abelian group together with a balanced product (as defined above)

${\displaystyle \otimes :M\times N\to M\otimes _{R}N}$

which is universal in the following sense:[1]

For every abelian group G and every balanced product
${\displaystyle f:M\times N\to G}$
there is a unique group homomorphism
${\displaystyle {\tilde {f}}:M\otimes _{R}N\to G}$
such that
${\displaystyle {\tilde {f}}\circ \otimes =f.}$

As with all universal properties, the above property defines the tensor product uniquely up to a unique isomorphism: any other object and balanced product with the same properties will be isomorphic to MR N and ⊗. Indeed, the mapping ⊗ is called canonical, or more explicitly: the canonical mapping (or balanced product) of the tensor product.[2]

The definition does not prove the existence of MR N; see below for a construction.

The tensor product can also be defined as a representing object for the functor G → LR(M,N;G); explicitly, this means there is a natural isomorphism:

${\displaystyle {\begin{cases}\operatorname {Hom} _{\mathbb {Z} }(M\otimes _{R}N,G)\simeq \operatorname {L} _{R}(M,N;G)\\g\mapsto g\circ \otimes \end{cases}}}$

This is a succinct way of stating the universal mapping property given above. (if a priori one is given this is natural isomorphism, then ${\displaystyle \otimes }$ can be recovered by taking ${\displaystyle G=M\otimes _{R}N}$ and then mapping the identity map.)

Similarly, given the natural identification ${\displaystyle \operatorname {L} _{R}(M,N;G)=\operatorname {Hom} _{R}(M,\operatorname {Hom} _{\mathbb {Z} }(N,G))}$,[3] one can also define MR N by the formula

${\displaystyle \operatorname {Hom} _{\mathbb {Z} }(M\otimes _{R}N,G)\simeq \operatorname {Hom} _{R}(M,\operatorname {Hom} _{\mathbb {Z} }(N,G)).}$

This is known as the tensor-hom adjunction; see also § Properties.

For each x in M, y in N, one writes

xy

for the image of (x, y) under the canonical map ${\displaystyle \otimes :M\times N\to M\otimes _{R}N}$. It is often called a pure tensor. Strictly speaking, the correct notation would be xR y but it is conventional to drop R here. Then, immediately from the definition, there are relations:

 x ⊗ (y + y′) = x ⊗ y + x ⊗ y′ (Dl⊗) (x + x′) ⊗ y = x ⊗ y + x′ ⊗ y (Dr⊗) (x ⋅ r) ⊗ y = x ⊗ (r ⋅ y) (A⊗)

The universal property of a tensor product has the following important consequence:

Proposition — Every element of ${\displaystyle M\otimes _{R}N}$ can be written, non-uniquely, as

${\displaystyle \sum _{i}x_{i}\otimes y_{i},\,x_{i}\in M,y_{i}\in N.}$

In other words, the image of ${\displaystyle \otimes }$ generates ${\displaystyle M\otimes _{R}N}$. Furthermore, if f is a function defined on elements ${\displaystyle x\otimes y}$ with values in an abelian group G, then f extends uniquely to the homomorphism defined on the whole ${\displaystyle M\otimes _{R}N}$ if and only if ${\displaystyle f(x\otimes y)}$ is ${\displaystyle \mathbb {Z} }$-bilinear in x and y.

Proof: For the first statement, let L be the subgroup of ${\displaystyle M\otimes _{R}N}$ generated by elements of the form in question, ${\displaystyle Q=(M\otimes _{R}N)/L}$ and q the quotient map to Q. We have: ${\displaystyle 0=q\circ \otimes }$ as well as ${\displaystyle 0=0\circ \otimes }$. Hence, by the uniqueness part of the universal property, q = 0. The second statement is because to define a module homomorphism, it is enough to define it on the generating set of the module. ${\displaystyle \square }$

The proposition says that one can work with explicit elements of the tensor products instead of invoking the universal property directly each time. This is very convenient in practice. For example, if R is commutative, then ${\displaystyle M\otimes _{R}N}$ can naturally be furnished with the R-scalar multiplication by extending

${\displaystyle r\cdot (x\otimes y):=rx\otimes y=x\otimes ry}$,

to the whole ${\displaystyle M\otimes _{R}N}$ by the previous proposition (strictly speaking, what is needed is a bimodule structure not commutativity; see a paragraph below). Equipped with this R-module structure, ${\displaystyle M\otimes _{R}N}$ satisfies a universal property similar to the above: for any R-module G, there is a natural isomorphism:

${\displaystyle {\begin{cases}\operatorname {Hom} _{R}(M\otimes _{R}N,G)\simeq \{R{\text{-bilinear maps }}M\times N\to G\},\\g\mapsto g\circ \otimes \end{cases}}}$

If R is not necessarily commutative but if M has a left action by a ring S (for example, R), then ${\displaystyle M\otimes _{R}N}$ can be given the left S-module structure, like above, by the formula

${\displaystyle s\cdot (x\otimes y):=sx\otimes y.}$

If N has a right action by a ring S, then, in the analogous way, ${\displaystyle M\otimes _{R}N}$ becomes a right S-module.

### Tensor product of linear maps and a change of base ring

Given linear maps ${\displaystyle f:M\to M'}$ of right modules over a ring R and ${\displaystyle g:N\to N'}$ of left modules, there is a unique group homomorphism

${\displaystyle {\begin{cases}f\otimes g:M\otimes _{R}N\to M'\otimes _{R}N'\\x\otimes y\mapsto f(x)\otimes g(y)\end{cases}}}$

The construction has a consequence that tensoring is a functor: each right R-module M determines the functor

${\displaystyle M\otimes _{R}-:R{\text{-Mod}}\longrightarrow {\text{Ab}}}$

from the category of left modules to the category of abelian groups that sends N to MN and a module homomorphism f to the group homomorphism 1 ⊗ f.

If ${\displaystyle f:R\to S}$ is a ring homomorphism and if M is a right S-module and N a left S-module, then there is the canonical surjective homomorphism:

${\displaystyle M\otimes _{R}N\to M\otimes _{S}N}$

induced by

${\displaystyle M\times N{\overset {\otimes _{S}}{\longrightarrow }}M\otimes _{S}N.}$[4]

The resulting map is surjective since pure tensors xy generate the whole module. In particular, taking R to be ${\displaystyle \mathbb {Z} }$ this shows every tensor product of modules is a quotient of a tensor product of abelian groups.

### Several modules

(This section need to be updated. For now, see § Properties for the more general discussion.)

It is possible to extend the definition to a tensor product of any number of modules over the same commutative ring. For example, the universal property of

M1M2M3

is that each trilinear map on

M1 × M2 × M3Z

corresponds to a unique linear map

M1M2M3Z.

The binary tensor product is associative: (M1M2) ⊗ M3 is naturally isomorphic to M1 ⊗ (M2M3). The tensor product of three modules defined by the universal property of trilinear maps is isomorphic to both of these iterated tensor products.

## Properties

### Modules over general rings

Let R1, R2, R3, R be rings, not necessarily commutative.

• For an R1-R2-bimodule M12 and a left R2-module M20, ${\displaystyle M_{12}\otimes _{R_{2}}M_{20}}$ is a left R1-module.
• For a right R2-module M02 and an R2-R3-bimodule M23, ${\displaystyle M_{02}\otimes _{R_{2}}M_{23}}$ is a right R3-module.
• (associativity) For a right R1-module M01, an R1-R2-bimodule M12, and a left R2-module M20 we have:[5]
${\displaystyle \left(M_{01}\otimes _{R_{1}}M_{12}\right)\otimes _{R_{2}}M_{20}=M_{01}\otimes _{R_{1}}\left(M_{12}\otimes _{R_{2}}M_{20}\right).}$
• Since R is an R-R-bimodule, we have ${\displaystyle R\otimes _{R}R=R}$ with the ring multiplication ${\displaystyle mn=:m\otimes _{R}n}$ as its canonical balanced product.

### Modules over commutative rings

Let R be a commutative ring, and M, N and P be R-modules. Then

• (identity) ${\displaystyle R\otimes _{R}M=M.}$
• (associativity) ${\displaystyle (M\otimes _{R}N)\otimes _{R}P=M\otimes _{R}(N\otimes _{R}P).}$[6] Thus ${\displaystyle M\otimes _{R}N\otimes _{R}P}$ is well-defined.
• (symmetry) ${\displaystyle M\otimes _{R}N=N\otimes _{R}M.}$ In fact, for any permutation σ of the set {1, ..., n}, there is a unique isomorphism:
${\displaystyle {\begin{cases}M_{1}\otimes _{R}\cdots \otimes _{R}M_{n}\longrightarrow M_{\sigma (1)}\otimes _{R}\cdots \otimes _{R}M_{\sigma (n)}\\x_{1}\otimes \cdots \otimes x_{n}\longmapsto x_{\sigma (1)}\otimes \cdots \otimes x_{\sigma (n)}\end{cases}}}$
• (distributive property) ${\displaystyle M\otimes _{R}(N\oplus P)=(M\otimes _{R}N)\oplus (M\otimes _{R}P).}$ In fact,
${\displaystyle M\otimes _{R}\left(\bigoplus \nolimits _{i\in I}N_{i}\right)=\bigoplus \nolimits _{i\in I}\left(M\otimes _{R}N_{i}\right),}$
for an index set I of arbitrary cardinality.
• (commutes with finite product) for any finitely many ${\displaystyle N_{i}}$,
${\displaystyle M\otimes _{R}\prod _{i=1}^{n}N_{i}=\prod _{i=1}^{n}M\otimes _{R}N_{i}.}$
• (commutes with localization) for any multiplicatively closed subset S of R,
${\displaystyle S^{-1}(M\otimes _{R}N)=S^{-1}M\otimes _{S^{-1}R}S^{-1}N}$
as ${\displaystyle S^{-1}R}$-module. Since ${\displaystyle S^{-1}R}$ is an R-algebra and ${\displaystyle S^{-1}-=S^{-1}R\otimes _{R}-}$, this is a special case of:
• (commutes with base extension) If S is an R-algebra, writing ${\displaystyle -_{S}=S\otimes _{R}-}$,
${\displaystyle (M\otimes _{R}N)_{S}=M_{S}\otimes _{S}N_{S};}$[7]
cf. § Extension of scalars.
• (commutes with direct limit) for any direct system of R-modules Mi,
${\displaystyle (\varinjlim M_{i})\otimes _{R}N=\varinjlim (M_{i}\otimes _{R}N).}$
• (tensoring is right exact) if
${\displaystyle 0\to N'{\overset {f}{\to }}N{\overset {g}{\to }}N''\to 0}$
is an exact sequence of R-modules, then
${\displaystyle M\otimes _{R}N'{\overset {1\otimes f}{\to }}M\otimes _{R}N{\overset {1\otimes g}{\to }}M\otimes _{R}N''\to 0}$
is an exact sequence of R-modules, where ${\displaystyle (1\otimes f)(x\otimes y)=x\otimes f(y).}$ This is a consequence of:
• (adjoint relation) ${\displaystyle \operatorname {Hom} _{R}(M\otimes _{R}N,P)=\operatorname {Hom} _{R}(M,\operatorname {Hom} _{R}(N,P))}$.
• (tensor-hom relation) there is a canonical R-linear map:
${\displaystyle \operatorname {Hom} _{R}(M,N)\otimes P\to \operatorname {Hom} _{R}(M,N\otimes P),}$
which is an isomorphism if either M or P is a finitely generated projective module (see § As linearity-preserving maps for the non-commutative case);[8] more generally, there is a canonical R-linear map:
${\displaystyle \operatorname {Hom} _{R}(M,N)\otimes \operatorname {Hom} _{R}(M',N')\to \operatorname {Hom} _{R}(M\otimes M',N\otimes N')}$
which is an isomorphism if either ${\displaystyle (M,N)}$ or ${\displaystyle (M,M')}$ is a pair of finitely generated projective modules.

To give a practical example, suppose M, N are free modules with bases ${\displaystyle e_{i},i\in I}$ and ${\displaystyle f_{j},j\in J}$. Then M is the direct sum ${\displaystyle M=\bigoplus _{i\in I}Re_{i}}$ and the same for N. By the distributive property, one has:

${\displaystyle M\otimes _{R}N=\bigoplus _{i,j}R(e_{i}\otimes f_{j})}$;

i.e., ${\displaystyle e_{i}\otimes f_{j},\,i\in I,j\in J}$ are the R-basis of ${\displaystyle M\otimes _{R}N}$. Even if M is not free, a free presentation of M can be used to compute tensor products.

The tensor product, in general, does not commute with inverse limit: on the one hand,

${\displaystyle \mathbb {Q} \otimes _{\mathbb {Z} }\mathbb {Z} /p^{n}=0}$

(cf. "examples"). On the other hand,

${\displaystyle \left(\varprojlim \mathbb {Z} /p^{n}\right)\otimes _{\mathbb {Z} }\mathbb {Q} =\mathbb {Z} _{p}\otimes _{\mathbb {Z} }\mathbb {Q} =\mathbb {Z} _{p}\left[p^{-1}\right]=\mathbb {Q} _{p}}$

where ${\displaystyle \mathbb {Z} _{p},\mathbb {Q} _{p}}$ are the ring of p-adic integers and the field of p-adic numbers. See also "profinite integer" for an example in the similar spirit.

If R is not commutative, the order of tensor products could matter in the following way: we "use up" the right action of M and the left action of N to form the tensor product ${\displaystyle M\otimes _{R}N}$; in particular, ${\displaystyle N\otimes _{R}M}$ would not even be defined. If M, N are bi-modules, then ${\displaystyle M\otimes _{R}N}$ has the left action coming from the left action of M and the right action coming from the right action of N; those actions need not be the same as the left and right actions of ${\displaystyle N\otimes _{R}M}$.

The associativity holds more generally for non-commutative rings: if M is a right R-module, N a (R, S)-module and P a left S-module, then

${\displaystyle (M\otimes _{R}N)\otimes _{S}P=M\otimes _{R}(N\otimes _{S}P)}$

as abelian group.

The general form of adjoint relation of tensor products says: if R is not necessarily commutative, M is a right R-module, N is a (R, S)-module, P is a right S-module, then as abelian group

${\displaystyle \operatorname {Hom} _{S}(M\otimes _{R}N,P)=\operatorname {Hom} _{R}(M,\operatorname {Hom} _{S}(N,P)),\,f\mapsto f'}$[9]

where ${\displaystyle f'}$ is given by ${\displaystyle f'(x)(y)=f(x\otimes y).}$ See also: tensor-hom adjunction.

### Tensor product of an R-module with the fraction field

Let R be an integral domain with fraction field K.

• For any R-module M, ${\displaystyle K\otimes _{R}M\cong K\otimes _{R}(M/M_{\operatorname {tor} })}$ as R-modules, where ${\displaystyle M_{\operatorname {tor} }}$ is the torsion submodule of M.
• If M is a torsion R-module then ${\displaystyle K\otimes _{R}M=0}$ and if M is not a torsion module then ${\displaystyle K\otimes _{R}M\neq 0}$.
• If N is a submodule of M such that ${\displaystyle M/N}$ is a torsion module then ${\displaystyle K\otimes _{R}N\cong K\otimes _{R}M}$ as R-modules by ${\displaystyle x\otimes n\mapsto x\otimes n}$.
• In ${\displaystyle K\otimes _{R}M}$, ${\displaystyle x\otimes m=0}$ if and only if ${\displaystyle x=0}$ or ${\displaystyle m\in M_{\operatorname {tor} }}$. In particular, ${\displaystyle M_{\operatorname {tor} }=\operatorname {ker} (M\to K\otimes _{R}M)}$ where ${\displaystyle m\mapsto 1\otimes m}$.
• ${\displaystyle K\otimes _{R}M\cong M_{(0)}}$ where ${\displaystyle M_{(0)}}$ is the localization of the module ${\displaystyle M}$ at the prime ideal ${\displaystyle (0)}$ (i.e., the localization with respect to the nonzero elements).

### Extension of scalars

The adjoint relation in the general form has an important special case: for any R-algebra S, M a right R-module, P a right S-module, using ${\displaystyle \operatorname {Hom} _{S}(S,-)=-}$, we have the natural isomorphism:

${\displaystyle \operatorname {Hom} _{S}(M\otimes _{R}S,P)=\operatorname {Hom} _{R}(M,\operatorname {Res} _{R}(P)).}$

This says that the functor ${\displaystyle -\otimes _{R}S}$ is a left adjoint to the forgetful functor ${\displaystyle \operatorname {Res} _{R}}$, which restricts an S-action to an R-action. Because of this, ${\displaystyle -\otimes _{R}S}$ is often called the extension of scalars from R to S. In the representation theory, when R, S are group algebras, the above relation becomes the Frobenius reciprocity.

#### Examples

• ${\displaystyle R^{n}\otimes _{R}S=S^{n},}$ for any R-algebra S (i.e., a free module remains free after extending scalars.)
• For a commutative ring ${\displaystyle R}$ and a commutative R-algebra S, we have:
${\displaystyle S\otimes _{R}R[x_{1},\dots ,x_{n}]=S[x_{1},\dots ,x_{n}];}$
in fact, more generally,
${\displaystyle S\otimes _{R}(R[x_{1},\dots ,x_{n}]/I)=S[x_{1},\dots ,x_{n}]/IS[x_{1},\dots ,x_{n}],}$
where ${\displaystyle I}$ is an ideal.
• Using ${\displaystyle \mathbb {C} =\mathbb {R} [x]/(x^{2}+1),}$ the previous example and the Chinese remainder theorem, we have as rings
${\displaystyle \mathbb {C} \otimes _{\mathbb {R} }\mathbb {C} =\mathbb {C} [x]/(x^{2}+1)=\mathbb {C} [x]/(x+i)\times \mathbb {C} [x]/(x-i)=\mathbb {C} ^{2}.}$
This gives an example when a tensor product is a direct product.
• ${\displaystyle \mathbb {R} \otimes _{\mathbb {Z} }\mathbb {Z} [i]=\mathbb {R} [i]=\mathbb {C} .}$

## Examples

Let G be an abelian group in which every element has finite order (that is G is a torsion abelian group; for example G can be a finite abelian group or ${\displaystyle \mathbb {Q} /\mathbb {Z} }$). Then:[10]

${\displaystyle \mathbb {Q} \otimes _{\mathbb {Z} }G=0.}$

Indeed, any ${\displaystyle x\in \mathbb {Q} \otimes _{\mathbb {Z} }G}$ is of the form

${\displaystyle x=\sum _{i}r_{i}\otimes g_{i},\qquad r_{i}\in \mathbb {Q} ,g_{i}\in G.}$

If ${\displaystyle n_{i}}$ is the order of ${\displaystyle g_{i}}$, then we compute:

${\displaystyle x=\sum (r_{i}/n_{i})n_{i}\otimes g_{i}=\sum r_{i}/n_{i}\otimes n_{i}g_{i}=0.}$

Similarly, one sees

${\displaystyle \mathbb {Q} /\mathbb {Z} \otimes _{\mathbb {Z} }\mathbb {Q} /\mathbb {Z} =0.}$

Here are some useful identities: Let R be a commutative ring, I, J ideals, M, N R-modules. Then

1. ${\displaystyle R/I\otimes _{R}M=M/IM}$. If M is flat, ${\displaystyle IM=I\otimes _{R}M}$.
2. ${\displaystyle M/IM\otimes _{R/I}N/IN=M\otimes _{R}N\otimes _{R}R/I.}$
3. ${\displaystyle R/I\otimes _{R}R/J=R/(I+J)}$.

Proof: Tensoring with M the exact sequence ${\displaystyle 0\to I\to R\to R/I\to 0}$ gives

${\displaystyle I\otimes _{R}M{\overset {f}{\to }}R\otimes _{R}M=M\to R/I\otimes _{R}M\to 0}$

where f is given by ${\displaystyle i\otimes x\mapsto ix}$. Since the image of f is IM, we get the first part of 1. If M is flat, f is injective and so is an isomorphism onto its image. 2. follows from 1. and 3. is because

${\displaystyle R/I\otimes _{R}R/J={R/J \over I(R/J)}={R/J \over (I+J)/J}=R/(I+J)}$. ${\displaystyle \square }$

Example: If G is an abelian group, ${\displaystyle G\otimes _{\mathbb {Z} }\mathbb {Z} /n=G/nG}$; this follows from 1.

Example: ${\displaystyle \mathbb {Z} /n\otimes _{\mathbb {Z} }\mathbb {Z} /m=\mathbb {Z} /{\gcd(n,m)}}$; this follows from 3.

Example: Let ${\displaystyle \mu _{n}}$ be the group of n-th roots of unity. It is a cyclic group and cyclic groups are classified by orders. Thus, non-canonically, ${\displaystyle \mu _{n}\approx \mathbb {Z} /n}$ and thus, when g is the gcd of n and m,

${\displaystyle \mu _{n}\otimes _{\mathbb {Z} }\mu _{m}\approx \mu _{g}.}$

Example: Consider ${\displaystyle \mathbb {Q} \otimes _{\mathbb {Z} }\mathbb {Q} .}$ Since ${\displaystyle \mathbb {Q} \otimes _{\mathbb {Q} }\mathbb {Q} }$ is obtained from ${\displaystyle \mathbb {Q} \otimes _{\mathbb {Z} }\mathbb {Q} }$ by imposing ${\displaystyle \mathbb {Q} }$-linearity on the middle, we have the surjection

${\displaystyle \mathbb {Q} \otimes _{\mathbb {Z} }\mathbb {Q} \to \mathbb {Q} \otimes _{\mathbb {Q} }\mathbb {Q} }$

whose kernel is generated by elements of the form ${\displaystyle {r \over s}x\otimes y-x\otimes {r \over s}y}$ where r, s, x, u are integers and s is nonzero. Since

${\displaystyle {r \over s}x\otimes y={r \over s}x\otimes {s \over s}y=x\otimes {r \over s}y,}$

the kernel actually vanishes; hence, ${\displaystyle \mathbb {Q} \otimes _{\mathbb {Z} }\mathbb {Q} =\mathbb {Q} \otimes _{\mathbb {Q} }\mathbb {Q} =\mathbb {Q} .}$

Example: We propose to compare ${\displaystyle \mathbb {R} \otimes _{\mathbb {Z} }\mathbb {R} }$ and ${\displaystyle \mathbb {R} \otimes _{\mathbb {R} }\mathbb {R} }$. Like in the previous example, we have: ${\displaystyle \mathbb {R} \otimes _{\mathbb {Z} }\mathbb {R} =\mathbb {R} \otimes _{\mathbb {Q} }\mathbb {R} }$ as abelian group and thus as ${\displaystyle \mathbb {Q} }$-vector space (any ${\displaystyle \mathbb {Z} }$-linear map between ${\displaystyle \mathbb {Q} }$-vector spaces is ${\displaystyle \mathbb {Q} }$-linear). As ${\displaystyle \mathbb {Q} }$-vector space, ${\displaystyle \mathbb {R} }$ has dimension (cardinality of a basis) of continuum. Hence, ${\displaystyle \mathbb {R} \otimes _{\mathbb {Q} }\mathbb {R} }$ has a ${\displaystyle \mathbb {Q} }$-basis indexed by a product of continuums; thus its ${\displaystyle \mathbb {Q} }$-dimension is continuum. Hence, for dimension reason, there is a non-canonical isomorphism of ${\displaystyle \mathbb {Q} }$-vector spaces:

${\displaystyle \mathbb {R} \otimes _{\mathbb {Z} }\mathbb {R} \approx \mathbb {R} \otimes _{\mathbb {R} }\mathbb {R} }$.

Consider the modules ${\displaystyle M=\mathbb {C} [x,y,z]/(f),N=\mathbb {C} [x,y,z]/(g)}$ for ${\displaystyle f,g\in \mathbb {C} [x,y,z]}$ irreducible polynomials such that ${\displaystyle \gcd(f,g)=1.}$ Then,

${\displaystyle {\frac {\mathbb {C} [x,y,z]}{(f)}}\otimes _{\mathbb {C} [x,y,z]}{\frac {\mathbb {C} [x,y,z]}{(g)}}\cong {\frac {\mathbb {C} [x,y,z]}{(f,g)}}}$

Another useful family of examples comes from changing the scalars. Notice that

${\displaystyle {\frac {\mathbb {Z} [x_{1},\ldots ,x_{n}]}{(f_{1},\ldots ,f_{k})}}\otimes _{\mathbb {Z} }R\cong {\frac {R[x_{1},\ldots ,x_{n}]}{(f_{1},\ldots ,f_{k})}}}$

Good examples of this phenomenon to look at are when ${\displaystyle R=\mathbb {Q} ,\mathbb {C} ,\mathbb {Z} /(p^{k}),\mathbb {Z} _{p},\mathbb {Q} _{p}.}$

## Construction

The construction of MN takes a quotient of a free abelian group with basis the symbols mn, used here to denote the ordered pair (m, n), for m in M and n in N by the subgroup generated by all elements of the form

1. m ∗ (n + n′) + mn + mn
2. −(m + m′) ∗ n + mn + m′ ∗ n
3. (m · r) ∗ nm ∗ (r · n)

where m, m′ in M, n, n′ in N, and r in R. The quotient map which takes mn =(m, n) to the coset containing mn; that is,

${\displaystyle \otimes :M\times N\to M\otimes _{R}N,\,(m,n)\mapsto [m*n]}$

is balanced, and the subgroup has been chosen minimally so that this map is balanced. The universal property of ⊗ follows from the universal properties of a free abelian group and a quotient.

More category-theoretically, let σ be the given right action of R on M; i.e., σ(m, r) = m · r and τ the left action of R of N. Then the tensor product of M and N over R can be defined as the coequalizer:

${\displaystyle M\times R\times N{{{} \atop {\overset {\sigma \times 1}{\to }}} \atop {{\underset {1\times \tau }{\to }} \atop {}}}M\times N{\overset {\otimes }{\to }}M\otimes _{R}N,}$

together with the requirements

${\displaystyle m\otimes (n+n')=m\otimes n+m\otimes n',}$
${\displaystyle (m+m')\otimes n=m\otimes n+m'\otimes n.}$

If S is a subring of a ring R, then ${\displaystyle M\otimes _{R}N}$ is the quotient group of ${\displaystyle M\otimes _{S}N}$ by the subgroup generated by ${\displaystyle xr\otimes _{S}y-x\otimes _{S}ry,\,r\in R,x\in M,y\in N}$, where ${\displaystyle x\otimes _{S}y}$ is the image of ${\displaystyle (x,y)}$ under ${\displaystyle \otimes :M\times N\to M\otimes _{S}N.}$ In particular, any tensor product of R-modules can be constructed, if so desired, as a quotient of a tensor product of abelian groups by imposing the R-balanced product property.

In the construction of the tensor product over a commutative ring R, the R-module structure can be built in from the start by forming the quotient of a free R-module by the submodule generated by the elements given above for the general construction, augmented by the elements r ⋅ (mn) − m ∗ (rn). Alternately, the general construction can be given a Z(R)-module structure by defining the scalar action by r ⋅ (mn) = m ⊗ (rn) when this is well-defined, which is precisely when r ∈ Z(R), the centre of R.

The direct product of M and N is rarely isomorphic to the tensor product of M and N. When R is not commutative, then the tensor product requires that M and N be modules on opposite sides, while the direct product requires they be modules on the same side. In all cases the only function from M × N to G that is both linear and bilinear is the zero map.

## As linear maps

In the general case, not all the properties of a tensor product of vector spaces extend to modules. Yet, some useful properties of the tensor product, considered as module homomorphisms, remain.

### Dual module

The dual module of a right R-module E, is defined as HomR(E, R) with the canonical left R-module structure, and is denoted E.[11] The canonical structure is the pointwise operations of addition and scalar multiplication. Thus, E is the set of all R-linear maps ER (also called linear forms), with operations

${\displaystyle (\phi +\psi )(u)=\phi (u)+\psi (u),\quad \phi ,\psi \in E^{*},u\in E}$
${\displaystyle (r\cdot \phi )(u)=r\cdot \phi (u),\quad \phi \in E^{*},u\in E,r\in R,}$

The dual of a left R-module is defined analogously, with the same notation.

There is always a canonical homomorphism EE∗∗ from E to its second dual. It is an isomorphism if E is a free module of finite rank. In general, E is called a reflexive module if the canonical homomorphism is an isomorphism.

### Duality pairing

We denote the natural pairing of its dual E and a right R-module E, or of a left R-module F and its dual F as

${\displaystyle \langle \cdot ,\cdot \rangle :E^{*}\times E\to R:(e',e)\mapsto \langle e',e\rangle =e'(e)}$
${\displaystyle \langle \cdot ,\cdot \rangle :F\times F^{*}\to R:(f,f')\mapsto \langle f,f'\rangle =f'(f).}$

The pairing is left R-linear in its left argument, and right R-linear in its right argument:

${\displaystyle \langle r\cdot g,h\cdot s\rangle =r\cdot \langle g,h\rangle \cdot s,\quad r,s\in R.}$

### An element as a (bi)linear map

In the general case, each element of the tensor product of modules gives rise to a left R-linear map, to a right R-linear map, and to an R-bilinear form. Unlike the commutative case, in the general case the tensor product is not an R-module, and thus does not support scalar multiplication.

• Given right R-module E and right R-module F, there is a canonical homomorphism θ : FR E → HomR(E, F) such that θ(fe′) is the map ef ⋅ ⟨e′, e.[12]
• Given left R-module E and right R-module F, there is a canonical homomorphism θ : FR E → HomR(E, F) such that θ(fe) is the map e′ ↦ f ⋅ ⟨e, e′⟩.[13]

Both cases hold for general modules, and become isomorphisms if the modules E and F are restricted to being finitely generated projective modules (in particular free modules of finite ranks). Thus, an element of a tensor product of modules over a ring R maps canonically onto an R-linear map, though as with vector spaces, constraints apply to the modules for this to be equivalent to the full space of such linear maps.

• Given right R-module E and left R-module F, there is a canonical homomorphism θ : FR E → LR(F × E, R) such that θ(f′ ⊗ e′) is the map (f, e) ↦ ⟨f, f′⟩ ⋅ ⟨e′, e.[citation needed] Thus, an element of a tensor product ξFR E may be thought of giving rise to or acting as an R-bilinear map F × ER.

### Trace

Let R be a commutative ring and E an R-module. Then there is a canonical R-linear map:

${\displaystyle E^{*}\otimes _{R}E\to R}$

induced through linearity by ${\displaystyle \phi \otimes x\mapsto \phi (x)}$; it is the unique R-linear map corresponding to the natural pairing.

If E is a finitely generated projective R-module, then one can identify ${\displaystyle E^{*}\otimes _{R}E=\operatorname {End} _{R}(E)}$ through the canonical homomorphism mentioned above and then the above is the trace map:

${\displaystyle \operatorname {tr} :\operatorname {End} _{R}(E)\to R.}$

When R is a field, this is the usual trace of a linear transformation.

## Example from differential geometry: tensor field

The most prominent example of a tensor product of modules in differential geometry is the tensor product of the spaces of vector fields and differential forms. More precisely, if R is the (commutative) ring of smooth functions on a smooth manifold M, then one puts

${\displaystyle {\mathfrak {T}}_{q}^{p}=\Gamma (M,TM)^{\otimes p}\otimes _{R}\Gamma (M,T^{*}M)^{\otimes q}}$

where Γ means the space of sections and the superscript ${\displaystyle \otimes p}$ means tensoring p times over R. By definition, an element of ${\displaystyle {\mathfrak {T}}_{q}^{p}}$ is a tensor field of type (p, q).

As R-modules, ${\displaystyle {\mathfrak {T}}_{p}^{q}}$ is the dual module of ${\displaystyle {\mathfrak {T}}_{q}^{p}.}$[14]

To lighten the notation, put ${\displaystyle E=\Gamma (M,TM)}$ and so ${\displaystyle E^{*}=\Gamma (M,T^{*}M)}$.[15] When p, q ≥ 1, for each (k, l) with 1 ≤ kp, 1 ≤ lq, there is an R-multilinear map:

${\displaystyle E^{p}\times {E^{*}}^{q}\to E^{p-1}\times {E^{*}}^{q-1},\,(X_{1},\dots ,X_{p},\omega _{1},\dots ,\omega _{q})\mapsto \langle X_{k},\omega _{l}\rangle (X_{1},\dots ,{\widehat {X_{l}}},\dots ,X_{p},\omega _{1},\dots ,{\widehat {\omega _{l}}},\dots ,\omega _{q})}$

where ${\displaystyle E^{p}}$ means ${\displaystyle \prod _{1}^{p}E}$ and the hat means a term is omitted. By the universal property, it corresponds to a unique R-linear map:

${\displaystyle C_{l}^{k}:{\mathfrak {T}}_{q}^{p}\to {\mathfrak {T}}_{q-1}^{p-1}.}$

It is called the contraction of tensors in the index (k, l). Unwinding what the universal property says one sees:

${\displaystyle C_{l}^{k}(X_{1}\otimes \cdots \otimes X_{p}\otimes \omega _{1}\otimes \cdots \otimes \omega _{q})=\langle X_{k},\omega _{l}\rangle X_{1}\otimes \cdots {\widehat {X_{l}}}\cdots \otimes X_{p}\otimes \omega _{1}\otimes \cdots {\widehat {\omega _{l}}}\cdots \otimes \omega _{q}.}$

Remark: The preceding discussion is standard in textbooks on differential geometry (e.g., Helgason). In a way, the sheaf-theoretic construction (i.e., the language of sheaf of modules) is more natural and increasingly more common; for that, see the section § Tensor product of sheaves of modules.

## Relationship to flat modules

In general,

${\displaystyle -\otimes _{R}-:{\text{Mod-}}R\times R{\text{-Mod}}\longrightarrow \mathrm {Ab} }$

is a bifunctor which accepts a right and a left R module pair as input, and assigns them to the tensor product in the category of abelian groups.

By fixing a right R module M, a functor

${\displaystyle M\otimes _{R}-:R{\text{-Mod}}\longrightarrow \mathrm {Ab} }$

arises, and symmetrically a left R module N could be fixed to create a functor

${\displaystyle -\otimes _{R}N:{\text{Mod-}}R\longrightarrow \mathrm {Ab} .}$

Unlike the Hom bifunctor ${\displaystyle \mathrm {Hom} _{R}(-,-),}$ the tensor functor is covariant in both inputs.

It can be shown that ${\displaystyle M\otimes _{R}-}$ and ${\displaystyle -\otimes _{R}N}$ are always right exact functors, but not necessarily left exact (${\displaystyle 0\to \mathbb {Z} \to \mathbb {Z} \to \mathbb {Z} _{n}\to 0,}$ where the first map is multiplication by ${\displaystyle n}$, is exact but not after taking the tensor with ${\displaystyle \mathbb {Z} _{n}}$). By definition, a module T is a flat module if ${\displaystyle T\otimes _{R}-}$ is an exact functor.

If ${\displaystyle \{m_{i}\mid i\in I\}}$ and ${\displaystyle \{n_{j}\mid j\in J\}}$ are generating sets for M and N, respectively, then ${\displaystyle \{m_{i}\otimes n_{j}\mid i\in I,j\in J\}}$ will be a generating set for ${\displaystyle M\otimes _{R}N.}$ Because the tensor functor ${\displaystyle M\otimes _{R}-}$ sometimes fails to be left exact, this may not be a minimal generating set, even if the original generating sets are minimal. If M is a flat module, the functor ${\displaystyle M\otimes _{R}-}$ is exact by the very definition of a flat module. If the tensor products are taken over a field F, we are in the case of vector spaces as above. Since all F modules are flat, the bifunctor ${\displaystyle -\otimes _{R}-}$ is exact in both positions, and the two given generating sets are bases, then ${\displaystyle \{m_{i}\otimes n_{j}\mid i\in I,j\in J\}}$ indeed forms a basis for ${\displaystyle M\otimes _{F}N.}$

If S and T are commutative R-algebras, then SR T will be a commutative R-algebra as well, with the multiplication map defined by (m1m2) (n1n2) = (m1n1m2n2) and extended by linearity. In this setting, the tensor product become a fibered coproduct in the category of R-algebras.

If M and N are both R-modules over a commutative ring, then their tensor product is again an R-module. If R is a ring, RM is a left R-module, and the commutator

of any two elements r and s of R is in the annihilator of M, then we can make M into a right R module by setting

mr = rm.

The action of R on M factors through an action of a quotient commutative ring. In this case the tensor product of M with itself over R is again an R-module. This is a very common technique in commutative algebra.

## Generalization

### Tensor product of complexes of modules

If X, Y are complexes of R-modules (R a commutative ring), then their tensor product is the complex given by

${\displaystyle (X\otimes _{R}Y)_{n}=\sum _{i+j=n}X_{i}\otimes _{R}Y_{j},}$

with the differential given by: for x in Xi and y in Yj,

${\displaystyle d_{X\otimes Y}(x\otimes y)=d_{X}(x)\otimes y+(-1)^{i}x\otimes d_{Y}(y).}$[16]

For example, if C is a chain complex of flat abelian groups and if G is an abelian group, then the homology group of ${\displaystyle C\otimes _{\mathbb {Z} }G}$ is the homology group of C with coefficients in G (see also: universal coefficient theorem.)

### Tensor product of sheaves of modules

In this setup, for example, one can define a tensor field on a smooth manifold M as a (global or local) section of the tensor product (called tensor bundle)

${\displaystyle (TM)^{\otimes p}\otimes _{O}(T^{*}M)^{\otimes q}}$

where O is the sheaf of rings of smooth functions on M and the bundles ${\displaystyle TM,T^{*}M}$ are viewed as locally free sheaves on M.[17]

The exterior bundle on M is the subbundle of the tensor bundle consisting of all antisymmetric covariant tensors. Sections of the exterior bundle are differential forms on M.

One important case when one forms a tensor product over a sheaf of non-commutative rings appears in theory of D-modules; that is, tensor products over the sheaf of differential operators.

## Notes

1. ^ Hazewinkel, et al. (2004), p. 95, Prop. 4.5.1
2. ^ Bourbaki, ch. II §3.1
3. ^ First, if ${\displaystyle R=\mathbb {Z} ,}$ then the claimed identification is given by ${\displaystyle f\mapsto f'}$ with ${\displaystyle f'(x)(y)=f(x,y)}$. In general, ${\displaystyle \operatorname {Hom} _{\mathbb {Z} }(N,G)}$ has the structure of a right R-module by ${\displaystyle (g\cdot r)(y)=g(ry)}$. Thus, for any ${\displaystyle \mathbb {Z} }$-bilinear map f, f′ is R-linear ${\displaystyle \Leftrightarrow f'(xr)=f'(x)\cdot r\Leftrightarrow f(xr,y)=f(x,ry).}$
4. ^ Bourbaki, ch. II §3.2.
5. ^ Bourbaki, ch. II §3.8
6. ^ The first three properties (plus identities on morphisms) say that the category of R-modules, with R commutative, forms a symmetric monoidal category.
7. ^ Proof: (using associativity in a general form) ${\displaystyle (M\otimes _{R}N)_{S}=(S\otimes _{R}M)\otimes _{R}N=M_{S}\otimes _{R}N=M_{S}\otimes _{S}S\otimes _{R}N=M_{S}\otimes _{S}N_{S}}$
8. ^ Bourbaki, ch. II §4.4
9. ^ Bourbaki, ch.II §4.1 Proposition 1
10. ^
11. ^ Bourbaki, ch. II §2.3
12. ^ Bourbaki, ch. II §4.2 eq. (11)
13. ^ Bourbaki, ch. II §4.2 eq. (15)
14. ^ Helgason, Lemma 2.3'
15. ^ This is actually the definition of differential one-forms, global sections of ${\displaystyle T^{*}M}$, in Helgason, but is equivalent to the usual definition that does not use module theory.
16. ^ May & ch. 12 §3
17. ^

## References

• Bourbaki, Algebra
• Helgason, Sigurdur (1978), Differential geometry, Lie groups and symmetric spaces, Academic Press, ISBN 0-12-338460-5
• Northcott, D.G. (1984), Multilinear Algebra, Cambridge University Press, ISBN 613-0-04808-4.
• Hazewinkel, Michiel; Gubareni, Nadezhda Mikhaĭlovna; Gubareni, Nadiya; Kirichenko, Vladimir V. (2004), Algebras, rings and modules, Springer, ISBN 978-1-4020-2690-4.
• Peter May (1999), A concise course in algebraic topology, University of Chicago Press.