Curvilinear coordinates can be formulated in tensor calculus , with important applications in physics and engineering , particularly for describing transportation of physical quantities and deformation of matter in fluid mechanics and continuum mechanics .
Vector and tensor algebra in three-dimensional curvilinear coordinates [ edit ] Elementary vector and tensor algebra in curvilinear coordinates is used in some of the older scientific literature in mechanics and physics and can be indispensable to understanding work from the early and mid 1900s, for example the text by Green and Zerna.[ 1] Some useful relations in the algebra of vectors and second-order tensors in curvilinear coordinates are given in this section. The notation and contents are primarily from Ogden,[ 2] Naghdi,[ 3] Simmonds,[ 4] Green and Zerna,[ 1] Basar and Weichert,[ 5] and Ciarlet.[ 6]
Consider two coordinate systems with coordinate variables ( Z 1 , Z 2 , Z 3 ) {\displaystyle (Z^{1},Z^{2},Z^{3})} and ( Z 1 ´ , Z 2 ´ , Z 3 ´ ) {\displaystyle (Z^{\acute {1}},Z^{\acute {2}},Z^{\acute {3}})} , which we shall represent in short as just Z i {\displaystyle Z^{i}} and Z i ´ {\displaystyle Z^{\acute {i}}} respectively and always assume our index i {\displaystyle i} runs from 1 through 3. We shall assume that these coordinates systems are embedded in the three-dimensional euclidean space. Coordinates Z i {\displaystyle Z^{i}} and Z i ´ {\displaystyle Z^{\acute {i}}} may be used to explain each other, because as we move along the coordinate line in one coordinate system we can use the other to describe our position. In this way Coordinates Z i {\displaystyle Z^{i}} and Z i ´ {\displaystyle Z^{\acute {i}}} are functions of each other
Z i = f i ( Z 1 ´ , Z 2 ´ , Z 3 ´ ) {\displaystyle Z^{i}=f^{i}(Z^{\acute {1}},Z^{\acute {2}},Z^{\acute {3}})} for i = 1 , 2 , 3 {\displaystyle i=1,2,3}
which can be written as
Z i = Z i ( Z 1 ´ , Z 2 ´ , Z 3 ´ ) = Z i ( Z i ´ ) {\displaystyle Z^{i}=Z^{i}(Z^{\acute {1}},Z^{\acute {2}},Z^{\acute {3}})=Z^{i}(Z^{\acute {i}})} for i ´ , i = 1 , 2 , 3 {\displaystyle {\acute {i}},i=1,2,3}
These three equations together are also called a coordinate transformation from Z i ´ {\displaystyle Z^{\acute {i}}} to Z i {\displaystyle Z^{i}} . Let us denote this transformation by T {\displaystyle T} . We will therefore represent the transformation from the coordinate system with coordinate variables Z i ´ {\displaystyle Z^{\acute {i}}} to the coordinate system with coordinates Z i {\displaystyle Z^{i}} as:
Z = T ( z ´ ) {\displaystyle Z=T({\acute {z}})}
Similarly we can represent Z i ´ {\displaystyle Z^{\acute {i}}} as a function of Z i {\displaystyle Z^{i}} as follows:
Z i ´ = g i ´ ( Z 1 , Z 2 , Z 3 ) {\displaystyle Z^{\acute {i}}=g^{\acute {i}}(Z^{1},Z^{2},Z^{3})} for i ´ = 1 , 2 , 3 {\displaystyle {\acute {i}}=1,2,3}
and we can write the free equations more compactly as
Z i ´ = Z i ´ ( Z 1 , Z 2 , Z 3 ) = Z i ´ ( Z i ) {\displaystyle Z^{\acute {i}}=Z^{\acute {i}}(Z^{1},Z^{2},Z^{3})=Z^{\acute {i}}(Z^{i})} for i ´ , i = 1 , 2 , 3 {\displaystyle {\acute {i}},i=1,2,3}
These three equations together are also called a coordinate transformation from Z i {\displaystyle Z^{i}} to Z i ´ {\displaystyle Z^{\acute {i}}} . Let us denote this transformation by S {\displaystyle S} . We will represent the transformation from the coordinate system with coordinate variables Z i {\displaystyle Z^{i}} to the coordinate system with coordinates Z i ´ {\displaystyle Z^{\acute {i}}} as:
z ´ = S ( z ) {\displaystyle {\acute {z}}=S(z)}
If the transformation T {\displaystyle T} is bijective then we call the image of the transformation, namely Z i {\displaystyle Z^{i}} , a set of admissible coordinates for Z i ´ {\displaystyle Z^{\acute {i}}} . If T {\displaystyle T} is linear the coordinate system Z i {\displaystyle Z^{i}} will be called an affine coordinate system , otherwise Z i {\displaystyle Z^{i}} is called a curvilinear coordinate system .
As we now see that the Coordinates Z i {\displaystyle Z^{i}} and Z i ´ {\displaystyle Z^{\acute {i}}} are functions of each other, we can take the derivative of the coordinate variable Z i {\displaystyle Z^{i}} with respect to the coordinate variable Z i ´ {\displaystyle Z^{\acute {i}}} .
Consider
∂ Z i ∂ Z i ´ = d e f J i ´ i {\displaystyle {\frac {\partial {Z^{i}}}{\partial {Z^{\acute {i}}}}}\;{\overset {\underset {\mathrm {def} }{}}{=}}\;J_{\acute {i}}^{i}} for i ´ , i = 1 , 2 , 3 {\displaystyle {\acute {i}},i=1,2,3} , these derivatives can be arranged in a matrix, say J {\displaystyle J} , in which J i ´ i {\displaystyle J_{\acute {i}}^{i}} is the element in the i {\displaystyle i} -th row and i ´ {\displaystyle {\acute {i}}} -th column
J = ( J 1 ´ 1 J 2 ´ 1 J 3 ´ 1 J 1 ´ 2 J 2 ´ 2 J 3 ´ 2 J 1 ´ 3 J 2 ´ 3 J 3 ´ 3 ) = ( ∂ Z 1 ∂ Z 1 ´ ∂ Z 1 ∂ Z 2 ´ ∂ Z 1 ∂ Z 3 ´ ∂ Z 2 ∂ Z 1 ´ ∂ Z 2 ∂ Z 2 ´ ∂ Z 2 ∂ Z 3 ´ ∂ Z 3 ∂ Z 1 ´ ∂ Z 3 ∂ Z 2 ´ ∂ Z 3 ∂ Z 3 ´ ) {\displaystyle J={\begin{pmatrix}J_{\acute {1}}^{1}&J_{\acute {2}}^{1}&J_{\acute {3}}^{1}\\J_{\acute {1}}^{2}&J_{\acute {2}}^{2}&J_{\acute {3}}^{2}\\J_{\acute {1}}^{3}&J_{\acute {2}}^{3}&J_{\acute {3}}^{3}\end{pmatrix}}={\begin{pmatrix}{\partial {Z^{1}} \over \partial {Z^{\acute {1}}}}&{\partial {Z^{1}} \over \partial {Z^{\acute {2}}}}&{\partial {Z^{1}} \over \partial {Z^{\acute {3}}}}\\{\partial {Z^{2}} \over \partial {Z^{\acute {1}}}}&{\partial {Z^{2}} \over \partial {Z^{\acute {2}}}}&{\partial {Z^{2}} \over \partial {Z^{\acute {3}}}}\\{\partial {Z^{3}} \over \partial {Z^{\acute {1}}}}&{\partial {Z^{3}} \over \partial {Z^{\acute {2}}}}&{\partial {Z^{3}} \over \partial {Z^{\acute {3}}}}\end{pmatrix}}}
The resultant matrix is called the Jacobian matrix.
Vectors in curvilinear coordinates [ edit ] Let (b 1 , b 2 , b 3 ) be an arbitrary basis for three-dimensional Euclidean space. In general, the basis vectors are neither unit vectors nor mutually orthogonal . However, they are required to be linearly independent. Then a vector v can be expressed as[ 4] : 27 v = v k b k {\displaystyle \mathbf {v} =v^{k}\,\mathbf {b} _{k}} The components vk are the contravariant components of the vector v .
The reciprocal basis (b 1 , b 2 , b 3 ) is defined by the relation [ 4] : 28–29 b i ⋅ b j = δ j i {\displaystyle \mathbf {b} ^{i}\cdot \mathbf {b} _{j}=\delta _{j}^{i}} where δi j is the Kronecker delta .
The vector v can also be expressed in terms of the reciprocal basis: v = v k b k {\displaystyle \mathbf {v} =v_{k}~\mathbf {b} ^{k}} The components vk are the covariant components of the vector v {\displaystyle \mathbf {v} } .
Second-order tensors in curvilinear coordinates [ edit ] A second-order tensor can be expressed as S = S i j b i ⊗ b j = S j i b i ⊗ b j = S i j b i ⊗ b j = S i j b i ⊗ b j {\displaystyle {\boldsymbol {S}}=S^{ij}~\mathbf {b} _{i}\otimes \mathbf {b} _{j}=S_{~j}^{i}~\mathbf {b} _{i}\otimes \mathbf {b} ^{j}=S_{i}^{~j}~\mathbf {b} ^{i}\otimes \mathbf {b} _{j}=S_{ij}~\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}} The components Sij are called the contravariant components, Si j the mixed right-covariant components, Si j the mixed left-covariant components, and Sij the covariant components of the second-order tensor.
Metric tensor and relations between components [ edit ] The quantities gij , gij are defined as[ 4] : 39
g i j = b i ⋅ b j = g j i ; g i j = b i ⋅ b j = g j i {\displaystyle g_{ij}=\mathbf {b} _{i}\cdot \mathbf {b} _{j}=g_{ji}~;~~g^{ij}=\mathbf {b} ^{i}\cdot \mathbf {b} ^{j}=g^{ji}} From the above equations we have v i = g i k v k ; v i = g i k v k ; b i = g i j b j ; b i = g i j b j {\displaystyle v^{i}=g^{ik}~v_{k}~;~~v_{i}=g_{ik}~v^{k}~;~~\mathbf {b} ^{i}=g^{ij}~\mathbf {b} _{j}~;~~\mathbf {b} _{i}=g_{ij}~\mathbf {b} ^{j}}
The components of a vector are related by[ 4] : 30–32 v ⋅ b i = v k b k ⋅ b i = v k δ k i = v i {\displaystyle \mathbf {v} \cdot \mathbf {b} ^{i}=v^{k}~\mathbf {b} _{k}\cdot \mathbf {b} ^{i}=v^{k}~\delta _{k}^{i}=v^{i}} v ⋅ b i = v k b k ⋅ b i = v k δ i k = v i {\displaystyle \mathbf {v} \cdot \mathbf {b} _{i}=v_{k}~\mathbf {b} ^{k}\cdot \mathbf {b} _{i}=v_{k}~\delta _{i}^{k}=v_{i}} Also, v ⋅ b i = v k b k ⋅ b i = g k i v k {\displaystyle \mathbf {v} \cdot \mathbf {b} _{i}=v^{k}~\mathbf {b} _{k}\cdot \mathbf {b} _{i}=g_{ki}~v^{k}} v ⋅ b i = v k b k ⋅ b i = g k i v k {\displaystyle \mathbf {v} \cdot \mathbf {b} ^{i}=v_{k}~\mathbf {b} ^{k}\cdot \mathbf {b} ^{i}=g^{ki}~v_{k}}
The components of the second-order tensor are related by S i j = g i k S k j = g j k S k i = g i k g j l S k l {\displaystyle S^{ij}=g^{ik}~S_{k}^{~j}=g^{jk}~S_{~k}^{i}=g^{ik}~g^{jl}~S_{kl}}
The alternating tensor [ edit ] In an orthonormal right-handed basis, the third-order alternating tensor is defined as E = ε i j k e i ⊗ e j ⊗ e k {\displaystyle {\boldsymbol {\mathcal {E}}}=\varepsilon _{ijk}~\mathbf {e} ^{i}\otimes \mathbf {e} ^{j}\otimes \mathbf {e} ^{k}} In a general curvilinear basis the same tensor may be expressed as E = E i j k b i ⊗ b j ⊗ b k = E i j k b i ⊗ b j ⊗ b k {\displaystyle {\boldsymbol {\mathcal {E}}}={\mathcal {E}}_{ijk}~\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}\otimes \mathbf {b} ^{k}={\mathcal {E}}^{ijk}~\mathbf {b} _{i}\otimes \mathbf {b} _{j}\otimes \mathbf {b} _{k}} It can be shown that E i j k = [ b i , b j , b k ] = ( b i × b j ) ⋅ b k ; E i j k = [ b i , b j , b k ] {\displaystyle {\mathcal {E}}_{ijk}=\left[\mathbf {b} _{i},\mathbf {b} _{j},\mathbf {b} _{k}\right]=(\mathbf {b} _{i}\times \mathbf {b} _{j})\cdot \mathbf {b} _{k}~;~~{\mathcal {E}}^{ijk}=\left[\mathbf {b} ^{i},\mathbf {b} ^{j},\mathbf {b} ^{k}\right]} Now, b i × b j = J ε i j p b p = g ε i j p b p {\displaystyle \mathbf {b} _{i}\times \mathbf {b} _{j}=J~\varepsilon _{ijp}~\mathbf {b} ^{p}={\sqrt {g}}~\varepsilon _{ijp}~\mathbf {b} ^{p}} Hence, E i j k = J ε i j k = g ε i j k {\displaystyle {\mathcal {E}}_{ijk}=J~\varepsilon _{ijk}={\sqrt {g}}~\varepsilon _{ijk}} Similarly, we can show that E i j k = 1 J ε i j k = 1 g ε i j k {\displaystyle {\mathcal {E}}^{ijk}={\cfrac {1}{J}}~\varepsilon ^{ijk}={\cfrac {1}{\sqrt {g}}}~\varepsilon ^{ijk}}
The identity map I defined by I ⋅ v = v {\displaystyle \mathbf {I} \cdot \mathbf {v} =\mathbf {v} } can be shown to be:[ 4] : 39
I = g i j b i ⊗ b j = g i j b i ⊗ b j = b i ⊗ b i = b i ⊗ b i {\displaystyle \mathbf {I} =g^{ij}\mathbf {b} _{i}\otimes \mathbf {b} _{j}=g_{ij}\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}=\mathbf {b} _{i}\otimes \mathbf {b} ^{i}=\mathbf {b} ^{i}\otimes \mathbf {b} _{i}}
Scalar (dot) product[ edit ] The scalar product of two vectors in curvilinear coordinates is[ 4] : 32
u ⋅ v = u i v i = u i v i = g i j u i v j = g i j u i v j {\displaystyle \mathbf {u} \cdot \mathbf {v} =u^{i}v_{i}=u_{i}v^{i}=g_{ij}u^{i}v^{j}=g^{ij}u_{i}v_{j}}
Vector (cross) product[ edit ] The cross product of two vectors is given by:[ 4] : 32–34
u × v = ε i j k u j v k e i {\displaystyle \mathbf {u} \times \mathbf {v} =\varepsilon _{ijk}u_{j}v_{k}\mathbf {e} _{i}}
where εijk is the permutation symbol and e i is a Cartesian basis vector. In curvilinear coordinates, the equivalent expression is:
u × v = [ ( b m × b n ) ⋅ b s ] u m v n b s = E s m n u m v n b s {\displaystyle \mathbf {u} \times \mathbf {v} =[(\mathbf {b} _{m}\times \mathbf {b} _{n})\cdot \mathbf {b} _{s}]u^{m}v^{n}\mathbf {b} ^{s}={\mathcal {E}}_{smn}u^{m}v^{n}\mathbf {b} ^{s}}
where E i j k {\displaystyle {\mathcal {E}}_{ijk}} is the third-order alternating tensor . The cross product of two vectors is given by:
u × v = ε i j k u ^ j v ^ k e i {\displaystyle \mathbf {u} \times \mathbf {v} =\varepsilon _{ijk}{\hat {u}}_{j}{\hat {v}}_{k}\mathbf {e} _{i}}
where εijk is the permutation symbol and e i {\displaystyle \mathbf {e} _{i}} is a Cartesian basis vector. Therefore,
e p × e q = ε i p q e i {\displaystyle \mathbf {e} _{p}\times \mathbf {e} _{q}=\varepsilon _{ipq}\mathbf {e} _{i}}
and
b m × b n = ∂ x ∂ q m × ∂ x ∂ q n = ∂ ( x p e p ) ∂ q m × ∂ ( x q e q ) ∂ q n = ∂ x p ∂ q m ∂ x q ∂ q n e p × e q = ε i p q ∂ x p ∂ q m ∂ x q ∂ q n e i . {\displaystyle \mathbf {b} _{m}\times \mathbf {b} _{n}={\frac {\partial \mathbf {x} }{\partial q^{m}}}\times {\frac {\partial \mathbf {x} }{\partial q^{n}}}={\frac {\partial (x_{p}\mathbf {e} _{p})}{\partial q^{m}}}\times {\frac {\partial (x_{q}\mathbf {e} _{q})}{\partial q^{n}}}={\frac {\partial x_{p}}{\partial q^{m}}}{\frac {\partial x_{q}}{\partial q^{n}}}\mathbf {e} _{p}\times \mathbf {e} _{q}=\varepsilon _{ipq}{\frac {\partial x_{p}}{\partial q^{m}}}{\frac {\partial x_{q}}{\partial q^{n}}}\mathbf {e} _{i}.}
Hence,
( b m × b n ) ⋅ b s = ε i p q ∂ x p ∂ q m ∂ x q ∂ q n ∂ x i ∂ q s {\displaystyle (\mathbf {b} _{m}\times \mathbf {b} _{n})\cdot \mathbf {b} _{s}=\varepsilon _{ipq}{\frac {\partial x_{p}}{\partial q^{m}}}{\frac {\partial x_{q}}{\partial q^{n}}}{\frac {\partial x_{i}}{\partial q^{s}}}}
Returning to the vector product and using the relations:
u ^ j = ∂ x j ∂ q m u m , v ^ k = ∂ x k ∂ q n v n , e i = ∂ x i ∂ q s b s , {\displaystyle {\hat {u}}_{j}={\frac {\partial x_{j}}{\partial q^{m}}}u^{m},\quad {\hat {v}}_{k}={\frac {\partial x_{k}}{\partial q^{n}}}v^{n},\quad \mathbf {e} _{i}={\frac {\partial x_{i}}{\partial q^{s}}}\mathbf {b} ^{s},}
gives us:
u × v = ε i j k u ^ j v ^ k e i = ε i j k ∂ x j ∂ q m ∂ x k ∂ q n ∂ x i ∂ q s u m v n b s = [ ( b m × b n ) ⋅ b s ] u m v n b s = E s m n u m v n b s {\displaystyle \mathbf {u} \times \mathbf {v} =\varepsilon _{ijk}{\hat {u}}_{j}{\hat {v}}_{k}\mathbf {e} _{i}=\varepsilon _{ijk}{\frac {\partial x_{j}}{\partial q^{m}}}{\frac {\partial x_{k}}{\partial q^{n}}}{\frac {\partial x_{i}}{\partial q^{s}}}u^{m}v^{n}\mathbf {b} ^{s}=[(\mathbf {b} _{m}\times \mathbf {b} _{n})\cdot \mathbf {b} _{s}]u^{m}v^{n}\mathbf {b} ^{s}={\mathcal {E}}_{smn}u^{m}v^{n}\mathbf {b} ^{s}}
The identity map I {\displaystyle {\mathsf {I}}} defined by I ⋅ v = v {\displaystyle {\mathsf {I}}\cdot \mathbf {v} =\mathbf {v} } can be shown to be[ 4] : 39
I = g i j b i ⊗ b j = g i j b i ⊗ b j = b i ⊗ b i = b i ⊗ b i {\displaystyle {\mathsf {I}}=g^{ij}\mathbf {b} _{i}\otimes \mathbf {b} _{j}=g_{ij}\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}=\mathbf {b} _{i}\otimes \mathbf {b} ^{i}=\mathbf {b} ^{i}\otimes \mathbf {b} _{i}}
Action of a second-order tensor on a vector [ edit ] The action v = S u {\displaystyle \mathbf {v} ={\boldsymbol {S}}\mathbf {u} } can be expressed in curvilinear coordinates as
v i b i = S i j u j b i = S j i u j b i ; v i b i = S i j u i b i = S i j u j b i {\displaystyle v^{i}\mathbf {b} _{i}=S^{ij}u_{j}\mathbf {b} _{i}=S_{j}^{i}u^{j}\mathbf {b} _{i};\qquad v_{i}\mathbf {b} ^{i}=S_{ij}u^{i}\mathbf {b} ^{i}=S_{i}^{j}u_{j}\mathbf {b} ^{i}}
Inner product of two second-order tensors [ edit ] The inner product of two second-order tensors U = S ⋅ T {\displaystyle {\boldsymbol {U}}={\boldsymbol {S}}\cdot {\boldsymbol {T}}} can be expressed in curvilinear coordinates as
U i j b i ⊗ b j = S i k T . j k b i ⊗ b j = S i . k T k j b i ⊗ b j {\displaystyle U_{ij}\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}=S_{ik}T_{.j}^{k}\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}=S_{i}^{.k}T_{kj}\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}}
Alternatively,
U = S i j T . n m g j m b i ⊗ b n = S . m i T . n m b i ⊗ b n = S i j T j n b i ⊗ b n {\displaystyle {\boldsymbol {U}}=S^{ij}T_{.n}^{m}g_{jm}\mathbf {b} _{i}\otimes \mathbf {b} ^{n}=S_{.m}^{i}T_{.n}^{m}\mathbf {b} _{i}\otimes \mathbf {b} ^{n}=S^{ij}T_{jn}\mathbf {b} _{i}\otimes \mathbf {b} ^{n}}
Determinant of a second-order tensor [ edit ] If S {\displaystyle {\boldsymbol {S}}} is a second-order tensor, then the determinant is defined by the relation
[ S u , S v , S w ] = det S [ u , v , w ] {\displaystyle \left[{\boldsymbol {S}}\mathbf {u} ,{\boldsymbol {S}}\mathbf {v} ,{\boldsymbol {S}}\mathbf {w} \right]=\det {\boldsymbol {S}}\left[\mathbf {u} ,\mathbf {v} ,\mathbf {w} \right]}
where u , v , w {\displaystyle \mathbf {u} ,\mathbf {v} ,\mathbf {w} } are arbitrary vectors and
[ u , v , w ] := u ⋅ ( v × w ) . {\displaystyle \left[\mathbf {u} ,\mathbf {v} ,\mathbf {w} \right]:=\mathbf {u} \cdot (\mathbf {v} \times \mathbf {w} ).}
Relations between curvilinear and Cartesian basis vectors [ edit ] Let (e 1 , e 2 , e 3 ) be the usual Cartesian basis vectors for the Euclidean space of interest and let b i = F e i {\displaystyle \mathbf {b} _{i}={\boldsymbol {F}}\mathbf {e} _{i}} where F i is a second-order transformation tensor that maps e i to b i . Then, b i ⊗ e i = ( F e i ) ⊗ e i = F ( e i ⊗ e i ) = F . {\displaystyle \mathbf {b} _{i}\otimes \mathbf {e} _{i}=({\boldsymbol {F}}\mathbf {e} _{i})\otimes \mathbf {e} _{i}={\boldsymbol {F}}(\mathbf {e} _{i}\otimes \mathbf {e} _{i})={\boldsymbol {F}}~.} From this relation we can show that b i = F − T e i ; g i j = [ F − 1 F − T ] i j ; g i j = [ g i j ] − 1 = [ F T F ] i j {\displaystyle \mathbf {b} ^{i}={\boldsymbol {F}}^{-{\rm {T}}}\mathbf {e} ^{i}~;~~g^{ij}=[{\boldsymbol {F}}^{-{\rm {1}}}{\boldsymbol {F}}^{-{\rm {T}}}]_{ij}~;~~g_{ij}=[g^{ij}]^{-1}=[{\boldsymbol {F}}^{\rm {T}}{\boldsymbol {F}}]_{ij}} Let J := det F {\displaystyle J:=\det {\boldsymbol {F}}} be the Jacobian of the transformation. Then, from the definition of the determinant, [ b 1 , b 2 , b 3 ] = det F [ e 1 , e 2 , e 3 ] . {\displaystyle \left[\mathbf {b} _{1},\mathbf {b} _{2},\mathbf {b} _{3}\right]=\det {\boldsymbol {F}}\left[\mathbf {e} _{1},\mathbf {e} _{2},\mathbf {e} _{3}\right]~.} Since [ e 1 , e 2 , e 3 ] = 1 {\displaystyle \left[\mathbf {e} _{1},\mathbf {e} _{2},\mathbf {e} _{3}\right]=1} we have J = det F = [ b 1 , b 2 , b 3 ] = b 1 ⋅ ( b 2 × b 3 ) {\displaystyle J=\det {\boldsymbol {F}}=\left[\mathbf {b} _{1},\mathbf {b} _{2},\mathbf {b} _{3}\right]=\mathbf {b} _{1}\cdot (\mathbf {b} _{2}\times \mathbf {b} _{3})} A number of interesting results can be derived using the above relations.
First, consider g := det [ g i j ] {\displaystyle g:=\det[g_{ij}]} Then g = det [ F T ] ⋅ det [ F ] = J ⋅ J = J 2 {\displaystyle g=\det[{\boldsymbol {F}}^{\rm {T}}]\cdot \det[{\boldsymbol {F}}]=J\cdot J=J^{2}} Similarly, we can show that det [ g i j ] = 1 J 2 {\displaystyle \det[g^{ij}]={\cfrac {1}{J^{2}}}} Therefore, using the fact that [ g i j ] = [ g i j ] − 1 {\displaystyle [g^{ij}]=[g_{ij}]^{-1}} , ∂ g ∂ g i j = 2 J ∂ J ∂ g i j = g g i j {\displaystyle {\cfrac {\partial g}{\partial g_{ij}}}=2~J~{\cfrac {\partial J}{\partial g_{ij}}}=g~g^{ij}}
Another interesting relation is derived below. Recall that b i ⋅ b j = δ j i ⇒ b 1 ⋅ b 1 = 1 , b 1 ⋅ b 2 = b 1 ⋅ b 3 = 0 ⇒ b 1 = A ( b 2 × b 3 ) {\displaystyle \mathbf {b} ^{i}\cdot \mathbf {b} _{j}=\delta _{j}^{i}\quad \Rightarrow \quad \mathbf {b} ^{1}\cdot \mathbf {b} _{1}=1,~\mathbf {b} ^{1}\cdot \mathbf {b} _{2}=\mathbf {b} ^{1}\cdot \mathbf {b} _{3}=0\quad \Rightarrow \quad \mathbf {b} ^{1}=A~(\mathbf {b} _{2}\times \mathbf {b} _{3})} where A is a, yet undetermined, constant. Then b 1 ⋅ b 1 = A b 1 ⋅ ( b 2 × b 3 ) = A J = 1 ⇒ A = 1 J {\displaystyle \mathbf {b} ^{1}\cdot \mathbf {b} _{1}=A~\mathbf {b} _{1}\cdot (\mathbf {b} _{2}\times \mathbf {b} _{3})=AJ=1\quad \Rightarrow \quad A={\cfrac {1}{J}}} This observation leads to the relations b 1 = 1 J ( b 2 × b 3 ) ; b 2 = 1 J ( b 3 × b 1 ) ; b 3 = 1 J ( b 1 × b 2 ) {\displaystyle \mathbf {b} ^{1}={\cfrac {1}{J}}(\mathbf {b} _{2}\times \mathbf {b} _{3})~;~~\mathbf {b} ^{2}={\cfrac {1}{J}}(\mathbf {b} _{3}\times \mathbf {b} _{1})~;~~\mathbf {b} ^{3}={\cfrac {1}{J}}(\mathbf {b} _{1}\times \mathbf {b} _{2})} In index notation, ε i j k b k = 1 J ( b i × b j ) = 1 g ( b i × b j ) {\displaystyle \varepsilon _{ijk}~\mathbf {b} ^{k}={\cfrac {1}{J}}(\mathbf {b} _{i}\times \mathbf {b} _{j})={\cfrac {1}{\sqrt {g}}}(\mathbf {b} _{i}\times \mathbf {b} _{j})} where ε i j k {\displaystyle \varepsilon _{ijk}} is the usual permutation symbol .
We have not identified an explicit expression for the transformation tensor F because an alternative form of the mapping between curvilinear and Cartesian bases is more useful. Assuming a sufficient degree of smoothness in the mapping (and a bit of abuse of notation), we have b i = ∂ x ∂ q i = ∂ x ∂ x j ∂ x j ∂ q i = e j ∂ x j ∂ q i {\displaystyle \mathbf {b} _{i}={\cfrac {\partial \mathbf {x} }{\partial q^{i}}}={\cfrac {\partial \mathbf {x} }{\partial x_{j}}}~{\cfrac {\partial x_{j}}{\partial q^{i}}}=\mathbf {e} _{j}~{\cfrac {\partial x_{j}}{\partial q^{i}}}} Similarly, e i = b j ∂ q j ∂ x i {\displaystyle \mathbf {e} _{i}=\mathbf {b} _{j}~{\cfrac {\partial q^{j}}{\partial x_{i}}}} From these results we have e k ⋅ b i = ∂ x k ∂ q i ⇒ ∂ x k ∂ q i b i = e k ⋅ ( b i ⊗ b i ) = e k {\displaystyle \mathbf {e} ^{k}\cdot \mathbf {b} _{i}={\frac {\partial x_{k}}{\partial q^{i}}}\quad \Rightarrow \quad {\frac {\partial x_{k}}{\partial q^{i}}}~\mathbf {b} ^{i}=\mathbf {e} ^{k}\cdot (\mathbf {b} _{i}\otimes \mathbf {b} ^{i})=\mathbf {e} ^{k}} and b k = ∂ q k ∂ x i e i {\displaystyle \mathbf {b} ^{k}={\frac {\partial q^{k}}{\partial x_{i}}}~\mathbf {e} ^{i}}
Vector and tensor calculus in three-dimensional curvilinear coordinates [ edit ] Simmonds,[ 4] in his book on tensor analysis , quotes Albert Einstein saying[ 7]
The magic of this theory will hardly fail to impose itself on anybody who has truly understood it; it represents a genuine triumph of the method of absolute differential calculus, founded by Gauss, Riemann, Ricci, and Levi-Civita.
Vector and tensor calculus in general curvilinear coordinates is used in tensor analysis on four-dimensional curvilinear manifolds in general relativity ,[ 8] in the mechanics of curved shells ,[ 6] in examining the invariance properties of Maxwell's equations which has been of interest in metamaterials [ 9] [ 10] and in many other fields.
Some useful relations in the calculus of vectors and second-order tensors in curvilinear coordinates are given in this section. The notation and contents are primarily from Ogden,[ 2] Simmonds,[ 4] Green and Zerna,[ 1] Basar and Weichert,[ 5] and Ciarlet.[ 6]
Let the position of a point in space be characterized by three coordinate variables ( q 1 , q 2 , q 3 ) {\displaystyle (q^{1},q^{2},q^{3})} .
The coordinate curve q 1 represents a curve on which q 2 , q 3 are constant. Let x be the position vector of the point relative to some origin. Then, assuming that such a mapping and its inverse exist and are continuous, we can write [ 2] : 55 x = φ ( q 1 , q 2 , q 3 ) ; q i = ψ i ( x ) = [ φ − 1 ( x ) ] i {\displaystyle \mathbf {x} ={\boldsymbol {\varphi }}(q^{1},q^{2},q^{3})~;~~q^{i}=\psi ^{i}(\mathbf {x} )=[{\boldsymbol {\varphi }}^{-1}(\mathbf {x} )]^{i}} The fields ψi (x ) are called the curvilinear coordinate functions of the curvilinear coordinate system ψ (x ) = φ −1 (x ).
The qi coordinate curves are defined by the one-parameter family of functions given by x i ( α ) = φ ( α , q j , q k ) , i ≠ j ≠ k {\displaystyle \mathbf {x} _{i}(\alpha )={\boldsymbol {\varphi }}(\alpha ,q^{j},q^{k})~,~~i\neq j\neq k} with qj , qk fixed.
Tangent vector to coordinate curves [ edit ] The tangent vector to the curve x i at the point x i (α) (or to the coordinate curve qi at the point x ) is d x i d α ≡ ∂ x ∂ q i {\displaystyle {\cfrac {\rm {{d}\mathbf {x} _{i}}}{\rm {{d}\alpha }}}\equiv {\cfrac {\partial \mathbf {x} }{\partial q^{i}}}}
Let f (x ) be a scalar field in space. Then f ( x ) = f [ φ ( q 1 , q 2 , q 3 ) ] = f φ ( q 1 , q 2 , q 3 ) {\displaystyle f(\mathbf {x} )=f[{\boldsymbol {\varphi }}(q^{1},q^{2},q^{3})]=f_{\varphi }(q^{1},q^{2},q^{3})} The gradient of the field f is defined by [ ∇ f ( x ) ] ⋅ c = d d α f ( x + α c ) | α = 0 {\displaystyle [{\boldsymbol {\nabla }}f(\mathbf {x} )]\cdot \mathbf {c} ={\cfrac {\rm {d}}{\rm {{d}\alpha }}}f(\mathbf {x} +\alpha \mathbf {c} ){\biggr |}_{\alpha =0}} where c is an arbitrary constant vector. If we define the components ci of c are such that q i + α c i = ψ i ( x + α c ) {\displaystyle q^{i}+\alpha ~c^{i}=\psi ^{i}(\mathbf {x} +\alpha ~\mathbf {c} )} then [ ∇ f ( x ) ] ⋅ c = d d α f φ ( q 1 + α c 1 , q 2 + α c 2 , q 3 + α c 3 ) | α = 0 = ∂ f φ ∂ q i c i = ∂ f ∂ q i c i {\displaystyle [{\boldsymbol {\nabla }}f(\mathbf {x} )]\cdot \mathbf {c} ={\cfrac {\rm {d}}{\rm {{d}\alpha }}}f_{\varphi }(q^{1}+\alpha ~c^{1},q^{2}+\alpha ~c^{2},q^{3}+\alpha ~c^{3}){\biggr |}_{\alpha =0}={\cfrac {\partial f_{\varphi }}{\partial q^{i}}}~c^{i}={\cfrac {\partial f}{\partial q^{i}}}~c^{i}}
If we set f ( x ) = ψ i ( x ) {\displaystyle f(\mathbf {x} )=\psi ^{i}(\mathbf {x} )} , then since q i = ψ i ( x ) {\displaystyle q^{i}=\psi ^{i}(\mathbf {x} )} , we have [ ∇ ψ i ( x ) ] ⋅ c = ∂ ψ i ∂ q j c j = c i {\displaystyle [{\boldsymbol {\nabla }}\psi ^{i}(\mathbf {x} )]\cdot \mathbf {c} ={\cfrac {\partial \psi ^{i}}{\partial q^{j}}}~c^{j}=c^{i}} which provides a means of extracting the contravariant component of a vector c .
If b i is the covariant (or natural) basis at a point, and if b i is the contravariant (or reciprocal) basis at that point, then [ ∇ f ( x ) ] ⋅ c = ∂ f ∂ q i c i = ( ∂ f ∂ q i b i ) ( c i b i ) ⇒ ∇ f ( x ) = ∂ f ∂ q i b i {\displaystyle [{\boldsymbol {\nabla }}f(\mathbf {x} )]\cdot \mathbf {c} ={\cfrac {\partial f}{\partial q^{i}}}~c^{i}=\left({\cfrac {\partial f}{\partial q^{i}}}~\mathbf {b} ^{i}\right)\left(c^{i}~\mathbf {b} _{i}\right)\quad \Rightarrow \quad {\boldsymbol {\nabla }}f(\mathbf {x} )={\cfrac {\partial f}{\partial q^{i}}}~\mathbf {b} ^{i}} A brief rationale for this choice of basis is given in the next section.
A similar process can be used to arrive at the gradient of a vector field f (x ). The gradient is given by [ ∇ f ( x ) ] ⋅ c = ∂ f ∂ q i c i {\displaystyle [{\boldsymbol {\nabla }}\mathbf {f} (\mathbf {x} )]\cdot \mathbf {c} ={\cfrac {\partial \mathbf {f} }{\partial q^{i}}}~c^{i}} If we consider the gradient of the position vector field r (x ) = x , then we can show that c = ∂ x ∂ q i c i = b i ( x ) c i ; b i ( x ) := ∂ x ∂ q i {\displaystyle \mathbf {c} ={\cfrac {\partial \mathbf {x} }{\partial q^{i}}}~c^{i}=\mathbf {b} _{i}(\mathbf {x} )~c^{i}~;~~\mathbf {b} _{i}(\mathbf {x} ):={\cfrac {\partial \mathbf {x} }{\partial q^{i}}}} The vector field b i is tangent to the qi coordinate curve and forms a natural basis at each point on the curve. This basis, as discussed at the beginning of this article, is also called the covariant curvilinear basis. We can also define a reciprocal basis , or contravariant curvilinear basis, b i . All the algebraic relations between the basis vectors, as discussed in the section on tensor algebra, apply for the natural basis and its reciprocal at each point x .
Since c is arbitrary, we can write ∇ f ( x ) = ∂ f ∂ q i ⊗ b i {\displaystyle {\boldsymbol {\nabla }}\mathbf {f} (\mathbf {x} )={\cfrac {\partial \mathbf {f} }{\partial q^{i}}}\otimes \mathbf {b} ^{i}}
Note that the contravariant basis vector b i is perpendicular to the surface of constant ψi and is given by b i = ∇ ψ i {\displaystyle \mathbf {b} ^{i}={\boldsymbol {\nabla }}\psi ^{i}}
Christoffel symbols of the first kind [ edit ] The Christoffel symbols of the first kind are defined as b i , j = ∂ b i ∂ q j := Γ i j k b k ⇒ b i , j ⋅ b l = Γ i j l {\displaystyle \mathbf {b} _{i,j}={\frac {\partial \mathbf {b} _{i}}{\partial q^{j}}}:=\Gamma _{ijk}~\mathbf {b} ^{k}\quad \Rightarrow \quad \mathbf {b} _{i,j}\cdot \mathbf {b} _{l}=\Gamma _{ijl}} To express Γijk in terms of gij we note that g i j , k = ( b i ⋅ b j ) , k = b i , k ⋅ b j + b i ⋅ b j , k = Γ i k j + Γ j k i g i k , j = ( b i ⋅ b k ) , j = b i , j ⋅ b k + b i ⋅ b k , j = Γ i j k + Γ k j i g j k , i = ( b j ⋅ b k ) , i = b j , i ⋅ b k + b j ⋅ b k , i = Γ j i k + Γ k i j {\displaystyle {\begin{aligned}g_{ij,k}&=(\mathbf {b} _{i}\cdot \mathbf {b} _{j})_{,k}=\mathbf {b} _{i,k}\cdot \mathbf {b} _{j}+\mathbf {b} _{i}\cdot \mathbf {b} _{j,k}=\Gamma _{ikj}+\Gamma _{jki}\\g_{ik,j}&=(\mathbf {b} _{i}\cdot \mathbf {b} _{k})_{,j}=\mathbf {b} _{i,j}\cdot \mathbf {b} _{k}+\mathbf {b} _{i}\cdot \mathbf {b} _{k,j}=\Gamma _{ijk}+\Gamma _{kji}\\g_{jk,i}&=(\mathbf {b} _{j}\cdot \mathbf {b} _{k})_{,i}=\mathbf {b} _{j,i}\cdot \mathbf {b} _{k}+\mathbf {b} _{j}\cdot \mathbf {b} _{k,i}=\Gamma _{jik}+\Gamma _{kij}\end{aligned}}} Since b i,j = b j,i we have Γijk = Γjik . Using these to rearrange the above relations gives Γ i j k = 1 2 ( g i k , j + g j k , i − g i j , k ) = 1 2 [ ( b i ⋅ b k ) , j + ( b j ⋅ b k ) , i − ( b i ⋅ b j ) , k ] {\displaystyle \Gamma _{ijk}={\frac {1}{2}}(g_{ik,j}+g_{jk,i}-g_{ij,k})={\frac {1}{2}}[(\mathbf {b} _{i}\cdot \mathbf {b} _{k})_{,j}+(\mathbf {b} _{j}\cdot \mathbf {b} _{k})_{,i}-(\mathbf {b} _{i}\cdot \mathbf {b} _{j})_{,k}]}
Christoffel symbols of the second kind [ edit ] The Christoffel symbols of the second kind are defined as Γ i j k = Γ j i k {\displaystyle \Gamma _{ij}^{k}=\Gamma _{ji}^{k}} in which
∂ b i ∂ q j = Γ i j k b k {\displaystyle {\cfrac {\partial \mathbf {b} _{i}}{\partial q^{j}}}=\Gamma _{ij}^{k}~\mathbf {b} _{k}}
This implies that Γ i j k = ∂ b i ∂ q j ⋅ b k = − b i ⋅ ∂ b k ∂ q j {\displaystyle \Gamma _{ij}^{k}={\cfrac {\partial \mathbf {b} _{i}}{\partial q^{j}}}\cdot \mathbf {b} ^{k}=-\mathbf {b} _{i}\cdot {\cfrac {\partial \mathbf {b} ^{k}}{\partial q^{j}}}} Other relations that follow are ∂ b i ∂ q j = − Γ j k i b k ; ∇ b i = Γ i j k b k ⊗ b j ; ∇ b i = − Γ j k i b k ⊗ b j {\displaystyle {\cfrac {\partial \mathbf {b} ^{i}}{\partial q^{j}}}=-\Gamma _{jk}^{i}~\mathbf {b} ^{k}~;~~{\boldsymbol {\nabla }}\mathbf {b} _{i}=\Gamma _{ij}^{k}~\mathbf {b} _{k}\otimes \mathbf {b} ^{j}~;~~{\boldsymbol {\nabla }}\mathbf {b} ^{i}=-\Gamma _{jk}^{i}~\mathbf {b} ^{k}\otimes \mathbf {b} ^{j}}
Another particularly useful relation, which shows that the Christoffel symbol depends only on the metric tensor and its derivatives, is Γ i j k = g k m 2 ( ∂ g m i ∂ q j + ∂ g m j ∂ q i − ∂ g i j ∂ q m ) {\displaystyle \Gamma _{ij}^{k}={\frac {g^{km}}{2}}\left({\frac {\partial g_{mi}}{\partial q^{j}}}+{\frac {\partial g_{mj}}{\partial q^{i}}}-{\frac {\partial g_{ij}}{\partial q^{m}}}\right)}
Explicit expression for the gradient of a vector field [ edit ] The following expressions for the gradient of a vector field in curvilinear coordinates are quite useful. ∇ v = [ ∂ v i ∂ q k + Γ l k i v l ] b i ⊗ b k = [ ∂ v i ∂ q k − Γ k i l v l ] b i ⊗ b k {\displaystyle {\begin{aligned}{\boldsymbol {\nabla }}\mathbf {v} &=\left[{\cfrac {\partial v^{i}}{\partial q^{k}}}+\Gamma _{lk}^{i}~v^{l}\right]~\mathbf {b} _{i}\otimes \mathbf {b} ^{k}\\[8pt]&=\left[{\cfrac {\partial v_{i}}{\partial q^{k}}}-\Gamma _{ki}^{l}~v_{l}\right]~\mathbf {b} ^{i}\otimes \mathbf {b} ^{k}\end{aligned}}}
Representing a physical vector field [ edit ] The vector field v can be represented as v = v i b i = v ^ i b ^ i {\displaystyle \mathbf {v} =v_{i}~\mathbf {b} ^{i}={\hat {v}}_{i}~{\hat {\mathbf {b} }}^{i}} where v i {\displaystyle v_{i}} are the covariant components of the field, v ^ i {\displaystyle {\hat {v}}_{i}} are the physical components, and (no summation ) b ^ i = b i g i i {\displaystyle {\hat {\mathbf {b} }}^{i}={\cfrac {\mathbf {b} ^{i}}{\sqrt {g^{ii}}}}} is the normalized contravariant basis vector.
Second-order tensor field [ edit ] The gradient of a second order tensor field can similarly be expressed as ∇ S = ∂ S ∂ q i ⊗ b i {\displaystyle {\boldsymbol {\nabla }}{\boldsymbol {S}}={\frac {\partial {\boldsymbol {S}}}{\partial q^{i}}}\otimes \mathbf {b} ^{i}}
Explicit expressions for the gradient [ edit ] If we consider the expression for the tensor in terms of a contravariant basis, then ∇ S = ∂ ∂ q k [ S i j b i ⊗ b j ] ⊗ b k = [ ∂ S i j ∂ q k − Γ k i l S l j − Γ k j l S i l ] b i ⊗ b j ⊗ b k {\displaystyle {\boldsymbol {\nabla }}{\boldsymbol {S}}={\frac {\partial }{\partial q^{k}}}[S_{ij}~\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}]\otimes \mathbf {b} ^{k}=\left[{\frac {\partial S_{ij}}{\partial q^{k}}}-\Gamma _{ki}^{l}~S_{lj}-\Gamma _{kj}^{l}~S_{il}\right]~\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}\otimes \mathbf {b} ^{k}} We may also write ∇ S = [ ∂ S i j ∂ q k + Γ k l i S l j + Γ k l j S i l ] b i ⊗ b j ⊗ b k = [ ∂ S j i ∂ q k + Γ k l i S j l − Γ k j l S l i ] b i ⊗ b j ⊗ b k = [ ∂ S i j ∂ q k − Γ i k l S l j + Γ k l j S i l ] b i ⊗ b j ⊗ b k {\displaystyle {\begin{aligned}{\boldsymbol {\nabla }}{\boldsymbol {S}}&=\left[{\cfrac {\partial S^{ij}}{\partial q^{k}}}+\Gamma _{kl}^{i}~S^{lj}+\Gamma _{kl}^{j}~S^{il}\right]~\mathbf {b} _{i}\otimes \mathbf {b} _{j}\otimes \mathbf {b} ^{k}\\[8pt]&=\left[{\cfrac {\partial S_{~j}^{i}}{\partial q^{k}}}+\Gamma _{kl}^{i}~S_{~j}^{l}-\Gamma _{kj}^{l}~S_{~l}^{i}\right]~\mathbf {b} _{i}\otimes \mathbf {b} ^{j}\otimes \mathbf {b} ^{k}\\[8pt]&=\left[{\cfrac {\partial S_{i}^{~j}}{\partial q^{k}}}-\Gamma _{ik}^{l}~S_{l}^{~j}+\Gamma _{kl}^{j}~S_{i}^{~l}\right]~\mathbf {b} ^{i}\otimes \mathbf {b} _{j}\otimes \mathbf {b} ^{k}\end{aligned}}}
Representing a physical second-order tensor field [ edit ] The physical components of a second-order tensor field can be obtained by using a normalized contravariant basis, i.e., S = S i j b i ⊗ b j = S ^ i j b ^ i ⊗ b ^ j {\displaystyle {\boldsymbol {S}}=S_{ij}~\mathbf {b} ^{i}\otimes \mathbf {b} ^{j}={\hat {S}}_{ij}~{\hat {\mathbf {b} }}^{i}\otimes {\hat {\mathbf {b} }}^{j}} where the hatted basis vectors have been normalized. This implies that (again no summation)
S ^ i j = S i j g i i g j j {\displaystyle {\hat {S}}_{ij}=S_{ij}~{\sqrt {g^{ii}~g^{jj}}}}
The divergence of a vector field ( v {\displaystyle \mathbf {v} } )is defined as div v = ∇ ⋅ v = tr ( ∇ v ) {\displaystyle \operatorname {div} ~\mathbf {v} ={\boldsymbol {\nabla }}\cdot \mathbf {v} ={\text{tr}}({\boldsymbol {\nabla }}\mathbf {v} )} In terms of components with respect to a curvilinear basis ∇ ⋅ v = ∂ v i ∂ q i + Γ ℓ i i v ℓ = [ ∂ v i ∂ q j − Γ j i ℓ v ℓ ] g i j {\displaystyle {\boldsymbol {\nabla }}\cdot \mathbf {v} ={\cfrac {\partial v^{i}}{\partial q^{i}}}+\Gamma _{\ell i}^{i}~v^{\ell }=\left[{\cfrac {\partial v_{i}}{\partial q^{j}}}-\Gamma _{ji}^{\ell }~v_{\ell }\right]~g^{ij}}
An alternative equation for the divergence of a vector field is frequently used. To derive this relation recall that ∇ ⋅ v = ∂ v i ∂ q i + Γ ℓ i i v ℓ {\displaystyle {\boldsymbol {\nabla }}\cdot \mathbf {v} ={\frac {\partial v^{i}}{\partial q^{i}}}+\Gamma _{\ell i}^{i}~v^{\ell }} Now, Γ ℓ i i = Γ i ℓ i = g m i 2 [ ∂ g i m ∂ q ℓ + ∂ g ℓ m ∂ q i − ∂ g i l ∂ q m ] {\displaystyle \Gamma _{\ell i}^{i}=\Gamma _{i\ell }^{i}={\cfrac {g^{mi}}{2}}\left[{\frac {\partial g_{im}}{\partial q^{\ell }}}+{\frac {\partial g_{\ell m}}{\partial q^{i}}}-{\frac {\partial g_{il}}{\partial q^{m}}}\right]} Noting that, due to the symmetry of g {\displaystyle {\boldsymbol {g}}} , g m i ∂ g ℓ m ∂ q i = g m i ∂ g i ℓ ∂ q m {\displaystyle g^{mi}~{\frac {\partial g_{\ell m}}{\partial q^{i}}}=g^{mi}~{\frac {\partial g_{i\ell }}{\partial q^{m}}}} we have ∇ ⋅ v = ∂ v i ∂ q i + g m i 2 ∂ g i m ∂ q ℓ v ℓ {\displaystyle {\boldsymbol {\nabla }}\cdot \mathbf {v} ={\frac {\partial v^{i}}{\partial q^{i}}}+{\cfrac {g^{mi}}{2}}~{\frac {\partial g_{im}}{\partial q^{\ell }}}~v^{\ell }} Recall that if [gij ] is the matrix whose components are gij , then the inverse of the matrix is [ g i j ] − 1 = [ g i j ] {\displaystyle [g_{ij}]^{-1}=[g^{ij}]} . The inverse of the matrix is given by [ g i j ] = [ g i j ] − 1 = A i j g ; g := det ( [ g i j ] ) = det g {\displaystyle [g^{ij}]=[g_{ij}]^{-1}={\cfrac {A^{ij}}{g}}~;~~g:=\det([g_{ij}])=\det {\boldsymbol {g}}} where Aij are the Cofactor matrix of the components gij . From matrix algebra we have g = det ( [ g i j ] ) = ∑ i g i j A i j ⇒ ∂ g ∂ g i j = A i j {\displaystyle g=\det([g_{ij}])=\sum _{i}g_{ij}~A^{ij}\quad \Rightarrow \quad {\frac {\partial g}{\partial g_{ij}}}=A^{ij}} Hence, [ g i j ] = 1 g ∂ g ∂ g i j {\displaystyle [g^{ij}]={\cfrac {1}{g}}~{\frac {\partial g}{\partial g_{ij}}}} Plugging this relation into the expression for the divergence gives ∇ ⋅ v = ∂ v i ∂ q i + 1 2 g ∂ g ∂ g m i ∂ g i m ∂ q ℓ v ℓ = ∂ v i ∂ q i + 1 2 g ∂ g ∂ q ℓ v ℓ {\displaystyle {\boldsymbol {\nabla }}\cdot \mathbf {v} ={\frac {\partial v^{i}}{\partial q^{i}}}+{\cfrac {1}{2g}}~{\frac {\partial g}{\partial g_{mi}}}~{\frac {\partial g_{im}}{\partial q^{\ell }}}~v^{\ell }={\frac {\partial v^{i}}{\partial q^{i}}}+{\cfrac {1}{2g}}~{\frac {\partial g}{\partial q^{\ell }}}~v^{\ell }} A little manipulation leads to the more compact form ∇ ⋅ v = 1 g ∂ ∂ q i ( v i g ) {\displaystyle {\boldsymbol {\nabla }}\cdot \mathbf {v} ={\cfrac {1}{\sqrt {g}}}~{\frac {\partial }{\partial q^{i}}}(v^{i}~{\sqrt {g}})}
Second-order tensor field [ edit ] The divergence of a second-order tensor field is defined using ( ∇ ⋅ S ) ⋅ a = ∇ ⋅ ( S a ) {\displaystyle ({\boldsymbol {\nabla }}\cdot {\boldsymbol {S}})\cdot \mathbf {a} ={\boldsymbol {\nabla }}\cdot ({\boldsymbol {S}}\mathbf {a} )} where a is an arbitrary constant vector. [ 11] In curvilinear coordinates, ∇ ⋅ S = [ ∂ S i j ∂ q k − Γ k i l S l j − Γ k j l S i l ] g i k b j = [ ∂ S i j ∂ q i + Γ i l i S l j + Γ i l j S i l ] b j = [ ∂ S j i ∂ q i + Γ i l i S j l − Γ i j l S l i ] b j = [ ∂ S i j ∂ q k − Γ i k l S l j + Γ k l j S i l ] g i k b j {\displaystyle {\begin{aligned}{\boldsymbol {\nabla }}\cdot {\boldsymbol {S}}&=\left[{\cfrac {\partial S_{ij}}{\partial q^{k}}}-\Gamma _{ki}^{l}~S_{lj}-\Gamma _{kj}^{l}~S_{il}\right]~g^{ik}~\mathbf {b} ^{j}\\[8pt]&=\left[{\cfrac {\partial S^{ij}}{\partial q^{i}}}+\Gamma _{il}^{i}~S^{lj}+\Gamma _{il}^{j}~S^{il}\right]~\mathbf {b} _{j}\\[8pt]&=\left[{\cfrac {\partial S_{~j}^{i}}{\partial q^{i}}}+\Gamma _{il}^{i}~S_{~j}^{l}-\Gamma _{ij}^{l}~S_{~l}^{i}\right]~\mathbf {b} ^{j}\\[8pt]&=\left[{\cfrac {\partial S_{i}^{~j}}{\partial q^{k}}}-\Gamma _{ik}^{l}~S_{l}^{~j}+\Gamma _{kl}^{j}~S_{i}^{~l}\right]~g^{ik}~\mathbf {b} _{j}\end{aligned}}}
The Laplacian of a scalar field φ(x ) is defined as ∇ 2 φ := ∇ ⋅ ( ∇ φ ) {\displaystyle \nabla ^{2}\varphi :={\boldsymbol {\nabla }}\cdot ({\boldsymbol {\nabla }}\varphi )} Using the alternative expression for the divergence of a vector field gives us ∇ 2 φ = 1 g ∂ ∂ q i ( [ ∇ φ ] i g ) {\displaystyle \nabla ^{2}\varphi ={\cfrac {1}{\sqrt {g}}}~{\frac {\partial }{\partial q^{i}}}([{\boldsymbol {\nabla }}\varphi ]^{i}~{\sqrt {g}})} Now ∇ φ = ∂ φ ∂ q l b l = g l i ∂ φ ∂ q l b i ⇒ [ ∇ φ ] i = g l i ∂ φ ∂ q l {\displaystyle {\boldsymbol {\nabla }}\varphi ={\frac {\partial \varphi }{\partial q^{l}}}~\mathbf {b} ^{l}=g^{li}~{\frac {\partial \varphi }{\partial q^{l}}}~\mathbf {b} _{i}\quad \Rightarrow \quad [{\boldsymbol {\nabla }}\varphi ]^{i}=g^{li}~{\frac {\partial \varphi }{\partial q^{l}}}} Therefore, ∇ 2 φ = 1 g ∂ ∂ q i ( g l i ∂ φ ∂ q l g ) {\displaystyle \nabla ^{2}\varphi ={\cfrac {1}{\sqrt {g}}}~{\frac {\partial }{\partial q^{i}}}\left(g^{li}~{\frac {\partial \varphi }{\partial q^{l}}}~{\sqrt {g}}\right)}
Curl of a vector field [ edit ] The curl of a vector field v in covariant curvilinear coordinates can be written as ∇ × v = E r s t v s | r b t {\displaystyle {\boldsymbol {\nabla }}\times \mathbf {v} ={\mathcal {E}}^{rst}v_{s|r}~\mathbf {b} _{t}} where v s | r = v s , r − Γ s r i v i {\displaystyle v_{s|r}=v_{s,r}-\Gamma _{sr}^{i}~v_{i}}
Orthogonal curvilinear coordinates [ edit ] Assume, for the purposes of this section, that the curvilinear coordinate system is orthogonal , i.e., b i ⋅ b j = { g i i if i = j 0 if i ≠ j , {\displaystyle \mathbf {b} _{i}\cdot \mathbf {b} _{j}={\begin{cases}g_{ii}&{\text{if }}i=j\\0&{\text{if }}i\neq j,\end{cases}}} or equivalently, b i ⋅ b j = { g i i if i = j 0 if i ≠ j , {\displaystyle \mathbf {b} ^{i}\cdot \mathbf {b} ^{j}={\begin{cases}g^{ii}&{\text{if }}i=j\\0&{\text{if }}i\neq j,\end{cases}}} where g i i = g i i − 1 {\displaystyle g^{ii}=g_{ii}^{-1}} . As before, b i , b j {\displaystyle \mathbf {b} _{i},\mathbf {b} _{j}} are covariant basis vectors and b i , b j are contravariant basis vectors. Also, let (e 1 , e 2 , e 3 ) be a background, fixed, Cartesian basis. A list of orthogonal curvilinear coordinates is given below.
Metric tensor in orthogonal curvilinear coordinates [ edit ] Let r (x ) be the position vector of the point x with respect to the origin of the coordinate system. The notation can be simplified by noting that x = r (x ). At each point we can construct a small line element dx . The square of the length of the line element is the scalar product dx • dx and is called the metric of the space . Recall that the space of interest is assumed to be Euclidean when we talk of curvilinear coordinates. Let us express the position vector in terms of the background, fixed, Cartesian basis, i.e., x = ∑ i = 1 3 x i e i {\displaystyle \mathbf {x} =\sum _{i=1}^{3}x_{i}~\mathbf {e} _{i}}
Using the chain rule , we can then express dx in terms of three-dimensional orthogonal curvilinear coordinates (q 1 , q 2 , q 3 ) as d x = ∑ i = 1 3 ∑ j = 1 3 ( ∂ x i ∂ q j e i ) d q j {\displaystyle \mathrm {d} \mathbf {x} =\sum _{i=1}^{3}\sum _{j=1}^{3}\left({\cfrac {\partial x_{i}}{\partial q^{j}}}~\mathbf {e} _{i}\right)\mathrm {d} q^{j}} Therefore, the metric is given by d x ⋅ d x = ∑ i = 1 3 ∑ j = 1 3 ∑ k = 1 3 ∂ x i ∂ q j ∂ x i ∂ q k d q j d q k {\displaystyle \mathrm {d} \mathbf {x} \cdot \mathrm {d} \mathbf {x} =\sum _{i=1}^{3}\sum _{j=1}^{3}\sum _{k=1}^{3}{\cfrac {\partial x_{i}}{\partial q^{j}}}~{\cfrac {\partial x_{i}}{\partial q^{k}}}~\mathrm {d} q^{j}~\mathrm {d} q^{k}}
The symmetric quantity g i j ( q i , q j ) = ∑ k = 1 3 ∂ x