Electromagnetism: from Gauss's law to Maxwell's equations
This chapter takes you from Gauss's law for a few symmetric charges to Faraday's law, the repair of Ampere's law by displacement current, and Maxwell's four equations. It ends with the wave they predict and its speed c. Antennas, transmission lines and field calculations all rest on these equations.
Updated 30 Oct 2026
What you will be able to do
You will use Gauss's law to find the field of a charged sphere, a long line and a large plane. You will see why Ampere's law fails for a charging capacitor and how displacement current repairs it. You will write Maxwell's four equations in integral and differential form and say what each one means. You will show that they give a wave that moves at c=1/μ0ϵ0.
Before you start
Chapter 2, Waves: travelling, standing and moving sources (the wave equation and v=ω/k)
Dot and cross products of vectors, and the right-hand rule
Line, surface and volume integrals; the flux ∫F⋅dA of a vector field through a surface; partial derivatives
Gradient, divergence and curl in Cartesian components; the divergence theorem and Stokes's theorem
Charge and flux: from Coulomb to Gauss
Everything here is in SI units and in vacuum, with ϵ0=8.85×10−12 F/m and μ0=4π×10−7 H/m. Bold letters are vectors, italic letters their magnitudes; E is in V/m and B in T. Gauss's law restates Coulomb's law as a flux through a closed surface. It finds E quickly when symmetry fixes the field: a turn, shift or mirror that leaves the charge unchanged leaves E unchanged too.
COULOMB'S LAW, FIELD AND POTENTIAL
F=4πϵ0r2q1q2,E=4πϵ0r2q,V=4πϵ0rq,E=−∇V
Charges at rest in vacuum. F (N) acts along the line joining q1 and q2 (C), r (m) apart; like charges repel. E (V/m) is the force per unit charge, pointing away from positive q;V (V) is zero at infinity. For many charges, add the fields.
GAUSS'S LAW, INTEGRAL FORM
∮E⋅dA=ϵ0Qenc
Any closed surface (the circle on the integral sign), dA outward. Qenc (C) is the charge inside; the flux is in V m. A face where E is normal with one value E carries E times its area; a face that E lies along carries none.
Sphere: charge Q (C) spread with spherical symmetry within radius R; a concentric sphere. Line: very long, λ in C/m; a coaxial cylinder, radius r, length L. Plane: very large sheet, σ in C/m², away from edges; a pillbox with faces of area A equally far either side. Mirrors in the sheet and at right angles to it leave it unchanged, so E is normal to it, with one value on both faces.
WATCH OUT FOR
Gauss's law holds for any closed surface, but it gives E only if you can take E out of the integral. Test: is E constant and normal on every face that carries flux? If not, add the fields of the parts.
WORKED EXAMPLE
A very long straight line in vacuum carries a uniform charge of λ=2.0 nC/m. Find E at 0.50 m from it.
▸ Solution
Use a coaxial cylinder, radius r=0.50 m, length L. Turns about the line, shifts along it, and mirrors in planes through it or across it all leave the line unchanged, so E points straight out with one value at this r.
So the curved side carries flux E2πrL. On the flat ends E lies along the surface, so they carry none.
The charge inside is λL, so Gauss's law gives E=λ/(2πϵ0r);L cancels.
Put in numbers, with λ in C/m and r in m: E=2π(8.85×10−12)(0.50)2.0×10−9=2.78×10−112.0×10−9 V/m =71.9 V/m.
Answer: About 72 V/m, pointing radially away from the line.
Induction, and why Ampere's law needed repair
The magnetic flux through a loop is ΦB=∫B⋅dA over a surface bounded by it. The emf, ∮E⋅dl, is the work done on unit charge in one trip round the loop. A changing ΦB makes an emf, with or without a wire; in a wire it drives a current whose own field opposes the change (Lenz's law). Ampere's law runs the other way: current makes B circulate.
FARADAY'S LAW
∮E⋅dl=−dtdΦB,ΦB=∫B⋅dA
A loop fixed in place while B changes; emf in V, ΦB in Wb (T m²). Curl your right fingers along dl; your thumb gives dA. If ΦB along the thumb grows, E circulates against your fingers: the minus sign is Lenz's law. A circulating E is not −∇V, which holds only for static fields.
Steady currents. Ienc (A) is the current through a surface bounded by the loop, positive along the right-hand-rule dA;B in T. For the wire: a circle of radius r (m) round it, on which B is constant and along the loop.
Now charge a parallel-plate capacitor through a wire, and take a circle round the wire. A flat disc on the circle is pierced by the wire: Ienc=I. A bulging surface on the same circle that passes between the plates is pierced by nothing: Ienc=0. One loop, two answers. What does cross the bulging surface is a changing electric flux.
DISPLACEMENT CURRENT
Id=ϵ0dtdΦE,ΦE=EA=ϵ0Q⇒Id=dtdQ=I
ΦE (V m) is the electric flux through the surface; Id in A. Plates of area A (m²) carry +Q and −Q (C), edges ignored, and I=dQ/dt. The two sheets, σ=Q/A, give E=Q/(ϵ0A) in the gap and zero outside, so all the flux crosses the bulging surface. Add Id to Ienc and both surfaces agree.
WATCH OUT FOR
Displacement current is not charge crossing the gap. Test: the gap is empty. A changing E plays the role of a current in producing B.
WORKED EXAMPLE
A parallel-plate capacitor in vacuum has plates of area 0.010 m² and a gap of 1.0 mm. The voltage across it rises at 2.0×103 V/s. Find the displacement current in the gap.
▸ Solution
Between ideal plates the field is uniform, so E=V/d and ΦE=EA=VA/d.
Then Id=ϵ0dΦE/dt=dϵ0AdtdV, because only V changes.
Evaluate: 1.0×10−3m(8.85×10−12F/m)(0.010m2)×2.0×103V/s=(8.85×10−11F)(2.0×103V/s)=1.77×10−7 A.
Check: the plate charge is Q=(ϵ0A/d)V, so the wire current dQ/dt is the same, as Id=I says.
Answer:1.77×10−7 A (0.177 micro A), equal to the current in the wires.
Maxwell's equations and the wave
With displacement current added, four laws describe the fields of charges and currents in vacuum. The order is Gauss (E), Gauss (B), Faraday, Ampere-Maxwell.
The first two are over a closed surface, dA outward. In the last two, ΦB (Wb), ΦE (V m) and Ienc (A) go through an open surface bounded by the loop, dA by the right-hand rule. The last line is Ampere's law with μ0Id added.
Equation
In words
Gauss (E)
Charge is the source of electric flux.
Gauss (B)
There are no magnetic charges, so B lines never begin or end.
Faraday
A changing B makes E circulate.
Ampere-Maxwell
Current, and a changing E, make B circulate.
MAXWELL'S EQUATIONS, DIFFERENTIAL FORM
∇⋅E=ϵ0ρ,∇⋅B=0,∇×E=−∂t∂B,∇×B=μ0J+μ0ϵ0∂t∂E
The same laws at a point: the divergence theorem turns each closed-surface integral into a divergence, Stokes's theorem each loop integral into a curl. ρ is charge per unit volume (C/m³), J current per unit area (A/m²).
Take empty space (ρ=0,J=0) and fields that vary only with x and t. Then ∇⋅E=∂Ex/∂x=0 and (∇×B)x=0 gives ∂Ex/∂t=0;Bx likewise. A constant field along x is no part of the wave. Take E=Eyy^: its curl is (∂Ey/∂x)z^, so by Faraday only Bz changes. Take B=Bzz^: its curl is −(∂Bz/∂x)y^.
Vacuum; Ey and Bz depend on x and t only. Line 1 is the z part of Faraday and the y part of Ampere-Maxwell. Line 2: differentiate the first by x, swap the derivatives, use the second. This is Chapter 2's ∂2y/∂x2=(1/v2)∂2y/∂t2 with Ey for y, so v2=1/(μ0ϵ0).
So μ0ϵ0=(4π×10−7)(8.85×10−12)=1.11×10−17 s²/m² and c=3.00×108 m/s. With Chapter 2's wave number k=2π/λ and angular frequency ω,Ey=E0sin(kx−ωt) (E0 in V/m) travels in +x and solves the wave equation when ω/k=c. Electromagnetics texts write β, the phase constant, for k. Integrating the first equation in t, and dropping a constant field, gives Bz=(E0/c)sin(kx−ωt): in phase with Ey, with E/B=c.E along y,B along z, travel along x: all at right angles.
Check yourself
CHECK YOURSELF 1
A thin spherical shell of radius R carries a total charge Q spread uniformly over its surface, in vacuum. What is the electric field at a distance r<R from the centre?
(A)
Zero
(B)
Q/(4πϵ0R2)
(C)
Q/(4πϵ0r2)
(D)
Qr/(4πϵ0R3)
▸ Answer and solution
Answer: (A)
Take a concentric sphere of radius r<R as the Gauss surface; by symmetry E is radial and has one value on it.
It encloses no charge, so E4πr2=0.
So E=0 everywhere inside the shell.
CHECK YOURSELF 2
A very large, thin, flat non-conducting sheet in vacuum carries a uniform surface charge density of 4.0 micro C/m². Treat it as an infinite plane. Find the electric field magnitude at 1.0 cm from the sheet, far from its edges, in kV/m. Use ϵ0=8.85×10−12 F/m.
▸ Answer and solution
Answer:226 (accepted range ±2)
For an infinite plane, Gauss's law with a pillbox gives E=σ/(2ϵ0), the same at any distance.
E=2(8.85×10−12F/m)4.0×10−6C/m2=2.26×105 V/m.
That is about 226 kV/m.
CHECK YOURSELF 3One or more options are correct
A parallel-plate capacitor in vacuum is being charged by a steady wire current I. Which statements are correct?
(A)
The displacement current in the gap is ϵ0dΦE/dt, with ΦE the electric flux through the gap.
(B)
The displacement current is charge carriers crossing the gap.
(C)
Adding it to the current in Ampere's law gives the same answer for the flat disc and the bulging surface bounded by a circle round the wire.
(D)
The displacement current in the gap is zero, because I is steady.
▸ Answer and solution
Answer: (A), (C)
A is the definition of displacement current.
B is false: the gap is empty, and a changing E does the job.
C is true: the disc has I and no Id, the bulging surface Id=I and no wire current.
D is false: I steady means Q grows steadily, so E keeps changing and Id=I.
CHECK YOURSELF 4
A fixed loop of area 0.020 m² lies perpendicular to a uniform magnetic field. The field rises uniformly from 0 to 0.50 T in 0.10 s. Find the magnitude of the induced emf in volts.
▸ Answer and solution
Answer:0.1 (accepted range ±0.002)
Faraday's law: the emf magnitude is dΦB/dt.
ΦB=BA, so the flux rises from 0 to 0.50T×0.020m2=0.010 Wb.