How to deduct the gradient in spherical coordinates?

Click For 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 'What is the pressure of trapped air inside this tube?'
As you can see from the picture, i have an uneven U-shaped tube, sealed at the short end. I fill the tube with water and i seal it. So the short side is filled with water and the long side ends up containg water and trapped air. Now the tube is sealed on both sides and i turn it in such a way that the traped air moves at the short side. Are my claims about pressure in senarios A & B correct? What is the pressure for all points in senario C? (My question is basically coming from watching...

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K