This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)

In mathematics, the tensor product of two vector spaces V and W (over the same field) is a vector space which can be thought of as the space of all tensors that can be built from vectors from its constituent spaces using an additional operation which can be considered as a generalization and abstraction of the outer product. Because of the connection with tensors, which are the elements of a tensor product, tensor products find uses in many areas of application including in physics and engineering, though the full theoretical mechanics of them described below may not be commonly cited there. For example, in general relativity, the gravitational field is described through the metric tensor, which is a field (in the sense of physics) of tensors, one at each point in the spacetime manifold, and each of which lives in the tensor selfproduct of tangent spaces at its point of residence on the manifold (such a collection of tensor products attached to another space is called a tensor bundle).
Tensors in finite dimensions, and the outer product
The concept of tensor product generalizes the idea of forming tensors from vectors using the outer product, which is an operation that can be defined in finitedimensional vector spaces using matrices: given two vectors and written in terms of components, i.e.
and
their outer or Kronecker product is given by
or, in terms of elements, the th component is
The matrix formed this way corresponds naturally to a tensor , where such is understood as a multilinear functional, by sandwiching it with matrix multiplication between a vector and its dual, or transpose:
It is important to note that the tensor, as written, takes two dual vectors  this is an important point that will be dealt with later. In the case of finite dimensions, there is not a strong distinction between a space and its dual, however, it does matter in infinite dimensions and, moreover, getting the regularvsdual part right is essential to ensuring that the idea of tensors being developed here corresponds correctly to other senses in which they are viewed, such as in terms of transformations, which is common in physics.
The tensors constructed this way generate a vector space themselves when we add and scale them in the natural componentwise fashion and, in fact, all multilinear functionals of the type given can be written as some sum of outer products, which we may call pure tensors or simple tensors. This is sufficient to define the tensor product when we can write vectors and transformations in terms of matrices, however, to get a fully general operation, a more abstract approach will be required. Especially, we would like to isolate the "essential features" of the tensor product without having to specify a particular basis for its construction, and that is what we will do in the following sections.
Abstracting the tensor product
To achieve that aim, the most natural way to proceed is to try and isolate an essential characterizing property which will describe, out of all possible vector spaces we could build from V and W, the one which (up to isomorphism) is their tensor product, and which will apply without consideration of any arbitrary choices such as a choice of basis. And the way to do this is to flip the tensor concept "inside out"  instead of viewing the tensors as an object which acts upon vectors in the manner of a bilinear map, we will view them instead as objects to be acted upon to produce a bilinear map. The trick is in recognizing that the Kronecker product "preserves all the information" regarding which vectors went into it: the ratios of vector components can be derived from
and from those ratios, the individual components themselves recovered. As a result, a single Kronecker outer product can be used in lieu of the pair of vectors that formed it, and conversely. Most importantly, this means we can write any bilinear map for any third vector space Z, as a unilinear map where
The universal property, then, is that if we have the combining operation and we are given any bilinear map of the form mentioned, there is exactly one such that meets this requirement. This is not hard to see if we expand in terms of bases, but the more important point of it is that it can be used as a way to characterize the tensor product  that is, we can use it to define the tensor product axiomatically with no reference to such. However, before we can do that, we first need to show that the tensor product exists and is unique for all vector spaces V and W and, to do that, we need a construction.
The constructive tensor product
The free vector space
To perform such a construction, the first step we will consider involves introducing something called a "free vector space" over a given set. The thrust behind this idea basically consists of what we said in the first section above: since a generic tensor can be written by the double sum
the most natural way to approach this problem is somehow to figure out how we can "forget" about the specific choice of bases and that are used here. In mathematics, the way we "forget" about representational details of something is to establish an identification that tells us that two different things that are to be considered representations of the same thing are in fact such, i.e. which, given those says either "yes, they are" or "no, they aren't", and then "lump together" all representations as constituting the "thing represented" without reference to any one in particular by packaging them all together into a single set. In formal terms, we first build an equivalence relation, and then take the quotient set by that relation.
But before we can do that, we first need to develop what we are going to take the equivalence relation over. The way we do that is to approach this the other way around, from the "bottom up": since we are not guaranteed a, at least constructible, basis when starting from arbitrary vector spaces, we might instead try to start by guaranteeing we have one—that is, we will start first by considering a "basis", on its own, as given, and then building the vector space on top. To that end, we accomplish the following: suppose that is some set, which we could call an abstract basis set. Now consider all formal expressions of the form
of arbitrary, but finite, length and for which are scalars and are members of Intuitively, this is a linear combination of the basis vectors in the usual sense of expanding an element of a vector space. We call this a "formal expression" because technically it is illegal to multiply since there is no defined multiplication operation by default on an arbitrary set and arbitrary field of scalars. Instead, we will "pretend" (similar to defining the imaginary numbers) that this refers to something, and then will go about manipulating it according to the rules we expect for a vector space, e.g. the sum of two such strings using the same sequence of members of is
where we have used the associative, commutative, and distributive laws to rearrange the first sum into the second. Continuing this way for scalar multiples and all differentlength combinations of vectors allows us to build up a vector addition and scalar multiplication on this set of formal expressions, and we call it the free vector space over writing Note that the elements of considered as lengthone formal expressions with coefficient 1 out front, form a Hamel basis for this space.
The tensor product expression is then abstracted by considering that if and represent "abstract basis vectors" from two sets and i.e. that "" and "", then pairs of these in the Cartesian product i.e. are taken as standing for the tensor products (Note that the tensor products in the expression are in some sense "atomic", i.e. additions and scalar multiplications do not split them up into anything else, so we can replace them with something different without altering the mathematical structure.) With such an identification, we can thus define the tensor product of two free vector spaces and as being something (yet to be decided) that is isomorphic to
The equivalence relation
The above definition will work for any vector space in which we can specify a basis, since we can just rebuild it as the free vector space over that basis: the above construction exactly mirrors how you represent vectors via the Hamel basis construction by design. In effect, we haven't gained anything ... until we do this.
Now, we are not assuming access to bases for vector spaces and that we want to form the tensor product of. Instead, we will take all of and as "basis" to build up the tensors. This is the next best thing and the one thing we are guaranteed to be able to do, regardless of any concerns in finding a specific basis; this corresponds to adding together arbitrary outer products of arbitrary vectors in the last part of the "Intuitive motivation" section. The only difference here is that if we use the free vector space construction and form the obvious it will have many redundant versions of what should be the same tensor; going back to our basisful case if we consider the example where in the standard basis, we may consider that the tensor formed by the vectors and i.e.
could also be represented by other sums, such as the sum using individual basic tensors e.g.
These, while equal expressions in the concrete case, would correspond to distinct elements of the free vector space namely
in the first case and
in the second case. Thus we must condense them—this is where the equivalence relation comes into play. The trick to building it is to note that given any vector in a vector space, it is always possible to represent it as the sum of two other vectors and not equal to the original. If nothing else, let be any vector and then take —which also shows that if we are given one vector and then a second vector, we can write the first vector in terms of the second together with a suitable third vector (indeed in many ways—just consider scalar multiples of the second vector in the same subtraction.).
This is useful to us because the outer product satisfies the following linearity properties, which can be proven by simple algebra on the corresponding matrix expressions:
If we want to relate the outer product to, say, we can use the first relation above together with a suitable expression of as a sum of some vector and some scalar multiple of
Equality between two concrete tensors is then obtained if using the above rules will permit us to rearrange one sum of outer products into the other by suitably decomposing vectors—regardless of if we have a set of actual basis vectors. Applying that to our example above, we see that of course we have
for which substitution in
gives us
and judicious use of the distributivity properties lets us rearrange to the desired form. Likewise, there is a corresponding "mirror" manipulation in terms of the free vector space elements and etc., and this finally leads us to the formal definition of the tensor product.
Putting all the construction together
The abstract tensor product of two vector spaces and over a common base field is the quotient vector space
where is the equivalence relation of formal equality generated by assuming that, for each and taken as formal expressions in the free vector space the following hold:
 Identity.
 Symmetry. implies
 Transitivity. and implies
 Distributivity. and
 Scalar multiples. and
