directional derivative, derivation of
Let be a function where and . Let be the vector in the desired direction. The line through this vector is given parametrically by:
The derivative of with respect to is as follows:
But from the equation of the line, we know that and so the derivative becomes: