Skip to main content

Thomas’ Calculus · Chapter 16 · Section 16.8

By Muhammad Abdullah Athar · SymPy Verified

The Divergence Theorem and a Unified Theory

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 16.8: The Divergence Theorem and a Unified Theory

The Divergence Theorem (Gauss's Theorem) unifies flux across closed boundaries with volumetric source distribution.


1. The Divergence Theorem

∬SF⋅n dσ=∭D∇⋅F dV\iint_S \mathbf{F} \cdot \mathbf{n} \, d\sigma = \iiint_D \nabla \cdot \mathbf{F} \, dV

where:

  • SS is a closed surface oriented with outward unit normal n\mathbf{n}.
  • ∇⋅F=∂M∂x+∂N∂y+∂P∂z\nabla \cdot \mathbf{F} = \frac{\partial M}{\partial x} + \frac{\partial N}{\partial y} + \frac{\partial P}{\partial z}.

2. Grand Unified Hierarchy of Fundamental Theorems

All major integration theorems express the principle: ∫∂Ωω=∫Ωdω\int_{\partial \Omega} \omega = \int_\Omega d\omega

  1. Fundamental Theorem of Calculus: ∫abF′(x) dx=F(b)−F(a)\int_a^b F'(x) \, dx = F(b) - F(a)
  2. Fundamental Theorem of Line Integrals: ∫C∇f⋅dr=f(B)−f(A)\int_C \nabla f \cdot d\mathbf{r} = f(B) - f(A)
  3. Green's Theorem / Stokes' Theorem: ∮∂SF⋅dr=∬S(∇×F)⋅n dσ\oint_{\partial S} \mathbf{F} \cdot d\mathbf{r} = \iint_S (\nabla \times \mathbf{F}) \cdot \mathbf{n} \, d\sigma
  4. Divergence Theorem: ∬∂DF⋅n dσ=∭D∇⋅F dV\iint_{\partial D} \mathbf{F} \cdot \mathbf{n} \, d\sigma = \iiint_D \nabla \cdot \mathbf{F} \, dV

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Theorem #1Sec 16.8

The Divergence Theorem (Gauss's Theorem)

∬SF⋅n dσ=∭D∇⋅F dV\iint_S \mathbf{F} \cdot \mathbf{n} \, d\sigma = \iiint_D \nabla \cdot \mathbf{F} \, dV

The net outward flux of a continuously differentiable vector field F across a closed orientable surface S enclosing solid region D equals the triple integral of the divergence of F over D.

Conditions: S is a piecewise-smooth closed surface; n is outward pointing unit normal; F has continuous first partials

In plain words: Internal sources and sinks expand outward, so total surface flux equals the volume integral of local volumetric expansion rates.

Remember — Transforms two-dimensional closed surface flux integrals into three-dimensional volume integrals.

Definition #2Sec 16.8

Divergence as Volumetric Source Density

∇⋅F(P)=lim⁡V→01V∬SVF⋅n dσ\nabla \cdot \mathbf{F}(P) = \lim_{V \to 0} \frac{1}{V} \iint_{S_V} \mathbf{F} \cdot \mathbf{n} \, d\sigma

The divergence div F at point P is the limiting outward flux per unit volume as the volume shrinks to P. If div F > 0, P is a source; if div F < 0, P is a sink; if div F = 0 everywhere, F is incompressible (solenoidal).

Conditions: Volume shrinks smoothly to point P

In plain words: Physical foundation for continuity equations in hydrodynamics and Gauss's law in electrodynamics.

Remember — Divergence quantifies the local rate of fluid generation per unit volume.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 16.8, Exercise 1)

Warm-up

Problem. Compute the outward flux of F = <x, y, z> across the sphere x^2 + y^2 + z^2 = a^2 for a = 2.

Step-by-Step Derivation (3 steps)

1

Compute Divergence of F

∇⋅F=∂x∂x+∂y∂y+∂z∂z=1+1+1=3\nabla \cdot \mathbf{F} = \frac{\partial x}{\partial x} + \frac{\partial y}{\partial y} + \frac{\partial z}{\partial z} = 1 + 1 + 1 = 3

Compute the sum of partial derivatives.

Why this works: Finding volumetric expansion rate.
2

Apply Divergence Theorem

∬SF⋅n dσ=∭D3 dV=3×Volume(D)=3×(43πa3)=4πa3\iint_S \mathbf{F} \cdot \mathbf{n} \, d\sigma = \iiint_D 3 \, dV = 3 \times \text{Volume}(D) = 3 \times \left( \frac{4}{3}\pi a^3 \right) = 4\pi a^3

Multiply constant divergence 3 by sphere volume.

Why this works: Evaluating volume integral.
3

Substitute Radius a = 2

4π(23)=32π4\pi(2^3) = 32\pi

Evaluate at a = 2.

Why this works: Evaluating numerical flux.

Answer: 32π32\pi

✓ Verified by SymPy CAS

Example 02(Section 16.8, Exercise 2)

Warm-up

Problem. Compute the outward flux of F = <x^2, y^2, z^2> across the boundary of the unit cube [0, 1]^3.

Step-by-Step Derivation (2 steps)

1

Compute Divergence

∇⋅F=2x+2y+2z\nabla \cdot \mathbf{F} = 2x + 2y + 2z

Differentiate each quadratic term.

Why this works: Finding divergence.
2

Evaluate Triple Integral over Unit Cube

∫01∫01∫01(2x+2y+2z) dz dy dx=∫012x dx+∫012y dy+∫012z dz=1+1+1=3\int_0^1 \int_0^1 \int_0^1 (2x + 2y + 2z) \, dz \, dy \, dx = \int_0^1 2x \, dx + \int_0^1 2y \, dy + \int_0^1 2z \, dz = 1 + 1 + 1 = 3

Integrate each symmetric linear term over [0, 1]^3.

Why this works: Evaluating total outward flux.

Answer: 33

✓ Verified by SymPy CAS

Example 03(Section 16.8, Exercise 3)

Core practice

Problem. Find the outward flux of F = <x^3, y^3, z> through the closed cylinder x^2 + y^2 <= 1, 0 <= z <= 2.

Step-by-Step Derivation (2 steps)

1

Compute Divergence of F

∇⋅F=3x2+3y2+1=3r2+1\nabla \cdot \mathbf{F} = 3x^2 + 3y^2 + 1 = 3r^2 + 1

Compute divergence and convert to cylindrical coordinates.

Why this works: Finding cylindrical divergence.
2

Evaluate Triple Integral in Cylindrical Coordinates

∭D(3r2+1) dV=(∫02πdθ)(∫02dz)∫01(3r3+r) dr=(2π)(2)[3r44+r22]01=4π(34+12)=4π(54)=5π\iiint_D (3r^2 + 1) \, dV = \left(\int_0^{2\pi} d\theta\right) \left(\int_0^2 dz\right) \int_0^1 (3r^3 + r) \, dr = (2\pi)(2) \left[ \frac{3r^4}{4} + \frac{r^2}{2} \right]_0^1 = 4\pi \left( \frac{3}{4} + \frac{1}{2} \right) = 4\pi \left( \frac{5}{4} \right) = 5\pi

Evaluate the product of separated integrals.

Why this works: Computing outward flux.

Answer: 5π5\pi

✓ Verified by SymPy CAS

Example 04(Section 16.8, Exercise 4)

Warm-up

Problem. Show that the outward flux of F = <y, z, x> through any closed surface S is zero.

Step-by-Step Derivation (2 steps)

1

Compute Divergence

∇⋅F=∂y∂x+∂z∂y+∂x∂z=0+0+0=0\nabla \cdot \mathbf{F} = \frac{\partial y}{\partial x} + \frac{\partial z}{\partial y} + \frac{\partial x}{\partial z} = 0 + 0 + 0 = 0

Each component derivative vanishes identically.

Why this works: Proving solenoidal condition.
2

Apply Divergence Theorem

∬SF⋅n dσ=∭D0 dV=0\iint_S \mathbf{F} \cdot \mathbf{n} \, d\sigma = \iiint_D 0 \, dV = 0

The integral of zero over any solid volume is zero.

Why this works: Confirming vanishing of closed surface flux.

Answer: ∇⋅F=0  ⟹  Flux=0\nabla \cdot \mathbf{F} = 0 \implies \text{Flux} = 0

✓ Verified by SymPy CAS

Example 05(Section 16.8, Exercise 5)

Core practice

Problem. For an electric field with unit point charge q = 1 and permittivity epsilon_0 = 1, verify that the flux through any enclosing closed surface equals 1.

Step-by-Step Derivation (2 steps)

1

Apply Gauss's Law

ΦE=∬SE⋅n dσ=qenclosedε0\Phi_E = \iint_S \mathbf{E} \cdot \mathbf{n} \, d\sigma = \frac{q_{\text{enclosed}}}{\varepsilon_0}

Gauss's law equates total outward electric flux to enclosed charge.

Why this works: Applying fundamental physical law.
2

Evaluate with Normalized Units

ΦE=11=1\Phi_E = \frac{1}{1} = 1

Substitute q = 1 and epsilon_0 = 1.

Why this works: Evaluating normalized flux.

Answer: Flux=qε0=1\text{Flux} = \frac{q}{\varepsilon_0} = 1

✓ Verified by SymPy CAS