Divergence
of Vector Fields
Learn to compute divergence and understand how it measures the rate of expansion or compression of a vector field at every point in space.
What Is a Vector Field?
A vector field assigns a vector to every point in a region of space. Think of wind patterns on a weather map: at each location, there is a direction and magnitude of the wind.
The Intuition Behind Divergence
Divergence measures how much a vector field spreads out or compresses at a given point. Imagine placing a tiny balloon in a flowing fluid:
Why Divergence Matters
Divergence appears in the most fundamental laws of physics and engineering. It connects local behavior of a field to global behavior over a region.
The Divergence Formula
For a vector field \(\mathbf{F} = \langle P,\, Q \rangle\) in two dimensions, the divergence is:
For a 3D field \(\mathbf{F} = \langle P,\, Q,\, R \rangle\):
The symbol \(\nabla\) is the del operator: \(\nabla = \left\langle \frac{\partial}{\partial x},\, \frac{\partial}{\partial y},\, \frac{\partial}{\partial z} \right\rangle\). Divergence is the dot product of \(\nabla\) with \(\mathbf{F}\).
Visualizing the Del Operator
Divergence vs Curl
Both divergence and curl use the del operator \(\nabla\), but they measure fundamentally different things about a vector field.
| Divergence \(\nabla \cdot \mathbf{F}\) | Curl \(\nabla \times \mathbf{F}\) | |
|---|---|---|
| Operation | Dot product | Cross product |
| Output | Scalar field | Vector field |
| Measures | Expansion / compression | Rotation / swirling |
| Analogy | Source or sink | Whirlpool or vortex |
| Dimension | 2D and 3D | Primarily 3D |
How to Compute Divergence
Example 1: Simple 2D Field
Find the divergence of \(\mathbf{F}(x,y) = \langle 3x^2,\, 5y \rangle\).
Example 2: 3D Vector Field
Find \(\nabla \cdot \mathbf{F}\) for \(\mathbf{F}(x,y,z) = \langle x^2 z,\, e^{xy},\, xyz \rangle\).
Example 3: The Radial Field
Find the divergence of the radial field \(\mathbf{F}(x,y,z) = \langle x,\, y,\, z \rangle\).
Physical Interpretation
Divergence is the flux density: the net outward flux per unit volume as the volume shrinks to zero.
The Divergence Theorem
The Divergence Theorem (Gauss's Theorem) connects divergence inside a volume to flux through the boundary surface:
Properties of Divergence
Common Mistakes
Summary Reference
| Detail | |
|---|---|
| Formula (2D) | \(\frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y}\) |
| Formula (3D) | \(\frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}\) |
| Output type | Scalar field |
| Positive | Source: expansion |
| Negative | Sink: compression |
| Zero | Incompressible (solenoidal) |
| Big theorem | \(\iiint_V \nabla \cdot \mathbf{F}\,dV = \oint_S \mathbf{F}\cdot d\mathbf{S}\) |
| Identity | \(\nabla \cdot (\nabla \times \mathbf{F}) = 0\) |
Question 1 of 5
What is the divergence of \(\mathbf{F}(x,y) = \langle 2xy,\, x^2 + y^2 \rangle\)?
Question 2 of 5
What does a negative divergence at a point indicate physically?
Question 3 of 5
Compute \(\nabla \cdot \mathbf{F}\) for \(\mathbf{F}(x,y,z) = \langle \sin x,\, \cos y,\, e^z \rangle\).
Question 4 of 5
Which identity is always true for any smooth vector field \(\mathbf{F}\)?
Question 5 of 5
The Divergence Theorem states that \(\iiint_V (\nabla \cdot \mathbf{F})\,dV\) equals which of the following?