for a scalar function of two variables, we define as the following:

similarly, for a function of three variables,

we call the gradient of and it is a vector field on or for two or three variables respectively. specifically, it is called a gradient vector field, as it assigns each point in domain (respectively each point in the domain of ) with a 2-dimensional vector in (respectively, a 3-Dimensional vector in )