and then testing equivalence of generic formal expressions through suitable manipulations based thereupon.^{[citation needed]} Arithmetic is defined on the tensor product by choosing representative elements, applying the arithmetical rules, and finally taking the equivalence class. Moreover, given any two vectors and the equivalence class is denoted
Properties
Notation
Elements of are often referred to as tensors, although this term refers to many other related concepts as well.^{[1]} If v belongs to V and w belongs to W, then the equivalence class of (v, w) is denoted by which is called the tensor product of v with w. In physics and engineering, this use of the symbol refers specifically to the outer product operation; the result of the outer product is one of the standard ways of representing the equivalence class ^{[2]} An element of that can be written in the form is called a pure or simple tensor. In general, an element of the tensor product space is not a pure tensor, but rather a finite linear combination of pure tensors. For example, if and are linearly independent, and and are also linearly independent, then cannot be written as a pure tensor. The number of simple tensors required to express an element of a tensor product is called the tensor rank (not to be confused with tensor order, which is the number of spaces one has taken the product of, in this case 2; in notation, the number of indices), and for linear operators or matrices, thought of as (1, 1) tensors (elements of the space ), it agrees with matrix rank.
Dimension
Given bases and for V and W respectively, the tensors form a basis for Therefore, if V and W are finitedimensional, the dimension of the tensor product is the product of dimensions of the original spaces; for instance is isomorphic to
Tensor product of linear maps
The tensor product also operates on linear maps between vector spaces. Specifically, given two linear maps and between vector spaces, the tensor product of the two linear maps S and T is a linear map
In this way, the tensor product becomes a bifunctor from the category of vector spaces to itself, covariant in both arguments.^{[3]}
If S and T are both injective, surjective or (in the case that V, X, W, and Y are normed vector spaces or topological vector spaces) continuous, then is injective, surjective or continuous, respectively.
By choosing bases of all vector spaces involved, the linear maps S and T can be represented by matrices. Then, depending on how the tensor is vectorized, the matrix describing the tensor product is the Kronecker product of the two matrices. For example, if V, X, W, and Y above are all twodimensional and bases have been fixed for all of them, and S and T are given by the matrices
respectively, then the tensor product of these two matrices is
The resultant rank is at most 4, and thus the resultant dimension is 4. Note that rank here denotes the tensor rank i.e. the number of requisite indices (while the matrix rank counts the number of degrees of freedom in the resulting array). Note
A dyadic product is the special case of the tensor product between two vectors of the same dimension.
Universal property
In the context of vector spaces, the tensor product and the associated bilinear map are characterized up to isomorphism by a universal property regarding bilinear maps. (Recall that a bilinear map is a function that is separately linear in each of its arguments.) Informally, is the most general bilinear map out of
The vector space and the associated bilinear map have the property that any bilinear map from to any vector space factors through uniquely. By saying " factors through uniquely", we mean that there is a unique linear map such that
This characterization can simplify proofs about the tensor product. For example, the tensor product is symmetric, meaning there is a canonical isomorphism:
The universal property is extremely useful in showing that a map to a tensor product is injective. For example, suppose we want to show that is isomorphic to Since all simple tensors are of the form and hence all elements of the tensor product are of the form by additivity in the first coordinate, we have a natural candidate for an isomorphism given by mapping to and this map is trivially surjective.
Showing injectivity directly would involve somehow showing that there are no nontrivial relationships between and for which seems daunting. However, we know that there is a bilinear map given by multiplying the coordinates together, and the universal property of the tensor product then furnishes a map of vector spaces which maps to and hence is an inverse of the previously constructed homomorphism, immediately implying the desired result. Note that, a priori, it is not even clear that this inverse map is welldefined, but the universal property and associated bilinear map together imply this is the case.
Similar reasoning can be used to show that the tensor product is associative, that is, there are natural isomorphisms
The category of vector spaces with tensor product is an example of a symmetric monoidal category.
The universalproperty definition of a tensor product is valid in more categories than just the category of vector spaces. Instead of using multilinear (bilinear) maps, the general tensor product definition uses multimorphisms.^{[4]}
Tensor powers and braiding
Let n be a nonnegative integer. The nth tensor power of the vector space V is the nfold tensor product of V with itself. That is
A permutation of the set determines a mapping of the nth Cartesian power of V as follows:
Let
be the natural multilinear embedding of the Cartesian power of V into the tensor power of V. Then, by the universal property, there is a unique isomorphism
such that
The isomorphism is called the braiding map associated to the permutation
Product of tensors
For nonnegative integers r and s a type tensor on a vector space V is an element of
Here is the dual vector space (which consists of all linear maps f from V to the ground field K).
There is a product map, called the (tensor) product of tensors^{[5]}
It is defined by grouping all occurring "factors" V together: writing for an element of V and for an element of the dual space,
Picking a basis of V and the corresponding dual basis of naturally induces a basis for (this basis is described in the article on Kronecker products). In terms of these bases, the components of a (tensor) product of two (or more) tensors can be computed. For example, if F and G are two covariant tensors of orders m and n respectively (i.e. and ), then the components of their tensor product are given by^{[6]}
Thus, the components of the tensor product of two tensors are the ordinary product of the components of each tensor. Another example: let U be a tensor of type (1, 1) with components and let V be a tensor of type with components Then
and
Tensors equipped with their product operation form an algebra, called the tensor algebra.
Evaluation map and tensor contraction
For tensors of type (1, 1) there is a canonical evaluation map
defined by its action on pure tensors:
More generally, for tensors of type with r, s > 0, there is a map, called tensor contraction,
(The copies of and on which this map is to be applied must be specified.)
On the other hand, if is finitedimensional, there is a canonical map in the other direction (called the coevaluation map)
where is any basis of and is its dual basis. This map does not depend on the choice of basis.^{[7]}
The interplay of evaluation and coevaluation can be used to characterize finitedimensional vector spaces without referring to bases.^{[8]}
Adjoint representation
The tensor product may be naturally viewed as a module for the Lie algebra by means of the diagonal action: for simplicity let us assume then, for each
where is the transpose of u, that is, in terms of the obvious pairing on
There is a canonical isomorphism given by
Under this isomorphism, every u in may be first viewed as an endomorphism of and then viewed as an endomorphism of In fact it is the adjoint representation ad(u) of
Relation of tensor product to Hom
Given two finite dimensional vector spaces U, V over the same field K, denote the dual space of U as U*, and the Kvector space of all linear maps from U to V as Hom(U,V). There is an isomorphism,
defined by an action of the pure tensor on an element of
Its "inverse" can be defined using a basis and its dual basis as in the section "Evaluation map and tensor contraction" above:
This result implies
which automatically gives the important fact that forms a basis for where are bases of U and V.
Furthermore, given three vector spaces U, V, W the tensor product is linked to the vector space of all linear maps, as follows:
Tensor products of modules over a ring
The tensor product of two modules A and B over a commutative ring R is defined in exactly the same way as the tensor product of vector spaces over a field:
More generally, the tensor product can be defined even if the ring is noncommutative. In this case A has to be a rightRmodule and B is a leftRmodule, and instead of the last two relations above, the relation
The universal property also carries over, slightly modified: the map defined by is a middle linear map (referred to as "the canonical middle linear map".^{[9]}); that is, it satisfies:^{[10]}
The first two properties make φ a bilinear map of the abelian group For any middle linear map of a unique group homomorphism f of satisfies and this property determines within group isomorphism. See the main article for details.
Tensor product of modules over a noncommutative ring
Let A be a right Rmodule and B be a left Rmodule. Then the tensor product of A and B is an abelian group defined by
The universal property can be stated as follows. Let G be an abelian group with a map that is bilinear, in the sense that
Then there is a unique map such that for all and
Furthermore, we can give a module structure under some extra conditions:
 If A is a (S,R)bimodule, then is a left Smodule where
 If B is a (R,S)bimodule, then is a right Smodule where
 If A is a (S,R)bimodule and B is a (R,T)bimodule, then is a (S,T)bimodule, where the left and right actions are defined in the same way as the previous two examples.
 If R is a commutative ring, then A and B are (R,R)bimodules where and By 3), we can conclude is a (R,R)bimodule.
