Preprint
Article

This version is not peer-reviewed.

Tensor Derivative in Curvilinear Coordinates

Submitted:

10 December 2024

Posted:

12 December 2024

You are already at the latest version

Abstract

In this article, we mathematically rigorously derive the expressions for the Del Operator ∇, Divergence ∇ ·⃗v, Curl ∇ ×⃗v, Vector gradient ∇⃗v of Vector Fields ⃗v, Laplacian ∇2f ≡ ∆f of Scalar Fields f and Divergence ∇ · T of 2nd order Tensor Fields T in both Cylindrical and Spherical Coordinates. We also derive the Directional Derivative (A · ∇)⃗v and Vector Laplacian ∇2⃗v ≡ ∆⃗v of Vector Fields ⃗v using metric coefficients in Rectangular, Cylindrical and Spherical Coordinates. We then generalized the concept of gradient, divergence and curl to Tensor Fields in any Curvilinear Coordinates. After that we rigorously discuss the concepts of Christoffel Symbols, Parallel Transport in Riemann Space, Covariant Derivative of Tensor Fields and Various Applications of Tensor Derivatives in Curvilinear Coordinates (Geodesic Equation, Riemann Curvature Tensor, Ricci Tensor and Ricci Scalar).

Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Derivatives of Cylindrical Coordinate Unit Vectors with Respect to Cylindrical Coordinates

To rigorously derive the derivatives of the cylindrical coordinate unit vectors ( e ^ ρ , e ^ θ , and e ^ z ) with respect to the cylindrical coordinates ( ρ , θ , and z), we must first recall the geometric meaning of these unit vectors and the way they vary with changes in the cylindrical coordinates.
Step 1: Cylindrical Coordinates and Unit Vectors
The Cylindrical coordinates ( ρ , θ , z ) are related to Cartesian coordinates ( x , y , z ) as follows:
ρ = x 2 + y 2 , θ = tan 1 y x , z = z .
The unit vectors in cylindrical coordinates are defined as:
  • Radial unit vector e ^ ρ :
    e ^ ρ = cos θ i ^ + sin θ j ^
    where i ^ and j ^ are the unit vectors in the x- and y-directions, respectively. This vector points in the direction of increasing ρ .
  • Azimuthal unit vector e ^ θ :
    e ^ θ = sin θ i ^ + cos θ j ^
    which is perpendicular to e ^ ρ and points in the direction of increasing θ .
  • Axial unit vector e ^ z :
    e ^ z = k ^
    where k ^ is the unit vector in the z-direction. This vector is constant and points in the direction of increasing z.
Step 2: Derivatives of Unit Vectors with Respect to ρ
Since the unit vectors e ^ ρ , e ^ θ , and e ^ z do not depend explicitly on ρ , their derivatives with respect to ρ are straightforward:
  • Derivative of e ^ ρ with respect to ρ :
    e ^ ρ ρ = 0
  • Derivative of e ^ θ with respect to ρ :
    e ^ θ ρ = 0
  • Derivative of e ^ z with respect to ρ :
    e ^ z ρ = 0
Thus, none of the unit vectors in cylindrical coordinates change as a function of ρ , so all the derivatives with respect to ρ are zero.
Step 3: Derivatives of Unit Vectors with Respect to θ
The unit vectors e ^ ρ and e ^ θ depend explicitly on the coordinate θ , as they involve trigonometric functions of θ . Therefore, we need to carefully compute their derivatives with respect to θ .
  • Derivative of e ^ ρ with respect to θ :
    e ^ ρ = cos θ i ^ + sin θ j ^ .
    Taking the derivative with respect to θ :
    e ^ ρ θ = sin θ i ^ + cos θ j ^ .
    Noting that sin θ i ^ + cos θ j ^ = e ^ θ , we have:
    e ^ ρ θ = e ^ θ
  • Derivative of e ^ θ with respect to θ :
    e ^ θ = sin θ i ^ + cos θ j ^ .
    Taking the derivative with respect to θ :
    e ^ θ θ = cos θ i ^ sin θ j ^ .
    Noting that cos θ i ^ sin θ j ^ = e ^ ρ , we have:
    e ^ θ θ = e ^ ρ
  • Derivative of e ^ z with respect to θ : Since e ^ z does not depend on θ , its derivative is zero:
    e ^ z θ = 0
Step 4: Derivatives of Unit Vectors with Respect to z
Finally, we compute the derivatives of the unit vectors with respect to z. Since none of the unit vectors in cylindrical coordinates depend on z, the derivatives with respect to z are zero:
  • Derivative of e ^ ρ with respect to z:
    e ^ ρ z = 0
  • Derivative of e ^ θ with respect to z:
    e ^ θ z = 0
  • Derivative of e ^ z with respect to z:
    e ^ z z = 0
Step 5: Summary of Results
The full matrix of partial derivatives of the cylindrical unit vectors with respect to the cylindrical coordinates is:
e ^ ρ ρ e ^ ρ θ e ^ ρ z e ^ θ ρ e ^ θ θ e ^ θ z e ^ z ρ e ^ z θ e ^ z z = 0 e ^ θ 0 0 e ^ ρ 0 0 0 0
This is the complete set of partial derivatives of the cylindrical coordinate unit vectors with respect to the cylindrical coordinates.
Final Explanation
  • e ^ ρ and e ^ θ depend on θ , and their rates of change are captured in terms of the other unit vector (either e ^ θ or e ^ ρ ).
  • e ^ z is independent of both ρ , θ , and z, and thus all its partial derivatives are zero.
  • No unit vectors depend on ρ or z, so all partial derivatives with respect to these coordinates are zero except for θ -related derivatives.

2. Derivatives of Spherical Coordinate Unit Vectors with Respect to Spherical Coordinates

The spherical coordinates ( r , θ , ϕ ) describe a point in three-dimensional space:
  • r: radial distance from the origin,
  • θ : polar angle (measured from the positive z-axis),
  • ϕ : azimuthal angle (measured from the positive x-axis in the x y -plane).
In Cartesian coordinates, the point ( x , y , z ) can be expressed as:
x = r sin θ cos ϕ
y = r sin θ sin ϕ
z = r cos θ

2.1. Definition of Unit Vectors

In spherical coordinates, the position vector of a point is:
r = r e r
where e r , e θ , and e ϕ are the unit vectors along the r, θ , and ϕ directions, respectively. These unit vectors are related to the Cartesian unit vectors i ^ , j ^ , and k ^ by the following expressions:
e r = sin θ cos ϕ i ^ + sin θ sin ϕ j ^ + cos θ k ^
e θ = cos θ cos ϕ i ^ + cos θ sin ϕ j ^ sin θ k ^
e ϕ = sin ϕ i ^ + cos ϕ j ^

2.2. Derivatives of Unit Vectors with Respect to r

Since the unit vectors e r , e θ , and e ϕ depend only on θ and ϕ , their derivatives with respect to r are zero:
e r r = 0 , e θ r = 0 , e ϕ r = 0

2.3. Derivative of e r with Respect to θ

To compute e r θ , we take the derivative of each component of e r with respect to θ :
e r = sin θ cos ϕ i ^ + sin θ sin ϕ j ^ + cos θ k ^
e r θ = cos θ cos ϕ i ^ + cos θ sin ϕ j ^ sin θ k ^
From the definition of e θ , we recognize this result as:
e r θ = e θ

2.4. Derivative of e r with Respect to ϕ

Similarly, to compute e r ϕ , we differentiate the components of e r with respect to ϕ :
e r = sin θ cos ϕ i ^ + sin θ sin ϕ j ^ + cos θ k ^
e r ϕ = sin θ sin ϕ i ^ + sin θ cos ϕ j ^
This expression corresponds to:
e r ϕ = sin θ e ϕ

2.5. Derivative of e θ with Respect to θ

Now, we compute e θ θ :
e θ = cos θ cos ϕ i ^ + cos θ sin ϕ j ^ sin θ k ^
e θ θ = sin θ cos ϕ i ^ sin θ sin ϕ j ^ cos θ k ^
This expression is the negative of e r :
e θ θ = e r

2.6. Derivative of e θ with Respect to ϕ

For e θ ϕ , we differentiate the components of e θ with respect to ϕ :
e θ = cos θ cos ϕ i ^ + cos θ sin ϕ j ^ sin θ k ^
e θ ϕ = cos θ sin ϕ i ^ + cos θ cos ϕ j ^
This is:
e θ ϕ = cos θ e ϕ

2.7. Derivative of e ϕ with Respect to θ

Next, we calculate e ϕ θ . Since e ϕ = sin ϕ i ^ + cos ϕ j ^ , it has no θ -dependence, so:
e ϕ θ = 0

2.8. Derivative of e ϕ with Respect to ϕ

Finally, we compute e ϕ ϕ :
e ϕ = sin ϕ i ^ + cos ϕ j ^
e ϕ ϕ = cos ϕ i ^ sin ϕ j ^
This is the negative of e ϕ :
e ϕ ϕ = e ϕ

2.9. Summary of Results

The derivatives of the unit vectors in spherical coordinates are:
e r r = 0 , e θ r = 0 , e ϕ r = 0
e r θ = e θ , e r ϕ = sin θ e ϕ
e θ θ = e r , e θ ϕ = cos θ e ϕ
e ϕ θ = 0 , e ϕ ϕ = e ϕ

3. Divergence of a Tensor Field

3.1. Cartesian coordinates

In a Cartesian coordinate system we have the following relations for a vector field v and a second-order tensor field S :
· v = v i x i = v i , i e i
· S = S k i x i e k = S k i , i e k
where tensor index notation for partial derivatives is used in the rightmost expressions. Note that
· S · S
For a symmetric second-order tensor, the divergence is also often written as:
· S = S k i x i e k = S k i , i e k
The above expression is sometimes used as the definition of · S in Cartesian component form (often also written as div S ). Note that such a definition is not consistent with the rest of this article (see the section on curvilinear coordinates).
The difference stems from whether the differentiation is performed with respect to the rows or columns of S , and is conventional. This is demonstrated by an example. In a Cartesian coordinate system, the second-order tensor (matrix) S is the gradient of a vector function v :
· ( v ) = · V = ( v i j e i e j ) · e i = v i j , i e j = ( · · v ) = 2 v
· [ ( v ) ] = · V = ( v j i e i e j ) · e i = v j i , j e i = 2 v
The last equation is equivalent to the alternative definition/interpretation:
( ) alt ( v ) = ( ) alt ( v i j e i e j ) = v i j , j e i = 2 v , e i = 2 v

3.2. Curvilinear coordinates

If g 1 , g 2 , g 3 are the contravariant basis vectors in a curvilinear coordinate system. In curvilinear coordinates, the divergences of a vector field v and a second-order tensor field S are:
· v = v i ξ i + v k Γ i k i
· S = S i k ξ i S l k Γ i i l S i l Γ i k l g k
More generally
· S = S i j ξ i Γ i k j S i j Γ k j l S i l g i b j
· S = S i j ξ k Γ j k i S i l Γ l j m S l m g i b j
= S j i q i + Γ i l i S j l Γ i j l S l i b j
= S j i q k Γ i k l S l j + Γ k l j S i l g i k b j
In cylindrical polar coordinates:
· v = v r r + 1 r v θ θ + v r + v z z
· S = S r r r e r + S r θ r e θ + S r z r e z
+ 1 r S θ r θ + ( S r r S θ θ ) e r + 1 r S θ θ θ + ( S r θ + S θ r ) e θ
+ 1 r S θ z θ + S r z e z
+ S z r z e r + S z θ z e θ + S z z z e z

4. Divergence · v in Cylindrical Coordinates

