In electromagnetism and applications, an inhomogeneous electromagnetic wave equation, or nonhomogeneous electromagnetic wave equation, is one of a set of wave equations describing the propagation of electromagnetic waves generated by nonzero source charges and currents.
They govern the electric field E and magnetic field B due to a source charge density ρ and current density J: where ε0 is the vacuum permittivity and μ0 is the vacuum permeability.
Maxwell's equations can directly give inhomogeneous wave equations for the electric field E and magnetic field B.
[1] Substituting Gauss's law for electricity and Ampère's law into the curl of Faraday's law of induction, and using the curl of the curl identity ∇ × (∇ × X) = ∇(∇ ⋅ X) − ∇2X (The last term in the right side is the vector Laplacian, not Laplacian applied on scalar functions.)
gives the wave equation for the electric field E:
Similarly substituting Gauss's law for magnetism into the curl of Ampère's circuital law (with Maxwell's additional time-dependent term), and using the curl of the curl identity, gives the wave equation for the magnetic field B:
The left hand sides of each equation correspond to wave motion (the D'Alembert operator acting on the fields), while the right hand sides are the wave sources.
The equations imply that EM waves are generated if there are gradients in charge density ρ, circulations in current density J, time-varying current density, or any mixture of these.
The above equation for the electric field can be transformed to a homogeneous wave equation with a so called damping term if we study a problem where Ohm's law in differential form
that is we dealing with homogeneous conductors that have relative permeability and permittivity around 1), and by substituting
from the differential form of Gauss law and
The final homogeneous equation with only the unknown electric field and its partial derivatives is
The solutions for the above homogeneous equation for the electric field are infinitely many and we must specify boundary conditions for the electric field in order to find specific solutions These forms of the wave equations are not often used in practice, as the source terms are inconveniently complicated.
A simpler formulation more commonly encountered in the literature and used in theory use the electromagnetic potential formulation, presented next.
The four Maxwell's equations in a vacuum with charge ρ and current J sources reduce to two equations, Gauss's law for electricity is:
here is the Laplacian applied on scalar functions, and the Ampère-Maxwell law is:
Since the potentials are not unique, but have gauge freedom, these equations can be simplified by gauge fixing.
A common choice is the Lorenz gauge condition:
Then the nonhomogeneous wave equations become uncoupled and symmetric in the potentials:
For reference, in cgs units these equations are
The relativistic Maxwell's equations can be written in covariant form as
is the electromagnetic four-potential with the Lorenz gauge condition
The electromagnetic wave equation is modified in two ways in curved spacetime, the derivative is replaced with the covariant derivative and a new term that depends on the curvature appears (SI units).
To obtain the equation in cgs units, replace the permeability with 4π/c.
The Lorenz gauge condition in curved spacetime is assumed:
In the case that there are no boundaries surrounding the sources, the solutions (cgs units) of the nonhomogeneous wave equations are
These solutions are known as the retarded Lorenz gauge potentials.
They represent a superposition of spherical light waves traveling outward from the sources of the waves, from the present into the future.
There are also advanced solutions (cgs units)
These represent a superposition of spherical waves travelling from the future into the present.