Divergence as a derivative operator
Start with a vector field with vector components , where and are functions of points in space.
From this we create a scalar field called the divergence of , written . This field is calculated with the formula:
One can remember this formula using the “vector” ; the formula expresses a dot product of and .
This formula naturally extends to higher dimensions. For example, in 3D we have:
Divergence as a derivative operator (part 2)
In physics it is common to use polar (or cylindrical or spherical) coordinates because many problems have rotational symmetry. The derivative operators of vector calculus can be expressed in these coordinate systems.
Divergence as a derivative operator (part 3)
Polar divergence looks different
Given a vector field with polar coordinates and , its divergence is given by:
Divergence as measure of expansion
The divergence can be explained as a measure of expansion of the vector field at each point in space. (Negative divergence means contraction.) If the vector field corresponds to the velocity of a fluid flow, then divergence measures the rate at which fluid flows out of (or into) each point. We can verify this interpretation by using a vector line integral to measure the flow out of a circular loop, and then shrink the loop down to an infinitesimal loop.
Suppose is given. Let be a circle of radius centered at , oriented counter-clockwise. We will compute the vector line integral across in the limit as .
Calculate this integral using linear approximations for and . Let , and write and .
We have:
- ,
where the partial derivatives are evaluated at .
Now and , so the line integral becomes:
In the limit as , this becomes , where is the infinitesimal area of the circle.