We first need to compute the partial derivatives x ; y and z in terms of ρ , ϕ , and z For that, let us apply the basic rule of differentiation called the chain rule.
x = ρ x ρ + ϕ x ϕ
Note here that in the above formula I have skipped the variable z. The reason behind this is very simple. As we know for both the systems, i.e., Cartesian and Cylindrical, z coordinate is exactly the same; only ρ and ϕ are the functions of x and y as mentioned above.
ρ x = x x 2 + y 2 = x x 2 + y 2
ρ x = ρ cos ϕ ρ = cos ϕ
Note the simplification in the above step. As we are going to convert into the Cylindrical coordinates from the Cartesian ones, we must simplify to the extent so that to get cylindrical variables. Similarly,
ϕ x = x tan 1 y x = y x 2 + y x 2 = y x 2 + y 2
ϕ x = y ρ 2 = sin ϕ ρ
So putting these values above, we have,
x = cos ϕ ρ + sin ϕ ρ ϕ
Similarly we can write
y = sin ϕ ρ + cos ϕ ρ ϕ
Using the above 2 boxed equations, we can therefore write
= x e x + y e y + z e z
= ( cos ϕ e ρ sin ϕ e ϕ ) ρ + sin ϕ ρ ϕ + ( sin ϕ e ρ + cos ϕ e ϕ ) ρ + cos ϕ ρ ϕ + z e z
Collecting similar terms together we get as follows:
= ( sin 2 ϕ + cos 2 ϕ ) ρ e ρ + 1 ρ ( sin 2 ϕ + cos 2 ϕ ) ϕ e ϕ + z e z
= e ρ ρ + e ϕ 1 ρ ϕ + e z z
A vector field v can be written in Cylindrical Coordinates as
v = v ρ e ρ + v ϕ e ϕ + v z e z
We have earlier derived that the cylindrical Del operator is
= e ρ ρ + e ϕ 1 ρ ϕ + e z z
Therefore the divergence of the vector field v shall be
div ( v ) = · v = ( e ρ ρ + e ϕ 1 ρ ϕ + e z z ) · ( v ρ e ρ + v ϕ e ϕ + v z e z )
div ( v ) = · v = e ρ ρ · ( v ρ e ρ + v ϕ e ϕ + v z e z ) + e ϕ 1 ρ ϕ · ( v ρ e ρ + v ϕ e ϕ + v z e z ) + e z z · ( v ρ e ρ + v ϕ e ϕ + v z e z )
Now note that we have
ρ e ρ = 0 ; ρ e ϕ = 0 ; ρ e z = 0
ϕ e ρ = e ϕ ; ϕ e ϕ = e ρ ; ϕ e z = 0
z e ρ = 0 ; z e ϕ = 0 ; z e z = 0
Therefore the above boxed equation can be written as
· v = e ρ ρ + e ϕ 1 ρ ϕ + e z z · v ρ e ρ + v ϕ e ϕ + v z e z
= e ρ · v ρ e ρ ρ + e ρ v ρ ρ + v ϕ e ϕ ρ + e ϕ v ϕ ρ + v z e z ρ + e z v z ρ
+ 1 ρ e ϕ · v ρ e ρ ϕ + e ρ v ρ ϕ + v ϕ e ϕ ϕ + e ϕ v ϕ ϕ + v z e z ϕ + e z v z ϕ
+ e z · v ρ e z z + e ρ v ρ z + v ϕ e z z + e ϕ v ϕ z + v z e z z + e z v z z
= e ρ · v ρ ( 0 ) + e ρ v ρ ρ + v ϕ ( 0 ) + e ϕ v ϕ ρ + v z ( 0 ) + e z v z ρ
+ 1 ρ e ϕ · v ρ ( e ϕ ) + e ρ v ρ ϕ + v ϕ ( e ρ ) + e ϕ v ϕ ϕ + v z ( 0 ) + e z v z ϕ
+ e z · v ρ ( 0 ) + e ρ v ρ z + v ϕ ( 0 ) + e ϕ v ϕ z + v z ( 0 ) + e z v z z
The above expression can be simplified as
div · v = · v = ( e ρ · e ρ ) v ρ ρ + ( e ρ · e ϕ ) v ϕ ρ + ( e ρ · e z ) v z ρ
+ v ρ ρ ( e ϕ · e ϕ ) + 1 ρ ( e ϕ · e ρ ) v ρ ϕ v ϕ ρ ( e ϕ · e ρ ) + 1 ρ ( e ϕ · e ϕ ) v ϕ ϕ + 1 ρ ( e ϕ · e z ) v z ϕ
+ ( e z · e ρ ) v z z + ( e z · e ϕ ) v z z + ( e z · e z ) v z z
Now note that we have
e ρ · e ρ = e ϕ · e ϕ = e z · e z = 1
e ρ · e ϕ = e ϕ · e z = e z · e ρ = 0
Therefore we can write
div · v = · v = v ρ ρ + v ρ ρ + 1 ρ v ϕ ϕ + v z z
This is the expression for divergence in Cylindrical coordinates.

5. Divergence · v in Spherical Coordinates

We first need to compute the partial derivatives x ; y and z in terms of r ; θ and ϕ . For that let us apply the basic rule of differentiation called the chain rule.
x = r r x + θ θ x + ϕ ϕ x
y = r r y + θ θ y + ϕ ϕ y
z = r r z + θ θ z + ϕ ϕ z
Therefore, we will need the following derivatives:
r x ; θ x ; ϕ x ; r y ; θ y ; ϕ y ; r z ; θ z and ϕ z
Let us calculate all the required derivatives one by one
r x = r sin θ cos ϕ r = sin θ cos ϕ
Similarly, we also have
θ x = x tan 1 x 2 + y 2 z = 1 1 + x 2 + y 2 z 2 x x 2 + y 2 z
= 1 1 + x 2 + y 2 z x x 2 + y 2 x 2 + y 2 + z 2 = x z ( x 2 + y 2 + z 2 ) x 2 + y 2
θ x = r sin θ cos ϕ · cos θ · r r 2 r 2 sin 2 θ cos 2 ϕ + r 2 sin 2 θ sin 2 ϕ = sin θ cos θ cos ϕ r sin θ
θ x = cos θ cos ϕ r
Similarly, we also have
ϕ x = x tan 1 y x = 1 1 + y x 2 y x 2 = y x 2 + y 2
ϕ x = r sin θ sin ϕ r 2 sin 2 θ = sin ϕ r sin θ
Working on the similar lines, we can get the following derivatives,
r y = sin θ sin ϕ ; θ y = cos θ sin ϕ r ; ϕ y = cos ϕ r sin θ
r z = cos θ ; θ z = sin θ r ; ϕ z = 0
So, now we have all the required derivatives. Let us put these into the expressions before.
x = r x r + θ x θ + ϕ x ϕ
x = r sin θ cos ϕ + θ cos θ cos ϕ r + ϕ sin ϕ r sin θ
x = sin θ cos ϕ r + cos θ cos ϕ r θ sin ϕ r sin θ ϕ
Similarly, we can write
y = r y r + θ y θ + ϕ y ϕ
y = r sin θ sin ϕ + θ cos θ sin ϕ r + ϕ cos ϕ r sin θ
y = sin θ sin ϕ r + cos θ sin ϕ r θ + cos ϕ r sin θ ϕ
Similarly, we can write
z = r z r + θ z θ + ϕ z ϕ
z = cos θ r sin θ r θ
Now note that we want to convert the below-mentioned expression of gradient given in Cartesian Coordinate System to an expression of gradient in Spherical Coordinate System
· v = x ( v x ) + y ( v y ) + z ( v z )
· v = ( sin θ cos ϕ r + cos θ cos ϕ r θ sin ϕ r sin θ ϕ ) v x + ( cos θ r sin θ r θ ) v y + ( cos θ r sin θ r θ ) v z
Now note that to get the vector components from the Cartesian Coordinate System to the Spherical Coordinate System, we use the following transformation:
v x v y v z = sin θ cos ϕ cos θ cos ϕ sin ϕ sin θ sin ϕ cos θ sin ϕ cos ϕ cos θ sin θ 0 v r v θ v ϕ
Hence we have,
v x = ( sin θ cos ϕ ) v r + ( cos θ cos ϕ ) v θ ( sin ϕ ) v ϕ
v y = ( sin θ sin ϕ ) v r + ( cos θ sin ϕ ) v θ + ( cos ϕ ) v ϕ
v z = ( cos θ ) v r ( sin θ ) v θ
So, finally to get divergence in spherical coordinates, let us put all the terms together.
· v = x v x + y v y + z v z
Using the above 4 equations, we can therefore write
· v = sin θ cos ϕ r + cos θ cos ϕ r θ sin ϕ r sin θ ϕ ( sin θ cos ϕ ) v r + ( cos θ cos ϕ ) v θ ( sin ϕ ) v ϕ
+ sin θ sin ϕ r + cos θ sin ϕ r θ + cos ϕ r sin θ ϕ ( sin θ sin ϕ ) v r + ( cos θ sin ϕ ) v θ + ( cos ϕ ) v ϕ
+ cos θ r sin θ r θ ( cos θ ) v r ( sin θ ) v θ
Now it’s a mechanical work. Just take the proper derivatives, club the terms and simplify. Note that in the following steps, we will use the product rule several times. Let’s compute the Derivatives and collect the terms:
· v = sin θ cos ϕ sin θ cos ϕ v r r + cos θ cos ϕ v θ r sin ϕ v ϕ r
+ cos θ cos ϕ r cos θ cos ϕ v r cos θ + sin θ v θ θ + cos v ϕ sin θ sin ϕ v ϕ θ
sin ϕ r sin θ sin θ cos θ v r sin θ v θ θ + cos v ϕ cos θ sin ϕ v ϕ ϕ + v ϕ cos ϕ
+ sin θ sin ϕ sin θ sin ϕ v r r + cos θ sin ϕ v θ r + cos ϕ v ϕ r
+ cos θ sin ϕ r sin ϕ v r cos θ + sin θ v θ θ + cos v ϕ sin θ sin ϕ v ϕ θ
+ cos ϕ r sin θ cos θ cos ϕ v r cos θ + sin θ v θ ϕ + cos v ϕ cos θ sin ϕ v ϕ ϕ
sin ϕ r v r sin θ + v θ cos θ + v θ r
Let us try to simplify by taking similar terms together and use the basic identity, sin 2 θ + cos 2 θ = 1 or sin 2 ϕ + cos 2 ϕ = 1 .
Note that the terms with derivatives v ϕ r , v θ θ , v θ ϕ , v ϕ θ , and v ϕ ϕ are going to vanish. Therefore we can write
· v = sin 2 θ cos 2 ϕ v r r + sin 2 θ sin 2 ϕ v r r + cos 2 θ v r r
+ cos 2 θ cos 2 ϕ r v r + sin 2 ϕ r v r + cos 2 θ sin 2 ϕ r v r + cos 2 θ r v r + sin 2 θ r v r
+ cos 2 θ cos 2 ϕ r v θ θ + cos 2 θ sin 2 ϕ r v θ θ + sin 2 θ r v θ θ cos θ cos 2 ϕ r sin θ v θ + sin 2 ϕ r cos θ v θ cos θ sin 2 ϕ sin θ v θ
+ cos 2 ϕ r sin θ cos θ v θ + sin θ r cos θ v θ + sin 2 ϕ r sin θ v θ θ + cos 2 ϕ r sin θ v θ ϕ
Again simplifying the terms and utilizing, sin 2 θ + cos 2 θ = 1 or sin 2 ϕ + cos 2 ϕ = 1 ; we can get as follows.
· v = v r r + 2 v r r + 1 r v θ θ + cos θ r sin θ v θ + 1 r sin θ v ϕ ϕ
But, to have simplicity in the expression, we can rewrite the above expression as follows.
· v = 1 r 2 r r 2 v r + 1 r sin θ θ v θ sin θ + 1 r sin θ v ϕ ϕ
This is the expression for divergence in Spherical coordinates.

6. Laplacian Δ f in Cylindrical Coordinates

Note that the Laplacian Δ f of a scalar field f can be written in terms of gradient and divergence as
Δ f = · ( f )
A vector field v can be written in Cylindrical Coordinates as
v = v ρ e ρ + v ϕ e ϕ + v z e z
We earlier derived that in cylindrical coordinates the gradient of a scalar field f can be written as
f = e ρ f ρ + e ϕ 1 ρ f ϕ + e z f z
We earlier derived that in cylindrical coordinates the divergence of a vector field v can be written as
div · v = v ρ ρ + v ρ ρ + 1 ρ v ϕ ϕ + v z z
Therefore the Laplacian of a scalar field f can be written in terms of gradient and divergence in Cylindrical Coordinates shall be
Δ f = · ( f ) = · ( e ρ f ρ + e ϕ 1 ρ f ϕ + e z f z ) = ρ ( f ρ ) + 1 ρ ( f ρ ) + 1 ρ ϕ ( 1 ρ f ϕ ) + z ( f z )
Δ f = 2 f ρ 2 + 1 ρ f ρ + 1 ρ 2 2 f ϕ 2 + 2 f z 2

