in vector calculus, the gradient of a multivariate function measures how steep a curve is. on a graph of the function, it is the slope of the tangent of that curve. more generally, it is a vector that points in the direction in which the function grows the fastest. its coordinates are partial derivatives of that function. the gradient of a function "f" is often written as formula_1 or formula_2.