is the electric field,
is the magnetic field,
is the charge density,
is the current density,
is the electric constant,
is the magnetic constant, and
is the speed of light.
They say:
- Electric charge is the source/sink of electric field.
- There are no isolated magnetic charges.
- Changing magnetic field creates circulating electric field.
- Electric current and changing electric field create circulating magnetic field.
Maxwell’s equations are not four unrelated facts. At first, they look like four separate laws: one about electric charge, one about magnetic fields, one about induction, and one about currents. They are a single geometric structure seen from four different angles. They describe how electric and magnetic fields are allowed to begin, end, curl, propagate, and exchange energy.
I. Gauss’s Law
The integral form of Gauss’s law is
This says the following. Take any closed surface. Add up the total electric flux leaving that surface. The result is exactly the total charge enclosed by the surface, divided by . Here
is the outward-pointing area element. The quantity
measures how much electric field passes through a small piece of the surface. If
points outward, the flux is positive. If
points inward, the flux is negative. If
is tangent to the surface, the flux is zero. Thus Gauss’s law says, in geometric language: Electric field lines begin on positive charge and end on negative charge.
Historically, Gauss’s law is the field-theoretic form of Coulomb’s inverse-square law. To see this, consider a point charge at the origin. By spherical symmetry, the electric field must point radially outward or inward, so
Choose a sphere of radius centered on the charge. On this sphere,
has the same magnitude everywhere, and the field is perpendicular to the surface. Therefore
Gauss’s law gives and hence
So Coulomb’s law is not an independent mystery. It is Gauss’s law, together with spherical symmetry.
The differential form of Gauss’s law is obtained by writing the enclosed charge as an integral of the charge density:
Thus the integral law becomes
By the divergence theorem,
Therefore
Since this holds for every region , the integrands must agree pointwise:
This is the local form of Gauss’s law.
It says that the divergence of the electric field at a point measures the amount of electric charge present at that point. Positive charge gives so field lines locally spread outward. Negative charge gives
so field lines locally converge inward. In a region with no charge,
so electric field lines neither begin nor end there.
II. Gauss’s Law for Magnetism
The integral form of Gauss’s law for magnetism is
This says that the net magnetic flux through any closed surface is zero. In words: Magnetic field lines never begin or end. They form closed loops. This is the mathematical statement that isolated magnetic charges have not been observed. There are no observed magnetic monopoles. If you cut a bar magnet in half, you do not get a north pole by itself and a south pole by itself. You get two smaller magnets, each with its own north and south pole.
The differential form follows from the divergence theorem:
But the integral law says that the left-hand side is always zero. Hence
Since this holds for every region , the integrand must vanish pointwise:
This is one of the deepest structural constraints in electromagnetism. It says that the magnetic field has no sources and no sinks. Unlike the electric field, which can begin on positive charge and end on negative charge, the magnetic field cannot begin or end anywhere.
This condition also explains why the vector potential is so natural. At least locally, any magnetic field satisfying can be written as a curl:
Why is this a good form? Because the divergence of any curl is automatically zero:
So the vector potential is not introduced as an artificial trick. It is naturally suggested by Gauss’s law for magnetism itself.
III. Faraday’s Law of Induction
The integral form of Faraday’s law is
This says that a changing magnetic flux through a surface creates a circulating electric field around the boundary of that surface. This was Michael Faraday’s great experimental discovery. Take a loop of wire. Move a magnet near it. A current flows. Why? Because the magnetic flux through the loop is changing. That changing magnetic flux creates an electric field tangent to the wire, and that electric field pushes charges around the loop.
The left-hand side, is the circulation of the electric field around the boundary curve. In circuit language, this is the electromotive force:
The right-hand side is the negative rate of change of magnetic flux. The magnetic flux through the surface is so Faraday’s law may be written as
The minus sign is Lenz’s law. It says that the induced effect opposes the change that produced it. If the magnetic flux through a loop increases upward, the induced current creates a magnetic field downward to oppose that increase. If the upward flux decreases, the induced current creates a magnetic field upward to oppose the decrease.
The differential form follows from Stokes’s theorem:
Substituting this into Faraday’s law gives
For a fixed surface, the time derivative can be moved inside the integral:
Since this holds for every surface , the integrands must agree pointwise:
This is the local form of Faraday’s law. It says that wherever the magnetic field changes in time, the electric field curls around it.
A static electric field produced by stationary charges is conservative: But an induced electric field is not conservative:
That is the profound shift introduced by Faraday. Electric fields are not merely gradients of potentials produced by charges. They can also be generated by changing magnetic fields.
IV. Ampère’s Law Before Maxwell
Historically, Ampère discovered that electric currents create magnetic circulation. The old integral form of Ampère’s law was
where the current passing through the surface is
Thus Ampère’s law can also be written as
This says that the circulation of the magnetic field around a closed curve is produced by the electric current passing through any surface bounded by that curve.
By Stokes’s theorem, so Ampère’s law becomes
Since this holds for every surface , the integrands must agree pointwise:
This was the old differential form of Ampère’s law. It works beautifully for steady currents.
For example, take a long straight wire carrying current . By cylindrical symmetry, the magnetic field circles around the wire. Its magnitude depends only on the distance
from the wire. Choose a circle of radius
centered on the wire. On this circle,
is tangent everywhere and has constant magnitude. Therefore
Ampère’s law gives
and hence
This is the magnetic analogue of the Coulomb calculation. A symmetry assumption turns an integral law into an explicit field formula.
The Problem: Ampère’s Law Violates Charge Conservation
Now comes Maxwell’s great insight. Charge conservation says
This is called the continuity equation. It says that charge cannot simply disappear. If the charge density in a region decreases, then charge must be flowing out of that region. If the charge density increases, then charge must be flowing in. Now consider the old differential form of Ampère’s law:
Take the divergence of both sides:
But the divergence of a curl is always zero:
Therefore old Ampère’s law implies and hence
This is the problem. Charge conservation says
. So old Ampère’s law forces
. In other words, the old law says that charge density cannot change anywhere. But this is false.
The cleanest example is a charging capacitor. Current flows through the wire into one plate of the capacitor. Charge accumulates on that plate. At the same time, charge of the opposite sign accumulates on the other plate. So the charge density is changing in time. Between the plates, however, there is no ordinary conduction current. The gap is empty space or an insulator. No charges cross the gap from one plate to the other. And yet the magnetic field around the wire does not simply stop existing in the region between the plates. This creates an ambiguity in the old integral form of Ampère’s law. Take a closed loop around the wire. The same loop can bound many different surfaces. One surface cuts through the wire. That surface sees the conduction current . Old Ampère’s law gives
But another surface can bulge outward and pass between the capacitor plates. That surface cuts through the gap, where no conduction current passes. Old Ampère’s law then gives
The same boundary loop cannot give two different answers. That is the contradiction. So the old law is incomplete. It works for steady currents, but it fails when charge densities and electric fields change in time. Maxwell’s correction will repair this by adding one missing source of magnetic circulation: the changing electric field.
Maxwell’s Correction: The Displacement Current
Maxwell repaired Ampère’s law by adding one new term:
The extra term is . This is Maxwell’s correction. In integral form, the corrected law is
The electric flux through the surface is so the new contribution can be written as
The quantity is called the displacement current. This name is slightly misleading. It is not necessarily a current made of charges physically crossing the surface. In the empty gap of a capacitor, no conduction charge crosses from one plate to the other. But the electric field between the plates changes in time, and that changing electric field contributes to the magnetic circulation exactly as a current would. Maxwell’s claim was therefore simple and profound: A changing electric field produces magnetic circulation, just as a conduction current does.
Now check charge conservation. Start with the corrected Ampère-Maxwell law:
Take the divergence of both sides:
The left-hand side is zero, because the divergence of a curl is always zero: . Therefore
. Now use Gauss’s law for electricity:
Substitute this into the previous equation:
. This becomes:
This is exactly the continuity equation. So Maxwell’s extra term is not decorative. It is forced by charge conservation. That is the first miracle. The second miracle is that it predicts light.
Electromagnetic Waves
Now take Maxwell’s equations in vacuum:
Then Maxwell’s equations become ,
,
,
Now we derive the wave equation for the electric field. Start with Faraday’s law:
Take the curl of both sides:
Now use the Ampère-Maxwell law:
Substituting gives
Use the vector identity
In vacuum,
so the identity becomes
Therefore
and hence
This is a wave equation. The standard wave equation has the form
So here and therefore
But this number is exactly the speed of light:
That was Maxwell’s astonishing conclusion: Light is an electromagnetic wave.
A changing magnetic field creates a curling electric field. A changing electric field creates a curling magnetic field. The two fields bootstrap each other forward through space. The same calculation gives a wave equation for the magnetic field:
So both and
propagate as waves.
Suppose an electromagnetic wave travels in the -direction. Let
Then Maxwell’s equations imply
The electric field points in the -direction. The magnetic field points in the
-direction. The wave travels in the
-direction.
Thus
The speed relation is and the magnitudes satisfy
Energy flows in the direction of the Poynting vector:
So the geometry is simple: points in the direction the wave travels.
Potentials
Because we can write the magnetic field as a curl:
Now use Faraday’s law: . Substitute
:
Since the time derivative commutes with the curl,
Thus
A curl-free field is locally a gradient. Therefore there exists a scalar potential such that
So and
. These two definitions automatically satisfy
and
So two of Maxwell’s equations become identities. The remaining two equations determine the potentials.
Gauge Freedom
The potentials are not unique. For any smooth scalar function , define new potentials by
and
These look like different potentials. But they produce the same physical fields.
First compute the transformed magnetic field: . Substitute
:
so
But the curl of a gradient is always zero:
Therefore
So the magnetic field is unchanged.
Now compute the transformed electric field: . Substitute the transformed potentials:
Expand both terms:
Since space and time derivatives commute,
These two terms cancel. Hence
Therefore
So both physical fields are unchanged:
This is gauge freedom. The transformation
changes the potentials, but it does not change the electromagnetic fields. In compact form,
This is gauge invariance. The meaning is particularly important: the potentials contain redundancy. Many different pairs describe the same physical electromagnetic field. The fields
and
are observable. The particular choice of potentials is partly a matter of description.
Lorenz Gauge and Wave Equations for Potentials
Choose the Lorenz gauge:
Then Maxwell’s equations become clean wave equations for the potentials:
and
This is conceptually beautiful.
Charges and currents do not create fields instantaneously. They create potentials that propagate at speed . The electric and magnetic fields are then derived from those potentials.
The fields are given by
and
So the potentials are the deeper objects from which the fields are built.
In relativistic notation, the scalar potential and vector potential combine into one four-potential:
Charge density and current density combine into the four-current:
Then Maxwell’s equations become, schematically,
in Lorenz gauge, where
is the wave operator. So the true relativistic structure was already hidden inside Maxwell’s equations before Einstein.
Coulomb Gauge
Another useful gauge is the Coulomb gauge:
Now start with Gauss’s law:
Using
we get
But Coulomb gauge says
so this reduces to
Therefore
This looks instantaneous, like electrostatics.
But physical causality is not violated. The reason is that Coulomb gauge separates the electromagnetic field into two parts. One part is a constraint part, determined by the charge distribution. The other part is a dynamical radiation part, carried by the transverse part of the vector potential . The radiation still propagates at the speed of light. The apparent instantaneous feature belongs to the gauge description, not to a violation of physical causality.
Energy in the Electromagnetic Field
Maxwell’s equations imply that fields carry energy. The electromagnetic energy density is
The energy flux is the Poynting vector:
There is a local conservation law:
This is Poynting’s theorem. The term is the rate of change of electromagnetic energy density. The term
measures electromagnetic energy flowing out of a region.
The term is the rate at which the field does work on matter. If there are no currents, so that
, then the conservation law becomes
So electromagnetic energy is locally conserved. This makes fields physically real. They are not just bookkeeping devices. They carry energy and momentum.
Lagrangian Formulation
The electromagnetic field can be derived from an action principle. One form of the Lagrangian density is
The signs matter. The Hamiltonian energy density is
The Hamiltonian contains electric energy plus magnetic energy. The Lagrangian contains electric energy minus magnetic energy, analogous to kinetic energy minus potential energy. In relativistic notation, the field strength tensor packages the electric and magnetic fields into one geometric object.
The Lagrangian becomes
Varying the four-potential gives Maxwell’s equations. This viewpoint is powerful because it shows that electromagnetism is governed by four principles: locality, Lorentz invariance, gauge invariance, and least action. Maxwell’s equations are not merely empirical laws. They are the Euler-Lagrange equations of the simplest gauge-invariant relativistic field theory.
Differential Forms: The Clean Geometric Version
Vector calculus is useful, but it is not the most natural language for Maxwell’s equations. In vector calculus, Maxwell’s equations are split into separate statements about divergence and curl. We write one equation for , another for
, another for
, and another for
.
That works, but it hides the geometry. Differential forms give a cleaner language. They treat electromagnetism as geometry on spacetime, not as four separate-looking vector equations.
Use spacetime coordinates
or, relativistically,
The electromagnetic potential is not only the vector potential . It also includes the scalar potential
. In ordinary vector notation, the potentials are
and
The electric and magnetic fields are obtained from them by
and
In differential forms, these two formulas are packaged into one formula:
Here is the electromagnetic potential one-form, and
is the electromagnetic field two-form.
A useful coordinate way to write the potential one-form is
This says that has one time component, coming from
, and three space components, coming from
. The symbol
is the exterior derivative. It is the geometric derivative that unifies gradient, curl, and divergence. Now apply
to the potential:
In coordinates, the electromagnetic field two-form has the schematic form
This is the key coordinate picture. The electric field components multiply space-time area elements:
The magnetic field components multiply space-space area elements:
So the electromagnetic field is a spacetime area-measuring object.
It measures electric flux through space-time planes and magnetic flux through space-space planes. This is why is called a two-form. A one-form measures directed line elements. A two-form measures directed area elements. The electromagnetic field naturally measures flux through small oriented areas in spacetime. In ordinary vector language, we usually speak about two fields:
and
.
But in spacetime, these are not truly separate objects. They are different parts of one electromagnetic field: . This is the first major simplification.
Now consider the equation . Since
we have
. But the exterior derivative always satisfies
. So
and therefore
. This single equation contains two of Maxwell’s equations. To see this more concretely, expand
in coordinates. The purely spatial part gives
. That is
. So one part of
says there are no magnetic monopoles. Magnetic field lines do not begin or end.
The mixed space-time parts give
These three equations are exactly . So the one compact equation
contains both
and
. In ordinary language, it says two things at once: there are no magnetic monopoles, and a changing magnetic field creates a curling electric field. So no magnetic monopoles and Faraday induction are two faces of the same geometric fact. That is the first great compression.
Now we need the other two Maxwell equations. These are the equations with sources: electric charge and electric current. To write them, we use the Hodge star operator: . The Hodge star depends on the geometry of spacetime. It converts a differential form into its dual form. In this context, it takes the electromagnetic field
and produces its dual:
.
Roughly speaking, the Hodge star turns one kind of spacetime area into the complementary kind of spacetime area. For example, in four dimensions, the dual of the plane is related to the
plane. So
rearranges the electric and magnetic pieces of
in a way determined by spacetime geometry.
The sourced Maxwell equations are written as
Here is the current three-form. It contains both charge density and current density. In ordinary vector notation, charge-current is described by
and
. In differential-form notation, these combine into one current three-form. Schematically,
This looks complicated, but the meaning is simple. The term measures charge inside a small volume of space. The terms involving
measure charge flowing through surfaces as time passes. So
is the spacetime version of charge and current together. Now expand the sourced equation
in coordinates. The spatial-volume part gives
That is Gauss’s law for electricity:
The three space-time parts give
These three equations are exactly
So the second differential-form equation contains both Gauss’s law for electricity and the Ampère-Maxwell law.
Putting everything together, Maxwell’s four vector equations in differential forms, they become only two equations:
and
The four equations have not disappeared. They have been organized into two spacetime equations. This is the practical meaning of differential-form notation. It is not magic. It is a compact bookkeeping system that respects the geometry of spacetime.
So the whole structure is
Now comes a beautiful point. Charge conservation follows automatically. Start with the sourced equation:
. Apply
to both sides:
Since is constant, this is
. But
so the left-hand side vanishes:
Therefore and hence
. This is the differential-forms version of charge conservation.