Ta có: \(\left(1-\frac{1}{\sqrt{x}}\right):\left(\frac{\sqrt{x}-1}{\sqrt{x}}+\frac{1-\sqrt{x}}{x+\sqrt{x}}\right)\)
\(=\left(\frac{\sqrt{x}-1}{\sqrt{x}}\right):\left(\frac{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}+1\right)}+\frac{1-\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)}\right)\)
\(=\frac{\sqrt{x}-1}{\sqrt{x}}:\frac{x-1+1-\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)}\)
\(=\frac{\sqrt{x}-1}{\sqrt{x}}:\frac{x-\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)}\)
\(=\frac{\sqrt{x}-1}{\sqrt{x}}\cdot\frac{\sqrt{x}\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)}\)
\(=\frac{\sqrt{x}+1}{\sqrt{x}}\)