In multivariable calculus, the directional derivative measures the rate of change of a function in a particular direction (towards a unit vector ) at a given point. A useful definition is as follows:

The vector of the partials is called the gradient of . So we can rewrite:

A key implication of this is that if the gradient points in the same direction as the unit vector, then the directional derivative is at a maximum value. The opposite holds true.

If is differentiable at , and is a unit vector in the -plane, then we define the directional derivative in the direction of as:

provided the limit exists.