This is an attempt to explain directional derivatives better than how it is explained in Serge Lang’s seminal book “A Second Course in Calculus”.
The directional derivative of is
grad
, where
is a unit vector in the direction that we’re interested in.
Let us suppose we need to find the derivative of function along the direction
, where points
and
is the parameter. The derivative will obviously be
.
Lang’s book mentions it as , where
is obviously
. This is theoretically an inaccurate assertion. But we will now work out why the formula of the directional derivative comes out to be the same.
Let us determine why .
We know that such that
. Here,
(the Mean Value Theorem has been used here). Note that
.
Although the above formula is valid, it is not very helpful, as determining would be difficult. What should we do now?
Let and
. Then
. Hence,
grad
. Divide both sides by
to get a unit vector in the direction of
. You get the required formula.
Summing up the above argument, if is the required direction in which you want to determine the slope,
is indeed what you’re looking for! Your intuition was correct. The world is happy and pink again. For calculational purposes, we use
grad
, as
grad