If $x,y\in\mathbb{R}$. Then maximum value of $$(x-1)(y-1)+(1-\sqrt{1-x^2})(1-\sqrt{1-y^2}).$$
What I try , Here
$1-x^2\geq 0\Longrightarrow x^2\leq 1\Longrightarrow x\in[-1,-1]$ and also $y\in[-1,1]$
So i substitute $x=\sin\alpha$ and $y=\sin\beta$:
$$(\sin\alpha -1)(\sin\beta -1)+(1-\cos\alpha)(1-\cos\beta).$$
$$ \sin\alpha \sin\beta -\sin\alpha-\sin\beta+1+1-\cos\alpha-\cos\beta+\cos\alpha\cos\beta.$$
$$2+\cos(\alpha-\beta)-[\sin\alpha+\sin\beta+\cos\alpha+\cos\beta]$$
I thing that we can solve it using AM GM,
but I did not know. How do I solve it, help me