The Divergence Theorem
What flows out through a closed surface has to come from the sources inside it. So the outward flux equals the total divergence inside, , and you can trade a hard surface integral for a triple integral, or the other way around.
What the symbols mean
- Outward flux
Total flow out through the closed boundary surface.
- Divergence
Source strength at each point inside, added up over the solid.
Explanation
The divergence theorem simply says you can count what leaves a room in two ways. Stand at the doors and windows and measure everything flowing out, or go inside and add up every source of stuff in the room. Either way you get the same total. On the left, is the outward flux through the closed surface (the walls). On the right, is the source strength at each point inside, and adds it up over the solid (the room). It's also called Gauss's theorem. It looks like a big formula, but it's bookkeeping: nothing appears or disappears without a source.
Why it's true. Chop the solid into tiny boxes. Divergence was defined as outflow per unit volume, so the flux out of each box is about (divergence) × (volume). Now add up all the boxes. Think about a face shared by two neighbors: whatever flows out of one box through that face flows into the other, so it counts once as positive and once as negative and cancels. Every interior face cancels like that, leaving only the faces on the outer surface. So the total of (divergence × volume) inside equals the flux out through the boundary. It's the same cancellation trick as Green's and Stokes' theorems, with boxes instead of squares.
Use it either way:
- A hard flux integral over a closed surface becomes a triple integral, often easy.
- If inside, the net flux is zero: whatever flows in flows out.
- For a surface that isn't closed, close it off with a simple lid, use the theorem on the whole thing, and subtract the flux through the lid. The challenge problem does exactly this.
A common mistake. The theorem only applies to a closed surface, one that completely encloses a solid, with the outward normal. It's tempting to use it on an open surface like a hemisphere by itself. That would give the wrong answer, because some of the flow could leave through the missing base without being counted.
It's the last of the great theorems: the Fundamental Theorem of Calculus, the Fundamental Theorem for line integrals, Green, Stokes and Gauss all say "the integral of a derivative over a region equals the integral of the function over its boundary."
See it
Worked examples
Find the outward flux of through the sphere of radius 2 using the divergence theorem.
- 1
The sphere is a closed surface, so the theorem applies. The divergence is .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Find the outward flux of through the surface of the unit cube .
Find the outward flux of through the unit sphere.
What is the outward flux of through any closed surface?
Find the outward flux of through the sphere of radius 3.
A field has zero divergence everywhere. What is its net flux through any closed surface?
A sealed electronics box measures 0.5 m × 0.4 m × 0.3 m. The components inside generate heat at a steady 500 W per cubic meter of the box, so the heat flow has W/m³ inside. In steady state, how much heat flows out through the walls, in watts?
Find the outward flux of through the closed cylinder , .
The hardest one here. Get it, and you've got this lesson.
Find the upward flux of through the curved part of the paraboloid above the -plane. Use the divergence theorem, closing the surface off with the disk underneath.
Where it's used
Gauss's law for gravity and electricity, conservation of mass in fluid dynamics, and the heat equation itself are all derived from the divergence theorem.