a: \(A=\left(\dfrac{1}{\sqrt{x}+1}-\dfrac{2\sqrt{x}-2}{x\sqrt{x}+x-\sqrt{x}-1}\right):\left(\dfrac{1}{\sqrt{x}-1}-\dfrac{2}{x-1}\right)\)
\(=\dfrac{x-1-2\sqrt{x}+2}{\left(\sqrt{x}+1\right)\left(x-1\right)}:\dfrac{\sqrt{x}+1-2}{x-1}\)
\(=\dfrac{x-2\sqrt{x}+1}{\left(\sqrt{x}+1\right)\left(x-1\right)}\cdot\dfrac{x-1}{\sqrt{x}-1}=\dfrac{\sqrt{x}-1}{\sqrt{x}+1}\)
b: Để A là số nguyên thì \(\sqrt{x}-1⋮\sqrt{x}+1\)
=>\(\sqrt{x}+1-2⋮\sqrt{x}+1\)
=>căn x+1 thuộc {1;2}
=>căn x thuộc {0;1}
mà x<>1
nên x=0