Understanding Maxwell’s Equations
Understanding Maxwell’s Equations
Maxwell’s equations provide the fundamental description of classical electromagnetism. They relate electric fields, magnetic fields, electric charge, and electric current. Their applications include electrical circuits, capacitors, inductors, motors, transformers, power converters, antennas, and electromagnetic waves.
The four equations are grouped into two categories:
Divergence equations: describe how electric and magnetic fields originate or terminate.
Curl equations: describe how electric and magnetic fields circulate and how changing fields generate one another.
In SI units, the fields are:
E: electric field, measured in volts per meter
B: magnetic flux density, measured in teslas
ρ: volumetric charge density, measured in coulombs per cubic meter
J: current density, measured in amperes per square meter
ϵ0: permittivity of free space
μ0: permeability of free space
c: speed of light in vacuum
The constants satisfy
The Four Maxwell Equations
1. Gauss’s law for electricity
Differential form:
Integral form:
This equation states that electric charge is a source or sink of electric field. Positive charges produce outward electric flux, while negative charges produce inward electric flux.
2. Gauss’s law for magnetism
Differential form:
Integral form:
The net magnetic flux through any closed surface is zero. This expresses the fact that isolated magnetic monopoles have not been observed: magnetic field lines do not begin or end at a single magnetic charge but form continuous loops.
3. Faraday’s law of electromagnetic induction
Differential form:
Integral form:
A time-varying magnetic flux creates a circulating electric field. This principle explains transformers, generators, inductors, and electromagnetic induction.
4. The Ampère–Maxwell law
Differential form:
Since μ0ϵ0=1/c2, it can also be written as
Integral form:
A magnetic field can be produced by:
An ordinary conduction current J
A changing electric field, represented by the displacement-current term
Differential and Integral Forms
The differential equations describe electromagnetic behavior at a particular point in space. They use:
Divergence, ∇⋅, to describe the net outward flow of a field from a point.
Curl, ∇×, to describe the local circulation of a field around a point.
The integral equations describe the behavior over a finite region:
A closed surface for divergence laws
A closed path and the surface it bounds for curl laws
Two vector-calculus theorems connect the forms:
Divergence theorem
The flux through a closed surface equals the volume integral of the divergence inside that surface:
Stokes’ theorem
The circulation around a closed path equals the flux of the curl through the surface bounded by that path:
1. Gauss’s Law for Electricity
Physical meaning
Gauss’s law for electricity states that the total electric flux through a closed surface depends only on the net electric charge enclosed by that surface:
The electric field itself may be affected by charges both inside and outside the surface. However, the net flux through the closed surface depends only on the charge inside it.
Important consequences
If the enclosed charge is positive, the net electric flux is positive.
If the enclosed charge is negative, the net electric flux is negative.
If the enclosed charge is zero, the net flux is zero.
Charges outside the surface may change the local distribution of E but do not change the net flux.
If a volume contains no net charge, then
and therefore
This does not necessarily mean that the electric field is zero everywhere on the surface. It means that the outward and inward contributions cancel in total.
Application: parallel-plate capacitor
Consider a capacitor consisting of two closely spaced conducting plates. When a voltage is applied, one plate becomes positively charged and the other negatively charged. Ignoring edge effects, the electric field between the plates is approximately uniform.
Let:
Q be the magnitude of the charge on either plate
A be the plate area
E be the electric-field magnitude between the plates
A Gaussian surface can be chosen as a small closed box enclosing one charged plate. The field is approximately zero through the side and lower surfaces, while the electric flux exits through the upper surface. Therefore,
and
Thus, the electric field is proportional to the charge density on the plate.
The surface charge density is
so the field can also be written as
Voltage and electric field
For a uniform electric field between plates separated by distance d, the voltage magnitude is
The voltage represents the work required per unit charge to move a charge between two points against the electric field. Combining this relationship with the field obtained from Gauss’s law gives
Rearranging,
The factor multiplying the voltage is the capacitance:
Therefore, the fundamental capacitor relationship is
For a dielectric material between the plates, the permittivity is changed from ϵ0 to ϵ, giving approximately
Capacitor current
Current is the rate of change of charge:
Using Q=CV, where C is constant,
This is the lumped-circuit equation for a capacitor.
There is no physical transfer of charge directly through the insulating gap between ideal capacitor plates. Instead, charge is redistributed onto and away from the plates through the external wires. The circuit current is therefore associated with the changing charge stored on the plates.
A capacitor stores energy in its electric field, and its current is proportional to the rate of change of its voltage.
2. Gauss’s Law for Magnetism
Physical meaning
Gauss’s law for magnetism is
In integral form,
The total magnetic flux through every closed surface is zero.
Magnetic field lines therefore do not begin or end at isolated points. They form continuous paths. For example, the field lines outside a bar magnet emerge from one pole and enter the other, while inside the magnet they continue back from one pole to the other.
This differs from the electric case, where electric field lines can originate from positive charges and terminate on negative charges.
Application: magnetic core with an air gap
Consider an inductor consisting of a winding around a magnetic core with an air gap. A current through the winding creates a magnetic field in the core and in the air gap.
Choose a closed Gaussian surface that crosses the core and the air gap. If the cross-sectional area is approximately the same in both regions, the net magnetic flux through the surface is
Gauss’s law for magnetism requires this to be zero:
Therefore,
This result follows from the continuity of magnetic flux. In a more general situation, where the areas differ, the relationship is
provided that leakage flux is neglected.
Normal component at a material boundary
When a magnetic field passes from one medium into another, the normal component of B remains continuous in the absence of magnetic monopoles:
In the core-and-air-gap example, the field is normal to the boundary and the cross-sectional area is approximately constant, so the magnetic flux density has approximately the same value in both media.
The magnetic field intensity H, however, generally changes because
The permeability μ of a magnetic core is much larger than the permeability of air. Consequently, the same magnetic flux density requires a much larger magnetic field intensity in the air gap.
Magnetic flux is continuous through a magnetic circuit, even though the magnetic field intensity may change substantially between materials.
3. Faraday’s Law
Physical meaning
Faraday’s law states that a changing magnetic field produces a circulating electric field:
Using Stokes’ theorem,
The magnetic flux through a surface is
so Faraday’s law can be expressed as
The negative sign is a statement of Lenz’s law: the induced electric field acts in a direction that opposes the change in magnetic flux that created it.
Unlike the electrostatic field, which can be described as the gradient of a voltage, an induced electric field can circulate around a changing magnetic field.
Application: capacitor connected to a battery
Consider a battery connected to a capacitor by conducting wires. A closed contour can be selected that:
Travels through one wire to the first capacitor plate
Crosses the space between the capacitor plates
Travels through the second wire
Passes through the battery and returns to the starting point
Assume that the region has negligible magnetic field, so that
Faraday’s law then gives
The line integral can be evaluated in sections.
Contribution from the wires
Inside an ideal or very good conductor, the electric field is treated as negligible:
Thus, the portions of the contour inside the wires contribute approximately zero.
Contribution across the capacitor
Between the plates, the electric field is approximately uniform. If the plate spacing is d, the magnitude of the line integral across the gap is
The sign depends on the direction chosen for the contour relative to the field.
Contribution from the battery
The battery provides a voltage rise equal to its terminal voltage V. Since the wire contributions are negligible and the total line integral is zero, the magnitude of the electric field in the capacitor is
This confirms the familiar capacitor relationship from a field-based argument.
The capacitor voltage is related to the electric field between its plates because the electric-field integral through the conducting wires is negligible.
Application: inductor
Consider a coil connected to a battery. As current through the coil changes, the magnetic field and magnetic flux through the coil also change.
For a contour that follows the conducting wire and includes the battery, the line integral of the electric field is equal in magnitude to the applied voltage:
If the coil has N turns and the magnetic flux through each turn is Φ, the total flux linkage is
Faraday’s law gives
with the sign determined by the chosen voltage and current reference directions. In circuit notation, the magnitude relationship is commonly written as
For a linear inductor,
where L is the inductance. Therefore,
This is the familiar lumped-circuit equation for an inductor.
Interpretation
A constant current produces a constant magnetic field and zero induced voltage in an ideal inductor.
A rapidly changing current produces a larger induced voltage.
The inductor opposes changes in current through the induced voltage.
The inductor stores energy in its magnetic field.
The usual circuit model is possible because the electric field inside the connecting wires is treated as negligible compared with the relevant voltage changes across the component.
4. The Ampère–Maxwell Law
Physical meaning
The Ampère–Maxwell law describes the sources of magnetic-field circulation:
There are two contributions:
Conduction-current contribution
The term
represents the magnetic field generated by moving electric charge, such as current flowing through a wire.
Displacement-current contribution
The term
represents the magnetic field generated by a changing electric field. This term is essential for describing electromagnetic fields consistently, especially in capacitors and at high frequencies.
The integral form is
where the electric flux is
The equation can also be written as
Relative size of the two terms
The permeability of free space is
The coefficient of the displacement-current term is
Because the speed of light is very large, 1/c2 is a very small number. In many low-frequency circuit applications, the displacement-current contribution is negligible compared with the conduction-current contribution.
At sufficiently high frequencies, however, the changing electric field can make a significant contribution. This becomes important in:
Electromagnetic-wave propagation
High-frequency circuits
Antennas
Transmission lines
Capacitors operating at high frequency
Radio-frequency and microwave systems
Application: magnetic field inside a solenoid
Consider a long solenoid with:
N turns
Length ℓ
Current i
Cross-sectional area A
For a sufficiently long solenoid, the magnetic field outside is approximately zero, while the field inside is approximately uniform and parallel to the solenoid axis.
Choose a rectangular Amperian contour with one long side inside the solenoid and the other outside. The outside contribution is negligible, so the line integral becomes
Each turn carries current i, and the surface bounded by the contour is crossed by N turns. Therefore, the enclosed current is
Neglecting displacement current at low frequency, the Ampère–Maxwell law becomes
and hence
If the turn density is defined as
then
This result applies to a long air-core solenoid, where the field is approximately uniform inside and weak outside.
Inductance, Flux Linkage, and Reluctance
Flux through one turn
For a uniform magnetic field perpendicular to the area of a turn,
Substituting the solenoid field,
so
The total flux linkage is
Therefore,
Since flux linkage is proportional to current, inductance is defined by
Thus, the inductance of a long air-core solenoid is approximately
This result shows that inductance increases when:
The number of turns increases
The cross-sectional area increases
The permeability of the core increases
The length of the magnetic path decreases
For a material with permeability μ instead of air,
provided that the magnetic field remains sufficiently uniform and the material operates in a linear region.
Reluctance formulation
The magnetic-circuit form of the flux relationship is
where:
Φ is magnetic flux
F=Ni is magnetomotive force
R is magnetic reluctance
For an air-core solenoid, the reluctance is approximately
Therefore,
The inductance follows from
which gives
This is a useful general expression for inductors:
Inductance equals the square of the number of turns divided by the magnetic reluctance.
A magnetic core with an air gap has a total reluctance approximately equal to the sum of the reluctances of its sections:
Because air has much lower permeability than a ferromagnetic core, even a small air gap can contribute a substantial portion of the total reluctance.
Accuracy of the Long-Solenoid Approximation
The equation
and the corresponding inductance formula
are approximations based on the assumption that the solenoid is slender or sufficiently long.
The approximation is most accurate when:
The solenoid length is much greater than its diameter.
The magnetic field inside is nearly uniform.
The field outside is small.
Edge and fringing effects are negligible.
The turns are distributed relatively uniformly.
For a short or wide inductor, the field varies significantly near the ends. In that case, more sophisticated analytical formulas or numerical methods such as finite-element analysis may be required.
For a slender air-core inductor, however, the simple Maxwell-equation-based formulas produce magnetic-field and inductance values close to those obtained using more advanced calculations.
Supporting Equations of Classical Electromagnetism
Maxwell’s equations describe the electromagnetic fields, but a complete classical description also uses additional relationships.
Charge conservation
Electric charge is conserved. The local mathematical statement is the continuity equation:
This means that charge cannot appear or disappear without a corresponding current flowing into or out of the region.
Lorentz force
The force on a particle of charge q moving with velocity v is
The electric field exerts a force on a stationary or moving charge, while the magnetic field exerts a force only when the charge is moving.
Equation of motion
The force determines the change in momentum:
At relativistic speeds, momentum must include the relativistic correction rather than being treated simply as mv.
Together with the laws of gravitation, these relationships complete the basic framework of classical physics discussed alongside Maxwell’s equations.
Summary of Applications
Capacitor
Gauss’s law determines the electric field produced by the plate charge:
E=ϵ0AQThe voltage across a uniform capacitor field is
V=EdCapacitance is
C=dϵ0ACapacitor current is
i=CdtdV
Magnetic core and air gap
Gauss’s law for magnetism requires continuous magnetic flux.
For equal cross-sectional areas,
Bcore=BgapThe magnetic field intensity changes because the permeability changes between the core and air gap.
Inductor
Faraday’s law gives the induced voltage:
v=NdtdΦWith flux linkage λ=NΦ,
v=dtdλFor a linear inductor,
v=Ldtdi
Solenoid
The Ampère–Maxwell law gives the internal field:
B≈μ0ℓNiThe approximate inductance is
L≈μ0ℓN2AIn magnetic-circuit form,
L=RN2
The four Maxwell equations show that charge creates electric fields, currents create magnetic fields, changing magnetic fields create electric fields, and changing electric fields also create magnetic fields. This mutual relationship between E and B is the foundation of electrical engineering and electromagnetic-wave behavior.

Ask anything
We've read this whole study set, so questions about it get the best answers.