ProofComplete

Proof of the Divergence Theorem

We prove the divergence theorem for simple solid regions, establishing the fundamental relationship between flux and divergence.


Proof

Theorem (Divergence Theorem): For a simple solid region EE with outward-oriented boundary S=ES = \partial E, SFdS=EFdV\oiint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E \nabla \cdot \mathbf{F}\,dV

Write F=(P,Q,R)\mathbf{F} = (P, Q, R). It suffices to prove: SRk^dS=ERzdV()\oiint_S R\,\hat{\mathbf{k}} \cdot d\mathbf{S} = \iiint_E \frac{\partial R}{\partial z}\,dV \quad (*) and the analogous statements for PP and QQ, then add.

Step 1: Set up the region.

Assume EE is a type-zz region: E={(x,y,z):(x,y)D,  g1(x,y)zg2(x,y)}E = \{(x,y,z) : (x,y) \in D, \; g_1(x,y) \leq z \leq g_2(x,y)\} where DD is the projection of EE onto the xyxy-plane, and g1,g2g_1, g_2 are continuous functions.

The boundary SS consists of three parts:

  • S1S_1 (bottom): z=g1(x,y)z = g_1(x,y), outward normal points downward
  • S2S_2 (top): z=g2(x,y)z = g_2(x,y), outward normal points upward
  • S3S_3 (lateral): the vertical sides connecting S1S_1 and S2S_2

Step 2: Compute the volume integral.

ERzdV=D[g1(x,y)g2(x,y)Rzdz]dA=D[R(x,y,g2(x,y))R(x,y,g1(x,y))]dA\iiint_E \frac{\partial R}{\partial z}\,dV = \iint_D \left[\int_{g_1(x,y)}^{g_2(x,y)} \frac{\partial R}{\partial z}\,dz\right] dA = \iint_D [R(x,y,g_2(x,y)) - R(x,y,g_1(x,y))]\,dA

Step 3: Compute the flux integral.

On S2S_2 (top, z=g2(x,y)z = g_2(x,y), outward normal upward): parametrize by (x,y)D(x,y) \in D with r(x,y)=(x,y,g2(x,y))\mathbf{r}(x,y) = (x, y, g_2(x,y)): dS=(xg2,yg2,1)dAd\mathbf{S} = (-\partial_x g_2, -\partial_y g_2, 1)\,dA The Rk^R\hat{\mathbf{k}} contribution: R(x,y,g2)1dAR(x,y,g_2) \cdot 1 \cdot dA, so S2Rk^dS=DR(x,y,g2(x,y))dA\iint_{S_2} R\,\hat{\mathbf{k}} \cdot d\mathbf{S} = \iint_D R(x,y,g_2(x,y))\,dA

On S1S_1 (bottom, z=g1(x,y)z = g_1(x,y), outward normal downward): dS=(xg1,yg1,1)dAd\mathbf{S} = (\partial_x g_1, \partial_y g_1, -1)\,dA The Rk^R\hat{\mathbf{k}} contribution: R(x,y,g1)(1)dAR(x,y,g_1) \cdot (-1) \cdot dA, so S1Rk^dS=DR(x,y,g1(x,y))dA\iint_{S_1} R\,\hat{\mathbf{k}} \cdot d\mathbf{S} = -\iint_D R(x,y,g_1(x,y))\,dA

On S3S_3 (lateral surface): the outward normal is horizontal (no k^\hat{\mathbf{k}} component), so S3Rk^dS=0\iint_{S_3} R\,\hat{\mathbf{k}} \cdot d\mathbf{S} = 0

Step 4: Combine.

SRk^dS=DR(x,y,g2)dADR(x,y,g1)dA=ERzdV\oiint_S R\,\hat{\mathbf{k}} \cdot d\mathbf{S} = \iint_D R(x,y,g_2)\,dA - \iint_D R(x,y,g_1)\,dA = \iiint_E \frac{\partial R}{\partial z}\,dV

This proves ()(*). The analogous results for PP (using type-xx regions) and QQ (using type-yy regions) follow by identical arguments with permuted coordinates.

Adding all three: SFdS=E(Px+Qy+Rz)dV=EFdV\oiint_S \mathbf{F} \cdot d\mathbf{S} = \iiint_E \left(\frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}\right) dV = \iiint_E \nabla \cdot \mathbf{F}\,dV \quad \square


RemarkGeneral regions

For regions that are not simultaneously type-xx, type-yy, and type-zz, the theorem is proved by decomposing the region into pieces of these types, applying the theorem to each piece, and noting that flux contributions along internal boundaries cancel.