Vectors: At a given point, the gradient is defined as a vector that is tangent to the function. A derivative is another name for a gradient function.
The derivative is also known as the rate of change of a function.
The gradient of a function, in two dimensions, is defined as: where vector operator.
The gradient will be in the direction of the steepest ascent of the function from that point.
To put it another way, the gradient is a vector that has a quantity specified by the derivative and points in the direction where the rate of change is greatest.