TENSOR ALGEBRA
Continuum Mechanics Course (MMC) - ETSECCPB - UPC
TENSOR ALGEBRA Continuum Mechanics Course (MMC) - ETSECCPB - UPC - - PowerPoint PPT Presentation
TENSOR ALGEBRA Continuum Mechanics Course (MMC) - ETSECCPB - UPC Introduction to Tensors Tensor Algebra 2 Introduction SCALAR , , ... v VECTOR v f , , ... , , ... MATRIX ? , ... C 3 Concept of Tensor A TENSOR
Continuum Mechanics Course (MMC) - ETSECCPB - UPC
2
v
3
A TENSOR is an algebraic entity with various components
Many physical quantities are mathematically represented as tensors. Tensors are independent of any reference system but, by need, are
commonly represented in one by means of their “component matrices”.
The components of a tensor will depend on the reference system
chosen and will vary with it.
4
The order of a tensor is given by the number of indexes
Scalar: zero dimension Vector: 1 dimension 2nd order: 2 dimensions 3rd order: 3 dimensions 4th order …
3.14
1.2 0.3 0.8 vi
0.1 1.3 2.4 0.5 1.3 0.5 5.8
ij
E
5
Given an orthonormal basis formed by three mutually
Where:
Note that
1 2 2 3 3 1
1 2 3
i j ij
6
1 2 1 2 3
ˆ ˆ ˆ cos sin ˆ ˆ ˆ sin cos ˆ ˆ
r z
θ θ θ θ
e e e e e e e e
1 2 3
cos ( , , ) sin x r r z x r x z x
1
x
2
x
3
x
7
1 2 3 1 2 1 2 3
ˆ ˆ ˆ ˆ sin sin sin cos cos ˆ ˆ ˆ cos sin ˆ ˆ ˆ ˆ cos sin cos cos sin
r φ
θ φ θ φ θ φ φ θ φ θ φ θ
e e e e e e e e e e e
1 2 3
sin cos , , sin sin cos x r r x r x r x
3
x
1
x
2
x
8
9
A vector can be written as a unique linear combination of the
In matrix notation: In index notation:
1 1 2 2 3 3
1 2 3
i i
i
tensor as a physical entity component i of the tensor in the given basis
1
2
3
1,2,3 i
1,2,3 i
10
A 2nd order tensor can be written as a unique linear combination
i j i j
1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3
11 12 13 21 22 23 31 32 33
1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3
11 12 13 21 22 23 31 32 33
11
In matrix notation: In index notation:
11 12 13 21 22 23 31 32 33
i j ij
ij ij
tensor as a physical entity component ij of the tensor in the given basis
1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3
11 12 13 21 22 23 31 32 33
, 1,2,3 i j
12
A 3rd order tensor can be written as a unique linear combination
i j k i j k
1 1 1 1 2 1 1 3 1 2 1 1 2 2 1 2 3 1 3 1 1 3 2 1 3 3 1 1 1 2 1 2 2
111 121 131 211 221 231 311 321 331 112 122
1 1 1 1 2 1 1 3 1 2 1 1 2 2 1 2 3 1 3 1 1 3 2 1 3 3 1 1 1 2 1 2 2
ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ...
111 121 131 211 221 231 311 321 331 112 122
e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e A A A A A A A A A A A A
13
In matrix notation:
1 1 1 1 2 1 1 3 1 2 1 1 2 2 1 2 3 1 3 1 1 3 2 1 3 3 1 1 1 2 1 2 2
111 121 131 211 221 231 311 321 331 112 122
113 123 133 213 223 233 313 323 333
112 122 132 212 222 232 312 322 332
111 121 131 211 221 231 311 321 331
14
In index notation:
ijk i j k ijk ijk i j k ijk i j k
ijk ijk
1 1 1 1 2 1 1 3 1 2 1 1 2 2 1 2 3 1 3 1 1 3 2 1 3 3 1 1 1 2 1 2 2
111 121 131 211 221 231 311 321 331 112 122
tensor as a physical entity component ijk of the tensor in the given basis
, , 1,2,3 i j k
15
A tensor of order n is expressed as: The number of components in a tensor of order n is 3n.
1 2 1 2 3
, ... ˆ
n n
i i i i i i i
1 2
n
16
The Einstein Summation Convention: repeated Roman indices are
A “MUTE” (or DUMMY) INDEX is an index that does not appear in a
monomial after the summation is carried out (it can be arbitrarily changed
A “TALKING” INDEX is an index that is not repeated in the same
monomial and is transmitted outside of it (it cannot be arbitrarily changed
3 1 1 2 2 3 3 1 3 1 1 2 2 3 3 1 i i i i i ij j ij j i i i j
REMARK An index can only appear up to two times in a monomial.
i is a mute index i is a talking index and j is a mute index
17
Sum over all repeated indices.
Increment all unique indices fully at least once, covering all combinations.
Increment repeated indices first.
A comma indicates differentiation, with respect to coordinate xi .
The number of talking indices indicates the order of the tensor result
3 , 1 i i i i i i i
u u u x x
2 2 3 , 2 1 i i i jj j j j j
u u u x x x
3 , 1 ij ij ij j j j j
A A A x x
18
The Kronecker delta δij is defined as:
Both i and j may take on any value in Only for the three possible cases where i = j is δij non-zero.
ij
11 22 33 12 13 21
ij
ij ji
REMARK Following Einsten’s notation: Kronecker delta serves as a replacement operator:
11 22 33
ii
ij j i ij jk ik
1,2,3
19
The Levi-Civita epsilon
3 indices
27 possible combinations.
ijk
REMARK The Levi-Civita symbol is also named permutation or alternating symbol.
ijk ikj
ijk
20
1 2 3 1 2 3 1 2 3
det
i i i ijk j j j k k k
e det
ip iq ir ijk pqr jp jq jr kp kq kr
e e
ijk pqk ip jq iq jp
e e 2
ijk pjk pi
e e 6
ijk ijk
21
Prove the following expression is true:
ijk ijk
22
211 211 212 212 213 213 221 221 222 222 223 223 231 231 232 232 233 233
311 311 312 312 313 313 321 321 322 322 323 323 331 331 332 332 333 333
121 121 122 122 123 123
131 131 132 132 133 133
111 111 112 112 113 113 ijk ijk
1 1 1 1 1 1
23
24
Sum and Subtraction. Parallelogram law. Scalar multiplication
1 1 2 2 3 3
i i i i i i
i i
25
Scalar or dot product yields a scalar
In index notation:
Norm of a vector
where is the angle between the vectors u and v
2
i i j j i j ij i i
1 2 1 2 i i
3 1
i T i i j j i j i j i j ij i i i i i
ij
0( ) 1 ( ) i j j i
26
Some properties of the scalar or dot product
Linear operator
27
Vector product (or cross product ) yields another vector
In index notation:
i i
i ijk j k i ijk j k
2 3 3 2 1 3 1 1 3 2 1 2 2 1 3
ˆ ˆ ˆ a b a b a b a b a b a b c e e e
where is the angle between the vectors a and b
1 2 3 1 2 3 1 2 3
ˆ ˆ ˆ det
symb
a a a b b b e e e
123 132 1 1
2 3 3 2
a b a b
e e
1 i
231 3 1 213 1 3 1 1
a b a b
e e 2 i
312 1 2 321 2 1 1 1
a b a b
e e 3 i
28
Some properties of the vector or cross product
Linear operator
29
Tensor product (or open or dyadic product) of two vectors:
Deriving the tensor product along an orthonormal basis {êi}: In matrix notation:
i i j j i j i j ij i j
v v v
1 T 2 1 2 3 3
u u u u v u v
ij i j ij ij
v v v v v v v v v
1 1 1 2 1 3 11 12 13 2 1 2 2 2 3 21 22 23 3 1 3 2 3 3 31 32 33
u u u A A A u u u A A A u u u A A A
30
Some properties of the open product:
u v w u v w u v w v w u
u v v u
u v w u v u w
u v w u v w u v w w u v
u v w x u x v w
Linear operator
31
Prove the following property of the tensor product is true:
u v w u v w
32
v v w
k i i i i k k k
c u u u v w w
v w v w
k i i k i i k i k ik
c u u u v w u v w
ˆ ˆ ˆ v w
i j k k k k k k
u c e u v w e u v w e
scalar vector 1st order tensor (vector) 1st order tensor (vector) 2nd order tensor (matrix)
vector
c
k-component
k-component
33
u v w u v w
ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ v w v w v w
i i j j k k i i j k j k i j k i j k
u u u u v w e e e e e e e e e
ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ v w v w v w
i i j j k k i j i j k k i j k i j k
u u u u v w e e e e e e e e e
34
Triple scalar or box product
In index notation:
ijk i j k
1 2 3 1 2 3 1 2 3
base area height
35
Triple vector product
In index notation:
j j klm l m k ijk j klm l m i ijk lmk j l m i il jm im jl j l m i m i m i l l i i
ijk pqk ip jq iq jp
REMARK
36
Scalar or dot product yields a scalar Vector or cross product
yields another vector
Triple scalar or box product yields a scalar Triple vector product yields another vector
i ijk j k i
ijk i j k
u v w u w v u v w
w v v w
k k i k k i i
u u u v w
T
i i
37
38
Summation (only for equal order tensors) Scalar multiplication (scalar times tensor)
A B B A C A C
ij ij ij
C A B
ij ij
C A
39
Dot product (.) or single index contraction product
REMARK
2
Index “j” disappears (index contraction)
i ij j
c A b
2nd
1st
A b c
1st
Index “k” disappears (index contraction)
ij i k k j
C b A b C A
3rd
1st
2nd
Index “j” disappears (index contraction)
ik i k j j
C A B A B C
2nd
2nd
2nd
40
Some properties: 2nd order unit (or identity) tensor
ij j i i i ij ij
1 1 1
A b c A b A c
Linear operator
41
Some properties:
42
When does the relation hold true ?
43
vector 2nd order tensor vector
c
k i ik
c nT
k ki i i ki
c T n nT
k k
c c
ik ki
T T
if
ˆ ˆ ˆ
k k k i ik k k
c nT c e n T e e
ˆ ˆ ˆ
k k k i ki k k
c nT
c e T n e e
44
COMPACT NOTATION INDEX NOTATION
T T
i ik ki i
MATRIX NOTATION
T
c c
45
T T
MATRIX NOTATION
T
c c
11 12 13 11 12 13 1 1 2 3 21 22 23 21 22 23 2 31 32 33 31 32 33 3
1 1 2 3 2 3
11 12 13 11 12 13 1 1 2 3 21 22 23 21 22 23 2 31 32 33 31 32 33 3
T
1 1 2 3 2 3
T
46
Transpose Trace yields a scalar
Some properties:
T ji ij A
A
11 22 33
ii
T
11 12 13 11 21 31 21 22 23 12 22 32 31 32 33 13 23 33 T
A A A A A A A A A A A A A A A A A A A A
i j i i
A A
T T
T T T
A B B A
u v v u
T
A B A B
T T T
47
Double index contraction or double (vertical) dot product (:)
Indices contiguous to the double-dot (:) operator get vertically repeated
(contraction) and they disappear in the resulting tensor (4 order reduction of the sum
Indices “i,j” disappear (double index contraction)
ij ij
c A B
2nd
2nd
: c A B
zero
(scalar)
Indices “j,k” disappear (double index contraction)
jk jk i i B
c A : B c A
3rd
2nd
1st
Indices “k,l” disappear (double index contraction)
ij ijkl kl
C B : B C A
4th
2nd
2nd
48
Some properties
T T T T
T T
REMARK
49
Double index contraction or double (horizontal) dot product (··)
Indices contiguous to the double-dot (··) operator get horizontally repeated
(contraction) and they disappear in the resulting tensor (4 orders reduction of the sum
Indices “i,j” disappear (double index contraction)
ij ji
c A B
2nd
2nd
c A B
Indices “j,k” disappear (double index contraction)
jk kj i i B
c A B c A
3rd
2nd
1st
Indices “k,l” disappear (double index contraction)
ij ijkl lk
C B B C A
4th
2nd
2nd
zero
(scalar)
50
Norm of a tensor is a non-negative real number defined by
REMARK Unless one of the two tensors is symmetric.
1 2 1 2
ij ij
51
Prove that:
T
52
T T T ik ik ij ij ik kk ki
k j
ki ik ij ji kk ki ik
k i i j
53
Determinant yields a scalar
Some properties:
Inverse
There exists a unique inverse A-1 of A when A is nonsingular, which satisfies the reciprocal relation:
11 12 13 21 22 23 1 2 3 31 32 33
1 6
det det det A A
ijk i j k ijk pqr pi qj rk
A A A A A A A A A A A A A A A e e e
det det det A B A B
T
REMARK The tensor A is SINGULAR if and
A is NONSINGULAR if det A ≠ 0.
1 1 1 1
, , {1,2,3}
ik kj ik kj ij
A A A A i j k
A A 1 A A
3
det det A A
54
If A and B are invertible, the following properties apply:
1 1 1 1 1 1 1 1 1 2 1 1 1 1
1 1 det det det
T T T
A B B A A A A A A A A A A A A A A
55
Prove that .
1 2 3
ijk i j k
56
11 12 13 21 22 23 31 32 33 11 22 33 21 32 13 31 12 23 13 22 31 23 32 11 33 12 21
57
111 11 21 31 112 11 21 32 113 11 21 33 121 11 22 31 122 11 22 32 123 11 22 33 131 11 23 31 132 11 23 32 133 11 23 33 211 12 21 31 212 12 21 32 213 12 21 33 221 12 22 31 222 12 22 32
A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A e e e e e e e e e e e e e
223 12 22 33 231 12 23 31 232 12 23 32 233 12 23 33 311 13 21 31 312 13 21 32 313 13 21 33 321 13 22 31 322 13 22 32 323 13 22 33 331 13 23 31 332 13 23 32 333 13 23 33
A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A e e e e e e e e e e e e e 1 1 1 1 1 1
11 22 33 12 23 31 13 21 32 13 22 31 12 21 33 11 23 32
A A A A A A A A A A A A A A A A A A
1 2 3 ijk i j k
A A A e
58
Dot product – contraction of one index:
i i ij ij ik kj ij
i ij j j j ij j i i i
ijk ijk im mjk ijk ijk ijk ijm mk ijk
ijkl ijkl ijm mkl ijkl ijkl ijkl ijm mkl ijkl
ij ij ik kj ij
59
Double dot product – contraction of two indices:
ij ij
ikm kmj ij ij ij ij ikm kmj ij ij
ijkl ijkl ijmp mpkl ijkl ijkl ijkl ijmp mpij ijkl
ijk ijk ijlm lmk ijk ijk ijk ilm lmjk ijk
ij ijk k k k ijk jk i i i
60
Transposed double dot product – contraction of two indexes:
ij ji
ikm mkj ij ij ij ij ikm mkj ij ij
ijkl ijkl ijmp pmkl ijkl ijkl ijkl ijmp pmij ijkl
ijk ijk ijlm mlk ijk ijk ijk ilm mljk ijk
ij jik k k k ijk kj i i i
61
Open product – expansion of indexes:
i j ij ij ij ij kl ijkl ijkl ijkl
i jk ijk ijk ijk ij k ijk ijk ijk
ijklm ijklm ij klm ijklm ijklm ijklm ijk lm ijklm
j ij ij ij ij kl ijkl ijkl ijkl
62
63
A differential operator is a mapping that transforms a field
The mapping is typically understood to be linear. Examples:
Nabla operator Gradient Divergence Rotation …
64
The Nabla operator is a differential operator
In Cartesian coordinates, it can be used as a (symbolic) vector
.
symbolic symb i i
1 . 2 3 symb
x x x
65
The gradient (or open product of Nabla) is a differential
Gradient of a scalar field Φ(x):
Yields a vector
Gradient of a vector field v(x):
Yields a 2nd order tensor
.
{1,2,3} ˆ ˆ
symb i i i i i i i i i
i x x x e e
.
v v , {1,2,3} v ˆ ˆ ˆ ˆ
symb j j ij i j i i j i j i j ij i
i j x x x v v v v v e e e e
ˆi
i
x e v ˆ ˆ
j i j i
x v e e
66
Gradient of a 2nd order tensor field A(x):
Yields a 3rd order tensor
.
A A , , {1,2,3} A ˆ ˆ ˆ ˆ ˆ ˆ
symb jk jk ijk ijk i jk i i jk i j k i j k ijk i
i j k x x x A A A A A A e e e e e e A ˆ ˆ ˆ
jk i j k i
x A e e e
67
The divergence (or dot product of Nabla) is a differential
Divergence of a vector field v(x):
Yields a scalar
Divergence of a 2nd order tensor A(x):
Yields a vector
vi
i
x v
.
v v
symb i i i i i i
x x v v
ij j i
.
A A {1,2,3} A ˆ ˆ
symb ij j ij i ij i i ij j j j i
j x x x A A A A e e
68
The divergence can only be performed on tensors of order 1 or
If
v x
69
The rotation or curl (or vector product of Nabla) is a differential
Rotation of a vector field v(x):
Yields a vector
Rotation of a 2nd order tensor A(x):
Yields a 2nd order tensor
v ˆ v e
k ijk i j
x e A ˆ ˆ A e e
kl ijk i l j
x e
. .
v v {1,2,3} v ˆ ˆ v v v v e e
symb symb k i ijk ijk k ijk j k j j k i i ijk i j
i x x x e e e e
.
A A , , {1,2,3} A ˆ ˆ ˆ ˆ A A A e e e e
symb kl il ijk kl ijk j j kl il i l ijk i l j
i j k x x x e e e
70
The rotation can only be performed on tensors of order 1 or
If , the vector field is said to be irrotational (or
v x
71
scalar field Φ(x) vector field v(x) 2nd order tensor A(x)
GRADIENT DIVERGENCE ROTATION
A A
kl il ijk j
x e
v v
k i ijk j
x e
vi
i
x v
Aij
j i
x A
i i i
x
v
ij j ij i
x v v
A
ijk jk ijk i
x A A
72
Given the vector
1 2 3 1 1 2 2 1 3
73
Divergence:
vi
i
x v
3 1 2 2 3 1 1 2 3
i i
1 2 3 1 2 1
1 2 3 1 1 2 2 1 3
74
Divergence: In matrix notation:
vi
i
x v
1 2 3 1 2 1 2 3 1 1 2 3 1 2 1 1 2 3 1 2 1 2 3 1 1 2 3 1 2 3
, ,
T symb symb symb T symb
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x v v
13 31 11
1 2 3 1 2 1
75
In index notation:
Rotation:
v v
k i ijk j
x e
3 3 2 1 1 2 12 13 21 23 31 32 1 1 2 2 3 3
v v v v v v v v
k i ijk j i i i i i i
x x x x x x x e e e e e e e
1 2 3 1 2 1
76
3 2 123 132 2 3 3 1 213 231 1 2 1 3 2 1 3 2 1 312 321 1 2
v v v v 1 v v v x x x x x x x x x x x e e e e e e
Rotation: In matrix notation In compact notation:
3 2 1 12 13 21 1 1 2 3 1 2 23 31 32 2 3 3
v v v v v v v i
i i i i i i
x x x x x x e e e e e e
1 1 1 1 1 1
1 2 2 2 1 3 3
1 2 3 1 2 1
77
Rotation: Calculated directly in matrix notation:
1 1 2 3 2 1 2 3 1
1 1 2 3 1 2 2 1 2 3 3 1 2 3 3 3 3 2 1 2 1 1 2 3 2 3 3 1 1 2 1 2 2 2 1 3 3
symb
78
Gradient: In matrix notation In compact notation:
v j
ij ij i
x v v
1 1 2 3 2 1 2 3 1
1 2 3 2 1 2 3 1 2 1 1 3 1 2 1 2 3
1 , ,
symb symb symb T
x x x x x x x x x x x x x x x x x v v v
2 3 1 1 2 1 2 1 3 1 3 2 1 1 2 2 1 2 3 1
13 31 33
79
80
Given a field in a volume V with closed boundary surface
represents either a vector field ( v(x) ) or a tensor field ( A(x) ).
V V
V V
81
Given a field in a volume V with closed boundary surface
represents either the dot product ( · ), the cross product ( ) or the tensor product ( ).
represents either a scalar field ( ϕ(x) ), a vector field ( v(x) ) or a tensor field ( A(x) ).
V V
V V
82
Given a vector field u in a surface S with closed boundary
S S
83
j
Use the Generalized Divergence Theorem to show that
i j ij S x n dS
j
i
V V
84
Applying the Generalized Divergence Theorem: Applying the definition of gradient of a vector:
V V
i j S x n dS
S
j ij i
i ij j
i j ij S x n dS
85
The Generalized Divergence Theorem
Then, i j ij S x n dS
i i j S V j
i i j ij ij S V V j
86
87
José Mª Goicolea, Mecánica de Medios Continuos: Resumen de Álgebra y
Cálculo Tensorial, UPM.
Eduardo W. V. Chaves, Mecánica del Medio Continuo,Vol. 1 Conceptos
básicos, Capítulo 1: Tensores de Mecánica del Medio Continuo, CIMNE, 2007.
L. E. Malvern. Introduction to the mechanics of a continuous medium.
Prentice-Hall, Englewood Clis, NJ, 1969.
G. A. Holzapfel. Nonlinear solid mechanics: a continuum approach for
88