Maxwell's equations are four equations that determine the Divergence and Curl of the electric and magnetic field. In the vacuum they are
and together with the boundary conditions and approaching infinity, they uniquely determine the two fields. is a volume electric charge density and is a volume electric current density. and are the vacuum permittivity and vacuum permeability respectively.
The divergence of is Gauss' law, while that of is unnamed. The curls are respectively Faraday's law and the Ampere-Maxwell law. These laws, alongside the Lorentz force, explain the entirety of electromagnetic phenomena. Maxwell's equations tell you how charges produce fields, whereas the Lorentz force tells you how fields affect charges. With both, the circle is complete and all electromagnetic phenomena can, at least in principle, be explained. This is true in both electro/magnetostatics and electrodynamics.
In the vacuum#
The laws above are correct in the vacuum. However, in the special case of a "true" vacuum, that is, there is truly nothing in that region of space, not even charges, they become
This is particularly interesting since it shows that, in a way, the electric and magnetic fields are one and the same. In fact, Faraday's law shows that the space derivative (curl, in this case) of an electric field is the time derivative of a magnetic field, and Ampere's law (the corrected form) shows that the space derivative of a magnetic field is the time derivative of an electric field. The only differences are the signs and the constants (which only appear in SI units).
Waves#
This symmetry can be explored further by looking for the Laplacian of and . Recall that . Using the Maxwell equations, specifically by taking the curl of the curl on both and and dropping the null divergence, we can find that the fields satisfy
These are very clearly symmetrical. In fact, they are identical in everything except the name of the vector. The greatest importance of these is that they are exactly wave equations; they must admit oscillatory solutions, that is, solutions dependent on sines and cosines (or complex exponentials, if you prefer). But oscillatory solutions in space represent waves, and so what these equations are telling us is that when electromagnetic fields vary in time, they always make waves: we call these electromagnetic waves and they form the bulk of electrodynamic theory, optics and really any form of signal transfer you are used to from everyday life, like Wi-Fi, Bluetooth, radio, wireless charging and everything else.
One might question the velocity of these waves: as it happens, by comparing the above equations with wave equation, their speed in entirely determined by the permittivity and permeability by
This is the speed of light, derived entirely from fundamental physical constants. This does certainly lead to a very legitimate question: why? What does light have to do with electricity and magnets? Well, at this point the connection is hard to deny: if is the speed of a wave, and that wave is derived exclusively from the laws of electromagnetism, then surely light must be an electromagnetic wave.
In matter#
It is possible to rewrite Maxwell's equation in a more convenient manner when dealing with polarized and magnetized matter. We already know that polarization produces a bound charge density and magnetization a bound current density . The only thing we're missing is to consider what happens when polarization and magnetization change in time. A changing magnetization, at most, changes , so it doesn't add any new pieces, but a changing polarization moves the , which is to say it produces a current. This is emphatically not part of : it is a completely new piece of the puzzle. See, when polarization occurs, a certain amount of charges are moved such that they are plastered over a surface1 on one end () and some on the other (). When the polarization changes, these charges increase or decrease depending on the intensity of polarization, giving a net current
The current density induced by a changing polarization is
and is called the polarization current. It obeys continuity:
This allows us to break down charge density and current density into their constituent parts. Where charge density is expressed with two terms:
current density is expressed in three terms:
Gauss' law is now written as
or, using electric displacement,
where . Meanwhile, the corrected Ampere's law becomes
or, using the auxiliary field,
where . Faraday's law and are not affected by these changes, as they do not depend on or . Thus, Maxwell's equations for materials are
or in integral form
where the two left ones are integrated over any closed surface and the two right ones are for any closed surface bounded by a closed line .
Waves in dielectrics#
In the same way as the vacuum laws, we can find Laplacians for matter laws too. It is much easier in dielectrics, where we can just set and and redo the curl of the curl. However, these end up depending on the kind of material you are measuring the fields in. In linear, homogeneous and isotropic materials however, they look almost identical to the vacuum ones:
The only difference is that we are using general permittivity and permability instead of the vacuum one. One interesting difference is that speed also changes accordingly:
Clearly then, since both and , our quantity , which we call the refractive index, must itself be . As such, the speed of light is always diminished when in matter, by some quantity characteristic of the material itself. It must be, then, that the speed of light is the vacuum is the upper limit: even before the dawn of special relativity, the speed of light could not be surpassed with just electrodynamics2.
Waves in conductors#
Outside of dielectrics, things get tricky. Free charges are near-infinite, so certainly cannot afford to state that they are approximately zero. We must therefore tackle Maxwell's equations head-on. We'll start by invoking Ohm's law, which means reducing ourselves to linear, homogeneous and isotropic media:
With these the equations become
The continuity equation for free current, , combined with Ohm's law and then Gauss' law gives
This is a rather simple first-order partial differential equation that solves to
This explains the redistribution of charge over the surface of a conductor. is the characteristic time of the conductor, which is a constant similar to the electrical conductivity. In perfect conductors () it is more or less zero, meaning the charge redistribution is instant3. This isn't that important though: what is important is that free charges disappears fast, and when they do, we are back to .
The difference here is that we have the additional nonzero "Ohm's law" term in the curl of . When working with dielectrics, , so it checks out with what we had before. Taking the curl of the curl now leads to
The presence of a new, first-order term causes quite a number of differences compared to the dielectric case, chiefly the presence of very fast dampening in the amplitude of the wave. If the typical electromagnetic wave equation was analogous to the harmonic oscillator, this is analogous to a damped harmonic oscillator: the conductor counteracts the wave and suppresses it.
Boundary conditions#
In general, all the fields used in Maxwell's equations will be discontinuous over a surface charge or current. We can find the boundary conditions by applying the integral equations in matter.
Take a thin Gaussian pillbox straddling a surface charge density . From the displacement equation we get
where the positive direction for is from 2 towards 1. The edge of the pillbox contributes nothing as it goes to zero as the thickness of the pillbox does. Volume charge densities also do not contribute. Thus, we are left with
The same logic can be applied to the magnetic field equation to find
For the other two equations, we instead use an Amperian loop crossing a surface current density . From the electric field equation we get
The flux vanishes as we make the loop smaller and smaller, as do the contributions at the edges of . We then get
The same logic applied to the auxiliary field implies
where is the free current passing through the Amperian loop. No volume current density contributes for an arbitrarily small loop, but a surface current does. If is normal vector of the surface density, point upwards so that is normal to the Amperian loop, then
and hence
Summarized, these are
In the case of linear media, these can be expressed in terms of and alone:
These boundary conditions are particularly important, as they lay the foundation for the study of electromagnetic wave reflection and transmission.
Potential form#
Maxwell's equations can also be rewritten so that they are instead dependent on the electric potential and the magnetic vector potential . The benefit of this formulation is that it reduces a six-variable problem (three electric and three magnetic components) to a four-variable problem (one electric potential and three vector potential components). The issue here is that cannot exist in electrodynamics as we're used to from electrostatics, because Faraday's law calls for a nonzero electric curl and therefore stops being irrotational. What we can do is move things around until we get something that's still irrotational even when considering time. We do this by expressing the magnetic field in terms of the vector potential:
Now this is irrotational and we can thus will a potential into existence:
or, isolating the field
This is the time-dependent electric field in terms of potentials. Mix it with the fact that the magnetic field still has no divergence and is still and we have all our cards on the table to shed fields in favor of potentials. Next step: actually do that.
The equation is trivially satisfied: we haven't changed anything on the magnetic field. Similarly, is still true because that's how we got to in the first place. We need to check what becomes of and , i.e. Gauss' law and Ampere-Maxwell's law. When we substitute in Gauss' law we get
Simple enough; take away time dependence and it goes back to the usual Poisson's equation for electric potential. Ampere-Maxwell's law is a little clunkier:
Using the vector identity and with some rearrangements we get
On paper, this is the potential form of Maxwell's equation. It is also horribly confusing compared to the field form, so it begs the question of why you'd ever do this to yourself. The answer to that, beyond the proposition of reducing variables from six to four, is that potentials come packaged with a certain degree of freedom. Recall that a Potential is defined up to a constant (the gradient of a constant always vanishes) and that a Vector potential is defined up to the gradient of a Scalar field (since the curl of a gradient always vanishes). This is the soul of these two equation, and it is important enough to warrant a name of its own: gauge freedom.
As a side note, if we define and invoke the d'Alembertian operator, we can write Maxwell's equations in potential form as
Gauge freedom#
You may be wondering why gauge freedom matters. Instead of explaining it with words, let's just do the math directly. Call the gradient of a scalar field we add onto . Call the constant we add onto . Our new potentials are then and . The two are not independent of each other: for to give the old field with the new potentials we must have
which gives
Call the term in parenthesis ; its gradient is zero so it must be not vary with position (though it might vary in time). Our then is
However, since is a constant, we may as well redefine so that it also contains . The gradient of won't change (which, remember, is ) and it makes our life easier. Our then is
But wait, now both and are uniquely determined by this one scalar field :
Evidently, given any scalar function and adding it onto the potentials as above, Maxwell's equation do not change. Choosing a , or moving from one to another, is called a gauge transformation and the function itself is called a gauge. Our duty, then, is to figure how to exploit this freedom to make the potential equations as nice as possible.
Actually, we've already seen a gauge, even though not explicitly: in magnetostatics it's generally convenient to set , which we can do by choosing a for which this is true (which always exists thanks to the proof above). In fact, you pretty much never choose the directly: in practice you choose a value dependent on and then just claim that there exists some for which that is true and then never speak of ever again. This specific choice is known as the Coulomb gauge and it is typical in static scenarios as it makes the electric potential into a Poisson's equation.
In electrodynamics, however, what gauge to pick is not always clear and historically several choices have been explored and studied. Ultimately, the best choice depends on the system at hand. That said, there does exist a "default choice" that you use when you don't really have specific needs, which we call the Lorenz gauge, which states
and is designed to make the middle term of vanish. This yields
or, using the d'Alembertian:
The Lorenz gauge turns the potentials themselves into waves, although their wave equations are inhomogeneous.
Relativistic form#
Maxwell's equations can be written in a complete, unified form using what we know about the theory of relativity. To start, consider some arbitrarily shaped electric charge For the sake of generality, we focus only on an infinitesimal volume containing total charge , so that the density is and is moving at some velocity . For the sake of simplicity we assume that only contains charges of the same sign (if it contained both, the argument is the same but we'd have to have both a positive and negative term). The current density is .
The volume of depends on the observer due to length contraction. We'll call the proper charge density, which is the density in the rest frame of the charge:
where is the volume in the rest system (charge in relativistically invariant so it never changes). But we can go further: only one dimension is contracted (the one the charge is moving on, i.e. the direction of ), so we can readily write the transformation rule:
and thus
But is just the spatial part of the proper velocity! So we can extend to a four-vector by saying
This is known as the four-current. The relativistic Maxwell's equations then are
in both electromagnetic tensor and dual tensor formalisms (summation over implied). Each of these equations have four components. This is because the values of each lead to one component. Combined, these two provide the same information as the classical Maxwell's equations.
> By using $c^{2}=1/\varepsilon_{0}\mu_{0}$ we find > $$\nabla\cdot \mathbf{E}=\frac{\rho}{\varepsilon_{0}}> Similar results come up for $\mu=2$ and $\mu=3$, just for $J_{y}$ and $J_{z}$, which we can combine in vector notation to read > $$\nabla\times \mathbf{B}=\mu_{0}\mathbf{J}+\mu_{0}\varepsilon_{0}\frac{ \partial \mathbf{E} }{ \partial t }This is Gauss' law. Now take for example. In that case, we get
\frac{ \partial F^{1\nu} }{ \partial x^{\nu} } &=\frac{ \partial F^{10} }{ \partial x^{0} } +\frac{ \partial F^{11} }{ \partial x^{1} } +\frac{ \partial F^{12} }{ \partial x^{2} } +\frac{ \partial F^{13} }{ \partial x^{3} } \\ &=- \frac{1}{c^{2}}\frac{ \partial E_{x} }{ \partial t } +\frac{ \partial B_{z} }{ \partial y } -\frac{ \partial B_{y} }{ \partial z } \\ &=\left( - \frac{1}{c^{2}}\frac{ \partial \mathbf{E} }{ \partial t } +\nabla\times \mathbf{B} \right)_{x} \\ &=\mu_{0}J^{1} \\ &=\mu_{0}J_{x} \end{align}
> This is the unnamed Maxwell equation. Finally, for $\mu=1$: > $$\begin{align} > \frac{ \partial G^{1\nu} }{ \partial x^{\nu} } &=\frac{ \partial G^{10} }{ \partial x^{0} } +\frac{ \partial G^{11} }{ \partial x^{1} } +\frac{ \partial G^{12} }{ \partial x^{2} } +\frac{ \partial G^{13} }{ \partial x^{3} } \\ > &=- \frac{1}{c}\frac{ \partial B_{x} }{ \partial t } - \frac{1}{c}\frac{ \partial E_{z} }{ \partial y } + \frac{1}{c}\frac{ \partial E_{y} }{ \partial z } \\ > &=- \frac{1}{c}\left( \frac{ \partial \mathbf{B} }{ \partial t } +\nabla\times \mathbf{E} \right)_{x} \\ > &=0 > \end{align}This is the Ampere-Maxwell law.
We've exhausted the field tensor. Now let's use the dual tensor. Similarly, on gives
\frac{ \partial G^{0\nu} }{ \partial x^{\nu} } &=\frac{ \partial G^{00} }{ \partial x^{0} } +\frac{ \partial G^{01} }{ \partial x^{1} } +\frac{ \partial G^{02} }{ \partial x^{2} } +\frac{ \partial G^{03} }{ \partial x^{3} } \\ &=\frac{ \partial B_{x} }{ \partial x } +\frac{ \partial B_{y} }{ \partial y } +\frac{ \partial B_{z} }{ \partial z } \\ &=\nabla\cdot \mathbf{B}=0 \end{align}
Combine it with the results for and to get
A^{\mu}=\left( \frac{V}{c},A_{x},A_{y},A_{z} \right)
\boxed{F^{\mu \nu}=\frac{ \partial A^{\nu} }{ \partial x_{\mu} } -\frac{ \partial A^{\mu} }{ \partial x_{\nu} }}
where we are taking derivatives using covariant four-vectors (important! You'd get a wrong sign if used contravariant ones). > [!quote]- Finding the fields > This definition of the field tensor leads to the same field-from-potentials equations > $$\mathbf{E}=-\nabla V- \frac{ \partial \mathbf{A} }{ \partial t } ,\qquad \mathbf{B}=\nabla\times \mathbf{A}> and match $E_{x}$ with the parenthesis. Do the same for $\nu=2,3$ and you get the electric field. Similarly, for $\mu=1$ and $\nu=2$ we get > $$F^{12}=\frac{ \partial A^{2} }{ \partial x_{1} } -\frac{ \partial A^{1} }{ \partial x_{2} }=\frac{ \partial A_{y} }{ \partial x } -\frac{ \partial A_{x} }{ \partial y } =(\nabla\times \mathbf{A})_{z}=B_{z}For and we get
Do the same for and and you get the magnetic field.
If you put this field tensor in its Maxwell equation, you get
which is not really solvable. But notice how if you add the gradient of a scalar function to , nothing changes in . This is gauge invariance, so we can invoke the Lorenz gauge again to state, in relativistic form:
and with this definition, the previous equation simplifies to
using the relativistic d'Alembertian. This equation contains the entirety of the electromagnetic field, all of it packaged in a single inhomogeneous wave equation in spacetime as the combined form of .
Footnotes#
-
For correctness' sake, the charges themselves only align with the polarization, but don't move much. If they did all actually move to the surface, we'd be working with conductors and not with polarized dielectrics. Still, this alignment motion is sufficient to produce a small current. ↩
-
Of course, Galilean relativity would still debate that the speed of light cannot be a universal speed limit since it can always be summed with the speed of the frame of reference (at least in an inertial frame), thus always being able to achieve a faster speed by just changing perspective. Of course we now know this is wrong, but this problem is about mechanics; electromagnetism, on the other hand, was always right. ↩
-
In practice, it actually isn't, not just because that would be physically impossible but because Ohm's law is a rather high-level approximation and starts to break down around the mean time between electron collisions, which is . Coincidentally, this is also the order of magnitude of time it takes for charges to redistribute. The actual theory of conduction is a lot more complicated; see for instance Ideal crystal > Electronic structure for a quantum-mechanical approach for crystalline solids. ↩