ĐK : x >= 0
\(B=\frac{\sqrt{x}-2}{\sqrt{x}+1}=\frac{\sqrt{x}+1-3}{\sqrt{x}+1}=1-\frac{3}{\sqrt{x}+1}\)
Để B nguyên thì \(\frac{3}{\sqrt{x}+1}\)nguyên hay \(\sqrt{x}+1\inƯ\left(3\right)=\left\{\pm1;\pm3\right\}\Leftrightarrow x\in\left\{0;4\right\}\)
Ta có : \(\sqrt{x}+1\ge1\forall x\ge0\Rightarrow\frac{3}{\sqrt{x}+1}\le3\Leftrightarrow1-\frac{3}{\sqrt{x}+1}\ge-2\)
Dấu "=" xảy ra <=> x = 0 . Vậy MinB = -2