7. Laplacian Δ f in Spherical Coordinates

Note that the Laplacian Δ f of a scalar field f can be written in terms of gradient and divergence as
Δ f = · ( f )
A vector field v can be written in Spherical Coordinates as
v = v r e r + v θ e θ + v ϕ e ϕ
We earlier derived that in Spherical coordinates the gradient of a scalar field f can be written as
f = e r f r + e θ 1 r f θ + e ϕ 1 r sin θ f ϕ
We earlier derived that in Spherical coordinates the divergence of a vector field v can be written as
· v = div · v = 1 r 2 r r 2 v r + 1 r sin θ θ v θ sin θ + 1 r sin θ v ϕ ϕ
Therefore the Laplacian of a scalar field f can be written in terms of gradient and divergence in Spherical Coordinates shall be
Δ f = · ( f ) = · ( e r f r + e θ 1 r f θ + e ϕ 1 r sin θ f ϕ ) = 1 r 2 r r 2 f r + 1 r sin θ θ 1 r f θ sin θ + 1 r sin θ ϕ ( 1 r sin θ f ϕ )
Δ f = 1 r 2 r r 2 f r + 1 r 2 sin θ θ f θ sin θ + 1 r 2 sin 2 θ ϕ ( f ϕ )

8. Curl of a Tensor Field

The curl of an order- n > 1 tensor field T ( x ) is also defined using the recursive relation:
( × T ) · c = · ( × c · T )
( × v ) · c = · ( v × c )
where c is an arbitrary constant vector and v is a vector field.

8.1. Curl of a First-Order Tensor (Vector) Field

Consider a vector field v and an arbitrary constant vector c . In index notation, the cross product is given by
v × c = ϵ i j k v j c k e i
where ϵ i j k is the permutation symbol, otherwise known as the Levi-Civita symbol. Then,
· ( v × c ) = ϵ i j k v j , i c k = ( ϵ i j k v j , i e k ) · c = ( × v ) · c
Therefore,
× v = ϵ i j k v j , i e k

8.2. Curl of a Second-Order Tensor Field

For a second-order tensor S ,
c · S = c m S m j e j
Hence, using the definition of the curl of a first-order tensor field,
× ( c · S ) = ϵ i j k c m S m j , i e k = ( ϵ i j k S m j , i e k e m ) · c = ( × S ) · c
Therefore, we have
× S = ϵ i j k S m j , i e k e m

8.3. Identities Involving the Curl of a Tensor Field

The most commonly used identity involving the curl of a tensor field, T , is
× ( × T ) = 0
This identity holds for tensor fields of all orders. For the important case of a second-order tensor, S , this identity implies that
× ( × S ) = 0

9. Curl × v in Cylindrical Coordinates

A vector field v can be written in Cylindrical Coordinates as
v = v ρ e ρ + v ϕ e ϕ + v z e z
We have earlier derived that the cylindrical Del operator is
= e ρ ρ + e ϕ 1 ρ ϕ + e z z
Let us take the cross product:
× v = e ρ ρ + e ϕ 1 ρ ϕ + e z z × v ρ e ρ + v ϕ a ϕ + v z e z
× v = e ρ × ρ v ρ e ρ + v ϕ e p h i + v z e z + 1 ρ e ϕ × ϕ v ρ e ρ + v ϕ e p h i + v z e z + e z × z v ρ e ρ + v ϕ e p h i + v z e z
× v = e ρ × v ρ e ρ ρ + e ρ v ρ ρ + v ϕ e ϕ ρ + e ϕ v ϕ ρ + v z e z ρ + e z v z ρ
+ 1 ρ e ϕ × v ρ e ρ ϕ + e ρ v ρ ϕ + v ϕ e ϕ ϕ + e ϕ v ϕ ϕ + v z e z ϕ + e z v z ϕ
+ e z × v ρ e ρ z + e ρ v ρ z + v ϕ e ϕ z + e ϕ v ϕ z + v z e z z + e z v z z
Note that the derivatives of the unit vectors of cylindrical coordinates are
ρ e ρ = 0 ; ρ e ϕ = 0 ; ρ e z = 0
ϕ e ρ = e ϕ ; ϕ e ϕ = e ρ ; ϕ e z = 0
z e ρ = 0 ; z e ϕ = 0 ; z e z = 0
So putting all these derivatives in the step above, and taking the required cross product, we have,
× v = v ϕ ρ e z v z ρ e ϕ 1 ρ v ρ ϕ e z + v ϕ ρ e z + 1 ρ v z ϕ e ρ + v ρ z e ϕ v ϕ z e ρ
Collecting together the similar terms, we get
× v = 1 ρ v z ϕ v ϕ z e ρ + v ρ z v z ρ e ϕ + v ϕ ρ + v ϕ ρ 1 ρ v ρ ϕ e z
This can be adjusted and rewritten as like following,
× v = 1 ρ v z ϕ ( ρ v ϕ ) z e ρ v z ρ v ρ z ρ e ϕ + ( ρ v ϕ ) ρ v ρ ϕ e z
The above expression can be easily written in matrix determinant form as:
× v = 1 ρ e ρ ρ e ϕ e z ρ ϕ z v ρ ρ v ϕ v z
This is the standard expression for the curl of a vector field v = v ρ e ρ + v ϕ e ϕ + v z e z in Cylindrical coordinates.

10. Curl × v in Spherical Coordinates

A vector field v can be written in Spherical Coordinates as
v = v r e r + v θ e θ + v ϕ e ϕ
We have earlier derived that the Spherical Del operator is
= e r r + e θ r θ + e ϕ r sin θ ϕ
Let us take the cross product:
× v = ( e r r + e θ r θ + e ϕ r sin θ ϕ ) × ( v r e r + v θ e θ + v ϕ e ϕ )
× v = e r × r ( v r e r + v θ e θ + v ϕ e ϕ ) + e θ r × θ ( v r e r + v θ e θ + v ϕ e ϕ ) + e ϕ r sin θ × ϕ ( v r e r + v θ e θ + v ϕ e ϕ )
× v = e r × v r e r r + e r v r r + v θ e θ r + e θ v θ r + v ϕ e ϕ r + e ϕ v ϕ r
+ e θ r × v r e r θ + e r v r θ + v θ e θ θ + e θ v θ θ + v ϕ e ϕ θ + e ϕ v ϕ θ
+ e ϕ r sin θ × v r e r ϕ + e r v r ϕ + v θ e θ ϕ + e θ v θ ϕ + v ϕ e ϕ ϕ + e ϕ v ϕ ϕ
Note that the derivatives of the unit vectors of spherical coordinates are
e r r = 0 , e r θ = e θ , e r ϕ = sin θ e ϕ
e θ r = 0 , e θ θ = e r , e θ ϕ = cos θ e ϕ
e ϕ r = 0 , e ϕ θ = 0 , e ϕ ϕ = sin θ e r cos θ e θ
Let’s substitute these into the equation of · v mentioned above.
The First Term (Radial Derivatives) shall be
e r × v r · 0 + e r v r r + v θ · 0 + e θ v θ r + v ϕ · 0 + e ϕ v ϕ r
e r × e r v r r + e θ v θ r + e ϕ v ϕ r
e ϕ v θ r e θ v ϕ r
The Second Term (Polar Derivatives) shall be
e θ r × v r e θ + e r v r θ v θ e r + e θ v θ θ + v ϕ cos θ e ϕ + e ϕ v ϕ θ
e θ r × e θ v θ θ + e ϕ v ϕ θ + ( v r v θ ) e r + v ϕ cos θ e ϕ
1 r e r v ϕ θ e ϕ ( v r v θ ) + e r v ϕ cos θ
The Third Term (Azimuthal Derivatives) shall be
e ϕ r sin θ × sin θ e ϕ · v r + e r v r ϕ + 0 + e θ v θ ϕ ( sin θ e r + cos θ e θ ) v ϕ + e ϕ v ϕ ϕ
1 r sin θ e θ v r ϕ e r v θ ϕ v ϕ ( sin θ e θ cos θ e r )
1 r sin θ e θ v r ϕ + v ϕ sin θ e r v θ ϕ + v ϕ cos θ
Let’s combine all terms and simplify further. The final expression for × v is:
× v = e ϕ v θ r e θ v ϕ r + 1 r e r v ϕ θ e ϕ ( v r v θ ) + e r v ϕ cos θ + 1 r sin θ e θ v r ϕ + v ϕ sin θ e r v θ ϕ + v ϕ cos θ
Finally, let’s collect the terms for each unit vector:
× v = e r 1 r v ϕ θ + v ϕ cos θ r 1 r sin θ v θ ϕ + v ϕ cos θ
+ e θ v ϕ r + 1 r sin θ v r ϕ + v ϕ sin θ
+ e ϕ v θ r v r v θ r
× v = 1 r sin θ θ ( v ϕ sin θ ) v θ ϕ e r + 1 r sin θ v r ϕ 1 r ( r v ϕ ) r e θ + 1 r ( r v θ ) r v r θ e ϕ
This is the standard expression for the curl of a vector field v = v r e r + v θ e θ + v ϕ e ϕ in Spherical coordinates.

11. Gradient of a Tensor field

11.1. Cartesian coordinates

If e 1 , e 2 , e 3 are the basis vectors in a Cartesian coordinate system, with coordinates of points denoted by ( x 1 , x 2 , x 3 ) , then the gradient of the tensor field T is given by
T = T x i e i
The vectors x and c can be written as x = x i e i and c = c i e i . Let y : = x + α c . In that case the gradient is given by
T · c = d d α T ( x 1 + α c 1 , x 2 + α c 2 , x 3 + α c 3 ) | α = 0
T · c d d α T ( y 1 , y 2 , y 3 ) | α = 0 = T y 1 y 1 α + T y 2 y 2 α + T y 3 y 3 α α = 0
T · c = T x 1 c 1 + T x 2 c 2 + T x 3 c 3 = T x i c i = T x i e i · c
Since the basis vectors do not vary in a Cartesian coordinate system, we have the following relations for the gradients of a scalar field ϕ , a vector field v , and a second-order tensor field S :
ϕ = ϕ x i e i = ϕ , i e i
v = ( v j e j ) x i e i = v j x i e j e i = v j , i e j e i
S = ( S j k e j e k ) x i e i = S j k x i e j e k e i = S j k , i e j e k e i

11.2. Curvilinear coordinates

If g 1 , g 2 , g 3 are the contravariant basis vectors in a curvilinear coordinate system, with coordinates of points denoted by ( ξ 1 , ξ 2 , ξ 3 ) , then the gradient of the tensor field T is given by
T = T ξ i g i
From this definition we have the following relations for the gradients of a scalar field ϕ , a vector field v , and a second-order tensor field S :
ϕ = ϕ ξ i g i
v = ( v j g j ) ξ i g i = v j ξ i + v k Γ i k j g j g i = v j ξ i v k Γ i j k g j g i
S = ( S j k g j g k ) ξ i g i = S j k ξ i S l k Γ i j l S j l Γ i k l g j g k g i
where the Christoffel symbol Γ i j k is defined using
Γ i j k g k = g i ξ j Γ i j k = g k · g i ξ j

12. Vector Gradient v in Cylindrical Coordinates

Cylindrical coordinates ( r , ϕ , z ) are defined by:
  • r: Radial distance from the z-axis.
  • ϕ : Azimuthal angle (angle in the x y -plane measured from the positive x-axis).
  • z: Height along the z-axis, which corresponds to the Cartesian z-coordinate.
The relationship between cylindrical coordinates ( r , ϕ , z ) and Cartesian coordinates ( x , y , z ) is given by:
x = r cos ϕ , y = r sin ϕ , z = z
with inverse relations:
r = x 2 + y 2 , ϕ = tan 1 y x , z = z
In cylindrical coordinates, the basis vectors are position-dependent. At any point in space, the unit vectors are:
  • e r : Unit vector in the radial direction (perpendicular to the z-axis).
  • e ϕ : Unit vector in the azimuthal direction (tangential to the circular path around the z-axis).
  • e z : Unit vector in the z-direction (parallel to the z-axis).
