🧄Divergence in Spherical Coordinates Derivation and Verification

The derivation of the divergence v\nabla \cdot v in spherical coordinates begins with the general tensor calculus formula, v=1ga(gva)\nabla \cdot v=\frac{1}{\sqrt{g}} \partial_a\left(\sqrt{g} v^a\right). The crucial geometric factor for this coordinate system is the square root of the metric determinant, g=r2sin(θ)\sqrt{ g }= r ^{ 2 } \sin (\theta). Substituting this into the formula and simplifying yields the divergence in terms of the contravariant components (va):v=1r2r(r2vr)+1sin(θ)θ(sin(θ)vθ)+φvφ\left(v^a\right): \nabla \cdot v= \frac{1}{r^2} \partial_r\left(r^2 v^r\right)+\frac{1}{\sin (\theta)} \partial_\theta\left(\sin (\theta) v^\theta\right)+\partial_{\varphi} v^{\varphi}. To verify this result against the standard physics expression, the contravariant components were converted to the physical components ( v~a\tilde{v}_a ) using the relationship v~a= g aava\tilde{v}a=\sqrt{\text { g }{a a}} v^a, which introduces specific scaling factors like 1/r1 / r and 1/(rsin(θ))1 /(r \sin (\theta)) for the θ\theta and φ\varphi components, confirming the tensor-based derivation is consistent with the traditional vector analysis formula.

Last updated

Was this helpful?