Electrodynamics Lagrangian. differences in sign in online references.

AI Thread Summary
The discussion highlights the discrepancies in the sign conventions used in the Lagrangian formulation of electrodynamics, particularly regarding the terms involving the electromagnetic field tensor F and the interaction term A with the current J. Variations in conventions arise from different choices of metric, affecting the signs of the interaction term but not the doubly contracted term F_{\mu\nu}F^{\mu\nu}. The overall sign of the Lagrangian density is deemed immaterial for deriving the Euler-Lagrange equations, but care must be taken when combining Lagrangian terms. The goal is to ensure the Hamiltonian density remains positive, which typically requires a negative sign in front of the F_{\mu\nu}F^{\mu\nu} term. The conversation underscores the importance of checking definitions and conventions across different references to resolve these sign issues.
Peeter
Messages
303
Reaction score
3
In

http://en.wikipedia.org/wiki/Covariant_formulation_of_classical_electromagnetism

It is written:

\mathcal{L} \, = \, \mathcal{L}_{\mathrm{field}} + \mathcal{L}_{\mathrm{int}} = - \frac{1}{4 \mu_0} F^{\alpha \beta} F_{\alpha \beta} + A_{\alpha} J^{\alpha} \,.<br />

a personal calculation with this Lagrangian, I get an off by -1 sign error, so I initially came to the conclusion that this should be:

\mathcal{L} \, = \, \mathcal{L}_{\mathrm{field}} + \mathcal{L}_{\mathrm{int}} = \frac{1}{4 \mu_0} F^{\alpha \beta} F_{\alpha \beta} + A_{\alpha} J^{\alpha} \,.<br />

Searching online I find disagreement as well. Two examples are:

http://www.wooster.edu/physics/lindner/Ph377Spring2003HW/HW2.pdf
http://quantummechanics.ucsd.edu/ph130a/130_notes/node453.html

Am I in error, or are there differences in conventions/definitions that can account for this sign variation?
 
Last edited by a moderator:
Physics news on Phys.org
I've always found getting these signs right very trying and it is very easy for sign errors to occur. Be wary of online sources.

There is a choice of convention in the metric used to contract indices. Some prefer the time component of the metric to be positive and some the spatial component. This however will not affect the sign of the doubly contracted F_{\mu\nu}F^{\mu\nu}. But it will affect the sign of the singly contracted interaction term, A_\mu J^\mu.

This plus the fact that the over all sign of the Lagrangian density is immaterial in so far as its resulting Euler-Lagrange equations are concerned would allow both to be correct. (However one needs to be careful with the sign of the Lagrangian when one is going to add it to another Lagrangian term.)

I'm not inclined to re-derive your three references right now so I can't tell you if they or you are in error. I will suggest that you carefully compare definitions of F, A, J, and if used the metric g in each reference and see where they may disagree. Then if so try to rework each case.

The ultimate convention to follow is that you want the Hamiltonian density to come out positive. In my weak recollection this has always required a minus sign in front of the F_\mu\nu F^\mu\nu term. But also recall that this tensor is anti-symmetric so simply reversing one of the pairs of indices can absorb the sign. Pay close attention to this in your references.
[Edit: Actually the first thing to make certain of is that you get the right E-L equations, then check the over-all sign of the Lagrangian for the convention which makes H positive.]