These vectors are mutually orthogonal, and they can be written in terms of Cartesian unit vectors i ^ , j ^ , k ^ as:
e r = cos ϕ sin ϕ 0 , e ϕ = sin ϕ cos ϕ 0 , e z = 0 0 1
Since e r and e ϕ depend on ϕ , their derivatives with respect to ϕ will be non-zero, which is crucial for our derivation.

12.1. General Form of the Gradient of a Vector

For a vector field V = V r e r + V ϕ e ϕ + V z e z , the gradient tensor V is obtained by applying the gradient operator to each component of the vector field and considering the derivatives of the basis vectors. In curvilinear coordinates, the gradient of a vector field is generally written as:
V = V i x j e i e j + V i e i
where the first term represents the derivatives of the components of the vector field, and the second term involves the gradients of the basis vectors.

12.2. Derivatives of the Basis Vectors

Since the basis vectors e r , e ϕ , and e z depend on ϕ , their derivatives must be carefully considered. Let’s compute them:

12.2.1. Derivative of e r :

e r r = 0 , e r ϕ = e ϕ , e r z = 0

12.2.2. Derivative of e ϕ :

e ϕ r = 0 , e ϕ ϕ = e r , e ϕ z = 0

12.2.3. Derivative of e z :

e z r = 0 , e z ϕ = 0 , e z z = 0
These derivatives are crucial when calculating the second term V i e i in the gradient formula.

12.3. Computing the Gradient Tensor

Now, we will compute the gradient of the vector field V in cylindrical coordinates by considering each directional derivative:

12.3.1. Radial Derivative V r :

V r = V r r e r + V ϕ r e ϕ + V z r e z
There is no derivative of the basis vectors with respect to r, as they do not depend on r.

12.3.2. Azimuthal Derivative V ϕ :

V ϕ = V r ϕ e r + V r e r ϕ + V ϕ ϕ e ϕ + V ϕ e ϕ ϕ + V z ϕ e z
Substituting the derivatives of the basis vectors:
V ϕ = V r ϕ e r + V r e ϕ + V ϕ ϕ e ϕ V ϕ e r + V z ϕ e z
Combining like terms:
V ϕ = V r ϕ V ϕ e r + V ϕ ϕ + V r e ϕ + V z ϕ e z

12.3.3. Vertical Derivative V z :

V z = V r z e r + V ϕ z e ϕ + V z z e z
Again, there is no derivative of the basis vectors with respect to z, as they are independent of z.

12.4. Including Metric Factors

Cylindrical coordinates have geometric scaling factors. Distances in the r-direction are straightforward, but in the ϕ -direction, the physical length corresponding to a change in ϕ is r d ϕ . This scaling factor must be included in the calculation of derivatives with respect to ϕ . Therefore, the terms involving derivatives with respect to ϕ must be divided by r.

12.5. Gradient of Tensor V in Cylindrical Coordinates

Thus, the full gradient tensor V in cylindrical coordinates is:
V = V r r 1 r V r ϕ V ϕ V r z V ϕ r 1 r V ϕ ϕ + V r V ϕ z V z r 1 r V z ϕ V z z

13. Vector Gradient v in Spherical Coordinates

Let the position in spherical coordinates be represented as ( r , θ , ϕ ) , where:
  • r: Radial distance.
  • θ : Polar (or colatitudinal) angle (angle from the z-axis).
  • ϕ : Azimuthal angle (angle in the xy-plane from the x-axis).
The basis vectors e r , e θ , and e ϕ in spherical coordinates are not constant but vary with position. These vectors are mutually orthogonal, and the unit vectors are:
e r = sin θ cos ϕ sin θ sin ϕ cos θ , e θ = cos θ cos ϕ cos θ sin ϕ sin θ , e ϕ = sin ϕ cos ϕ 0
A general vector field V in spherical coordinates is expressed as:
V = V r ( r , θ , ϕ ) e r + V θ ( r , θ , ϕ ) e θ + V ϕ ( r , θ , ϕ ) e ϕ
The goal is to find the gradient V , which is a tensor (often called the del operator applied to a vector field). To derive this rigorously, we need to compute the derivative of each component of the vector field in the r, θ , and ϕ directions while considering the variation of the unit vectors.

13.1. General Form of the Gradient of a Vector

In general, for a vector field V = V i e i , the gradient in curvilinear coordinates is expressed as:
V = V i x j e i e j + V i e i
Where V i are the components of the vector field, e i are the unit vectors, and e i are the gradients of the basis vectors. The term ⊗ indicates a tensor product, resulting in a tensor. For spherical coordinates, we will first derive the derivative of the unit vectors e r , e θ , and e ϕ with respect to r, θ , and ϕ .

13.2. Derivatives of the Unit Vectors

The unit vectors e r , e θ , and e ϕ vary with position. To compute the gradient of a vector field, we need their partial derivatives.

13.2.1. Derivative of e r :

e r r = 0 , e r θ = e θ , e r ϕ = sin θ e ϕ

13.2.2. Derivative of e θ :

e θ r = 0 , e θ θ = e r , e θ ϕ = cos θ e ϕ

13.2.3. Derivative of e ϕ :

e ϕ r = 0 , e ϕ θ = 0 , e ϕ ϕ = sin θ e r cos θ e θ
These derivatives are essential for computing the gradient of a vector field in spherical coordinates.

13.3. Gradient of the Vector Field V

The gradient of V involves taking the derivative of each component in the r, θ , and ϕ directions, accounting for the variation of both the components V r , V θ , V ϕ and the basis vectors e r , e θ , and e ϕ . Let’s compute each term.

13.3.1. Radial Derivative V r :

V r = V r r e r + V θ r e θ + V ϕ r e ϕ
There is no derivative of the basis vectors with respect to r, as they are independent of r.

13.3.2. Polar Derivative V θ :

V θ = V r θ e r + V r e r θ + V θ θ e θ + V θ e θ θ + V ϕ θ e ϕ
Substituting the derivatives of the basis vectors:
V θ = V r θ e r + V r e θ + V θ θ e θ V θ e r + V ϕ θ e ϕ
Combining like terms:
V θ = V r θ V θ e r + V θ θ + V r e θ + V ϕ θ e ϕ

13.3.3. Azimuthal Derivative V ϕ :

V ϕ = V r ϕ e r + V r e r ϕ + V θ ϕ e θ + V θ e θ ϕ + V ϕ ϕ e ϕ + V ϕ e ϕ ϕ
Using the derivatives of the unit vectors:
V ϕ = V r ϕ e r + V r sin θ e ϕ + V θ ϕ e θ + V θ cos θ e ϕ + V ϕ ϕ e ϕ V ϕ sin θ e r V ϕ cos θ e θ
Combining terms:
V ϕ = V r ϕ V ϕ sin θ e r + V θ ϕ V ϕ cos θ e θ + V ϕ ϕ + V r sin θ + V θ cos θ e ϕ

13.4. Gradient of Tensor V in Spherical Coordinates

The gradient tensor V in spherical coordinates is then given by:
V = V r r 1 r V r θ V θ 1 r sin θ V r ϕ V ϕ sin θ V θ r 1 r V θ θ + V r 1 r sin θ V θ ϕ V ϕ cos θ V ϕ r 1 r V ϕ θ + V θ cos θ 1 r sin θ V ϕ ϕ + V r sin θ + V θ cos θ

14. Divergence · T of a Second-Order Tensor in Cylindrical Coordinates

To derive the divergence of a second-order tensor in cylindrical coordinates, we begin by recalling that the divergence of a second-order tensor field T in Cartesian coordinates is expressed as:
· T i = T i j x j
In cylindrical coordinates, we have a new set of basis vectors corresponding to the radial direction e r , the azimuthal direction e θ , and the axial direction e z , and the divergence operator becomes more complicated due to the non-orthogonal coordinate system. The coordinates ( r , θ , z ) are related to the Cartesian coordinates ( x , y , z ) by:
x = r cos θ , y = r sin θ , z = z .

14.1. Step 1: Coordinate Setup in Cylindrical Coordinates

The metric tensor in cylindrical coordinates is diagonal, and the components are:
g r r = 1 , g θ θ = r 2 , g z z = 1 .
The volume element associated with the metric is:
det ( g i j ) = r

14.2. Step 2: General Form of the Divergence in Cylindrical Coordinates

In cylindrical coordinates, the divergence of a second-order tensor is given by:
· T i = 1 det ( g i j ) x j det ( g i j ) T i j .
In cylindrical coordinates, this becomes:
· T i = 1 r x j r T i j
where the summation is over j = r , θ , z . The divergence of the second-order tensor T in cylindrical coordinates has three components: radial (r), azimuthal ( θ ), and axial (z). We will expand each component explicitly, rigorously applying the necessary derivatives.

14.3. Radial Component · T r

The radial component is given by:
· T r = 1 r r r T r r + 1 r T θ r θ + T z r z T θ θ r

14.3.1. First Term

1 r r r T r r
Using the product rule:
r r T r r = T r r + r T r r r
so:
1 r r r T r r = T r r r + T r r r

14.3.2. Second Term

1 r T θ r θ .
This is a straightforward derivative of the θ r -component with respect to θ , scaled by 1 / r .

14.3.3. Third Term

T z r z .
This is a straightforward partial derivative with respect to z.

14.3.4. Fourth Term

T θ θ r .
This term accounts for the divergence in the azimuthal direction, involving the θ θ -component, scaled by 1 / r .

14.4. Final Expression for Radial Component

Thus, the radial component becomes:
· T r = T r r r + T r r r + 1 r T θ r θ + T z r z T θ θ r

14.5. Azimuthal Component · T θ

The azimuthal component is:
· T θ = 1 r r r T r θ + 1 r T θ θ θ + T z θ z + T r θ r

14.5.1. First Term

1 r r r T r θ .
Using the product rule:
r r T r θ = T r θ + r T r θ r ,
so:
1 r r r T r θ = T r θ r + T r θ r

14.5.2. Second Term

1 r T θ θ θ .
This is the partial derivative of T θ θ with respect to θ , scaled by 1 / r .

14.5.3. Third Term

T z θ z .
This is the straightforward partial derivative of the z θ -component with respect to z.

14.5.4. Fourth Term

T r θ r .
This term accounts for the contribution of the radial direction to the divergence in the azimuthal direction.

14.6. Final Expression for Azimuthal Component

Thus, the azimuthal component becomes:
· T θ = T r θ r + T r θ r + 1 r T θ θ θ + T z θ z + T r θ r

14.7. Axial Component · T z

The axial component is:
· T z = 1 r r r T r z + 1 r T θ z θ + T z z z

14.7.1. First Term

1 r r r T r z .
Using the product rule:
r r T r z = T r z + r T r z r ,
so:
1 r r r T r z = T r z r + T r z r

14.7.2. Second Term

1 r T θ z θ .
This is the partial derivative of T θ z with respect to θ , scaled by 1 / r .

14.7.3. Third Term

T z z z .
This is the straightforward partial derivative of the z z -component with respect to z.

14.8. Final Expression for Axial Component

Thus, the axial component becomes:
· T z = T r z r + T r z r + 1 r T θ z θ + T z z z

14.9. Final Complete Answer

The derivation of the second-order tensor divergence in cylindrical coordinates results in the following expressions for the three components:

14.9.1. 1. Radial Component

· T r = T r r r + T r r r + 1 r T θ r θ + T z r z T θ θ r

14.9.2. 2. Azimuthal Component

· T θ = T r θ r + T r θ r + 1 r T θ θ θ + T z θ z + T r θ r

14.9.3. 3. Axial Component

· T z = T r z r + T r z r + 1 r T θ z θ + T z z z
These three components together form the complete tensor divergence in cylindrical coordinates.

15. Divergence · T of a Second-Order Tensor in Spherical Coordinates

To derive the divergence of a second-order tensor in spherical coordinates, we begin with the general expression for the divergence of a second-order tensor field T . In Cartesian coordinates, the divergence of a second-order tensor is given by:
· T i = T i j x j
However, in spherical coordinates ( r , θ , ϕ ) , where we have the orthonormal basis vectors e r , e θ , and e ϕ , the tensor components must be expressed in terms of the spherical coordinate system, and the divergence operator takes a more complex form due to the non-Cartesian nature of the coordinates.

15.1. Step 1: Coordinate Setup in Spherical Coordinates