Computing the tensor product
For vector spaces, the tensor product is quickly computed since bases of V of W immediately determine a basis of as was mentioned above. For modules over a general (commutative) ring, not every module is free. For example, Z/nZ is not a free abelian group (Zmodule). The tensor product with Z/nZ is given by
More generally, given a presentation of some Rmodule M, that is, a number of generators together with relations
the tensor product can be computed as the following cokernel:
Here and the map is determined by sending some in the jth copy of to (in ). Colloquially, this may be rephrased by saying that a presentation of M gives rise to a presentation of This is referred to by saying that the tensor product is a right exact functor. It is not in general left exact, that is, given an injective map of Rmodules the tensor product
is not usually injective. For example, tensoring the (injective) map given by multiplication with n, n : Z → Z with Z/nZ yields the zero map 0 : Z/nZ → Z/nZ, which is not injective. Higher Tor functors measure the defect of the tensor product being not left exact. All higher Tor functors are assembled in the derived tensor product.
Tensor product of algebras
Let R be a commutative ring. The tensor product of Rmodules applies, in particular, if A and B are Ralgebras. In this case, the tensor product is an Ralgebra itself by putting
A particular example is when A and B are fields containing a common subfield R. The tensor product of fields is closely related to Galois theory: if, say, A = R[x] / f(x), where f is some irreducible polynomial with coefficients in R, the tensor product can be calculated as
Eigenconfigurations of tensors
Square matrices with entries in a field represent linear maps of vector spaces, say and thus linear maps of projective spaces over If is nonsingular then is welldefined everywhere, and the eigenvectors of correspond to the fixed points of The eigenconfiguration of consists of points in provided is generic and is algebraically closed. The fixed points of nonlinear maps are the eigenvectors of tensors. Let be a dimensional tensor of format with entries lying in an algebraically closed field of characteristic zero. Such a tensor defines polynomial maps and with coordinates
Thus each of the coordinates of is a homogeneous polynomial of degree in The eigenvectors of are the solutions of the constraint
and the eigenconfiguration is given by the variety of the minors of this matrix.^{[11]}
Other examples of tensor products
Tensor product of Hilbert spaces
Hilbert spaces generalize finitedimensional vector spaces to countablyinfinite dimensions. The tensor product is still defined; it is the tensor product of Hilbert spaces.
Topological tensor product
When the basis for a vector space is no longer countable, then the appropriate axiomatic formalization for the vector space is that of a topological vector space. The tensor product is still defined, it is the topological tensor product.
Tensor product of graded vector spaces
Some vector spaces can be decomposed into direct sums of subspaces. In such cases, the tensor product of two spaces can be decomposed into sums of products of the subspaces (in analogy to the way that multiplication distributes over addition).
Tensor product of representations
Vector spaces endowed with an additional multiplicative structure are called algebras. The tensor product of such algebras is described by the Littlewood–Richardson rule.
Tensor product of quadratic forms
Tensor product of multilinear forms
Given two multilinear forms and on a vector space over the field their tensor product is the multilinear form
This is a special case of the product of tensors if they are seen as multilinear maps (see also tensors as multilinear maps). Thus the components of the tensor product of multilinear forms can be computed by the Kronecker product.
Tensor product of sheaves of modules
Tensor product of line bundles
Tensor product of fields
Tensor product of graphs
It should be mentioned that, though called "tensor product", this is not a tensor product of graphs in the above sense; actually it is the categorytheoretic product in the category of graphs and graph homomorphisms. However it is actually the Kronecker tensor product of the adjacency matrices of the graphs. Compare also the section Tensor product of linear maps above.
Monoidal categories
The most general setting for the tensor product is the monoidal category. It captures the algebraic essence of tensoring, without making any specific reference to what is being tensored. Thus, all tensor products can be expressed as an application of the monoidal category to some particular setting, acting on some particular objects.
Quotient algebras
A number of important subspaces of the tensor algebra can be constructed as quotients: these include the exterior algebra, the symmetric algebra, the Clifford algebra, the Weyl algebra, and the universal enveloping algebra in general.
The exterior algebra is constructed from the exterior product. Given a vector space V, the exterior product is defined as
The symmetric algebra is constructed in a similar manner, from the symmetric product
Tensor product in programming
Array programming languages
Array programming languages may have this pattern built in. For example, in APL the tensor product is expressed as ○.×
(for example A ○.× B
or A ○.× B ○.× C
). In J the tensor product is the dyadic form of */
(for example a */ b
or a */ b */ c
).
Note that J's treatment also allows the representation of some tensor fields, as a
and b
may be functions instead of constants. This product of two functions is a derived function, and if a
and b
are differentiable, then a */ b
is differentiable.
However, these kinds of notation are not universally present in array languages. Other array languages may require explicit treatment of indices (for example, MATLAB), and/or may not support higherorder functions such as the Jacobian derivative (for example, Fortran/APL).
See also
Look up tensor product in Wiktionary, the free dictionary. 
 Dyadic product
 Extension of scalars
 Monoidal category – Category admitting tensor products
 Tensor algebra – Universal construction in multilinear algebra
 Tensor contraction
 Topological tensor product – Tensor product constructions for topological vector spaces
