A9 · Lesson 37 · Gauss's and Stokes's theorems
What the boundary knows about the inside
Divergence and curl are measured at points. Flux and circulation are measured around whole regions. Two theorems connect them: add up the divergence over a region and you get the flux out of its boundary; add up the curl over a surface and you get the circulation around its edge. With them, Maxwell's equations can be written either way, and in the integral form they let you find the field of a charge or a wire in two lines.
Play
- The field here has divergence and curl both equal to . The circle has center and radius ; the sim measures the flux out of it and the circulation around it.
- The third readout adds up over the disk inside the circle, from a formula. Compare all three as you move and resize the circle.
- Make the circle tiny. What happens to all three numbers, and why?
Predict
Fill a region with tiny boxes and add up the flux out of every one. Why does the total equal the flux out of the region's outer boundary?
Every inner face belongs to two neighboring boxes. Flux leaving one box through that face enters the other, so in the total it counts once as and once as , and cancels. Only the outer faces, which have no neighbor, survive. And each tiny box's flux is its divergence times its volume, so the total divergence inside equals the flux out of the boundary. The same cancellation, applied to circulation around tiny loops, gives Stokes's theorem.
Name it
The two theorems
The divergence theorem (Gauss's theorem). For a region with closed boundary surface , normal pointing out:
Stokes's theorem. For a surface with boundary curve , traveled so the surface is on your left when your head points along the normal:
Both come from the same picture: cut the inside into tiny pieces, use the definition of divergence or curl on each piece, and notice that everything shared between neighbors cancels. In the plane, Stokes's theorem is called Green's theorem: .
Maxwell's equations both ways:
| Law | At a point | Around a region |
|---|---|---|
| Gauss | ||
| no magnetic charge | ||
| Faraday | ||
| Ampère (steady) |
Using symmetry. The integral forms find fields quickly when symmetry tells you the field's shape:
- A point charge. By symmetry E points straight out and has the same strength on any sphere around the charge. Gauss: , so , which is with .
- A long straight wire. B circles the wire with the same strength on any circle around it. Ampère: , so . That's 20 µT at 1 cm from a 1 A wire, about half of Earth's field.
Worked example
Check the divergence theorem for and a sphere of radius .
Show the solution
- Volume side. , so
- Surface side. On the surface points outward with size , so the flux is
- Compare. They agree.
Answer both sides give .
Worked example
Check Stokes's theorem for and the disk of radius .
Show the solution
- Flux of the curl. The curl is , so its flux through the disk is .
- Circulation around the edge. There is tangent with size , so
Answer both sides give .
Worked example
Find the flux of out of a cylinder of radius 1 and height 2.
Show the solution
- Use the divergence theorem. The flux is the integral of over the volume, :
- Check the curved side directly. There over area , giving .
- Check the ends. If the cylinder runs from to 1, the top and bottom each contribute .
- Add them. The total is .
Answer the flux is .
Check
A closed surface of any shape surrounds a 4 nC charge. What is the total electric flux out of it?
Write units the way you normally would: 1.5 V*m, 1500 mV*m and 0.0015 kV*m are the same answer.
Check
How strong is the magnetic field 1 cm from a long straight wire carrying 8 A?
Write units the way you normally would: 1.5 T, 1500 mT and 0.0015 kT are the same answer.
Check
A field has divergence 4 everywhere. What is the total flux out of a cube 2 m on a side?
Check
A field has curl everywhere (pointing out of the page). Use Stokes's theorem to find its circulation around a circle of radius 3.
Check
A closed surface has two charges outside it and none inside. What is the total electric flux out of it?
Check
Use the divergence theorem for and a cylinder of radius 1 and height 2.
(a)
What is the outward flux?
Check
Check Stokes's theorem for on the disk of radius .
Step 1
What is around the circle? (, parallel to the path.)
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is , with curl 2?
Explain why
Using Ampère's law, explain why the magnetic field of a long straight wire falls off as .
By symmetry the field circles the wire and has the same strength everywhere on a circle around it. Ampère's law says the field added up around any such circle equals times the current through it, which is the same current I for every circle. The circle's length grows as , so to give the same total the field must shrink in proportion: .
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.