1. Tensor calculus1.3.3 Components and the matrix of a tensor
1.3.3Components and the matrix of a tensor
Nine numbers from three images
In §1.3.1 we saw that the three images A⋅e1, A⋅e2, A⋅e3 determine the tensor. Each image is a vector, so it has three components along e1,e2,e3. Give them names: the i-th component of the image of ej is called Aij,
A⋅ej=Aijei,soAij=ei⋅A⋅ej.
[1.28]
The second form follows from the first by dotting with ei (that is how you extract a component, [1.8]). The nine numbers Aij are the components of A in this basis.
The tensor as nine dyads
With the components, the tensor itself can be written as a sum of nine dyads of base vectors:
A=Aijeiej=A11e1e1+A12e1e2+⋯+A33e3e3.
[1.29]
Why is this true? Two tensors are equal if they do the same thing to every vector, and by linearity it is enough to check the three base vectors. Let the right side act on ek:
which is A⋅ek by [1.28]. Each step is one of the chapter 1 tools: the dyad rule [1.27], then ej⋅ek=δjk, then the substitution rule of δ.
This expansion is the tensor version of a=aiei. A vector is three numbers times three base vectors; a second-order tensor is nine numbers times nine pairs of base vectors. The “order” of a tensor is the number of base vectors in each term.
The matrix, and how to read it
The components are stored in a 3×3 matrix, written A in the reader:
Look at where the summed index sits: j is the second index of A and the index of p. That is “row times column”: q1=A11p1+A12p2+A13p3 walks along row 1 of the matrix and down the column of p. And the column picture of §1.3.1 is hiding in the same formula: ∼q=p1(column 1)+p2(column 2)+p3(column 3).
Worked example [1.8]
A tensor maps the base vectors as A⋅e1=e1+2e2, A⋅e2=3e2 and A⋅e3=e1−e3. Find the matrix A and the image of p=2e1−e2+e3.
so A⋅p=3e1+e2−e3. Check with linearity: 2(e1+2e2)−3e2+(e1−e3)=3e1+e2−e3.
In dyadic form the same tensor is A=e1e1+2e2e1+3e2e2+e1e3−e3e3: each image A⋅ej gets the base vector ej glued on its right, A=(A⋅e1)e1+(A⋅e2)e2+(A⋅e3)e3.
That last line deserves to be a formula of its own, because it is the quickest way to write down a tensor from what it does:
A=(A⋅e1)e1+(A⋅e2)e2+(A⋅e3)e3=(A⋅ej)ej.
Check it on ek: the right side gives (A⋅ej)(ej⋅ek)=A⋅ek. It is the content of exercise book exercise 1.16.
Reading a tensor written in base vectors
The exercise book usually gives tensors as sums of base-vector dyads, like A=3e1e1−e1e2−e2e1+3e2e2+2e3e3. Going to the matrix is pure bookkeeping: the coefficient of eiej goes in row i, column j. Terms that do not appear are zero.
Worked example
Write the matrix of B=2e1e2−e3e1+4e2e2, and compute B⋅e1 and B⋅(e1+e2) directly from the dyads.
B=00−1240000.
Directly: in B⋅e1 the input meets the right vector of each dyad, so only dyads ending in e1 survive: −e3e1⋅e1=−e3. So B⋅e1=−e3, the first column. For e1+e2, dyads ending in e2 also survive: B⋅(e1+e2)=−e3+2e1+4e2. Same as B[1,1,0]T=[2,4,−1]T.
The identity and the components of a dyad
The identity tensor has Iij=ei⋅I⋅ej=ei⋅ej=δij, so
I=δijeiej=e1e1+e2e2+e3e3,I=diag(1,1,1),
[1.31]
which the reader writes as (1.60)–(1.61). In words: the identity is the sum of the projections onto the three axes. Put a vector in, take its shadow on each axis, and add the shadows back up: you get the vector back. That is exactly what p=piei says.
And the dyad of two arbitrary vectors, written in base vectors, is
Like the column of a vector, the matrix A is a description of Ain one particular basis. A different basis gives a different matrix for the same machine. §1.3+ works out how it changes.