Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

The divergence theorem connects what happens inside a three-dimensional region to what flows across its boundary. It says that the total outward flux of a vector field through a closed surface equals the total divergence of the field throughout the volume inside. This matters in physics because it turns difficult surface calculations into volume calculations, or the other way around.

It is used in fluid flow, electromagnetism, heat transfer, and many conservation laws.

Understanding Calculus: The Divergence Theorem

Imagine dividing a solid object into many tiny boxes. Each box has six faces. Fluid, heat, or an electric field can pass through each face.

A face shared by two neighboring boxes is counted twice when the boxes are considered separately. The flow leaving one box enters the next box, so the two contributions have equal size and opposite direction. They cancel.

After all the tiny boxes are combined, only the faces on the outside remain. This cancellation is the central idea behind the theorem.

Divergence measures the tiny net outward flow from each small box. Adding those local amounts throughout the region gives the net flow through the outer skin.

The direction chosen on a surface matters. Every point on the boundary has a normal direction, meaning a direction perpendicular to the surface. For a closed solid, the standard choice points outward.

A field pointing outward in roughly the same direction as the normal gives positive flux. A field pointing inward gives negative flux. On a sphere, the outward normal points directly away from the center.

On a box, it points in one of six fixed directions. Curved surfaces need more care because the normal changes from point to point.

Reversing every normal reverses the sign of the total flux. This is why orientation is not a minor detail.

A useful check comes from fields with no local creation or removal. If a moving fluid has zero divergence everywhere inside a sealed region, its total outward flux must be zero. Fluid may still cross one part of the boundary and enter through another part.

Zero total flux does not mean zero flow at every point. It means that all outward and inward contributions balance overall. This idea appears in incompressible water flow, where the amount entering a small region matches the amount leaving it.

In electrostatics, the net electric flux through a closed surface depends on the charge enclosed. Charges outside the surface can affect the field on the surface, yet their positive and negative flux contributions cancel in the total.

When solving problems, first decide which side of the theorem is easier. A complicated boundary may make a direct flux calculation unpleasant, while the divergence inside may be simple. A simple boundary such as a rectangular box or sphere may make the surface method quicker.

Compute divergence carefully by differentiating each field component only with respect to its matching coordinate. Then describe the solid accurately, including its limits and any holes. Regions with holes have more than one boundary surface.

The outer boundary uses normals pointing away from the region, while normals on an inner cavity point into the cavity because that is outward from the material. Finally, check units. Divergence has units of flow per volume, and integrating over volume gives total flow, matching flux through a surface.

Key Facts

  • Divergence theorem: ∭_V (∇ · F) dV = ∬_∂V F · n dS
  • ∂V means the closed boundary surface of the volume V.
  • n is the outward unit normal vector on the surface.
  • For F = <P, Q, R>, ∇ · F = ∂P/∂x + ∂Q/∂y + ∂R/∂z.
  • Positive divergence means a local source, and negative divergence means a local sink.
  • The theorem applies when F is sufficiently smooth and V is a solid region with a closed, oriented boundary.

Vocabulary

Divergence
Divergence measures how much a vector field spreads out from a point per unit volume.
Flux
Flux measures how much of a vector field passes through a surface.
Closed surface
A closed surface completely encloses a volume with no holes or open edges.
Outward normal
The outward normal is a unit vector perpendicular to the surface and pointing away from the enclosed volume.
Vector field
A vector field assigns a vector, such as velocity or force, to every point in space.

Common Mistakes to Avoid

  • Using an inward normal, which changes the sign of the flux. The divergence theorem requires the outward unit normal on the closed boundary.
  • Applying the theorem to an open surface, which is not valid by itself. The surface must be closed, or you must add missing pieces to close it.
  • Forgetting the dot product F · n, which measures only the component crossing the surface. Tangential components do not contribute to flux through the surface.
  • Computing divergence incorrectly, especially by adding vector components instead of partial derivatives. For F = <P, Q, R>, use ∂P/∂x + ∂Q/∂y + ∂R/∂z.

Practice Questions

  1. 1 Let F = <x, y, z> and V be the ball x^2 + y^2 + z^2 ≤ 4. Use the divergence theorem to find the outward flux through the sphere.
  2. 2 Let F = <x^2, y^2, z^2> and V be the cube 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1. Compute the outward flux through the boundary of the cube.
  3. 3 A vector field has zero divergence everywhere inside a closed surface. Explain what the divergence theorem says about the net outward flux, and describe why field lines may still pass through parts of the surface.