It points in the direction of the greatest rate of increase of the function, and its magnitude gives the rate of increase in that direction.
The gradient is a vector composed of the partial derivatives of the function with respect to each of its variables, where .