Rate of Change and Gradient
Now if u is in the direction of gradient(f), then theta=0 and we have
Du(f)=||gradient(f)||
If u points in the opposite direction of gradient(f), then theta=Pi and we
have
Du(f)=-||gradient(f)||
What does this say?
A (differentiable) function increases most rapidly in the direction of the
gradient (u=gradient(f)) and the rate of change in this direction is
||gradient(f)||.
A (differentiable) function decreases most rapidly in the opposite direction of
the gradient (u=-gradient(f)) and the rate of change in this direction is
-||gradient(f)||.