Bài 11:
a: \(Q=\dfrac{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)-\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\cdot\left(x-1\right)}\cdot\dfrac{\sqrt{x}+1}{\sqrt{x}}\)
\(=\dfrac{x+\sqrt{x}-2-x-\sqrt{x}+2}{x-1}\cdot\dfrac{1}{\sqrt{x}}=\dfrac{2}{x-1}\)
b: Để Q là số nguyên thì \(x-1\in\left\{1;-1;2;-2\right\}\)
hay \(x\in\left\{2;3\right\}\)