Inmathematics, thetensor algebra of avector spaceV, denotedT(V) orT•(V), is thealgebra oftensors onV (of any rank) with multiplication being thetensor product. It is thefree algebra onV, in the sense of beingleft adjoint to theforgetful functor from algebras to vector spaces: it is the "most general" algebra containingV, in the sense of the correspondinguniversal property (seebelow).
The tensor algebra is important because many other algebras arise asquotient algebras ofT(V). These include theexterior algebra, thesymmetric algebra,Clifford algebras, theWeyl algebra anduniversal enveloping algebras.
The tensor algebra also has twocoalgebra structures; one simple one, which does not make it a bi-algebra, but does lead to the concept of acofree coalgebra, and a more complicated one, which yields abialgebra, and can be extended by giving an antipode to create aHopf algebra structure.
Note: In this article, all algebras are assumed to beunital andassociative. The unit is explicitly required to define thecoproduct.
LetV be avector space over afieldK. For any nonnegativeintegerk, we define thekth tensor power ofV to be thetensor product ofV with itselfk times:
That is,TkV consists of all tensors onV oforderk. By conventionT0V is theground fieldK (as a one-dimensional vector space over itself).
We then constructT(V) as thedirect sum ofTkV fork = 0,1,2,…
The multiplication inT(V) is determined by the canonical isomorphism
given by the tensor product, which is then extended by linearity to all ofT(V). This multiplication rule implies that the tensor algebraT(V) is naturally agraded algebra withTkV serving as the grade-k subspace. This grading can be extended to aZ-grading by appending subspaces for negative integersk.
The construction generalizes in a straightforward manner to the tensor algebra of anymoduleM over acommutative ring. IfR is anon-commutative ring, one can still perform the construction for anyR-RbimoduleM. (It does not work for ordinaryR-modules because the iterated tensor products cannot be formed.)
The tensor algebraT(V) is also called thefree algebra on the vector spaceV, and isfunctorial; this means that the map extends tolinear maps for forming afunctor from thecategory ofK-vector spaces to the category ofassociative algebras. Similarly with otherfree constructions, the functorT isleft adjoint to theforgetful functor that sends each associativeK-algebra to its underlying vector space.
Explicitly, the tensor algebra satisfies the followinguniversal property, which formally expresses the statement that it is the most general algebra containingV:

