Definition

Let be a scalar function of vector .

The gradient of with respect to is the column vector of partial derivatives:

The gradient points in the direction of steepest ascent of .

Example

Let

At :