Vector Calculus Operators
Vector Differential Operators: Relationships and Physical Meaning
Gradient, divergence, and curl
The del operator, written ∇, combines partial derivatives with the operations of vector calculus. Its effect depends on the object to which it is applied:
For a scalar field f, the gradient is
∇f=(∂x∂f,∂y∂f,∂z∂f).It is a vector pointing in the direction of the steepest increase of f. Its magnitude indicates how rapidly f increases in that direction. The negative gradient, −∇f, points in the direction of steepest decrease and often describes a flow from higher values toward lower values.
For a vector field F=(P,Q,R), the divergence is
∇⋅F=∂x∂P+∂y∂Q+∂z∂R.It is a scalar that measures the field’s net outward flow per unit volume near a point.
For a vector field F=(P,Q,R), the curl is
∇×F=(∂y∂R−∂z∂Q,∂z∂P−∂x∂R,∂x∂Q−∂y∂P).It is a vector that measures the field’s local tendency to circulate or rotate.
These operations can be combined, but each combination must respect the type of its input. For example, the gradient takes a scalar field, while divergence and curl take vector fields. The combinations with especially important interpretations are curl of a gradient, divergence of a gradient, and divergence of a curl.
Divergence and curl as local measurements
Divergence as source strength
The divergence theorem relates the total outward flow through a closed surface to the divergence inside the enclosed volume:
Here, ∂V is the boundary of the volume V, and n is its outward-pointing unit normal.
If ∇⋅F is positive at a point and the field is sufficiently regular nearby, the divergence will also be positive over a small neighborhood around that point. The divergence theorem then implies that the total flow out of that neighborhood is positive: the neighborhood behaves like a source of the field. Negative divergence corresponds to net flow inward, as if the region contains a sink.
Curl as local circulation
Stokes’ theorem relates the circulation of a vector field around a closed curve to the curl passing through a surface bounded by that curve:
If the curl is nonzero at a point and varies continuously nearby, there are small surfaces around that point with nonzero curl flux. Stokes’ theorem then gives a boundary curve with nonzero circulation. Thus, the field has local rotational behavior near that point.
The curl of a gradient
For a sufficiently smooth scalar field f, the curl of its gradient is always zero:
To see why, first write the gradient:
Taking its curl gives
When the second partial derivatives are continuous, mixed partial derivatives are equal. Each component therefore vanishes.
Key identity: A sufficiently smooth gradient field has zero curl. In physical terms, a field derived from a scalar potential has no local rotational component.
When does zero curl imply a gradient field?
The reverse implication requires care. A vector field with zero curl is not necessarily the gradient of a globally defined scalar potential unless the domain has suitable topology.
The magnetic-field example
Consider the field
This field points around the z-axis in circles. It models the direction and radial dependence of the magnetic field around a straight current-carrying wire, apart from a constant scaling factor.
At every point away from the z-axis, its curl is zero. However, its circulation around a circle centered on the z-axis is nonzero. For a circle of radius r,
If F were the gradient of a single-valued scalar potential throughout the domain, its line integral around every closed curve would have to be zero. This nonzero circulation therefore shows that the field is not globally a gradient field on the domain with the z-axis removed.
There is no contradiction with Stokes’ theorem. A circular path around the axis can be spanned by a surface, such as a disk, only if the surface crosses the z-axis. The field is singular on that axis, so Stokes’ theorem cannot be applied to that surface under its usual regularity assumptions.
The issue is therefore not that the curl is nonzero at ordinary points. The issue is the singularity and the topology of the domain: loops around the removed axis cannot be filled by surfaces that stay entirely within the domain.
Simply connected regions
A region is simply connected when every closed curve in it can be continuously contracted to a point without leaving the region. In three-dimensional vector calculus, this means that closed curves can be spanned by surfaces contained entirely in the region.
A solid ball is simply connected. A region with a tunnel through it is not: a loop encircling the tunnel cannot be spanned by a surface that remains inside the region. Similarly, a region with a removed axis has loops that go around the missing axis and cannot be contracted within the region.
Curl-free criterion for a potential field
If a vector field F has continuous first partial derivatives on a simply connected region, then
for some scalar potential f on that region.
The reasoning uses Stokes’ theorem:
Take any closed curve in the region.
Since the region is simply connected, the curve bounds a surface that also lies in the region.
If ∇×F=0 throughout the region, then Stokes’ theorem gives
∮∂SF⋅dr=∬S(∇×F)⋅ndS=0.Since the line integral around every closed curve is zero, the field is conservative and can be represented as a gradient.
Thus, zero curl is a local condition, while being a gradient field globally also depends on the domain. Singularities and holes can prevent the conclusion.
Divergence of a gradient and the heat equation
The divergence of the gradient of a scalar field is called its Laplacian:
The Laplacian appears in the heat equation because it describes how heat moves in response to spatial differences in temperature.
Heat flux and temperature gradients
Let u(x,t) represent temperature at position x and time t. Heat flows from warmer regions toward cooler regions. Since ∇u points toward increasing temperature, the heat-flux vector points in the opposite direction:
where κ>0 is the thermal conductivity, assuming a homogeneous material with constant conductivity.
A large temperature gradient produces a larger heat flux. The net heat flow across the boundary of a region is the surface integral of the flux through that boundary.
Applying heat conservation to a small volume
For a volume V with boundary ∂V, the net outward heat flow per unit time is
Energy conservation says that the rate of change of heat stored inside the volume is the negative of this outward flow. If the material’s heat capacity per unit volume is C, then the rate of change of stored heat is
Using J=−κ∇u and the divergence theorem,
This equality holds for arbitrary sufficiently regular volumes. Under the appropriate smoothness assumptions, the corresponding local equation is
Equivalently,
where α is the thermal diffusivity.
Local interpretation
The equation can be understood by shrinking the volume around a point. The divergence theorem converts the total flux through a small boundary into an integral of Δu throughout the small volume. When the volume is sufficiently small and the fields are continuous, each volume average approaches the value at its center. The local temperature-change rate is therefore proportional to the Laplacian at that point.
If Δu>0 at a point, the local temperature tends to increase under the heat equation.
If Δu<0, it tends to decrease.
If Δu=0, there is no instantaneous temperature change from diffusion at that point.
The Laplacian measures how a value compares with its nearby surroundings. Heat diffuses in a way that smooths temperature differences: warmer areas lose heat to cooler surroundings, and cooler areas gain heat from warmer surroundings.
The divergence of a curl
For any sufficiently smooth vector field F,
Writing F=(P,Q,R), its curl is
Taking the divergence produces pairs of mixed second derivatives with opposite signs. For example, the terms involving P include
which cancel when the mixed partial derivatives are continuous. The same cancellation occurs for the terms involving Q and R, leaving zero.
Key identity: The divergence of a curl vanishes for a sufficiently smooth field. A field formed as a curl has no net source or sink.
This fits the physical interpretation of the operators: divergence measures source strength, while curl measures local circulation. A curl field may circulate, but it has no net local production or removal of the field.
Regularity and the scope of these identities
The identities and integral theorems rely on appropriate smoothness conditions. In particular:
The identity ∇×(∇f)=0 requires enough differentiability for mixed partial derivatives to be equal.
The identity ∇⋅(∇×F)=0 likewise requires sufficient smoothness of the components of F.
The divergence theorem and Stokes’ theorem require suitable regularity of the fields, surfaces, and regions.
Singularities can invalidate the hypotheses even when a formula appears to work away from the singular points.
These conditions are essential when applying the results to physical fields. A field may satisfy a differential identity everywhere it is smooth while still behaving differently around a singularity or in a region with holes.

Ask anything
We've read this whole study set, so questions about it get the best answers.