Gradient in spherical coordinates problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 26K views
Theoretiker
Messages
22
Reaction score
0
Hello,

I need help. The topic is a gradient in spherical coordinates. In cartesian it is clear but in spherical coordinates I have two terms which I don't understand from where they come.

Okay, I have a scalar field in spherical coordinates:

[tex]\Phi = \Phi(r, \theta, \phi)[/tex]

I thought that this is the gradient but it is wrong and I don't know why :(

[tex]grad \Phi = \frac{\partial \phi}{\partial r} \vec{e}_{r} + \frac{\partial \phi}{\partial \theta} \vec{e}_{\theta} + \frac{\partial \phi}{\partial \phi} \vec{e}_{\phi}[/tex]

My mathbook tells me that this is the gradient in spherical coordinates but I don't understand the terms [tex]\frac{1}{r}[/tex] and [tex]\frac{1}{r \sin(\theta)}[/tex]

[tex]grad \Phi = \frac{\partial \phi}{\partial r} \vec{e}_{r} + \frac{1}{r} ~ \frac{\partial \phi}{\partial \theta} \vec{e}_{\theta} + \frac{1}{r \sin(\theta)} ~ \frac{\partial \phi}{\partial \phi} \vec{e}_{\phi}[/tex]


I would be thank you for helping :)

greetings

P.S.
Sorry for my bad english. I will practice and learn grammar for better english in the future ;)
 
Physics news on Phys.org
In Cartesian coordinates
[tex]\grad \phi= \frac{\partial \phi}{\partial x}\vec{i}+ \frac{\partial \phi}{\partial y}\vec{j}+ \frac{\partial \phi}{\partial z}\vec{k}[/tex]
Now you have to use the chain rule to convert those derivatives to spherical coordinates:
[tex]\frac{\partial\Phi}{\partial x}= \frac{\partial \Phi}{\partial \rho}\frac{\partial \rho}{\partial x}+ \frac{\partial \Phi}{\partial \theta}\frac{\partial \theta}{\partial x}+ \frac{\partial \Phi}{\partial \phi}\frac{\partial \phi}{\partial x}[/tex]
It's tedious but doable.
 
HallsofIvy said:
Now you have to use the chain rule to convert those derivatives to spherical coordinates:

This is what I don't saw. Thank you :)
 
you can define the gradient operator such that :

[tex]d \Phi = \left< grad \Phi , d\vec{r}\right >[/tex]

knowing that in spherical coordinates :

[tex]d\vec{r}\right = \vec{e}_{r} dr + \vec{e}_{\theta} \cdot r d\theta + \vec{e}_{\phi} \cdot r \cdot sin(\theta) d\phi[/tex]

then you should find what you want.