Use units and the Minkowski metric . The canonical momentum of the real scalar field is . Canonical quantization replaces the classical fields by operator-valued distributions and imposes the equal-time canonical commutation relations
These relations are imposed on an initial slice, with smeared fields understood. In the Heisenberg picture, simultaneous unitary time evolution of both operators preserves their commutators. Since the momentum is , the requested equal-time commutator is .
The Legendre transform in mechanics, applied pointwise, gives the canonical Hamiltonian density of a real scalar field. Thus
To obtain its dynamics rather than assume them, use the Heisenberg equation of motion . The momentum-square term gives . The field-square term gives , while differentiating the Dirac delta function in the gradient term and integrating by parts gives . Consequently
Boundary terms vanish for suitably decaying smeared fields. This is the Klein-Gordon equation as an operator identity.
A spatial Fourier transform reduces the Klein-Gordon equation to , where . Its two frequency branches and the Hermitian adjoint condition give
The invariant-normalized scalar mode extraction can be written particularly simply as
Substituting the mode expansion of a free field proves these inversion formulas: the opposite-frequency coefficient is proportional to and vanishes after spatial Fourier inversion. Alternatively they are the corresponding Klein-Gordon inner products. Taking their commutators using the equal-time fields gives in the mixed case. In the two equal-type cases the delta function enforces , multiplying . Therefore
Conversely these mode commutators reproduce : the two frequency contributions each supply half the spatial Dirac delta function.
For the covariant oscillator Hamiltonian of a real scalar field, insert the mode expansion of a free field into . Spatial integration sets the two momenta equal in the mixed terms and opposite in the two-creator or two-annihilator terms. The latter have coefficient . The mixed terms give
The constant is the divergent zero-point energy; a finite box and a momentum cutoff make its meaning explicit. Normal ordering sets the free vacuum energy to zero and leaves all commutators unchanged. Directly applying the mode commutators to the mixed expression yields
Choose the Fock vacuum by . Each creation operator adds a boson of energy and four-momentum , while each annihilation operator removes one. Products of commuting creation operators give bosonic statistics from commuting creation operators and unrestricted occupation numbers. The real scalar field has one spin-zero species, identical to its antiparticle. Its one-particle states obey , precisely the relativistic normalization of a one-particle state.
For the Feynman propagator, put and contract the two fields in the Fock vacuum. Only survives, giving the Wightman function
The stipulated time-ordered product convention is . In a contour integral over , the Feynman i-epsilon prescription places the positive-energy pole just below the real axis and the negative-energy pole just above it. For close below, clockwise, obtaining ; for close above, obtaining . Changing in the second contribution therefore proves
Acting with multiplies the integrand by . The remaining factor tends to as a distribution, so Fourier inversion gives
The sign also follows from the derivative jump of a free scalar time-ordered two-point function: the first time derivative of jumps by , so that of jumps by .