Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Section 7.

7.1 Vectors, Tensors and the Index Notation


The equations governing three dimensional mechanics problems can be quite lengthy.
For this reason, it is essential to use a short-hand notation called the index notation1.
Consider first the notation used for vectors.

7.1.1 Vectors
Vectors are used to describe physical quantities which have both a magnitude and a
direction associated with them. Geometrically, a vector is represented by an arrow; the
arrow defines the direction of the vector and the magnitude of the vector is represented by
the length of the arrow. Analytically, in what follows, vectors will be represented by
lowercase bold-face Latin letters, e.g. a, b.

The dot product of two vectors a and b is denoted by a ⋅ b and is a scalar defined by

a ⋅ b = a b cosθ . (7.1.1)

θ here is the angle between the vectors when their initial points coincide and is restricted
to the range 0 ≤ θ ≤ π .

Cartesian Coordinate System

So far the short discussion has been in symbolic notation2, that is, no reference to ‘axes’
or ‘components’ or ‘coordinates’ is made, implied or required. Vectors exist
independently of any coordinate system. The symbolic notation is very useful, but there
are many circumstances in which use of the component forms of vectors is more helpful
– or essential. To this end, introduce the vectors e1 , e 2 , e 3 having the properties

e1 ⋅ e 2 = e 2 ⋅ e 3 = e 3 ⋅ e1 = 0 , (7.1.2)

so that they are mutually perpendicular, and

e1 ⋅ e 1 = e 2 ⋅ e 2 = e 3 ⋅ e 3 = 1 , (7.1.3)

so that they are unit vectors. Such a set of orthogonal unit vectors is called an
orthonormal set, Fig. 7.1.1. This set of vectors forms a basis, by which is meant that any
other vector can be written as a linear combination of these vectors, i.e. in the form

a = a1e1 + a 2 e 2 + a3 e 3 (7.1.4)

where a1 , a 2 and a 3 are scalars, called the Cartesian components or coordinates of a


along the given three directions. The unit vectors are called base vectors when used for

1
or indicial or subscript or suffix notation
2
or absolute or invariant or direct or vector notation

Solid Mechanics Part II 189 Kelly


Section 7.1

this purpose. The components a1 , a 2 and a 3 are measured along lines called the x1 , x2
and x3 axes, drawn through the base vectors.

a
e3
a3
e2
e1
a1

a2

Figure 7.1.1: an orthonormal set of base vectors and Cartesian coordinates

Note further that this orthonormal system {e1 , e 2 , e 3 } is right-handed, by which is meant
e1 × e 2 = e 3 (or e 2 × e 3 = e1 or e 3 × e1 = e 2 ).

In the index notation, the expression for the vector a in terms of the components a1 , a 2 , a3
and the corresponding basis vectors e1 , e 2 , e 3 is written as

3
a = a1e1 + a 2 e 2 + a3 e 3 = ∑ ai e i (7.1.5)
i =1

This can be simplified further by using Einstein’s summation convention, whereby the
summation sign is dropped and it is understood that for a repeated index (i in this case) a
summation over the range of the index (3 in this case3) is implied. Thus one writes
a = ai e i . This can be further shortened to, simply, ai .

The dot product of two vectors u and v, referred to this coordinate system, is

u ⋅ v = (u1e1 + u 2 e 2 + u 3 e 3 ) ⋅ (v1e1 + v 2 e 2 + v3 e 3 )
= u1v1 (e1 ⋅ e1 ) + u1v 2 (e1 ⋅ e 2 ) + u1v3 (e1 ⋅ e 3 )
+ u 2 v1 (e 2 ⋅ e1 ) + u 2 v 2 (e 2 ⋅ e 2 ) + u 2 v3 (e 2 ⋅ e 3 ) (7.1.6)
+ u 3 v1 (e 3 ⋅ e1 ) + u 3 v 2 (e 3 ⋅ e 2 ) + u 3 v3 (e 3 ⋅ e 3 )
= u1v1 + u 2 v 2 + u 3 v3

The dot product of two vectors written in the index notation reads

u ⋅ v = u i vi Dot Product (7.1.7)

3
2 in the case of a two-dimensional space/analysis

Solid Mechanics Part II 190 Kelly


Section 7.1

The repeated index i is called a dummy index, because it can be replaced with any other
letter and the sum is the same; for example, this could equally well be written as
u ⋅ v = u j v j or u k v k .

Introduce next the Kronecker delta symbol δ ij , defined by

