Let $$f(x,y) = \frac{xy}{1 + x^2 + y^2}$$
and $$D = \{(x,y) \in \mathbb R^2 \ / \ x^2 + y^2 \le 1\}$$
Show that $\forall$ $(x,y_1), (x,y_2)$ $\in D$, $|f(x,y_1) - f(x,y_2)| \le 3|y_1 - y_2|$
Attempt:
$$|f(x,y_1) - f(x,y_2)| = \ldots = |x|\frac{1 + x^2 + y_1y_2}{(1 + x^2 + y_1^2)(1 + x^2 + y_1^2)}|y_1 - y_2|$$
Then I got stuck.
I noticed that $(1 + x^2 + y_1^2)(1 + x^2 + y_2^2) = (1 + x^2 + y_1y_2)^2 + (1+x^2)(y_1 - y_2)^2$; but I can't see whether this is useful or not.
Any help? Thanks.
Let us use the mean value theorem for functions with two variables, i.e., $f(x,y)-f(x,z)=\frac{\partial{}f}{\partial{}y}\Big|_{y=\xi}(y-z)$, where $\xi$ is between $y$ and $z$.
Define $f(x,y):=\frac{xy}{1+x^{2}+y^{2}}$ for $(x,y)\in{}D:=\{(x,y):\ x^{2}+y^{2}\leq1\}$.
It should be noted that $(x,y)\in{}D$ implies $|x^{2}-y^{2}|\leq{}x^{2}+y^{2}\leq1$ and $|x|\leq\sqrt{x^{2}+y^{2}}\leq1$. Then, we can compute that
$f(x,y)-f(x,z)=\frac{x(1+x^{2}-\xi^{2})}{(1+x^{2}+\xi^{2})^{2}}(y-z)$,
which yields
$|f(x,y)-f(x,z)|\leq\frac{|x|(1+x^{2}+\xi^{2})}{(1+x^{2}+\xi^{2})^{2}}|y-z|\leq\frac{1(1+1)}{(1+0)^{2}}|y-z|=2|y-z|$ for all $(x,y)\in{}D$, where $\xi$ is some number between $y$ and $z$.