a)A=\(\dfrac{x-2\sqrt{x}+1-x-2\sqrt{x}-1-2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}.\dfrac{\sqrt{x}+1}{-2}\)
=\(\dfrac{-2\left(2\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}.\dfrac{\sqrt{x}+1}{-2}\)
=\(\dfrac{2\sqrt{x}+1}{\sqrt{x}-1}\)
b)Ta có A = \(\dfrac{2\sqrt{x}+1}{\sqrt{x}-1}\)=2+\(\dfrac{2}{\sqrt{x}-1}\)
Để A nguyên thì \(\sqrt{x}-1\)∈Ư(2)
⇒x∈{4;0;9}