Is it just when it's at a critical point?
I am trying to determine graphically when the directional derivative at a point is $>0$, $<0$ or $=0$.
For a particular question, I need to justify that it is $>0$ (not $=0$). Therefore, using $D_f(a,b)=\lVert∇f(a,b)\rVert\cos\theta$, I know that $\cos\theta>0$ but then also need to justify that $\lVert∇f(a,b)\rVert\neq0$.
Given $f=(x, y)$, let $|∇f| = 0$.
By definition of gradient, we have
$$|<f_{x}, f_{y}>| = 0.$$
Hence,
$$\sqrt{f_{x}^2 + f_{y}^2} = 0$$
$$\Leftrightarrow f_{x}^2 + f_{y}^2 = 0$$
$$\Leftrightarrow f_{x}^2 = -f_{y}^2$$
Note that a number squared is always positive. Hence, the only means by which the above equation is true is when $f_{x} = f_{y} = 0.$ We can also show the converse.
Thus, given $f=(x, y)$, $|∇f| = 0$ if and only if $\frac{\partial f}{\partial x} = \frac{\partial f}{\partial y} = 0$