Ta có: \(\dfrac{\sqrt{y}}{x-\sqrt{xy}}+\dfrac{\sqrt{y}}{x+\sqrt{xy}}\)
\(=\dfrac{\sqrt{y}\left(x+\sqrt{xy}\right)+\sqrt{y}\left(x-\sqrt{xy}\right)}{x^2-xy}\)
\(=\dfrac{\sqrt{y}\left(x+\sqrt{xy}+x-\sqrt{xy}\right)}{x\left(x-y\right)}=\dfrac{2x\sqrt{y}}{x\left(x-y\right)}\)
\(=\dfrac{2\sqrt{y}}{x-y}=\dfrac{2\sqrt{y}}{\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)}\)
\(\Rightarrow A=\dfrac{\sqrt{x}+\sqrt{y}-1}{x+\sqrt{xy}}+\dfrac{\sqrt{x}-\sqrt{y}}{2\sqrt{xy}}.\dfrac{2\sqrt{y}}{\left(\sqrt{x}-\sqrt{y}\right)\left(\sqrt{x}+\sqrt{y}\right)}\)
\(=\dfrac{\sqrt{x}+\sqrt{y}-1}{\sqrt{x}\left(\sqrt{x}+\sqrt{y}\right)}+\dfrac{1}{\sqrt{x}\left(\sqrt{x}+\sqrt{y}\right)}\)
\(=\dfrac{\sqrt{x}+\sqrt{y}-1+1}{\sqrt{x}\left(\sqrt{x}+\sqrt{y}\right)}=\dfrac{1}{\sqrt{x}}=\dfrac{\sqrt{x}}{x}\)