Divergence in spherical coordinates.

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 · 2K views
yungman
Messages
5,741
Reaction score
291
I want to verify:
[tex]\vec A=\hat R \frac{k}{R^2}\;\hbox{ where k is a constant.}[/tex]
[tex]\nabla\cdot\vec A=\frac{1}{R^2}\frac{\partial (R^2A_R)}{\partial R}+\frac{1}{R\sin\theta}\frac{\partial (A_{\theta}\sin\theta)}{\partial \theta}+\frac{1}{R\sin\theta}\frac{\partial A_{\phi}}{\partial \phi}[/tex]
[tex]\Rightarrow\;\nabla\cdot\vec A=\frac{1}{R^2}\frac{\partial \left(R^2\frac{k}{R^2}\right)}{\partial R}= \frac{1}{R^2}\frac{\partial k}{\partial R}=0[/tex]
 
Physics news on Phys.org
I don't have any problem with that until the last part. What does [itex]\partial k/\partial R[/itex] mean? If "k" is the unit vector in the z direction, it is a constant, and any derivative of it is 0.
 
He defines ##k## as a constant. So ##\frac{\partial k}{\partial R}## is the partial derivative of ##k## with respect to the variable ##R## which is zero, as he gets.
 
Thanks, this is part of a problem in Electrodynamics where the solution manual claimed it is not zero. I just want to verify.

Thanks for the help.