Vector and Tensor
Vector and Tensor
1.Curvilinear coordinates:
In curvilinear coordinates, some of the axes are curved. Most commonly used coordinate
systems are cylindrical and spherical. The relation between these coordinates and the
Cartesian coordinates is shown below.
Cylindrical: x1 = r cosθ x2 = r sinθ x3 = z
Spherical: x1 = r sin θ cos φ x2 = r sin θ sin φ x3 = r cosθ
1
v
h1 = h1 = ⎡⎣sin 2 θ cos2 φ + sin 2 θ sin 2 φ + cos2 θ ⎤⎦ = 1
12
[
h2 = h2 = r 2 cos 2 θ cos 2 φ + r 2 cos 2 θ sin 2 φ + r 2 sin 2 θ ]
12
=r
and [
h3 = h3 = r 2 sin 2 θ sin 2 φ + r 2 sin 2 θ cos 2 φ ]12
= r sin θ
We can invert these equations to get inverse relation. Alternatively taking dot product of
every equations from the set above, we get
êr ⋅ ê1 = sinθ cos φ ,êθ ⋅ ê1 = cos θ cos φ , êφ ⋅ ê1 = − sin φ
This gives
ê1 = sin θ cos φêr + cos θ cos φêθ − sin φêφ
2
5. Distance between two points:
v v
In Cartesian coordinates the distance Δs between two points P1 ( p1 ) and P2 ( p2 ) is
v v
given by p2 − p1 . Thus
v v v v
Δs 2 = ( p2 − p1 ) ⋅ ( p2 − p1 ) = ( x2i − x1i ) êi ⋅ ( x2 j − x1 j ) ê j
= ( x2i − x1i ) ( x2 j − x1 j ) δij = ( x2 j − x1 j ) ( x2 j − x1 j )
This formula is not valid in the case of curvilinear coordinates, since the basis vectors
change their direction from point to point. We can however define distance ds between
the two points, which are infinitesimally apart. In Cartesian coordinates
v v
ds 2 = dp ⋅ dp = dxi êi ⋅ dx j ê j = dx j dx j
In curvilinear coordinates
v v v v v v
ds 2 = dp ⋅ dp = dqi hi ⋅ dq j h j = dqi dq j hi ⋅ h j = ( hdq)i ( hdq) j ĥi ⋅ ĥ j
Hence ds 2 = ( hdq)i ( hdq) j (δij ) = ( hdq) j ( hdq) j = h12 dq12 + h22 dq22 + h32 dq32
v v v v
∂f ∂f ∂p ∂f ∂x ∂f ∂xk ∂f ∂xk ∂f
∇f ⋅ h j = êi ⋅ h j = êi ⋅ = êi ⋅ k êk = δ ik = =
∂xi ∂xi ∂q j ∂xi ∂q j ∂xi ∂q j ∂xk ∂q j ∂q j
3
v v
If we write ∇f = (∇f )i ĥi , then
v v v v v
[ v v
] v v
∇f ⋅ h1 = (∇f )i ĥi ⋅ h1 = (∇f )1 ĥ1 + (∇f )2 ĥ2 + (∇f )3 ĥ3 ⋅ h1 = (∇f )1 h1
v 1 ∂f v 1 ∂f
Similarly, (∇f )2 = and (∇f )3 =
h2 ∂q2 h2 ∂q2
v v v v 1 ∂f 1 ∂f 1 ∂f
∇f = (∇f )1 ĥ1 + (∇f )2 ĥ2 + (∇f )3 ĥ3 = ĥ1 + ĥ1 + ĥ1
h1 ∂q1 h2 ∂q2 h3 ∂q3
In the index form we can write the equation as,
v ∂f ⎛ ĥ ⎞
∇f = ⎜ ⎟
∂q j ⎝ h ⎠ j
In cylindrical coordinates: h1 = 1, h2 = r, h3 =1
v ∂f 1 ∂f ∂f
∇f = êr + êθ + êz
∂r r ∂θ ∂z
We can now define the gradient operator in curvilinear coordinate as
v ∂(⋅) ⎛ ĥ ⎞
∇= ⎜ ⎟
∂q j ⎜⎝ h ⎟⎠ j
7. Example:
v ⎛ ĥ ⎞ v v ⎛ ĥ ⎞
Show that ∇ ^ ⎜ ⎟ = 0 and ∇ ⋅ ⎜⎜ i ⎟⎟ = 0
⎝ h ⎠k ⎝ h j hk ⎠
Proof: We note from section 4 that
v ∂q ⎛ ĥ ⎞ ⎛ ĥ ⎞ ⎛ ĥ ⎞
∇qk = k ⎜ ⎟ = δkj ⎜ ⎟ = ⎜ ⎟
∂q j ⎝ h ⎠ j ⎝ h ⎠ j ⎝ h ⎠k
v v v v
We also note that ∇ ^ ∇qk = 0 since ∇qK is the gradient of scalar field qk . Hence
v ⎛ ĥ ⎞ v
∇ ^⎜ ⎟ = 0
⎝ h ⎠k
We also see that
4
v ⎛ ĥi ⎞ v ⎛⎛ ĥ ⎞ ⎛ ĥ ⎞ ⎞ ⎛ ĥ ⎞ ⎛ v ⎛ ĥ ⎞ ⎞ ⎛ v ⎛ ĥ ⎞ ⎞ ⎛ ĥ ⎞
∇ ⋅ ⎜⎜ ⎟⎟ = ∇ ⋅ ⎜⎜ ⎟ ^ ⎜ ⎟ ⎟ = ⎜ ⎟ ⋅ ⎜⎜ ∇ ^ ⎜ ⎟ ⎟⎟ + ⎜ ∇ ^ ⎜ ⎟ ⎟ ⋅ ⎜ ⎟ = 0
⎝ j k⎠ ⎜⎝ h ⎠ ⎝ h ⎠ ⎟ ⎝ h ⎠ ⎝ h ⎠k ⎠ ⎜⎝ ⎝ h ⎠ j ⎟⎠ ⎝ h ⎠k
j ⎝
h h ⎝ j k⎠
in cylindrical coordinates is
v
v = vr êr + vθ êθ + vz êz
and in spherical coordinates, it is
v
v = vr êr + vθ êθ + vφ êφ
5
ê2 = sinθ sin φêr + cos θ sin φêθ + cos φêφ and ê3 = cos θ êr − sinθ êθ
v
Substituting them in v = v1ê1 + v2ê2 + v3ê3 , we obtain
v = v1 (sin θ cos φêr + cos θ cos φêθ − sin φêϕ ) + v2 (sin θ sin φêr + cos θ sin φêθ + cos φêφ )
v
The second term on the right hand side of the equation above is zero (see section 5).
Hence
v ĥ v
( )
∇ ⋅ v 1 ĥ1 = 1 ⋅ ∇ h2 h3v 1
h2 h3
( )
v ∂ (⋅) ⎛ ĥ ⎞
Now ∇ = ⎜ ⎟ . Hence
∂q j ⎝ h ⎠ j
v
( ) ĥ
∇ ⋅ v 1 ĥ1 = 1 ⋅
∂
h2 h3 ∂q j
(
h2 h3v 1 )⎛⎜⎜ hĥ ⎞⎟⎟ =
1 ∂
h2 h3 ∂q1
(
h2 h3v 1 )⎛⎜⎜ h1 ⎞⎟⎟
⎝ ⎠j ⎝ 1 ⎠
Hence
v v 1 ⎡ ∂ ∂ ∂ ⎤
∇⋅v = ⎢
h1h2 h3 ⎣ ∂q1
(h2 h3v 1 +
∂q2
)
h3h1v 2 + (
∂q3
h1h2 v 3 ⎥
⎦
) ( )
6
In cylindrical coordinates h1 = 1, h2 = r, h3 =1
v v 1⎡ ∂ ∂ ∂ ⎤
∇ ⋅ v = ⎢ ( r vr ) + ( vθ ) + ( r vz )⎥
r ⎣ ∂r ∂θ ∂z ⎦
In spherical coordinates h1 =1, h2 = r, h3 = r sin θ
v v 1 ⎡∂ 2 ∂ ∂ ⎤
∇⋅v = ⎢ ( r sin θ vr ) + ( r sin θ vθ ) + ( r vφ )⎥
r sin θ ⎣ ∂r
2
∂θ ∂φ ⎦
1 ∂ 2 1 ∂ 1 ∂vφ
=
r ∂r
2 ( r vr ) +
r sin θ ∂θ
(sinθ vθ ) +
r sin θ ∂φ
12. Laplacian:
v v 1 ∂ ⎛⎜ ⎛∇ ⎞⎞
∇2 = ∇ ⋅ ∇ = h1 2 3⎜
h h ⎜ h ⎟⎟ ⎟⎟
h1h2 h3 ∂qi ⎜⎝ ⎝ ⎠i ⎠
We know that (see section 4)
1 ∂
∇i =
hi ∂qi
Hence
1 ∂ ⎛ ⎛1 ∂⎞⎞
∇2 = ⎜ h1h2 h3 ⎜ 2 ⎟ ⎟
h1h2 h3 ∂qi ⎝ ⎝ h ∂q ⎠i ⎠
In the long form we can write
1 ⎡ ∂ ⎛ h2 h3 ∂ ⎞ ∂ ⎛ h3h1 ∂ ⎞ ∂ ⎛ h1h2 ∂ ⎞⎤
∇2 = ⎢ ⎜ ⎟+ ⎜ ⎟+ ⎜ ⎟⎥
h1h2 h3 ⎣ ∂q1 ⎝ h1 ∂q1 ⎠ ∂q2 ⎝ h2 ∂q2 ⎠ ∂q3 ⎝ h3 ∂q3 ⎠⎦
In cylindrical coordinates h1 = 1, h2 = r, h3 =1
1 ⎡ ∂ ⎛ ∂ ⎞ ∂ ⎛ 1 ∂ ⎞ ∂ ⎛ ∂ ⎞⎤
∇2 = ⎢ ⎜ r ⎟ + ⎜ ⎟ + ⎜r ⎟
r ⎣ ∂r ⎝ ∂r ⎠ ∂θ ⎝ r ∂θ ⎠ ∂z ⎝ ∂z ⎠⎥⎦
In spherical coordinates h1 =1, h2 = r, h3 = r sin θ
1 ⎡∂ ⎛ 2 ∂ ⎞ ∂ ⎛ ∂ ⎞ ∂ ⎛ 1 ∂ ⎞⎤
∇2 = ⎢ ⎜ r sin θ ⎟ + ⎜ sin θ ⎟+ ⎜ ⎟⎥
r sin θ
2
⎣ ∂r ⎝ ∂r ⎠ ∂θ ⎝ ∂θ ⎠ ∂φ ⎜⎝ sin θ ∂φ ⎟⎠⎦
1 ∂⎛ 2 ∂ ⎞ 1 ∂ ⎛ ∂ ⎞ 1 ∂2
= ⎜ r ⎟ + ⎜ sin θ ⎟ +
r 2 ∂r ⎝ ∂r ⎠ r 2 sin θ ∂θ ⎝ ∂r ⎠ r 2 sin 2 θ ∂φ 2
8. Curl of vector Field:
7
v v v
∇ ^ v = ∇ ^ (v i ĥi )
Consider any one term on the sum on the right hand side of the equation above.
v v ⎛ ĥ ⎞ v ⎛ ĥ ⎞ v ⎛ ĥ ⎞
( ) ( )
∇ ^ (v 1 ĥ1 ) = ∇ ^ ⎜ v 1 h1 1 ⎟ = ∇ v 1 h1 ^ ⎜ 1 ⎟+ v 1 h1 ∇ ^ ⎜ 1 ⎟
⎝ h1 ⎠ ⎝ h1 ⎠ ⎝ h1 ⎠
v ⎛ ĥ ⎞
But ∇ ^⎜ 1 ⎟ = 0 based on the derivation in section 5. Hence
⎝ h1 ⎠
v v ⎛ ĥ ⎞
( )
∇ ^ (v 1 ĥ1 ) = ∇ v 1 h1 ^ ⎜ 1 ⎟
⎝ h1 ⎠
We can now write, in index notation
v v v ⎛ ĥ ⎞
∇ ^ v = ∇(v ĥ)i ^ ⎜ ⎟
⎝ h ⎠i
v ∂ (⋅) ⎛ ĥ ⎞
Noting that ∇ = ⎜ ⎟ , we get
∂q j ⎝ h ⎠ j
v v ∂(v ĥ)i ⎛ ĥ ⎞ ⎛ ĥ ⎞
∇^v = ⎜ ⎟ ^⎜ ⎟
∂q j ⎝ h ⎠ j ⎝ h ⎠i
Simplification yields
v v ∂(v 1 ĥ1 ) ⎛ ĥ3 ⎞ ∂(v 1 ĥ1 ) ⎛ ĥ2 ⎞ ∂(v 2 ĥ2 ) ⎛ ĥ3 ⎞
∇^v =− ⎜ ⎟+ ⎜ ⎟+ ⎜ ⎟
∂q2 ⎝ h1h2 ⎠ ∂q3 ⎝ h3h1 ⎠ ∂q1 ⎝ h1h2 ⎠
∂(v 2 ĥ2 ) ⎛ ĥ1 ⎞ ∂(v 3 ĥ3 ) ⎛ ĥ2 ⎞ ∂(v 3 ĥ3 ) ⎛ ĥ1 ⎞
− ⎜ ⎟− ⎜ ⎟+ ⎜ ⎟
∂q3 ⎝ h2 h3 ⎠ ∂q1 ⎝ h3h1 ⎠ ∂q2 ⎝ h2 h3 ⎠
8
This can be written in the determinant form as
In cylindrical coordinates: h1 = 1, h2 = r, h3 =1
Hence
1 ⎡⎛ ∂v ∂v ⎞ ⎛ ∂v ∂v ⎞ ⎛ ∂ ( r vθ ) ∂v ⎞ ⎤
= ⎢⎜ z − r θ ⎟ êr − ⎜ z − r ⎟ r êθ + ⎜ − r ⎟ êz ⎥
r ⎣⎝ ∂θ ∂z ⎠ ⎝ ∂r ∂z ⎠ ⎝ ∂r ∂θ ⎠ ⎦