The Gradient
Find the steepest way uphill
The tilted plane is a landscape whose height represents potential, and the bright cyan lines are equipotential lines of equal potential. Turning the test arrow with the slider shows on the indicator the uphill slope in that direction, as a percentage of the maximum. It is steepest when you align it with the gold arrow, and the slope vanishes when you follow an equipotential line.
The gradient, steepest ascent
A scalar field gives each point one number (EM-02·EM-08). The gradient ∇V points in the direction in which that number grows fastest, and the arrow's length is the slope in that direction. It shows, as one arrow, the steepest way up a hill, so one scalar field yields one vector field.
The directional derivative, by dot product
The rate at which the potential changes as you move in some direction û is called the directional derivative. Its value is the dot product of the gradient and the unit vector of that direction, ∇V·û, the same principle as the dot product in EM-05. When û lines up with ∇V, the cos of the angle between them is 1, so it is a maximum; at right angles it is 0. Going the exact opposite way gives the steepest descent. So along an equipotential line the rate of change is 0, straight along the gradient it is a maximum, and the size of that maximum rate is exactly |∇V|.
Perpendicular to equipotentials
The direction with a rate of change of 0 is the equipotential line, so the gradient is always perpendicular to the equipotential surface (just as seen in EM-08). It is like the contour lines of a landscape meeting the steepest climb at right angles. So a single gradient holds both a direction, the normal to the equipotential surface, and a size, the slope.
E = -∇V, from scalar to vector
The electric field points the way the potential falls fastest, so it is the exact opposite of the gradient. E = -∇V. The minus sign turns uphill into downhill. This one line draws the whole vector field, the electric field, out of the scalar field, the potential. Knowing the potential alone, you get the three components of the electric field by differentiating, and conversely, integrating the electric field along a path brings you back to the potential.
Back to the first screen
On the first screen, turning the test arrow made the uphill slope differ with direction. It was 0 along an equipotential line and largest when lined up with the gradient. What holds that maximum direction and size together is the gradient ∇V, and the directional derivative ∇V·û states this with a single cosine. The electric field is this gradient flipped downhill, E = -∇V, which is why it was always perpendicular to the equipotential surfaces.
The gradient is a tool that extracts a vector field from a scalar field. With it equipped, you get the electric field E = -∇V straight from the potential (recovering EM-08), and in any problem with a potential you find the field by differentiating. Together with divergence ∇·(EM-07) and curl ∇×(EM-16), it makes up the three uses of the nabla operator ∇ and supports the differential form of Maxwell's equations.