Divergence: Measuring Sources and Sinks in a Flow
At each point of a vector field, one number tells you whether fluid is being created, swallowed, or merely passing through.
Is fluid being made here?
Think of a vector field F = (P, Q) as the velocity of a fluid at each point. Draw a tiny box anywhere in the flow. Some fluid streams in through its sides; some streams out. The divergence asks: is there a net outflow? If more leaves than enters, fluid must be appearing inside — a source. If more enters than leaves, it is vanishing — a sink.
Why a dot product of ∇ with F
The notation ∇·F treats the operator ∇ = (∂/∂x, ∂/∂y) as a vector and “dots” it with F. The dot product pairs each component of ∇ with the matching component of F: ∂/∂x hits P, ∂/∂y hits Q, and you add. That is why divergence, like any dot product, produces a scalar.
- Here P = x and Q = y.
- Compute the partials: \( \partial P/\partial x = 1 \) and \( \partial Q/\partial y = 1 \).
- Add them: \( \nabla\cdot\mathbf F = 1 + 1 \).
- P = x gives \( \partial P/\partial x = 1 \).
- Q = −y gives \( \partial Q/\partial y = -1 \).
- Add: \( 1 + (-1) = 0 \).
Check your understanding
- Divergence ∇·F = ∂P/∂x + ∂Q/∂y (+ ∂R/∂z) measures the net outflow of a field per unit area/volume.
- Positive divergence is a source, negative is a sink, and zero means incompressible (balanced) flow.
- It is written as a dot product ∇·F, so the result is always a scalar, not a vector.
- F = (x, y) has divergence 2 (a source); F = (x, −y) has divergence 0 (incompressible).
- The Divergence Theorem links integrated divergence to total flux through the region's boundary.
🎓 Go deeper: external courses & trusted references
External sites are listed for reference only. This course is independent and has no affiliation with, or endorsement from, the institutions named.