In spherical coordinates, the metric tensor g i j is diagonal, with the following non-zero components:
g r r = 1 , g θ θ = r 2 , g ϕ ϕ = r 2 sin 2 θ .
Thus, the volume element (related to the determinant of the metric tensor) is:
det ( g i j ) = r 2 sin θ .

15.2. Step 2: General Form of Divergence in Spherical Coordinates

The divergence of a second-order tensor T in spherical coordinates is expressed as:
· T i = 1 det ( g i j ) x j det ( g i j ) T i j
In spherical coordinates, for each direction i = r , θ , ϕ , we expand this expression using the appropriate scale factors and differentials in r, θ , and ϕ . The divergence of the second-order tensor T has three components corresponding to the radial (r), polar ( θ ), and azimuthal ( ϕ ) directions. Let’s derive each component explicitly, performing the necessary derivatives.

15.3. Radial Component · T r

The radial component is:
· T r = 1 r 2 r r 2 T r r + 1 r sin θ θ sin θ T θ r + 1 r sin θ T ϕ r ϕ

15.3.1. First Term

1 r 2 r r 2 T r r .
Apply the product rule:
r r 2 T r r = 2 r T r r + r 2 T r r r ,
so:
1 r 2 r r 2 T r r = 2 T r r r + T r r r

15.3.2. Second Term

1 r sin θ θ sin θ T θ r
Again, apply the product rule:
θ sin θ T θ r = cos θ T θ r + sin θ T θ r θ
so:
1 r sin θ θ sin θ T θ r = 1 r sin θ cos θ T θ r + sin θ T θ r θ = cos θ r sin θ T θ r + 1 r T θ r θ

15.3.3. Third Term

1 r sin θ T ϕ r ϕ .
This is a straightforward partial derivative.

15.4. Final Expression for Radial Component

Thus, the radial component becomes:
· T r = 2 T r r r + T r r r + cos θ r sin θ T θ r + 1 r T θ r θ + 1 r sin θ T ϕ r ϕ

15.5. Polar Component · T θ

The polar component is:
· T θ = 1 r 2 r r 2 T r θ + 1 r sin θ θ sin θ T θ θ + 1 r sin θ T ϕ θ ϕ T ϕ ϕ cot θ r 2

15.5.1. First Term

1 r 2 r r 2 T r θ .
Using the product rule:
r r 2 T r θ = 2 r T r θ + r 2 T r θ r ,
so:
1 r 2 r r 2 T r θ = 2 T r θ r + T r θ r

15.5.2. Second Term

1 r sin θ θ sin θ T θ θ
Using the product rule:
θ sin θ T θ θ = cos θ T θ θ + sin θ T θ θ θ
so:
1 r sin θ θ sin θ T θ θ = 1 r sin θ cos θ T θ θ + sin θ T θ θ θ = cos θ r sin θ T θ θ + 1 r T θ θ θ

15.5.3. Third Term

1 r sin θ T ϕ θ ϕ .
This is a straightforward partial derivative.

15.5.4. Fourth Term

T ϕ ϕ cot θ r 2 .
This term arises due to the cot θ factor in the spherical coordinates, and it’s already simplified.

15.6. Final Expression for Polar Component

Thus, the polar component becomes:
· T θ = 2 T r θ r + T r θ r + cos θ r sin θ T θ θ + 1 r T θ θ θ + 1 r sin θ T ϕ θ ϕ T ϕ ϕ cot θ r 2

15.7. Azimuthal Component · T ϕ

The azimuthal component is:
· T ϕ = 1 r 2 r r 2 T r ϕ + 1 r sin θ θ sin θ T θ ϕ + 1 r sin θ T ϕ ϕ ϕ + T θ ϕ cot θ r 2

15.7.1. First Term

1 r 2 r r 2 T r ϕ .
Using the product rule:
r r 2 T r ϕ = 2 r T r ϕ + r 2 T r ϕ r ,
so:
1 r 2 r r 2 T r ϕ = 2 T r ϕ r + T r ϕ r

15.7.2. Second Term

1 r sin θ θ sin θ T θ ϕ
Using the product rule:
θ sin θ T θ ϕ = cos θ T θ ϕ + sin θ T θ ϕ θ
so:
1 r sin θ θ sin θ T θ ϕ = 1 r sin θ cos θ T θ ϕ + sin θ T θ ϕ θ = cos θ r sin θ T θ ϕ + 1 r T θ ϕ θ

15.7.3. Third Term

1 r sin θ T ϕ ϕ ϕ .
This is a straightforward partial derivative.

15.7.4. Fourth Term

T θ ϕ cot θ r 2 .
This is already simplified.

15.8. Final Expression for Azimuthal Component

Thus, the azimuthal component becomes:
· T ϕ = 2 T r ϕ r + T r ϕ r + cos θ r sin θ T θ ϕ + 1 r T θ ϕ θ + 1 r sin θ T ϕ ϕ ϕ + T θ ϕ cot θ r 2

15.9. Final Complete Answer

Therefore the second-order tensor divergence in spherical coordinates results in the following expressions for the three components:

15.9.1. 1. Radial Component

· T r = 2 T r r r + T r r r + cos θ r sin θ T θ r + 1 r T θ r θ + 1 r sin θ T ϕ r ϕ

15.9.2. 2. Polar Component

· T θ = 2 T r θ r + T r θ r + cos θ r sin θ T θ θ + 1 r T θ θ θ + 1 r sin θ T ϕ θ ϕ T ϕ ϕ cot θ r 2

15.9.3. 3. Azimuthal Component

· T ϕ = 2 T r ϕ r + T r ϕ r + cos θ r sin θ T θ ϕ + 1 r T θ ϕ θ + 1 r sin θ T ϕ ϕ ϕ + T θ ϕ cot θ r 2
These three components together form the complete tensor divergence in spherical coordinates.

16. Directional Derivative ( A · ) v in Curvilinear Coordinates

The Directional Derivative defined for a vector field  A by ( A · ) , where is the gradient operator. The Directional Derivative operator applied in arbitrary orthogonal three-dimensional coordinates to a vector field v becomes:
[ ( A · ) v ] j = k = 1 3 A k h k v j q k + v k h k h j A j h j q k A k h k q j
where the h i ’s are related to the metric tensors by h i = g i i .

16.1. Directional Derivative in Cartesian Coordinates:

In rectangular coordinates, g 11 = g 22 = g 33 = 1 , therefore the Directional Derivative defined for a vector field v in Rectangular Coordinates shall be
( A · ) v = A x v x x + A y v x y + A z v x z x ^ + A x v y x + A y v y y + A z v y z y ^ + A x v z x + A y v z y + A z v z z z ^

16.2. Directional Derivative in Cylindrical Coordinates:

In cylindrical coordinates ( r , θ , z ) , g 11 = 1 , g 22 = r 2 , g 33 = 1 , therefore the Directional Derivative defined for a vector field v in Cylindrical Coordinates shall be
( A · ) v = A r v r r + A ϕ r v r ϕ + A z v r z A ϕ v ϕ r r ^
+ A r v ϕ r + A ϕ r v ϕ ϕ + A z v ϕ z + A ϕ v r r ϕ ^
+ A r v z r + A ϕ r v z ϕ + A z v z z z ^

16.3. Directional Derivative in Spherical Coordinates

In spherical coordinates ( r , θ , ϕ ) , g 11 = 1 , g 22 = r 2 , g 33 = r 2 sin 2 θ , therefore the Directional Derivative defined for a vector field v in Spherical Coordinates shall be
( A · ) v = A r v r r + A θ r v r θ + A ϕ r sin θ v r ϕ A θ v θ + A ϕ v ϕ r r ^
+ A r v θ r + A θ r v θ θ + A ϕ r sin θ v θ ϕ + A θ v r r A ϕ v ϕ cot θ r θ ^
+ A r v ϕ r + A θ r v ϕ θ + A ϕ r sin θ v ϕ ϕ + A ϕ v r r + A ϕ v θ cot θ r ϕ ^

17. Vector Laplacian Δ v in Curvilinear Coordinates

Consider the general curvilinear coordinates ( u 1 , u 2 , u 3 ) . We shall limit ourselves to orthogonal coordinate systems in Euclidean 3-space, each system being characterized by the metric coefficients g 11 , g 22 , g 33 . The element of distance is specified by:
( d s ) 2 = g 11 ( d u 1 ) 2 + g 22 ( d u 2 ) 2 + g 33 ( d u 3 ) 2 .
Also,
grad ϕ = a 1 1 g 11 ϕ u 1 + a 2 1 g 22 ϕ u 2 + a 3 1 g 33 ϕ u 3
div v = 1 g u 1 g v 1 + u 2 g v 2 + u 3 g v 3
and
curl v = 1 g 11 u 2 g 22 v 3 u 3 g 33 v 2 + 1 g 22 u 3 g 33 v 1 u 1 g 11 v 3 + 1 g 33 u 1 g 11 v 2 u 2 g 22 v 1
where a 1 , a 2 , and a 3 are unit vectors, and g = g 11 g 22 g 33 . Using the above equations, we obtain the general expression for the vector Laplacian operating on v :
Δ v = a 1 1 g 11 u 1 1 g 11 v 1 u 1 + 1 g 22 u 2 v 1 g 22 + 1 g 33 u 3 v 1 g 33 + a 2 1 g 11 u 1 v 2 g 11 + 1 g 22 u 2 1 g 22 v 2 u 2 + 1 g 33 u 3 v 2 g 33 + a 3 1 g 11 u 1 v 3 g 11 + 1 g 22 u 2 v 3 g 22 + 1 g 33 u 3 1 g 33 v 3 u 3
This is much more complex than the scalar case:
2 ϕ = 1 g 11 2 ϕ ( u 1 ) 2 + 1 g 22 2 ϕ ( u 2 ) 2 + 1 g 33 2 ϕ ( u 3 ) 2

17.1. Vector Laplacian in Rectangular Coordinates

In rectangular coordinates, g 11 = g 22 = g 33 = 1 , therefore the Vector Laplacian Δ v in Rectangular Coordinates shall be
Δ v = a x 2 v x x 2 + a y 2 v y y 2 + a z 2 v z z 2
While
2 ϕ = 2 ϕ x 2 + 2 ϕ y 2 + 2 ϕ z 2
In this special case, each component of Δ v has the same form as 2 ϕ .

17.2. Vector Laplacian in Cylindrical Coordinates

In cylindrical coordinates ( r , θ , z ) , g 11 = 1 , g 22 = r 2 , g 33 = 1 , therefore the Vector Laplacian Δ v in Cylindrical Coordinates shall be
Δ v = a r 2 v r r 2 + 1 r v r r v r r 2 + 1 r 2 2 v r θ 2 + 2 v r z 2 + a θ 2 v θ r 2 + 1 r v θ r v θ r 2 + 1 r 2 2 v θ θ 2 + 2 v θ z 2 + a z 2 v z r 2 + 1 r v z r + 1 r 2 2 v z θ 2 + 2 v z z 2
and
2 ϕ = 2 ϕ r 2 + 1 r ϕ r + 1 r 2 2 ϕ θ 2 + 2 ϕ z 2
The first two components of Δ v are of different form from 2 ϕ , each containing two additional terms.

17.3. Vector Laplacian in Spherical Coordinates

In spherical coordinates ( r , θ , ϕ ) , g 11 = 1 , g 22 = r 2 , g 33 = r 2 sin 2 θ , therefore the Vector Laplacian Δ v in Spherical Coordinates shall be
Δ v = a r 2 v r r 2 + 2 r v r r 2 v r r 2 + 1 r 2 2 v r θ 2 + cot θ r 2 v r θ + 1 r 2 sin 2 θ 2 v r ϕ 2 + a θ 2 v θ r 2 + 2 r v θ r v θ r 2 + 1 r 2 2 v θ θ 2 + cot θ r 2 v θ θ + 1 r 2 sin 2 θ 2 v θ ϕ 2 + a ϕ 2 v ϕ r 2 + 2 r v ϕ r + 1 r 2 2 v ϕ θ 2 + cot θ r 2 v ϕ θ + 1 r 2 sin 2 θ 2 v ϕ ϕ 2
and
2 ϕ = 2 ϕ r 2 + 2 r ϕ r + 1 r 2 2 ϕ θ 2 + cot θ r 2 ϕ θ + 1 r 2 sin 2 θ 2 ϕ ϕ 2
Here each component of Δ v contains more terms than 2 ϕ . Other coordinates are handled in the same manner as the foregoing three cases. In the more complicated coordinate systems, the difference between the vector and scalar Laplacians becomes even more pronounced.

