Tensor Basic Lecture Slides
Tensor Basic Lecture Slides
Vectors in 3 - dimensions
Ax
A = Ax x + Ay y + Az z = (Ax , Ay , Az ) ⟺ A = Ay [Matrix representation]
Az
A1
A = A1 e1 + A2 e2 + A3 e3 = (A1 , A2 , A3 ) ⟺ A = A2
A3
Bx
B = Bx x + By y + Bz z = (Bx , By , Bz ) ⟺ B = By
Bz
B1
B = B1 e1 + B2 e2 + B3 e3 = (B1 , B2 , B3 ) ⟺ B = B2
B3
3 3 3
A = Σ Ai e i = Σ Aj e j = Σ Ak e k ⇒ Ai e i = A j e j = A k e k
i=1 j=1 k=1
More than two repeated indices are not allowed according to this convention
Vector Addition
Vector addition is both commutative and associative
A + B = B + A [commutative] & A + B + C = A + B + C [associative]
Vector Multiplication
How to express the product of two vectors ?
A1 A1 B1 A1 B2 A1 B3
Ai Bj ⇔ A2 ( B1 B2 B3 ) = A2 B1 A2 B2 A2 B3 = ? or 3 × 3 = 9 =? 1 + 3 + 5
A3 A3 B1 A3 B2 A3 B3
Scalar/Dot Product
A · B = A B cosθ = B · A [ cos (- θ) = cosθ]
Example : x · x = 1 = y · y = z · z; x · y = 0 = y · z = z · x;
A · B = A x B x + Ay B y + Az B z
Example : e 1 · e1 = 1 = e2 · e2 = e3 · e3 ; e1 · e2 = 0 = e2 · e3 = e3 · e1 ;
In general, e i · ej = 1 if i = j otherwise zero
3
A · B = A 1 B 1 + A2 B 2 + A3 B 3 = Σ A i B i = A i B i
i=1
[Einstein ' s summation convention : Summation over repeated indices]
A · B = Ai Bi = Aj Bj = Ak Bk repeated indices i, j, k are dummy indices
More than two repeated indices are not allowed according to this convention
B1
A · B = A i Bi ⟺ A T B = ( A1 A2 A3 ) B2
B3
Example : A · A = A2 = Ax Ax + Ay Ay + Az Az ⇒ A = A2x + A2y + A2z
Lecture_A.nb 3
A+B = C ⇒ Ai + Bi = Ci or Aj + Bj = Cj i, j are free indices [which appear once]
Free indices are not summed over but they can take any value, 1, 2, 3
Kronecker Delta [ δ ]
A square matrix has equal # of rows and columns : M ij ith, jth row, column of matrix M
1 0 0
Identity matrix = I = 0 1 0 ⟹ I11 = I22 = I33 = 1 & Ii≠j = 0
0 0 1
1 0 0
Kronecker Delta = δ = 0 1 0 ⟹ δij = 1 for i = j
0 for i ≠ j
0 0 1
Tr[δ] = 3 or Tr[δ] = δ11 + δ22 + δ33 = δii
A1 1 0 0 A1
As A2 = 0 1 0 A2 ⟺ Ai = δij Aj
A3 0 0 1 A3
1 0 0 1 0 0 1 0 0
0 1 0 = 0 1 0 0 1 0 ⟺ δ = δδ ⟺ δij = δik δkj
0 0 1 0 0 1 0 0 1
Tr[δ] = Tr[δ δ] ⟺ δii = δik δki = δkk
1 0 0 1 0 0 1 0 0 1 0 0
0 1 0 = 0 1 0 0 1 0 0 1 0 ⟺ δ = δδδ ⟺ δij = δik δkm δmj
0 0 1 0 0 1 0 0 1 0 0 1
B1 1 0 0 B1
( A1 A2 A3 ) B2 = ( A1 A2 A3 ) 0 1 0 B2 ⟺ Ai Bi = Ai δij Bj
B3 0 0 1 B3
Note that e i · ej = δij ⇒ A · B = Ai ei · Bj ej = Ai ei · ej Bj = Ai δij Bj = Ai Bi
A1 A1 B1 A1 B2 A1 B3
A2 ( B1 B2 B3 ) = A2 B1 A2 B2 A2 B3 ⟺ A i Bj
A3 A3 B1 A3 B2 A3 B3
4 Lecture_A.nb
Vector/Cross Product
A × B = A B sinθ n = - B × A [ sin (- θ) = - sinθ]
y x
+
z
Example : x × x = 0 = y × y = z × z; x × y = z; y × z = x; z × x = y;
Example : e 1 × e1 = 0 = e2 × e2 = e3 × e3 ; e1 × e2 = e3 ; e2 × e3 = e1 ; e3 × e1 = e2 ;
a =da
Levi - Civita
A × B = (Ay Bz - Az By ) x + (Az Bx - Ax Bz ) y + (Ax By - Ay Bx ) z
A × B = (A2 B3 - A3 B2 , A3 B1 - A1 B3 , A1 B2 - A2 B1 )
A × B = A2 B3 - A3 B2 ; A × B = A3 B1 - A1 B3 ; A × B = A1 B2 - A2 B1 ;
1 2 3
A × B = ϵijk Aj Bk ; ϵijk = Levi - Civita Symbol = completely antisymmetric
i
A × B = ϵ1 jk Aj Bk = ϵ11 k A1 Bk + ϵ12 k A2 Bk + ϵ13 k A3 Bk
1
A × B = (ϵ111 A1 B1 + ϵ112 A1 B2 + ϵ113 A1 B3 ) +
1
(ϵ121 A2 B1 + ϵ122 A2 B2 + ϵ123 A2 B3 ) + (ϵ131 A3 B1 + ϵ132 A3 B2 + ϵ133 A3 B3 ) = A2 B3 - A3 B2
⇒ ϵ111 = 0 = ϵ112 = ϵ113 = ϵ121 = ϵ122 = ϵ131 = ϵ133 & ϵ123 = 1; ϵ132 = - 1
A × B = ϵijk Aj Bk
i
Example : A × B = Aj Bk ej × ek i = ϵijk Aj Bk ⇒ ej × ek i = ϵijk
i
Lecture_A.nb 5
Another Method
A × B = A2 B3 - A3 B2 ; A × B = A3 B1 - A1 B3 ; A × B = A1 B2 - A2 B1 ; Eq .1
1 2 3
A × B = (Aj Bk - Ak Bj ) with i ≠ j ≠ k in cyclic order
i
But free indices i, j, k on both sides of the above expression do not match
Better representation is ϵijk A × B = (Aj Bk - Ak Bj ) ⇒ ϵijk = - ϵikj
i
⇒ ϵijk = 0 if i = j or j = k
Exercise : 3 × 3 = 9 = 1 + 3 + 5
Given that Ai Bj = Cij A · B + Cijk A × B + Sij ; Find Cij = ? Cijk = ? Sij = ?
k
Scalar-triple Product
A = Ax x + Ay y + Az z = (A1 , A2 , A3 );
B = Bx x + By y + Bz z = (B1 , B2 , B3 );
C = Cx x + Cy y + Cz z = C1 , C2 , C3 ;
A1 A2 A3
A · B × C = B1 B2 B3
C1 C2 C3
A · B × C = 0 if either A = B or A = C or B = C
A · B × C = Ai B × C = Ai ϵijk Bj Ck = ϵijk Ai Bj Ck
i
A · B × C = B · C × A = C · A × B
A
B
+
C
6 Lecture_A.nb
A · B × C = 0 if all three vectors are coplanar
Example : A · B × C = Ai ei · Bj ej × Ck ek = ei · ej × ek Ai Bj Ck = ϵijk Ai Bj Ck
⟹ ϵijk = ei · ej × ek
Vector-triple Product
A × B × C =? a B · C A + b A · C B + c A · B C
Since A × B × C is perpendicular to both A & B × C ⟹ a = 0
Or assume A = B × C and take the dot product with B × C ⇒ a B · C A · B × C = 0 ⇒ a = 0
A × B × C = b A · C B + c A · B C
As B × C = - C × B ⟹ c = - b
A × B × C = bA · C B - A · B C
Let ' s take, A = y; B = z; C = y
y × z × y = y × - x = z = by · y z - y · z y = b z ⟹ b = 1
A × B × C = B A · C - C A · B [BAC - CAB rule]
A × B × Ci = B A · C - C A · Bi
ϵijk Aj B × C = Bi A · C - Ci A · B
k
ϵijk Aj ϵkmn Bm Cn = Bi Al Cl - Ci Al Bl
ϵijk ϵijk = 3 !
six - permutations, [l m n, l n m, m l n, m n l, n l m, n m l ]
Rotation Matrix
What is a vector ?
x' 1 0 0 x
y' = 0 cosφ sinφ y
z' 0 - sinφ cosφ z
This is also true for an arbitrary vector, A = (Ax , Ay , Az )
cosφ - sinφ 0
Ax ' A y ' A z ' = A x Ay Az sinφ cosφ 0
0 0 1
Ax ' cosφ - sinφ 0 cosφ sinφ 0 Ax
Ax ' A y ' A z ' Ay ' = A x Ay Az sinφ cosφ 0 - sinφ cosφ 0 Ay
Az ' 0 0 1 0 0 1 Az
A2 = Ax '2 + Ay '2 + Az '2 = (Ax )2 + (Ay )2 + (Az )2
A 'T A ' = AT RT R A = AT A as RT R = I = R RT
RT R = Iij ⟹ RT Rij = [RT ]ik [R]kj = δij ⟹ Rki Rkj = δij = Rik Rjk
cosφ sinφ 0
Det - sinφ cosφ 0 = 1
0 0 1
cosφ sinφ 0
Rr = - sinφ cosφ 0 ; [proper - rotation]
0 0 1
x' -1 0 0 x
y' = 0 -1 0 y [space - inversion [improper rotation] or Parity]
z' 0 0 -1 z
-1 0 0
RP = 0 -1 0 ; Det[RP ] = - 1
0 0 -1
-1 0 0
Or RPx = 0 1 0 ; Det[RPx ] = - 1
0 0 1
RT R = I = R RT [Orthogonality Condition]
Polar vector : r , p, F, E
Axial Pseudovector; L = r × p, B
d
F = p; Fm = q v × B; Fe = q E; dW = F.d r; τ = r × F;
dt
Scalar : r · r, W
Pseudoscalar : A .B × C
Pseudos : S ' = J S; Ai ' = J Rij Aj ; Tij ' = J Rim Rjn Tmn ; [ J = Det[R]]
Tensors
Tij ~ Ai Bj [tensor of rank 2] T = Tij ei ⊗ ej
Tij ' = Rim Rjn Tmn or Tij ' = Rim Tmn RT nj
The interchange of any two rows or columns generates a minus sign, therefore we can write
If R = I then
Excercise : Show that ϵijk = Det[R] Ril Rjm Rkn ϵlmn [isotropic pseudo - tensor]
Tiso
ijkl ∝ (c1 δij δkl + c2 δik δjl + c3 δil δjk )
Tiso
ijkl = < Ai Bj Ck Dl >
∝ [c1 δij δkl + c2 δik δjl + c3 δil δjk ]
Find ci where it could be a combination of A · B C · D, A · C B · D & A · D C · B
Tiso
ijkmn = < Ai Bj Ck Dm En > ∝ A · B × C D · E ϵijk δmn + ...
Tiso
ijklmn = < Ai Bj Ck Dl Em Fn > ∝ [? ]
Excercise : Show that L = r × p is a pseudovector, i.e., Li ' = J Rij Lj
Excercise : Show that S = A · B × C is a pseudoscalar,
i.e., S ' = J S if A , B & C are all vectors.
Contraction
When we set two indices on a tensor equal and sum we say that we contract the two indices.
Active Rotation
Anti - clockwise rotation of a vector about the z - axis [active rotation] :
x' 1 0 0 x
y' = 0 cosφ - sinφ y
z' 0 sinφ cosφ z
0
Example : Consider a unit vector : r = z ⇔ 0
1
First rotate the vector counterclockwise by angle θ about the y -
axis then counterclockwise by φ about the z - axis
cosφ - sinφ 0 cosθ 0 sinθ 0 cosφ - sinφ 0 sinθ cosφsinθ
sinφ cosφ 0 0 1 0 0 = sinφ cosφ 0 0 = sinφsinθ
0 0 1 - sinθ 0 cosθ 1 0 0 1 cosθ cosθ
r = sinθcosφ x + sinθsinφ y + cosθ z [position unit vector in spherical coordinate]
Excercise : show that Rik Rjk = δij for the above expression of Rij
cosφ sinφ 0
Rz = - sinφ cosφ 0 [passive anti - clockwise rotation]
0 0 1
General Tensors
Consider the following general transformations :
x ' = x ' (x, y, z), y ' = y ' (x, y, z), z ' = z ' (x, y, z) or xi ' = xi ' (xk )
Now consider
∂ = ∂ x dx + ∂ y dy + ∂ z dz
∂x' ∂x' ∂x' ∂x'
∂ = ∂ x dx + ∂ y dy + ∂ z dz
∂y' ∂y' ∂y' ∂y'
∂ = ∂ x dx + ∂ y dy + ∂ z dz
∂z' ∂z' ∂z' ∂z'
Or in short, ∂ = ∂ xk dx
k
∂ xi ' ∂ xi '
Work done : dW = F · d r = Fi dxi ; F = - ∇ Φ [conservative force]
Displacement Vector; dxi ' = ∂ xi ' dxj ; Ai ' = ∂ xi ' Aj [contravariant]
∂ xj ∂ xj
∂ xj
Force Vector; Fi ' = - ∂ Φ ' = - ∂ Φ ' = - ∂ Φ = - ∂Φ
∂ xi ∂ xi ' ∂ xi ' ∂ xi ' ∂ xj
∂ xi ' ∂ xj
In general, ≠
∂ xj ∂ xi '
∂ xj ∂ xj
If ∂ xi ' = [Cartesian Tensors] otherwise general tensors ∂ xi ' ≠
∂ xj ∂ xi ' ∂ xj ∂ xi '
∂ xj
xj = Rkj xk ' ⇒ = Rij = ∂ xi '
∂ xi ' ∂ xj
∂ xj
A general relation between x ' & x that satifies ∂ xi ' = :
∂ xj ∂ xi '
∂ xj
xi ' = Rik xk + ai ⟹ ∂ xi ' = [where Rik Rjk = δij ]
∂ xj ∂ xi '
∂ xj
Note that an arbitrary linear transformation does not imply the condition ∂ xi ' =
∂ xj ∂ xi '
Quotient Rule
"The quotient rule is a substitue for illegal division of tensors"
where A & B are known tensors and K is an unknown quantity. Find the transformation properties of K
such that above equations hold in all (rotated ) Cartesian coordinate systems.
xi ' = Rik xk
Kkl Al = Bk ⟶ 2
14 Lecture_A.nb
Given that Bi ' = Rik Bk & Aj ' = Rjl Al [Al = Rjl Aj '] & Kij ' Aj ' = Bi '
As Aj is an arbitrary vector,
N N + 1
Symmetric tensor : Sij = Sji : in N - dimensions
2
[S12 = S21 ; S13 = S31 ; S23 = S32 ; S11 ; S22 ; S33 ]
3 3 + 1
= 6 # of elements
2
Sij ' = Rik Rjl Skl = Sji
N N - 1
Anti - symmetric tensor : Aij = - Aji : in N - dimensions
2
[A12 = - A21 ; A13 = - A31 ; A23 = - A32 ; A11 = 0; A22 = 0; A33 = 0]
3 3 - 1
= 3 # of elements
2
Aij ' = Rik Rjl Akl = - Aji ⟹ Aii = 0 [Traceless]
where 〈Ai Bj 〉 = 1 A · B δij = isotropic tensor
3
Exercise : For Ai Bj = C δij + ϵijk Ck + Cij such that Cij = Cji & Cii = 0, find {C, Ci , Cij }
Addition of Spins
j 1 × j2 = j 1 + j2 , j 1 + j2 - 1 , , , j 1 - j2
J : 1 × 1 × 1 = 0 + 1 + 2 × 1 = 1 + 1 × 1 + 2 × 1 = 1 + 0 + 1 + 2 + 1 + 2 + 3;
2 j + 1 : 3 × 3 × 3 = 3 + 1 + 3 + 5 + 3 + 5 + 7
3 × 3 × 3 = 27 = 3 + 1 + 3 + 5 + 3 + 5 + 7
Ttraceless
(ijk) = T(ijk) - Ttrace
(ijk)
where T(ijk) ≡ 1 (Tijk + Tikj + Tjki + Tjik + Tkji + Tkji ) & Ttrace
(ijk) =
1 (T
(ill) δjk + T(ljl) δik + T(llk) δij )
3! 5
N N + 1
S(ij) : Sij = + Sji ⇒ # of independent elements
2!
Example : Inertia Tensor, Iij = Iij
N N + 1 N + 2
S(ijk) : # of independent elements
3!
∂ gjk N N + 1
If gjk = gkj then : N× # of independent elements
∂ xi 2!
∂2 gij N N + 1 N N + 1
: × # of independent elements
∂ xm ∂ xn 2! 2!
∂3 gmn :
N N + 1 N N + 1 N + 3
× # of independent elements
∂ xi ∂ xj ∂ xk 2! 3!
Dual Tensors
N N - 1
A[ij] : A[ij] = - A[ji] ⇒ # of independent elements
2!
A[ij] ⟺ Ai = 1 ϵijk A[jk] [Ai & Ajk are dual to each other]
2!
N N - 1 N - 2
A[ijk] : # of independent elements
3!
Riemann Tensor
1 Rμνρσ = - Rνμρσ
2 Rμνρσ = - Rμνσρ
3 Rμνρσ = + Rρσμν
Excercise. Find the number of the independent components of Rμνρσ satisfying the above conditions
Excercise : Find the number of the independent
components of the rotation matrix Rij in N dimensions satisfying the conditions :
Lecture_A.nb 17