Vary the Maxwell Lagrangian with respect to . Since and is antisymmetric,
After integration by parts, the Euler-Lagrange field equation is
The gauge transformation leaves unchanged because partial derivatives commute. This gauge invariance means that potentials related in this way represent the same electromagnetic field; all four potential components are not independent physical photon degrees of freedom. In particular, the ungauged kinetic operator is singular and its temporal canonical momentum vanishes.
Choose the Lorenz gauge . The field equation then becomes . Residual gauge transformations with preserve this condition. The correctly named Lorenz gauge condition concerns the divergence of the potential; Lorentz covariance is the separate transformation property of the equations.
For the alternative quadratic Lagrangian density, direct differentiation gives
so its Euler-Lagrange field equation is also . This density is the Feynman-gauge Maxwell kinetic density after a boundary-term subtraction. Indeed, with ,
The divergence identity follows by expanding and commuting its second derivatives. The quadratic density alone describes four wave equations; the gauge constraint must still be incorporated in the physical states. It is not an unconstrained four-positive-polarization replacement for Maxwell equations.
Using this specified boundary-term convention, the canonical momentum conjugate to is
The canonical commutation relations are therefore
with field-field and momentum-momentum brackets zero. Equivalently . The temporal component has the opposite sign to the spatial components; replacing the metric by a positive Euclidean one would destroy these brackets.
The wave equation gives massless frequencies . Hermiticity pairs its positive- and negative-frequency solutions, so the Heisenberg picture field has the expansion
This is a real field expansion for each component, but its oscillator metric is indefinite. The assumed brackets, with the dagger's vector index restored, are
They verify the photon oscillator completeness and canonical brackets. Inserting gives at equal times
The other brackets cancel between the two frequency contributions. Thus both the normalization and the sign are needed.
The Gupta-Bleuler formalism imposes the Lorenz gauge condition weakly on states:
Here is the annihilation, positive-frequency part. Setting the full divergence to zero as an operator would conflict with the four-component canonical commutation relations. The subsidiary condition instead selects a physical pre-space inside the covariant photon Fock space, followed by a quotient of its null states.
Apply it to . Commuting through the creator gives a multiple of . Hence the allowed photon polarization vectors obey
Take . The complete solution is
with complex coefficients. The last two vectors are transverse linear photon polarizations, and gives the two circular photon polarizations. The first vector is , the allowed temporal-longitudinal combination. A purely spatial longitudinal vector by itself does not satisfy the subsidiary condition.
The oscillator brackets give, apart from the positive continuum normalization factor,
Momentum eigenstates are distributionally normalized; a box or a wave packet makes the norm statement literal. The allowed longitudinal combination has zero norm because , and it is orthogonal to every constrained state since . It also gives a pure-gauge field wave: the field strength of vanishes. Thus and represent the same physical photon polarization. The Gupta-Bleuler null-state quotient removes this null direction and leaves two positive-norm transverse photon photon polarizations. The negative-norm temporal oscillator of the unrestricted space is not an extra physical state. This is the transverse one-photon physical quotient.
Finally verify the two-photon fermion Ward identity directly for electron-positron annihilation into two photons. Define and the reduced Dirac propagator
The equality follows from the Clifford algebra, since . The incoming Dirac spinors obey and . On replacing one inserted photon polarization vector by , the spinor factor in the two diagrams is
At the electron end, , so
For the other diagram, four-momentum conservation gives . Hence
The two contributions therefore cancel exactly:
Individual diagrams need not vanish; their sum implements the Ward identity. Linearity then gives invariance under , as required by gauge invariance. In particular, the null longitudinal photon polarization proportional to has zero physical production amplitude. Physical scattering produces the transverse photon classes, not an independent longitudinal massless photon.
Denote the momentum in the printed mode expansion by , as it equals for the boundary-subtracted density discussed in part (b). Take a real complete basis of polarization vectors. Its completeness relation with one index raised is
Here raising or lowering the polarization labels uses the same diagonal matrix , so this is just the completeness relation in the PDF. Write . In the mixed field-momentum commutator, the term gives the product of the minus sign in 's creation part and the minus sign in the oscillator commutator. The term gives the same sign. The two mode normalization factors multiply to , and the momentum delta function removes one integral. Consequently
For the field-field commutator, the polarization sum gives instead
because the integrand is odd under . Similarly,
These are the requested canonical commutation relations, derived by photon oscillator completeness and canonical brackets.
They also hold for the literal momenta of part (b). The shifts are
Since the fields commute at equal times, their mixed brackets with the momenta do not change. The only potentially new momentum bracket is
All other momentum brackets vanish separately. Thus both canonical conventions have and vanishing coordinate-coordinate and momentum-momentum brackets, even though the momentum operators differ by spatial derivatives. This resolves the density/expansion mismatch without changing the printed oscillator algebra.