Let be the unit vector in the direction of v, and let be the line through P in the direction defined by u. The parametric equations of this line are
Along this line the function values of are given by
The requisite directional derivative is then .
Alternatively, obtain the vector = = and compute its dot product with u so that