18. Derivatives with respect to vectors and second-order tensors

18.1. Derivatives of scalar and vector valued functions of vectors

Let f ( v ) be a real valued function of the vector v . Then the derivative of f ( v ) with respect to v (or at v ) is the vector defined through its dot product with any vector u being
f v · u = D f ( v ) [ u ] = d d α f ( v + α u ) α = 0
for all vectors u . The above dot product yields a scalar, and if u is a unit vector, it gives the directional derivative of f at v , in the u direction. If f ( v ) = f 1 ( v ) + f 2 ( v ) then
f v · u = f 1 v · u + f 2 v · u
If f ( v ) = f 1 ( v ) f 2 ( v ) then
f v · u = f 1 v · u f 2 ( v ) + f 1 ( v ) f 2 v · u
If f ( v ) = f 1 ( f 2 ( v ) ) then
f v · u = f 1 f 2 f 2 v · u
Let f ( v ) be a vector valued function of the vector v . Then the derivative of f ( v ) with respect to v (or at v ) is the second order tensor defined through its dot product with any vector u being
f v · u = D f ( v ) [ u ] = d d α f ( v + α u ) α = 0
for all vectors u . The above dot product yields a vector, and if u is a unit vector, it gives the directional derivative of f at v , in the u direction. If f ( v ) = f 1 ( v ) + f 2 ( v ) then
f v · u = f 1 v · u + f 2 v · u
If f ( v ) = f 1 ( v ) × f 2 ( v ) then
f v · u = f 1 v · u × f 2 ( v ) + f 1 ( v ) × f 2 v · u
If f ( v ) = f 1 ( f 2 ( v ) ) then
f v · u = f 1 f 2 · f 2 v · u

18.2. Derivatives of scalar and vector valued functions of second-order tensors

Let f ( S ) be a real valued function of the second order tensor S . Then the derivative of f ( S ) with respect to S (or at S ) in the direction T is the second order tensor defined as
f S : T = D f ( S ) [ T ] = d d α f ( S + α T ) α = 0
for all second order tensors T . If F ( S ) = F 1 ( S ) + F 2 ( S ) then
F S : T = F 1 S + F 2 S : T
If F ( S ) = F 1 ( S ) · F 2 ( S ) then
F S : T = F 1 S : T · F 2 ( S ) + F 1 ( S ) · F 2 S : T
If F ( S ) = F 1 ( F 2 ( S ) ) then
F S : T = F 1 F 2 : F 2 S : T
If f ( S ) = f 1 ( F 2 ( S ) ) then
f S : T = f 1 F 2 : F 2 S : T

19. Advanced Tensor Derivatives

19.1. Christoffel symbols

This section introduces the Christoffel symbols as part of the formalism used to express the connection on a manifold in local coordinates. These symbols help define the covariant derivative, which is critical in differential geometry, particularly in curved spaces. Here’s what we need to rigorously derive:
  • Manifold, Coordinate system setup and the metric tensor
  • Covariant differentiation of a vector.
Let’s break this down step-by-step with detailed mathematical rigor.

19.1.1. Manifold, Coordinate System setup and the metric tensor

Let M be a differentiable manifold of dimension n. At each point p M , the tangent space T p M is an n-dimensional vector space. To specify the geometry of M , we introduce a coordinate chart ( U , φ ) , where U M is an open set and φ : U R n is a smooth, bijective map. For each point p U , φ ( p ) = ( x 1 ( p ) , x 2 ( p ) , , x n ( p ) ) gives the local coordinates of p. The coordinate basis vectors at each point are denoted by x i , abbreviated as i . These vectors span the tangent space T p M at each point p.
To define distances and angles on the manifold, we introduce the metric tensor g, which is a smooth, symmetric, positive-definite (0,2)-tensor field. In a coordinate chart, the metric is represented as:
g = g i j d x i d x j
where g i j = g x i , x j are the components of the metric in the chosen coordinates, and d x i are the dual basis 1-forms. The metric components g i j are smooth functions on the manifold, and g i j = g j i , ensuring the symmetry of the metric tensor. The inverse of the metric tensor is denoted by g i j , where:
g i k g k j = δ j i
where δ j i is the Kronecker delta.

19.1.2. Covariant Derivative of a Vector Field

On a manifold, the covariant derivative extends the notion of differentiation to curved spaces, ensuring that differentiation is consistent with the manifold’s geometry. To define it, we need the notion of a connection. The covariant derivative of a vector field X in the direction of another vector field Y, denoted Y X , must satisfy the following properties:
  • Linearity: Y ( a X + b Z ) = a Y X + b Y Z for any scalar functions a and b, and vector fields X, Z.
  • Leibniz Rule: Y ( f X ) = f Y X + ( Y f ) X for any scalar function f.
  • Compatibility with the Metric: Y ( g ( X , Z ) ) = g ( Y X , Z ) + g ( X , Y Z ) , ensuring that the covariant derivative preserves the inner product structure defined by the metric tensor.
The Christoffel symbols  Γ i j k are the components of the connection in a coordinate basis. They provide a way to express the covariant derivative in terms of local coordinates. The Christoffel symbols are defined by the condition that the covariant derivative of the basis vector field j is a linear combination of the basis vectors:
i j = Γ i j k k
The Christoffel symbols Γ i j k are related to the metric tensor by the following expression, derived from the requirement that the covariant derivative preserves the metric (i.e., g = 0 ):
Γ i j k = 1 2 g k l i g j l + j g i l l g i j
where g k l is the inverse of the metric tensor, and i g j l denotes the partial derivative of the metric component g j l with respect to the coordinate x i . Let’s derive the expression for the Christoffel symbols step-by-step:
  • Start from the compatibility condition for the metric tensor:
    k g i j = 0
    This implies that the metric is covariantly constant.
  • Expanding this condition in terms of the Christoffel symbols:
    k g i j Γ k i l g l j Γ k j l g i l = 0
  • Rearranging terms gives the following equation:
    k g i j = Γ k i l g l j + Γ k j l g i l
  • Using the symmetry of the metric g i j , cyclically permute the indices i, j, and k in the above equation, then add and subtract the resulting equations to isolate the Christoffel symbols. After some algebra, we arrive at the expression:
    Γ i j k = 1 2 g k l i g j l + j g i l l g i j
Thus, the Christoffel symbols are completely determined by the metric tensor and its first derivatives. Given a vector field X = X i i , the covariant derivative of X in the direction of j is:
j X i = j X i + Γ j k i X k
This formula expresses the covariant derivative of a vector field in terms of the Christoffel symbols and the partial derivatives of the components of the vector field.

19.1.3. Christoffel symbols in Euclidean Space

The section defines the Christoffel symbols in a Euclidean space, where the coordinates are typically Cartesian, but we can also consider curvilinear coordinates (e.g., polar, cylindrical, spherical). Christoffel symbols appear when we want to express derivatives of vector fields in a non-Cartesian coordinate system. In Euclidean space, the Christoffel symbols represent how the coordinate basis vectors change as we move from one point to another. We will rigorously derive the following key components:
  • Euclidean space and coordinate systems.
  • Connection between the Christoffel symbols and coordinate transformations.
  • The role of Christoffel symbols in non-Cartesian coordinates.
  • Detailed derivation of Christoffel symbols in Euclidean space.
We begin by considering the standard n-dimensional Euclidean space R n . The Euclidean space is a flat space, and it can be equipped with different coordinate systems:
  • Cartesian coordinates ( x 1 , x 2 , , x n ) : These coordinates are orthogonal and have a straightforward metric, which is the identity matrix.
  • Curvilinear coordinates ( q 1 , q 2 , , q n ) : These coordinates can be functions of the Cartesian coordinates, such as polar or spherical coordinates.
The key idea is that while Euclidean space has no intrinsic curvature, when we introduce non-Cartesian coordinates, the coordinate basis vectors change from point to point. This change is precisely captured by the Christoffel symbols. In a general coordinate system ( q 1 , q 2 , , q n ) , the basis vectors q i span the tangent space at each point. These basis vectors are not necessarily orthogonal, and their inner products define the components of the metric tensor g i j , which in Euclidean space is:
g i j = x k q i x l q j δ k l
where δ k l is the Kronecker delta, representing the flat Cartesian metric of Euclidean space. Thus, the metric tensor in curvilinear coordinates is:
g i j = k = 1 n x k q i x k q j
In Cartesian coordinates, the covariant derivative reduces to the partial derivative because the Christoffel symbols vanish. However, in curvilinear coordinates, the basis vectors q i vary from point to point, and this variation is captured by the Christoffel symbols. The covariant derivative j of a vector field V i is given by:
j V i = j V i + Γ j k i V k
where Γ j k i are the Christoffel symbols. The Christoffel symbols in Euclidean space are derived from the requirement that the covariant derivative of the metric tensor is zero: k g i j = 0 . This is the metric compatibility condition. Expanding it gives:
k g i j Γ k i l g l j Γ k j l g i l = 0
Rearranging this expression gives:
k g i j = Γ k i l g l j + Γ k j l g i l
After some manipulation, we obtain the Christoffel symbols as:
Γ i j k = 1 2 g k l i g j l + j g i l l g i j
In Cartesian coordinates, the metric tensor g i j is the identity matrix, g i j = δ i j , and its derivatives vanish. Thus, the Christoffel symbols are: Γ i j k = 0 . In curvilinear coordinates, the Christoffel symbols are generally non-zero. For example, in 2D polar coordinates ( r , θ ) , the metric tensor is:
g i j = 1 0 0 r 2
One of the non-zero Christoffel symbols in polar coordinates is: Γ r θ θ = 1 r .

19.1.4. Christoffel Symbols of the Second Kind

The Christoffel symbols of the second kind, often denoted as Γ i j k , represent the components of the Levi-Civita connection in a local coordinate system on a differentiable manifold. They are used to express the covariant derivative of tensor fields and play a crucial role in general relativity, Riemannian geometry, and differential geometry in general.
Let M be an n-dimensional differentiable manifold with a smooth Riemannian metric tensor g. The Christoffel symbols of the second kind Γ i j k represent the components of the connection in a coordinate basis. The Christoffel symbols are defined by the following equation for the covariant derivative of the basis vector fields x i :
x i x j = Γ i j k x k
The covariant derivative on a manifold must satisfy the condition of metric compatibility, meaning that the covariant derivative of the metric tensor g is zero k g i j = 0 . Expanding the covariant derivative of the metric tensor gives:
k g i j Γ k i l g l j Γ k j l g i l = 0
Rearranging the equation from metric compatibility:
k g i j = Γ k i l g l j + Γ k j l g i l
Cyclically permuting the indices i, j, and k, and adding/subtracting the resulting equations, we obtain:
k g i j + i g j k j g k i = 2 Γ k i l g l j
Multiplying by g k l , we find the Christoffel symbols:
Γ i j k = 1 2 g k l i g j l + j g i l l g i j
The Christoffel symbols are symmetric in the lower two indices: Γ i j k = Γ j i k . This follows from the symmetry of the metric tensor g i j = g j i . The Christoffel symbols describe how basis vectors change as we move on the manifold. In general relativity, they are used in the geodesic equation:
d 2 x i d τ 2 + Γ j k i d x j d τ d x k d τ = 0
In a holonomic basis, the basis vectors x i are derived directly from a coordinate system. These vectors commute: x i , x j = 0 . In a nonholonomic basis, the basis vectors e a may not commute [ e a , e b ] = C a b c e c where C a b c are the structure constants. The covariant derivative in a nonholonomic basis { e a } is given by:
e a e b = ω a b c e c
where ω a b c are the connection coefficients. The structure constants C a b c are defined by: [ e a , e b ] = C a b c e c . These constants are antisymmetric C a b c = C b a c . In a nonholonomic basis, the connection coefficients are related to the Christoffel symbols Γ a b c by:
ω a b c = Γ a b c + 1 2 C a b c
We derive the connection coefficients as:
ω a b c = 1 2 g c d a g b d + b g a d d g a b + 1 2 C a b c
In general, the connection coefficients ω a b c are not symmetric in their lower indices due to the structure constants.

