ta có: \(2P=2x^2-2x\sqrt{y}+2x+2y-2\sqrt{y}+2\)
\(2P=\left(x^2-2x\sqrt{y}+y\right)+\left(x^2+2x+1\right)+\left(y-2\sqrt{y}+1\right)\)
\(2P=\left(x-\sqrt{y}\right)^2+\left(x+1\right)^2+\left(\sqrt{y}-1\right)^2\ge0\forall x,y\)
\(\Rightarrow P\ge0\forall x,y\)
dấu = xảy ra khi \(\left\{\begin{matrix}x=\sqrt{y}\\x=-1\\\sqrt{y}=1\end{matrix}\right.\)(có gì đó sai sai)