the gradient of a scalar function of any quantity is defined as a vector field having magnitude equal to the maximum space rate of change of the quantity and having a direction identical with the direction of displacement along which the rate of change is maximum.