19.1.5. Transformation Law for Christoffel Symbols

The Christoffel symbols Γ i j k define the covariant derivative in a given coordinate system. In this document, we derive the transformation law for the Christoffel symbols under a change of variables, focusing on the relationship between the original and transformed coordinates. The Christoffel symbols in a local coordinate system ( x i ) are defined through the covariant derivative of the basis vectors:
x j x k = Γ j k i x i
Let ( x 1 , , x n ) and ( x ¯ 1 , , x ¯ n ) be two coordinate systems related by a smooth map x ¯ i = x ¯ i ( x 1 , , x n ) . The Jacobian matrix is given by: x ¯ i x j . The basis vectors transform as:
x i = x ¯ j x i x ¯ j
The transformation law for the Christoffel symbols is:
Γ ¯ k l m = x ¯ m x i x j x ¯ k x n x ¯ l Γ j n i + x ¯ m x p 2 x p x ¯ k x ¯ l
The Christoffel symbols are symmetric in their lower indices, and this symmetry is preserved under the transformation:
Γ i j k = Γ j i k

19.2. Parallel Transport in Riemannian Space

A Riemannian manifold ( M , g ) consists of a differentiable manifold equipped with a smooth, symmetric, positive-definite metric tensor g, which defines an inner product at each point. In local coordinates, the metric tensor is:
g = g i j ( x ) d x i d x j
where g i j = g x i , x j . Parallel transport describes how a vector field V ( t ) is moved along a curve γ ( t ) such that its covariant derivative vanishes:
γ ˙ ( t ) V ( t ) = 0
The covariant derivative satisfies linearity, the Leibniz rule, and metric compatibility. The Christoffel symbols Γ i j k are defined by:
j V i = j V i + Γ j k i V k
The Christoffel symbols are determined by the metric compatibility condition: k g i j = 0 Expanding this, we get:
k g i j Γ k i l g l j Γ k j l g i l = 0
By permuting indices and solving, we find:
Γ i j k = 1 2 g k l i g j l + j g i l l g i j
The Christoffel symbols describe how vectors are parallel transported along curves. For a vector V i ( t ) being parallel transported along a curve γ ( t ) , the condition is:
d V i d t + Γ j k i d γ j d t V k = 0
The Christoffel symbols Γ i j k describe the covariant derivative of a vector field V i in the direction of x j :
j V i = j V i + Γ j k i V k
In index-free notation, the covariant derivative X V of a vector field V along X satisfies linearity and the Leibniz rule:
X ( f V ) = f X V + ( X f ) V
In a coordinate system, the covariant derivative is expressed in indexed notation as:
X Y = X i i Y j + X i Γ i k j Y k x j
In index-free notation, it is written abstractly as:
X Y = abstract connection operator acting on X and Y
The Levi-Civita connection satisfies the metric compatibility condition g = 0 , expressed in indexed notation as: k g i j = 0 . In index-free notation, this is written as:
( X g ) ( Y , Z ) = 0
The Christoffel symbols provide a coordinate-based description of the connection, while index-free notation describes the connection in an abstract, coordinate-independent manner.

19.2.1. Derivation of the Relationship to Index-Free Notation

The Christoffel symbols in the indexed notation are used to represent the covariant derivative in a coordinate basis. For a Riemannian manifold ( M , g ) with local coordinates ( x 1 , x 2 , , x n ) , the Christoffel symbols Γ i j k are defined through the covariant derivative of a vector field V i in the direction of a coordinate basis vector x j :
j V i = j V i + Γ j k i V k
Here, the covariant derivative is expressed in terms of the partial derivative j = x j and the Christoffel symbols Γ j k i , which describe how the coordinate basis vectors x i change as one moves through the manifold.
In contrast to the indexed representation, the index-free notation expresses geometric objects and operations without explicit reference to coordinates. Instead, the focus is on the intrinsic geometric meaning of these objects.
The covariant derivative of a vector field V in the direction of a vector field X is denoted by X V in index-free notation. This can be understood as a directional derivative of the vector field V along X, and is defined such that:
  • X ( a V + b W ) = a X V + b X W (linearity),
  • X ( f V ) = f X V + ( X f ) V (Leibniz rule).
Here, f is a smooth scalar function, and a and b are constants. In index-free notation, the Christoffel symbols do not appear explicitly. Instead, the connection is defined abstractly as a map that takes two vector fields X and Y and returns another vector field X Y . This abstract map satisfies the linearity and Leibniz rules described above.
Let { e i } be a local frame (or basis vector fields) on the manifold, such that e i = x i in local coordinates. The Christoffel symbols describe how these basis vectors change with respect to each other under parallel transport, and in index-free notation, the covariant derivative e i e j (in terms of the basis vectors) can be written as:
e i e j = Γ i j k e k
This relation defines the Christoffel symbols Γ i j k in terms of how the basis vector e j changes in the direction of the basis vector e i . In index-free notation, we avoid explicitly writing the indices and instead describe the relationship in terms of the abstract covariant derivative and vector fields. The Levi-Civita connection is the unique connection on a Riemannian manifold that satisfies two important properties:
  • Metric compatibility: g = 0 , meaning that the covariant derivative of the metric tensor g is zero. In other words, the inner product of vector fields is preserved under parallel transport.
  • Torsion-free condition: The connection is symmetric, meaning that for any two vector fields X and Y,
    X Y Y X = [ X , Y ]
    where [ X , Y ] denotes the Lie bracket of the vector fields X and Y. This condition ensures that the connection is torsion-free.
In index-free notation, these two conditions provide an abstract way to define the connection without referring to the Christoffel symbols explicitly. The connection is understood as a map that satisfies these two properties. The Christoffel symbols can be derived from the metric compatibility condition in both indexed and index-free notation. In indexed notation, the condition g = 0 is written as:
k g i j = 0
Expanding this in terms of the Christoffel symbols gives:
k g i j Γ k i l g l j Γ k j l g i l = 0
This equation shows how the Christoffel symbols are related to the partial derivatives of the metric tensor.
In index-free notation, the same condition is expressed without reference to a coordinate system. The covariant derivative of the metric tensor is written as:
( X g ) ( Y , Z ) = 0
for any vector fields X, Y, and Z. This equation means that the inner product g ( Y , Z ) remains constant under parallel transport in the direction of X. Using this condition, we can derive the Christoffel symbols by working with the abstract covariant derivative and the metric in an intrinsic manner, but without introducing explicit coordinate indices.
In indexed notation, the Christoffel symbols explicitly describe the connection coefficients in terms of the coordinates. However, in index-free notation, the connection itself is viewed as an abstract operator that satisfies the properties of linearity, the Leibniz rule, and metric compatibility, without direct reference to the coordinate system. To see the relationship between these two notations, we observe that in local coordinates, the covariant derivative X Y can be written as:
X Y = X i i Y j + X i Γ i k j Y k x j
This is the indexed version of the covariant derivative. In index-free notation, we express this in terms of abstract vector fields and operators:
X Y = abstract connection operator acting on X and Y
The relationship between the two notations is that the Christoffel symbols Γ i k j in indexed notation provide the components of the abstract connection in a local coordinate system. The index-free notation is more geometric and abstract, emphasizing the intrinsic properties of the connection, while the indexed notation provides a detailed, coordinate-based description.
In many geometric applications, especially in differential geometry and general relativity, index-free notation is preferred because it abstracts away the dependence on specific coordinates and emphasizes the geometric properties of objects like vectors, tensors, and connections. This allows us to express geometric concepts such as curvature and geodesics in a coordinate-independent manner. For example, the Riemann curvature tensor can be written in index-free notation as:
R ( X , Y ) Z = X Y Z Y X Z [ X , Y ] Z
This expression highlights the curvature as a map that depends on vector fields X, Y, and Z, without requiring explicit coordinate indices.

19.2.2. Christoffel Symbols In Earth Surface Coordinates

Given a spherical coordinate system, which describes points on the Earth surface (approximated as an ideal sphere),
x ( R , θ , φ ) = R cos θ cos φ , R cos θ sin φ , R sin θ
For a point x, R is the distance to the Earth’s core (usually approximately the Earth radius). θ and φ are the latitude and longitude. Positive θ is the northern hemisphere. To simplify the derivatives, the angles are given in radians (where d sin ( x ) / d x = cos ( x ) , the degree values introduce an additional factor of 360 / 2 π ).
At any location, the tangent directions are e R (up), e θ (north), and e φ (east) - you can also use indices 1, 2, 3.
e R = cos θ cos φ , cos θ sin φ , sin θ
e θ = R · sin θ cos φ , sin θ sin φ , cos θ
e φ = R · cos θ sin φ , cos θ cos φ , 0
The related metric tensor has only diagonal elements (the squared vector lengths). This is an advantage of the coordinate system and not generally true.
g R R = 1 g θ θ = R 2 g φ φ = R 2 cos 2 θ
g i j = 0 else
g R R = 1 g θ θ = 1 R 2 g φ φ = 1 R 2 cos 2 θ
g i j = 0 else
Now the necessary quantities can be calculated. Examples:
e R = g R R e R · e R = ( cos θ cos φ , cos θ sin φ , sin θ )
Γ φ R φ = e φ · R e φ = e φ · R cos θ cos φ , R cos θ sin φ , 0 = R cos 2 θ
The resulting Christoffel symbols of the second kind Γ j i k = e k · e j x i then are (organized by the "derivative" index i in a matrix):
Γ R R R Γ θ R R Γ φ R R Γ R R θ Γ θ R θ Γ φ R θ Γ R R φ Γ θ R φ Γ φ R φ = 0 0 0 0 0 1 R 0 1 R 0
Γ R θ R Γ θ θ R Γ φ θ R Γ R θ θ Γ θ θ θ Γ φ θ θ Γ R θ φ Γ θ θ φ Γ φ θ φ = 0 1 R 0 1 R 0 tan θ 0 0 0
Γ R φ R Γ θ φ R Γ φ φ R Γ R φ θ Γ θ φ θ Γ φ φ θ Γ R φ φ Γ θ φ φ Γ φ φ φ = 0 0 R cos 2 θ 0 0 tan θ 1 R 1 R 0
These values show how the tangent directions (columns: e R , e θ , e φ ) change, seen from an outside perspective (e.g., from space), but given in the tangent directions of the actual location (rows: R , θ , φ ).

19.3. Covariant Derivative of Tensors

We begin with the simplest case: the covariant derivative of a vector field. Let V = V i x i be a vector field on a Riemannian manifold ( M , g ) . The covariant derivative of the vector field V in the direction of another vector field X = X j x j is denoted by X V , and is given in local coordinates as:
X V = X j j V i + X j Γ j k i V k x i
where Γ j k i are the Christoffel symbols of the Levi-Civita connection, and j V i represents the partial derivative of the component V i of the vector field. This expression can be understood as a directional derivative that is adjusted by the Christoffel symbols to account for the curvature of the manifold.
Next, consider a covector field (also known as a 1-form) ω = ω i d x i . The covariant derivative of a covector field is slightly different because the Christoffel symbols must be applied in a way that respects the transformation properties of covectors. The covariant derivative of the covector field ω in the direction of a vector field X = X j x j is denoted by X ω , and in local coordinates is given by:
X ω = X j j ω i X j Γ j i k ω k d x i
Here:
  • j ω i is the partial derivative of the component ω i of the covector field.
  • The Christoffel symbols Γ j i k account for the change in the basis for the covector components.
