Gradients of 1/r: Solutions from Griffiths' Electrodynamics

  • Thread starter Thread starter Flux = Rad
  • Start date Start date
  • Tags Tags
    Gradient
Click For Summary

Homework Help Overview

This discussion revolves around the gradient of the function \( \frac{1}{r} \) as presented in Griffiths' "Intro to Electrodynamics," particularly in the context of a polarized object with a dipole moment per unit volume \( \vec{P} \). Participants explore the implications of differentiating with respect to different coordinate systems, specifically the source coordinates denoted by \( \vec{r}' \).

Discussion Character

  • Conceptual clarification, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss various methods for calculating the gradient, including the use of the chain rule and spherical coordinates. Some express uncertainty about the relationship between the primed and unprimed coordinates and question how this affects the differentiation process.

Discussion Status

The conversation is ongoing, with participants providing insights and corrections to each other's reasoning. There is recognition of the complexity introduced by the different coordinate systems, and some participants suggest that the angular components may not be negligible despite the function depending solely on \( r \).

Contextual Notes

There is a noted ambiguity regarding the relationship between the source coordinates and the observation point, which is central to understanding the potential due to the dipole. Participants are working under the constraints of Griffiths' framework without access to the text itself.

Flux = Rad
Messages
22
Reaction score
0

Homework Statement



This is from Griffiths' Intro to Electrodynamics. He is discussing the field of a polarized object of dipole moment per unit volume \vec{P} viewed at \vec{r}.

He then states:

\nabla ' \left( \frac{1}{r} \right) = \frac{ \hat{r}}{r^2}

Where \nabla ' denotes that the differentiation is with respect to the source co-ordinates \vec{r}'


Homework Equations





The Attempt at a Solution



Following from the definition of the gradient,

\nabla &#039; \left( \frac{1}{r} \right) = \frac{-1}{r^3} \left[ x \frac{ \partial x}{\partial x&#039;} \hat{x}&#039; + y \frac{\partial y}{\partial y&#039;} \hat{y}&#039; + z \frac{\partial z}{\partial z&#039;} \hat{z} \right]<br />

So I guess all would be well as long as
\frac{\partial x}{\partial x&#039;} \hat{x}&#039; = - \hat{x}
However, this isn't clear to me at the moment
 
Physics news on Phys.org
The easiest method is to use the chain rule in r

d/dx = d r^2/dx * d/d r^2

r^2 = x^2+y^2+z^2

d r^2/dx = 2x

so d/dx= 2x d / dr^2 = 2x dr/dr^2 d/dr = (x/r) d/dr

d/dx (1/r) = -(x/r) 1/r^2
 
Well, just to complete the above:

grad (1/r) = (d/dx xhat + d/dy yhat +d/dz zhat) (1/r)
= -x/r^3 xhat -y/r^3 yhat -z/r^3 zhat
= -(x,y,z)/r^3=-rhat/r^2

apologies for being too lazy to latex this.

(edit- corrected dumb mistakes)
(edit again- corrected dumb corrections. Hopefully this is right now. I had to write it down)
 
Last edited:
The 'pro' method is to memorize the useful formula

grad (f(r))= rhat df(r)/dr

You can prove this using the methods above.
 
Why not use the gradient operator for spherical polar coordinates, noting that f is a function of r alone?
\nabla f=\hat{r}\frac{\partial f}{\partial r}+\hat{\theta}\frac{1}{r}\frac{\partial f}{\partial \theta}+\hat{\varphi}\frac{1}{r\sin\theta}\frac{\partial f}{\partial\varphi}
 
Thanks for the help so far.

Christianjb, what you've written is correct, but it proves
\nabla \left( \frac{1}{r} \right) = \frac{- \hat{r}}{r^2}

I'm cool with this, but my problem is that Griffiths is differentiating with respect to a different co-ordinate system (hence the prime on the gradient operator), which seems to cause one to lose a minus sign. He calls this the source coordinates and they are integrated over since we are not dealing with a point charge.

Christo, so if I use the spherical gradient, ignoring angular parts,
\nabla f = \hat{r} \frac{\partial f}{\partial r}
And presumably I can extend this to my case by changing the co-ordinate system so that
\nabla &#039; f = \hat{r}&#039; \frac{\partial f}{\partial r&#039;}
Now substituting 1/r for f,
\nabla &#039; \left( \frac{1}{r} \right) = \hat{r}&#039; \frac{\partial}{\partial r&#039;} \left(\frac{1}{r} \right) = \frac{- \hat{r}&#039;}{r^2} \frac{\partial r}{\partial r&#039;}

So that this time it appears that I require
\hat{r} = - \frac{\partial r}{\partial r&#039;} \hat{r}&#039;
in order to be in agreement with Griffiths.

This is kinda neater than what I first posted with individual components, but I'm still not sure why it's true.
 
Ok, I didn't notice the prime. What's the relationship between the primed and the unprimed coordinates? It may turn out that you cannot ignore the angular parts-- just because f is a function only of r it doesn't mean that f is a function of only r'.

(I don't have the text, so am relying solely on what you write here!)
 
Yeah, I was beginning to realize that was the problem. The relationship between the co-ordinate systems isn't explicitly stated.

What we've got is the usual arbitrary blob in space, which has a dipole moment per unit volume \vec{P}. We want to know what the potential is due to this blob.

For a simple dipole \vec{p} we have
<br /> V (\vec{r}) = \frac{1}{4 \pi \epsilon_0 } \frac{\hat{\mathcal{R}} \cdot \vec{p}}{\mathcal{R}^2}<br />

Where \mathcal{R} is the vector from the dipole to the point at which we are evaluating the potential.

So in our case we have a dipole moment
<br /> \vec{p} = \vec{P} d \tau&#039;<br /> in each volume element d \tau&#039; so the total potential is:

<br /> V(\vec{r}) = \frac{1}{4 \pi \epsilon_0} \int_\mathcal{V} \frac{ \hat{\mathcal{R}} \cdot \vec{P}( \vec{r}&#039;) }{\mathcal{R}^2} d \tau &#039;<br />

Now he states that
<br /> \nabla &#039; \left( \frac{1}{\mathcal{R}} \right) = \frac{\hat{\mathcal{R}}}{\mathcal{R}^2}<br />
where the differentiation is with respect to the source coordinates (\vec{r}&#039;)


To me, this isn't very clear but I reckon that we've got an origin. We want the potential at point \vec{r} from the origin. Now we have a dipole at position \vec{r} &#039;. And we are told that our point is at \vec{ \mathcal{R} } from the dipole.
So that surely \vec{\mathcal{R}} = \vec{r} - \vec{r}&#039;
 
It's a simple sign change when you diff wrt the axis coordinates.

In 1D- moving the origin 1 unit to the left has the effect of increasing all x values by 1. Thus the signs are reversed.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K