Electrodynamics Lagrangian. differences in sign in online references.

Click For Summary

Discussion Overview

The discussion revolves around the differences in sign conventions found in various online references regarding the Lagrangian formulation of electrodynamics. Participants explore the implications of these sign variations on the resulting equations and calculations, focusing on theoretical aspects and conventions used in the literature.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant notes a discrepancy in the sign of the Lagrangian density compared to a Wikipedia reference, suggesting a possible error in their calculation or a difference in conventions.
  • Another participant emphasizes the difficulty of maintaining correct signs in electrodynamics and points out that the choice of metric can influence the signs of the interaction terms.
  • It is mentioned that the overall sign of the Lagrangian density does not affect the resulting Euler-Lagrange equations, allowing for multiple correct forms depending on conventions.
  • A participant recalls that the term \( F^{\alpha \beta} F_{\alpha \beta} \) is not dependent on the metric, while the term \( A_\mu J^\mu \) is, potentially explaining the observed sign variations.
  • One participant expresses uncertainty about the Hamiltonian density derived from their calculations, questioning whether it should equal the energy density.
  • A later reply references a footnote from a text that warns about conflicting conventions in the literature regarding the four-dimensional formulation of Maxwell's theory.

Areas of Agreement / Disagreement

Participants generally acknowledge that there are multiple competing views regarding the sign conventions in the Lagrangian formulation of electrodynamics. The discussion remains unresolved, with no consensus on which convention is preferable or correct.

Contextual Notes

Participants highlight the importance of carefully comparing definitions of the quantities involved (e.g., \( F, A, J \)) and the metric used in different references, as these can lead to discrepancies in results. There is also mention of the ambiguity in the literature regarding the definitions and conventions used in electrodynamics.

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:

Similar threads

  • · Replies 1 ·
Replies
1
Views
847
  • · Replies 3 ·
Replies
3
Views
865
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K