Notes
 ^ See Tensor or Tensor (intrinsic definition).
 ^ This similar to how the engineering use of "" specifically returns the remainder, one of the many elements of the equivalence class.
 ^ Hazewinkel, Michiel; Gubareni, Nadezhda Mikhaĭlovna; Gubareni, Nadiya; Kirichenko, Vladimir V. (2004). Algebras, rings and modules. Springer. p. 100. ISBN 9781402026904.
 ^ "Archived copy". Archived from the original on 20170902. Retrieved 20170902.CS1 maint: archived copy as title (link)^{[usergenerated source]}
 ^ Bourbaki (1989), p. 244 defines the usage "tensor product of x and y", elements of the respective modules.
 ^ Analogous formulas also hold for contravariant tensors, as well as tensors of mixed variance. Although in many cases such as when there is an inner product defined, the distinction is irrelevant.
 ^ "The Coevaluation on Vector Spaces". The Unapologetic Mathematician. 20081113. Archived from the original on 20170202. Retrieved 20170126.
 ^ See Compact closed category.
 ^ Hungerford, Thomas W. (1974). Algebra. Springer. ISBN 0387905189.
 ^ Chen, Jungkai Alfred (Spring 2004), "Tensor product" (PDF), Advanced Algebra II (lecture notes), National Taiwan University, archived (PDF) from the original on 20160304
 ^ Abo, H.; Seigal, A.; Sturmfels, B. (2015). "Eigenconfigurations of Tensors". arXiv:1505.05729 [math.AG].
 ^ Tu, L. W. (2010). An Introduction to Manifolds. Universitext. Springer. p. 25. ISBN 9781441973993.
References
 Bourbaki, Nicolas (1989). Elements of mathematics, Algebra I. SpringerVerlag. ISBN 3540642439.
 Gowers, Timothy. "How to lose your fear of tensor products". Archived from the original on 23 July 2021.
 Grillet, Pierre A. (2007). Abstract Algebra. Springer Science+Business Media, LLC. ISBN 9780387715674.
 Halmos, Paul (1974). Finite dimensional vector spaces. Springer. ISBN 0387900934.
 Hungerford, Thomas W. (2003). Algebra. Springer. ISBN 0387905189.
 Lang, Serge (2002), Algebra, Graduate Texts in Mathematics, 211 (Revised third ed.), New York: SpringerVerlag, ISBN 9780387953854, MR 1878556, Zbl 0984.00001
 Mac Lane, S.; Birkhoff, G. (1999). Algebra. AMS Chelsea. ISBN 0821816462.
 Aguiar, M.; Mahajan, S. (2010). Monoidal functors, species and Hopf algebras. CRM Monograph Series Vol 29. ISBN 9780821847763.
 "Bibliography on the nonabelian tensor product of groups".