In electromagnetism, the Lorenz condition is generally used in calculations of time-dependent electromagnetic fields through retarded potentials.[2] The condition is
where is the four-potential, the comma denotes a partial differentiation and the repeated index indicates that the Einstein summation convention is being used. The condition has the advantage of being Lorentz invariant. It still leaves substantial gauge degrees of freedom.
In ordinary vector notation and SI units, the condition is
where is the magnetic vector potential and is the electric potential;[3][4] see also gauge fixing.
In Gaussian units the condition is[5][6]
A quick justification of the Lorenz gauge can be found using Maxwell's equations and the relation between the magnetic vector potential and the magnetic field:
Therefore,
Since the curl is zero, that means there is a scalar function such that
This gives a well known equation for the electric field:
This result can be plugged into the Ampère–Maxwell equation,
This leaves
To have Lorentz invariance, the time derivatives and spatial derivatives must be treated equally (i.e. of the same order). Therefore, it is convenient to choose the Lorenz gauge condition, which makes the left hand side zero and gives the result
A similar procedure with a focus on the electric scalar potential and making the same gauge choice will yield
These are simpler and more symmetric forms of the inhomogeneous Maxwell's equations.
Here
is the vacuum velocity of light, and is the d'Alembertian operator with the (+ − − −) metric signature. These equations are not only valid under vacuum conditions, but also in polarized media,[7] if and are source density and circulation density, respectively, of the electromagnetic induction fields and calculated as usual from and by the equations
The explicit solutions for and – unique, if all quantities vanish sufficiently fast at infinity – are known as retarded potentials.