6.8 Maxwell's equations, conservation laws and heat
Gauss's law and Ampère's law are the divergence theorem and Stokes' theorem applied to the electric and magnetic fields, Maxwell's four equations are their local forms plus Faraday's law and one correction forced by d squared equals zero, and the same two theorems turn any conservation law into a continuity equation, giving incompressible flow and the heat equation.
Taught in 375/376Beyond the courseApostol Vol. 2, 12.20 (applications of the divergence theorem)MATH 376 worksheet 14 problems 2 and 6 (Ampère's law and heat flow)Maxwell, A Dynamical Theory of the Electromagnetic Field (1865)Griffiths, Introduction to Electrodynamics, ch. 2 and 7
Why does light travel at the speed it does? In 1865 Maxwell answered by writing down a system of equations about two vector fields and showing that they have wave solutions travelling at a speed that depends on two measured constants of electricity and magnetism, and that this speed is the speed of light. Those equations are statements about flux and circulation, and the two theorems of 6.6 translate them between a statement about a whole region and a statement about each point. The same translation produces the continuity equation for any conserved quantity, the condition for an incompressible fluid, and the heat equation. This chapter is the one place in Unit 6 where the integrals are answers to questions about the real world.
Before you start
6.6: the divergence theorem, and the flux of r/∣r∣3 out of every surface enclosing the origin, which is 4π. 6.6: Stokes’ theorem. 6.5: flux. 6.7: d2=0, that is divcurl=0.
Quick checkWhat is the outward flux of G=r/∣r∣3 through a closed surface that encloses the origin?
On a small sphere around the origin G⋅n=1/ε2 and the area is 4πε2, giving 4π; since divG=0 elsewhere, every surface enclosing the origin has the same flux. A surface not enclosing the origin has flux 0.Review: the divergence theorem and the excised ball
Quick checkStokes' theorem turns ∮CB⋅dℓ into which integral?
Circulation round the edge of a surface equals the flux of the curl through the surface.Review: Stokes' theorem
Quick checkFor a C2 field B, what is div(curlB)?
It is zero for every C2 field: mixed partials cancel. This single fact forces Maxwell's correction in this chapter.Review: d squared is zero
The picture: the field that circles a wire
The field of the picture is F=(−y,x,0)/(x2+y2). Up to a constant factor, it is the magnetic field of a long straight wire carrying current along the z-axis: it circles the wire, and its size falls like 1/distance. Put the paddle wheel anywhere except on the axis and it does not turn, so the curl is 0 there. Yet the circulation of the field around any loop that goes once round the wire is the same non-zero number. That number is not a mystery any more: by Stokes’ theorem it is the flux of the curl through a disc, and the curl is zero everywhere except on the wire itself, where all of it is concentrated. The wire carries the current, and the current is the curl. That sentence is Ampère’s law.
The idea, in words
A physical law of the form ‘the total amount of something in a region changes only because of what flows through its boundary’ is an integral statement: it is about a whole region E and its skin ∂E. The divergence theorem converts the skin into the inside, so the statement becomes ‘the integral over E of (rate of change + divergence of the flux) is 0’. If that is true for every region, however small, the integrand must be zero at every point, and we have a differential equation. Likewise a law about the circulation of a field round a loop C and the flux of something through a surface bounded by C is converted by Stokes’ theorem into a statement about the curl at each point. So there is a recipe: integral law ⇒ (theorem) ⇒ integral of a local quantity over an arbitrary region is zero ⇒ local quantity is zero. The last step needs a small lemma, which we prove first.
Lemma Bstandard; used in Apostol 12.20
A continuous function with zero integral over every region is zero
Let h be continuous on an open set U⊂R3 with ∭BhdV=0 for every ball B⊂U. Then h≡0 on U. The same holds with surfaces and double integrals.
In one lineIf h is continuous on an open set and ∭EhdV=0 for every ball E inside it, then h=0 everywhere.
Why it is trueIt is the step that turns every 'for all regions' physical law into a differential equation.
Proofstandard
The idea: If h were non-zero at a point, continuity would make it keep the same sign on a small ball, and the integral over that ball could not be zero.
Assume h(p)>0.
Suppose h(p)=0 at some point p, say h(p)>0 (otherwise replace h by −h).
There is δ>0 with h(q)>h(p)/2 for every q in the ball B of radius δ about p.
Continuity of h at p with tolerance h(p)/2.
∭BhdV≥2h(p)Vol(B)>0, contradicting the hypothesis. ■
The integral of a function that is larger than a positive constant is larger than that constant times the volume.
Where this came from· Maxwell, 1865
Michael Faraday’s experiments of the 1830s showed that changing magnetic effects produce electric ones. James Clerk Maxwell built a mathematical theory on them. In his 1865 paper A Dynamical Theory of the Electromagnetic Field he gave a system of equations for the electric and magnetic fields. He had added a term, the displacement current, which he first introduced in his earlier work on mechanical models of the field in 1861 and 1862; in the 1865 paper he used it to derive that the fields obey a wave equation, with a speed close to the measured speed of light, and concluded that light is an electromagnetic wave. Maxwell’s own presentation had twenty equations in components, collected in eight groups. The compact form of four vector equations that textbooks print was found later by Oliver Heaviside, around 1884, in the vector notation that he and Willard Gibbs developed. The language of curl, divergence and the two theorems of 6.6 is what makes four equations out of many.
Gauss’s law: charge and the divergence theorem
Definition B
Electric field
The electric fieldE is the force per unit charge: a charge q at position r feels the force qE(r). For a point charge q at the origin, Coulomb’s law gives E(r)=4πε0q∣r∣3r, with ε0≈8.854×10−12 F/m. Fields of several charges add (superposition).
In one lineThe vector field E such that a small charge q at a point feels the force qE; for a point charge q at the origin, E=4πε0q∣r∣3r (Coulomb's law).
Why it existsIt turns 'force between charges' into a field that exists whether or not there is a test charge, and fields are what the integral theorems act on.
Definition B
Charge density
The charge densityρ (charge per unit volume) is defined by QE=∭EρdV for the charge in the region E. (In this chapter ρ means charge density, not the spherical radius of 6.4.)
In one lineThe function ρ(r) such that the charge in a region E is Q=∭EρdV.
Why it existsA cloud of charge is a function; the total charge is its integral.
Definition B
Gauss's law
Gauss’s law: for every closed surface S=∂E with outward normal n, ∬SE⋅ndS=ε01∭EρdV. In differential form, ∇⋅E=ε0ρ.
In one lineThe flux of E out of a closed surface S is the enclosed charge divided by ε0: ∬SE⋅ndS=Qenc/ε0. Its local form is ∇⋅E=ρ/ε0.
Why it existsIt says charge is the source of the electric field, and that the field lines of a charge neither start nor end anywhere else.
Theorem BGriffiths 2.2; the computation of 6.6
Gauss's law follows from Coulomb's law
Let E=∑i4πε0qi∣r−pi∣3r−pi.
In one lineFor charges at points pi with values qi and a closed surface S not passing through any of them, ∬SE⋅ndS=ε01∑pi insideqi.
Why it is trueIt shows the integral law is a consequence of the inverse square law, and it is the reason that the force law has the exponent two: only then is the flux through every surface independent of its shape.
ProofMATH 376 lecture of 4 March and 6.6
The idea: By linearity treat one charge. If the charge is inside, the flux through any enclosing surface equals the flux through a small sphere around it, which is 4 pi times the coefficient. If it is outside, the divergence theorem applies to the field and gives zero.
∬SE⋅ndS=∑i∬SEi⋅ndS.
Flux is linear in the field, so it is enough to take one charge q at p.
If p is outside S, G is C1 on the solid inside, so the divergence theorem gives flux ∭0dV=0.
From 6.6: G=(r−p)/∣r−p∣3 has divG=0 for r=p.
If p is inside S, the flux of G through S equals the flux through the small sphere, ε21⋅4πε2=4π.
From 6.6, remove a small ball of radius ε about p and apply the divergence theorem to the region between. On the small sphere G⋅n=1/ε2.
The flux of E is 4πε01⋅4π∑insideqi=ε01∑insideqi. ■
Multiply by the coefficient 4πε0q and add over the charges inside.With a charge density ρ the sum is the integral ∭EρdV.
Corollary BApostol 12.20
The differential form of Gauss's law
If ∬∂BE⋅ndS=ε01∭BρdV for every ball B, then ∇⋅E=ρ/ε0.
In one lineIf Gauss's law holds for every closed surface, and E is C1 and ρ continuous, then ∇⋅E=ρ/ε0 at every point.
Why it is trueIt is the recipe of the previous section in action: the divergence theorem, then the lemma.
ProofApostol 12.20
The idea: Replace the surface integral with a volume integral by the divergence theorem, move everything to one side, and apply the lemma.
∬∂BE⋅ndS=∭B∇⋅EdV.
Divergence theorem for E on the ball (valid since E is C1).
∭B(∇⋅E−ρ/ε0)dV=0 for every ball B.
Gauss's law in integral form.
∇⋅E−ρ/ε0=0 everywhere. ■
The integrand is continuous, so the lemma of the previous section applies.
Using Gauss’s law: choose a surface where E⋅n is constant
Gauss’s law is most useful when symmetry makes E⋅n constant on a surface, so the flux is E⋅n times the area, which is the shortcut of 6.5.
Worked example Griffiths 2.2; the shortcut of 6.5 and 6.6
A solid sphere of radius a carries total charge Q spread uniformly. Find E inside and outside.
Solution.
Symmetry. The charge distribution looks the same from every direction, so E points radially and depends only on the distance r: E=E(r)r^. Rotating the sphere changes nothing, so the field cannot prefer a direction other than the radial one.
Gaussian surface. A sphere of radius r concentric with the charge. On it E⋅n=E(r) is constant, so the flux is E(r)⋅4πr2.
Outside (r>a). The enclosed charge is Q, so E(r)4πr2=Q/ε0, which gives E(r)=4πε0r2Q. Same as the field of a point charge at the centre.
Inside (r<a). The enclosed charge is the fraction a3r3 of the volume, Qa3r3. So E(r)4πr2=ε0a3Qr3 and E(r)=4πε0a3Qr. Inside, the field grows linearly with the distance from the centre.
Check with the differential form. The charge density is ρ=4πa33Q. Inside, E=3ε0ρ(x,y,z) has divergence 3ε0ρ⋅3=ε0ρ. Outside, E∝r/∣r∣3 has divergence 0. Both agree with ∇⋅E=ρ/ε0.
Answer.E=4πε0r2Q for r≥a and E=4πε0a3Qr for r≤a, the two agreeing at r=a. For Q=2 nC, a=0.1 m and r=0.05 m, with 4πε01=8.988×109 N m2/C2: E=8.988×109⋅2×10−9⋅0.05/0.001≈899 V/m.
Worked example Griffiths 2.2
An infinite straight line carries charge λ per unit length. Find E at distance s. Then do the same for an infinite plane with charge σ per unit area.
Solution.
Symmetry for the line. By symmetry under rotation about the line and translation along it, E points away from the line and depends only on the distance s.
Gaussian surface. A coaxial cylinder of radius s and length L, closed with two discs. It has to be a closed surface for the law to apply.
Flux. On the two end discs E⋅n=0 (the field is perpendicular to the axis). On the side wall E⋅n=E(s) is constant, with area 2πsL. So the flux is E(s)⋅2πsL.
Gauss. The enclosed charge is λL, so E(s)2πsL=λL/ε0 and E(s)=2πε0sλ.
The plane. By symmetry E points perpendicular to the plane. Take a pillbox: two discs of area A parallel to the plane on either side, with side walls perpendicular to the plane. The flux is 2EA and the enclosed charge is σA, so 2EA=σA/ε0 and E=2ε0σ, independent of the distance.
Answer.E=2πε0sλ for the line, falling like 1/s, and E=2ε0σ for the plane, constant. For λ=1 nC/m at s=1 m: E=2⋅8.988×109⋅10−9/1≈18.0 V/m.
Your answerA long straight wire carries a uniform charge of 1 nC per metre (10−9 C/m). What is the electric field, in V/m, at a distance of 1 m? Use 4πε01=8.988×109 N m2/C2.
The flux through the side of the cylinder is E⋅2πsL and the enclosed charge is λL.
By Gauss's law on a coaxial cylinder, E=2πε0sλ=2⋅4πε01⋅sλ=2⋅8.988×109⋅10−9/1≈17.98 V/m.
Quick checkWhy can you not use Gauss's law with a Gaussian cube to find the field of a point charge at its centre?
The law holds for every closed surface (the flux is q/ε0), but it gives one equation for the whole integral of E⋅n. You can read off E only when symmetry makes E⋅n constant on the surface, as on a sphere.
Quick checkInside a uniformly charged solid sphere, the electric field
The enclosed charge grows like r3 and the area like r2, so E⋅4πr2∝r3 gives E∝r. The 1/r2 law is for the outside.
Magnetism: no sources, and Ampère’s law
Definition B
Magnetic field
The magnetic fieldB is the field for which a charge q with velocity v at that point feels the extra force qv×B (note the cross product of 6.5). Experiments show no isolated magnetic charges, which gives Gauss’s law for magnetism: ∬∂EB⋅ndS=0 for every closed surface, and so ∇⋅B=0 by the same argument as above. In the language of 6.6, B is a solenoidal field.
In one lineThe vector field B such that a charge q moving with velocity v feels the force qv×B; its flux through every closed surface is 0.
Why it existsIt describes the force on moving charges, and the fact that it has no sources is the statement that there are no magnetic charges.
Definition B
Current density
The current densityJ is the charge flow per unit area per unit time, so that the current crossing the oriented surface S is I=∬SJ⋅ndS. In a wire of cross-section A carrying a uniform current I along the wire, ∣J∣=I/A.
In one lineThe vector field J such that the current (charge per unit time) through a surface S is ∬SJ⋅ndS.
Why it existsA current in a wire is a flux of charge, so the current through a surface is the flux of a vector field. It is the source of the magnetic field.
Definition B
Ampere's law
Ampère’s law (the version for steady currents): for a closed loop C bounding the oriented surface S (induced orientation), ∮CB⋅dℓ=μ0∬SJ⋅ndS=μ0Ienc. By Stokes’ theorem the left side is ∬S(∇×B)⋅ndS, so for every surface ∇×B=μ0J. Here μ0≈4π×10−7 N/A2.
In one lineFor the magnetic field of steady currents, the circulation of B round a closed loop C is μ0 times the current through any surface bounded by C: ∮CB⋅dℓ=μ0∬SJ⋅ndS, locally ∇×B=μ0J.
Why it existsIt says current is the source of the circulating magnetic field, exactly as Stokes' theorem equates circulation to the flux of a curl.
Worked example MATH 376 worksheet 14 problem 6
A wire has a cross-section the disc of radius 2 and current density J=(0,0,20r), where r is the distance from the axis. Find the circulation of B round the edge of the cross-section, with ∇×B=μ0J.
Solution.
Surface.S is the cross-sectional disc of radius 2 with n=(0,0,1); its edge C has the induced orientation.
Stokes, then Ampère.∮CB⋅dℓ=∬S(∇×B)⋅ndS=μ0∬SJ⋅ndS.
Dot.J⋅n=20r.
Integrate.∫02π∫02μ020r⋅rdrdθ=2πμ0⋅20⋅38=3320πμ0. The extra r is the area element rdrdθ.
Answer.3320πμ0. The circulation equals μ0 times the total current. The total current is ∬J⋅ndS=2π∫0220r2dr=3320π in the units of J.
Worked example Griffiths 5.3
A long straight wire of radius a carries a steady current I spread uniformly over its cross-section. Find B inside and outside. Then find B inside a long solenoid with n turns per metre carrying current I.
Solution.
Symmetry for the wire.B circles the axis and depends only on the distance s: B=B(s)φ^. By symmetry about the axis and along it, B can depend only on s. The direction is the right-hand rule for the current (Biot and Savart’s law gives it). A radial part would put a net magnetic flux through a coaxial cylinder, which ∇⋅B=0 forbids.
Amperian loop. A circle of radius s about the axis, with B⋅dℓ=B(s)ds along it. The circulation is B(s)⋅2πs.
Outside (s>a). The loop encloses the whole current: B(s)2πs=μ0I, so B=2πsμ0I.
Inside (s<a). The current through the loop’s disc is Ia2s2, so B(s)2πs=μ0Ia2s2 and B=2πa2μ0Is.
Outside is the field of the picture.B=2πμ0Ix2+y2(−y,x): curl 0 away from the wire, circulation μ0I round any loop enclosing it.
Solenoid. Take a rectangular loop with one long side of length ℓ inside the solenoid, the opposite long side far outside where B≈0, and short sides perpendicular to the axis. The circulation is Bℓ and the enclosed current is nIℓ, so B=μ0nI.
Answer.B=2πsμ0I outside, 2πa2μ0Is inside, and B=μ0nI in a long solenoid. For I=100 A and s=5 cm outside the wire: B=2π⋅0.054π×10−7⋅100=4×10−4 T. For n=1000 per metre and I=2 A: B=2.5×10−3 T.
Maxwell’s correction: d2=0 forces a new term
Ampère’s law ∇×B=μ0J is correct for steady currents. For changing ones it contradicts the conservation of charge. First the conservation law.
Definition B
Continuity equation
For a conserved quantity with density u (amount per unit volume) and flux density j (amount crossing unit area per unit time), the continuity equation is ∂t∂u+∇⋅j=0. For electric charge, u=ρ and j=J. For mass of a fluid with velocity v, u is the mass density and j=uv.
In one lineIf a conserved quantity has density u and flux density j, then ∂tu+∇⋅j=0. For charge: ∂tρ+∇⋅J=0.
Why it existsIt is the local form of 'what is inside changes only by what crosses the boundary', and it is the equation behind every conservation law in continuum physics.
Theorem BApostol 12.20; Griffiths 5.3
The continuity equation
Let u be the density and j the flux density of a quantity that is neither created nor destroyed, with u and j of class C1.
In one lineIf the amount of a quantity in every fixed region E changes only through the flux across ∂E, then ∂tu+∇⋅j=0.
Why it is trueIt is a conservation law written for every point at once, and it is the model for the derivation of the heat equation and the equation of fluid flow.
ProofGriffiths 5.3
The idea: The amount in a fixed ball changes by minus the flux out of its skin. The divergence theorem turns the flux into a volume integral, and the lemma turns the equality for all balls into the equation at each point.
dtd∭BudV=−∬∂Bj⋅ndS.
The amount of the quantity in the fixed ball B is ∭BudV.
∭B∂tudV=−∭B∇⋅jdV.
Differentiate under the integral sign on the left (the ball does not move, u is C1), and use the divergence theorem on the right.
∭B(∂tu+∇⋅j)dV=0 for every ball B.
Move everything to one side.
∂tu+∇⋅j=0 everywhere. ■
The integrand is continuous, so the lemma applies.
Proof workshopGive the reason for each line: the continuity equationGriffiths 5.3
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
dtd∭BudV=−∬∂Bj⋅ndS.
∭B∂tudV=−∭B∇⋅jdV.
∭B(∂tu+∇⋅j)dV=0 for every ball.
∂tu+∇⋅j=0 at every point.
Now the problem. Take the divergence of Ampère’s law ∇×B=μ0J. The left side is ∇⋅(∇×B)=0 by d2=0 (6.6, 6.7). So ∇⋅J=0. But charge conservation says ∇⋅J=−∂tρ. For a charging capacitor, charge piles up on the plates, ∂tρ=0, and the two statements are inconsistent. Maxwell’s repair uses Gauss’s law, ρ=ε0∇⋅E.
Definition B
Displacement current
Maxwell’s correction. Replace J by J+ε0∂tE in Ampère’s law:
∇×B=μ0J+μ0ε0∂t∂E.
The extra term is the displacement current. Check the divergence: 0=∇⋅(∇×B)=μ0∇⋅J+μ0ε0∂t(∇⋅E)=μ0∇⋅J+μ0∂tρ=μ0(∇⋅J+∂tρ), which is 0 by the continuity equation. The law is now consistent.
In one lineThe term ε0∂E/∂t that Maxwell added to the current density in Ampère's law, so that ∇×B=μ0(J+ε0∂tE).
Why it existsIt makes Ampère's law consistent with charge conservation, and it makes a changing electric field a source of magnetic field, which is what lets light propagate.
Proof workshopRebuild the argument that forces Maxwell's displacement currentMaxwell 1865; Griffiths 7.3
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
The divergence of a curl is zero for every field with continuous second partial derivatives.
Start from Ampère's law as it stood before the correction.
The continuity equation for charge.
You need the result of taking the divergence first.
Charge accumulates on the plates while a current flows in the wire, so the density changes with time.
The conflict has to be stated before it can be repaired.
Gauss's law expresses the charge density through the divergence of the electric field, and time and space derivatives commute.
Look for the identity that expresses the density through the field.
Replace the density in the conservation law by the field and combine; the combined vector has zero divergence, which a curl is allowed to have.
Rewrite the conservation law with the field before proposing the new term.
Worked example Griffiths 7.3 (the standard example of the displacement current)
A circular parallel-plate capacitor with plates of radius R=5 cm is charged by a steady current I=2 A in the wires. Find the magnetic field at distance r from the axis between the plates, at r=R.
Solution.
No current between the plates. There J=0, so Ampère’s law with Maxwell’s term reads ∮B⋅dℓ=μ0ε0dtd∬E⋅ndS.
The electric field. The charge Q(t) on a plate gives E=ε0πR2Q between the plates, so dtdE=ε0πR2I (with I=dQ/dt), numerically 8.854×10−12⋅7.854×10−32≈2.9×1013 V/(m s).
Amperian loop of radius r<R. The flux of E through the disc is Eπr2, so μ0ε0dtd(Eπr2)=μ0R2Ir2. The circulation is B2πr.
Solve.B(r)=2πR2μ0Ir for r≤R.
At the edge.B(R)=2πRμ0I=2π⋅0.054π×10−7⋅2=8×10−6 T.
Answer.B(R)=8μT. This is exactly the field the current I in the wire produces at distance R: the displacement current carries on from where the real current stops, and the circulation does not jump.
Your answerIn the charging capacitor of the example (plates of radius 5 cm, current 2 A) what is the magnetic field, in microteslas, at the rim of the plates, between them?
The displacement current through the disc of radius R is the whole current I.
B(R)=2πRμ0I=2π⋅0.054π×10−7⋅2=8×10−6 T =8μT.
Faraday’s law and the four equations
Definition B
Faraday's law
Faraday’s law of induction: for a fixed loop C bounding the surface S with the induced orientation, ∮CE⋅dℓ=−dtd∬SB⋅ndS. By Stokes’ theorem the left side is ∬S(∇×E)⋅ndS, and for a fixed surface the right side is −∬S∂tB⋅ndS; since this holds for every surface, ∇×E=−∂t∂B. The circulation is the electromotive force round the loop.
In one lineThe circulation of E round a loop C equals minus the rate of change of the magnetic flux through a surface bounded by C: ∮CE⋅dℓ=−dtd∬SB⋅ndS, locally ∇×E=−∂tB.
Why it existsIt says a changing magnetic field drives an electric field that circulates, which is how generators and transformers work.
Definition B
Maxwell's equations
Maxwell’s equations in vacuum with charges and currents:
Law
Integral form
Differential form
Theorem that converts
Gauss
∬∂EE⋅ndS=ε0Qenc
∇⋅E=ε0ρ
divergence theorem
Gauss for magnetism
∬∂EB⋅ndS=0
∇⋅B=0
divergence theorem
Faraday
∮∂SE⋅dℓ=−dtd∬SB⋅ndS
∇×E=−∂t∂B
Stokes’ theorem
Ampère-Maxwell
∮∂SB⋅dℓ=μ0Ienc+μ0ε0dtd∬SE⋅ndS
∇×B=μ0J+μ0ε0∂t∂E
Stokes’ theorem
The first two rows are about closed surfaces ∂E with outward normal, the last two about loops ∂S with the induced orientation.
In one lineThe four laws: ∇⋅E=ρ/ε0, ∇⋅B=0, ∇×E=−∂tB, ∇×B=μ0J+μ0ε0∂tE, together with the force law on a charge, q(E+v×B).
Why it existsFour equations contain all of classical electricity, magnetism and optics. Each has an integral form, which is a statement about a region, and a differential form, which is a statement about a point.
Worked example Griffiths 7.2
A circular loop of wire of radius 0.1 m lies in a uniform magnetic field perpendicular to its plane, B(t)=0.5sin(2π⋅50t) tesla. Find the largest electromotive force round the loop.
Solution.
Flux. The disc has area π⋅0.12=0.0314 m2, so the flux is Φ(t)=0.0314⋅0.5sin(100πt) weber.
Faraday. The EMF is ∮E⋅dℓ=−dtdΦ, of size 0.0314⋅0.5⋅100πcos(100πt).
Maximum.0.5⋅π⋅0.01⋅100π=0.5π2≈4.93 V.
Answer. About 4.9 V. That is why a coil of N turns in a 50 Hz field makes N times the voltage: the flux through the surface bounded by the whole coil is N times the flux through one loop.
Your answerA circular loop of radius 0.1 m sits perpendicular to the field B(t)=0.5sin(100πt) tesla. What is the peak EMF round the loop, in volts?
Faraday's law: EMF =−dΦ/dt, and the maximum of cos is 1.
Φ=π(0.1)2⋅0.5sin(100πt), so ∣Φ′∣max=π⋅0.01⋅0.5⋅100π=2π2≈4.93 V.
Quick checkWhich theorem converts the integral form of Faraday's law into ∇×E=−∂tB?
Faraday's law is about a loop and the surface it bounds, a circulation and a flux, which is the shape of Stokes' theorem. Gauss's laws are about closed surfaces and use the divergence theorem.
Quick checkWhat does the equation ∇⋅B=0 say, in words?
B is solenoidal. By the divergence theorem the flux through every closed surface is ∭∇⋅BdV=0. The field lines of B close up on themselves. It is not curl-free (the circulation round a wire is not zero), so it is not a gradient.
Light
Theorem BMaxwell 1865; Griffiths 9.2
Electromagnetic waves
In vacuum, Maxwell’s equations give ∇2E=μ0ε0∂t2∂2E, the wave equation of 5.9 in three space variables.
In one lineIn empty space (ρ=0, J=0) each Cartesian component of E satisfies the wave equation ∂t2E=c2∇2E with c=1/μ0ε0≈2.998×108 m/s.
Why it is trueTwo measured constants of electricity and magnetism produce a speed, and the speed is that of light. Maxwell's conclusion was that light is an electromagnetic wave.
ProofGriffiths 9.2
The idea: Take the curl of Faraday's law, swap the order of the derivatives, and use Ampère-Maxwell. The identity curl curl E = grad div E minus Laplacian E, together with div E = 0 in empty space, finishes it.
∇×(∇×E)=−∇×∂tB=−∂t(∇×B).
Faraday's law, then curl of both sides.
=−μ0ε0∂t2∂2E.
Ampère-Maxwell in empty space: ∇×B=μ0ε0∂tE.
∇×(∇×E)=∇(∇⋅E)−∇2E.
The identity ∇×(∇×E)=∇(∇⋅E)−∇2E, componentwise.Check of the first component, with E=(P,Q,R): curl curl has first component ∂y(Qx−Py)−∂z(Pz−Rx)=Qxy+Rxz−Pyy−Pzz; and grad div minus Laplacian has ∂x(Px+Qy+Rz)−(Pxx+Pyy+Pzz)=Qxy+Rxz−Pyy−Pzz, the same.
∇×(∇×E)=−∇2E.
Gauss's law in empty space: ∇⋅E=0.
∇2E=μ0ε0∂t2E, a wave equation with speed squared c2=1/(μ0ε0). ■
Equate the two expressions for ∇×(∇×E). The same steps with the roles of E and B exchanged give the same equation for B.
Your answerWith μ0=4π×10−7 T m/A and ε0=8.854×10−12 F/m, what is c=1/μ0ε0 in units of 108 m/s?
Multiply the two constants, take the square root, invert.
μ0ε0=4π×10−7⋅8.854×10−12=1.1126×10−17, whose inverse square root is 2.998×108 m/s, the speed of light.
Conservation laws in fluids and heat
Incompressible flow
Definition B
Incompressible flow
For a fluid of mass density ρ and velocity v, the mass flux is ρv and the continuity equation is ∂tρ+∇⋅(ρv)=0. If the density is a constant ρ0, this is ∇⋅v=0: the flow is incompressible. By the divergence theorem the volume flux through every closed surface in the fluid is 0: what goes in comes out.
In one lineA flow of constant density ρ0 with velocity field v; mass conservation then gives ∇⋅v=0, so v is solenoidal and the flux through every closed surface is zero.
Why it existsWater in a pipe is nearly incompressible, and ∇⋅v=0 is the condition that makes the speed rise where a pipe narrows.
Worked example new (Apostol 12.20 applications; 6.6 definitions)
Water flows through a pipe of diameter 10 cm at 1.5 m/s and then through a narrowing of diameter 5 cm. What is the speed in the narrow part? Is v=(x,−y,0) a possible incompressible flow, and is it a potential flow?
Solution.
Closed surface. Take the closed surface made of the wide cross-section, the narrow cross-section and the pipe wall between them. The flux through the wall is 0 (the fluid does not cross the wall). Incompressibility makes the total flux 0, so the flux in through the wide end equals the flux out through the narrow end: A1v1=A2v2.
Speed. The area is proportional to the diameter squared, so v2=v1A2A1=1.5⋅52102=6 m/s.
Divergence of (x,−y,0).∂xx+∂y(−y)=1−1=0, so it is incompressible.
Curl.Qx−Py=0−0=0 with P=x, Q=−y, R=0, and the other components vanish, so it is irrotational, a potential flow with v=∇2x2−y2.
The potential is harmonic.∇22x2−y2=1−1=0. For an incompressible potential flow, 0=∇⋅v=∇⋅∇φ=∇2φ. Laplace’s equation.
Answer.6 m/s. The field (x,−y,0) is a possible incompressible irrotational flow (it describes the flow approaching a flat wall along the y axis: it comes in along y and leaves along x), and its potential is harmonic.
Heat
Definition B
Heat flux
The heat fluxq is the energy crossing a surface per unit area per unit time. Fourier’s law says it is proportional to the temperature gradient and opposite to it: q=−κ∇T with κ>0 the thermal conductivity (watts per metre per kelvin). The heat flowing out of a closed surface S per unit time is ∬Sq⋅ndS=∭E∇⋅qdV by the divergence theorem.
In one lineThe vector field q such that the heat crossing a surface per unit time is ∬q⋅ndS; Fourier's law says q=−κ∇T for a material of thermal conductivity κ.
Why it existsHeat flows from hot to cold, down the gradient of the temperature. The minus sign is that statement.
The heat equation of 5.9 is ∂t∂T=α∇2T. In 5.9 it was stated and its solutions studied. Here we derive it: for the temperature T(r,t) of a homogeneous material of density ρ, specific heat c and conductivity κ, without sources, the constant is α=ρcκ, the thermal diffusivity.
Theorem BOstrogradsky's problem (6.6); Apostol 12.20; Fourier 1822
The heat equation from conservation of energy
Let T be C2 in space and C1 in time, and the material have constant ρ, c, κ and no sources.
In one lineEnergy conservation (continuity) plus Fourier's law gives ρc∂tT=κ∇2T.
Why it is trueIt is the continuity equation of this chapter with the energy density ρcT and the flux q=−κ∇T.
ProofFourier's law and 6.8
The idea: Energy density is rho c T and the flux is q. Apply the continuity equation.
The continuity equation with u=ρcT and j=q: ∂t(ρcT)+∇⋅q=0.
The energy per unit volume of a body at temperature T is ρcT (up to a constant).
ρc∂tT−∇⋅(κ∇T)=0.
Fourier's law.
ρc∂tT=κ∇2T. ■
The conductivity is constant, and ∇⋅∇T=∇2T (6.6).
Worked example MATH 376 worksheet 14 problem 2; the check is new
The temperature in a solid is T=x2+y2+z2 and the heat flow is q=−∇T. Compute ∇⋅q and interpret it. Then check that T(x,t)=e−αtsinx solves the one dimensional heat equation Tt=αTxx with diffusivity α.
Solution.
Heat flow.∇T=(2x,2y,2z), so q=(−2x,−2y,−2z).
Divergence.∇⋅q=−2−2−2=−6. ∂x(−2x)=−2 and similarly for y and z.
Interpret. Negative divergence: the heat flow gathers; energy accumulates at every point, so the temperature there would rise at the rate ρc∂tT=−∇⋅q=6 per unit volume (with κ=1). Indeed κ∇2T=6. The worksheet calls it a sink for the heat flow: heat flows in toward each point.
The one dimensional solution.Tt=−αe−αtsinx and Txx=−e−αtsinx, so Tt=αTxx. A sine profile decays exponentially while keeping its shape: the heat equation smooths out hot and cold spots, the bigger the faster.
Answer.∇⋅q=−6, and T=e−αtsinx is a solution.
Worked example new (Fourier's law and the divergence theorem)
Heat flows through a brick wall, 5 m by 2.5 m, thickness 0.2 m, conductivity κ=0.7 W/(m K), with 20∘C inside and 0∘C outside. How much power does the wall lose? Then a pipe carrying water at 80∘C, radius 2 cm, is wrapped in insulation of conductivity 0.04 W/(m K) out to radius 4 cm; the outside of the insulation is 20∘C. How much heat does each metre of pipe lose?
Solution.
Steady wall. In steady state ∇⋅q=0, and the temperature depends only on the coordinate x across the wall, so q=−κT′(x) is constant and T is linear. ∇⋅q=q′=0.
Flux.q=κLΔT=0.7⋅0.220=70 W/m2, and the power through 12.5 m2 is 70⋅12.5=875 W.
Steady pipe. By symmetry q is radial, q=q(s)s^ with q(s)=−κT′(s). The heat out of a cylinder of radius s and length L is P=q(s)⋅2πsL, and by the divergence theorem in the region between two such cylinders (∇⋅q=0) it is the same for every s. The same argument as Gauss’s law for a line charge.
Solve.−κT′(s)=2πsLP, so T(s)=T1−2πκLPlns1s.
Apply the temperatures.T(s1)=80, T(s2)=20 with s2/s1=2: 60=2πκLPln2, so LP=ln22πκ⋅60=0.6932π⋅0.04⋅60≈21.8 W/m.
Answer.875 W through the wall and about 21.8 W per metre of pipe. Doubling the insulation radius from 4 to 8 cm would give ln42π⋅0.04⋅60≈10.9 W/m, half as much, because the logarithm doubles.
Your answerHow many watts per metre does a pipe lose if the water-side surface is at 80∘C at radius 2 cm, and the insulation (κ=0.04 W/(m K)) ends at radius 4 cm at 20∘C?
Heat out of every coaxial cylinder is the same, so q(s)⋅2πs is constant.
The heat loss per unit length of a cylindrical shell is ln(s2/s1)2πκΔT=ln22π⋅0.04⋅60≈21.8 W/m.
Quick checkIn the heat equation ∂tT=α∇2T, what happens at a point where T has a strict local maximum in space?
At a local maximum the Laplacian is negative (the function curves down in every direction), so ∂tT<0. Hot spots cool and cold spots warm: the heat equation smooths.
Python labGauss's law on a cube, for charges inside, outside and in pairs
import numpy as np# Units with q / epsilon_0 = 1: a point charge q has E = q (r - p) / (4 pi |r - p|^3), and Gauss's law says flux = q for charges inside.n = 300t = (np.arange(n) + 0.5) * 2 / n - 1; A, B = np.meshgrid(t, t, indexing="ij"); dA = (2 / n) ** 2def E(x, y, z, p): # field at (x, y, z) of a unit charge at p dx, dy, dz = x - p[0], y - p[1], z - p[2] return (dx, dy, dz) / (4 * np.pi * (dx**2 + dy**2 + dz**2) ** 1.5)def cube_flux(charges): # charges = [(q, position), ...] total = 0.0 for axis in range(3): for sign in (+1, -1): X = [A, B]; X.insert(axis, sign * np.ones_like(A)) # the points of one face for q, p in charges: total += q * sign * E(*X, p)[axis].sum() * dA # E . n with n = sign * e_axis return round(total, 4) + 0.0print("charge at the centre :", cube_flux([(1, (0, 0, 0))]))print("charge off-centre, inside :", cube_flux([(1, (0.7, -0.4, 0.5))]))print("charge outside, at (2, 0, 0) :", cube_flux([(1, (2, 0, 0))]))print("+1 and -1 both inside (a dipole):", cube_flux([(1, (0.3, 0, 0)), (-1, (-0.3, 0, 0))]))print("+1 inside, -1 outside :", cube_flux([(1, (0, 0, 0)), (-1, (3, 0, 0))]))print("+2 and +3 inside :", cube_flux([(2, (0.2, 0.2, 0)), (3, (-0.5, 0, 0.4))]))
Try this.Run it. The program adds up E . n over a 300 by 300 grid on each of the six faces of the cube [-1,1]^3, in units where a unit charge has flux 1. A charge at the centre gives 1.0, a charge placed anywhere else inside also gives 1.0, a charge outside gives 0.0, a +1 and a -1 charge both inside give 0.0, a +1 inside and a -1 outside give 1.0, and charges 2 and 3 inside give 5.0. The flux counts only the charge inside, whatever its position and whatever is outside. Move the outside charge to (1.05, 0, 0), close to the surface, and see that the answer is still near 0 (the numerical error grows when the charge is very near a face). Move the inside charge to (0.95, 0, 0) and look at the accuracy. Replace the exponent 1.5 by 1.4 in the denominator of E to make a field that is not an inverse square law, and see Gauss's law fail.
Where it is used
Used inside maths· Inside maths: Poisson's equation, harmonic functions and the Dirichlet problem
Static fields have ∇×E=0 (Faraday with ∂tB=0). On a simply connected region this makes E=−∇V for a potential V (6.2), and Gauss’s law becomes Poisson’s equation∇2V=−ρ/ε0, and Laplace’s equation∇2V=0 in empty space. The harmonic functions of Laplace’s equation have the mean value property (the value at the centre of a ball is the average over its surface; a proof uses the divergence theorem on the flux of ∇V), no interior maximum, and are determined by their values on the boundary: the Dirichlet problem, which is where harmonic analysis and complex analysis meet. The fundamental solution is V=4πε0∣r∣q, the potential of the point charge of this chapter, whose flux 4π was computed in 6.6. Every step of this theory is Gauss’s flux integral with a different region.
Used in the real world· Used in the real world: wall losses, pipes and coaxial cable
Gauss’s law with cylindrical symmetry is not only about charges. A coaxial cable has an inner conductor of radius a and an outer shield of radius b with an insulator of relative permittivity εr between them. Put charge λ per metre on the inner conductor. Gauss’s law on a coaxial cylinder gives E(s)=2πε0εrsλ in the insulator, so the voltage between the conductors is V=∫abEds=2πε0εrλlnab, and the capacitance per metre is Vλ=ln(b/a)2πε0εr. For a=0.45 mm, b=1.47 mm and polyethylene with εr=2.25 this is ln3.272π⋅8.854×10−12⋅2.25≈106 pF per metre, the number a cable designer needs to match the cable to its signal source. The same calculation with heat in place of charge gave the insulation loss of a hot water pipe: 21.8 W per metre for 2 cm of insulation at conductivity 0.04 W/(m K), and 875 W for a 12.5 m2 brick wall with 20 K across it. Heat flow, electrostatics and the flow of an incompressible fluid share one mathematical structure: a flux of a vector field with zero divergence, and the same three theorems.
Your answerA coaxial cable has inner radius 0.45 mm, outer radius 1.47 mm and a polyethylene insulator with relative permittivity 2.25. What is its capacitance per metre in picofarads, using ε0=8.854 pF/m?
Find E(s) by Gauss, integrate from a to b for the voltage, and divide the charge by the voltage.
Gauss's law on a coaxial cylinder gives C=ln(b/a)2πε0εr=ln(1.47/0.45)2π⋅8.854⋅2.25≈105.7 pF/m.
Traps
Watch out· The theorem needs the right kind of surface
Gauss’s law and the divergence theorem need a closed surface and the outward normal; Ampère’s and Faraday’s laws need a loop bounding an oriented surface with the induced orientation (right-hand rule). If the symmetry is not there, the law is still true but does not determine the field by itself. ‘Choose the surface where E⋅n is constant’ is a technique, not a law.
Watch out· A singular source inside breaks the hypothesis, not the law
The point charge field r/∣r∣3 is not C1 at the origin, so the divergence theorem does not apply to a region containing the origin as stated; Gauss’s law for the point charge is obtained by excising a small ball (done in 6.6), and for a distribution of charge it holds because ρ is a source term in ∇⋅E=ρ/ε0. The same warning as for the angle field in Stokes’ theorem: check where the field is defined before you use a theorem.
Watch out· Same letter, different things
In this chapter ρ is a charge or mass density, in 6.4 and 6.6 ρ was the spherical radius, and φ is a potential, an angle, or the azimuthal direction depending on context. μ0 and ε0 are constants. Write what each symbol means before you compute. And in 376 notation call the components of a field P,Q,R, not Fx,Fy,Fz, which look like derivatives.
Watch out· Sign conventions: the minus signs carry the physics
The minus in Fourier’s law q=−κ∇T says heat flows down the gradient. The minus in Faraday’s law ∇×E=−∂tB says the induced field opposes the change (Lenz’s law). Dropping the first gives a heat equation run backwards, in which heat flows towards hot spots and the fastest wiggles grow fastest. Dropping the second changes the proof of the wave equation: with ∇×E=+∂tB the same steps give ∇2E=−μ0ε0∂t2E, which has no travelling waves at all. When a sign looks arbitrary, ask which direction the physical quantity moves.
Problems
checknew (Gauss's law)
A closed surface encloses charges +3 nC and −1 nC, and there is a +5 nC charge outside it. What is the flux of E through the surface, in N m2/C? Use ε0=8.854×10−12.
Solution
Only the enclosed charge counts: Qenc=3−1=2 nC, and the flux is Qenc/ε0=2×10−9/8.854×10−12≈226 N m2/C.
checknew (the continuity equation)
Check that ρ=e−tsinx with J=(−e−tcosx,0,0) satisfies the continuity equation ∂tρ+∇⋅J=0, and that J=(e−tcosx,0,0) does not.
Solution
∂tρ=−e−tsinx. For J=(−e−tcosx,0,0), ∇⋅J=∂x(−e−tcosx)=e−tsinx, and the sum is 0: the equation holds. For J=(e−tcosx,0,0), ∇⋅J=−e−tsinx and the sum is −2e−tsinx=0: the equation fails. In the first case the charge in [0,π], ∫0πe−tsinxdx=2e−t, decreases at the rate 2e−t, and the current Jx at x=π is e−t out and at x=0 is −e−t, that is e−t out of the left end as well, a total outflow of 2e−t.
checkMATH 376 worksheet 14 problem 2
For T=x2+y2+z2, find ∇⋅(−∇T) and say whether the point (1,2,3) is a source or a sink of heat flow.
Solution
−∇T=(−2x,−2y,−2z), with divergence −6 everywhere. Negative: a sink (the flow gathers), at every point including (1,2,3).
check
A uniform wire carries 10 A in a circular cross-section of radius 2 mm. Find B at 1 mm from the axis (inside) and at 1 cm (outside), with μ0=4π×10−7.
Solution
Inside: B=2πa2μ0Is=2π⋅4×10−64π×10−7⋅10⋅10−3=5×10−4 T. Outside: B=2πsμ0I=2π⋅0.014π×10−7⋅10=2×10−4 T.
usenew (Gauss's law with a shell)
A thin spherical shell of radius a carries total charge Q spread uniformly over its surface. Find E inside and outside, and the jump in E across the shell. Express the jump with the surface charge density σ=Q/(4πa2).
Solution
Gaussian spheres of radius r. Inside (r<a) the enclosed charge is 0, so E=0. Outside the enclosed charge is Q, so E=4πε0r2Q. The jump at r=a is 4πε0a2Q=ε0σ, the field immediately outside a charged surface.
usenew (Faraday)
A square loop of side 0.2 m is pulled out of a region with uniform field B=0.8 T perpendicular to the loop, so that its overlap with the field region shrinks at 0.5 m/s (one side of length 0.2 m moves out). Find the EMF.
Solution
The flux is B⋅0.2⋅w(t) where w is the width inside the field, with w′=−0.5. Φ′=0.8⋅0.2⋅(−0.5)=−0.08 Wb/s, so the EMF has size 0.08 V.
usenew (incompressible flow)
Which of these velocity fields are incompressible: v1=(x,y,−2z), v2=(y,−x,0), v3=(x2,−2xy,0)? Which are irrotational?
Solution
∇⋅v1=1+1−2=0; ∇⋅v2=0+0+0=0; ∇⋅v3=2x−2x+0=0. All three are incompressible. Curls: v1: (0,0,0), irrotational; v2: (0,0,−1−1)=(0,0,−2), not irrotational (a rotation); v3: third component ∂x(−2xy)−∂y(x2)=−2y=0, not irrotational.
usenew (heat in a cylinder)
A hot wire of radius 1 mm carries heat out at 50 W per metre. It is surrounded by a thick cylindrical shell of material with κ=0.5 W/(m K), from radius 1 mm to 10 mm. Find the temperature drop across the material.
Solution
LP=ln(s2/s1)2πκΔT, so ΔT=LP⋅2πκln10=50⋅3.14162.3026=36.6 K.
provenew (a lemma and the divergence theorem)
Use the divergence theorem and the lemma to prove that a C2 function V with ∇2V=0 on a region has the property that the flux of ∇V through every sphere inside it is zero, and conversely that if the flux of ∇V through every small sphere is zero then ∇2V=0.
Solution
Forward: for a ball B, ∬∂B∇V⋅ndS=∭B∇⋅∇VdV=∭B∇2VdV=0. Converse: if the flux is zero for every ball, then ∭B∇2VdV=0 for every ball, and the lemma (∇2V is continuous) gives ∇2V=0.
provenew (Poisson's equation)
Assume ∇×E=0 on R3 and E is C1. Show that there is a function V with E=−∇V, and that Gauss’s law ∇⋅E=ρ/ε0 becomes ∇2V=−ρ/ε0.
Solution
On R3, which is simply connected (indeed star-shaped), a field with curl zero is a gradient (the Poincaré lemma of 6.7, or the theorem of 6.2): E=∇W for some W; put V=−W. Then ∇⋅E=−∇⋅∇V=−∇2V, and Gauss’s law says this equals ρ/ε0.
provenew (magnetic flux through a closed surface)
Show that if B=∇×A for a C2 field A (a vector potential), then ∇⋅B=0 and the flux of B through every closed surface is 0. Is the field G=r/∣r∣3 on R3∖{0} of this form?
Solution
∇⋅B=∇⋅(∇×A)=0 by d2=0. By the divergence theorem the flux through the boundary of any solid in the domain is 0. G has flux 4π=0 through the unit sphere, although ∇⋅G=0 away from the origin. So G is not a curl on R3∖{0}: that domain is not star-shaped, and the Poincaré lemma does not apply. This is why a magnetic monopole would require a different law.
stretchnew (the wave equation, plane waves)
Check that E=(0,cos(kx−ωt),0) satisfies the wave equation ∇2E=μ0ε0∂t2E exactly when ω/k=c. Find B from Faraday’s law, and verify ∇⋅E=0 and ∇⋅B=0.
Solution
∇2E=(0,−k2cos(kx−ωt),0) and ∂t2E=(0,−ω2cos(kx−ωt),0), so k2=μ0ε0ω2, i.e. ω/k=1/μ0ε0=c. For B: ∇×E=(Ry−Qz,Pz−Rx,Qx−Py)=(0,0,−ksin(kx−ωt)) since Q=cos(kx−ωt) gives Qx=−ksin(kx−ωt). Faraday: ∂tB=−∇×E=(0,0,ksin(kx−ωt)), so B=(0,0,ωkcos(kx−ωt)) (up to a constant). ∇⋅E=∂ycos(kx−ωt)=0 and ∇⋅B=∂z(…)=0. E and B are perpendicular to each other and to the direction x of travel, and ∣B∣=∣E∣/c.
stretchnew (the heat equation in one dimension, conservation of total heat)
A rod of length L has temperature T(x,t) with Tt=αTxx, and both ends are insulated, Tx(0,t)=Tx(L,t)=0. Show that the total heat ∫0LTdx is constant in time.
Solution
dtd∫0LTdx=∫0LTtdx=α∫0LTxxdx=α[Tx]0L=0. This is the one dimensional divergence theorem: the flux −κTx is zero at both ends, so no heat enters or leaves.
Summary
Every conservation law has two forms: an integral law about a region, and a differential equation at a point. Divergence theorem, then the lemma (a continuous function with zero integral over every ball is zero) turn a flux law into a differential equation; Stokes’ theorem does the same for a circulation law.
Gauss’s law∬SE⋅ndS=Qenc/ε0, locally ∇⋅E=ρ/ε0. It follows from the inverse square law because the flux of r/∣r∣3 is 4π through every surface enclosing the source. With symmetry it determines the field: sphere 4πε0a3Qr inside and 4πε0r2Q outside, line 2πε0sλ, plane 2ε0σ.
Ampère’s law∮B⋅dℓ=μ0Ienc, locally ∇×B=μ0J; a straight wire gives B=2πsμ0I outside, a circulating field with curl zero away from the wire. ∇⋅B=0: no magnetic charges. Faraday: ∇×E=−∂tB.
Maxwell’s correction.∇⋅(∇×B)=0 forces ∇⋅J=0, which contradicts charge conservation ∂tρ+∇⋅J=0 for a charging capacitor; adding μ0ε0∂tE repairs it using Gauss’s law. The four equations then give waves ∇2E=μ0ε0∂t2E at the speed of light c=1/μ0ε0.
The continuity equation∂tu+∇⋅j=0 is the divergence theorem on a fixed region. Incompressible flow is ∇⋅v=0 (flux conserved: narrower pipe, faster flow), and for a potential flow the potential is harmonic.
Heat: Fourier’s law q=−κ∇T plus continuity gives the heat equation ρc∂tT=κ∇2T. Steady heat through a wall is linear, through a pipe it is logarithmic: the same calculation as Gauss’s law for a line charge.
From 376: the circulation of B round a wire with J=(0,0,20r) is 3320πμ0 and the heat flow of T=x2+y2+z2 has divergence −6.
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
MATH 376: Two worksheet problems are physics: worksheet 14 problem 6 (Ampère's law for a wire with current density 20r, circulation 320 pi mu_0 / 3) and worksheet 14 problem 2 (the divergence of the heat flow of T = x^2 + y^2 + z^2, minus 6). Both are worked below and labelled T. The rest of the chapter is label B: it applies the two theorems of 6.6 to the physical laws they were invented for.
PHYS 322 and ECE 335: Electricity and magnetism. Every law of this chapter appears there as an integral law on a Gaussian surface or an Amperian loop, and as a differential equation for the fields. Griffiths, Introduction to Electrodynamics, derives exactly the sequence below.
MATH 322 and MATH 521: The heat equation (5.9) is the model parabolic equation, Laplace's and Poisson's equations are the model elliptic ones, and the wave equation (5.9) is the model hyperbolic one. Here each is derived from a conservation law. Each is a divergence-theorem argument on a small region.
CS 559 and physics-based graphics: Fluid simulation in games and films enforces the incompressibility condition div v = 0 at every time step by solving a Poisson equation for the pressure, which is the divergence theorem in a discrete form.