(Actually I might take a deeper look but I won't make any promises.)
 
Last edited:
I think I know what this is about. While I seem to recall that

<br /> F^{\alpha \beta} F_{\alpha \beta}<br /> [/itex]<br /> <br /> isn&#039;t metric dependent (I&#039;ll have to confirm), the dot product part A_\mu J^\mu is. If that&#039;s the case, then this also likely explains the sign variation that I&#039;ve seen in resulting tensor equation too.
 
jambaugh said:
Be wary of online sources.

thanks James (I think we posted at the same time;)

wikipedia is particularily bad seeming for properly defining all the related quantities, but the process of deciphering what's posted there can be educational.

Peeter
 
jambaugh said:
The ultimate convention to follow is that you want the Hamiltonian density to come out positive.

I didn't get too far trying to calculate the electrodynamic Hamiltonian density for the general case, so I tried it for a very
simple special case, with just an electric field component in one direction:

<br /> \begin{align*}<br /> \mathcal{L}<br /> &amp;= \frac{1}{2}(E_x)^2 \\<br /> &amp;= \frac{1}{2}(F_{01})^2 \\<br /> &amp;= \frac{1}{2}(\partial_0 A_1 - \partial_1 A_0)^2 \\<br /> \end{align*}<br />

Goldstein gives the Hamiltonian density as

<br /> \begin{align*}<br /> \pi &amp;= \frac{\partial \mathcal{L}}{\partial \dot{n}} \\<br /> \mathcal{H} &amp;= \dot{n} \pi - \mathcal{L}<br /> \end{align*}<br />

If I try calculating this I get

<br /> \begin{align*}<br /> \pi <br /> &amp;= \frac{\partial}{\partial (\partial_0 A_1)} \left( \frac{1}{2}(\partial_0 A_1 - \partial_1 A_0)^2 \right) \\<br /> &amp;= \partial_0 A_1 - \partial_1 A_0 \\<br /> &amp;= F_{01} \\<br /> \end{align*}<br />

So this gives a Hamiltonian of
<br /> \begin{align*}<br /> \mathcal{H}<br /> &amp;= \partial_0 A_1 F_{01} - \frac{1}{2}(\partial_0 A_1 - \partial_1 A_0)F_{01} \\<br /> &amp;= \frac{1}{2} (\partial_0 A_1 + \partial_1 A_0 )F_{01} \\<br /> &amp;= \frac{1}{2} ((\partial_0 A_1)^2 - (\partial_1 A_0)^2 ) \\<br /> \end{align*}<br />

For a Lagrangian density of E^2 - B^2 we have an energy density of E^2 + B^2, so I'd have expected the Hamiltonian density here to stay equal to E_x^2/2, but it
doesn't look like that's what I get (what I calculated isn't at all familiar seeming).

If I haven't made a mistake here, perhaps I'm incorrect in assuming that the Hamiltonian density of the electrodynamic Lagrangian should be the energy density?
 
A follow-up note. I did find a sign error (mixing of conventions) in the wikipedia article and left a comment in the discussion page. I have been playing with an edit of the article and may fix it if I can figure the best combination of conventions to fit with other articles.

I also found a foot-note in my old SR text: Rindler's Introduction to Special Relativity.
p104:
The reader should be warned that, as regards the four-dimensional formulation of Maxwell's theory, conflicting conventions are used in the literature. Thus, some authors write F_\nu = (q/c)E_{\mu\nu}U^\mu instead of (38.1), or E^{\mu\nu}_{,\nu}=kJ^\mu instead of (38.3), or E_{\mu\nu} = \Phi_{\mu,\nu} - \Phi_{\nu,\mu} instead of (38.5). There is further ambiguity in the definition of E^{*}_{\mu\nu} [ see (39.3) ], depending on whether ct is taken as the first or last coordinate, and according on whether e_{0123} or e_{1234} is taken to be 1.

In the text:
(38.1) ----> F_\mu = \frac{q}{c} E_{\mu\nu}U^\nu

(38.3)-----> {E^{\mu\nu}}_{,\mu} = k\rho_0 U^\nu = kJ^\nu

(38.5)-----> E_{\mu\nu} = \Phi_{\nu,\mu} - \Phi_{\mu,\nu}

He uses E_{\mu\nu} instead of F_{\mu\nu} for the electromagnetic field tensor, and \Phi^\mu \sim (\phi,c\mathbf{A}) as the 4-potential. F is the force on a test particle. (He uses lower-case bold e and b for the 3-vector electric and magnetic fields and uppercase B_{\mu\nu} for the dual electro-magnetic field B_{mu\nu}=\frac{1}{2}\varepsilon_{\mu\nu\alpha\beta}E^{\alpha\beta} ).

He also uses the g \sim diag(1,-1,-1,-1) metric convention.

One problem in this text is that Rindler uses the test-particle Lagrangian:

\Lambda = -cm_0\sqrt{g_{\mu\nu}\dot{x}^\mu\dot{x}^\nu} - \frac{q}{c}\Phi_\mu \dot{x}^\mu
whereas I think the negative of this would have been better. His choice gives positive canonical spatial momentum when you take \tilde{p}_k=\frac{\partial}{\partial \dot{x}^k} \Lambda but since this is a lowered index component of the full canonical 4-momentum it should be the negative under the choice of metric convention.
 
Last edited:
This is from Griffiths' Electrodynamics, 3rd edition, page 352. I am trying to calculate the divergence of the Maxwell stress tensor. The tensor is given as ##T_{ij} =\epsilon_0 (E_iE_j-\frac 1 2 \delta_{ij} E^2)+\frac 1 {\mu_0}(B_iB_j-\frac 1 2 \delta_{ij} B^2)##. To make things easier, I just want to focus on the part with the electrical field, i.e. I want to find the divergence of ##E_{ij}=E_iE_j-\frac 1 2 \delta_{ij}E^2##. In matrix form, this tensor should look like this...
Thread 'Applying the Gauss (1835) formula for force between 2 parallel DC currents'
Please can anyone either:- (1) point me to a derivation of the perpendicular force (Fy) between two very long parallel wires carrying steady currents utilising the formula of Gauss for the force F along the line r between 2 charges? Or alternatively (2) point out where I have gone wrong in my method? I am having problems with calculating the direction and magnitude of the force as expected from modern (Biot-Savart-Maxwell-Lorentz) formula. Here is my method and results so far:- This...
Back
Top