TITLE: Monotonicity of function of two variables
QUESTION [16 upvotes]: I have a function of two variables, which I wish to check for monotonicity in the entire function domain. I cant find any formal definition of increasing or decreasing function for multi variable case. Can anybody please guide?
Thanks in advance.

REPLY [6 votes]: I wanted to add this as a comment for the first answer, but I cannot put comments. The first and the second definition in this answer are equivalent.
If $f$ satisfies the first definition then it satisfies the second. We can see that by sandwiching $f(x',y)$ (or $f(x,y')$) between $f(x,y)$ and $f(x',y')$.
If $f$ satisfies the second definition, by once setting $x = x'$ and once setting $y = y'$ we can see that it is monotone with respect to both projections.
In general, let $\preceq$ be the elementwise inequality on $\mathbf{R}^n$ ($x \preceq y$ if and only if $x_i \leq y_i$ for all $i$). Now, a function $f: \mathbf{R}^n \mapsto \mathbf{R}$ is monotone with respect to this partial ordering when:
$$x \preceq y \Rightarrow f(x) \leq f(y).$$
This is equivalent to requiring that for all $x \in \mathbf{R}^n$
$$f(x) \leq f(x + \gamma e_i) \quad \text{for all } \gamma \geq 0 \text{  and  }i \in\{1,2,...,n\}, $$
where $\{e_1,\ldots,e_n\}$ is the standard basis for $\mathbf{R}^n$.