Let $G(x,y)=(\ln (xy),\frac{1}{x^2+y^2})$, with Dom$(G)=\{(x,y)\in\mathbb{R^2:0<y<x}\}$. I am asked to find the global inverse of $G$.
I have tried to proceed in the following way:
$$u=\ln(xy)=\ln(x)+\ln(y),\quad x=\frac{e^u}{y}$$
$$v=\frac{1}{x^2+y^2}=\frac{1}{\frac{e^{2u}}{y^2}+y^2}=\frac{y^2}{e^{2u}+y^4},\ y=+\sqrt{\frac{1\pm\sqrt{1-4v^2e^{2u}}}{2v}}=\frac{\sqrt{1\pm\sqrt{1-4v^2e^{2u}}}}{\sqrt {2v}}$$
But I'm not sure this is right, as my textbook says correct solution is $$G^{-1}(u,v)=(\frac{\sqrt{1+2e^uv}+\sqrt{1-2e^uv}}{2\sqrt v}, \frac{\sqrt{1+2e^uv}-\sqrt{1-2e^uv}}{2\sqrt v})$$
Could you help me? Thanks in advance!
One place you go wrong is the claimed equality
$$\sqrt{\frac{1 + \sqrt{1 - v^2e^{2u}}}{2v}} = \frac{\sqrt{2} + \sqrt{2}\sqrt{1 - v^2e^{2u}}}{2\sqrt{v}}$$
since $\sqrt{a+b} \neq \sqrt{a} + \sqrt{b}$ in general, and also $\sqrt{\sqrt{a}} = a^{1/4}$...
Here's a way of getting the book's answer:
Let $u = \ln(xy)$, so that $xy = e^u$
Let $v = 1/(x^2+y^2)$, so that $v^{-1} = x^2 + y^2$.
Then $(x+y)^2 = v^{-1} + 2e^u$ and $(x-y)^2 = v^{-1} - 2e^u$. Since the domain is $0 < y < x$, we can take square roots of both expressions to get
$x+y = \sqrt{v^{-1} + 2e^u}$ and $x-y = \sqrt{v^{-1} - 2e^u}$.
Now $x = (x+y)/2 + (x-y)/2$ and $y=(x+y)/2 - (x-y)/2$, which simplifies to the book's solution.