The gradient, represented by , represents the vector pointing in the direction of the greatest rate of change. Given a vector , the gradient of is calculated by