Gradient of a Scalar Function in Curvilinear Coordinates
📂Mathematical PhysicsGradient of a Scalar Function in Curvilinear Coordinates
Theorem
In a curvilinear coordinate system, the gradient of a scalar function f=f(q1,q2,q3) is as follows.
∇f=h11∂q1∂fq^1+h21∂q2∂fq^2+h31∂q3∂fq^3=i=1∑3hi1∂qi∂fq^i
hi is the scale factor.
Cartesian Coordinate System:
h1=h2=h3=1
∇f=∂x∂fx^+∂y∂fy^+∂z∂fz^
Cylindrical Coordinate System:
h1=1,h2=ρ,h3=1
∇f=∂ρ∂fρ^+ρ1∂ϕ∂fϕ^+∂z∂fz^
Spherical Coordinate System:
h1=1,h2=r,h3=rsinθ
∇f=∂r∂fr^+r1∂θ∂fθ^+rsinθ1∂ϕ∂fϕ^
Derivation
In the three-dimensional Cartesian coordinate system, a, which satisfies the following equation, is defined as the gradient of f, and is denoted as ∇f.
df=a⋅dr
The same definition is applied to any curvilinear coordinate system. The total differential of f is as follows.
df=∂q1∂fdq1+∂q2∂fdq2+∂q3∂fdq3
In a curvilinear coordinate system, the infinitesimal change in the position vector r is as follows.
dr=h1dq1q^1+h2dq2q^2+h3dq3q^3
Now, what we seek is a that satisfies the equation below.
df=a⋅dr
Given a=a1q^1+a2q^2+a3q^3, then (1) is as follows.
∂q1∂fdq1+∂q2∂fdq2+∂q3∂fdq3=a1h1dq1+a2h2dq2+a3h3dq3
Therefore, given ai=hi1∂qi∂f, the following holds true.
a=h11∂q1∂fq^1+h21∂q2∂fq^2+h31∂q3∂fq^3
Now, the vector a defined as the gradient of f and denoted as ∇f.
■
See Also