1. ĐKXĐ : \(xy>0\)
Ta có : \(P=\left(\dfrac{\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)}{\sqrt{x}-\sqrt{y}}+\dfrac{\left(\sqrt{x}-\sqrt{y}\right)\left(x+\sqrt{xy}+y\right)}{-\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)}\right)\left(\dfrac{\sqrt{x}+\sqrt{y}}{x-2\sqrt{xy}+y+\sqrt{xy}}\right)\)
\(=\dfrac{\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)-\left(\sqrt{x}-\sqrt{y}\right)\left(x+\sqrt{xy}+y\right)}{\left(\sqrt{x}+\sqrt{y}\right)\left(\sqrt{x}-\sqrt{y}\right)}\left(\dfrac{\sqrt{x}+\sqrt{y}}{x-2\sqrt{xy}+y+\sqrt{xy}}\right)\)
\(=\dfrac{\left(\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)-\left(\sqrt{x}-\sqrt{y}\right)\left(x+\sqrt{xy}+y\right)\right)\left(\sqrt{x}+\sqrt{y}\right)}{\left(\sqrt{x}+\sqrt{y}\right)\left(\sqrt{x}-\sqrt{y}\right)\left(x-\sqrt{xy}+y\right)}\)
\(=\dfrac{\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)-\left(\sqrt{x}-\sqrt{y}\right)\left(x+\sqrt{xy}+y\right)}{\left(\sqrt{x}-\sqrt{y}\right)\left(x-\sqrt{xy}+y\right)}\)
\(=\dfrac{\left(\sqrt{x}+\sqrt{y}\right)^2-\left(x+\sqrt{xy}+y\right)}{x-\sqrt{xy}+y}=\dfrac{x+2\sqrt{xy}+y-x-\sqrt{xy}-y}{x-\sqrt{xy}+y}\)
\(=\dfrac{\sqrt{xy}}{x-\sqrt{xy}+y}\)
2. Ta thấy : \(x-\sqrt{xy}+y=x-\dfrac{2.\sqrt{x}.\sqrt{y}}{2}+\dfrac{y}{4}+\dfrac{3y}{4}\)
\(=\left(\sqrt{x}-\dfrac{\sqrt{y}}{2}\right)^2+\dfrac{3y}{4}\)
Mà \(\left\{{}\begin{matrix}\left(\sqrt{x}-\dfrac{\sqrt{y}}{2}\right)^2\ge0\\\dfrac{3y}{4}\ge0\end{matrix}\right.\)
\(\Rightarrow x-\sqrt{xy}+y\ge0\)
Lại có : \(\sqrt{xy}\ge0\)
\(\Rightarrow P\ge0\) ( ĐPCM )