Ta có: \(\frac{\left(\sqrt{x}-\sqrt{y}\right)^2+4\sqrt{xy}}{\sqrt{x}+\sqrt{y}}-\frac{x\sqrt{y}+y\sqrt{x}}{\sqrt{xy}}\)
\(=\frac{\left(\sqrt{x}+\sqrt{y}\right)^2}{\sqrt{x}+\sqrt{y}}-\frac{\sqrt{xy}\left(\sqrt{x}+\sqrt{y}\right)}{\sqrt{xy}}\)
\(=\sqrt{x}+\sqrt{y}-\sqrt{x}-\sqrt{y}=0\)