⎧0, i ≠ j
δ ij = ⎨ (7.1.8)
⎩1, i = j

Note that δ 11 = 1 but, using the index notation, δ ii = 3 . The Kronecker delta allows one
to write the expressions defining the orthonormal basis vectors (7.1.2, 7.1.3) in the
compact form

e i ⋅ e j = δ ij Orthonormal Basis Rule (7.1.9)

Example

Recall the equations of motion, Eqns. 1.1.9, which in full read

∂σ 11 ∂σ 12 ∂σ 13
+ + + b1 = ρa1
∂x1 ∂x 2 ∂x3
∂σ 21 ∂σ 22 ∂σ 23
+ + + b2 = ρa 2 (7.1.10)
∂x1 ∂x 2 ∂x3
∂σ 31 ∂σ 32 ∂σ 33
+ + + b3 = ρa3
∂x1 ∂x 2 ∂x3

The index notation for these equations is

∂σ ij
+ bi = ρai (7.1.11)
∂x j

Note the dummy index j. The index i is called a free index; if one term has a fee index i,
then, to be consistent, all terms must have it. One free index, as here, indicates three
separate equations.

7.1.2 Matrix Notation

The symbolic notation v and index notation vi e i (or simply vi ) can be used to denote a
vector. Another notation is the matrix notation: the vector v can be represented by a
3× 1 matrix (a column vector):

Solid Mechanics Part II 191 Kelly


Section 7.1

⎡ v1 ⎤
⎢v ⎥
⎢ 2⎥
⎢⎣v3 ⎥⎦

Matrices will be denoted by square brackets, so a shorthand notation for this matrix/vector
would be [v ] . The elements of the matrix [v ] can be written in the index notation vi .

Note the distinction between a vector and a 3× 1 matrix: the former is a mathematical
object independent of any coordinate system, the latter is a representation of the vector in
a particular coordinate system – matrix notation, as with the index notation, relies on a
particular coordinate system.

As an example, the dot product can be written in the matrix notation as

⎡ v1 ⎤
[u ][v] = [u
T
1 u2 u 3 ]⎢⎢v 2 ⎥⎥
⎢⎣v3 ⎥⎦

“short”
matrix notation “full”
matrix notation

[ ]
Here, the notation u T denotes the 1× 3 matrix (the row vector). The result is a 1× 1
matrix, u i vi .

The matrix notation for the Kronecker delta δ ij is the identity matrix

⎡1 0 0 ⎤
[I ] = ⎢⎢0 1 0⎥⎥
⎢⎣0 0 1⎥⎦

Then, for example, in both index and matrix notation:

⎡1 0 0⎤ ⎡ u1 ⎤ ⎡ u1 ⎤
δ ij u j = u i [I ][u] = [u] ⎢0 1 0⎥ ⎢u ⎥ = ⎢u ⎥ (7.1.12)
⎢ ⎥⎢ 2 ⎥ ⎢ 2 ⎥
⎢⎣0 0 1⎥⎦ ⎢⎣u 3 ⎥⎦ ⎢⎣u 3 ⎥⎦

Matrix – Matrix Multiplication

When discussing vector transformation equations further below, it will be necessary to


multiply various matrices with each other (of sizes 3× 1 , 1× 3 and 3× 3 ). It will be
helpful to write these matrix multiplications in the short-hand notation.

Solid Mechanics Part II 192 Kelly


Section 7.1

First, it has been seen that the dot product of two vectors can be represented by u T [v ] or[ ]
[ ]
u i vi . Similarly, the matrix multiplication [u ] v T gives a 3× 3 matrix with element form
u i v j or, in full,

⎡ u1v1 u1v 2 u1v3 ⎤


⎢u v u 2 v2 u 2 v3 ⎥⎥
⎢ 2 1
⎢⎣u 3 v1 u3v2 u 3 v3 ⎥⎦

This operation is called the tensor product of two vectors, written in symbolic notation
as u ⊗ v (or simply uv).

Next, the matrix multiplication

⎡Q11 Q12 Q13 ⎤ ⎡ u1 ⎤


[Q][u] ≡ ⎢⎢Q21 Q22 Q23 ⎥⎥ ⎢⎢u 2 ⎥⎥
⎢⎣Q31 Q32 Q33 ⎥⎦ ⎢⎣u 3 ⎥⎦

is a 3× 1 matrix with elements ([Q][u])i ≡ Qij u j . The elements of [Q][u ] are the same as
[ ][ ]
those of u T Q T , which can be expressed as ( u T Q T [ ][ ]) i ≡ u j Qij .

