MathematicsVector CalculusUniversity
AQAAPOntarioNSWCBSEGCE O-LevelMoECAPS

Divergence Theorem

Relates the outward flux of a vector field through a closed surface to its volume divergence.

Understand the formulaSee the free derivationOpen the full walkthrough

This public page keeps the free explanation visible and leaves premium worked solving, advanced walkthroughs, and saved study tools inside the app.

Core idea

Overview

The Divergence Theorem, also known as Gauss's Theorem, equates the net outward flux of a vector field through a closed surface to the volume integral of the field's divergence within that surface. It transforms a boundary calculation into an interior accumulation calculation, acting as a 3D extension of the Fundamental Theorem of Calculus.

When to use: Apply this theorem when calculating the total flux through a closed, piecewise smooth boundary where the volume integral of the divergence is easier to compute than the surface integral. It is specifically valid for vector fields with continuous first-order partial derivatives inside the region.

Why it matters: It is essential for deriving physical conservation laws, such as Gauss's Law in electromagnetism and the continuity equation in fluid mechanics. By relating local behavior (divergence) to global behavior (flux), it allows scientists to predict how substances or forces move through a boundary based on internal sources.

Symbols

Variables

\text{Concept-only} = Note

Note

Walkthrough

Derivation

Intuitive Proof of the Divergence Theorem

The macroscopic outward flux across a boundary is shown to be the infinite sum of microscopic divergences within the volume.

  • V is a solid region bounded by a closed, piecewise-smooth surface S.
  • has continuous partial derivatives on a region containing V.
  • is the outward unit normal on S.
1

1. Microscopic Flux Definition

The divergence of a vector field at a point is formally defined as the limit of the net outward flux per unit volume as the volume shrinks to zero.

2

2. Approximating Flux for a Small Volume

For a very small macroscopic volume , the total outward flux is approximately its divergence multiplied by its volume.

3

3. Summing Over Many Sub-Volumes

We partition the total volume into many adjacent small sub-volumes and sum their individual outward fluxes.

4

4. Cancellation of Internal Boundaries

When summing the fluxes, any shared internal face between two sub-volumes experiences flux in exactly opposite directions. These internal fluxes cancel out perfectly, leaving only the flux across the outer boundary .

5

5. Transition to the Continuous Integral

Taking the limit as the sub-volumes approach zero, the discrete sum becomes a volume integral, yielding Gauss's Divergence Theorem exactly.

Result

Source: Standard curriculum — Vector Calculus

Free formulas

Rearrangements

Solve for

Express the Divergence Theorem in Alternative Notation

This problem demonstrates how to express the Divergence Theorem using alternative notations for the surface integral and the divergence operator, transforming the initial form into a commonly used equivalent representation.

Difficulty: 2/5

The static page shows the finished rearrangements. The app keeps the full worked algebra walkthrough.

Visual intuition

Graph

Graph unavailable for this formula.

The graph is a linear function because the divergence of F appears as a first-degree term within the volume integral. As the divergence value increases, the total flux increases proportionally, creating a straight line that passes through the origin.

Graph type: linear

Why it behaves this way

Intuition

Imagine a permeable container (the surface S) filled with a fluid (the vector field F). The theorem states that the total amount of fluid flowing out through the container's walls is exactly equal to the sum of all fluid

S
A closed, piecewise smooth surface in three-dimensional space.
The boundary of a region, like the skin of a balloon, through which a flow is measured.
V
The three-dimensional region (volume) enclosed by the surface S.
The interior space, like the air inside a balloon, where sources or sinks of a field might exist.
A vector field, assigning a vector to each point in space (e.g., fluid velocity, electric field).
Represents the direction and strength of a 'flow' or influence at every location.
An infinitesimal vector element of the surface S, whose magnitude is the area of the element and whose direction is the outward unit normal vector.
A tiny, oriented patch on the surface, indicating the direction 'outward' from the enclosed volume.
The divergence of the vector field F, a scalar field representing the net outward flux per unit volume at an infinitesimal point.
Measures how much a point acts as a 'source' (positive value, fluid expanding outwards) or a 'sink' (negative value, fluid converging inwards) for the field.
dV
An infinitesimal volume element within the region V.
A tiny, unoriented chunk of the interior volume where the local divergence is evaluated.
The surface integral of the normal component of F over S, representing the total net outward flux of F through the closed surface S.
The total amount of 'stuff' (like water, heat, or electric field lines) that flows out through the entire boundary surface.
The volume integral of the divergence of F over the region V.
The sum of all local 'sources' and 'sinks' of the field distributed throughout the enclosed volume.

Free study cues

Insight

Canonical usage

Ensures dimensional consistency between the surface integral of a vector field and the volume integral of its divergence.

Common confusion

A common mistake is failing to correctly determine the units of the divergence (∇·F) or to ensure that the overall dimensions of the surface integral (flux) match those of the volume integral.

Unit systems

Varies (e.g., N, m/s, N/C) · The dimension of the vector field F depends on the specific physical quantity it represents (e.g., force, velocity, electric field).
m^2 · Represents an infinitesimal surface area element, hence units of area.
Varies (e.g., N/m, (m/s)/m, (N/C)/m) · The divergence operator (∇·) introduces an inverse length dimension to the vector field's original dimension.
m^3 · Represents an infinitesimal volume element, hence units of volume.

One free problem

Practice Problem

Calculate the total outward flux of the vector field F = (2x, 2y, 2z) through the surface of a cube with side length 3 units, centered at the origin.

Note162

Solve for:

Hint: Calculate the divergence of the field and multiply it by the volume of the cube.

The full worked solution stays in the interactive walkthrough.

Where it shows up

Real-World Context

Gauss's Law in Physics.

Study smarter

Tips

  • Verify the surface is fully closed before applying the theorem.
  • Ensure the normal vector to the surface points outward by convention.
  • Calculate the divergence first; if the divergence is zero, the net flux is automatically zero.
  • Use symmetry in the volume limits to simplify the triple integration.

Avoid these traps

Common Mistakes

  • Using for open surfaces.
  • Flux direction (outward normal).

Common questions

Frequently Asked Questions

The macroscopic outward flux across a boundary is shown to be the infinite sum of microscopic divergences within the volume.

Apply this theorem when calculating the total flux through a closed, piecewise smooth boundary where the volume integral of the divergence is easier to compute than the surface integral. It is specifically valid for vector fields with continuous first-order partial derivatives inside the region.

It is essential for deriving physical conservation laws, such as Gauss's Law in electromagnetism and the continuity equation in fluid mechanics. By relating local behavior (divergence) to global behavior (flux), it allows scientists to predict how substances or forces move through a boundary based on internal sources.

Using for open surfaces. Flux direction (outward normal).

Gauss's Law in Physics.

Verify the surface is fully closed before applying the theorem. Ensure the normal vector to the surface points outward by convention. Calculate the divergence first; if the divergence is zero, the net flux is automatically zero. Use symmetry in the volume limits to simplify the triple integration.

References

Sources

  1. Calculus: Early Transcendentals by James Stewart
  2. Vector Calculus by Jerrold E. Marsden and Anthony J. Tromba
  3. Wikipedia: Divergence theorem
  4. Introduction to Electrodynamics by David J. Griffiths
  5. Calculus: Early Transcendentals, 8th Edition by James Stewart
  6. Mathematical Methods for Physicists, 7th Edition by George B. Arfken, Hans J. Weber, and Frank E. Harris
  7. Stewart Calculus: Early Transcendentals
  8. Standard curriculum — Vector Calculus