How to deduct the gradient in spherical coordinates?

AI Thread Summary
The gradient in spherical coordinates is defined by the formula ∇f(r, θ, φ) = ∂f/∂r * e_r + (1/r) * ∂f/∂θ * e_θ + (1/(r sin θ)) * ∂f/∂φ * e_φ. This formula is confirmed as correct, and there is interest in understanding its derivation. The derivation involves expressing the differential changes in terms of the normalized coordinate basis vectors. By comparing coefficients from the differential expressions, the relationships for each component of the gradient are established. The discussion concludes with a clear understanding of the gradient's formulation in spherical coordinates.
Physics news on Phys.org
The one given in Wikipedia is correct, or what is your question?
 
Should be this one:

\nabla f(r, \theta, \phi) = \frac{\partial f}{\partial r}\mathbf{e}_r+ \frac{1}{r}\frac{\partial f}{\partial \theta}\mathbf{e}_\theta+ \frac{1}{r \sin\theta}\frac{\partial f}{\partial \phi}\mathbf{e}_\phi
 
That's correct. Maybe you want to know, how to derive it?

The point is to write
\mathrm{d} \phi=\mathrm{d} \vec{r} \cdot \vec{\nabla} \phi=\mathrm{d} r \partial_r \phi + \mathrm{d} \vartheta \partial_{\vartheta} \phi + \mathrm{d} \varphi \partial_{\varphi}\phi<br />
in terms of the normalized coordinate basis (\vec{e}_r,\vec{e}_{\vartheta},\vec{e}_{\varphi}). The term from the variation of r is
\mathrm{d} r \frac{\partial \vec{r}}{\partial r} \cdot \vec{\nabla} \phi=\mathrm{d} r \vec{e}_r \cdot \vec{\nabla} \phi.
Comparing the coefficients of \mathrm{d} r gives
\vec{e}_r \cdot \vec{\nabla} \phi=\partial_r \phi.
For the \vartheta component
\mathrm{d} \vartheta \frac{\partial \vec{r}}{\partial \vartheta} \cdot \vec{\nabla} \phi = r \vec{e}_{\vartheta} \cdot \vec{\nabla} \phi, \;\Rightarrow \; \vec{e}_{\vartheta} \cdot \vec{\nabla} \phi=\frac{1}{r} \partial_{\vartheta} \phi,
and for \mathrm{d} \varphi
\mathrm{d} \varphi \frac{\partial \vec{r}}{\partial \varphi} \cdot \vec{\nabla} \phi = r \sin \vartheta \vec{e}_{\vartheta} \cdot \vec{\nabla} \phi, \; \Rightarrow \; \vec{e}_{\varphi} \cdot \vec{\nabla} \phi=\frac{1}{r \sin \varphi} \partial_{\vartheta} \phi,
 
  • Like
Likes 1 person
Now clear, thanks.
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...

Similar threads

Back
Top