For a single valued function, I can infer if the function is monotone from its derivative.
For a vector valued function, is it possible to infer monotonicity from the directional derivative?
For example, define $$ D=[1,2]\times[1,2], $$ and $$ f(x,y)=\left( \frac{2}{1/x+1/y},\sqrt{xy} \right). $$ Is it possible to show that $f$ maps $D$ to $D$ from its gradient $\nabla f$?
The gradient is $$ \nabla f = \begin{pmatrix} \frac{2}{\left(1+x/y\right)^2} & \frac{2}{\left(1+y/x\right)^2} \\ \frac{y^{1/2}}{2x^{1/2}} & \frac{y^{1/2}}{2x^{1/2}} \end{pmatrix}, $$ whence, for $(x,y)$ in $D$, the directional derivative $$ \left(\nabla f(x,y)\right)\begin{pmatrix} x \\ y \end{pmatrix}, $$ is always positive and I would like to conclude that, on $D$, $$ \text{$f$ is minimal at $(1,1)$},\\ \text{$f$ is maximal at $(2,2)$}. $$
Is it the right way to proceed?
The graph of each component of $f$ looks like this

