Nepedia
Back to Discover
Advanced Reader
🔢

Divergence theorem

math Maturity 11-13 Next article →

The divergence theorem is a fundamental principle in vector calculus. It connects what happens inside a volume to what happens on its boundary. This theorem is also known as Gauss's theorem or Ostrogradsky's theorem. It relates the flux of a vector field through a closed surface to the divergence within the enclosed region. In simple terms, it says the sum of all sources and sinks inside a region equals the net flow through its surface.

Divergence theorem
Divergence theorem

To understand the mechanism, we can look at a vector field through the lens of fluid dynamics. A moving liquid has a velocity at every point. This velocity has both a speed and a specific direction. When we map these velocities, we create a vector field.

Vector Field on a Sphere
Vector Field on a Sphere

Consider a closed surface, $S$, that encloses a specific volume of liquid. The flux is the rate at which the liquid crosses this surface. If the fluid is incompressible and contains no sources or sinks, the net flux is zero. This happens because any liquid flowing into the volume must be balanced by an equal amount flowing out.

However, the presence of sources or sinks changes this balance. A source, such as a pipe, introduces liquid into the volume. This adds pressure and creates an outward flow in all directions. The flux through the surface $S$ will equal the rate of flow from that pipe. Conversely, a sink acts like a drain that removes liquid. This creates an inward velocity throughout the fluid. In this case, the inward flux through the surface equals the rate at which the sink removes liquid.

Divergence theorem 1 - split volume
Divergence theorem 1 - split volume

Mathematically, the theorem can be expressed with a specific formula. We assume a volume $V$ in $n$-dimensional space. For most physics applications, we work in three dimensions. The volume must be compact and have a piecewise smooth boundary, $S$. If we have a continuously differentiable vector field, $F$, the theorem states that the volume integral of the divergence of $F$ equals the surface integral of $F$ over $S$.

OiintLaTeX
OiintLaTeX

The left side of the equation sums up all the sources and sinks within the volume. The right side calculates the total flux passing through the boundary. To ensure accuracy, the surface is oriented using outward-pointing unit normals, denoted as $\hat{n}$.

We can prove this relationship by partitioning a large volume into smaller sub-volumes.

Divergence theorem 2 - volume partition
Divergence theorem 2 - volume partition

Imagine dividing a volume $V$ into two parts, $V_1$ and $V_2$, separated by an internal surface, $S_3$. Each sub-volume has its own flux. The flux through the shared surface $S_3$ is outward for $V_1$ but inward for $V_2$. Because these directions are opposite, the fluxes through the internal boundary cancel each other out when summed. This principle holds true no matter how many parts you divide the volume into.

Divergence theorem 3 - infinitesimals
Divergence theorem 3 - infinitesimals

When you add the divergence of every small part, only the flow at the external boundary remains.

This theorem is vital for understanding conservation laws in science. A conservation law states that the total amount of sources and sinks must match the net flow across a boundary. This makes the divergence theorem a primary tool in several fields. In electrostatics, it helps describe how electric charges create fields. In fluid dynamics, it helps engineers model how gases and liquids move through pipes or around objects. It allows scientists to turn complex three-dimensional volume problems into simpler two-dimensional surface problems.

Interestingly, the divergence theorem is part of a larger family of mathematical ideas. It generalizes across different dimensions. In a two-dimensional setting, the theorem is equivalent to Green's theorem. In a one-dimensional setting, it is equivalent to the fundamental theorem of calculus. This connection shows how different branches of mathematics are deeply linked. Whether studying a simple line or a complex three-dimensional field, the core logic of how things change and flow remains consistent.

639 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (7)
File:Divergence theorem.svg
Divergence theorem.svg
File:SurfacesWithAndWithoutBoundary.svg
SurfacesWithAndWithoutBoundary.svg
File:OiintLaTeX.svg
OiintLaTeX.svg
File:Vector Field on a Sphere.png
Vector Field on a Sphere.png
File:Divergence theorem 1 - split volume.png
Divergence theorem 1 - split volume.png
File:Divergence theorem 2 - volume partition.png
Divergence theorem 2 - volume partition.png
File:Divergence theorem 3 - infinitesimals.png
Divergence theorem 3 - infinitesimals.png
More to explore

🔗 What's this?

Concepts mentioned in this article

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.