How Are the Dot Product and Divergence Related?
At a glance
- 1. Treat nabla as an operator
In Cartesian coordinates, nabla lists partial-derivative operators rather than ordinary numbers.
- 2. Apply it to a field
Take the dot product of nabla with the vector field, differentiating each matching component.
- 3. Interpret the result
The divergence is a scalar that measures local outward flow per unit volume.
The dot product and divergence are connected through the symbol . In Cartesian coordinates, this notation tells you to differentiate the components of a vector field and add the derivatives. The result, called the divergence, is a scalar field.
The notation resembles an ordinary dot product, but is not an ordinary vector of numbers. It is a differential operator. Understanding that distinction explains both the formula and what divergence measures.
The Cartesian formula
For a vector field in three dimensions,
the divergence is defined in Cartesian coordinates by
The operator (also called del or nabla) is written in these coordinates as
The dot notation indicates that the first differential operator acts on the first component of , the second on the second, and the third on the third. In two dimensions, omit the term; in dimensions, add one matching partial derivative for each coordinate.
Worked example
Consider
Differentiate each component with respect to its corresponding coordinate:
So the divergence is the scalar field . At the point , its value is
This value describes the field’s local tendency to flow outward near that point. It is not the vector itself; that vector is .
Why call it a dot product?
For ordinary vectors and , their dot product is . The divergence formula has the same component-by-component pattern, but the entries of are derivative operators. When they act on the components of , they produce derivatives rather than products of numbers.
Thus, is often described as the dot product of the differential operator with the vector field. This is useful notation, but it should not obscure the fact that differentiation is happening.
What divergence measures
Imagine a fluid velocity field. If more fluid flows out of a tiny region than flows in, the divergence there is positive. If more flows in than out, it is negative. If inflow and outflow balance locally, the divergence is zero. More precisely, divergence measures net outward flux per unit volume in the limit as the region shrinks to a point.
The same interpretation applies to other vector fields, such as an electric field, although the physical meaning of the field and its units differ. Divergence is a scalar because this local source-or-sink measure has a value at each point, not a direction.
Common mistakes
- Treating as a fixed numerical vector. Its entries are derivative operators, and they act on the field that follows.
- Differentiating the wrong component. For Cartesian divergence, differentiate with respect to , with respect to , and so on.
- Expecting a vector result. The sum of the matching partial derivatives is a scalar.
- Confusing divergence with . The expression is a differential operator that acts on a scalar function, producing a directional-derivative-type expression. It is not the divergence of .
- Using the Cartesian formula in other coordinates without adjustment. In cylindrical or spherical coordinates, divergence has additional scale factors. The simple component formula above applies directly to Cartesian coordinates.
For example, if is a scalar function, then is its gradient, a vector field. Taking the divergence of that gradient gives the Laplacian: . This is another use of the same operator notation, with the derivatives acting on the expression to their right.
References
- Vector Calculus, 6th Edition — Jerrold E. Marsden and Anthony Tromba
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.