[ ]
The expression [u ][Q ] is meaningless, but u T [Q] {▲Problem 4} is a 1 × 3 matrix with
[ ]
elements ( u T [Q])i ≡ u j Q ji .

This leads to the following rule:

1. if a vector pre-multiplies a matrix [Q ] → the vector is the transpose u T [ ]


2. if a matrix [Q ] pre-multiplies the vector → the vector is [u ]
3. if summed indices are “beside each other”, as the j in u j Q ji or Qij u j
→ the matrix is [Q ]
4. if summed indices are not beside each other, as the j in u j Qij
→ the matrix is the transpose, Q T [ ]

Finally, consider the multiplication of 3× 3 matrices. Again, this follows the “beside
each other” rule for the summed index. For example, [A ][B ] gives the 3 × 3 matrix
[ ]
{▲Problem 8} ([A ][B])ij = Aik Bkj , and the multiplication A T [B ] is written as
([A ][B])
T
ij = Aki Bkj . There is also the important identity

([A][B])T [ ][ ]
= BT AT (7.1.13)

Note also the following:

Solid Mechanics Part II 193 Kelly


Section 7.1

(i) if there is no free index, as in u i vi , there is one element


(ii) if there is one free index, as in u j Q ji , it is a 3 × 1 (or 1 × 3 ) matrix
(iii) if there are two free indices, as in Aki Bkj , it is a 3× 3 matrix

7.1.3 Vector Transformation Rule

Introduce two Cartesian coordinate systems with base vectors e i and e′i and common
origin o, Fig. 7.1.2. The vector u can then be expressed in two ways:

u = u i e i = u i′e′i (7.1.14)

x2
x′2
u1′

u2′
u
θ x1′ u2

e′2 e1′
θ
o x1
u1

Figure 7.1.2: a vector represented using two different coordinate systems

Note that the xi′ coordinate system is obtained from the xi system by a rotation of the
base vectors. Fig. 7.1.2 shows a rotation θ about the x3 axis (the sign convention for
rotations is positive counterclockwise).

Concentrating for the moment on the two dimensions x1 − x 2 , from trigonometry (refer to
Fig. 7.1.3),

u = u1e1 + u 2 e 2
= [ OB − AB ]e1 + [ BD + CP ]e 2 (7.1.15)
= [cos θ u1′ − sin θ u 2′ ]e1 + [sin θ u1′ + cos θ u 2′ ]e 2

and so

u1 = cos θ u1′ − sin θ u2′


(7.1.16)
u2 = sin θ u1′ + cos θ u2′

vector components in vector components in


first coordinate system second coordinate system
Solid Mechanics Part II 194 Kelly
Section 7.1

x2
x2′
u1′ P

u′2
θ
x1′ u2
θ C
D

θ A B
x1
o
u1

Figure 7.1.3: geometry of the 2D coordinate transformation

In matrix form, these transformation equations can be written as

⎡ u1 ⎤ ⎡cos θ − sin θ ⎤ ⎡ u1′ ⎤


⎢u ⎥ = ⎢ sin θ cos θ ⎥⎦ ⎢⎣u ′2 ⎥⎦
(7.1.17)
⎣ 2⎦ ⎣

The 2 × 2 matrix is called the transformation matrix or rotation matrix [Q] . By pre-
multiplying both sides of these equations by the inverse of [Q] , Q −1 , one obtains the [ ]
transformation equations transforming from [u1 u 2 ] to [u1′ u 2′ ] :
T T

⎡ u1′ ⎤ ⎡ cos θ sin θ ⎤ ⎡ u1 ⎤


⎢u ′ ⎥ = ⎢− sin θ cos θ ⎥⎦ ⎢⎣u 2 ⎥⎦
(7.1.18)
⎣ 2⎦ ⎣

It can be seen that the components of [Q] are the directions cosines, i.e. the cosines of
the angles between the coordinate directions:

Qij = cos(xi , x ′j ) = e i ⋅ e′j (7.1.19)

It is straight forward to show that, in the full three dimensions, Fig. 7.1.4, the components
in the two coordinate systems are also related through

u i = Qij u ′j K [u] = [Q][u′]


[u′] = [Q T ][u]
Vector Transformation Rule (7.1.20)
u i′ = Q ji u j K

Solid Mechanics Part II 195 Kelly


Section 7.1

x2
x2′
u
x1′

x1
x3′
x3

Figure 7.1.4: two different coordinate systems in a 3D space

Orthogonality of the Transformation Matrix [Q ]

