Gradient
Also known as: Del of a scalar · Nabla f · Grad
The gradient packages all the partial derivatives into one vector that points in the direction of steepest ascent, with length equal to that maximum slope.
A Gaussian hill is drawn as a contour heatmap. A probe (white dot) sits at the slider position and an orange arrow shows ∇f — always perpendicular to contours, pointing uphill. The probe drifts and the arrow tracks it in real time.
Equivalent forms
One symbol, ∇, eats a scalar landscape and hands back the direction you'd climb — and it is always perpendicular to the level sets.
Unit systems
Where it holds
Dimensional analysis
Hamilton introduced the ∇ operator ("nabla", named for an ancient harp of the same shape) in the 1840s. Gibbs and Heaviside forged it into the vector calculus physicists use today, turning a page of partial derivatives into a single geometric arrow.
Drop a marble on a hill in the dark. Which way does it roll? The gradient already knows — it always points straight uphill, steepest first.
Sample a scalar field f(x,y) and watch ∇f spring out as the arrow of fastest increase, perpendicular to every contour line.
- Gradient descent — the workhorse of machine-learning optimization
- Electric field from potential,
- Heat and diffusion fluxes,
- Image edge detection (intensity gradients)
- The gradient is a scalar — no, it is a vector field built from scalar derivatives.
- points along a contour — it points perpendicular to contours.
- Bigger f means bigger gradient — the gradient depends on how fast f changes, not on f itself.
Limiting cases
What if…
f doesn't change at all — you're walking along a contour line.
The gradient is undefined on the crease; smoothness is required to exist.
Slope of a paraboloid
- f:
- point:
- (3, 4)
- |
Direction to climb fastest
- f:
- point:
- (3, 4)
- Uphill direction |
- (6, , 0.8)
- Pointing radially outward, as expected for a bowl