1. Tensor calculus1.3.2 Transpose, products and powers
1.3.2Transpose, products and powers
A vector times a tensor
So far the tensor stood to the left of the vector. The reader also uses the other order, p⋅A. Think about what the one rule (“products act on the vectors that touch”) says it must be. In p⋅(ab) the vector p touches a, the first vector of the dyad:
p⋅(ab)=(p⋅a)b.
So p⋅A measures with the first base vector of each dyad and outputs along the second. With A=Aijeiej:
p⋅A=pkek⋅Aijeiej=pkAijδkiej=piAijej,
or in components
(p⋅A)j=piAij.
[1.32]
Now the vector's index is contracted with the first index of the tensor. In matrix language this is a row times the matrix, ∼pTA: walk down the columns instead of along the rows. It is defined so that the dot product “passes through”: (p⋅A)⋅q=p⋅(A⋅q)=piAijqj for every q, which is why the reader can write p⋅A⋅q without brackets.
Worked example
With the tensor of Worked example [1.8], compute p⋅A for p=e1, and compare with A⋅e1.
(e1⋅A)j=A1j: the first row of A, so e1⋅A=e1+e3. On the other hand A⋅e1=Ai1ei is the first column, e1+2e2. Different vectors: in general p⋅A=A⋅p.
The transpose
The vector-on-the-left product leads straight to the transpose (the reader also says conjugate) AT: the tensor that does from the right what A does from the left,
AT⋅p=p⋅Afor all p,so(AT)ij=Aji.
[1.33]
To see the component form: (AT⋅p)j must equal (p⋅A)j=piAij=Aijpi, and comparing with “tensor times vector” (AT)jipi gives (AT)ji=Aij. Its matrix is the transposed matrix: rows become columns.
In base vectors the transpose is even simpler: swap the two vectors in every dyad.(ab)T=ba, and so AT=Aijejei=Ajieiej (rename the dummies). Swapping twice gives back the original, (AT)T=A.
Products of tensors
Applying B first and then A is again a linear machine. It defines the product A⋅B:
(A⋅B)⋅v=A⋅(B⋅v),(A⋅B)ik=AijBjk,
[1.34]
which is ordinary matrix multiplication of the component matrices. Derive the components with the one rule: the dot sits between the last base vector of A and the first of B,
Notice the order in A⋅B⋅v: B acts first, the one nearest the vector, just as in function composition f(g(x)).
Let us check that warning with matrices, because it is a good exercise in reading tensors. The rotation by 90∘ about e3 is R=e2e1−e1e2+e3e3 (it sends e1↦e2, e2↦−e1, e3↦e3; glue each image to its input on the right). The projection onto e1 is P=e1e1. Then, multiplying out and letting only touching vectors meet,
“Rotate, then project” is P⋅R=−e1e2: it sends e2 to −e1 and kills e1. “Project, then rotate” is R⋅P=e2e1: it sends e1 to e2. Different machines.
Two rules for products, and powers
Two more rules, both easy in index notation:
(A⋅B)T=BT⋅AT,A2=A⋅A,A3=A⋅A⋅A.
[1.35]
For the first: ((A⋅B)T)ik=(A⋅B)ki=AkjBji=BjiAkj=(BT)ij(AT)jk=(BT⋅AT)ik. The middle step is the whole trick: numbers commute, so you may reorder the factors AkjBji freely, and then you read off which index is contracted with which. Index notation turns “matrix identities” into “rearrange the factors and rename”.
The reversal of order is the same as for shoes and socks: to undo (transpose) a sequence of operations, undo them in the opposite order. In base vectors, (ab⋅cd)T=(b⋅c)da=dc⋅ba: transposing reverses the whole string.
Dyads multiply in a pleasant way:
(ab)⋅(cd)=(b⋅c)ad.
The two inner vectors meet and become a number, the two outer vectors remain.
The one rule, as a machine
Every product in this chapter (and in the rest of the course) follows from a single rule: write everything as numbers times strings of base vectors, and let each product symbol act on the base vectors that touch it. No symbol means glue the strings; ⋅ dots the touching pair; : dots the touching pair and then the next pair out; × crosses the touching pair. The calculator below does this for strings of base vectors. Type 13 for e1e3, 1122 for the fourth-order string e1e1e2e2, and so on. Coefficients are left out because they just multiply.
Try:
e1e3:e3e1=1
inside pair: e3⋅e3=1,outside pair: e1⋅e1=1
Result: scalar (2 + 2 base vectors − 4).
Interactive · type base-vector numbers, choose a product, or try the presets
The contraction machine. The coloured base vectors are the ones that meet; everything else passes through untouched. The order of the result is the total number of base vectors minus two per dot (four for a double dot, one for a cross).
Use it to check the products of this section. e1e3⋅e3e2 is a tensor product: the touching pair e3⋅e3=1 leaves e1e2. e2e1⋅e2 is a tensor acting on a vector: the touching pair is e1⋅e2=0. And e2⋅e2e1 is a vector acting from the left: the touching pair is e2⋅e2=1, which leaves e1. The double dot gets its own discussion in §1.3.4.
Worked example
Let A=2e1e2+e2e2 and B=e1e1+3e2e1. Compute A⋅B and B⋅A term by term, and check one of them with matrices.
Each product has 2×2=4 terms; keep only those whose touching vectors match.