We have
The directional derivative in the direction d = √2/2 i − √2/2 j is given by
The direction, in which the function is increasing most rapidly is the direction of the gradient,
and the directional derivative in this direction is
∇f (0, 1)· d = 2i · i = 2