In mathematics, the gradient of a real-valued differentiable function
at a point
is a vector in
which points in the direction in which
increases most rapidly. The magnitude of the gradient at
is equal to the maximum directional derivative of
at
.
More precisely, the gradient of
is the vector-field: