Introduction To Tensors
Introduction To Tensors
Introduction To Tensors
IntroductoryTensorAnalysis
5.1DyadicAlgebra
Consider two vectors, a and b . As we saw in chapter 3 we can
write them as follows:
a =a 1 u x+a2 u y +a3 u z
b=b 1 u x+b2 u y +b3 uz
where each vector has three components in our Cartesian space. If we
multiply them in the 'normal' distributive fashion:
a b
= ( a1 u x+a 2 u y +a3 u z ) ( b 1 u x+b2 u y +b3 uz )
= a1 b1 ux ux+a1 b2 ux uy +a1 b3 ux uz
+a2 b 1 uy ux +a2 b2 uy uy +a2 b3 uy uz
+a 3 b 1 uz ux+a3 b2 uz uy +a 3 b 3 uz uz
This is the direct product of a and b , referred to briefly in
chapter 2, and the resulting object is called a dyad. Note that, in
our Cartesian space, there are now nine scalar coefficients, aibj ,
that is, 3x3 from the vectors a and b . One represents this
compactly as1:
D=a b
Just as ux is termed a unit vector, ux ux is a unit dyad.
Is this product commutative, you ask? Let's see:
b a
= ( b1 u x+b 2 u y +b3 u z ) ( a 1 u x+a2 u y +a3 uz )
= b1 a1 ux ux+b1 a2 ux uy +b1 a3 ux uz
+b 2 a1 uy ux +b2 a2 uy uy +b2 a3 uy uz
+b 3 a 1 uz ux+b3 a2 uz uy +b 3 a 3 uz uz
Now we subtract the dyadic products:
1 Donotconfusethisnotationwiththeourerproductnotationofchapter3.Recallthattheouterproductofaandbaswe
havedefineditistheproductofaandthetransposeofb.Notealsothatweuseanunderscoreheretorepresentdyadic
(andhigher)products.
a b ba
=(a 1 b1 b1 a1) ux ux+( a1 b2b 1 a 2) ux uy +(a1 b3b1 a3) ux uz
=(a 2 b 1b2 a1 ) uy ux +( a2 b 2b2 a2 ) uy uy +(a 2 b 3b2 a3 ) uy uz
=(a3 b1b3 a1) uz ux+(a3 b2b3 a2 ) uz uy +( a3 b3b 3 a 3) uz uz
The terms with the same subscripts are all zero however the nonidentical subscript terms are not necessarily equal. Therefore the
dyadic product is not commutative in general.
Now, what would be the result of, say, the inner product of
vector c with dyad D ? We define this operation by 'associating' the
vector c with the vector 'beside' it in D . Thus, if we premultiply
by c :
cD= ca b= b
Post multiplication gives:
Dc =a bc = a
Thus, this type of inner product is not commutative, ie.
cDDc
unlike the inner product of two vectors. We see that the inner
product of vector with a dyad gives back one of the vectors that make
up the dyad multiplied by a constant. We will have more to say about
this shortly.
The astute reader will by now be saying to herself Huh? What is
this?. And well so. To rationalize this in terms of previous
discussions of vectors lets switch to our matrix representations and
construct our dyad again:
[] []
a1
a = a2
a3
b1
b= b
2
b3
[]
a1
a = a2
a3
b T =[ b1 b2 b 3 ]
D=a bT
[] []
[]
a1
c1
D=( a b )c= a2 [ b 1 b2 b3 ] c 2
a3
c3
a1
= a2
a3
c DDc
but this time the result of the product of a dyad with vector is a
new dyad.
The third type of product that we will consider is the same type that
we started with .. the normal distributive multiplication. Thus we
D=a b
= a1 u xa 2 u y a 3 u z b 1 u x b2 u y b3 u z
= a1 b1 ux uxa1 b2 ux uy a 1 b3 ux uz
a2 b 1 uy ux a2 b2 uy uy a2 b3 uy uz
a 3 b 1 uz uxa3 b2 uz uy a 3 b 3 uz uz
with coefficients and unit dyads, very similar to the longhand
representation of vectors. Recall from chapter 3 that a simple
Euclidean vector can be represented using a 1x3 column matrix. Thus
vector a has the components a1, a2 and a3: which we include in a
matrix representing the vector:
[]
a1
a = a2
a3
a1 b1 a1 b 2 a 1 b3
D= a2 b1 a2 b 2 a 2 b3
a3 b1 a3 b 2 a 3 b 3
d 11 d12 d 13
= d 21 d22 d 23
d 31 d32 d 33
a1 b1 a1 b 2
a2 b1 a2 b 2
a3 b1 a 3 b 2
T
D a b
or
a1 b3
a1
a2 b3 a2 [ b 1 b2 b3 ]
a3 b3
a3
][]
Any matrix can have any values that we want to put into it so if we
have the matrix:
a1 b1 a2 b 2 a 3 b 3
a2 b1 a2 b 2 a 2 b3
a3 b1 a3 b 2 a 3 b 3
in which the first row differs from the previous matrix, we cannot
construct this matrix from the direct product of vectors a and b
(except in the trivial case of 0 vectors ) nor can it be factored
into a and b . Therefore we cannot say that in general, all square
matrices are dyads.
There is an operation that we can do on a dyad called
contraction. As we have learned, the dyad can be constructed from the
direct product of two vectors. The dyad is said to be contracted if
inner product is taken of the two component vectors (using Dirac
notation):
D a b
D(contracted )=<a | b >=
This reduces dyad, D, to a scalar. Of course for higher rank objects
there are multiple contractions in general there will be (rank 1)
possible ways to do a contraction. Also, note that the contraction
operation reduces the rank by two.
We must point out some potential notational problems before
proceeding. First, in our discussion of matrices we distinguished
between the matrix product of two matrices and the direct product of
two matrices (equation [2-3]). We must also be careful to do so here
for dyads. 'Regular' multiplication is the same as matrix
multiplication:
a11 a12
= a21 a22
a31 a32
A
a13 b11 b12 b13
a23 b21 b22 b23
a33 b31 b32 b33
][
a11 b11+a 12 b21+a 13 b31 a11 b 12 +a12 b 22+a13 b32 a 11 b13+a12 b23+a13 b33
= a21 b11+a 22 b21+a 23 b31 a21 b 12+a22 b 22+a23 b32 a 21 b13+a22 b 23+a23 b33
a31 b11+a 32 b21+a 33 b31 a31 b 12 +a32 b 22+a33 b32 a 31 b13+a32 b23+a33 b33
=C
a11 a12
= a21 a22
a31 a32
a11
= a 21
a31
[
[
[
b 11 b12 b13
b 21 b22 b23
b 31 b32 b33
b 11 b12 b13
b 21 b22 b23
b 31 b32 b33
b 11 b12 b13
b 21 b22 b23
b 31 b32 b33
] [
] [
] [
AB
a13 b 11 b12 b 13
a23 b 21 b22 b 23
a33 b 31 b32 b 33
][
a12
b11 b 12 b13
b21 b 22 b23
b31 b 32 b33
a22
b11 b 12 b13
b21 b 22 b23
b31 b 32 b33
a32
b11 b 12 b13
b21 b 22 b23
b31 b 32 b33
]
] [
] [
] [
]
]
]
]
a13
b11 b 12 b13
b21 b 22 b23
b31 b 32 b33
a23
b11 b 12 b13
b21 b 22 b23
b31 b 32 b33
a33
b11 b 12 b13
b21 b 22 b23
b31 b 32 b33
a31 b11
a 33 b33
81 terms
Mx =y
We must take care not to confuse the two. Our notation here has been
do denote a matrix and M do denote a dyad. Usually the
to use M
context will tell us which is which; however in other texts the
B
is used in this text for
distinction may not be so clear. Thus A
standard matrix multiplication and A B or AB for dyad (or triad,
tetrad etc.) direct product multiplication.
So, to recap, we have some new mathematical objects developed
from the application of the direct product of vectors with each
other. Each of these objects has a 'rank' associated with it which is
equivalent to the power that the dimensionality of the space of the
vector(s) is raised to in order to generate the number of
coefficients of the object. Thus, the dyad results from the direct
product of two 3D vectors and has rank 2 or the power of 2 in 32.
Three vectors give a triad of rank 3 and four vectors give a tetrad
of rank 4. Scalars are ranked 0 since they consist of no vectors.
5.2Thegradientofavector
In chapter 4 we alluded to the gradient calculation:
a or grad a
and made the assertion that the result is a dyad. We now show that
this is so via the direct product of and a :
a = ux+ uy + uz ( ax ux+a y uy +a z uz )
x
y
z
a
a
a
= x ux ux+ y ux uy + z ux uz
x
x
x
a
a
a
+ x uy ux+ y uy uy + z uy uz
y
y
y
ax
a y
az
+
u u +
u u +
u u
z z x z z y z z z
The ui u j are the unit dyads as above and the partial derivatives are
the components of the dyad. We can compact this a bit using matrix
notation:
[ ]
ax
x
ax
a =D=
y
ax
z
ay
x
ay
y
ay
z
a z
x
a z
y
a z
z
5.3Transformations
We have seen in chapter three that the norm of a vector or more
generally, the inner product of a pair of vectors is invariant to
rotations. Rotation operators are orthogonal which in visual terms
means that an operator and its transpose rotate in opposite
directions by the same amount. Also, we have seen that the rotation
operation may be considered a rotation of coordinates with a
consequent change of basis set. One can also envision a change of
coordinates involving translation or perhaps both translation and
rotation together. In magnetic resonance spectroscopy we are
primarily concerned with rotations. Intuitively, we expect that the
norm of the vector will remain the same in the new coordinate system
as in the old one, as it did for rotations only.
Thus, a vector in coordinate system A is considered to be the
same vector in coordinate system B, assuming the beginning and ending
points of the vector do not move with the coordinate system change.
The components of the vector in each coordinate system will generally
not be equal however we expect the norm (the length) to remain
constant. Let's suppose, then, that we have a 2D vector,
a =a1 uxa2 uy , in coordinate system A. To transform to coordinate
system B we use a function of some type:
b1 =b1 a 1, a2
b2 =b2 a 1, a2
and our vector is now:
b=b 1 vx b2 vy
However, we have just
to be the same as the
change as a result of
system A must see the
Thus to indicate that
a :
aa b=ac d
a2 b=ac d
b= ac d
a2
The term in brackets is the scalar result of an inner product
calculation which is divided by a2, another scalar. For convenience
we replace this with a single scalar variable:
2 ThisexpositionisthatofJ.C.Kolecki.Seethereferences.
( ac )
a2
b= d
let =
b :
a bb=c db
a b2=c ( db)
c ( db )
a =
2
b
b2
a =
Now, we have:
c
ab= d=cd
or
d=e
Thus, if the dyads are equivalent so are their associated scalars.
Presumably the reverse is true as well. If the contractions of each
dyad are equal to each other then so are the dyads. We mean this in
the same sense in which we discussed vectors. In other words,
although the components of D and E may not be the same, they
represent the same dyad if their contractions are equivalent.
5.4ATensorDefinition
We can now define a tensor. We mean by this term a mathematical
object which is invariant to transformation of basis. We have already
seen that the scalar object is invariant to a change of basis as are
vectors and dyads. In other words a scalar such as temperature of a
cup of tea is the same whether the coordinate system's origin is on
the earth or on the moon. Formally, if the temperature in coordinate
system A is T and in coordinate system A' it is T' then the
transformation from T to T' is:
T ' =a T
where a is always unity and T' is therefore equal to T and is said to
be a tensor of rank 0.
The vector object is also a tensor if it too can be said to be
the same in any basis. In terms of coefficients of a 3D vector the
transformation from coordinate basis u to u' is, for vector a :
a =a1 u1a2 u2a3 u3
a '=a1 ' u1 'a2 ' u2 ' a3 ' u3 '
3
using equation 3-27. Intuitively, we know that the vector itself does
not change even though its coefficients may do so. Thus a calculation
of the norm of the vector will be the same in the new basis as in the
old basis. If we have two vectors, a and b, and b has been produced
by a change of basis from u to u' then:
a =a1 u1a2 u2a3 u3
b=b 1 u1 'b2 u2 'b3 u3 '
|a |2=a21a 22a23
| b |2=b21b 22b23
and
| a |=| b |
or equivalently, as we showed in Dirac notation in the last section:
{a =b } <a |a >=< b | b >=
So, if two vectors are equivalent after a basis transformation then
they are said to be tensors of rank 1.
We seen that the dyad, as well, can be invariant to
transformation such that dyad D is equivalent to dyad E if E is
produced by a change of basis from D . The dyad D produced from a
pair of 3D vectors can conveniently be represented by a 3 x 3 matrix
with 9 (or 32)components. In order to transform D to E we must
perform a set of operations that is similar to the vector
transformation. In the case of the vector (or rank-1 tensor in our
present context) each new component of the vector is a linear
combination of all of the old components. The case with tensors is
much the same; each component of the new rank-2 tensor is a linear
combination of all of the components of the old tensor and is
expressed in a similar fashion to vectors:
[
[
]
]
d 11 d 12 d 13
D= d 21 d 22 d 23
d 31 d 32 d 33
e 11 e 12 e13
E= e 21 e 22 e23
e 31 e 32 e33
To transform from D to E :
3
for brevity.
P i= ui ui T
or
P i=|ui ><ui |
and its action on vector v is:
P i v =v i ui
or
P i v=|ui > <ui | v >=v i | ui >
We could say then that the projection operator is a tensor and in
terms of our notation for tensors:
Pi =
ui uiT
P i v=v i ui
where we emphasize the tensor character of the operator.
b i= ij a j
3
j
3
where, as before, the 's are the direction cosines for the
indicated axes in the old and new coordinate systems. Let us look
closely at one coordinate of the projection operator:
3
5.5Problems
5.6References
1. J.C. Kolecki, Foundations of Tensor Analysis for Students of
Physics and Engineering With an Introduction to the Theory of
Relativity, NASA Science and Technical Information, TP-2005213115.
2. A.I. Borisenko and I.E. Tarapov, Vector and Tensor Analysis with
Applications, Dover Publications Inc., 1968.