These three differential operators describe how scalar and vector fields change in space.
Gradient — Acts on a scalar field , producing a vector:
points in the direction of steepest increase and its magnitude is the rate of change.
Divergence — Acts on a vector field , producing a scalar:
Measures the net outward flux per unit volume — sources () and sinks ().
Curl — Acts on a vector field , producing a vector:
Measures the local rotation of the field.
Key identities
- (curl of gradient is zero)
- (divergence of curl is zero)
- (the Laplacian)
Physics link: (electric field is the negative gradient of potential) and (Gauss's law in differential form).
Common pitfall: Gradient, divergence and curl take different objects in and out: grad turns scalars into vectors; div turns vectors into scalars; curl turns vectors into vectors. Type-check before computing — "div of a scalar" is meaningless.
Vector Fields and the Gradient
A vector field assigns a vector to every point in a region.
The gradient of a scalar field is:
It points in the direction of steepest increase; its magnitude is the rate of change.
A field like is rotational: streamlines form closed loops, with curl .
Gradient, divergence, and curl are the building blocks of vector calculus.