TENSOR PRODUCT
In mathematics, the 'tensor product', denoted 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'.
'Example:'
:
Resultant rank = 2, resultant dimension = 4×3 = 12.
Here rank denotes the tensor rank (number of requisite indices), while dimension counts the number of degrees of freedom in the resulting array; the matrix rank is 1.
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.
There is a general formula for the components of a product of two (or more) tensors. For example, if ''U'' and ''V'' are two covariant tensors of rank ''n'' and ''m'' (respectively), then the components of their tensor product are given by
:.[1]
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 ''U'' consumes the first rank(''U'') indices, and the factor ''V'' consumes the next rank(''V'') indices, so
:
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
''Main article: Kronecker product.''
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 and this is:
:.
Given multilinear maps and
their tensor product is the multilinear function
:
The tensor product of two vector spaces ''V'' and ''W'' over a field has a formal definition by the method of ''generators and relations''. The equivalence class under these relations (given below) of is called a ''tensor'' and is denoted by . By construction, one can prove several identities between tensors and form an algebra of tensors.
To construct , take a vector space over with basis and apply (factor out the subspace generated by) the following multilinear relations:
★
★
★
where are vectors from the appropriate spaces, and is from the underlying field .
We can then derive the identity
:,
the zero in .
The resulting tensor product is itself a vector space, which can be verified by directly checking the vector space axioms.
Given bases and for ''V'' and ''W'' respectively, the tensors of the form
forms a basis for . The dimension of the tensor product therefore is the product of dimensions of the original spaces; for instance will have dimension .
The tensor product is characterized by a universal property. Consider the problem of embedding the Cartesian product ''V'' × ''W'' into a vector space ''X'' via a bilinear map ''φ''. The tensor product construction ''V'' ⊗ ''W'', together with the natural 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 an ''unique'' linear map
:
such that
:
Assuming this universal property, it can be readily verified that the tensor product is unique up to isomorphism.
An immediate consequence is the identification of
:
the bilinear maps from ''V'' × ''W'' to ''X'' and the linear maps
:
The natural isomorphism maps ''ψ'' to ''T''.
The tensor product of two Hilbert spaces is another Hilbert space, which is defined as described below.
The discussion so far has been purely algebraic. In light of the extra structure on Hilbert spaces, one would like to introduce an inner product, and therefore a topology, on the tensor product that arise naturally from those of the factors. Let ''H''1 and ''H''2 be two Hilbert spaces with inner products and , respectively. Construct the tensor product of ''H''1 and ''H''2 as vector spaces as explained above. We can turn this vector space tensor product into an inner product space by defining
:
and extending by linearity. That this inner product is the natural one is justified by the identification of scalar-valued bilinear maps on ''H''1 × ''H''2 and linear functionals on their vector space tensor product. Finally, take the completion under this inner product. The resulting Hilbert space is the tensor product of ''H''1 and ''H''2.
If ''H''1 and ''H''2 have orthonormal bases {φ''k''} and {ψ''l''}, respectively, then {φ''k'' ⊗ ψ''l''} is an orthonormal basis for ''H''1 ⊗ ''H''2.
The following examples show how tensor products arise naturally.
Given two measure spaces ''X'' and ''Y'', with measures μ and ν respectively, one may look at L2(''X'' × ''Y''), the space of functions on ''X'' × ''Y'' that are square integrable with respect to the product measure μ × ν. If ''f'' is a square integrable function on ''X'', and ''g'' is a square integrable function on ''Y'', then we can define a function ''h'' on ''X'' × ''Y'' by ''h''(''x'',''y'') = ''f''(''x'') ''g''(''y''). The definition of the product measure ensures that all functions of this form are square integrable, so this defines a bilinear mapping L2(''X'') × L2(''Y'') → L2(''X'' × ''Y''). Linear combinations of functions of the form ''f''(''x'') ''g''(''y'') are also in L2(''X'' × ''Y''). It turns out that the set of linear combinations is in fact dense in L2(''X'' × ''Y''), if L2(''X'') and L2(''Y'') are separable. This shows that L2(''X'') ⊗ L2(''Y'') is isomorphic to L2(''X'' × ''Y''), and it also explains why we need to take the completion in the construction of the Hilbert space tensor product.
Similarly, we can show that L2(''X''; ''H''), denoting the space of square integrable functions ''X'' → ''H'', is isomorphic to L2(''X'') ⊗ ''H'' if this space is separable. The isomorphism maps ''f''(''x'') ⊗ φ ∈ L2(''X'') ⊗ ''H'' to ''f''(''x'')φ ∈ L2(''X''; ''H''). We can combine this with the previous example and conclude that L2(''X'') ⊗ L2(''Y'') and L2(''X'' × ''Y'') are both isomorphic to L2(''X''; L2(''Y'')).
Tensor products of Hilbert spaces arise often in quantum mechanics. If some particle is described by the Hilbert space ''H''1, and another particle is described by ''H''2, then the system consisting of both particles is described by the tensor product of ''H''1 and ''H''2. For example, the state space of a quantum harmonic oscillator is L2('R'), so the state space of two oscillators is L2('R') ⊗ L2('R'), which is isomorphic to L2('R'2). Therefore, the two-particle system is described by wave functions of the form φ(''x''1, ''x''2). A more intricate example is provided by the Fock spaces, which describe a variable number of particles.
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 and 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.
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.
''See tensor product of modules over a ring''
===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).
1.
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.
★ Outer product
★ tensor product of modules
★ tensor product of R-algebras
★ tensor product of fields
★ tensor product of Hilbert spaces
★ topological tensor product
★ tensor product of line bundles
★ tensor product of graphs
★ tensor product of quadratic forms
★ dyadic product
'Example:'
:
Resultant rank = 2, resultant dimension = 4×3 = 12.
Here rank denotes the tensor rank (number of requisite indices), while dimension counts the number of degrees of freedom in the resulting array; the matrix rank is 1.
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.
Tensor product of two tensors
There is a general formula for the components of a product of two (or more) tensors. For example, if ''U'' and ''V'' are two covariant tensors of rank ''n'' and ''m'' (respectively), then the components of their tensor product are given by
:.[1]
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 ''U'' consumes the first rank(''U'') indices, and the factor ''V'' consumes the next rank(''V'') indices, so
:
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
Kronecker product of two matrices
''Main article: Kronecker product.''
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 and this is:
:.
Tensor product of multilinear maps
Given multilinear maps and
their tensor product is the multilinear function
:
Tensor product of vector spaces
The tensor product of two vector spaces ''V'' and ''W'' over a field has a formal definition by the method of ''generators and relations''. The equivalence class under these relations (given below) of is called a ''tensor'' and is denoted by . By construction, one can prove several identities between tensors and form an algebra of tensors.
To construct , take a vector space over with basis and apply (factor out the subspace generated by) the following multilinear relations:
★
★
★
where are vectors from the appropriate spaces, and is from the underlying field .
We can then derive the identity
:,
the zero in .
The resulting tensor product is itself a vector space, which can be verified by directly checking the vector space axioms.
Given bases and for ''V'' and ''W'' respectively, the tensors of the form
forms a basis for . The dimension of the tensor product therefore is the product of dimensions of the original spaces; for instance will have dimension .
Universal property of tensor product
The tensor product is characterized by a universal property. Consider the problem of embedding the Cartesian product ''V'' × ''W'' into a vector space ''X'' via a bilinear map ''φ''. The tensor product construction ''V'' ⊗ ''W'', together with the natural 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 an ''unique'' linear map
:
such that
:
Assuming this universal property, it can be readily verified that the tensor product is unique up to isomorphism.
An immediate consequence is the identification of
:
the bilinear maps from ''V'' × ''W'' to ''X'' and the linear maps
:
The natural isomorphism maps ''ψ'' to ''T''.
Tensor product of Hilbert spaces
The tensor product of two Hilbert spaces is another Hilbert space, which is defined as described below.
Definition
The discussion so far has been purely algebraic. In light of the extra structure on Hilbert spaces, one would like to introduce an inner product, and therefore a topology, on the tensor product that arise naturally from those of the factors. Let ''H''1 and ''H''2 be two Hilbert spaces with inner products and , respectively. Construct the tensor product of ''H''1 and ''H''2 as vector spaces as explained above. We can turn this vector space tensor product into an inner product space by defining
:
and extending by linearity. That this inner product is the natural one is justified by the identification of scalar-valued bilinear maps on ''H''1 × ''H''2 and linear functionals on their vector space tensor product. Finally, take the completion under this inner product. The resulting Hilbert space is the tensor product of ''H''1 and ''H''2.
Properties
If ''H''1 and ''H''2 have orthonormal bases {φ''k''} and {ψ''l''}, respectively, then {φ''k'' ⊗ ψ''l''} is an orthonormal basis for ''H''1 ⊗ ''H''2.
Examples and applications
The following examples show how tensor products arise naturally.
Given two measure spaces ''X'' and ''Y'', with measures μ and ν respectively, one may look at L2(''X'' × ''Y''), the space of functions on ''X'' × ''Y'' that are square integrable with respect to the product measure μ × ν. If ''f'' is a square integrable function on ''X'', and ''g'' is a square integrable function on ''Y'', then we can define a function ''h'' on ''X'' × ''Y'' by ''h''(''x'',''y'') = ''f''(''x'') ''g''(''y''). The definition of the product measure ensures that all functions of this form are square integrable, so this defines a bilinear mapping L2(''X'') × L2(''Y'') → L2(''X'' × ''Y''). Linear combinations of functions of the form ''f''(''x'') ''g''(''y'') are also in L2(''X'' × ''Y''). It turns out that the set of linear combinations is in fact dense in L2(''X'' × ''Y''), if L2(''X'') and L2(''Y'') are separable. This shows that L2(''X'') ⊗ L2(''Y'') is isomorphic to L2(''X'' × ''Y''), and it also explains why we need to take the completion in the construction of the Hilbert space tensor product.
Similarly, we can show that L2(''X''; ''H''), denoting the space of square integrable functions ''X'' → ''H'', is isomorphic to L2(''X'') ⊗ ''H'' if this space is separable. The isomorphism maps ''f''(''x'') ⊗ φ ∈ L2(''X'') ⊗ ''H'' to ''f''(''x'')φ ∈ L2(''X''; ''H''). We can combine this with the previous example and conclude that L2(''X'') ⊗ L2(''Y'') and L2(''X'' × ''Y'') are both isomorphic to L2(''X''; L2(''Y'')).
Tensor products of Hilbert spaces arise often in quantum mechanics. If some particle is described by the Hilbert space ''H''1, and another particle is described by ''H''2, then the system consisting of both particles is described by the tensor product of ''H''1 and ''H''2. For example, the state space of a quantum harmonic oscillator is L2('R'), so the state space of two oscillators is L2('R') ⊗ L2('R'), which is isomorphic to L2('R'2). Therefore, the two-particle system is described by wave functions of the form φ(''x''1, ''x''2). A more intricate example is provided by the Fock spaces, which describe a variable number of particles.
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 and 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.
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.
Over more general rings
''See tensor product of modules over a ring''
Tensor product for computer programmers
===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).
Notes
1.
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.
See also
★ Outer product
★ tensor product of modules
★ tensor product of R-algebras
★ tensor product of fields
★ tensor product of Hilbert spaces
★ topological tensor product
★ tensor product of line bundles
★ tensor product of graphs
★ tensor product of quadratic forms
★ dyadic product
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español