From 7.1.20, it follows that

u i = Qij u ′j K [u] = [Q][u′]


(7.1.21)
= Qij Qkj u k K = [Q][Q T ][u ]

and so

Qij Qkj = δ ik K [Q][Q T ] = [I ] (7.1.22)

[ ] [ ]
A matrix such as this for which Q T = Q −1 is called an orthogonal matrix.

Example

Consider a Cartesian coordinate system with base vectors e i . A coordinate


transformation is carried out with the new basis given by

e1′ = a1(1) e1 + a 2(1) e 2 + a3(1) e 3


e′2 = a1( 2 ) e1 + a 2( 2) e 2 + a3( 2) e 3
e′3 = a1(3) e1 + a 2(3) e 2 + a3(3) e 3

What is the transformation matrix?

Solution

The transformation matrix consists of the direction cosines Qij = cos( xi , x ′j ) = e i ⋅ e′j , so

Solid Mechanics Part II 196 Kelly


Section 7.1

⎡a1(1) a1( 2 ) a1(3) ⎤


[Q] = ⎢⎢a2(1) a 2( 2 )

a 2(3) ⎥
⎢a3(1) a3( 2 ) a3(3) ⎥⎦

7.1.4 Tensors
The concept of the tensor is discussed in detail in Part III, where it is indispensable for
the description of large-strain deformations. For small deformations, it is not so
necessary; the main purpose for introducing the tensor here (in a rather non-rigorous way)
is that it helps to deepen one’s understanding of the concept of stress.

A second-order tensor4 A may be defined as an operator that acts on a vector u


generating another vector v, so that T(u) = v , or

Tu = v Second-order Tensor (7.1.23)

The second-order tensor T is a linear operator, by which is meant

T(a + b ) = Ta + Tb … distributive
T(αa ) = α (Ta ) … associative

for scalar α . In a Cartesian coordinate system, the tensor T has nine components and can
be represented in the matrix form

⎡T11 T12 T13 ⎤


[T] = ⎢⎢T21 T22 T23 ⎥⎥
⎣⎢T31 T32 T33 ⎦⎥

The rule 7.1.23, which is expressed in symbolic notation, can be expressed in the index
and matrix notation when T is referred to particular axes:

⎡ u1 ⎤ ⎡T11 T12 T13 ⎤ ⎡ v1 ⎤


u i = Tij v j ⎢u ⎥ = ⎢T T23 ⎥⎥ ⎢⎢v 2 ⎥⎥ [u] = [T][v ] (7.1.24)
⎢ 2 ⎥ ⎢ 21 T22
⎢⎣u 3 ⎥⎦ ⎢⎣T31 T32 T33 ⎥⎦ ⎢⎣v3 ⎥⎦

Again, one should be careful to distinguish between a tensor such as T and particular
matrix representations of that tensor. The relation 7.1.23 is a tensor relation, relating
vectors and a tensor and is valid in all coordinate systems; the matrix representation of
this tensor relation, Eqn. 7.1.24, is to be sure valid in all coordinate systems, but the
entries in the matrices of 7.1.24 depend on the coordinate system chosen.

4
to be called simply a tensor in what follows

Solid Mechanics Part II 197 Kelly


Section 7.1

Note also that the transformation formulae for vectors, Eqn. 7.1.20, is not a tensor
relation; although 7.1.20 looks similar to the tensor relation 7.1.24, the former relates the
components of a vector to the components of the same vector in different coordinate
systems, whereas (by definition of a tensor) the relation 7.1.24 relates the components of a
vector to those of a different vector in the same coordinate system.

For these reasons, the notation ui = Qij u ′ in Eqn. 7.1.20 is more formally called element
form, the Qij being elements of a matrix rather than components of a tensor. This
distinction between element form and index notation should be noted, but the term “index
notation” is used for both tensor and matrix-specific manipulations in these notes.

Example

Recall the strain-displacement relations, Eqns. 1.2.19, which in full read

∂u1 ∂u ∂u
ε 11 = , ε 22 = 2 , ε 33 = 3
∂x1 ∂x 2 ∂x3
(7.1.25)
1 ⎛ ∂u ∂u ⎞ 1 ⎛ ∂u ∂u ⎞ 1 ⎛ ∂u ∂u ⎞
ε 12 = ⎜⎜ 1 + 2 ⎟⎟, ε 13 = ⎜⎜ 1 + 3 ⎟⎟, ε 23 = ⎜⎜ 2 + 3 ⎟⎟
2 ⎝ ∂x 2 ∂x1 ⎠ 2 ⎝ ∂x3 ∂x1 ⎠ 2 ⎝ ∂x3 ∂x 2 ⎠