The minus sign in the second term arises because covectors transform contragrediently to vectors.
Let’s now extend the notion of the covariant derivative to a general tensor field. A tensor field T of type ( r , s ) has r contravariant indices (upper indices) and s covariant indices (lower indices). The components of such a tensor are denoted by T j 1 j 2 j s i 1 i 2 i r , and it can be written as:
T = T j 1 j 2 j s i 1 i 2 i r x i 1 x i 2 d x j 1 d x j 2
The covariant derivative of the tensor T in the direction of a vector field X = X k x k is denoted X T , and in local coordinates, the covariant derivative is defined as:
X T = X k k T
where k is the covariant derivative with respect to the coordinate direction x k . The components of the covariant derivative of T are given by:
k T j 1 j 2 j s i 1 i 2 i r = k T j 1 j 2 j s i 1 i 2 i r + m = 1 r Γ k l i m T j 1 j 2 j s i 1 l i r n = 1 s Γ k j n l T j 1 l j s i 1 i 2 i r
k T j 1 j 2 j s i 1 i 2 i r is the ordinary partial derivative of the tensor components. The first summation m = 1 r Γ k l i m T j 1 j 2 j s i 1 l i r involves the Christoffel symbols acting on the contravariant indices (upper indices). Each contravariant index contributes a positive term involving the Christoffel symbol. The second summation n = 1 s Γ k j n l T j 1 l j s i 1 i 2 i r involves the Christoffel symbols acting on the covariant indices (lower indices). Each covariant index contributes a negative term involving the Christoffel symbol.
This formula ensures that the covariant derivative transforms correctly under coordinate changes, respecting the tensorial nature of T. As an example, consider a rank-2 tensor field T i 1 i 2 , which is a tensor with two contravariant indices. The covariant derivative of this tensor is given by:
k T i 1 i 2 = k T i 1 i 2 + Γ k l i 1 T l i 2 + Γ k l i 2 T i 1 l
Similarly, for a rank-2 covariant tensor  T j 1 j 2 , the covariant derivative is:
k T j 1 j 2 = k T j 1 j 2 Γ k j 1 l T l j 2 Γ k j 2 l T j 1 l
These formulas are special cases of the general formula for the covariant derivative of a tensor field, with the Christoffel symbols acting appropriately on each index.
The covariant derivative of a tensor field can be interpreted geometrically as a measure of how the tensor field changes as we move from one point to another on the manifold, taking into account the manifold’s curvature. The Christoffel symbols adjust the ordinary derivative by accounting for how the basis vectors and the metric change across the manifold. For example:
  • In the case of a vector field, the covariant derivative measures how the vector changes as we move along the manifold while accounting for the curvature.
  • In the case of a covector field, the covariant derivative measures how the covector changes along the manifold, again incorporating the manifold’s geometry.
The geometric importance of the covariant derivative lies in its ability to describe derivatives on curved spaces in a way that respects the underlying geometry, which ordinary partial derivatives cannot do. Substituting Equation (61) into Equation (60), we get:
A x j = A i x j e i + Γ i j k A i e k = A i x j + Γ j k i A k e i ,
where the names of the dummy indices i and k are swapped after the second equality.
Definition 4.3. The covariant derivative of a contravariant vector, A i , is given by:
j A i A i x j + Γ j k i A k ,
where the adjective covariant refers to the fact that the index on the differentiation operator ( j ) is in the covariant (lower) position. Thus, Equation (75) becomes:
A x j = j A i e i .
Thus, the i-th contravariant component of the vector A x j relative to the covariant basis e i is the covariant derivative of the i-th contravariant component of the vector, A i , with respect to the coordinate x j . In general, covariant derivatives are much more cumbersome than partial derivatives as the covariant derivative of any one tensor component involves all tensor components for non-zero Christoffel symbols. Only for Cartesian coordinates—where all Christoffel symbols are zero—do covariant derivatives reduce to ordinary partial derivatives.
Consider now the transformation of the covariant derivative of a contravariant vector from the coordinate system x i to x ˜ p . Thus, using equations (59) and (74), we have:
q ˜ A ˜ p = A ˜ p x ˜ q + Γ ˜ q r p A ˜ r = x j x ˜ q x ˜ p x i A i x j + x j x ˜ q 2 x ˜ p x j x i A i + Γ j k i x j x ˜ q x k x ˜ r x ˜ p x i + x ˜ p x i 2 x i x ˜ q x ˜ r x ˜ r x l A l .
Now for some fun. Remembering we can swap the order of differentiation between linearly independent quantities, and exploiting our freedom to rename dummy indices at whim, we rewrite the last term of Equation (78) as:
x ˜ p x i x ˜ r x l x ˜ r x i x ˜ q A l = x ˜ p x i x l x i x ˜ q A l = x l x ˜ p x i x i x ˜ q x i x ˜ q x l x ˜ p x i A l .
Thus, Equation (78) becomes:
q ˜ A ˜ p = x j x ˜ q x ˜ p x i j A i ,
and the covariant derivative of a contravariant vector is a mixed rank 2 tensor.

19.4. Applications

19.4.1. Application 1: Geodesic Equation

A geodesic is the shortest path between two points on a curved manifold, analogous to a straight line in flat Euclidean space. On a Riemannian manifold, the equation that describes a geodesic is derived using the concept of parallel transport and involves the Christoffel symbols.
Let γ ( t ) be a curve on the manifold, parametrized by t, and let γ ˙ ( t ) represent the tangent vector to the curve at each point. The condition that γ ( t ) is a geodesic is that the tangent vector γ ˙ ( t ) is parallel transported along the curve. This gives the geodesic equation:
γ ˙ ( t ) γ ˙ ( t ) = 0
In local coordinates, the components of the geodesic equation can be written as:
d 2 γ i d t 2 + Γ j k i d γ j d t d γ k d t = 0
This is the geodesic equation in terms of the Christoffel symbols Γ j k i , which account for the curvature of the manifold. Here:
  • d 2 γ i d t 2 represents the second derivative of the coordinates of the curve γ ( t ) .
  • Γ j k i are the Christoffel symbols that describe how the coordinate basis vectors change as we move along the curve.
Consider a curve γ ( t ) on the manifold, with tangent vector γ ˙ ( t ) .The condition for γ ( t ) to be a geodesic is that the covariant derivative of γ ˙ ( t ) along itself vanishes:
γ ˙ γ ˙ = 0
In local coordinates, the tangent vector is γ ˙ i = d γ i d t , and the covariant derivative of the tangent vector along itself is:
γ ˙ γ ˙ i = d 2 γ i d t 2 + Γ j k i d γ j d t d γ k d t
Setting this equal to zero gives the geodesic equation:
d 2 γ i d t 2 + Γ j k i d γ j d t d γ k d t = 0
Geodesics are the paths that particles or objects follow when moving under no external forces in curved spacetime, and the Christoffel symbols account for the effects of curvature on these paths.

19.4.2. Application 2: Riemann Curvature Tensor

The Riemann curvature tensor is a fundamental object in differential geometry that measures the curvature of a Riemannian manifold. It describes how the geometry of the manifold deviates from being flat and is defined in terms of the Christoffel symbols and their derivatives.
The Riemann curvature tensor R j k l i is given by:
R j k l i = k Γ j l i l Γ j k i + Γ k m i Γ j l m Γ l m i Γ j k m
This equation describes the curvature in terms of the change in the Christoffel symbols as we move across the manifold. k Γ j l i l Γ j k i : These terms represent how the Christoffel symbols vary from point to point on the manifold, which is related to how the geometry changes. Γ k m i Γ j l m Γ l m i Γ j k m : These terms account for how the Christoffel symbols interact with each other, capturing the nonlinearity of the space.
The Riemann curvature tensor measures the failure of parallel transport to be path-independent. Specifically, it quantifies how much a vector changes when parallel transported around a small closed loop on the manifold. If the manifold is flat (like Euclidean space), the Riemann curvature tensor vanishes.

19.4.3. Application 3: Ricci Tensor and Ricci Scalar

The Ricci tensor  R i j is obtained by contracting the Riemann curvature tensor over one of its indices. It is defined as:
R i j = R i k j k
The Ricci tensor is a trace of the Riemann curvature tensor and describes how the volume of a small geodesic ball deviates from the volume of a similar ball in flat space due to curvature. The Ricci scalar R is obtained by further contracting the Ricci tensor:
R = g i j R i j
The Ricci scalar provides a single number at each point on the manifold that describes the degree to which the manifold is curved. Start with the Riemann curvature tensor R j k l i . Contract over the first and third indices to obtain the Ricci tensor:
R i j = R i k j k = k Γ i j k j Γ i k k + Γ k l k Γ i j l Γ j l k Γ i k l
Contract the Ricci tensor with the metric g i j to get the Ricci scalar:
R = g i j R i j
The Ricci tensor and Ricci scalar are important in general relativity, as they appear in the Einstein field equations that describe the relationship between the curvature of spacetime and the distribution of matter and energy. The Einstein field equations are the fundamental equations of general relativity, describing how matter and energy influence the curvature of spacetime. They are given by:
R i j 1 2 g i j R = 8 π G T i j
where: R i j is the Ricci tensor, R is the Ricci scalar, g i j is the metric tensor, T i j is the stress-energy tensor, which describes the distribution of matter and energy in spacetime, G is the gravitational constant.
The Einstein field equations relate the geometry of spacetime (represented by the Ricci tensor, Ricci scalar, and metric) to the matter and energy content of spacetime (represented by the stress-energy tensor). The term R i j 1 2 g i j R describes the curvature of spacetime, and the right-hand side 8 π G T i j describes the matter and energy that cause this curvature. The equations are derived by combining the geometric properties of the Ricci tensor and scalar with physical principles such as the conservation of energy and momentum.
In this extremely rigorous derivation, we have covered the following key points:
  • The geodesic equation, which describes the motion of particles in curved space and involves the Christoffel symbols to account for curvature.
  • The Riemann curvature tensor, which measures the intrinsic curvature of a manifold and is expressed in terms of the Christoffel symbols and their derivatives.
  • The Ricci tensor and Ricci scalar, which are contractions of the Riemann curvature tensor and describe aspects of curvature related to volume distortion.
  • The Einstein field equations, which link the geometry of spacetime (curvature) to the matter and energy content through the stress-energy tensor.
These applications of the Christoffel symbols are foundational to the study of Riemannian geometry and general relativity. They provide the framework for understanding the relationship between curvature, geometry, and physical phenomena in both mathematics and physics.

References

  1. Borisenko, A. I. (1968). Vector and tensor analysis with applications. Courier Corporation.
  2. Salençon, J. (2012). Handbook of continuum mechanics: General concepts thermoelasticity. Springer Science and Business Media.
  3. Lebedev, L. P. , Cloud, M. J., and Eremeyev, V. A. (2010). Tensor analysis with applications in mechanics. World Scientific.
  4. Basar, Y. , and Weichert, D. (2013). Nonlinear continuum mechanics of solids: fundamental mathematical and physical concepts. Springer Science and Business Media.
  5. Papastavridis, J. G. (2018). Tensor calculus and analytical dynamics. Routledge.
  6. Sahraee, S. , and Wriggers, P. (2023). Representation of Tensorial Variables in Curvilinear Coordinates. In Tensor Calculus and Differential Geometry for Engineers: With Solved Exercises (pp. 169-207). Cham: Springer Nature Switzerland.
  7. Naghdi, P. M., and Wainwright, W. L. (1961). On the time derivative of tensors in mechanics of continua. Quarterly of Applied Mathematics, 19(2), 95-109.
  8. Shapiro, I. L. (2019). Derivatives of Tensors, Covariant Derivatives. In A Primer in Tensor Analysis and Relativity (pp. 55-65). Cham: Springer International Publishing.
  9. Langlois, W. E., Deville, M. O., Langlois, W. E., and Deville, M. O. (2014). Curvilinear Coordinates. Slow Viscous Flow, 81-104.
  10. Grinfeld, P. (2013). Introduction to tensor analysis and the calculus of moving surfaces (pp. 135-36). New York: Springer.
  11. Bishop, R. L. , and Goldberg, S. I. (2012). Tensor analysis on manifolds. Courier Corporation.
  12. Do Carmo, M. P. (2016). Differential geometry of curves and surfaces: revised and updated second edition. Courier Dover Publications.
  13. Flügge, W. (1972). Tensor analysis and continuum mechanics (p. 153). New York: Springer.
  14. Willmore, T. J. (2013). An introduction to differential geometry. Courier Corporation.
  15. Boehler, J. P. (1987). Applications of tensor functions in solid mechanics (Vol. 292, pp. 13-30). J. P. Boehler (Ed.). New York: Springer.
  16. Synge, J. L. , and Schild, A. (1978). Tensor calculus (Vol. 5). Courier Corporation.
  17. Guggenheimer, H. W. (2012). Differential geometry. Courier Corporation.
  18. Kobayashi, S. , and Nomizu, K. (1996). Foundations of differential geometry, volume 2 (Vol. 61). John Wiley and Sons.
  19. Lee, J. M. , and Lee, J. M. (2012). Smooth manifolds (pp. 1-31). Springer New York.
  20. Wald, R. M. (2010). General relativity. University of Chicago press.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated