Tensor product
From Wikipedia, the free encyclopedia
In mathematics, the tensor product, denoted[1] by
, may be applied in different contexts to vectors, matrices, tensors, vector spaces, algebras, topological vector spaces, and modules. In each case the significance of the symbol is the same: the most general bilinear operation. In some contexts, this product is also referred to as outer product. The term "tensor product" is also used in relation to monoidal categories.
Example:
Resultant rank = 4, resultant dimension = 16.
Here rank denotes the tensor rank (number of requisite indices), while the matrix rank counts the number of degrees of freedom in the resulting array.
A representative case is the Kronecker product of any two rectangular arrays, considered as matrices. A dyadic product is the special case of the tensor product between two vectors of the same dimension.
Contents |
[edit] Tensor product of vector spaces
The tensor product V ⊗ W of two vector spaces V and W over a field K can be defined by the method of generators and relations.
To construct V ⊗ W, one begins with the set of ordered pairs in the Cartesian product V × W. For the purposes of this construction, regard this Cartesian product as a set rather than a vector space. The free vector space on V × W is defined by taking the vector space in which the elements of V × W are a basis. Symbolically,
where we have used the symbol e(v × w) to emphasize that these are taken to be linearly independent for distinct (v × w) ∈ V × W.
The tensor product arises by defining the following three equivalence relations in F(V × W):
where v, vi, w, and wi are vectors from V and W (respectively), and c is from the underlying field K. Denoting by R the space generated by these three equivalence relations, the tensor product of the two vector spaces V and W is then the quotient space
It is also called the tensor product space of V and W and is a vector space (which can be verified by directly checking the vector space axioms). The tensor product of two elements v and w is the equivalence class (e(v × w) + R) of e(v × w) in V ⊗ W, denoted v ⊗ w. This notation can somewhat obscure the fact that tensors are always cosets: manipulations performed via the representatives (v,w) must always be checked that they do not depend on the particular choice of representative.
The space R is mapped to zero in V ⊗ W, so that the above three equivalence relations become equalities in the tensor product space:
Given bases {vi} and {wi} for V and W respectively, the tensors {vi ⊗ wj} form a basis for V ⊗ W (generally ordered so that vi ⊗ wj+1 comes before vi+1 ⊗ wj). The dimension of the tensor product therefore is the product of dimensions of the original spaces; for instance Rm ⊗ Rn will have dimension mn.
Elements of V ⊗ W are sometimes referred to as tensors, although this term refers to many other related concepts as well.[2] An element of V ⊗ W of the form v ⊗ w 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. To wit, if v1 and v2 are linearly independent, and w1 and w2 are also linearly independent, then v1 ⊗ w1 + v2 ⊗ w2 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.
[edit] Characterization by a universal property
The tensor product is characterized by a universal property. Consider the problem of mapping the Cartesian product V × W into a vector space X via a bilinear map ψ. The tensor product construction V ⊗ W, together with the natural bilinear embedding map φ : V × W → V ⊗ W given by
is the "universal" solution to this problem in the following sense. For any other such pair (X, ψ), where X is a vector space, and ψ a bilinear mapping V × W → X, there exists a unique linear map
such that
As with any universal property, this characterizes the tensor product uniquely up to unique isomorphism. In the words of category theory, the tensor product, or more precisely the map
, is the terminal object in the category of bilinear maps from V × W.
An immediate consequence is the identification of the bilinear maps from V × W to X
and the linear maps
obtained by sending ψ to T.
[edit] As a functor
The tensor product also operates on linear maps between vector spaces. Specifically, given two linear maps S : V → X and T : W → Y between vector spaces, the tensor product of the two linear maps S and T is a linear map
defined by
In this way, the tensor product becomes a bifunctor from the category of vector spaces to itself, covariant in both arguments.
The Kronecker product of two matrices is the matrix of the tensor product of the two corresponding linear maps under a standard choice of bases of the tensor products (see the article on Kronecker products).
[edit] More than two vector spaces
The construction and the universal property of the tensor product can be extended to allow for more than two vector spaces. For example, suppose that V1, V2, and V3 are three vector spaces. The tensor product V1⊗V2⊗V3 is defined along with a trilinear mapping from the direct product
so that, any trilinear map F from the direct product to a vector space W
factors uniquely as
where L is a linear map. The tensor product is uniquely characterized by this property, up to a unique isomorphism.
This construction is related to repeated tensor products of two spaces. For example, if V1, V2, and V3 are three vector spaces, then there are (natural) isomorphisms
More generally, the tensor product of an arbitrary indexed family Vi, i ∈ I, is defined to be universal with respect to multilinear mappings of the direct product 
[edit] Tensor powers and braiding
Let n be a non-negative integer. The nth tensor power of the vector space V is the n-fold tensor product of V with itself. That is
A permutation σ of the set {1,2,…,n} determines a mapping of the nth Cartesian power of V
defined by
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 σ.
[edit] Tensor product of two tensors
A tensor on V is an element of a vector space of the form
for non-negative integers r and s. There is a general formula for the components of a (tensor) product of two (or more) tensors. For example, if F and G are two covariant tensors of rank m and n (respectively) (i.e. F ∈ Tm0, and G ∈ Tn0), then the components of their tensor product are given by
In this example, it is assumed that there is a chosen basis B of the vector space V, and the basis on any tensor space Tsr is tacitly assumed to be the standard one (this basis is described in the article on Kronecker products). Thus, the components of the tensor product of two tensors are the ordinary product of the components of each tensor.
Note that in the tensor product, the factor F consumes the first rank(F) indices, and the factor G consumes the next rank(G) indices, so
[edit] Example
Let U be a tensor of type (1,1) with components Uαβ, and let V be a tensor of type (1,0) with components Vγ. Then
and
.
The tensor product inherits all the indices of its factors.
See also: Classical treatment of tensors
[edit] Kronecker product of two matrices
With matrices this operation is usually called the Kronecker product, a term used to make clear that the result has a particular block structure imposed upon it, in which each element of the first matrix is replaced by the second matrix, scaled by that element. For matrices U and V this is:
[edit] Tensor product of multilinear maps
Given multilinear maps
and
their tensor product is the multilinear function
[edit] Relation with the dual space
In the discussion on the universal property, replacing X by the underlying scalar field of V and W yields that the space
(the dual space of
, containing all linear functionals on that space) is naturally identified with the space of all bilinear functionals on
. In other words, every bilinear functional is a functional on the tensor product, and vice versa.
Whenever V and W are finite dimensional, there is a natural isomorphism between
and
, whereas for vector spaces of arbitrary dimension we only have an inclusion
. So, the tensors of the linear functionals are bilinear functionals. This gives us a new way to look at the space of bilinear functionals, as a tensor product itself.
[edit] Types of tensors, e.g., alternating
Linear subspaces of the bilinear operators (or in general, multilinear operators) determine natural quotient spaces of the tensor space, which are frequently useful. See wedge product for the first major example. Another would be the treatment of algebraic forms as symmetric tensors.
[edit] Over more general rings
The notation
refers to a tensor product of modules over a ring R.
[edit] Tensor product for computer programmers
| It has been suggested that this section be split into a new article. (Discuss) |
[edit] Array programming languages
Array programming languages may have this pattern built in. For example, in APL the tensor product is expressed as
(for example
or
). 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—the result is then 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 higher-order functions such as the Jacobian derivative (for example, Fortran/APL).
[edit] See also
- Tensor product of R-algebras
- Tensor product of fields
- Tensor product of graphs
- Tensor product of Hilbert spaces
- Tensor product of line bundles
- Tensor product of modules
- Tensor product of quadratic forms
- Topological tensor product
- Dyadic product
[edit] Notes
- ^ The symbol
was used much earlier for the Phoenician letter ṭēth, but the modern notation is presumably a modification of the multiplication sign ×. - ^ See tensor or tensor (intrinsic definition).
- ^ 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.
[edit] References
- Bourbaki, Nicolas (1989), Elements of mathematics, Algebra I, Springer-Verlag, ISBN 3-540-64243-9.
- Halmos, Paul (1974), Finite dimensional vector spaces, Springer, ISBN 0387900934.
- Lang, Serge (2002), Algebra, Graduate Texts in Mathematics, 211 (Revised third ed.), New York: Springer-Verlag, MR1878556, ISBN 978-0-387-95385-4
- MacLane, S.; Birkhoff, G. (1999), Algebra, AMS Chelsea, ISBN 0-8218-1646-2.

































