Del operator ∇
Definition
The del operator, also called nabla, is a compact way to write spatial derivatives.
In Cartesian coordinates:
It looks like a vector, but do not treat it as a normal vector. It is an operator. It does something to whatever comes after it.
Gradient
For a scalar field ,
Read this as: “which way does increase fastest?”
The gradient points uphill. Its size tells you how steep that uphill direction is. In ML, gradient descent goes in the negative gradient direction because that is downhill for the loss.
Divergence
For a vector field ,
Read this as: “is stuff flowing out of this point, into this point, or neither?”
- positive divergence: source-like, field spreads out
- negative divergence: sink-like, field flows in
- zero divergence: no net source or sink
Solenoidal magnetic fields and no magnetic monopoles uses:
meaning magnetic field lines do not start or end.
Curl
For a vector field ,
Read this as: “would a tiny paddle wheel spin here?”
Curl measures local rotation. The direction of the curl vector is the rotation axis, using the right-hand rule.
Laplacian
Read this as: “how different is this point from its local neighbourhood?”
It shows up in diffusion, waves, potentials, heat, and field equations.