Verifying the Divergence Theorem on a Cube
What you'll learn: You'll see how to verify the Divergence Theorem by explicitly computing both the triple integral of divergence and the surface integral of flux for a vector field over a rectangular box.
Why Verify on a Cube?
The Divergence Theorem states that for a closed surface enclosing a solid region :
A cube (or rectangular box) is the perfect testing ground because all six faces are flat and aligned with coordinate planes, making both sides of the equation straightforward to compute.
The Process
Step 1: Compute the left side (flux through the surface)
- Break the cube into six flat faces
- For each face, the outward normal is constant (like on the right face)
- Evaluate on each face and integrate
- Sum all six contributions
Step 2: Compute the right side (volume integral)
- Calculate
- Set up the triple integral over the box's volume
- Integrate in Cartesian coordinates (usually straightforward for a box)
Step 3: Verify they're equal
- If the theorem holds, both calculations yield the same number
Example Insight
For over the unit cube :
- , so the volume integral gives
- Each pair of opposite faces contributes flux that adds up to a total of
Key Takeaway: Verifying the Divergence Theorem on a cube means computing both the total outward flux through all six faces and the volume integral of divergence, then confirming they match—this concrete calculation reinforces the deep connection between how a field behaves inside a region and how it flows across its boundary.