Given two -modules and , the -module was created to satisfy the universal property that captures the idea of being able to multiply elements in with elements in . In the special case , the module gives us a way to compute products of elements in . It doesn't quite give us a ring structure on , however, since it doesn't allow us to multiply together more than two elements in . Can we amplify our tensor product construction to obtain a module with a full ring structure, capturing the desire of layering a multiplicative operation on the -module ?
The desired universal property
With the above motivation in mind, we are looking for a functor from the category of -modules to the category of -algebras that is "free" in the same sense as the free -module construction on a set ; i.e., that is left adjoint to the corresponding forgetful functor.
(Primary) Universal property of the tensor algebra
Let be the forgetful functor from the category of -algebras to the category of -modules. Then there is functor together with a natural bijection
In other words, the functor is a left adjoint of the forgetful functor .
Even without having seen the construction yet, such a property gives us a way to think about :
It is an -algebra that we can associate to the -module ;
The construction is functorial, so that if is an -module morphism then there is a corresponding -algebra morphism ;
-algebra morphisms are in natural bijection with -module morphisms . As a special case:
The identity -algebra morphism corresponds to an -module morphism .
Since is a left adjoint it commutes with all colimits; in particular, it commutes with coproducts.
The construction
Definition of tensor algebra
Suppose is a commutative ring (with unity) and is an -module. Set and for each positive integer define the tensor power of to be the -module
The elements of are called -tensors.
Then define the tensor algebra of to be the -module
Every element of is a finite formal linear combination of -tensors.
As the name implies, the -module has a (natural) structure of an -algebra. The multiplication on simple tensors is defined by concatenation of tensors:
The multiplication on sums of tensors is defined via the distributive laws. Note that this multiplication satisfies . In other words, the tensor algebra has the structure of a graded ring.
It's worth noting that, as a ring, the tensor algebra is generated by the elements of and .
At some point we should verify that this construction satisfies the desired universal property. For now, however, let's look at some examples.
Examples
Let and . One can verify that , and so the tensor algebra is simply
We can also unwind the multiplication rule. Let's look at a specific example. Two elements in are and . When we add these two elements we get the element
Notice that this is not what we would get conventionally by adding the rational numbers .
When we multiply these two elements we get the element
Let and . One can verify that , and so the tensor algebra is
For that final isomorphism, the correspondence is that each finite formal sum maps to the coset represented by the polynomial .
Suppose is a field and is a finite-dimensional -vector space. Let be a basis for as an -vector space. Then a basis for the -vector space is
(When , the basis is simply .) In particular, is an -vector space of dimension .