Lagrangian Hamiltonian and the Recovery of Maxwell equations

Sections15
  1. Lagrangian
  2. Adding the Source Term
  3. Equations of Motion
  4. Conservation Comes for Free
  5. Hamiltonian
  6. Canonical Momentum
  7. The Hamiltonian Density
  8. Hamiltonian with a Source
  9. The Loose End
  10. Constrained Hamiltonian
  11. A note on symbols
  12. The recipe
  13. Getting into canonical variables
  14. Collecting the $\phi$ terms
  15. Consistency: the Dirac chain

Lagrangian§

For the principle of relativity to hold, we demand our lagrangian must be frame independant. At this stage we see AμAμA^\mu A_\mu is indeed frame independant, it is a scalar. But, notice that this is not a gauge invariant choise, someone using a different gauge convention will gain different answer even with the same expression. So then, given that we have a frame-independant quantity AμA^\mu forming a gauge invariant from it is actaully already done on previous article, it is FμνF^{\mu\nu} and it is directly related to EE and BB. Which, should hint heavily on us to use it as our lagrangian ( since lagrangian is directly related to energy and energy in maxwell's frameworks are directly related to EE and BB ). So, then let's take

L=−14FμνFμν=−12(B2−1c2E2)=12c2E2−12B2\mathcal L = -\frac{1}{4}F_{\mu\nu}F^{\mu\nu} = -\frac{1}{2}\left(\mathbf B^2 - \frac{1}{c^2}\mathbf E^2\right) = \frac{1}{2c^2}\mathbf E^2 - \frac{1}{2}\mathbf B^2

At this point, we can't know if this is the correct choice, at most we know this should be a lorentz and gauge invariant quantity. Well, then let's check it against the known EM result of

U=ϵ02E2+12μ0B2U = \frac{\epsilon_0}{2}\mathbf E^2 + \frac{1}{2\mu_0}\mathbf B^2

And since AμA^\mu is the only directly dependants of FμνF^{\mu\nu} which is also lorentz covariant. We propose that we should vary L\mathcal L with AμA^\mu. And we will justify it by seeing if it produce expected results like the energy.

Let's first find its variation.

δL=−12δFμνFμν=−12Fμνδ(∂μAν−∂νAμ)=−12Fμν(∂μδAν−∂νδAμ)\begin{align*} \delta\mathcal L &= -\frac{1}{2}\delta F_{\mu\nu}F^{\mu\nu} \\ &= -\frac{1}{2}F^{\mu\nu}\delta(\partial_\mu A_\nu - \partial_\nu A_\mu) \\ &= -\frac{1}{2}F^{\mu\nu}(\partial_\mu \delta A_\nu - \partial_\nu \delta A_\mu) \end{align*}

By anti-symmetry of FμνF^{\mu\nu}, we can relabel those indices and simplifies

δL=−12Fμν(∂μδAν−∂νδAμ)=−Fμν∂μδAν\begin{align*} \delta \mathcal L &= -\frac{1}{2}F^{\mu\nu}(\partial_\mu \delta A_\nu - \partial_\nu \delta A_\mu) \\ &= -F^{\mu\nu}\partial_\mu \delta A_\nu \end{align*}

Adding the Source Term§

The obvious gauge-covariant way to couple in a source is to add a term linear in AμA^\mu, since a linear coupling is the minimal choice consistent with the symmetries we already imposed. Take

L=−14FμνFμν−JμAμ\mathcal L = -\frac{1}{4}F_{\mu\nu}F^{\mu\nu} - J^\mu A_\mu

with the index convention fixed once and for all as

Jμ=(cρ, J),Aμ=(ϕc, −A),JμAμ=ρϕ−J⋅A.J^\mu = (c\rho,\ \mathbf J), \qquad A_\mu = \left(\frac{\phi}{c},\ -\mathbf A\right), \qquad J^\mu A_\mu = \rho\phi - \mathbf J\cdot\mathbf A .

Notice this new piece isn't manifestly gauge invariant on its own — under Aμ→Aμ+∂μχA_\mu \to A_\mu + \partial_\mu\chi it picks up −Jμ∂μχ-J^\mu\partial_\mu\chi. That term vanishes (up to a boundary term we can throw away) only if ∂μJμ=0\partial_\mu J^\mu = 0. So gauge invariance is quietly demanding charge conservation from us before we've even written down the equations of motion — good to keep in the back pocket, we'll see it show up again twice more, each time from a completely different angle.

Equations of Motion§

We already did the hard part of this variation above:

δL=−Fμν∂μδAν−JνδAν\delta\mathcal L = -F^{\mu\nu}\partial_\mu\delta A_\nu - J^\nu \delta A_\nu

Integrating the first term by parts (dropping the boundary term) gives δL=(∂μFμν−Jν)δAν\delta\mathcal L = (\partial_\mu F^{\mu\nu} - J^\nu)\delta A_\nu, so the Euler-Lagrange condition δS=0\delta S = 0 for arbitrary δAν\delta A_\nu gives us straight away

∂μFμν=Jν\partial_\mu F^{\mu\nu} = J^\nu

(the exact constant on the right is just a unit-system bookkeeping choice — absorb it into how JμJ^\mu is normalized). This is the equation we derived earlier using maxwell's equation. Thus, we see that maxwells equation and the lagrangian are consistence togather.

Written out, the two components are the ones we already know:

ν=0:∇⋅E=c2ρ,ν=i:E˙=c2(∇×B−J).\nu = 0: \quad \div\mathbf E = c^2\rho , \qquad \nu = i: \quad \dot{\mathbf E} = c^2\left(\curl\mathbf B - \mathbf J\right) .

We will need both of these explicitly when we come to the constrained Hamiltonian.

Conservation Comes for Free§

Here's the conclusion worth flagging on its own. Take a divergence of the equation of motion:

∂ν∂μFμν=∂νJν\partial_\nu\partial_\mu F^{\mu\nu} = \partial_\nu J^\nu

The left side is a symmetric derivative operator (∂ν∂μ\partial_\nu\partial_\mu) contracted against an antisymmetric tensor (FμνF^{\mu\nu}), so it vanishes identically — no equations of motion needed, no on-shell condition, just index symmetry. That forces

∂νJν=0\partial_\nu J^\nu = 0

which is the continuity equation, i.e. charge conservation. This is the same condition gauge invariance demanded of us a moment ago, but now it's dropped out as a mathematical consequence of the field equations rather than something we imposed by hand — a nice consistency check that the theory isn't fighting itself. It's really a preview of Noether's theorem: gauge invariance is the symmetry, and JμJ^\mu-conservation is the associated conserved current, though making that identification precise is a story for its own note.

Hamiltonian§

Classically the Lagrangian framework already gives us every answer we want, and the section above shows it reproducing Maxwell exactly. The reason to push into the Hamiltonian framework is that in the quantum framework the Hamiltonian is the time evolution operator, the thing that generates the EOM of everything. So before quantising anything, let's see what the Hamiltonian framework says classically, and check it against what we already know.

Canonical Momentum§

The Hamiltonian is built from A˙=∂tA\dot{\mathbf A} = \partial_t\mathbf A, so what we want is the momentum conjugate to A˙\dot{\mathbf A} directly. Since E=−∇ϕ−A˙\mathbf E = -\grad\phi - \dot{\mathbf A} we have ∂A˙E=−1\pdvs{\dot{\mathbf A}}{\mathbf E} = -1, and

π:=∂A˙L=1c2 E⋅∂A˙E=−1c2E.\bm\pi := \pdvs{\dot{\mathbf A}}{\mathcal L} = \frac{1}{c^2}\,\mathbf E\cdot\pdvs{\dot{\mathbf A}}{\mathbf E} = -\frac{1}{c^2}\mathbf E .

The covariant route gives the same answer but needs care with index placement, and it is worth doing once to see where the factors come from. The identity ∂(∂μAν)L=−Fμν\pdvs{(\partial_\mu A_\nu)}{\mathcal L} = -F^{\mu\nu} holds for a genuinely lowered AνA_\nu, and with F0i=Ei/cF_{0i} = E^i/c the raised component is F0i=η00ηiiF0i=−Ei/cF^{0i} = \eta^{00}\eta^{ii}F_{0i} = -E^i/c. So

Πi:=∂(∂0Ai)L=−F0i=+Eic.\Pi^i := \pdvs{(\partial_0 A_i)}{\mathcal L} = -F^{0i} = +\frac{E^i}{c} .

This is conjugate to ∂0Ai\partial_0 A_i, not to A˙i\dot A^i. Converting picks up two things: a factor 1/c1/c because ∂0=1c∂t\partial_0 = \frac{1}{c}\partial_t, and a minus sign because Ai=−AiA_i = -A^i. Together,

π=−1c Πi=−1c2E,\bm\pi = -\frac{1}{c}\,\Pi^i = -\frac{1}{c^2}\mathbf E ,

agreeing with the direct computation. From here on only π\bm\pi is used; Πi\Pi^i does not appear again.

The Hamiltonian Density§

H=π⋅A˙−L\mathcal H = \bm\pi\cdot\dot{\mathbf A} - \mathcal L

Where from E=−∇ϕ−A˙\mathbf E = -\grad\phi - \dot{\mathbf A} we get

A˙=−E−∇ϕ\dot{\mathbf A} = -\mathbf E - \grad\phi

Let's do the source-free case first ( noticing the source is nowhere in the original lagrangian ). Then

π⋅A˙=−1c2E⋅(−E−∇ϕ)=1c2E2+1c2E⋅∇ϕ\bm\pi\cdot\dot{\mathbf A} = -\frac{1}{c^2}\mathbf E\cdot(-\mathbf E - \grad\phi) = \frac{1}{c^2}\mathbf E^2 + \frac{1}{c^2}\mathbf E\cdot\grad\phi

Thus

H=1c2E2+1c2E⋅∇ϕ−(12c2E2−12B2)=12c2E2+12B2+1c2E⋅∇ϕ\mathcal H = \frac{1}{c^2}\mathbf E^2 + \frac{1}{c^2}\mathbf E\cdot\grad\phi - \left(\frac{1}{2c^2}\mathbf E^2 - \frac{1}{2}\mathbf B^2\right) = \frac{1}{2c^2}\mathbf E^2 + \frac{1}{2}\mathbf B^2 + \frac{1}{c^2}\mathbf E\cdot\grad\phi

The last term is not zero pointwise but it is a total divergence

E⋅∇ϕ=∇⋅(ϕE)−ϕ ∇⋅E\mathbf E\cdot\grad\phi = \grad\cdot(\phi\mathbf E) - \phi\,\grad\cdot\mathbf E

and in the source free case ∇⋅E=0\grad\cdot\mathbf E = 0 by Gauss law so

1c2E⋅∇ϕ=1c2∇⋅(ϕE)\frac{1}{c^2}\mathbf E\cdot\grad\phi = \frac{1}{c^2}\grad\cdot(\phi\mathbf E)

Gauss's law is being imported here from the Maxwell equations we already have, not derived from anything in this section — which is fine, since the whole point of this section is to check the Lagrangian against known results rather than to generate new ones. It is worth noting in advance that the constrained treatment below produces Gauss's law from the Hamiltonian structure alone, with nothing imported.

This integrates to a boundary term when forming H=∫H  d3xH = \int \mathcal H\ \dd^3x and vanishes if the fields fall off at infinity so it drops from the total Hamiltonian though not from the density itself giving

H=∫(12c2E2+12B2) d3xH = \int \left(\frac{1}{2c^2}\mathbf E^2 + \frac{1}{2}\mathbf B^2\right) \dd^3x

which now matches the expected form U=ϵ02E2+12μ0B2U = \frac{\epsilon_0}{2}\mathbf E^2 + \frac{1}{2\mu_0}\mathbf B^2. Matching term by term means reading ϵ0↔1/c2\epsilon_0 \leftrightarrow 1/c^2 and 1/μ0↔11/\mu_0 \leftrightarrow 1 together — which is just saying that our L=−14F2\mathcal L = -\frac14 F^2 carries no 1/μ01/\mu_0 out front. Restoring it everywhere means writing L=−14μ0FμνFμν\mathcal L = -\frac{1}{4\mu_0}F_{\mu\nu}F^{\mu\nu} and carrying the factor through; nothing below depends on that choice, so we keep the simpler normalization.

Hamiltonian with a Source§

Worth checking what the source does to H\mathcal H before moving on. Since JμAμJ^\mu A_\mu carries no A˙i\dot A_i dependence at all, it doesn't touch the canonical momentum — π\bm\pi comes out exactly the same as the source-free case, π=−1c2E\bm\pi = -\frac{1}{c^2}\mathbf E. But it does sit inside L\mathcal L itself, and since H=π⋅A˙−L\mathcal H = \bm\pi\cdot\dot{\mathbf A} - \mathcal L, splitting L=Lfield−JμAμ\mathcal L = \mathcal L_{field} - J^\mu A_\mu gives

H=π⋅A˙−Lfield+JμAμ=Hfield+JμAμ\mathcal H = \bm\pi\cdot\dot{\mathbf A} - \mathcal L_{field} + J^\mu A_\mu = \mathcal H_{field} + J^\mu A_\mu

so the source term flips sign once (it entered L\mathcal L with a minus) and lands in H\mathcal H unchanged, with no extra factors picked up along the way. With the convention fixed above this is ρϕ−J⋅A\rho\phi - \mathbf J\cdot\mathbf A, the interaction term of the Hamiltonian. Note it is not an interaction energy density — the magnetic piece has the wrong sign to be one — which is a hint that ϕ\phi is not behaving like an ordinary dynamical variable here.

Now redo the total-divergence trick, this time with the source present. Gauss's law is ∇⋅E=c2ρ\div\mathbf E = c^2\rho, so

1c2E⋅∇ϕ=1c2∇⋅(ϕE)−1c2ϕ ∇⋅E=1c2∇⋅(ϕE)−ρϕ.\frac{1}{c^2}\mathbf E\cdot\grad\phi = \frac{1}{c^2}\div(\phi\mathbf E) - \frac{1}{c^2}\phi\,\div\mathbf E = \frac{1}{c^2}\div(\phi\mathbf E) - \rho\phi .

The ρϕ\rho\phi here cancels the ρϕ\rho\phi sitting inside JμAμJ^\mu A_\mu exactly, and the divergence integrates away as before, leaving

H=∫(12c2E2+12B2−J⋅A) d3x.H = \int \left(\frac{1}{2c^2}\mathbf E^2 + \frac{1}{2}\mathbf B^2 - \mathbf J\cdot\mathbf A\right) \dd^3x .

So ϕ\phi disappears from the total Hamiltonian entirely. This is the concrete symptom of the loose end below, and it is exactly the expression the constrained treatment will hand back as the genuine energy.

The Loose End§

Π0=∂(∂0ϕ)L=−F00≡0\Pi^0 = \pdvs{(\partial_0\phi)}{\mathcal L} = -F^{00} \equiv 0 identically since FμνF^{\mu\nu} is antisymmetric. So ϕ\phi has no conjugate momentum at all, it is a Lagrange multiplier enforcing Gauss law as a constraint rather than a dynamical field with its own equation of motion. Everything above sidestepped this in two ways: the Legendre transform was performed only over A˙\dot{\mathbf A}, never over ϕ˙\dot\phi; and the ϕ\phi-dependence was disposed of at the level of the total HH by importing Gauss's law from outside. A fully rigorous treatment needs the Dirac–Bergmann constrained Hamiltonian procedure, which is what the rest of this note does.

Constrained Hamiltonian§

The Hamiltonian above was built with two provisional steps. The Legendre transform was performed only over A˙\dot{\mathbf A}, never over ϕ˙\dot\phi, because ϕ\phi has no conjugate momentum to invert for. And the ϕ\phi-dependence was disposed of at the level of the total HH by importing Gauss's law from outside. The Dirac–Bergmann procedure repairs both at once, and the repair pays for itself: Gauss's law comes back out as a consequence rather than an input.

A note on symbols§

In the general Dirac framework the primary constraints are conventionally written ϕa≈0\phi_a \approx 0. Here ϕ\phi is the scalar potential — the same ϕ\phi from E=−∇ϕ−A˙\mathbf E = -\grad\phi - \dot{\mathbf A}, equal to A0A_0 up to a factor of cc. It is never a constraint. The constraints in this note are called π0\pi^0 and G\mathcal G.

The recipe§

The total hamiltonian ( constrained hamiltonian ) is the canonical hamiltonian plus the primary constraint carrying an arbitrary coefficient. Two things are worth saying about why that extra term is there at all.

It is not a penalty term added to push a straying solution back onto the constraint surface. It is the velocity the Legendre map threw away. When the map is singular, some velocity direction is invisible to the momenta — no value of pp records it — and that lost direction reappears as a free coefficient multiplying the constraint it was lost to. We will see this explicitly in two lines: the multiplier u0u^0 turns out to be exactly ϕ˙\dot\phi.

It also leaves the energy alone on the constraint surface, since the term is a multiple of something that vanishes there. Off the surface it is not zero, and that is the point — it generates a flow.

H=Hcan+u0π0⏟constrain=12c2E2+12B2+1c2E⋅∇ϕ+JμAμ+u0π0\begin{align*} \mathcal H &= \mathcal H_\text{can} + \underbrace{u^0\pi^0}_\text{constrain}\\ &=\frac{1}{2c^2}\mathbf E^2 + \frac{1}{2}\mathbf B^2 + \frac{1}{c^2}\mathbf E\cdot\grad\phi + J^\mu A_\mu + u^0\pi^0 \end{align*}

The momenta conjugate to ϕ\phi and A\mathbf A are

π0=∂ϕ˙L=0,π=∂A˙L=−1c2E,\pi^0 = \pdvs{\dot\phi}{\mathcal L} = 0 , \qquad \bm\pi = \pdvs{\dot{\mathbf A}}{\mathcal L} = -\frac{1}{c^2}\mathbf E ,

with equal-time brackets

{ϕ(x),π0(y)}=δ3(x−y),{Ai(x),πj(y)}=δi  j δ3(x−y).\{\phi(\mathbf x), \pi^0(\mathbf y)\} = \delta^3(\mathbf x - \mathbf y), \qquad \{A_i(\mathbf x), \pi^j(\mathbf y)\} = \delta_i^{\;j}\,\delta^3(\mathbf x - \mathbf y).

These are just {qi,pj}=δij\{q_i, p_j\} = \delta_{ij} with the discrete label ii replaced by the continuous label x\mathbf x — a field has one degree of freedom per point of space, so the Kronecker delta becomes a Dirac delta. The Kronecker delta that survives in the second bracket says "same vector component"; the Dirac delta says "same point".

The first equation is the primary constraint π0≈0\pi^0 \approx 0. Primary means it did not come from any equation of motion — it holds identically the moment the Legendre map is written down, since ϕ˙\dot\phi could only have entered L\mathcal L through F00=∂0A0−∂0A0=0F_{00} = \partial_0 A_0 - \partial_0 A_0 = 0. The weak equality ≈\approx means it holds on the constraint surface but is not an identity across all of phase space; this distinction matters, because π0\pi^0 has nonvanishing brackets even though it vanishes.

Getting into canonical variables§

E\mathbf E is not a phase-space coordinate — π\bm\pi is. Until every E\mathbf E is traded for −c2π-c^2\bm\pi we cannot take a single Poisson bracket, since the bracket is defined by derivatives with respect to the canonical pair. Substituting that and JμAμ=ρϕ−J⋅AJ^\mu A_\mu = \rho\phi - \mathbf J\cdot\mathbf A:

H=c22π2+12B2−π⋅∇ϕ+ρϕ−J⋅A+u0π0.\mathcal H = \frac{c^2}{2}\bm\pi^2 + \frac{1}{2}\mathbf B^2 - \bm\pi\cdot\grad\phi + \rho\phi - \mathbf J\cdot\mathbf A + u^0\pi^0 .

Now the claim about the multiplier can be checked. Hamilton's equation for ϕ\phi picks out the only term containing π0\pi^0:

ϕ˙=δHδπ0=u0,\dot\phi = \fdv{H}{\pi^0} = u^0 ,

so the multiplier is the velocity ϕ˙\dot\phi, exactly as promised. The arbitrary coefficient we introduced by hand was never arbitrary decoration; it is the missing time derivative wearing a different name.

Collecting the ϕ\phi terms§

ϕ\phi currently appears twice in H\mathcal H: once differentiated, in −π⋅∇ϕ-\bm\pi\cdot\grad\phi, and once bare, in ρϕ\rho\phi. We want it to appear once, undifferentiated, because that is the shape of a Lagrange multiplier — a variable sitting in front of a quantity that does not contain it. Getting there means moving the derivative off ϕ\phi, which is what integrating by parts does.

The product rule gives

∇⋅(ϕπ)=∇ϕ⋅π+ϕ ∇⋅π⟹−π⋅∇ϕ=ϕ ∇⋅π−∇⋅(ϕπ).\div(\phi\bm\pi) = \grad\phi\cdot\bm\pi + \phi\,\div\bm\pi \qquad\Longrightarrow\qquad -\bm\pi\cdot\grad\phi = \phi\,\div\bm\pi - \div(\phi\bm\pi) .

Integrating over all space, the second piece is a total divergence, so by the divergence theorem it becomes a surface integral of ϕπ\phi\bm\pi at infinity and vanishes for fields falling off fast enough — the same disposal we used on 1c2∇⋅(ϕE)\frac{1}{c^2}\div(\phi\mathbf E) earlier. What survives has the derivative transferred from ϕ\phi onto π\bm\pi, with a sign picked up along the way:

∫ d3x (−π⋅∇ϕ)=∫ d3x  ϕ ∇⋅π.\int \dd^3x\,\left(-\bm\pi\cdot\grad\phi\right) = \int \dd^3x\; \phi\,\div\bm\pi .

Both ϕ\phi terms are now bare, so they collect:

ϕ ∇⋅π+ρϕ=ϕ (∇⋅π+ρ).\phi\,\div\bm\pi + \rho\phi = \phi\,(\div\bm\pi + \rho) .

Everything else in H\mathcal H is ϕ\phi-free, giving

H=∫ d3x[c22π2+12B2−J⋅A⏟energy+ϕ (∇⋅π+ρ)⏟G+u0π0].H = \int \dd^3x \Big[ \underbrace{\frac{c^2}{2}\bm\pi^2 + \frac{1}{2}\mathbf B^2 - \mathbf J\cdot\mathbf A}_\text{energy} + \phi\,\underbrace{(\div\bm\pi + \rho)}_{\displaystyle\mathcal G} + u^0\pi^0 \Big] .

Three things this form makes visible that the previous one hid.

First, the underbraced energy is precisely the total HH we obtained above by importing Gauss's law — but here nothing was imported. The ϕ\phi-dependence simply sorted itself into a separate term instead of cancelling.

Second, ϕ\phi now stands to G\mathcal G exactly as u0u^0 stands to π0\pi^0. The scalar potential is itself a multiplier. Everything past the energy is a constraint term, which is the same structure as lapse and shift in ADM gravity.

Third, G\mathcal G now exists as an object one can point at. Before the integration by parts there was no single term in H\mathcal H that could be called Gauss's law.

A caveat: this identity holds for the total HH, not for the density H\mathcal H pointwise, since the two densities differ by ∇⋅(ϕπ)\div(\phi\bm\pi) which is generally nonzero at any given point. That is why the displayed equation is written as H=∫ d3x[⋯ ]H = \int \dd^3x[\cdots].

(The integration by parts is for display, not for computation. The functional derivative would have done it for us: δϕδH=∂ϕH−∂i∂(∂iϕ)H=ρ+∇⋅π\fdv{\phi}{H} = \pdvs{\phi}{\mathcal H} - \partial_i\pdvs{(\partial_i\phi)}{\mathcal H} = \rho + \div\bm\pi, the same G\mathcal G. But then the constraint would stay buried inside a derivative instead of standing on the page.)

Consistency: the Dirac chain§

We now have a constraint π0≈0\pi^0 \approx 0 that must hold at t=0t = 0. But a constraint is not self-enforcing — writing π0=0\pi^0 = 0 does not stop the Hamiltonian flow from carrying the state off that surface. So we demand it stay true, which means demanding π˙0≈0\dot\pi^0 \approx 0, and see what that costs.

Preserve π0\pi^0.

π˙0={π0,H}=−δϕδH=−G.\dot\pi^0 = \{\pi^0, H\} = -\fdv{\phi}{H} = -\mathcal G .

Notice what did not happen: u0u^0 did not appear. It cannot, because the only term carrying it is u0π0u^0\pi^0 and {π0,π0}=0\{\pi^0, \pi^0\} = 0 by antisymmetry. A constraint can never use its own multiplier to repair itself. So instead of determining u0u^0, this condition produces a new constraint:

G=∇⋅π+ρ≈0.\mathcal G = \div\bm\pi + \rho \approx 0 .

Since ∇⋅π=−∇⋅E/c2\div\bm\pi = -\div\mathbf E/c^2, this is Gauss's law,

∇⋅E=c2ρ.\div\mathbf E = c^2\rho .

This is the payoff promised at the top. Here it is not imported and not an initial condition imposed by hand — it is forced by demanding that π0=0\pi^0 = 0 survive time evolution. It is called a secondary constraint because it required the equations of motion to find, unlike π0\pi^0 which came straight from the Legendre map.

Preserve G\mathcal G. The algorithm does not stop; a new constraint must itself be preserved. The other Hamilton equations are

A˙=δπδH=c2π−∇ϕ,π˙i=−δAiδH=−(∇×B)i+Ji,\dot{\mathbf A} = \fdv{\bm\pi}{H} = c^2\bm\pi - \grad\phi , \qquad \dot\pi^i = -\fdv{A_i}{H} = -(\curl\mathbf B)^i + J^i ,

the first reproducing A˙=−E−∇ϕ\dot{\mathbf A} = -\mathbf E - \grad\phi and the second being Ampère's law, E˙=c2(∇×B−J)\dot{\mathbf E} = c^2(\curl\mathbf B - \mathbf J) — both matching what the Lagrangian gave, which is the consistency check we came here for. Hence

G˙=∇⋅π˙+ρ˙=−∇⋅(∇×B)+∇⋅J+ρ˙=ρ˙+∇⋅J.\dot{\mathcal G} = \div\dot{\bm\pi} + \dot\rho = -\div(\curl\mathbf B) + \div\mathbf J + \dot\rho = \dot\rho + \div\mathbf J .

The divergence of a curl vanishes identically, so the entire condition collapses to charge conservation. For a conserved source it holds automatically: no new constraint appears, nothing further is demanded, and the chain closes. For a non-conserved source it would read 1≈01 \approx 0, and the theory would have no solutions at all — electromagnetism simply cannot couple to a current that is not conserved.

This is charge conservation showing up for the third time — first demanded by gauge invariance of the coupling term, then handed back for free by ∂ν∂μFμν≡0\partial_\nu\partial_\mu F^{\mu\nu} \equiv 0, and now as the closure condition of the Dirac algorithm. Three independent routes, one condition.

Discussion

no comments
Commenting as a guest — sign in to comment as yourself.

No comments yet — yours could open the discussion.