Log in Sign up
Back to Discover
🔢

Divergence theorem

math Maturity 11-13

Think about water in a tub.

Divergence theorem.svg
Divergence theorem.svg
Water can flow in or out. If a pipe adds water, it flows out. If a drain takes it, it flows in. We can count all the flow. It helps us learn about how things move. Can you see water moving?
Vector Field on a Sphere.png
Vector Field on a Sphere.png

54 words

Imagine water in a tub.

Divergence theorem.svg
Divergence theorem.svg
Water can flow in or out. A pipe might add water to the tub. This is like a source. A drain might take water away. This is like a sink.

If you add up all the sources and sinks, you find the total flow. This flow goes through the walls of the tub.

Divergence theorem 1 - split volume.png
Divergence theorem 1 - split volume.png
This idea is called the divergence theorem. It helps people study how liquids move. It also helps with things like electricity. This math works in many ways. It can even work in many dimensions.

100 words

Imagine water flowing in a tank.

Divergence theorem.svg
Divergence theorem.svg
Some parts of the tank might add water. We call these parts sources. Other parts might take water away. We call these sinks. The divergence theorem is a math rule. It links what happens inside the tank to what happens at the edges.

If you add up every source and sink, you get a total. This total tells you the net flux. Flux is just a word for flow through a surface.

Divergence theorem 1 - split volume.png
Divergence theorem 1 - split volume.png
The theorem says the total flow through the walls equals the sum of all sources and sinks inside.

This rule works in many ways. It works for two dimensions or three dimensions. It even works for more!

Divergence theorem 2 - volume partition.png
Divergence theorem 2 - volume partition.png
Scientists use this to study how liquids move. It also helps with electricity. You can think of it like splitting a big shape into tiny pieces. The flow between the tiny pieces cancels out. Only the flow at the very outside edges remains. This makes the math very useful for engineering.

180 words

Imagine you are watching water flow inside a large tank.

Divergence theorem.svg
Divergence theorem.svg
Some parts of the tank might add water through a pipe. We call these parts sources. Other parts might take water away through a drain. We call these parts sinks. The divergence theorem is a way to link what happens inside the tank to what happens at the edges. It connects the total amount of sources and sinks to the net flow through the surface. This flow is often called flux.
Vector Field on a Sphere.png
Vector Field on a Sphere.png

To understand how this works, think about the movement of a liquid. A moving liquid has a speed and a direction at every point. This collection of movements is called a vector field. If you have a closed volume of liquid, the flux is the rate at which the liquid crosses the surface. If there are no sources or sinks inside, the liquid just moves around. The amount flowing in equals the amount flowing out. In this case, the net flux is zero.

Divergence theorem 1 - split volume.png
Divergence theorem 1 - split volume.png

This theorem is known by a few different names. It is often called Gauss's theorem. Some people also call it Ostrogradsky's theorem. It is a very important tool for people who study physics and engineering. They use it to understand things like fluid dynamics or electrostatics. While it is often used in three-dimensional space, it works in many dimensions. In two dimensions, it is the same as Green's theorem. In one dimension, it is the same as the fundamental theorem of calculus.

Divergence theorem 2 - volume partition.png
Divergence theorem 2 - volume partition.png

We can prove how this works by splitting a large volume into smaller parts.

Divergence theorem 3 - infinitesimals.png
Divergence theorem 3 - infinitesimals.png
Imagine you divide one big shape into two smaller shapes. These two shapes share a wall in the middle. The liquid flows out of one side of that wall and into the other. Because the flow is in opposite directions, these movements cancel each other out. When you add up all the small parts, only the flow at the very outside edges remains. This is why the total flux equals the sum of the divergence inside.

This math rule is useful because it follows conservation laws. These laws state that the total amount of sources and sinks must match the flow across the boundary. If you know how much is being added or removed inside, you know the flow outside. This helps engineers predict how liquids or electricity will behave. It turns a hard problem about a whole volume into a simpler problem about a surface. By using this theorem, scientists can solve many puzzles about the moving world around us.

445 words

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.svg
Divergence theorem.svg

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.png
Vector Field on a Sphere.png
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.png
Divergence theorem 1 - split volume.png

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.svg
OiintLaTeX.svg
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.png
Divergence theorem 2 - volume partition.png
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.png
Divergence theorem 3 - infinitesimals.png
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.

651 words
🖼️ 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
Up Next
🔢
Green's theorem
Math
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.