Action for particles and electromagnetic fields
Combine proper-time particle motion, gauge coupling, and the Maxwell field action while distinguishing boundary gauge shifts, canonical momentum, and physical fields.
On this page
The question for today
What you’ll understand
- Write an SI action consistent with the module's tensor and force conventions.
- Vary a particle path before choosing its proper-time parameter.
- Relate gauge boundary terms, conserved sources, and canonical momentum.
The force law and Maxwell equations can be derived from one action principle. This unifies their signs and reveals the role of gauge freedom, but introduces two subtleties. Proper time is determined by the path being varied, so it cannot be treated as a fixed clock measure for all competing paths. Also, a gauge transformation can change the numerical action by an endpoint term while leaving the equations of motion unchanged. Both facts are essential for using the covariant action correctly.
Vary the geometric particle action
Use signature , , , and , preserving . A massive particle's free action is minus its rest energy times elapsed proper time. Writing it with an arbitrary monotonically increasing parameter lambda makes the path dependence explicit through the square root of the tangent norm. Fixed endpoints are assumed in the variation. Reparameterizing the same timelike path does not change the geometric integral.
Do not first set lambda equal to proper time and then regard the integrand as an immutable constant during arbitrary path variations. Each varied path has its own proper time. Vary the square-root action before making the proper-time choice, or use a constrained formulation that retains the normalization condition. The electromagnetic coupling is the line integral of the potential covector. In laboratory time its Lagrangian contribution is , so the familiar electric-potential sign and the covariant tensor-force sign agree.
The field action supplies Maxwell dynamics
The vacuum field action is a spacetime integral of . The coordinate measure is , so the explicit inverse c is needed to obtain joule-seconds. Expanding the invariant gives the laboratory Lagrangian density . This difference is not the positive sum defining energy density. A plane wave can have zero field Lagrangian density at an event while carrying nonzero energy, making action and energy particularly easy to distinguish.
For a prescribed smooth current, add . Varying the potential, integrating by parts, and taking its boundary variation to vanish gives . The homogeneous Maxwell equations already follow from defining F in terms of A. For dynamical point charges, their worldline coupling supplies the source instead; do not add the same current coupling again. Singular point self-fields require extra care, so the simple prescribed-field particle examples continue to neglect radiation reaction.
Gauge shifts change bookkeeping and endpoint terms
With our signs choose , equivalently and . The particle action changes by . For fixed endpoints this does not alter its stationary paths. The field tensor and its action stay unchanged. For a prescribed current, integration by parts relates the bulk gauge variation to ; charge conservation removes that bulk term when the boundary contribution is controlled.
Canonical spatial momentum is . It changes under a gauge transformation, whereas mechanical momentum and the measured force do not. A uniform static vector potential in a simply connected region can have zero fields but nonzero canonical contribution. This is not a hidden classical acceleration. Translating a canonical conservation statement into a physical momentum claim requires the chosen gauge and the symmetry of the complete Lagrangian, including its possible boundary terms.
Work it through
Canonical momentum under a pure gauge change
In a simply connected region with zero fields, a charge has mechanical momentum and static . Apply over endpoints separated by . Find both canonical momenta and the action shift.
Initially . Adding the mechanical momentum gives .
The spatial potential changes by minus the gradient of chi, so . Hence . The mechanical momentum is unchanged and both electric and magnetic fields remain zero.
The endpoint gauge difference is . Thus . It is a fixed endpoint term and adds no force.
The canonical momentum changes from 11 to 9 in units of 10⁻¹² kg m/s, while mechanical motion stays the same; the action shifts by −10⁻¹² J s.
The living notebook
Explore the model
Interactive lab · function
Stationarity in a restricted toy family
Reset and set BOTH Coefficient a = 0.5 and Position x = 0; predict zero tangent slope. For a fresh comparison, Reset and set a = 0.5 and x = 1; predict slope 1 and positive function value. Inspect the paused tangent or Step. Interpret x only as a dimensionless trial-family parameter for this analogy.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forThe quadratic y = ax² illustrates a derivative vanishing at a stationary point. It does not vary worldlines, calculate the electromagnetic action, choose a gauge, or solve the Euler–Lagrange equations.
Pause & reason
Check your understanding
Your turn
Try it yourself
A free massive particle with rest energy moves at constant for a laboratory interval of , with zero potentials. Compute its proper time and free action. Explain why treating the proper-time integrand as a fixed constant before path variation is invalid.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
The specified path has gamma = 1.25. Compute its action after evaluating the proper time, then distinguish evaluation on one path from variation over many paths.
Compare with the solution
For this path and . These are evaluations on a stated inertial worldline. A varied worldline generally accumulates a different proper time, so replacing the geometric square root by a fixed constant while keeping the same parameter limits would erase the dependence that produces the equation of motion. One varies first, then chooses proper time along the stationary path.
Keep the idea
Take it with you
- The relativistic particle action uses path-dependent proper time and a covector line integral.
- The Maxwell action contains electric minus magnetic terms, while energy contains their positive sum.
- Gauge endpoint shifts preserve equations, even though canonical momentum and numerical action can change.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.