a) ĐKXĐ: \(x>0,x\ne1\)
\(A=\dfrac{x+2+x-\sqrt{x}-x-\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}.\dfrac{2\sqrt{x}}{\sqrt{x}-1}\)
\(=\dfrac{x-2\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}.\dfrac{2\sqrt{x}}{\sqrt{x}-1}\)
\(=\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}.\dfrac{2\sqrt{x}}{\sqrt{x}-1}=\dfrac{2\sqrt{x}}{x+\sqrt{x}+1}\)