Herei is thecanonical inclusion ofV intoT(V). As for other universal properties, the tensor algebraT(V) can be defined as the unique algebra satisfying this property (specifically, it is uniqueup to a unique isomorphism), but this definition requires to prove that an object satisfying this property exists.
The above universal property implies thatT is afunctor from thecategory of vector spaces overK, to the category ofK-algebras. This means that any linear map betweenK-vector spacesU andW extends uniquely to aK-algebra homomorphism fromT(U) toT(W).
IfV has finite dimensionn, another way of looking at the tensor algebra is as the "algebra of polynomials overK inn non-commuting variables". If we takebasis vectors forV, those become non-commuting variables (orindeterminates) inT(V), subject to no constraints beyondassociativity, thedistributive law andK-linearity.
Note that the algebra of polynomials onV is not, but rather: a (homogeneous) linear function onV is an element of for example coordinates on a vector space arecovectors, as they take in a vector and give out a scalar (the given coordinate of the vector).
Because of the generality of the tensor algebra, many other algebras of interest can be constructed by starting with the tensor algebra and then imposing certain relations on the generators, i.e. by constructing certainquotient algebras ofT(V). Examples of this are theexterior algebra, thesymmetric algebra,Clifford algebras, theWeyl algebra anduniversal enveloping algebras.
The tensor algebra has two differentcoalgebra structures. One is compatible with the tensor product, and thus can be extended to abialgebra, and can be further be extended with an antipode to aHopf algebra structure. The other structure, although simpler, cannot be extended to a bialgebra. The first structure is developed immediately below; the second structure is given in the section on thecofree coalgebra, further down.
The development provided below can be equally well applied to theexterior algebra, using the wedge symbol in place of the tensor symbol; a sign must also be kept track of, when permuting elements of the exterior algebra. This correspondence also lasts through the definition of the bialgebra, and on to the definition of a Hopf algebra. That is, the exterior algebra can also be given a Hopf algebra structure.
Similarly, thesymmetric algebra can also be given the structure of a Hopf algebra, in exactly the same fashion, by replacing everywhere the tensor product by the symmetrized tensor product, i.e. that product where
In each case, this is possible because the alternating product and the symmetric product obey the required consistency conditions for the definition of a bialgebra and Hopf algebra; this can be explicitly checked in the manner below. Whenever one has a product obeying these consistency conditions, the construction goes through; insofar as such a product gave rise to a quotient space, the quotient space inherits the Hopf algebra structure.
In the language ofcategory theory, one says that there is afunctorT from the category ofK-vector spaces to the category ofK-associative algebras. But there is also a functorΛ taking vector spaces to the category of exterior algebras, and a functorSym taking vector spaces to symmetric algebras. There is anatural map fromT to each of these. Verifying that quotienting preserves the Hopf algebra structure is the same as verifying that the maps are indeed natural.
The coalgebra is obtained by defining acoproduct or diagonal operator
Here, is used as a short-hand for to avoid an explosion of parentheses. The symbol is used to denote the "external" tensor product, needed for the definition of a coalgebra. It is being used to distinguish it from the "internal" tensor product, which is already being used to denote multiplication in the tensor algebra (see the sectionMultiplication, below, for further clarification on this issue). In order to avoid confusion between these two symbols, most texts will replace by a plain dot, or even drop it altogether, with the understanding that it is implied from context. This then allows the symbol to be used in place of the symbol. This is not done below, and the two symbols are used independently and explicitly, so as to show the proper location of each. The result is a bit more verbose, but should be easier to comprehend.
The definition of the operator is most easily built up in stages, first by defining it for elements and then by homomorphically extending it to the whole algebra. A suitable choice for the coproduct is then
and
where is the unit of the field. By linearity, one obviously has
for all It is straightforward to verify that this definition satisfies the axioms of a coalgebra: that is, that
where is the identity map on. Indeed, one gets
and likewise for the other side. At this point, one could invoke a lemma, and say that extends trivially, by linearity, to all of, because is afree object and is agenerator of the free algebra, and is a homomorphism. However, it is insightful to provide explicit expressions. So, for, one has (by definition) the homomorphism
Expanding, one has
In the above expansion, there is no need to ever write as this is just plain-old scalar multiplication in the algebra; that is, one trivially has that
The extension above preserves the algebra grading. That is,
Continuing in this fashion, one can obtain an explicit expression for the coproduct acting on a homogenous element of orderm:
where the symbol, which should appear as ш, the sha, denotes theshuffle product. This is expressed in the second summation, which is taken over all(p,m −p)-shuffles. The shuffle is
By convention, one takes that Sh(m,0) and Sh(0,m) equals {id: {1, ...,m} → {1, ...,m}}. It is also convenient to take the pure tensor products andto equal 1 forp = 0 andp =m, respectively (the empty product in). The shuffle follows directly from the first axiom of a co-algebra: the relative order of the elements ispreserved in the riffle shuffle: the riffle shuffle merely splits the ordered sequence into two ordered sequences, one on the left, and one on the right.
Equivalently,
where the products are in, and where the sum is over all subsets of.
As before, the algebra grading is preserved:
The counit is given by the projection of the field component out from the algebra. This can be written as for and for. By homomorphism under the tensor product, this extends to
for allIt is a straightforward matter to verify that this counit satisfies the needed axiom for the coalgebra:
Working this explicitly, one has
where, for the last step, one has made use of the isomorphism, as is appropriate for the defining axiom of the counit.
Abialgebra defines both multiplication, and comultiplication, and requires them to be compatible.
Multiplication is given by an operator
which, in this case, was already given as the "internal" tensor product. That is,
That is, The above should make it clear why the symbol needs to be used: the was actually one and the same thing as; and notational sloppiness here would lead to utter chaos. To strengthen this: the tensor product of the tensor algebra corresponds to the multiplication used in the definition of an algebra, whereas the tensor product is the one required in the definition of comultiplication in a coalgebra. These two tensor products arenot the same thing!
The unit for the algebra
is just the embedding, so that
That the unit is compatible with the tensor product is "trivial": it is just part of the standard definition of the tensor product of vector spaces. That is, for field elementk and any More verbosely, the axioms for anassociative algebra require the two homomorphisms (or commuting diagrams):
on, and that symmetrically, on, that
where the right-hand side of these equations should be understood as the scalar product.
The unit and counit, and multiplication and comultiplication, all have to satisfy compatibility conditions. It is straightforward to see that
Similarly, the unit is compatible with comultiplication:
The above requires the use of the isomorphism in order to work; without this, one loses linearity. Component-wise,
with the right-hand side making use of the isomorphism.
Multiplication and the counit are compatible:
wheneverx ory are not elements of, and otherwise, one has scalar multiplication on the field: The most difficult to verify is the compatibility of multiplication and comultiplication:
where exchanges elements. The compatibility condition only needs to be verified on; the full compatibility follows as a homomorphic extension to all of The verification is verbose but straightforward; it is not given here, except for the final result:
For an explicit expression for this was given in the coalgebra section, above.
TheHopf algebra adds an antipode to the bialgebra axioms. The antipode on is given by
This is sometimes called the "anti-identity". The antipode on is given by
and on by
This extends homomorphically to
Compatibility of the antipode with multiplication and comultiplication requires that
This is straightforward to verify componentwise on:
Similarly, on:
Recall that
and that
for any that isnot in
One may proceed in a similar manner, by homomorphism, verifying that the antipode inserts the appropriate cancellative signs in the shuffle, starting with the compatibility condition on and proceeding by induction.
One may define a different coproduct on the tensor algebra, simpler than the one given above. It is given by
Here, as before, one uses the notational trick (recalling that trivially).
This coproduct gives rise to a coalgebra. It describes a coalgebra that isdual to the algebra structure onT(V∗), whereV∗ denotes thedual vector space of linear mapsV →F. In the same way that the tensor algebra is afree algebra, the corresponding coalgebra is termed cocomplete co-free. With the usual product this is not a bialgebra. Itcan be turned into a bialgebra with the product where(i,j) denotes the binomial coefficient for. This bialgebra is known as thedivided power Hopf algebra.
The difference between this, and the other coalgebra is most easily seen in the term. Here, one has that
for, which is clearly missing a shuffled term, as compared to before.