# Griffiths, introduction to E.M, Pr. 10.8 (Lorentz gauge)

## Homework Statement

Confirm that the retarded potentials satisfy the Lorentz gauge condition.

## Homework Equations

$\vec{A}(\vec{r}, t) = \frac{\mu_{0}}{4\pi}\int\frac{\vec{J}(\vec{r'},t_{r})}{R}d\tau'$

$V(\vec{r}, t) = \frac{1}{4\pi\epsilon_{0}}\int\frac{\rho(\vec{r'},t_{r})}{R}d\tau'$

Where:

$\vec{r}$: position of measurement

$\vec{r'}$: integration variable (running on charge and current densities)

$R = |\vec{R}| = |\vec{r} - \vec{r'}|$

$t_{r}$ is the retarded time: $t_{r} = t - \frac{R}{c}$

$\vec{J}(\vec{r'},t_{r})$ is the current density (estimated at the point $\vec{r'}$ at the retarted time), and $\rho(\vec{r'},t_{r})$ is the charge density.

Lorentz gauge means:

$\nabla \cdot \vec{A} = -\epsilon_{0}\mu_{0} \frac{\partial V}{\partial t}$

## The Attempt at a Solution

Now, Griffiths gives a rather lengthy hint containing different formulas that one could apply in order to prove this. But I found his method cumbersome and could not understand why it's necessary (he uses relations between primed and unprimed operators and eventually gets there). For me, my "straight-forward" method is simpler, but for some reason it doesn't work. I'd really appreciate your insights!

$\nabla \cdot \vec{A} = \frac{\mu_{0}}{4\pi}\int\nabla \cdot (\frac{\vec{J}(\vec{r'},t_{r})}{R}) d\tau' = \frac{\mu_{0}}{4\pi}\int [\frac{1}{R}\nabla \cdot \vec{J} - \frac{1}{R^{2}} \hat{R} \cdot \vec{J}]d\tau'$

Meanwhile:

$-\epsilon_{0}\mu_{0} \frac{\partial V}{\partial t} = - \frac{\mu_{0}}{4\pi}\int \frac{\partial}{\partial t} (\frac{\rho(\vec{r'},t_{r})}{R})d\tau' = - \frac{\mu_{0}}{4\pi}\int \frac{1}{R}\frac{\partial \rho}{\partial t} d\tau' = \frac{\mu_{0}}{4\pi}\int \frac{1}{R}\nabla \cdot \vec{J} d\tau'$

Where in the last inequality I've used the continuity equation: $\frac{\partial \rho}{\partial t} = -\nabla \cdot \vec{J}$

So somehow the next equation should hold:

$\frac{\mu_{0}}{4\pi}\int \frac{1}{R}\nabla \cdot \vec{J} d\tau' = \frac{\mu_{0}}{4\pi}\int [\frac{1}{R}\nabla \cdot \vec{J} - \frac{1}{R^{2}} \hat{R} \cdot \vec{J}]d\tau'$

However, unless the integral containing $\frac{1}{R^{2}} \hat{R} \cdot \vec{J}$ vanishes, this is obviously wrong. And I can't seem to prove it vanishes.
Am I doing something wrong? Is any step here false? THANK YOU!

Tomer

## Answers and Replies

gabbagabbahey
Homework Helper
Gold Member
Where in the last inequality I've used the continuity equation: $\frac{\partial \rho}{\partial t} = -\nabla \cdot \vec{J}$

So somehow the next equation should hold:

$\frac{\mu_{0}}{4\pi}\int \frac{1}{R}\nabla \cdot \vec{J} d\tau' = \frac{\mu_{0}}{4\pi}\int [\frac{1}{R}\nabla \cdot \vec{J} - \frac{1}{R^{2}} \hat{R} \cdot \vec{J}]d\tau'$

The continuity equation tells you $\frac{\partial \rho ( \mathbf{r}, t)}{\partial t} = -\mathbf{\nabla} \cdot \mathbf{J} ( \mathbf{r}, t)$ (note the arguments of the charge and current densities!). You seem to be claiming that this means $\frac{\partial \rho ( \mathbf{r}', t_r)}{\partial t} = -\mathbf{\nabla} \cdot \mathbf{J} ( \mathbf{r}', t_r)$....is that really the case?

There's a reason that Dr. Griffiths' hint makes you pay special attention to the primed and unprimed coordinates .

Last edited:
Thanks very much for the reply!

Isn't it true that $\frac{\partial}{\partial t} \rho (\vec{r'}, t_{r}) = -\nabla \cdot \vec{J}(\vec{r'}, t_{r})$ ? I mean, what is the difference between $\vec{r}$ and $t$ to $\vec{r'}$ and $t_{r}$ ? These are just another coordinate set, why should the continuity equation not hold there? *confusing*

Is there a way to handle this? or do I really have to follow Griffith's method?

Last edited:
gabbagabbahey
Homework Helper
Gold Member
Thanks very much for the reply!

Isn't it true that $\frac{\partial}{\partial t} \rho (\vec{r'}, t_{r}) = -\nabla \cdot \vec{J}(\vec{r'}, t_{r})$ ?

No. If you pay attention to the functional dependence of $\rho$ and $\mathbf{J}$, you should see that the continuity equation $\frac{\partial \rho ( \mathbf{r}, t)}{\partial t} = -\mathbf{\nabla} \cdot \mathbf{J} ( \mathbf{r}, t)$ only tells you that $\frac{\partial \rho ( \mathbf{r}', t_r)}{\partial t_r} = -\mathbf{\nabla}' \cdot \mathbf{J} ( \mathbf{r}', t_r)$. That is, if you are going to make the substitutions $\mathbf{r} \to \mathbf{r}'$ & $t \to t_r$ in the continuity equation, it will affect the derivative operators as well as the charge & current densities.

Is there a way to handle this? or do I really have to follow Griffith's method?

I would say Griffiths' method is the quickest, but yours should work too if you can relate $\frac{\partial \rho ( \mathbf{r}', t_r)}{\partial t}$ to $\frac{\partial \rho ( \mathbf{r}', t_r)}{\partial t_r}$ (should be fairly easy!) and $\mathbf{\nabla} \cdot \mathbf{J} ( \mathbf{r'}, t_r)$ to $\mathbf{\nabla}' \cdot \mathbf{J} ( \mathbf{r'}, t_r)$ (more difficult).

Of course! Gotcha!
Thanks a lot for the help!

Hey again gab,
sorry, but apparently there's still something I'm missing.
I'm not sure how to get:

$\nabla' \cdot \vec{J}(\vec{r'},t_{r}) = -\frac{\partial \rho(\vec{r'},t_{r})}{\partial t_{r}} -\frac{1}{c}\dot{\vec{J}}(\vec{r'}, t_{r}) \cdot \nabla'(R)$

This is what Griffiths suggests we should prove.

You mentioned that the next equation holds:

$\nabla' \cdot \vec{J}(\vec{r'},t_{r}) = -\frac{\partial \rho(\vec{r'},t_{r})}{\partial t_{r}}$

which seems to contradict what Griffiths wanted us to show.

the first equality (the one Griffiths mentions) seems to make sense, although writing the "proof" looks ridiculous to me. When deriving the current density with respect to the primed coordinated, I understand there are both an explicit part and implicit, hidden in the retarded time. But it looks really weird when writing it. For example:

$\frac{\partial J_{x}(\vec{r'},t_{r})}{\partial x'} = \frac{\partial J_{x}(\vec{r'},t_{r})}{\partial x'} + \frac{\partial J_{x}(\vec{r'},t_{r})}{\partial t_{r}} \frac{\partial t_{r}}{\partial x'} = ...$

The first part (after doing so for all components) will result, after use of the continuity equation in the form you mentioned (with the primes) in the derivative of rho, whereas the rest results in the second term Griffith mentioned.

However:
1. It looks really weird that the partial derivative with respect to x' appears twice in the equation above, but I don't know how else to express the fact we have to perform these two derivatives...
2. What Griffiths wants to prove seems to contradict the "primed" continuity equation, although he uses it!

:-\

Last edited:
gabbagabbahey
Homework Helper
Gold Member
Hey again gab,
sorry, but apparently there's still something I'm missing.
I'm not sure how to get:

$\nabla' \cdot \vec{J}(\vec{r'},t_{r}) = -\frac{\partial \rho(\vec{r'},t_{r})}{\partial t_{r}} -\frac{1}{c}\dot{\vec{J}}(\vec{r'}, t_{r}) \cdot \nabla'(R)$

This is what Griffiths suggests we should prove.

You mentioned that the next equation holds:

$\nabla' \cdot \vec{J}(\vec{r'},t_{r}) = -\frac{\partial \rho(\vec{r'},t_{r})}{\partial t_{r}}$

which seems to contradict what Griffiths wanted us to show.

the first equality (the one Griffiths mentions) seems to make sense, although writing the "proof" looks ridiculous to me. When deriving the current density with respect to the primed coordinated, I understand there are both an explicit part and implicit, hidden in the retarded time. But it looks really weird when writing it. For example:

$\frac{\partial J_{x}(\vec{r'},t_{r})}{\partial x'} = \frac{\partial J_{x}(\vec{r'},t_{r})}{\partial x'} + \frac{\partial J_{x}(\vec{r'},t_{r})}{\partial t_{r}} \frac{\partial t_{r}}{\partial x'} = ...$

The first part (after doing so for all components) will result, after use of the continuity equation in the form you mentioned (with the primes) in the derivative of rho, whereas the rest results in the second term Griffith mentioned.

However:
1. It looks really weird that the partial derivative with respect to x' appears twice in the equation above, but I don't know how else to express the fact we have to perform these two derivatives...
2. What Griffiths wants to prove seems to contradict the "primed" continuity equation, although he uses it!

:-\

Dr Griffiths is correct, and my earlier post was not.

In the continuity equation, $\frac{\partial \rho ( \mathbf{r}, t)}{\partial t} = -\mathbf{\nabla} \cdot \mathbf{J} ( \mathbf{r}, t)$, it is clear that the divergence should only affect the first argument of $\mathbf{J}$. When you make the substitution $t \to t_r$, there is an implicit coordinate dependence in $t_r$, so in order for this to be a valid substiution, you must expressly hold $t_r$ constant when taking the divergence. Thus the continuity equation becomes:

$$\frac{\partial \rho ( \mathbf{r}', t_r)}{\partial t_r} = -\left. \mathbf{\nabla}' \cdot \mathbf{J} ( \mathbf{r}', t_r) \right|_{\text{constant } t_r}$$

Whereas the total (primed) divergence of $\mathbf{J} ( \mathbf{r}', t_r)$ is

$$\mathbf{\nabla}' \cdot \mathbf{J} ( \mathbf{r}', t_r) = \left. \partial_i' J_i \right|_{\text{constant } t_r} + \frac{\partial J_i}{\partial t_r} \partial_i' t_r = \left. \mathbf{\nabla}' \cdot \mathbf{J} ( \mathbf{r}', t_r) \right|_{\text{constant } t_r} + \frac{\partial J_i}{\partial t_r} \partial_i' t_r$$

If this bothers you, remember that $\frac{d}{dt} f(q_1(t), q_2(t), \ldots q_n(t)) = \frac{\partial f}{\partial q_1}\frac{\partial q_1}{\partial t} +\frac{\partial f}{\partial q_2}\frac{\partial q_2}{\partial t} + \ldots + \frac{\partial f}{\partial q_n}\frac{\partial q_n}{\partial t} = \frac{\partial f}{\partial q_i}\frac{\partial q_i}{\partial t}$, where it is understood that when taking the partial derivative of $f$ with respect to $q_1$, for example, all the other $q_i$ are held fixed.

TSny
Homework Helper
Gold Member
$\frac{\partial J_{x}(\vec{r'},t_{r})}{\partial x'} = \frac{\partial J_{x}(\vec{r'},t_{r})}{\partial x'} + \frac{\partial J_{x}(\vec{r'},t_{r})}{\partial t_{r}} \frac{\partial t_{r}}{\partial x'} = ...$

1. It looks really weird that the partial derivative with respect to x' appears twice in the equation above, but I don't know how else to express the fact we have to perform these two derivatives...
It does look a little odd because the term on the left side looks like the first term on the right side even thought they represent different quantities.

The term on the left is the "full" rate of change of J with respect to x' including the explicit dependence of J on x' as well as the implicit dependence on x' through the retarded time ##t_r##.

The first term on the right represents the rate of change of J' due to varying x' in the explicit dependence but not varying x' in the retarded time. This is the quantity that appears in the continuity equation and therefore is related to the time rate of change of the charge density.

I don't see any inconsistency with what Griffiths does, but the notation is confusing. I generally find that working with expressions that depend on retarded time gives me a headache.

Thanks a lot, both of you, for the time you give me.

Usually the "full" rate of change would be written as: $\frac{d}{dx'}(Something)$, Like gab mentioned in his last equation.
The weird thing is that we do the same thing with the partial derivative!
You know the feeling that you lose confidence in things you were highly confident in? I think that's why this question drives me crazy!
On the one hand, $\frac{\partial f(x,y(x),z)}{\partial x}$ should mean the derivative of f(x,y(x),z) according to x (first variable!) alone, while the others are regarded as constants. So "y" stays fixed, despite its dependence on x. On the other hand, if I have the function: $f(x,y) = x * y + z$, and I use $y(x) = x^{2}$, I obviously have to calculate:

$\frac{\partial f(x,y(x),z)}{\partial x} = \frac{\partial f(x,y(x),z)}{\partial x} + \frac{\partial f(x,y(x),z)}{\partial y(x)}\frac{\partial y(x)}{\partial x} = y(x) + x * y'(x) = x^{2} + x* 2x = 3 x^{2}$, where at the first derivative I treated y(x) as constant.
I mean, when setting y(x) inside the function, you don't *have* y anymore to keep constant! Then you do really only derive with respect to x! So the difference is weather we actually set y to be y(x) or not.

So what's up with the same symbol standing for two different things? I could write the partial derivative with this vertical line implying y is constant, like you did, gab (I hate this symbol ever since taking Thermodynamics!), but I really don't understand why this isn't partial derivative per se! From wiki:

"In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant."

According to Wiki, what I calculated above isn't the partial derivative at all, but the full derivative. However, it *is* the partial derivative, cause if I wanna perform the partial derivative of $f(x,y(x), z) = x * x^{2} + z = x^{3} + z$, I'll get the answer above, where I had to derive with respect to y(x) as well!

Ahh.

Last edited: