How Do You Compute the Divergence of a Vector Function Over a Scalar Field?

  • Thread starter Thread starter yungman
  • Start date Start date
  • Tags Tags
    Curl Divergence
Click For Summary

Homework Help Overview

The discussion revolves around computing the divergence of a vector function over a scalar field, specifically the expression for the divergence of the vector function \(\vec {F}(\vec {r}')\) divided by the distance \(|\vec {r}-\vec{r}'|\). Participants explore the implications of the Helmholtz decomposition and the roles of the variables involved.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants question how to correctly apply the divergence operator given the dependence on different coordinate systems. There is discussion about whether to differentiate with respect to \(\vec{x}\) or \(\vec{x}'\). Some participants attempt to derive the divergence using the product rule and express their reasoning about the independence of \(\vec{F}(\vec{r}')\) from \(\vec{r}\).

Discussion Status

There is an ongoing exploration of the correct application of divergence in this context. Some participants have provided guidance on the use of the product rule and the implications of the scalar field on the vector function. Multiple interpretations of the problem are being discussed, with some participants expressing agreement on the reasoning presented.

Contextual Notes

Participants note the complexity introduced by the different coordinate systems and the need to clarify which variables are being differentiated. The discussion also highlights the importance of understanding the Helmholtz decomposition in this context.

yungman
Messages
5,741
Reaction score
291
Let ##\vec {F}(\vec {r}')## be a vector function of position vector ##\vec {r}'=\hat x x'+\hat y y'+\hat z z'##. I want to find ##\nabla\cdot\frac {\vec {F}(\vec {r}')}{|\vec {r}-\vec{r}'|}##.

My attempt:
Let ##\vec {r}=\hat x x+\hat y y+\hat z z##. Since ##\nabla## work on ##x,y,z##, not ##x',y',z##'
\Rightarrow\;\nabla\cdot\vec {F}(\vec{r}')=\nabla\times\vec {F}(\vec{r}')=0
Then ##\frac {1}{|\vec {r}-\vec{r}'|}## is not even a vector. How can I perform ##\nabla\cdot\frac {\vec {F}(\vec {r}')}{|\vec {r}-\vec{r}'|}##?




BUT
according to http://faculty.uml.edu/cbaird/95.657%282012%29/Helmholtz_Decomposition.pdf. It uses:
\nabla\cdot (\Phi\vec A)=\vec A\cdot\nabla\Phi+\Phi\nabla\cdot\vec A\;\hbox { Where }\;\Phi=\frac{1}{|\vec {r}-\vec{r}'|}\;\hbox {and }\;\vec A=\vec {F}(\vec {r}')
You can see this from the bottom of page 2 to the top of page 3. I cannot agree with this, ##\vec A=\vec {F}(\vec {r}')## is function of ##x',y',z'##, it's a constant respect to ##x,y,z## as indicated above.

Even the Wikipadia use the same method:http://en.wikipedia.org/wiki/Helmholtz_decomposition. You can see the 5th equation under "Proof".

Please tell me what's going on. Thanks
 
Last edited:
Physics news on Phys.org
With respect to which vector do you want to take the derivatives? It's important to say, whether you want to calculate \partial/\partial \vec{x} or \partial/\partial \vec{x}'!
 
vanhees71 said:
With respect to which vector do you want to take the derivatives? It's important to say, whether you want to calculate \partial/\partial \vec{x} or \partial/\partial \vec{x}'!

I think I got the answer, please verify my finding:

\nabla\cdot\frac {\vec {F}(\vec {r}')}{|\vec {r}-\vec{r}'|}=\frac{\partial}{\partial x}\left(\frac{1}{|\vec {r}-\vec{r}'|}F_{x'}\right)+\frac{\partial}{\partial y}\left(\frac{1}{|\vec {r}-\vec{r}'|}F_{y'}\right)+\frac{\partial}{\partial z}\left(\frac{1}{|\vec {r}-\vec{r}'|}F_{z'}\right)
=\nabla\left(\frac{1}{|\vec {r}-\vec{r}'|}\right)\cdot \vec {F}(\vec {r}')+\left(\frac{1}{|\vec {r}-\vec{r}'|}\right)(\nabla\cdot\vec{F}(\vec{r}'))
\hbox{Because }\;\nabla\cdot \vec {F}(\vec {r}')=0
\Rightarrow\;\nabla\cdot\frac {\vec {F}(\vec {r}')}{|\vec {r}-\vec{r}'|}=\vec {F}(\vec {r}')\cdot\nabla\left(\frac{1}{|\vec {r}-\vec{r}'|}\right)

Even though ##\vec {F}(\vec {r}')## is not a function of ##(x,y,z)## but you still need to tread it as a vector and use the product rule. Am I correct.
 
Last edited:
Indeed, even though \vec{F}(\vec{r}') is independent of \vec{r}, the vector \frac{\vec{F}(\vec{r}')}{|\vec{r}-\vec{r}'|} is not and it will have nonzero divergence with respect to the unprimed coordinates. The formula you gave in your first post is correct, we should have

$$ \nabla \cdot \left( \frac{\vec{F}(\vec{r}')}{|\vec{r}-\vec{r}'|} \right) = \frac{1}{|\vec{r}-\vec{r}'|} \left( \nabla \cdot \vec{F}(\vec{r}') \right) + \vec{F}(\vec{r}') \cdot \left( \nabla \frac{1}{|\vec{r}-\vec{r}'|} \right) $$

where the last term involves a gradient of a scalar. As you say, the first term on the right hand side is zero, so only the last term contributes. The above formula shouldn't be too hard to derive yourself, try writing it out in components.
 
  • Like
Likes   Reactions: 1 person
king vitamin said:
Indeed, even though \vec{F}(\vec{r}') is independent of \vec{r}, the vector \frac{\vec{F}(\vec{r}')}{|\vec{r}-\vec{r}'|} is not and it will have nonzero divergence with respect to the unprimed coordinates. The formula you gave in your first post is correct, we should have

$$ \nabla \cdot \left( \frac{\vec{F}(\vec{r}')}{|\vec{r}-\vec{r}'|} \right) = \frac{1}{|\vec{r}-\vec{r}'|} \left( \nabla \cdot \vec{F}(\vec{r}') \right) + \vec{F}(\vec{r}') \cdot \left( \nabla \frac{1}{|\vec{r}-\vec{r}'|} \right) $$

where the last term involves a gradient of a scalar. As you say, the first term on the right hand side is zero, so only the last term contributes. The above formula shouldn't be too hard to derive yourself, try writing it out in components.

Thanks for the reply, I just updated the last post, please check my work. I think it's agreeing with you.

Thanks
 
Yes, your reasoning in the post looks perfect!
 
king vitamin said:
Yes, your reasoning in the post looks perfect!

Thanks
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
Replies
20
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K