Lecture 3.7: Tensors

Lecture 3.7: Tensors

Lecture 3.7: Tensors Matthew Macauley School of Mathematical & Statistical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 8530, Advanced Linear Algebra M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 1 / 8 What does a tensor product represent? Consider two vector spaces U; V over K, and say dim U = n and dim V = m. Then ∼ n−1 ∼ m−1 U = an−1x + ··· + a1x + a0 j ai 2 K ; V = bm−1y + ··· + b1x + b0 j bi 2 K : The direct product U × V has basis (xn−1; 0);:::; (x; 0); (1; 0) [ (0; y m−1);:::; (0; y); (0; 1) : An arbitrary element has the form n−1 m−1 an−1x + ··· + a1x + a0; bm−1y + ··· + b1y + b0 2 U × V : Notice that (3xi ; y j ) 6= (xi ; 3y j ) in U × V . There is another way to \multiply" the vector spaces U and V together. It is easy to check that the following is a vector space: 8m−1 n−1 9 <X X i j = cij x y j cij 2 K : : j=0 i=0 ; This is the idea of the tensor product, denoted U ⊗ V . Formalizing this is a bit delicate. For example, 3xi · y j = xi · (3y j ) = 3(xi · y j ). M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 2 / 8 The tensor product in terms of bases Though we are normally not allowed to \multiply" vectors, we can define it by inventing a special symbol. Denote the formal \product" of two vectors u 2 U and v 2 V as u ⊗ v. Pick bases u1;:::; un for U and v1;:::; vm for V . Definition The tensor product of U and V is the vector space with basis fui ⊗ vj g. By definition, every element of U ⊗ V can be written uniquely as m n X X cij (ui ⊗ vj ): j=1 i=1 It is immediate that dim(U ⊗ V ) = (dim U)(dim V ). Remark Not every multivariate polynomial in x and y factors as a product p(x)q(y). Not every element in U ⊗ V can be written as u ⊗ v { called a pure tensor. M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 3 / 8 A basis-free construction of the tensor product Given vector spaces U and V , let FU×V be the vector space with basis U × V : nX o FU×V = cuv eu;v j u 2 U; v 2 V : For all u; u0 2 U and v; v 0 2 V , we \need" the following to hold: eu+u0;v = eu;v + eu0;v eu;v+v 0 = eu;v + eu;v 0 ecu;v = ceu;v eu;cv = ceu;v : Consider the set of \null sums" from FU×V : [ [ S = eu+u0;v − eu;v − eu0;v [ eu;v+v 0 − eu;v − eu;v 0 u;u02U u2U v2V v;v 02V [ [ [ ecu;v − ceu;v [ eu;cv − ceu;v : u2U;v2V u2U;v2V c2K c2K Let Nq = Span(S). Denote the equivalence class of eu;v mod Nq as u ⊗ v. Definition The tensor product of U and V is the quotient space U ⊗ V := FU×V =Nq. M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 4 / 8 Why this basis-free construction works Let W be a vector space with basis wij j 1 ≤ i ≤ n; 1 ≤ j ≤ m . Define the linear map α: W −! U ⊗ V ; α: wij 7−! ui ⊗ vj : We'd like to define the (inverse) map β : U ⊗ V ! W , but to do so, we need a basis for U ⊗ V . What we can do is define a map ~ ~ X β : FU×V −! W ; β : e Σai ui ;Σbj vj 7−! ai bj wij : i;j Remark (exercise) The nullspace of β~ contains the nullspace of q. ~ Since Nq ⊆ Nβ~, the map β factors through FU×V =Nq := U ⊗ V : ~ ~ β β P FU×V / W e Σa u ;Σb v / ai bj wij ; i i j j 7 q β q β 0 % P ' P FU×V =Nq ai ui ⊗ bj vj The maps α and β are inverses because α ◦ β = IdU⊗V and β ◦ α = IdW . M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 5 / 8 Universal property of the tensor product Let τ : U × V ! U ⊗ V be the map (u; v) 7! u ⊗ v. The following says that every bilinear map from U × V can be \factored through" U ⊗ V . Theorem 3.14 For every bilinear β : U × V ! X , there is a unique linear L: U ⊗ V ! X such that β = L ◦ τ. β U × V / X < τ L $ U ⊗ V The universal property can provide us with alternate proofs of some basic results, such as: (i) fui ⊗ vj g is linearly independent (ii) U ⊗ V =∼ V ⊗ U (iii)( U ⊗ V ) ⊗ W =∼ U ⊗ (V ⊗ W ) (iv)( U × V ) ⊗ W =∼ (U ⊗ W ) × (V ⊗ W ). M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 6 / 8 Tensors as linear maps Proposition 3.15 There is a natural isomorphism U ⊗ V −! Hom(U0; V ); u ⊗ v 7−! ` 7! (`; u)v : Eij The following shows the linear map ` 7−! (`; ui )vj in matrix form: 20 0 ··· 03 60 0 ··· 07 6 7 6. .7 6. .7 c1 ··· ci ··· cn 6. 1 .7 = 0 ··· ci ··· 0 | {z } 6. .7 | {z } P 0 6. .7 `= ci `i 2U 4. .5 ci vj 2V 0 0 ··· 0 | {z } T Eij :=vj ui More generally: 2u 3 2v u v u ··· v u 3 1 2v 3 2v 3 1 1 1 2 1 n u 1 1 v u v u ··· v u 6 27 . 6 2 1 2 2 2 n 7 6 7 ⊗ 6 . 7 = vuT = 6 . 7 u u ··· u = 6 7 6 . 7 4 . 5 4 . 5 1 2 n 6 . .. 7 4 . 5 4 . 5 vm vm un vmu1 vmu2 ··· vmun M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 7 / 8 Tensors as a way to extend an R-vector space to a C-vector space Let X be an R-vector space with basis fx1;:::; xng. Note that C is a 2-dimensional R-vector space, with basis f1; ig. Suppose A: X ! X is a linear map with eigenvalues λ1;2 = ±i. If v is an eigenvector v for λ = i, then v 62 X . But v should live in some \extension" of X . In this bigger vector space, we want to have vectors like zv; z 2 C; v 2 X : What we really want is C ⊗ X , which has basis 1 ⊗ x1;:::; 1 ⊗ xn; i ⊗ x1;:::; i ⊗ xn \=" x1;:::; xn; ix1;:::; ixn : Notice how the associativity that we would expect comes for free with the tensor product, and compare it to the other examples from this lecture: (3i)v = i(3v); (3xi )y j = xi (3y j ); (3u)v T = u(3v T ); 3u ⊗ v = u ⊗ 3v: M. Macauley (Clemson) Lecture 3.7: Tensors Math 8530, Advanced Linear Algebra 8 / 8.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us