The index notation for these equations is

1 ⎛ ∂u ∂u j ⎞
ε ij = ⎜⎜ i + ⎟ (7.1.26)
2 ⎝ ∂x j ∂xi ⎟⎠

This expression has two free indices and as such indicates nine separate equations.
Further, with its two subscripts, ε ij , the strain, is a tensor. It can be expressed in the
matrix notation

⎡ ∂u1 / ∂x1 1
2
(∂u1 / ∂x2 + ∂u 2 / ∂x1 ) 1
2
(∂u1 / ∂x3 + ∂u 3 / ∂x1 ) ⎤

[ε] = ⎢ 2 (∂u 2 / ∂x1 + ∂u1 / ∂x2 )
1
∂u 2 / ∂x 2 1
(∂u 2 / ∂x3 + ∂u 3 / ∂x2 )⎥⎥
2
⎢⎣ 12 (∂u 3 / ∂x1 + ∂u1 / ∂x3 ) 1
2
(∂u3 / ∂x2 + ∂u 2 / ∂x3 ) ∂u 3 / ∂x3 ⎥⎦

7.1.5 Tensor Transformation Rule


Consider now the tensor definition 7.1.23 expressed in two different coordinate systems:

u i = Tij v j [u] = [T][v ] in {xi }


(7.1.27)
u i′ = Tij′v ′j [u′] = [T′][v ′] in {xi′}

From the vector transformation rule 7.1.20,

Solid Mechanics Part II 198 Kelly


Section 7.1

u i′ = Q ji u j [u′] = [Q T ][u]
(7.1.28)
vi′ = Q ji v j [v ′] = [Q T ][v ]
Combining 7.1.27-28,

Q ji u j = Tij′Qkj v k [Q ][u] = [T′][Q ][v]


T T
(7.1.29)

and so

Qmi Q ji u j = Qmi Tij′Qkj v k [u] = [Q][T′][Q T ][v ] (7.1.30)

(Note that Qmi Q ji u j = δ mj u j = u m .) Comparing with 7.1.24, it follows that

Tij = Qip Q jq T pq′ K [T] = [Q][T′][Q T ]


Tensor Transformation Rule (7.1.31)
Tij′ = Q pi Qqj T pq K [T′] = [Q T ][T][Q]

7.1.6 Problems

1. Write the following in index notation: v , v ⋅ e1 , v ⋅ e k .


2. Show that δ ij ai b j is equivalent to a ⋅ b .
3. Evaluate or simplify the following expressions:
(a) δ kk (b) δ ij δ ij (c) δ ij δ jk
4. [ ]
Show that u T [Q] is a 1× 3 matrix with elements u j Q ji (write the matrices out in
full)
5. Show that ([Q][u]) = u T Q T
T
[ ][ ]
6. Are the three elements of [Q ][u ] the same as those of u T [Q] ? [ ]
7. What is the index notation for (a ⋅ b )c ?
8. Write out the 3 × 3 matrices [A ] and [B ] in full, i.e. in terms of A11 , A12 , etc. and
verify that [AB]ij = Aik Bkj for i = 2, j = 1 .
9. What is the index notation for
(a) [A ] B T[ ]
[ ] ([ ] )
(b) v T [A ][v ] (there is no ambiguity here, since v T [A ] [v ] = v T ([A ][v ]) ) [ ]
(c) [B ][A][B]
T

10. The angles between the axes in two coordinate systems are given in the table below.
x1 x2 x3
x1′ 135 o
60 o
120 o
x ′2 90 o 45 o 45 o
x3′ 45 o 60 o 120 o
Construct the corresponding transformation matrix [Q ] and verify that it is
orthogonal.

Solid Mechanics Part II 199 Kelly


Section 7.1

11. Consider a two-dimensional problem. If the components of a vector u in one


coordinate system are
⎡ 2⎤
⎢ 3⎥
⎣ ⎦
what are they in a second coordinate system, obtained from the first by a positive
rotation of 30o? Sketch the two coordinate systems and the vector to see if your
answer makes sense.

12. Consider again a two-dimensional problem with the same change in coordinates as
in Problem 11. The components of a 2D tensor in the first system are
⎡1 − 1⎤
⎢3 2 ⎥
⎣ ⎦
What are they in the second coordinate system?

Solid Mechanics Part II 200 Kelly

You might also like