Klein–Gordon Equation Numerics
The Klein–Gordon equation requires both a field and its time derivative as initial data. A solver must resolve its positive- and negative-frequency branches and preserve the appropriate discrete energy or charge. The squared field amplitude is not a general conserved probability density; the Klein–Gordon equation explains its physical interpretation.
Required background. Spatial discretization supplies grid operators and numerical stability supplies amplification-factor analysis.
A semidiscrete second-order system
Section titled “A semidiscrete second-order system”For the free scalar field, write
With periodic or suitable closed boundaries, choose nonnegative and self-adjoint in the quadrature metric . Then is positive definite for ; a massless problem can have a zero mode. Introducing gives the first-order system
Its generator is not ordinarily skew-Hermitian in the naive Euclidean norm of , whose components even have different units. It does preserve the quadratic energy
for the continuous semidiscrete evolution. For positive-definite , is a norm on the pair . If , the component along instead obeys and can grow linearly, . The energy controls its velocity but not its displacement. This is physical zero-mode motion, not by itself a numerical instability.
Frequency branches and charge
Section titled “Frequency branches and charge”For an eigenmode with , the two time dependences are . Pure positive-frequency initial data satisfy , computed by a spectral or other justified operator action. Setting generally creates an equal mixture of the nonzero-frequency branches, not a stationary positive-energy particle. Treat any zero-frequency component separately.
Up to a chosen overall normalization, the conserved complex-field charge is
A positive-frequency mode has and a negative-frequency mode has the opposite sign. A real field has zero value of this complex-field charge while retaining positive energy. Monitoring alone therefore tests the wrong invariant.
Leapfrog stability includes the mass term
Section titled “Leapfrog stability includes the mass term”The centered time update is
For each nonzero-frequency spatial mode, stability requires with a margin; equality gives a repeated endpoint amplification root that can produce spurious linear growth. At , the update instead reproduces the physical linear solution described above. On a periodic -dimensional uniform grid of spacing ,
so a sufficient bound is . The familiar massless wave-equation CFL limit is incomplete for a massive field.
Start the scheme consistently with . A first-order starting step can spoil the intended accuracy.
Plane-wave convergence test
Section titled “Plane-wave convergence test”In one dimension,
and the leapfrog time frequency obeys . Compare measured phase accumulation with this fully discrete relation, then refine and independently toward .
Use a near-grid-edge mode to test the actual stability bound; a smooth packet may fail to excite an unstable high-frequency mode until roundoff eventually does. Report energy and charge diagnostics with the discrete-in-time invariant appropriate to the chosen scheme, since the displayed semidiscrete energy need not be exactly preserved by leapfrog.
Interaction and interpretation boundaries
Section titled “Interaction and interpretation boundaries”An electrostatic potential enters through covariant time derivatives and generally introduces additional time-derivative terms. Adding an arbitrary to does not reproduce minimal electromagnetic coupling. Particle creation, antiparticle occupation, and vacuum observables require a field-theoretic model beyond this free initial-value solver.
Exercises
Section titled “Exercises”For a spatially uniform massive mode, what timestep restriction remains even as spatial gradients vanish?
Solution
The mode still oscillates with , so leapfrog requires . A criterion based solely on misses this rest-energy oscillation. Removing a fast carrier by a controlled reformulation can help, but it changes the evolution variables and must be derived.
References
Section titled “References”- LeVeque, Randall J., Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems, SIAM (2007), author’s book resources — modal stability, wave equations, and convergence.
- Thaller, Bernd, The Dirac Equation, Springer (1992), author’s book page — relativistic spectral branches and fixed-particle interpretation.