Take the divergence of the Ampère-Maxwell equation, . Since the divergence of a curl is zero vanishes, and Gauss's law gives , the result is
This is the charge continuity equation.
At an internal point of a homogeneous Ohmic conductor, Ohm's law gives . Since is constant, the charge continuity equation becomes . Therefore
This is charge relaxation. Here is the total charge appearing in the vacuum form of Gauss's law; in a homogeneous dielectric description of free charge the corresponding constant permittivity replaces .
For a finite isolated body, charge travels to the surface. The bulk formula applies at internal points, not across the interface where electrical conductivity jumps and surface charge density accumulates. Integrating the charge continuity equation over the body, including its surface charge, gives constant total electric charge because no electric current crosses the external boundary. Bulk decay and conservation of electric charge are therefore compatible.
The magnetic field is . The magnetostatic Ampère-Maxwell equation is , so the curl of the curl identity gives
A gauge transformation does not change . We may therefore choose the Coulomb gauge by solving the Poisson equation . It follows component by component in a Cartesian coordinate system that
The free-space Green function of the Laplacian then gives
For a localized steady current density, conservation of electric charge gives ; integration by parts confirms directly that this integral has zero divergence and hence obeys the Coulomb gauge.
For emission of a soft photon of momentum from external charged particles, the Soft photon theorem gives
where for outgoing and for incoming particles. Contracting with and applying the Ward identity gives
For a nonzero underlying amplitude, total outgoing charge equals total incoming charge. Thus photon gauge redundancy enforces conservation of electric charge.
The analogous Soft graviton theorem for helicity two requires universal coupling to energy-momentum and yields conservation of total four-momentum, the seed of the Equivalence principle. For massless helicity greater than two, the corresponding soft consistency conditions demand conserved higher-rank momentum charges that generic interacting scattering cannot satisfy. Under the assumptions of a Lorentz-invariant local S-matrix with long-range interactions, such particles therefore have no nontrivial coupling; this is the soft-theorem obstruction to interacting massless higher-spin particles.