Gradient vs divergence vs curl: what each one tells you
6 min read
Short answer
All three come from the operator . The gradient turns a scalar field into a vector field (pointing uphill). The divergence turns a vector field into a scalar (how much it spreads out from a point). The curl turns a vector field into another vector field (how much, and around which axis, it rotates).
Look at the input and the output
The quickest way to keep them straight:
- Gradient : scalar in, vector out. It points in the direction of steepest increase and is perpendicular to level curves.
- Divergence : vector in, scalar out. Positive at a source, negative at a sink.
- Curl : vector in, vector out. It points along the axis of rotation (right-hand rule); its size is twice the local angular speed.
Here . If the types do not match, the expression is meaningless: the divergence of a scalar does not exist.
Two identities worth knowing
The first says a gradient field has no rotation (this is why conservative fields are curl-free). The second says a curl field has no sources. They are the quickest sanity checks when your arithmetic looks suspicious.
Worked example
For find the divergence and the curl.
Here , , .
Divergence: .
Curl:
- first component ,
- second component ,
- third component .
So .
Try it yourself
For compute and .
Show the answer
Divergence: . Curl: .
Keep going with practice
Vidi's Multivariable & Vector Calculus course includes a vector-field explorer that shows divergence and curl as you move around the field.